@wix/auto_sdk_stores_inventory 1.0.57 → 1.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,274 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // schemas.ts
31
+ var schemas_exports = {};
32
+ __export(schemas_exports, {
33
+ DecrementInventoryRequest: () => DecrementInventoryRequest,
34
+ DecrementInventoryResponse: () => DecrementInventoryResponse,
35
+ GetInventoryVariantsRequest: () => GetInventoryVariantsRequest,
36
+ GetInventoryVariantsResponse: () => GetInventoryVariantsResponse,
37
+ IncrementInventoryRequest: () => IncrementInventoryRequest,
38
+ IncrementInventoryResponse: () => IncrementInventoryResponse,
39
+ QueryInventoryRequest: () => QueryInventoryRequest,
40
+ QueryInventoryResponse: () => QueryInventoryResponse,
41
+ UpdateInventoryVariantsRequest: () => UpdateInventoryVariantsRequest,
42
+ UpdateInventoryVariantsResponse: () => UpdateInventoryVariantsResponse
43
+ });
44
+ module.exports = __toCommonJS(schemas_exports);
45
+
46
+ // src/stores-v2-inventory-inventory.schemas.ts
47
+ var z = __toESM(require("zod"));
48
+ var UpdateInventoryVariantsRequest = z.object({
49
+ productId: z.string().describe("Product ID."),
50
+ inventoryItem: z.object({
51
+ _id: z.string().describe("Inventory item ID.").optional().nullable(),
52
+ externalId: z.string().describe("Deprecated: use productId.").optional().nullable(),
53
+ productId: z.string().describe("Product ID.").optional().nullable(),
54
+ trackQuantity: z.boolean().describe("Whether quantity is being tracked.").optional().nullable(),
55
+ variants: z.array(
56
+ z.object({
57
+ variantId: z.string().describe("Variant ID.").optional(),
58
+ inStock: z.boolean().describe("Whether the product is listed as in stock.").optional().nullable(),
59
+ quantity: z.number().int().describe("Quantity currently left in inventory.").min(0).optional().nullable(),
60
+ availableForPreorder: z.boolean().describe(
61
+ "Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level."
62
+ ).optional()
63
+ })
64
+ ).optional(),
65
+ lastUpdated: z.date().describe("Last updated timestamp.").optional().nullable(),
66
+ numericId: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
67
+ "Inventory\u2019s unique numeric ID (assigned in ascending order).\nPrimarily for sorting and filtering when crawling all inventories."
68
+ ).optional(),
69
+ preorderInfo: z.object({
70
+ enabled: z.boolean().describe("Whether the item is available for preorder.").optional(),
71
+ message: z.string().describe(
72
+ "A message the buyer will see when the item is out of stock and preorder is enabled."
73
+ ).min(1).max(250).optional().nullable(),
74
+ limit: z.number().int().describe(
75
+ "Number of products that can be preordered after stock reaches zero."
76
+ ).min(0).max(1e5).optional().nullable()
77
+ }).describe("Preorder information.").optional()
78
+ }).describe("Inventory item to update.")
79
+ });
80
+ var UpdateInventoryVariantsResponse = z.object({});
81
+ var DecrementInventoryRequest = z.object({
82
+ decrementData: z.array(
83
+ z.intersection(
84
+ z.object({
85
+ variantId: z.string().describe("Variant ID.").regex(
86
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
87
+ "Must be a valid GUID"
88
+ ).optional(),
89
+ decrementBy: z.number().int().describe("Number to decrement inventory by.").min(1).optional(),
90
+ preorderRequest: z.boolean().describe(
91
+ "Whether the request to decrement the item's inventory was made as part of a purchase that includes preorder items.\nIf true and the item is available for preorder, we allow negative inventory.\nIf false and the item is not available for preorder, we allow regular buy flow (no negative inventory)."
92
+ ).optional()
93
+ }),
94
+ z.xor([
95
+ z.object({
96
+ inventoryId: z.never().optional(),
97
+ externalId: z.never().optional(),
98
+ productId: z.never().optional()
99
+ }),
100
+ z.object({
101
+ externalId: z.never().optional(),
102
+ productId: z.never().optional(),
103
+ inventoryId: z.string().describe("Inventory item ID.").max(36)
104
+ }),
105
+ z.object({
106
+ inventoryId: z.never().optional(),
107
+ productId: z.never().optional(),
108
+ externalId: z.string().describe("Deprecated: use productId.").max(36)
109
+ }),
110
+ z.object({
111
+ inventoryId: z.never().optional(),
112
+ externalId: z.never().optional(),
113
+ productId: z.string().describe("Product ID.").max(36)
114
+ })
115
+ ])
116
+ )
117
+ ).min(1).max(300)
118
+ });
119
+ var DecrementInventoryResponse = z.object({});
120
+ var IncrementInventoryRequest = z.object({
121
+ incrementData: z.array(
122
+ z.intersection(
123
+ z.object({
124
+ variantId: z.string().describe("Variant ID.").regex(
125
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
126
+ "Must be a valid GUID"
127
+ ).optional(),
128
+ incrementBy: z.number().int().describe("Number to increment inventory by.").min(1).optional()
129
+ }),
130
+ z.xor([
131
+ z.object({
132
+ inventoryId: z.never().optional(),
133
+ productId: z.never().optional()
134
+ }),
135
+ z.object({
136
+ productId: z.never().optional(),
137
+ inventoryId: z.string().describe("Inventory item ID.").max(36)
138
+ }),
139
+ z.object({
140
+ inventoryId: z.never().optional(),
141
+ productId: z.string().describe("Product ID.").max(36)
142
+ })
143
+ ])
144
+ )
145
+ ).min(1).max(300)
146
+ });
147
+ var IncrementInventoryResponse = z.object({});
148
+ var GetInventoryVariantsRequest = z.object({
149
+ inventoryId: z.string().describe("Inventory item ID."),
150
+ options: z.intersection(
151
+ z.object({ variantIds: z.array(z.string()).optional() }),
152
+ z.xor([
153
+ z.object({
154
+ inventoryId: z.never().optional(),
155
+ externalId: z.never().optional(),
156
+ productId: z.never().optional()
157
+ }),
158
+ z.object({
159
+ externalId: z.never().optional(),
160
+ productId: z.never().optional(),
161
+ inventoryId: z.string().describe("Inventory item ID.")
162
+ }),
163
+ z.object({
164
+ inventoryId: z.never().optional(),
165
+ productId: z.never().optional(),
166
+ externalId: z.string().describe("Deprecated (use productID instead).")
167
+ }),
168
+ z.object({
169
+ inventoryId: z.never().optional(),
170
+ externalId: z.never().optional(),
171
+ productId: z.string().describe("Product ID.")
172
+ })
173
+ ])
174
+ ).optional()
175
+ });
176
+ var GetInventoryVariantsResponse = z.object({
177
+ inventoryItem: z.object({
178
+ _id: z.string().describe("Inventory item ID.").optional().nullable(),
179
+ externalId: z.string().describe("Deprecated: use productId.").optional().nullable(),
180
+ productId: z.string().describe("Product ID.").optional().nullable(),
181
+ trackQuantity: z.boolean().describe("Whether quantity is being tracked.").optional().nullable(),
182
+ variants: z.array(
183
+ z.object({
184
+ variantId: z.string().describe("Variant ID.").optional(),
185
+ inStock: z.boolean().describe("Whether the product is listed as in stock.").optional().nullable(),
186
+ quantity: z.number().int().describe("Quantity currently left in inventory.").min(0).optional().nullable(),
187
+ availableForPreorder: z.boolean().describe(
188
+ "Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level."
189
+ ).optional()
190
+ })
191
+ ).optional(),
192
+ lastUpdated: z.date().describe("Last updated timestamp.").optional().nullable(),
193
+ numericId: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
194
+ "Inventory\u2019s unique numeric ID (assigned in ascending order).\nPrimarily for sorting and filtering when crawling all inventories."
195
+ ).optional(),
196
+ preorderInfo: z.object({
197
+ enabled: z.boolean().describe("Whether the item is available for preorder.").optional(),
198
+ message: z.string().describe(
199
+ "A message the buyer will see when the item is out of stock and preorder is enabled."
200
+ ).min(1).max(250).optional().nullable(),
201
+ limit: z.number().int().describe(
202
+ "Number of products that can be preordered after stock reaches zero."
203
+ ).min(0).max(1e5).optional().nullable()
204
+ }).describe("Preorder information.").optional()
205
+ }).describe("Inventory item.").optional()
206
+ });
207
+ var QueryInventoryRequest = z.object({
208
+ options: z.object({
209
+ query: z.object({
210
+ paging: z.object({
211
+ limit: z.number().int().describe("Amount of items to load per page").min(0).max(100).optional().nullable(),
212
+ offset: z.number().int().describe(
213
+ "Number of items to skip in the display (relevant for all pages after the first)"
214
+ ).min(0).optional().nullable()
215
+ }).optional(),
216
+ filter: z.string().describe("Filter string").optional().nullable(),
217
+ sort: z.string().describe("Sort string").optional().nullable()
218
+ }).optional()
219
+ }).optional()
220
+ });
221
+ var QueryInventoryResponse = z.object({
222
+ inventoryItems: z.array(
223
+ z.object({
224
+ _id: z.string().describe("Inventory item ID.").optional().nullable(),
225
+ externalId: z.string().describe("Deprecated: use productId.").optional().nullable(),
226
+ productId: z.string().describe("Product ID.").optional().nullable(),
227
+ trackQuantity: z.boolean().describe("Whether quantity is being tracked.").optional().nullable(),
228
+ variants: z.array(
229
+ z.object({
230
+ variantId: z.string().describe("Variant ID.").optional(),
231
+ inStock: z.boolean().describe("Whether the product is listed as in stock.").optional().nullable(),
232
+ quantity: z.number().int().describe("Quantity currently left in inventory.").min(0).optional().nullable(),
233
+ availableForPreorder: z.boolean().describe(
234
+ "Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level."
235
+ ).optional()
236
+ })
237
+ ).optional(),
238
+ lastUpdated: z.date().describe("Last updated timestamp.").optional().nullable(),
239
+ numericId: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
240
+ "Inventory\u2019s unique numeric ID (assigned in ascending order).\nPrimarily for sorting and filtering when crawling all inventories."
241
+ ).optional(),
242
+ preorderInfo: z.object({
243
+ enabled: z.boolean().describe("Whether the item is available for preorder.").optional(),
244
+ message: z.string().describe(
245
+ "A message the buyer will see when the item is out of stock and preorder is enabled."
246
+ ).min(1).max(250).optional().nullable(),
247
+ limit: z.number().int().describe(
248
+ "Number of products that can be preordered after stock reaches zero."
249
+ ).min(0).max(1e5).optional().nullable()
250
+ }).describe("Preorder information.").optional()
251
+ })
252
+ ).optional(),
253
+ metadata: z.object({
254
+ items: z.number().int().describe("Amount of items to load per page").optional(),
255
+ offset: z.number().int().describe(
256
+ "Number of items to skip in the display (relevant for all pages after the first)"
257
+ ).optional()
258
+ }).describe("Display metadata.").optional(),
259
+ totalResults: z.number().int().describe("Number of total results.").optional()
260
+ });
261
+ // Annotate the CommonJS export names for ESM import in node:
262
+ 0 && (module.exports = {
263
+ DecrementInventoryRequest,
264
+ DecrementInventoryResponse,
265
+ GetInventoryVariantsRequest,
266
+ GetInventoryVariantsResponse,
267
+ IncrementInventoryRequest,
268
+ IncrementInventoryResponse,
269
+ QueryInventoryRequest,
270
+ QueryInventoryResponse,
271
+ UpdateInventoryVariantsRequest,
272
+ UpdateInventoryVariantsResponse
273
+ });
274
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../schemas.ts","../../../src/stores-v2-inventory-inventory.schemas.ts"],"sourcesContent":["export * from './src/stores-v2-inventory-inventory.schemas.js';\n","import * as z from 'zod';\n\nexport const UpdateInventoryVariantsRequest = z.object({\n productId: z.string().describe('Product ID.'),\n inventoryItem: z\n .object({\n _id: z.string().describe('Inventory item ID.').optional().nullable(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .optional()\n .nullable(),\n productId: z.string().describe('Product ID.').optional().nullable(),\n trackQuantity: z\n .boolean()\n .describe('Whether quantity is being tracked.')\n .optional()\n .nullable(),\n variants: z\n .array(\n z.object({\n variantId: z.string().describe('Variant ID.').optional(),\n inStock: z\n .boolean()\n .describe('Whether the product is listed as in stock.')\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Quantity currently left in inventory.')\n .min(0)\n .optional()\n .nullable(),\n availableForPreorder: z\n .boolean()\n .describe(\n 'Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level.'\n )\n .optional(),\n })\n )\n .optional(),\n lastUpdated: z\n .date()\n .describe('Last updated timestamp.')\n .optional()\n .nullable(),\n numericId: z\n .string()\n .regex(/^\\d+$/, 'Must be a valid UInt64 string')\n .describe(\n 'Inventory’s unique numeric ID (assigned in ascending order).\\nPrimarily for sorting and filtering when crawling all inventories.'\n )\n .optional(),\n preorderInfo: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the item is available for preorder.')\n .optional(),\n message: z\n .string()\n .describe(\n 'A message the buyer will see when the item is out of stock and preorder is enabled.'\n )\n .min(1)\n .max(250)\n .optional()\n .nullable(),\n limit: z\n .number()\n .int()\n .describe(\n 'Number of products that can be preordered after stock reaches zero.'\n )\n .min(0)\n .max(100000)\n .optional()\n .nullable(),\n })\n .describe('Preorder information.')\n .optional(),\n })\n .describe('Inventory item to update.'),\n});\nexport const UpdateInventoryVariantsResponse = z.object({});\nexport const DecrementInventoryRequest = z.object({\n decrementData: z\n .array(\n z.intersection(\n z.object({\n variantId: z\n .string()\n .describe('Variant ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n decrementBy: z\n .number()\n .int()\n .describe('Number to decrement inventory by.')\n .min(1)\n .optional(),\n preorderRequest: z\n .boolean()\n .describe(\n \"Whether the request to decrement the item's inventory was made as part of a purchase that includes preorder items.\\nIf true and the item is available for preorder, we allow negative inventory.\\nIf false and the item is not available for preorder, we allow regular buy flow (no negative inventory).\"\n )\n .optional(),\n }),\n z.xor([\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.never().optional(),\n }),\n z.object({\n externalId: z.never().optional(),\n productId: z.never().optional(),\n inventoryId: z.string().describe('Inventory item ID.').max(36),\n }),\n z.object({\n inventoryId: z.never().optional(),\n productId: z.never().optional(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .max(36),\n }),\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.string().describe('Product ID.').max(36),\n }),\n ])\n )\n )\n .min(1)\n .max(300),\n});\nexport const DecrementInventoryResponse = z.object({});\nexport const IncrementInventoryRequest = z.object({\n incrementData: z\n .array(\n z.intersection(\n z.object({\n variantId: z\n .string()\n .describe('Variant ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n incrementBy: z\n .number()\n .int()\n .describe('Number to increment inventory by.')\n .min(1)\n .optional(),\n }),\n z.xor([\n z.object({\n inventoryId: z.never().optional(),\n productId: z.never().optional(),\n }),\n z.object({\n productId: z.never().optional(),\n inventoryId: z.string().describe('Inventory item ID.').max(36),\n }),\n z.object({\n inventoryId: z.never().optional(),\n productId: z.string().describe('Product ID.').max(36),\n }),\n ])\n )\n )\n .min(1)\n .max(300),\n});\nexport const IncrementInventoryResponse = z.object({});\nexport const GetInventoryVariantsRequest = z.object({\n inventoryId: z.string().describe('Inventory item ID.'),\n options: z\n .intersection(\n z.object({ variantIds: z.array(z.string()).optional() }),\n z.xor([\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.never().optional(),\n }),\n z.object({\n externalId: z.never().optional(),\n productId: z.never().optional(),\n inventoryId: z.string().describe('Inventory item ID.'),\n }),\n z.object({\n inventoryId: z.never().optional(),\n productId: z.never().optional(),\n externalId: z\n .string()\n .describe('Deprecated (use productID instead).'),\n }),\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.string().describe('Product ID.'),\n }),\n ])\n )\n .optional(),\n});\nexport const GetInventoryVariantsResponse = z.object({\n inventoryItem: z\n .object({\n _id: z.string().describe('Inventory item ID.').optional().nullable(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .optional()\n .nullable(),\n productId: z.string().describe('Product ID.').optional().nullable(),\n trackQuantity: z\n .boolean()\n .describe('Whether quantity is being tracked.')\n .optional()\n .nullable(),\n variants: z\n .array(\n z.object({\n variantId: z.string().describe('Variant ID.').optional(),\n inStock: z\n .boolean()\n .describe('Whether the product is listed as in stock.')\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Quantity currently left in inventory.')\n .min(0)\n .optional()\n .nullable(),\n availableForPreorder: z\n .boolean()\n .describe(\n 'Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level.'\n )\n .optional(),\n })\n )\n .optional(),\n lastUpdated: z\n .date()\n .describe('Last updated timestamp.')\n .optional()\n .nullable(),\n numericId: z\n .string()\n .regex(/^\\d+$/, 'Must be a valid UInt64 string')\n .describe(\n 'Inventory’s unique numeric ID (assigned in ascending order).\\nPrimarily for sorting and filtering when crawling all inventories.'\n )\n .optional(),\n preorderInfo: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the item is available for preorder.')\n .optional(),\n message: z\n .string()\n .describe(\n 'A message the buyer will see when the item is out of stock and preorder is enabled.'\n )\n .min(1)\n .max(250)\n .optional()\n .nullable(),\n limit: z\n .number()\n .int()\n .describe(\n 'Number of products that can be preordered after stock reaches zero.'\n )\n .min(0)\n .max(100000)\n .optional()\n .nullable(),\n })\n .describe('Preorder information.')\n .optional(),\n })\n .describe('Inventory item.')\n .optional(),\n});\nexport const QueryInventoryRequest = z.object({\n options: z\n .object({\n query: z\n .object({\n paging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Amount of items to load per page')\n .min(0)\n .max(100)\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe(\n 'Number of items to skip in the display (relevant for all pages after the first)'\n )\n .min(0)\n .optional()\n .nullable(),\n })\n .optional(),\n filter: z.string().describe('Filter string').optional().nullable(),\n sort: z.string().describe('Sort string').optional().nullable(),\n })\n .optional(),\n })\n .optional(),\n});\nexport const QueryInventoryResponse = z.object({\n inventoryItems: z\n .array(\n z.object({\n _id: z.string().describe('Inventory item ID.').optional().nullable(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .optional()\n .nullable(),\n productId: z.string().describe('Product ID.').optional().nullable(),\n trackQuantity: z\n .boolean()\n .describe('Whether quantity is being tracked.')\n .optional()\n .nullable(),\n variants: z\n .array(\n z.object({\n variantId: z.string().describe('Variant ID.').optional(),\n inStock: z\n .boolean()\n .describe('Whether the product is listed as in stock.')\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Quantity currently left in inventory.')\n .min(0)\n .optional()\n .nullable(),\n availableForPreorder: z\n .boolean()\n .describe(\n 'Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level.'\n )\n .optional(),\n })\n )\n .optional(),\n lastUpdated: z\n .date()\n .describe('Last updated timestamp.')\n .optional()\n .nullable(),\n numericId: z\n .string()\n .regex(/^\\d+$/, 'Must be a valid UInt64 string')\n .describe(\n 'Inventory’s unique numeric ID (assigned in ascending order).\\nPrimarily for sorting and filtering when crawling all inventories.'\n )\n .optional(),\n preorderInfo: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the item is available for preorder.')\n .optional(),\n message: z\n .string()\n .describe(\n 'A message the buyer will see when the item is out of stock and preorder is enabled.'\n )\n .min(1)\n .max(250)\n .optional()\n .nullable(),\n limit: z\n .number()\n .int()\n .describe(\n 'Number of products that can be preordered after stock reaches zero.'\n )\n .min(0)\n .max(100000)\n .optional()\n .nullable(),\n })\n .describe('Preorder information.')\n .optional(),\n })\n )\n .optional(),\n metadata: z\n .object({\n items: z\n .number()\n .int()\n .describe('Amount of items to load per page')\n .optional(),\n offset: z\n .number()\n .int()\n .describe(\n 'Number of items to skip in the display (relevant for all pages after the first)'\n )\n .optional(),\n })\n .describe('Display metadata.')\n .optional(),\n totalResults: z\n .number()\n .int()\n .describe('Number of total results.')\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,iCAAmC,SAAO;AAAA,EACrD,WAAa,SAAO,EAAE,SAAS,aAAa;AAAA,EAC5C,eACG,SAAO;AAAA,IACN,KAAO,SAAO,EAAE,SAAS,oBAAoB,EAAE,SAAS,EAAE,SAAS;AAAA,IACnE,YACG,SAAO,EACP,SAAS,4BAA4B,EACrC,SAAS,EACT,SAAS;AAAA,IACZ,WAAa,SAAO,EAAE,SAAS,aAAa,EAAE,SAAS,EAAE,SAAS;AAAA,IAClE,eACG,UAAQ,EACR,SAAS,oCAAoC,EAC7C,SAAS,EACT,SAAS;AAAA,IACZ,UACG;AAAA,MACG,SAAO;AAAA,QACP,WAAa,SAAO,EAAE,SAAS,aAAa,EAAE,SAAS;AAAA,QACvD,SACG,UAAQ,EACR,SAAS,4CAA4C,EACrD,SAAS,EACT,SAAS;AAAA,QACZ,UACG,SAAO,EACP,IAAI,EACJ,SAAS,uCAAuC,EAChD,IAAI,CAAC,EACL,SAAS,EACT,SAAS;AAAA,QACZ,sBACG,UAAQ,EACR;AAAA,UACC;AAAA,QACF,EACC,SAAS;AAAA,MACd,CAAC;AAAA,IACH,EACC,SAAS;AAAA,IACZ,aACG,OAAK,EACL,SAAS,yBAAy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AuB,EAChC,SAAS;AAAA,IACd,CAAC;AAAA,EACH,EACC,SAAS;AAAA,EACZ,UACG,SAAO;AAAA,IACN,OACG,SAAO,EACP,IAAI,EACJ,SAAS,kCAAkC,EAC3C,SAAS;AAAA,IACZ,QACG,SAAO,EACP,IAAI,EACJ;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,EACd,CAAC,EACA,SAAS,mBAAmB,EAC5B,SAAS;AAAA,EACZ,cACG,SAAO,EACP,IAAI,EACJ,SAAS,0BAA0B,EACnC,SAAS;AACd,CAAC;","names":[]}
@@ -0,0 +1,148 @@
1
+ import * as z from 'zod';
2
+
3
+ declare const UpdateInventoryVariantsRequest: z.ZodObject<{
4
+ productId: z.ZodString;
5
+ inventoryItem: z.ZodObject<{
6
+ _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
+ externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8
+ productId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9
+ trackQuantity: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
10
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
11
+ variantId: z.ZodOptional<z.ZodString>;
12
+ inStock: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
13
+ quantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
14
+ availableForPreorder: z.ZodOptional<z.ZodBoolean>;
15
+ }, z.core.$strip>>>;
16
+ lastUpdated: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
17
+ numericId: z.ZodOptional<z.ZodString>;
18
+ preorderInfo: z.ZodOptional<z.ZodObject<{
19
+ enabled: z.ZodOptional<z.ZodBoolean>;
20
+ message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21
+ limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22
+ }, z.core.$strip>>;
23
+ }, z.core.$strip>;
24
+ }, z.core.$strip>;
25
+ declare const UpdateInventoryVariantsResponse: z.ZodObject<{}, z.core.$strip>;
26
+ declare const DecrementInventoryRequest: z.ZodObject<{
27
+ decrementData: z.ZodArray<z.ZodIntersection<z.ZodObject<{
28
+ variantId: z.ZodOptional<z.ZodString>;
29
+ decrementBy: z.ZodOptional<z.ZodNumber>;
30
+ preorderRequest: z.ZodOptional<z.ZodBoolean>;
31
+ }, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
32
+ inventoryId: z.ZodOptional<z.ZodNever>;
33
+ externalId: z.ZodOptional<z.ZodNever>;
34
+ productId: z.ZodOptional<z.ZodNever>;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ externalId: z.ZodOptional<z.ZodNever>;
37
+ productId: z.ZodOptional<z.ZodNever>;
38
+ inventoryId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ inventoryId: z.ZodOptional<z.ZodNever>;
41
+ productId: z.ZodOptional<z.ZodNever>;
42
+ externalId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ inventoryId: z.ZodOptional<z.ZodNever>;
45
+ externalId: z.ZodOptional<z.ZodNever>;
46
+ productId: z.ZodString;
47
+ }, z.core.$strip>]>>>;
48
+ }, z.core.$strip>;
49
+ declare const DecrementInventoryResponse: z.ZodObject<{}, z.core.$strip>;
50
+ declare const IncrementInventoryRequest: z.ZodObject<{
51
+ incrementData: z.ZodArray<z.ZodIntersection<z.ZodObject<{
52
+ variantId: z.ZodOptional<z.ZodString>;
53
+ incrementBy: z.ZodOptional<z.ZodNumber>;
54
+ }, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
55
+ inventoryId: z.ZodOptional<z.ZodNever>;
56
+ productId: z.ZodOptional<z.ZodNever>;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ productId: z.ZodOptional<z.ZodNever>;
59
+ inventoryId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ inventoryId: z.ZodOptional<z.ZodNever>;
62
+ productId: z.ZodString;
63
+ }, z.core.$strip>]>>>;
64
+ }, z.core.$strip>;
65
+ declare const IncrementInventoryResponse: z.ZodObject<{}, z.core.$strip>;
66
+ declare const GetInventoryVariantsRequest: z.ZodObject<{
67
+ inventoryId: z.ZodString;
68
+ options: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
69
+ variantIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ }, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
71
+ inventoryId: z.ZodOptional<z.ZodNever>;
72
+ externalId: z.ZodOptional<z.ZodNever>;
73
+ productId: z.ZodOptional<z.ZodNever>;
74
+ }, z.core.$strip>, z.ZodObject<{
75
+ externalId: z.ZodOptional<z.ZodNever>;
76
+ productId: z.ZodOptional<z.ZodNever>;
77
+ inventoryId: z.ZodString;
78
+ }, z.core.$strip>, z.ZodObject<{
79
+ inventoryId: z.ZodOptional<z.ZodNever>;
80
+ productId: z.ZodOptional<z.ZodNever>;
81
+ externalId: z.ZodString;
82
+ }, z.core.$strip>, z.ZodObject<{
83
+ inventoryId: z.ZodOptional<z.ZodNever>;
84
+ externalId: z.ZodOptional<z.ZodNever>;
85
+ productId: z.ZodString;
86
+ }, z.core.$strip>]>>>;
87
+ }, z.core.$strip>;
88
+ declare const GetInventoryVariantsResponse: z.ZodObject<{
89
+ inventoryItem: z.ZodOptional<z.ZodObject<{
90
+ _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
91
+ externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
92
+ productId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
93
+ trackQuantity: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
94
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
95
+ variantId: z.ZodOptional<z.ZodString>;
96
+ inStock: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
97
+ quantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
98
+ availableForPreorder: z.ZodOptional<z.ZodBoolean>;
99
+ }, z.core.$strip>>>;
100
+ lastUpdated: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
101
+ numericId: z.ZodOptional<z.ZodString>;
102
+ preorderInfo: z.ZodOptional<z.ZodObject<{
103
+ enabled: z.ZodOptional<z.ZodBoolean>;
104
+ message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
105
+ limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
106
+ }, z.core.$strip>>;
107
+ }, z.core.$strip>>;
108
+ }, z.core.$strip>;
109
+ declare const QueryInventoryRequest: z.ZodObject<{
110
+ options: z.ZodOptional<z.ZodObject<{
111
+ query: z.ZodOptional<z.ZodObject<{
112
+ paging: z.ZodOptional<z.ZodObject<{
113
+ limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
114
+ offset: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
115
+ }, z.core.$strip>>;
116
+ filter: z.ZodNullable<z.ZodOptional<z.ZodString>>;
117
+ sort: z.ZodNullable<z.ZodOptional<z.ZodString>>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>>;
120
+ }, z.core.$strip>;
121
+ declare const QueryInventoryResponse: z.ZodObject<{
122
+ inventoryItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
123
+ _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
124
+ externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
+ productId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
+ trackQuantity: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
127
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
128
+ variantId: z.ZodOptional<z.ZodString>;
129
+ inStock: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
130
+ quantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
131
+ availableForPreorder: z.ZodOptional<z.ZodBoolean>;
132
+ }, z.core.$strip>>>;
133
+ lastUpdated: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
134
+ numericId: z.ZodOptional<z.ZodString>;
135
+ preorderInfo: z.ZodOptional<z.ZodObject<{
136
+ enabled: z.ZodOptional<z.ZodBoolean>;
137
+ message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
138
+ limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
139
+ }, z.core.$strip>>;
140
+ }, z.core.$strip>>>;
141
+ metadata: z.ZodOptional<z.ZodObject<{
142
+ items: z.ZodOptional<z.ZodNumber>;
143
+ offset: z.ZodOptional<z.ZodNumber>;
144
+ }, z.core.$strip>>;
145
+ totalResults: z.ZodOptional<z.ZodNumber>;
146
+ }, z.core.$strip>;
147
+
148
+ export { DecrementInventoryRequest, DecrementInventoryResponse, GetInventoryVariantsRequest, GetInventoryVariantsResponse, IncrementInventoryRequest, IncrementInventoryResponse, QueryInventoryRequest, QueryInventoryResponse, UpdateInventoryVariantsRequest, UpdateInventoryVariantsResponse };