@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
14 lines • 868 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomerCustomerIdAddressResponseSchema = exports.CustomerAddressSchema = exports.CustomerCustomerIdAddressParamsSchema = void 0;
const zod_1 = require("zod");
const schemas_1 = require("../../../core/schemas");
exports.CustomerCustomerIdAddressParamsSchema = schemas_1.BaseGetParamsSchema.extend({
limit: zod_1.z.coerce.number().optional(),
offset: zod_1.z.coerce.number().optional(),
q: zod_1.z.string(),
});
/** Customer address - key field only, passthrough for API flexibility */
exports.CustomerAddressSchema = zod_1.z.object({ addressId: zod_1.z.coerce.number() }).passthrough();
exports.CustomerCustomerIdAddressResponseSchema = (0, schemas_1.BaseResponseSchema)(zod_1.z.array(exports.CustomerAddressSchema));
//# sourceMappingURL=customerCustomerIdAddress.js.map