UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

14 lines 902 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomerCustomerIdPurchasedItemsResponseSchema = exports.PurchasedItemSchema = exports.CustomerCustomerIdPurchasedItemsParamsSchema = void 0; const zod_1 = require("zod"); const schemas_1 = require("../../../core/schemas"); exports.CustomerCustomerIdPurchasedItemsParamsSchema = schemas_1.BaseGetParamsSchema.extend({ limit: zod_1.z.coerce.number().optional(), offset: zod_1.z.coerce.number().optional(), orderBy: zod_1.z.string().optional(), }); /** Purchased item - key field only, passthrough for API flexibility */ exports.PurchasedItemSchema = zod_1.z.object({ itemNo: zod_1.z.string() }).passthrough(); exports.CustomerCustomerIdPurchasedItemsResponseSchema = (0, schemas_1.BaseResponseSchema)(zod_1.z.array(exports.PurchasedItemSchema)); //# sourceMappingURL=customerCustomerIdPurchasedItems.js.map