@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
12 lines • 657 B
JavaScript
import { z } from 'zod';
import { BaseResponseSchema, BaseGetParamsSchema } from '../../../core/schemas';
export const ContactsIdCustomersParamsSchema = BaseGetParamsSchema.extend({
class5Id: z.string().optional(),
limit: z.coerce.number().optional(),
offset: z.coerce.number().optional(),
q: z.string().optional(),
});
/** Salesrep customer - key field only, passthrough for API flexibility */
export const SalesrepCustomerSchema = z.object({ customerId: z.coerce.number() }).passthrough();
export const ContactsIdCustomersResponseSchema = BaseResponseSchema(z.array(SalesrepCustomerSchema));
//# sourceMappingURL=contactsIdCustomers.js.map