UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

14 lines 867 B
import { z } from 'zod'; import { BaseResponseSchema, BaseGetParamsSchema } from '../../../core/schemas'; export const CustomerCustomerIdContactsListParamsSchema = BaseGetParamsSchema.extend({ limit: z.coerce.number().optional(), offset: z.coerce.number().optional(), q: z.string(), }); /** Create params - passthrough for flexible input */ export const CustomerCustomerIdContactsCreateParamsSchema = z.object({}).passthrough(); /** Customer contact - key field only, passthrough for API flexibility */ export const CustomerContactSchema = z.object({ id: z.string() }).passthrough(); export const CustomerCustomerIdContactsListResponseSchema = BaseResponseSchema(z.array(CustomerContactSchema)); export const CustomerCustomerIdContactsCreateResponseSchema = BaseResponseSchema(CustomerContactSchema); //# sourceMappingURL=customerCustomerIdContacts.js.map