UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

17 lines 1.25 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomerCustomerIdContactsCreateResponseSchema = exports.CustomerCustomerIdContactsListResponseSchema = exports.CustomerContactSchema = exports.CustomerCustomerIdContactsCreateParamsSchema = exports.CustomerCustomerIdContactsListParamsSchema = void 0; const zod_1 = require("zod"); const schemas_1 = require("../../../core/schemas"); exports.CustomerCustomerIdContactsListParamsSchema = schemas_1.BaseGetParamsSchema.extend({ limit: zod_1.z.coerce.number().optional(), offset: zod_1.z.coerce.number().optional(), q: zod_1.z.string(), }); /** Create params - passthrough for flexible input */ exports.CustomerCustomerIdContactsCreateParamsSchema = zod_1.z.object({}).passthrough(); /** Customer contact - key field only, passthrough for API flexibility */ exports.CustomerContactSchema = zod_1.z.object({ id: zod_1.z.string() }).passthrough(); exports.CustomerCustomerIdContactsListResponseSchema = (0, schemas_1.BaseResponseSchema)(zod_1.z.array(exports.CustomerContactSchema)); exports.CustomerCustomerIdContactsCreateResponseSchema = (0, schemas_1.BaseResponseSchema)(exports.CustomerContactSchema); //# sourceMappingURL=customerCustomerIdContacts.js.map