@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
15 lines • 897 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContactsIdCustomersResponseSchema = exports.SalesrepCustomerSchema = exports.ContactsIdCustomersParamsSchema = void 0;
const zod_1 = require("zod");
const schemas_1 = require("../../../core/schemas");
exports.ContactsIdCustomersParamsSchema = schemas_1.BaseGetParamsSchema.extend({
class5Id: zod_1.z.string().optional(),
limit: zod_1.z.coerce.number().optional(),
offset: zod_1.z.coerce.number().optional(),
q: zod_1.z.string().optional(),
});
/** Salesrep customer - key field only, passthrough for API flexibility */
exports.SalesrepCustomerSchema = zod_1.z.object({ customerId: zod_1.z.coerce.number() }).passthrough();
exports.ContactsIdCustomersResponseSchema = (0, schemas_1.BaseResponseSchema)(zod_1.z.array(exports.SalesrepCustomerSchema));
//# sourceMappingURL=contactsIdCustomers.js.map