// GENERATED CODE - DO NOT MODIFY BY HAND import { http } from '@google-cloud/functions-framework' import { httpFunction, Schema } from '@naki-power/terminator' import { businessLogic, BusinessLogicError } from './imports' import { errorHandler } from './errorHandler' import { Form } from './form' import schema from './schema.json' import { GetCustomersAndCustomersErrors } from './externalErrors' import { Customer } from './customerApiTypes' http( 'getCustomersAndCustomers', httpFunction< Form, readonly Customer[], BusinessLogicError, GetCustomersAndCustomersErrors >(schema as Schema, async (req: Form) => businessLogic(req), errorHandler) )