UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

11 lines 623 B
import { z } from 'zod'; import { BaseResponseSchema, BaseGetParamsSchema } from '../../../core/schemas'; export const CustomerCustomerIdAddressParamsSchema = BaseGetParamsSchema.extend({ limit: z.coerce.number().optional(), offset: z.coerce.number().optional(), q: z.string(), }); /** Customer address - key field only, passthrough for API flexibility */ export const CustomerAddressSchema = z.object({ addressId: z.coerce.number() }).passthrough(); export const CustomerCustomerIdAddressResponseSchema = BaseResponseSchema(z.array(CustomerAddressSchema)); //# sourceMappingURL=customerCustomerIdAddress.js.map