@medusajs/medusa 2.8.8-snapshot-20250714120129 → 2.8.8-snapshot-20250714132415
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.
- package/dist/api/admin/api-keys/validators.d.ts +383 -33
- package/dist/api/admin/api-keys/validators.d.ts.map +1 -1
- package/dist/api/admin/campaigns/validators.d.ts +65 -43
- package/dist/api/admin/campaigns/validators.d.ts.map +1 -1
- package/dist/api/admin/claims/validators.d.ts +64 -61
- package/dist/api/admin/claims/validators.d.ts.map +1 -1
- package/dist/api/admin/collections/validators.d.ts +288 -34
- package/dist/api/admin/collections/validators.d.ts.map +1 -1
- package/dist/api/admin/currencies/validators.d.ts +23 -27
- package/dist/api/admin/currencies/validators.d.ts.map +1 -1
- package/dist/api/admin/customer-groups/validators.d.ts +763 -65
- package/dist/api/admin/customer-groups/validators.d.ts.map +1 -1
- package/dist/api/admin/customers/validators.d.ts +726 -62
- package/dist/api/admin/customers/validators.d.ts.map +1 -1
- package/dist/api/admin/draft-orders/validators.d.ts +330 -160
- package/dist/api/admin/draft-orders/validators.d.ts.map +1 -1
- package/dist/api/admin/exchanges/validators.d.ts +52 -49
- package/dist/api/admin/exchanges/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-providers/validators.d.ts +9 -7
- package/dist/api/admin/fulfillment-providers/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts +8 -4
- package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-sets/validators.d.ts +42 -30
- package/dist/api/admin/fulfillment-sets/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillments/validators.d.ts +6 -6
- package/dist/api/admin/inventory-items/validators.d.ts +492 -108
- package/dist/api/admin/inventory-items/validators.d.ts.map +1 -1
- package/dist/api/admin/invites/validators.d.ts +282 -27
- package/dist/api/admin/invites/validators.d.ts.map +1 -1
- package/dist/api/admin/notifications/validators.d.ts +29 -27
- package/dist/api/admin/notifications/validators.d.ts.map +1 -1
- package/dist/api/admin/order-edits/validators.d.ts +22 -22
- package/dist/api/admin/orders/validators.d.ts +51 -46
- package/dist/api/admin/orders/validators.d.ts.map +1 -1
- package/dist/api/admin/payments/validators.d.ts +304 -54
- package/dist/api/admin/payments/validators.d.ts.map +1 -1
- package/dist/api/admin/price-lists/validators.d.ts +230 -54
- package/dist/api/admin/price-lists/validators.d.ts.map +1 -1
- package/dist/api/admin/price-preferences/validators.d.ts +39 -31
- package/dist/api/admin/price-preferences/validators.d.ts.map +1 -1
- package/dist/api/admin/product-categories/validators.d.ts +339 -48
- package/dist/api/admin/product-categories/validators.d.ts.map +1 -1
- package/dist/api/admin/product-tags/validators.d.ts +281 -27
- package/dist/api/admin/product-tags/validators.d.ts.map +1 -1
- package/dist/api/admin/product-types/validators.d.ts +281 -27
- package/dist/api/admin/product-types/validators.d.ts.map +1 -1
- package/dist/api/admin/product-variants/validators.d.ts +291 -31
- package/dist/api/admin/product-variants/validators.d.ts.map +1 -1
- package/dist/api/admin/products/validators.d.ts +1983 -537
- package/dist/api/admin/products/validators.d.ts.map +1 -1
- package/dist/api/admin/products/validators.js.map +1 -1
- package/dist/api/admin/promotions/validators.d.ts +486 -125
- package/dist/api/admin/promotions/validators.d.ts.map +1 -1
- package/dist/api/admin/refund-reasons/validators.d.ts +12 -10
- package/dist/api/admin/refund-reasons/validators.d.ts.map +1 -1
- package/dist/api/admin/regions/validators.d.ts +301 -41
- package/dist/api/admin/regions/validators.d.ts.map +1 -1
- package/dist/api/admin/reservations/validators.d.ts +25 -23
- package/dist/api/admin/reservations/validators.d.ts.map +1 -1
- package/dist/api/admin/return-reasons/validators.d.ts +318 -45
- package/dist/api/admin/return-reasons/validators.d.ts.map +1 -1
- package/dist/api/admin/returns/validators.d.ts +48 -45
- package/dist/api/admin/returns/validators.d.ts.map +1 -1
- package/dist/api/admin/sales-channels/validators.d.ts +309 -20
- package/dist/api/admin/sales-channels/validators.d.ts.map +1 -1
- package/dist/api/admin/shipping-options/validators.d.ts +69 -67
- package/dist/api/admin/shipping-options/validators.d.ts.map +1 -1
- package/dist/api/admin/shipping-profiles/validators.d.ts +291 -31
- package/dist/api/admin/shipping-profiles/validators.d.ts.map +1 -1
- package/dist/api/admin/stock-locations/validators.d.ts +333 -50
- package/dist/api/admin/stock-locations/validators.d.ts.map +1 -1
- package/dist/api/admin/stores/validators.d.ts +40 -38
- package/dist/api/admin/stores/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-providers/validators.d.ts +21 -25
- package/dist/api/admin/tax-providers/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-rates/validators.d.ts +374 -42
- package/dist/api/admin/tax-rates/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-regions/validators.d.ts +548 -42
- package/dist/api/admin/tax-regions/validators.d.ts.map +1 -1
- package/dist/api/admin/users/validators.d.ts +15 -13
- package/dist/api/admin/users/validators.d.ts.map +1 -1
- package/dist/api/admin/workflows-executions/validators.d.ts +7 -5
- package/dist/api/admin/workflows-executions/validators.d.ts.map +1 -1
- package/dist/api/store/carts/validators.d.ts +44 -44
- package/dist/api/store/collections/validators.d.ts +200 -30
- package/dist/api/store/collections/validators.d.ts.map +1 -1
- package/dist/api/store/currencies/validators.d.ts +23 -27
- package/dist/api/store/currencies/validators.d.ts.map +1 -1
- package/dist/api/store/customers/validators.d.ts +17 -13
- package/dist/api/store/customers/validators.d.ts.map +1 -1
- package/dist/api/store/orders/validators.d.ts +21 -25
- package/dist/api/store/orders/validators.d.ts.map +1 -1
- package/dist/api/store/payment-providers/validators.d.ts +3 -1
- package/dist/api/store/payment-providers/validators.d.ts.map +1 -1
- package/dist/api/store/product-categories/validators.d.ts +318 -33
- package/dist/api/store/product-categories/validators.d.ts.map +1 -1
- package/dist/api/store/product-tags/validators.d.ts +281 -27
- package/dist/api/store/product-tags/validators.d.ts.map +1 -1
- package/dist/api/store/product-types/validators.d.ts +281 -27
- package/dist/api/store/product-types/validators.d.ts.map +1 -1
- package/dist/api/store/products/validators.d.ts +666 -83
- package/dist/api/store/products/validators.d.ts.map +1 -1
- package/dist/api/store/products/validators.js.map +1 -1
- package/dist/api/store/regions/validators.d.ts +37 -29
- package/dist/api/store/regions/validators.d.ts.map +1 -1
- package/dist/api/store/return-reasons/validators.d.ts +3 -2
- package/dist/api/store/return-reasons/validators.d.ts.map +1 -1
- package/dist/api/store/returns/validators.d.ts +23 -27
- package/dist/api/store/returns/validators.d.ts.map +1 -1
- package/dist/api/store/shipping-options/validators.d.ts +21 -25
- package/dist/api/store/shipping-options/validators.d.ts.map +1 -1
- package/dist/api/utils/common-validators/common.d.ts +10 -31
- package/dist/api/utils/common-validators/common.d.ts.map +1 -1
- package/dist/api/utils/common-validators/common.js.map +1 -1
- package/dist/api/utils/common-validators/products/index.d.ts +16 -15
- package/dist/api/utils/common-validators/products/index.d.ts.map +1 -1
- package/dist/api/utils/validators.d.ts +5 -4
- package/dist/api/utils/validators.d.ts.map +1 -1
- package/package.json +50 -50
@@ -151,133 +151,1323 @@ export declare const AdminGetProductVariantsParamsFields: z.ZodObject<{
|
|
151
151
|
$lte?: any;
|
152
152
|
}>]>>;
|
153
153
|
}, "strip", z.ZodTypeAny, {
|
154
|
-
q?: string | undefined;
|
155
154
|
id?: string | string[] | undefined;
|
156
|
-
|
155
|
+
created_at?: any;
|
156
|
+
updated_at?: any;
|
157
|
+
deleted_at?: any;
|
158
|
+
q?: string | undefined;
|
159
|
+
barcode?: string | string[] | undefined;
|
157
160
|
allow_backorder?: boolean | undefined;
|
158
161
|
ean?: string | string[] | undefined;
|
159
162
|
upc?: string | string[] | undefined;
|
160
|
-
|
163
|
+
manage_inventory?: boolean | undefined;
|
164
|
+
}, {
|
165
|
+
id?: string | string[] | undefined;
|
161
166
|
created_at?: any;
|
162
167
|
updated_at?: any;
|
163
168
|
deleted_at?: any;
|
164
|
-
}, {
|
165
169
|
q?: string | undefined;
|
166
|
-
|
167
|
-
manage_inventory?: string | boolean | undefined;
|
170
|
+
barcode?: string | string[] | undefined;
|
168
171
|
allow_backorder?: string | boolean | undefined;
|
169
172
|
ean?: string | string[] | undefined;
|
170
173
|
upc?: string | string[] | undefined;
|
171
|
-
|
172
|
-
created_at?: any;
|
173
|
-
updated_at?: any;
|
174
|
-
deleted_at?: any;
|
174
|
+
manage_inventory?: string | boolean | undefined;
|
175
175
|
}>;
|
176
176
|
export type AdminGetProductVariantsParamsType = z.infer<typeof AdminGetProductVariantsParams>;
|
177
|
-
export declare const AdminGetProductVariantsParams: z.ZodObject<{
|
177
|
+
export declare const AdminGetProductVariantsParams: z.ZodObject<{} & {
|
178
178
|
[x: string]: any;
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
179
|
+
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
|
180
|
+
q: z.ZodOptional<z.ZodString>;
|
181
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
182
|
+
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
183
|
+
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
184
|
+
ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
185
|
+
upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
186
|
+
barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
187
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
188
|
+
$eq: any;
|
189
|
+
$ne: any;
|
190
|
+
$in: any;
|
191
|
+
$nin: any;
|
192
|
+
$like: any;
|
193
|
+
$ilike: any;
|
194
|
+
$re: any;
|
195
|
+
$contains: any;
|
196
|
+
$gt: any;
|
197
|
+
$gte: any;
|
198
|
+
$lt: any;
|
199
|
+
$lte: any;
|
200
|
+
}, "strip", z.ZodTypeAny, {
|
201
|
+
$eq?: any;
|
202
|
+
$ne?: any;
|
203
|
+
$in?: any;
|
204
|
+
$nin?: any;
|
205
|
+
$like?: any;
|
206
|
+
$ilike?: any;
|
207
|
+
$re?: any;
|
208
|
+
$contains?: any;
|
209
|
+
$gt?: any;
|
210
|
+
$gte?: any;
|
211
|
+
$lt?: any;
|
212
|
+
$lte?: any;
|
213
|
+
}, {
|
214
|
+
$eq?: any;
|
215
|
+
$ne?: any;
|
216
|
+
$in?: any;
|
217
|
+
$nin?: any;
|
218
|
+
$like?: any;
|
219
|
+
$ilike?: any;
|
220
|
+
$re?: any;
|
221
|
+
$contains?: any;
|
222
|
+
$gt?: any;
|
223
|
+
$gte?: any;
|
224
|
+
$lt?: any;
|
225
|
+
$lte?: any;
|
226
|
+
}>]>>;
|
227
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
228
|
+
$eq: any;
|
229
|
+
$ne: any;
|
230
|
+
$in: any;
|
231
|
+
$nin: any;
|
232
|
+
$like: any;
|
233
|
+
$ilike: any;
|
234
|
+
$re: any;
|
235
|
+
$contains: any;
|
236
|
+
$gt: any;
|
237
|
+
$gte: any;
|
238
|
+
$lt: any;
|
239
|
+
$lte: any;
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
241
|
+
$eq?: any;
|
242
|
+
$ne?: any;
|
243
|
+
$in?: any;
|
244
|
+
$nin?: any;
|
245
|
+
$like?: any;
|
246
|
+
$ilike?: any;
|
247
|
+
$re?: any;
|
248
|
+
$contains?: any;
|
249
|
+
$gt?: any;
|
250
|
+
$gte?: any;
|
251
|
+
$lt?: any;
|
252
|
+
$lte?: any;
|
253
|
+
}, {
|
254
|
+
$eq?: any;
|
255
|
+
$ne?: any;
|
256
|
+
$in?: any;
|
257
|
+
$nin?: any;
|
258
|
+
$like?: any;
|
259
|
+
$ilike?: any;
|
260
|
+
$re?: any;
|
261
|
+
$contains?: any;
|
262
|
+
$gt?: any;
|
263
|
+
$gte?: any;
|
264
|
+
$lt?: any;
|
265
|
+
$lte?: any;
|
266
|
+
}>]>>;
|
267
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
268
|
+
$eq: any;
|
269
|
+
$ne: any;
|
270
|
+
$in: any;
|
271
|
+
$nin: any;
|
272
|
+
$like: any;
|
273
|
+
$ilike: any;
|
274
|
+
$re: any;
|
275
|
+
$contains: any;
|
276
|
+
$gt: any;
|
277
|
+
$gte: any;
|
278
|
+
$lt: any;
|
279
|
+
$lte: any;
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
281
|
+
$eq?: any;
|
282
|
+
$ne?: any;
|
283
|
+
$in?: any;
|
284
|
+
$nin?: any;
|
285
|
+
$like?: any;
|
286
|
+
$ilike?: any;
|
287
|
+
$re?: any;
|
288
|
+
$contains?: any;
|
289
|
+
$gt?: any;
|
290
|
+
$gte?: any;
|
291
|
+
$lt?: any;
|
292
|
+
$lte?: any;
|
293
|
+
}, {
|
294
|
+
$eq?: any;
|
295
|
+
$ne?: any;
|
296
|
+
$in?: any;
|
297
|
+
$nin?: any;
|
298
|
+
$like?: any;
|
299
|
+
$ilike?: any;
|
300
|
+
$re?: any;
|
301
|
+
$contains?: any;
|
302
|
+
$gt?: any;
|
303
|
+
$gte?: any;
|
304
|
+
$lt?: any;
|
305
|
+
$lte?: any;
|
306
|
+
}>]>>;
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
308
|
+
id?: string | string[] | undefined;
|
309
|
+
created_at?: any;
|
310
|
+
updated_at?: any;
|
311
|
+
deleted_at?: any;
|
312
|
+
q?: string | undefined;
|
313
|
+
barcode?: string | string[] | undefined;
|
314
|
+
allow_backorder?: boolean | undefined;
|
315
|
+
ean?: string | string[] | undefined;
|
316
|
+
upc?: string | string[] | undefined;
|
317
|
+
manage_inventory?: boolean | undefined;
|
183
318
|
}, {
|
184
|
-
|
319
|
+
id?: string | string[] | undefined;
|
320
|
+
created_at?: any;
|
321
|
+
updated_at?: any;
|
322
|
+
deleted_at?: any;
|
323
|
+
q?: string | undefined;
|
324
|
+
barcode?: string | string[] | undefined;
|
325
|
+
allow_backorder?: string | boolean | undefined;
|
326
|
+
ean?: string | string[] | undefined;
|
327
|
+
upc?: string | string[] | undefined;
|
328
|
+
manage_inventory?: string | boolean | undefined;
|
185
329
|
}>, "many">>>;
|
186
|
-
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<
|
187
|
-
|
330
|
+
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
|
331
|
+
q: z.ZodOptional<z.ZodString>;
|
332
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
333
|
+
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
334
|
+
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
335
|
+
ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
336
|
+
upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
337
|
+
barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
338
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
339
|
+
$eq: any;
|
340
|
+
$ne: any;
|
341
|
+
$in: any;
|
342
|
+
$nin: any;
|
343
|
+
$like: any;
|
344
|
+
$ilike: any;
|
345
|
+
$re: any;
|
346
|
+
$contains: any;
|
347
|
+
$gt: any;
|
348
|
+
$gte: any;
|
349
|
+
$lt: any;
|
350
|
+
$lte: any;
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
352
|
+
$eq?: any;
|
353
|
+
$ne?: any;
|
354
|
+
$in?: any;
|
355
|
+
$nin?: any;
|
356
|
+
$like?: any;
|
357
|
+
$ilike?: any;
|
358
|
+
$re?: any;
|
359
|
+
$contains?: any;
|
360
|
+
$gt?: any;
|
361
|
+
$gte?: any;
|
362
|
+
$lt?: any;
|
363
|
+
$lte?: any;
|
364
|
+
}, {
|
365
|
+
$eq?: any;
|
366
|
+
$ne?: any;
|
367
|
+
$in?: any;
|
368
|
+
$nin?: any;
|
369
|
+
$like?: any;
|
370
|
+
$ilike?: any;
|
371
|
+
$re?: any;
|
372
|
+
$contains?: any;
|
373
|
+
$gt?: any;
|
374
|
+
$gte?: any;
|
375
|
+
$lt?: any;
|
376
|
+
$lte?: any;
|
377
|
+
}>]>>;
|
378
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
379
|
+
$eq: any;
|
380
|
+
$ne: any;
|
381
|
+
$in: any;
|
382
|
+
$nin: any;
|
383
|
+
$like: any;
|
384
|
+
$ilike: any;
|
385
|
+
$re: any;
|
386
|
+
$contains: any;
|
387
|
+
$gt: any;
|
388
|
+
$gte: any;
|
389
|
+
$lt: any;
|
390
|
+
$lte: any;
|
391
|
+
}, "strip", z.ZodTypeAny, {
|
392
|
+
$eq?: any;
|
393
|
+
$ne?: any;
|
394
|
+
$in?: any;
|
395
|
+
$nin?: any;
|
396
|
+
$like?: any;
|
397
|
+
$ilike?: any;
|
398
|
+
$re?: any;
|
399
|
+
$contains?: any;
|
400
|
+
$gt?: any;
|
401
|
+
$gte?: any;
|
402
|
+
$lt?: any;
|
403
|
+
$lte?: any;
|
404
|
+
}, {
|
405
|
+
$eq?: any;
|
406
|
+
$ne?: any;
|
407
|
+
$in?: any;
|
408
|
+
$nin?: any;
|
409
|
+
$like?: any;
|
410
|
+
$ilike?: any;
|
411
|
+
$re?: any;
|
412
|
+
$contains?: any;
|
413
|
+
$gt?: any;
|
414
|
+
$gte?: any;
|
415
|
+
$lt?: any;
|
416
|
+
$lte?: any;
|
417
|
+
}>]>>;
|
418
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
419
|
+
$eq: any;
|
420
|
+
$ne: any;
|
421
|
+
$in: any;
|
422
|
+
$nin: any;
|
423
|
+
$like: any;
|
424
|
+
$ilike: any;
|
425
|
+
$re: any;
|
426
|
+
$contains: any;
|
427
|
+
$gt: any;
|
428
|
+
$gte: any;
|
429
|
+
$lt: any;
|
430
|
+
$lte: any;
|
431
|
+
}, "strip", z.ZodTypeAny, {
|
432
|
+
$eq?: any;
|
433
|
+
$ne?: any;
|
434
|
+
$in?: any;
|
435
|
+
$nin?: any;
|
436
|
+
$like?: any;
|
437
|
+
$ilike?: any;
|
438
|
+
$re?: any;
|
439
|
+
$contains?: any;
|
440
|
+
$gt?: any;
|
441
|
+
$gte?: any;
|
442
|
+
$lt?: any;
|
443
|
+
$lte?: any;
|
444
|
+
}, {
|
445
|
+
$eq?: any;
|
446
|
+
$ne?: any;
|
447
|
+
$in?: any;
|
448
|
+
$nin?: any;
|
449
|
+
$like?: any;
|
450
|
+
$ilike?: any;
|
451
|
+
$re?: any;
|
452
|
+
$contains?: any;
|
453
|
+
$gt?: any;
|
454
|
+
$gte?: any;
|
455
|
+
$lt?: any;
|
456
|
+
$lte?: any;
|
457
|
+
}>]>>;
|
458
|
+
}, "strip", z.ZodTypeAny, {
|
459
|
+
id?: string | string[] | undefined;
|
460
|
+
created_at?: any;
|
461
|
+
updated_at?: any;
|
462
|
+
deleted_at?: any;
|
463
|
+
q?: string | undefined;
|
464
|
+
barcode?: string | string[] | undefined;
|
465
|
+
allow_backorder?: boolean | undefined;
|
466
|
+
ean?: string | string[] | undefined;
|
467
|
+
upc?: string | string[] | undefined;
|
468
|
+
manage_inventory?: boolean | undefined;
|
188
469
|
}, {
|
189
|
-
|
470
|
+
id?: string | string[] | undefined;
|
471
|
+
created_at?: any;
|
472
|
+
updated_at?: any;
|
473
|
+
deleted_at?: any;
|
474
|
+
q?: string | undefined;
|
475
|
+
barcode?: string | string[] | undefined;
|
476
|
+
allow_backorder?: string | boolean | undefined;
|
477
|
+
ean?: string | string[] | undefined;
|
478
|
+
upc?: string | string[] | undefined;
|
479
|
+
manage_inventory?: string | boolean | undefined;
|
190
480
|
}>, "many">>>;
|
191
481
|
}, "strip", z.ZodTypeAny, {
|
192
482
|
[x: string]: any;
|
193
|
-
|
194
|
-
|
195
|
-
$and?: {
|
196
|
-
[x: string]: any;
|
197
|
-
}[] | undefined;
|
198
|
-
$or?: {
|
199
|
-
[x: string]: any;
|
200
|
-
}[] | undefined;
|
483
|
+
$and?: unknown;
|
484
|
+
$or?: unknown;
|
201
485
|
}, {
|
202
486
|
[x: string]: any;
|
203
|
-
|
204
|
-
|
205
|
-
$and?: {
|
206
|
-
[x: string]: any;
|
207
|
-
}[] | undefined;
|
208
|
-
$or?: {
|
209
|
-
[x: string]: any;
|
210
|
-
}[] | undefined;
|
487
|
+
$and?: unknown;
|
488
|
+
$or?: unknown;
|
211
489
|
}>;
|
212
490
|
export declare const AdminGetProductsParamsDirectFields: z.ZodObject<{
|
213
|
-
variants: z.ZodOptional<z.ZodObject<{
|
491
|
+
variants: z.ZodOptional<z.ZodObject<{} & {
|
214
492
|
[x: string]: any;
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
493
|
+
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
|
494
|
+
q: z.ZodOptional<z.ZodString>;
|
495
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
496
|
+
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
497
|
+
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
498
|
+
ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
499
|
+
upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
500
|
+
barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
501
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
502
|
+
$eq: any;
|
503
|
+
$ne: any;
|
504
|
+
$in: any;
|
505
|
+
$nin: any;
|
506
|
+
$like: any;
|
507
|
+
$ilike: any;
|
508
|
+
$re: any;
|
509
|
+
$contains: any;
|
510
|
+
$gt: any;
|
511
|
+
$gte: any;
|
512
|
+
$lt: any;
|
513
|
+
$lte: any;
|
514
|
+
}, "strip", z.ZodTypeAny, {
|
515
|
+
$eq?: any;
|
516
|
+
$ne?: any;
|
517
|
+
$in?: any;
|
518
|
+
$nin?: any;
|
519
|
+
$like?: any;
|
520
|
+
$ilike?: any;
|
521
|
+
$re?: any;
|
522
|
+
$contains?: any;
|
523
|
+
$gt?: any;
|
524
|
+
$gte?: any;
|
525
|
+
$lt?: any;
|
526
|
+
$lte?: any;
|
527
|
+
}, {
|
528
|
+
$eq?: any;
|
529
|
+
$ne?: any;
|
530
|
+
$in?: any;
|
531
|
+
$nin?: any;
|
532
|
+
$like?: any;
|
533
|
+
$ilike?: any;
|
534
|
+
$re?: any;
|
535
|
+
$contains?: any;
|
536
|
+
$gt?: any;
|
537
|
+
$gte?: any;
|
538
|
+
$lt?: any;
|
539
|
+
$lte?: any;
|
540
|
+
}>]>>;
|
541
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
542
|
+
$eq: any;
|
543
|
+
$ne: any;
|
544
|
+
$in: any;
|
545
|
+
$nin: any;
|
546
|
+
$like: any;
|
547
|
+
$ilike: any;
|
548
|
+
$re: any;
|
549
|
+
$contains: any;
|
550
|
+
$gt: any;
|
551
|
+
$gte: any;
|
552
|
+
$lt: any;
|
553
|
+
$lte: any;
|
554
|
+
}, "strip", z.ZodTypeAny, {
|
555
|
+
$eq?: any;
|
556
|
+
$ne?: any;
|
557
|
+
$in?: any;
|
558
|
+
$nin?: any;
|
559
|
+
$like?: any;
|
560
|
+
$ilike?: any;
|
561
|
+
$re?: any;
|
562
|
+
$contains?: any;
|
563
|
+
$gt?: any;
|
564
|
+
$gte?: any;
|
565
|
+
$lt?: any;
|
566
|
+
$lte?: any;
|
567
|
+
}, {
|
568
|
+
$eq?: any;
|
569
|
+
$ne?: any;
|
570
|
+
$in?: any;
|
571
|
+
$nin?: any;
|
572
|
+
$like?: any;
|
573
|
+
$ilike?: any;
|
574
|
+
$re?: any;
|
575
|
+
$contains?: any;
|
576
|
+
$gt?: any;
|
577
|
+
$gte?: any;
|
578
|
+
$lt?: any;
|
579
|
+
$lte?: any;
|
580
|
+
}>]>>;
|
581
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
582
|
+
$eq: any;
|
583
|
+
$ne: any;
|
584
|
+
$in: any;
|
585
|
+
$nin: any;
|
586
|
+
$like: any;
|
587
|
+
$ilike: any;
|
588
|
+
$re: any;
|
589
|
+
$contains: any;
|
590
|
+
$gt: any;
|
591
|
+
$gte: any;
|
592
|
+
$lt: any;
|
593
|
+
$lte: any;
|
594
|
+
}, "strip", z.ZodTypeAny, {
|
595
|
+
$eq?: any;
|
596
|
+
$ne?: any;
|
597
|
+
$in?: any;
|
598
|
+
$nin?: any;
|
599
|
+
$like?: any;
|
600
|
+
$ilike?: any;
|
601
|
+
$re?: any;
|
602
|
+
$contains?: any;
|
603
|
+
$gt?: any;
|
604
|
+
$gte?: any;
|
605
|
+
$lt?: any;
|
606
|
+
$lte?: any;
|
607
|
+
}, {
|
608
|
+
$eq?: any;
|
609
|
+
$ne?: any;
|
610
|
+
$in?: any;
|
611
|
+
$nin?: any;
|
612
|
+
$like?: any;
|
613
|
+
$ilike?: any;
|
614
|
+
$re?: any;
|
615
|
+
$contains?: any;
|
616
|
+
$gt?: any;
|
617
|
+
$gte?: any;
|
618
|
+
$lt?: any;
|
619
|
+
$lte?: any;
|
620
|
+
}>]>>;
|
621
|
+
}, "q">, "strip", z.ZodTypeAny, {
|
622
|
+
id?: string | string[] | undefined;
|
623
|
+
created_at?: any;
|
624
|
+
updated_at?: any;
|
625
|
+
deleted_at?: any;
|
626
|
+
barcode?: string | string[] | undefined;
|
627
|
+
allow_backorder?: boolean | undefined;
|
628
|
+
ean?: string | string[] | undefined;
|
629
|
+
upc?: string | string[] | undefined;
|
630
|
+
manage_inventory?: boolean | undefined;
|
219
631
|
}, {
|
220
|
-
|
632
|
+
id?: string | string[] | undefined;
|
633
|
+
created_at?: any;
|
634
|
+
updated_at?: any;
|
635
|
+
deleted_at?: any;
|
636
|
+
barcode?: string | string[] | undefined;
|
637
|
+
allow_backorder?: string | boolean | undefined;
|
638
|
+
ean?: string | string[] | undefined;
|
639
|
+
upc?: string | string[] | undefined;
|
640
|
+
manage_inventory?: string | boolean | undefined;
|
221
641
|
}>, "many">>>;
|
222
|
-
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<
|
223
|
-
|
642
|
+
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
|
643
|
+
q: z.ZodOptional<z.ZodString>;
|
644
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
645
|
+
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
646
|
+
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
647
|
+
ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
648
|
+
upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
649
|
+
barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
650
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
651
|
+
$eq: any;
|
652
|
+
$ne: any;
|
653
|
+
$in: any;
|
654
|
+
$nin: any;
|
655
|
+
$like: any;
|
656
|
+
$ilike: any;
|
657
|
+
$re: any;
|
658
|
+
$contains: any;
|
659
|
+
$gt: any;
|
660
|
+
$gte: any;
|
661
|
+
$lt: any;
|
662
|
+
$lte: any;
|
663
|
+
}, "strip", z.ZodTypeAny, {
|
664
|
+
$eq?: any;
|
665
|
+
$ne?: any;
|
666
|
+
$in?: any;
|
667
|
+
$nin?: any;
|
668
|
+
$like?: any;
|
669
|
+
$ilike?: any;
|
670
|
+
$re?: any;
|
671
|
+
$contains?: any;
|
672
|
+
$gt?: any;
|
673
|
+
$gte?: any;
|
674
|
+
$lt?: any;
|
675
|
+
$lte?: any;
|
676
|
+
}, {
|
677
|
+
$eq?: any;
|
678
|
+
$ne?: any;
|
679
|
+
$in?: any;
|
680
|
+
$nin?: any;
|
681
|
+
$like?: any;
|
682
|
+
$ilike?: any;
|
683
|
+
$re?: any;
|
684
|
+
$contains?: any;
|
685
|
+
$gt?: any;
|
686
|
+
$gte?: any;
|
687
|
+
$lt?: any;
|
688
|
+
$lte?: any;
|
689
|
+
}>]>>;
|
690
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
691
|
+
$eq: any;
|
692
|
+
$ne: any;
|
693
|
+
$in: any;
|
694
|
+
$nin: any;
|
695
|
+
$like: any;
|
696
|
+
$ilike: any;
|
697
|
+
$re: any;
|
698
|
+
$contains: any;
|
699
|
+
$gt: any;
|
700
|
+
$gte: any;
|
701
|
+
$lt: any;
|
702
|
+
$lte: any;
|
703
|
+
}, "strip", z.ZodTypeAny, {
|
704
|
+
$eq?: any;
|
705
|
+
$ne?: any;
|
706
|
+
$in?: any;
|
707
|
+
$nin?: any;
|
708
|
+
$like?: any;
|
709
|
+
$ilike?: any;
|
710
|
+
$re?: any;
|
711
|
+
$contains?: any;
|
712
|
+
$gt?: any;
|
713
|
+
$gte?: any;
|
714
|
+
$lt?: any;
|
715
|
+
$lte?: any;
|
716
|
+
}, {
|
717
|
+
$eq?: any;
|
718
|
+
$ne?: any;
|
719
|
+
$in?: any;
|
720
|
+
$nin?: any;
|
721
|
+
$like?: any;
|
722
|
+
$ilike?: any;
|
723
|
+
$re?: any;
|
724
|
+
$contains?: any;
|
725
|
+
$gt?: any;
|
726
|
+
$gte?: any;
|
727
|
+
$lt?: any;
|
728
|
+
$lte?: any;
|
729
|
+
}>]>>;
|
730
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
731
|
+
$eq: any;
|
732
|
+
$ne: any;
|
733
|
+
$in: any;
|
734
|
+
$nin: any;
|
735
|
+
$like: any;
|
736
|
+
$ilike: any;
|
737
|
+
$re: any;
|
738
|
+
$contains: any;
|
739
|
+
$gt: any;
|
740
|
+
$gte: any;
|
741
|
+
$lt: any;
|
742
|
+
$lte: any;
|
743
|
+
}, "strip", z.ZodTypeAny, {
|
744
|
+
$eq?: any;
|
745
|
+
$ne?: any;
|
746
|
+
$in?: any;
|
747
|
+
$nin?: any;
|
748
|
+
$like?: any;
|
749
|
+
$ilike?: any;
|
750
|
+
$re?: any;
|
751
|
+
$contains?: any;
|
752
|
+
$gt?: any;
|
753
|
+
$gte?: any;
|
754
|
+
$lt?: any;
|
755
|
+
$lte?: any;
|
756
|
+
}, {
|
757
|
+
$eq?: any;
|
758
|
+
$ne?: any;
|
759
|
+
$in?: any;
|
760
|
+
$nin?: any;
|
761
|
+
$like?: any;
|
762
|
+
$ilike?: any;
|
763
|
+
$re?: any;
|
764
|
+
$contains?: any;
|
765
|
+
$gt?: any;
|
766
|
+
$gte?: any;
|
767
|
+
$lt?: any;
|
768
|
+
$lte?: any;
|
769
|
+
}>]>>;
|
770
|
+
}, "q">, "strip", z.ZodTypeAny, {
|
771
|
+
id?: string | string[] | undefined;
|
772
|
+
created_at?: any;
|
773
|
+
updated_at?: any;
|
774
|
+
deleted_at?: any;
|
775
|
+
barcode?: string | string[] | undefined;
|
776
|
+
allow_backorder?: boolean | undefined;
|
777
|
+
ean?: string | string[] | undefined;
|
778
|
+
upc?: string | string[] | undefined;
|
779
|
+
manage_inventory?: boolean | undefined;
|
224
780
|
}, {
|
225
|
-
|
781
|
+
id?: string | string[] | undefined;
|
782
|
+
created_at?: any;
|
783
|
+
updated_at?: any;
|
784
|
+
deleted_at?: any;
|
785
|
+
barcode?: string | string[] | undefined;
|
786
|
+
allow_backorder?: string | boolean | undefined;
|
787
|
+
ean?: string | string[] | undefined;
|
788
|
+
upc?: string | string[] | undefined;
|
789
|
+
manage_inventory?: string | boolean | undefined;
|
226
790
|
}>, "many">>>;
|
227
791
|
}, "strip", z.ZodTypeAny, {
|
228
792
|
[x: string]: any;
|
229
|
-
|
230
|
-
|
231
|
-
$and?: {
|
232
|
-
[x: string]: any;
|
233
|
-
}[] | undefined;
|
234
|
-
$or?: {
|
235
|
-
[x: string]: any;
|
236
|
-
}[] | undefined;
|
793
|
+
$and?: unknown;
|
794
|
+
$or?: unknown;
|
237
795
|
}, {
|
238
796
|
[x: string]: any;
|
239
|
-
|
240
|
-
|
241
|
-
$and?: {
|
242
|
-
[x: string]: any;
|
243
|
-
}[] | undefined;
|
244
|
-
$or?: {
|
245
|
-
[x: string]: any;
|
246
|
-
}[] | undefined;
|
797
|
+
$and?: unknown;
|
798
|
+
$or?: unknown;
|
247
799
|
}>>;
|
248
800
|
status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ProductStatus>, "many">>;
|
249
801
|
}, "strip", z.ZodTypeAny, {
|
250
802
|
variants?: {
|
251
803
|
[x: string]: any;
|
252
|
-
|
253
|
-
|
254
|
-
$and?: {
|
255
|
-
[x: string]: any;
|
256
|
-
}[] | undefined;
|
257
|
-
$or?: {
|
258
|
-
[x: string]: any;
|
259
|
-
}[] | undefined;
|
804
|
+
$and?: unknown;
|
805
|
+
$or?: unknown;
|
260
806
|
} | undefined;
|
261
807
|
status?: ProductStatus[] | undefined;
|
262
808
|
}, {
|
263
809
|
variants?: {
|
264
810
|
[x: string]: any;
|
265
|
-
|
266
|
-
|
267
|
-
$and?: {
|
268
|
-
[x: string]: any;
|
269
|
-
}[] | undefined;
|
270
|
-
$or?: {
|
271
|
-
[x: string]: any;
|
272
|
-
}[] | undefined;
|
811
|
+
$and?: unknown;
|
812
|
+
$or?: unknown;
|
273
813
|
} | undefined;
|
274
814
|
status?: ProductStatus[] | undefined;
|
275
815
|
}>;
|
276
816
|
export type AdminGetProductsParamsType = z.infer<typeof AdminGetProductsParams>;
|
277
|
-
export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{
|
817
|
+
export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
|
278
818
|
[x: string]: any;
|
279
|
-
|
280
|
-
|
819
|
+
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
|
820
|
+
variants: z.ZodOptional<z.ZodObject<{} & {
|
821
|
+
[x: string]: any;
|
822
|
+
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
|
823
|
+
q: z.ZodOptional<z.ZodString>;
|
824
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
825
|
+
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
826
|
+
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
827
|
+
ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
828
|
+
upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
829
|
+
barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
830
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
831
|
+
$eq: any;
|
832
|
+
$ne: any;
|
833
|
+
$in: any;
|
834
|
+
$nin: any;
|
835
|
+
$like: any;
|
836
|
+
$ilike: any;
|
837
|
+
$re: any;
|
838
|
+
$contains: any;
|
839
|
+
$gt: any;
|
840
|
+
$gte: any;
|
841
|
+
$lt: any;
|
842
|
+
$lte: any;
|
843
|
+
}, "strip", z.ZodTypeAny, {
|
844
|
+
$eq?: any;
|
845
|
+
$ne?: any;
|
846
|
+
$in?: any;
|
847
|
+
$nin?: any;
|
848
|
+
$like?: any;
|
849
|
+
$ilike?: any;
|
850
|
+
$re?: any;
|
851
|
+
$contains?: any;
|
852
|
+
$gt?: any;
|
853
|
+
$gte?: any;
|
854
|
+
$lt?: any;
|
855
|
+
$lte?: any;
|
856
|
+
}, {
|
857
|
+
$eq?: any;
|
858
|
+
$ne?: any;
|
859
|
+
$in?: any;
|
860
|
+
$nin?: any;
|
861
|
+
$like?: any;
|
862
|
+
$ilike?: any;
|
863
|
+
$re?: any;
|
864
|
+
$contains?: any;
|
865
|
+
$gt?: any;
|
866
|
+
$gte?: any;
|
867
|
+
$lt?: any;
|
868
|
+
$lte?: any;
|
869
|
+
}>]>>;
|
870
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
871
|
+
$eq: any;
|
872
|
+
$ne: any;
|
873
|
+
$in: any;
|
874
|
+
$nin: any;
|
875
|
+
$like: any;
|
876
|
+
$ilike: any;
|
877
|
+
$re: any;
|
878
|
+
$contains: any;
|
879
|
+
$gt: any;
|
880
|
+
$gte: any;
|
881
|
+
$lt: any;
|
882
|
+
$lte: any;
|
883
|
+
}, "strip", z.ZodTypeAny, {
|
884
|
+
$eq?: any;
|
885
|
+
$ne?: any;
|
886
|
+
$in?: any;
|
887
|
+
$nin?: any;
|
888
|
+
$like?: any;
|
889
|
+
$ilike?: any;
|
890
|
+
$re?: any;
|
891
|
+
$contains?: any;
|
892
|
+
$gt?: any;
|
893
|
+
$gte?: any;
|
894
|
+
$lt?: any;
|
895
|
+
$lte?: any;
|
896
|
+
}, {
|
897
|
+
$eq?: any;
|
898
|
+
$ne?: any;
|
899
|
+
$in?: any;
|
900
|
+
$nin?: any;
|
901
|
+
$like?: any;
|
902
|
+
$ilike?: any;
|
903
|
+
$re?: any;
|
904
|
+
$contains?: any;
|
905
|
+
$gt?: any;
|
906
|
+
$gte?: any;
|
907
|
+
$lt?: any;
|
908
|
+
$lte?: any;
|
909
|
+
}>]>>;
|
910
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
911
|
+
$eq: any;
|
912
|
+
$ne: any;
|
913
|
+
$in: any;
|
914
|
+
$nin: any;
|
915
|
+
$like: any;
|
916
|
+
$ilike: any;
|
917
|
+
$re: any;
|
918
|
+
$contains: any;
|
919
|
+
$gt: any;
|
920
|
+
$gte: any;
|
921
|
+
$lt: any;
|
922
|
+
$lte: any;
|
923
|
+
}, "strip", z.ZodTypeAny, {
|
924
|
+
$eq?: any;
|
925
|
+
$ne?: any;
|
926
|
+
$in?: any;
|
927
|
+
$nin?: any;
|
928
|
+
$like?: any;
|
929
|
+
$ilike?: any;
|
930
|
+
$re?: any;
|
931
|
+
$contains?: any;
|
932
|
+
$gt?: any;
|
933
|
+
$gte?: any;
|
934
|
+
$lt?: any;
|
935
|
+
$lte?: any;
|
936
|
+
}, {
|
937
|
+
$eq?: any;
|
938
|
+
$ne?: any;
|
939
|
+
$in?: any;
|
940
|
+
$nin?: any;
|
941
|
+
$like?: any;
|
942
|
+
$ilike?: any;
|
943
|
+
$re?: any;
|
944
|
+
$contains?: any;
|
945
|
+
$gt?: any;
|
946
|
+
$gte?: any;
|
947
|
+
$lt?: any;
|
948
|
+
$lte?: any;
|
949
|
+
}>]>>;
|
950
|
+
}, "q">, "strip", z.ZodTypeAny, {
|
951
|
+
id?: string | string[] | undefined;
|
952
|
+
created_at?: any;
|
953
|
+
updated_at?: any;
|
954
|
+
deleted_at?: any;
|
955
|
+
barcode?: string | string[] | undefined;
|
956
|
+
allow_backorder?: boolean | undefined;
|
957
|
+
ean?: string | string[] | undefined;
|
958
|
+
upc?: string | string[] | undefined;
|
959
|
+
manage_inventory?: boolean | undefined;
|
960
|
+
}, {
|
961
|
+
id?: string | string[] | undefined;
|
962
|
+
created_at?: any;
|
963
|
+
updated_at?: any;
|
964
|
+
deleted_at?: any;
|
965
|
+
barcode?: string | string[] | undefined;
|
966
|
+
allow_backorder?: string | boolean | undefined;
|
967
|
+
ean?: string | string[] | undefined;
|
968
|
+
upc?: string | string[] | undefined;
|
969
|
+
manage_inventory?: string | boolean | undefined;
|
970
|
+
}>, "many">>>;
|
971
|
+
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
|
972
|
+
q: z.ZodOptional<z.ZodString>;
|
973
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
974
|
+
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
975
|
+
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
976
|
+
ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
977
|
+
upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
978
|
+
barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
979
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
980
|
+
$eq: any;
|
981
|
+
$ne: any;
|
982
|
+
$in: any;
|
983
|
+
$nin: any;
|
984
|
+
$like: any;
|
985
|
+
$ilike: any;
|
986
|
+
$re: any;
|
987
|
+
$contains: any;
|
988
|
+
$gt: any;
|
989
|
+
$gte: any;
|
990
|
+
$lt: any;
|
991
|
+
$lte: any;
|
992
|
+
}, "strip", z.ZodTypeAny, {
|
993
|
+
$eq?: any;
|
994
|
+
$ne?: any;
|
995
|
+
$in?: any;
|
996
|
+
$nin?: any;
|
997
|
+
$like?: any;
|
998
|
+
$ilike?: any;
|
999
|
+
$re?: any;
|
1000
|
+
$contains?: any;
|
1001
|
+
$gt?: any;
|
1002
|
+
$gte?: any;
|
1003
|
+
$lt?: any;
|
1004
|
+
$lte?: any;
|
1005
|
+
}, {
|
1006
|
+
$eq?: any;
|
1007
|
+
$ne?: any;
|
1008
|
+
$in?: any;
|
1009
|
+
$nin?: any;
|
1010
|
+
$like?: any;
|
1011
|
+
$ilike?: any;
|
1012
|
+
$re?: any;
|
1013
|
+
$contains?: any;
|
1014
|
+
$gt?: any;
|
1015
|
+
$gte?: any;
|
1016
|
+
$lt?: any;
|
1017
|
+
$lte?: any;
|
1018
|
+
}>]>>;
|
1019
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1020
|
+
$eq: any;
|
1021
|
+
$ne: any;
|
1022
|
+
$in: any;
|
1023
|
+
$nin: any;
|
1024
|
+
$like: any;
|
1025
|
+
$ilike: any;
|
1026
|
+
$re: any;
|
1027
|
+
$contains: any;
|
1028
|
+
$gt: any;
|
1029
|
+
$gte: any;
|
1030
|
+
$lt: any;
|
1031
|
+
$lte: any;
|
1032
|
+
}, "strip", z.ZodTypeAny, {
|
1033
|
+
$eq?: any;
|
1034
|
+
$ne?: any;
|
1035
|
+
$in?: any;
|
1036
|
+
$nin?: any;
|
1037
|
+
$like?: any;
|
1038
|
+
$ilike?: any;
|
1039
|
+
$re?: any;
|
1040
|
+
$contains?: any;
|
1041
|
+
$gt?: any;
|
1042
|
+
$gte?: any;
|
1043
|
+
$lt?: any;
|
1044
|
+
$lte?: any;
|
1045
|
+
}, {
|
1046
|
+
$eq?: any;
|
1047
|
+
$ne?: any;
|
1048
|
+
$in?: any;
|
1049
|
+
$nin?: any;
|
1050
|
+
$like?: any;
|
1051
|
+
$ilike?: any;
|
1052
|
+
$re?: any;
|
1053
|
+
$contains?: any;
|
1054
|
+
$gt?: any;
|
1055
|
+
$gte?: any;
|
1056
|
+
$lt?: any;
|
1057
|
+
$lte?: any;
|
1058
|
+
}>]>>;
|
1059
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1060
|
+
$eq: any;
|
1061
|
+
$ne: any;
|
1062
|
+
$in: any;
|
1063
|
+
$nin: any;
|
1064
|
+
$like: any;
|
1065
|
+
$ilike: any;
|
1066
|
+
$re: any;
|
1067
|
+
$contains: any;
|
1068
|
+
$gt: any;
|
1069
|
+
$gte: any;
|
1070
|
+
$lt: any;
|
1071
|
+
$lte: any;
|
1072
|
+
}, "strip", z.ZodTypeAny, {
|
1073
|
+
$eq?: any;
|
1074
|
+
$ne?: any;
|
1075
|
+
$in?: any;
|
1076
|
+
$nin?: any;
|
1077
|
+
$like?: any;
|
1078
|
+
$ilike?: any;
|
1079
|
+
$re?: any;
|
1080
|
+
$contains?: any;
|
1081
|
+
$gt?: any;
|
1082
|
+
$gte?: any;
|
1083
|
+
$lt?: any;
|
1084
|
+
$lte?: any;
|
1085
|
+
}, {
|
1086
|
+
$eq?: any;
|
1087
|
+
$ne?: any;
|
1088
|
+
$in?: any;
|
1089
|
+
$nin?: any;
|
1090
|
+
$like?: any;
|
1091
|
+
$ilike?: any;
|
1092
|
+
$re?: any;
|
1093
|
+
$contains?: any;
|
1094
|
+
$gt?: any;
|
1095
|
+
$gte?: any;
|
1096
|
+
$lt?: any;
|
1097
|
+
$lte?: any;
|
1098
|
+
}>]>>;
|
1099
|
+
}, "q">, "strip", z.ZodTypeAny, {
|
1100
|
+
id?: string | string[] | undefined;
|
1101
|
+
created_at?: any;
|
1102
|
+
updated_at?: any;
|
1103
|
+
deleted_at?: any;
|
1104
|
+
barcode?: string | string[] | undefined;
|
1105
|
+
allow_backorder?: boolean | undefined;
|
1106
|
+
ean?: string | string[] | undefined;
|
1107
|
+
upc?: string | string[] | undefined;
|
1108
|
+
manage_inventory?: boolean | undefined;
|
1109
|
+
}, {
|
1110
|
+
id?: string | string[] | undefined;
|
1111
|
+
created_at?: any;
|
1112
|
+
updated_at?: any;
|
1113
|
+
deleted_at?: any;
|
1114
|
+
barcode?: string | string[] | undefined;
|
1115
|
+
allow_backorder?: string | boolean | undefined;
|
1116
|
+
ean?: string | string[] | undefined;
|
1117
|
+
upc?: string | string[] | undefined;
|
1118
|
+
manage_inventory?: string | boolean | undefined;
|
1119
|
+
}>, "many">>>;
|
1120
|
+
}, "strip", z.ZodTypeAny, {
|
1121
|
+
[x: string]: any;
|
1122
|
+
$and?: unknown;
|
1123
|
+
$or?: unknown;
|
1124
|
+
}, {
|
1125
|
+
[x: string]: any;
|
1126
|
+
$and?: unknown;
|
1127
|
+
$or?: unknown;
|
1128
|
+
}>>;
|
1129
|
+
status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ProductStatus>, "many">>;
|
1130
|
+
}, "strip", z.ZodTypeAny, {
|
1131
|
+
variants?: {
|
1132
|
+
[x: string]: any;
|
1133
|
+
$and?: unknown;
|
1134
|
+
$or?: unknown;
|
1135
|
+
} | undefined;
|
1136
|
+
status?: ProductStatus[] | undefined;
|
1137
|
+
}, {
|
1138
|
+
variants?: {
|
1139
|
+
[x: string]: any;
|
1140
|
+
$and?: unknown;
|
1141
|
+
$or?: unknown;
|
1142
|
+
} | undefined;
|
1143
|
+
status?: ProductStatus[] | undefined;
|
1144
|
+
}>, "many">>>;
|
1145
|
+
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
|
1146
|
+
variants: z.ZodOptional<z.ZodObject<{} & {
|
1147
|
+
[x: string]: any;
|
1148
|
+
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
|
1149
|
+
q: z.ZodOptional<z.ZodString>;
|
1150
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
1151
|
+
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1152
|
+
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1153
|
+
ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
1154
|
+
upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
1155
|
+
barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
1156
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1157
|
+
$eq: any;
|
1158
|
+
$ne: any;
|
1159
|
+
$in: any;
|
1160
|
+
$nin: any;
|
1161
|
+
$like: any;
|
1162
|
+
$ilike: any;
|
1163
|
+
$re: any;
|
1164
|
+
$contains: any;
|
1165
|
+
$gt: any;
|
1166
|
+
$gte: any;
|
1167
|
+
$lt: any;
|
1168
|
+
$lte: any;
|
1169
|
+
}, "strip", z.ZodTypeAny, {
|
1170
|
+
$eq?: any;
|
1171
|
+
$ne?: any;
|
1172
|
+
$in?: any;
|
1173
|
+
$nin?: any;
|
1174
|
+
$like?: any;
|
1175
|
+
$ilike?: any;
|
1176
|
+
$re?: any;
|
1177
|
+
$contains?: any;
|
1178
|
+
$gt?: any;
|
1179
|
+
$gte?: any;
|
1180
|
+
$lt?: any;
|
1181
|
+
$lte?: any;
|
1182
|
+
}, {
|
1183
|
+
$eq?: any;
|
1184
|
+
$ne?: any;
|
1185
|
+
$in?: any;
|
1186
|
+
$nin?: any;
|
1187
|
+
$like?: any;
|
1188
|
+
$ilike?: any;
|
1189
|
+
$re?: any;
|
1190
|
+
$contains?: any;
|
1191
|
+
$gt?: any;
|
1192
|
+
$gte?: any;
|
1193
|
+
$lt?: any;
|
1194
|
+
$lte?: any;
|
1195
|
+
}>]>>;
|
1196
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1197
|
+
$eq: any;
|
1198
|
+
$ne: any;
|
1199
|
+
$in: any;
|
1200
|
+
$nin: any;
|
1201
|
+
$like: any;
|
1202
|
+
$ilike: any;
|
1203
|
+
$re: any;
|
1204
|
+
$contains: any;
|
1205
|
+
$gt: any;
|
1206
|
+
$gte: any;
|
1207
|
+
$lt: any;
|
1208
|
+
$lte: any;
|
1209
|
+
}, "strip", z.ZodTypeAny, {
|
1210
|
+
$eq?: any;
|
1211
|
+
$ne?: any;
|
1212
|
+
$in?: any;
|
1213
|
+
$nin?: any;
|
1214
|
+
$like?: any;
|
1215
|
+
$ilike?: any;
|
1216
|
+
$re?: any;
|
1217
|
+
$contains?: any;
|
1218
|
+
$gt?: any;
|
1219
|
+
$gte?: any;
|
1220
|
+
$lt?: any;
|
1221
|
+
$lte?: any;
|
1222
|
+
}, {
|
1223
|
+
$eq?: any;
|
1224
|
+
$ne?: any;
|
1225
|
+
$in?: any;
|
1226
|
+
$nin?: any;
|
1227
|
+
$like?: any;
|
1228
|
+
$ilike?: any;
|
1229
|
+
$re?: any;
|
1230
|
+
$contains?: any;
|
1231
|
+
$gt?: any;
|
1232
|
+
$gte?: any;
|
1233
|
+
$lt?: any;
|
1234
|
+
$lte?: any;
|
1235
|
+
}>]>>;
|
1236
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1237
|
+
$eq: any;
|
1238
|
+
$ne: any;
|
1239
|
+
$in: any;
|
1240
|
+
$nin: any;
|
1241
|
+
$like: any;
|
1242
|
+
$ilike: any;
|
1243
|
+
$re: any;
|
1244
|
+
$contains: any;
|
1245
|
+
$gt: any;
|
1246
|
+
$gte: any;
|
1247
|
+
$lt: any;
|
1248
|
+
$lte: any;
|
1249
|
+
}, "strip", z.ZodTypeAny, {
|
1250
|
+
$eq?: any;
|
1251
|
+
$ne?: any;
|
1252
|
+
$in?: any;
|
1253
|
+
$nin?: any;
|
1254
|
+
$like?: any;
|
1255
|
+
$ilike?: any;
|
1256
|
+
$re?: any;
|
1257
|
+
$contains?: any;
|
1258
|
+
$gt?: any;
|
1259
|
+
$gte?: any;
|
1260
|
+
$lt?: any;
|
1261
|
+
$lte?: any;
|
1262
|
+
}, {
|
1263
|
+
$eq?: any;
|
1264
|
+
$ne?: any;
|
1265
|
+
$in?: any;
|
1266
|
+
$nin?: any;
|
1267
|
+
$like?: any;
|
1268
|
+
$ilike?: any;
|
1269
|
+
$re?: any;
|
1270
|
+
$contains?: any;
|
1271
|
+
$gt?: any;
|
1272
|
+
$gte?: any;
|
1273
|
+
$lt?: any;
|
1274
|
+
$lte?: any;
|
1275
|
+
}>]>>;
|
1276
|
+
}, "q">, "strip", z.ZodTypeAny, {
|
1277
|
+
id?: string | string[] | undefined;
|
1278
|
+
created_at?: any;
|
1279
|
+
updated_at?: any;
|
1280
|
+
deleted_at?: any;
|
1281
|
+
barcode?: string | string[] | undefined;
|
1282
|
+
allow_backorder?: boolean | undefined;
|
1283
|
+
ean?: string | string[] | undefined;
|
1284
|
+
upc?: string | string[] | undefined;
|
1285
|
+
manage_inventory?: boolean | undefined;
|
1286
|
+
}, {
|
1287
|
+
id?: string | string[] | undefined;
|
1288
|
+
created_at?: any;
|
1289
|
+
updated_at?: any;
|
1290
|
+
deleted_at?: any;
|
1291
|
+
barcode?: string | string[] | undefined;
|
1292
|
+
allow_backorder?: string | boolean | undefined;
|
1293
|
+
ean?: string | string[] | undefined;
|
1294
|
+
upc?: string | string[] | undefined;
|
1295
|
+
manage_inventory?: string | boolean | undefined;
|
1296
|
+
}>, "many">>>;
|
1297
|
+
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
|
1298
|
+
q: z.ZodOptional<z.ZodString>;
|
1299
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
1300
|
+
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1301
|
+
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1302
|
+
ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
1303
|
+
upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
1304
|
+
barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
1305
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1306
|
+
$eq: any;
|
1307
|
+
$ne: any;
|
1308
|
+
$in: any;
|
1309
|
+
$nin: any;
|
1310
|
+
$like: any;
|
1311
|
+
$ilike: any;
|
1312
|
+
$re: any;
|
1313
|
+
$contains: any;
|
1314
|
+
$gt: any;
|
1315
|
+
$gte: any;
|
1316
|
+
$lt: any;
|
1317
|
+
$lte: any;
|
1318
|
+
}, "strip", z.ZodTypeAny, {
|
1319
|
+
$eq?: any;
|
1320
|
+
$ne?: any;
|
1321
|
+
$in?: any;
|
1322
|
+
$nin?: any;
|
1323
|
+
$like?: any;
|
1324
|
+
$ilike?: any;
|
1325
|
+
$re?: any;
|
1326
|
+
$contains?: any;
|
1327
|
+
$gt?: any;
|
1328
|
+
$gte?: any;
|
1329
|
+
$lt?: any;
|
1330
|
+
$lte?: any;
|
1331
|
+
}, {
|
1332
|
+
$eq?: any;
|
1333
|
+
$ne?: any;
|
1334
|
+
$in?: any;
|
1335
|
+
$nin?: any;
|
1336
|
+
$like?: any;
|
1337
|
+
$ilike?: any;
|
1338
|
+
$re?: any;
|
1339
|
+
$contains?: any;
|
1340
|
+
$gt?: any;
|
1341
|
+
$gte?: any;
|
1342
|
+
$lt?: any;
|
1343
|
+
$lte?: any;
|
1344
|
+
}>]>>;
|
1345
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1346
|
+
$eq: any;
|
1347
|
+
$ne: any;
|
1348
|
+
$in: any;
|
1349
|
+
$nin: any;
|
1350
|
+
$like: any;
|
1351
|
+
$ilike: any;
|
1352
|
+
$re: any;
|
1353
|
+
$contains: any;
|
1354
|
+
$gt: any;
|
1355
|
+
$gte: any;
|
1356
|
+
$lt: any;
|
1357
|
+
$lte: any;
|
1358
|
+
}, "strip", z.ZodTypeAny, {
|
1359
|
+
$eq?: any;
|
1360
|
+
$ne?: any;
|
1361
|
+
$in?: any;
|
1362
|
+
$nin?: any;
|
1363
|
+
$like?: any;
|
1364
|
+
$ilike?: any;
|
1365
|
+
$re?: any;
|
1366
|
+
$contains?: any;
|
1367
|
+
$gt?: any;
|
1368
|
+
$gte?: any;
|
1369
|
+
$lt?: any;
|
1370
|
+
$lte?: any;
|
1371
|
+
}, {
|
1372
|
+
$eq?: any;
|
1373
|
+
$ne?: any;
|
1374
|
+
$in?: any;
|
1375
|
+
$nin?: any;
|
1376
|
+
$like?: any;
|
1377
|
+
$ilike?: any;
|
1378
|
+
$re?: any;
|
1379
|
+
$contains?: any;
|
1380
|
+
$gt?: any;
|
1381
|
+
$gte?: any;
|
1382
|
+
$lt?: any;
|
1383
|
+
$lte?: any;
|
1384
|
+
}>]>>;
|
1385
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1386
|
+
$eq: any;
|
1387
|
+
$ne: any;
|
1388
|
+
$in: any;
|
1389
|
+
$nin: any;
|
1390
|
+
$like: any;
|
1391
|
+
$ilike: any;
|
1392
|
+
$re: any;
|
1393
|
+
$contains: any;
|
1394
|
+
$gt: any;
|
1395
|
+
$gte: any;
|
1396
|
+
$lt: any;
|
1397
|
+
$lte: any;
|
1398
|
+
}, "strip", z.ZodTypeAny, {
|
1399
|
+
$eq?: any;
|
1400
|
+
$ne?: any;
|
1401
|
+
$in?: any;
|
1402
|
+
$nin?: any;
|
1403
|
+
$like?: any;
|
1404
|
+
$ilike?: any;
|
1405
|
+
$re?: any;
|
1406
|
+
$contains?: any;
|
1407
|
+
$gt?: any;
|
1408
|
+
$gte?: any;
|
1409
|
+
$lt?: any;
|
1410
|
+
$lte?: any;
|
1411
|
+
}, {
|
1412
|
+
$eq?: any;
|
1413
|
+
$ne?: any;
|
1414
|
+
$in?: any;
|
1415
|
+
$nin?: any;
|
1416
|
+
$like?: any;
|
1417
|
+
$ilike?: any;
|
1418
|
+
$re?: any;
|
1419
|
+
$contains?: any;
|
1420
|
+
$gt?: any;
|
1421
|
+
$gte?: any;
|
1422
|
+
$lt?: any;
|
1423
|
+
$lte?: any;
|
1424
|
+
}>]>>;
|
1425
|
+
}, "q">, "strip", z.ZodTypeAny, {
|
1426
|
+
id?: string | string[] | undefined;
|
1427
|
+
created_at?: any;
|
1428
|
+
updated_at?: any;
|
1429
|
+
deleted_at?: any;
|
1430
|
+
barcode?: string | string[] | undefined;
|
1431
|
+
allow_backorder?: boolean | undefined;
|
1432
|
+
ean?: string | string[] | undefined;
|
1433
|
+
upc?: string | string[] | undefined;
|
1434
|
+
manage_inventory?: boolean | undefined;
|
1435
|
+
}, {
|
1436
|
+
id?: string | string[] | undefined;
|
1437
|
+
created_at?: any;
|
1438
|
+
updated_at?: any;
|
1439
|
+
deleted_at?: any;
|
1440
|
+
barcode?: string | string[] | undefined;
|
1441
|
+
allow_backorder?: string | boolean | undefined;
|
1442
|
+
ean?: string | string[] | undefined;
|
1443
|
+
upc?: string | string[] | undefined;
|
1444
|
+
manage_inventory?: string | boolean | undefined;
|
1445
|
+
}>, "many">>>;
|
1446
|
+
}, "strip", z.ZodTypeAny, {
|
1447
|
+
[x: string]: any;
|
1448
|
+
$and?: unknown;
|
1449
|
+
$or?: unknown;
|
1450
|
+
}, {
|
1451
|
+
[x: string]: any;
|
1452
|
+
$and?: unknown;
|
1453
|
+
$or?: unknown;
|
1454
|
+
}>>;
|
1455
|
+
status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ProductStatus>, "many">>;
|
1456
|
+
}, "strip", z.ZodTypeAny, {
|
1457
|
+
variants?: {
|
1458
|
+
[x: string]: any;
|
1459
|
+
$and?: unknown;
|
1460
|
+
$or?: unknown;
|
1461
|
+
} | undefined;
|
1462
|
+
status?: ProductStatus[] | undefined;
|
1463
|
+
}, {
|
1464
|
+
variants?: {
|
1465
|
+
[x: string]: any;
|
1466
|
+
$and?: unknown;
|
1467
|
+
$or?: unknown;
|
1468
|
+
} | undefined;
|
1469
|
+
status?: ProductStatus[] | undefined;
|
1470
|
+
}>, "many">>>;
|
281
1471
|
sales_channel_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
282
1472
|
q: z.ZodOptional<z.ZodString>;
|
283
1473
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
@@ -411,58 +1601,58 @@ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{
|
|
411
1601
|
}>]>>;
|
412
1602
|
}, "strip", z.ZodTypeAny, {
|
413
1603
|
[x: string]: any;
|
414
|
-
|
415
|
-
|
416
|
-
sales_channel_id?:
|
417
|
-
q?:
|
418
|
-
id?:
|
419
|
-
title?:
|
420
|
-
handle?:
|
421
|
-
is_giftcard?:
|
422
|
-
category_id?:
|
423
|
-
external_id?:
|
424
|
-
collection_id?:
|
425
|
-
tag_id?:
|
426
|
-
type_id?:
|
427
|
-
created_at?:
|
428
|
-
updated_at?:
|
429
|
-
deleted_at?:
|
1604
|
+
$and?: unknown;
|
1605
|
+
$or?: unknown;
|
1606
|
+
sales_channel_id?: unknown;
|
1607
|
+
q?: unknown;
|
1608
|
+
id?: unknown;
|
1609
|
+
title?: unknown;
|
1610
|
+
handle?: unknown;
|
1611
|
+
is_giftcard?: unknown;
|
1612
|
+
category_id?: unknown;
|
1613
|
+
external_id?: unknown;
|
1614
|
+
collection_id?: unknown;
|
1615
|
+
tag_id?: unknown;
|
1616
|
+
type_id?: unknown;
|
1617
|
+
created_at?: unknown;
|
1618
|
+
updated_at?: unknown;
|
1619
|
+
deleted_at?: unknown;
|
430
1620
|
}, {
|
431
1621
|
[x: string]: any;
|
432
|
-
|
433
|
-
|
434
|
-
sales_channel_id?:
|
435
|
-
q?:
|
436
|
-
id?:
|
437
|
-
title?:
|
438
|
-
handle?:
|
439
|
-
is_giftcard?:
|
440
|
-
category_id?:
|
441
|
-
external_id?:
|
442
|
-
collection_id?:
|
443
|
-
tag_id?:
|
444
|
-
type_id?:
|
445
|
-
created_at?:
|
446
|
-
updated_at?:
|
447
|
-
deleted_at?:
|
448
|
-
}>,
|
1622
|
+
$and?: unknown;
|
1623
|
+
$or?: unknown;
|
1624
|
+
sales_channel_id?: unknown;
|
1625
|
+
q?: unknown;
|
1626
|
+
id?: unknown;
|
1627
|
+
title?: unknown;
|
1628
|
+
handle?: unknown;
|
1629
|
+
is_giftcard?: unknown;
|
1630
|
+
category_id?: unknown;
|
1631
|
+
external_id?: unknown;
|
1632
|
+
collection_id?: unknown;
|
1633
|
+
tag_id?: unknown;
|
1634
|
+
type_id?: unknown;
|
1635
|
+
created_at?: unknown;
|
1636
|
+
updated_at?: unknown;
|
1637
|
+
deleted_at?: unknown;
|
1638
|
+
}>, unknown, {
|
449
1639
|
[x: string]: any;
|
450
|
-
|
451
|
-
|
452
|
-
sales_channel_id?:
|
453
|
-
q?:
|
454
|
-
id?:
|
455
|
-
title?:
|
456
|
-
handle?:
|
457
|
-
is_giftcard?:
|
458
|
-
category_id?:
|
459
|
-
external_id?:
|
460
|
-
collection_id?:
|
461
|
-
tag_id?:
|
462
|
-
type_id?:
|
463
|
-
created_at?:
|
464
|
-
updated_at?:
|
465
|
-
deleted_at?:
|
1640
|
+
$and?: unknown;
|
1641
|
+
$or?: unknown;
|
1642
|
+
sales_channel_id?: unknown;
|
1643
|
+
q?: unknown;
|
1644
|
+
id?: unknown;
|
1645
|
+
title?: unknown;
|
1646
|
+
handle?: unknown;
|
1647
|
+
is_giftcard?: unknown;
|
1648
|
+
category_id?: unknown;
|
1649
|
+
external_id?: unknown;
|
1650
|
+
collection_id?: unknown;
|
1651
|
+
tag_id?: unknown;
|
1652
|
+
type_id?: unknown;
|
1653
|
+
created_at?: unknown;
|
1654
|
+
updated_at?: unknown;
|
1655
|
+
deleted_at?: unknown;
|
466
1656
|
}>;
|
467
1657
|
export declare const AdminGetProductOptionsParamsFields: z.ZodObject<{
|
468
1658
|
q: z.ZodOptional<z.ZodString>;
|
@@ -589,55 +1779,309 @@ export declare const AdminGetProductOptionsParamsFields: z.ZodObject<{
|
|
589
1779
|
$lte?: any;
|
590
1780
|
}>]>>;
|
591
1781
|
}, "strip", z.ZodTypeAny, {
|
592
|
-
q?: string | undefined;
|
593
1782
|
id?: string | string[] | undefined;
|
594
|
-
title?: string | undefined;
|
595
1783
|
created_at?: any;
|
596
1784
|
updated_at?: any;
|
597
1785
|
deleted_at?: any;
|
598
|
-
|
1786
|
+
title?: string | undefined;
|
599
1787
|
q?: string | undefined;
|
1788
|
+
}, {
|
600
1789
|
id?: string | string[] | undefined;
|
601
|
-
title?: string | undefined;
|
602
1790
|
created_at?: any;
|
603
1791
|
updated_at?: any;
|
604
1792
|
deleted_at?: any;
|
1793
|
+
title?: string | undefined;
|
1794
|
+
q?: string | undefined;
|
605
1795
|
}>;
|
606
1796
|
export type AdminGetProductOptionsParamsType = z.infer<typeof AdminGetProductOptionsParams>;
|
607
|
-
export declare const AdminGetProductOptionsParams: z.ZodObject<{
|
1797
|
+
export declare const AdminGetProductOptionsParams: z.ZodObject<{} & {
|
608
1798
|
[x: string]: any;
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
1799
|
+
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
|
1800
|
+
q: z.ZodOptional<z.ZodString>;
|
1801
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
1802
|
+
title: z.ZodOptional<z.ZodString>;
|
1803
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1804
|
+
$eq: any;
|
1805
|
+
$ne: any;
|
1806
|
+
$in: any;
|
1807
|
+
$nin: any;
|
1808
|
+
$like: any;
|
1809
|
+
$ilike: any;
|
1810
|
+
$re: any;
|
1811
|
+
$contains: any;
|
1812
|
+
$gt: any;
|
1813
|
+
$gte: any;
|
1814
|
+
$lt: any;
|
1815
|
+
$lte: any;
|
1816
|
+
}, "strip", z.ZodTypeAny, {
|
1817
|
+
$eq?: any;
|
1818
|
+
$ne?: any;
|
1819
|
+
$in?: any;
|
1820
|
+
$nin?: any;
|
1821
|
+
$like?: any;
|
1822
|
+
$ilike?: any;
|
1823
|
+
$re?: any;
|
1824
|
+
$contains?: any;
|
1825
|
+
$gt?: any;
|
1826
|
+
$gte?: any;
|
1827
|
+
$lt?: any;
|
1828
|
+
$lte?: any;
|
1829
|
+
}, {
|
1830
|
+
$eq?: any;
|
1831
|
+
$ne?: any;
|
1832
|
+
$in?: any;
|
1833
|
+
$nin?: any;
|
1834
|
+
$like?: any;
|
1835
|
+
$ilike?: any;
|
1836
|
+
$re?: any;
|
1837
|
+
$contains?: any;
|
1838
|
+
$gt?: any;
|
1839
|
+
$gte?: any;
|
1840
|
+
$lt?: any;
|
1841
|
+
$lte?: any;
|
1842
|
+
}>]>>;
|
1843
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1844
|
+
$eq: any;
|
1845
|
+
$ne: any;
|
1846
|
+
$in: any;
|
1847
|
+
$nin: any;
|
1848
|
+
$like: any;
|
1849
|
+
$ilike: any;
|
1850
|
+
$re: any;
|
1851
|
+
$contains: any;
|
1852
|
+
$gt: any;
|
1853
|
+
$gte: any;
|
1854
|
+
$lt: any;
|
1855
|
+
$lte: any;
|
1856
|
+
}, "strip", z.ZodTypeAny, {
|
1857
|
+
$eq?: any;
|
1858
|
+
$ne?: any;
|
1859
|
+
$in?: any;
|
1860
|
+
$nin?: any;
|
1861
|
+
$like?: any;
|
1862
|
+
$ilike?: any;
|
1863
|
+
$re?: any;
|
1864
|
+
$contains?: any;
|
1865
|
+
$gt?: any;
|
1866
|
+
$gte?: any;
|
1867
|
+
$lt?: any;
|
1868
|
+
$lte?: any;
|
1869
|
+
}, {
|
1870
|
+
$eq?: any;
|
1871
|
+
$ne?: any;
|
1872
|
+
$in?: any;
|
1873
|
+
$nin?: any;
|
1874
|
+
$like?: any;
|
1875
|
+
$ilike?: any;
|
1876
|
+
$re?: any;
|
1877
|
+
$contains?: any;
|
1878
|
+
$gt?: any;
|
1879
|
+
$gte?: any;
|
1880
|
+
$lt?: any;
|
1881
|
+
$lte?: any;
|
1882
|
+
}>]>>;
|
1883
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1884
|
+
$eq: any;
|
1885
|
+
$ne: any;
|
1886
|
+
$in: any;
|
1887
|
+
$nin: any;
|
1888
|
+
$like: any;
|
1889
|
+
$ilike: any;
|
1890
|
+
$re: any;
|
1891
|
+
$contains: any;
|
1892
|
+
$gt: any;
|
1893
|
+
$gte: any;
|
1894
|
+
$lt: any;
|
1895
|
+
$lte: any;
|
1896
|
+
}, "strip", z.ZodTypeAny, {
|
1897
|
+
$eq?: any;
|
1898
|
+
$ne?: any;
|
1899
|
+
$in?: any;
|
1900
|
+
$nin?: any;
|
1901
|
+
$like?: any;
|
1902
|
+
$ilike?: any;
|
1903
|
+
$re?: any;
|
1904
|
+
$contains?: any;
|
1905
|
+
$gt?: any;
|
1906
|
+
$gte?: any;
|
1907
|
+
$lt?: any;
|
1908
|
+
$lte?: any;
|
1909
|
+
}, {
|
1910
|
+
$eq?: any;
|
1911
|
+
$ne?: any;
|
1912
|
+
$in?: any;
|
1913
|
+
$nin?: any;
|
1914
|
+
$like?: any;
|
1915
|
+
$ilike?: any;
|
1916
|
+
$re?: any;
|
1917
|
+
$contains?: any;
|
1918
|
+
$gt?: any;
|
1919
|
+
$gte?: any;
|
1920
|
+
$lt?: any;
|
1921
|
+
$lte?: any;
|
1922
|
+
}>]>>;
|
1923
|
+
}, "strip", z.ZodTypeAny, {
|
1924
|
+
id?: string | string[] | undefined;
|
1925
|
+
created_at?: any;
|
1926
|
+
updated_at?: any;
|
1927
|
+
deleted_at?: any;
|
1928
|
+
title?: string | undefined;
|
1929
|
+
q?: string | undefined;
|
613
1930
|
}, {
|
614
|
-
|
1931
|
+
id?: string | string[] | undefined;
|
1932
|
+
created_at?: any;
|
1933
|
+
updated_at?: any;
|
1934
|
+
deleted_at?: any;
|
1935
|
+
title?: string | undefined;
|
1936
|
+
q?: string | undefined;
|
615
1937
|
}>, "many">>>;
|
616
|
-
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<
|
617
|
-
|
1938
|
+
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
|
1939
|
+
q: z.ZodOptional<z.ZodString>;
|
1940
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
1941
|
+
title: z.ZodOptional<z.ZodString>;
|
1942
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1943
|
+
$eq: any;
|
1944
|
+
$ne: any;
|
1945
|
+
$in: any;
|
1946
|
+
$nin: any;
|
1947
|
+
$like: any;
|
1948
|
+
$ilike: any;
|
1949
|
+
$re: any;
|
1950
|
+
$contains: any;
|
1951
|
+
$gt: any;
|
1952
|
+
$gte: any;
|
1953
|
+
$lt: any;
|
1954
|
+
$lte: any;
|
1955
|
+
}, "strip", z.ZodTypeAny, {
|
1956
|
+
$eq?: any;
|
1957
|
+
$ne?: any;
|
1958
|
+
$in?: any;
|
1959
|
+
$nin?: any;
|
1960
|
+
$like?: any;
|
1961
|
+
$ilike?: any;
|
1962
|
+
$re?: any;
|
1963
|
+
$contains?: any;
|
1964
|
+
$gt?: any;
|
1965
|
+
$gte?: any;
|
1966
|
+
$lt?: any;
|
1967
|
+
$lte?: any;
|
1968
|
+
}, {
|
1969
|
+
$eq?: any;
|
1970
|
+
$ne?: any;
|
1971
|
+
$in?: any;
|
1972
|
+
$nin?: any;
|
1973
|
+
$like?: any;
|
1974
|
+
$ilike?: any;
|
1975
|
+
$re?: any;
|
1976
|
+
$contains?: any;
|
1977
|
+
$gt?: any;
|
1978
|
+
$gte?: any;
|
1979
|
+
$lt?: any;
|
1980
|
+
$lte?: any;
|
1981
|
+
}>]>>;
|
1982
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
1983
|
+
$eq: any;
|
1984
|
+
$ne: any;
|
1985
|
+
$in: any;
|
1986
|
+
$nin: any;
|
1987
|
+
$like: any;
|
1988
|
+
$ilike: any;
|
1989
|
+
$re: any;
|
1990
|
+
$contains: any;
|
1991
|
+
$gt: any;
|
1992
|
+
$gte: any;
|
1993
|
+
$lt: any;
|
1994
|
+
$lte: any;
|
1995
|
+
}, "strip", z.ZodTypeAny, {
|
1996
|
+
$eq?: any;
|
1997
|
+
$ne?: any;
|
1998
|
+
$in?: any;
|
1999
|
+
$nin?: any;
|
2000
|
+
$like?: any;
|
2001
|
+
$ilike?: any;
|
2002
|
+
$re?: any;
|
2003
|
+
$contains?: any;
|
2004
|
+
$gt?: any;
|
2005
|
+
$gte?: any;
|
2006
|
+
$lt?: any;
|
2007
|
+
$lte?: any;
|
2008
|
+
}, {
|
2009
|
+
$eq?: any;
|
2010
|
+
$ne?: any;
|
2011
|
+
$in?: any;
|
2012
|
+
$nin?: any;
|
2013
|
+
$like?: any;
|
2014
|
+
$ilike?: any;
|
2015
|
+
$re?: any;
|
2016
|
+
$contains?: any;
|
2017
|
+
$gt?: any;
|
2018
|
+
$gte?: any;
|
2019
|
+
$lt?: any;
|
2020
|
+
$lte?: any;
|
2021
|
+
}>]>>;
|
2022
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
2023
|
+
$eq: any;
|
2024
|
+
$ne: any;
|
2025
|
+
$in: any;
|
2026
|
+
$nin: any;
|
2027
|
+
$like: any;
|
2028
|
+
$ilike: any;
|
2029
|
+
$re: any;
|
2030
|
+
$contains: any;
|
2031
|
+
$gt: any;
|
2032
|
+
$gte: any;
|
2033
|
+
$lt: any;
|
2034
|
+
$lte: any;
|
2035
|
+
}, "strip", z.ZodTypeAny, {
|
2036
|
+
$eq?: any;
|
2037
|
+
$ne?: any;
|
2038
|
+
$in?: any;
|
2039
|
+
$nin?: any;
|
2040
|
+
$like?: any;
|
2041
|
+
$ilike?: any;
|
2042
|
+
$re?: any;
|
2043
|
+
$contains?: any;
|
2044
|
+
$gt?: any;
|
2045
|
+
$gte?: any;
|
2046
|
+
$lt?: any;
|
2047
|
+
$lte?: any;
|
2048
|
+
}, {
|
2049
|
+
$eq?: any;
|
2050
|
+
$ne?: any;
|
2051
|
+
$in?: any;
|
2052
|
+
$nin?: any;
|
2053
|
+
$like?: any;
|
2054
|
+
$ilike?: any;
|
2055
|
+
$re?: any;
|
2056
|
+
$contains?: any;
|
2057
|
+
$gt?: any;
|
2058
|
+
$gte?: any;
|
2059
|
+
$lt?: any;
|
2060
|
+
$lte?: any;
|
2061
|
+
}>]>>;
|
2062
|
+
}, "strip", z.ZodTypeAny, {
|
2063
|
+
id?: string | string[] | undefined;
|
2064
|
+
created_at?: any;
|
2065
|
+
updated_at?: any;
|
2066
|
+
deleted_at?: any;
|
2067
|
+
title?: string | undefined;
|
2068
|
+
q?: string | undefined;
|
618
2069
|
}, {
|
619
|
-
|
2070
|
+
id?: string | string[] | undefined;
|
2071
|
+
created_at?: any;
|
2072
|
+
updated_at?: any;
|
2073
|
+
deleted_at?: any;
|
2074
|
+
title?: string | undefined;
|
2075
|
+
q?: string | undefined;
|
620
2076
|
}>, "many">>>;
|
621
2077
|
}, "strip", z.ZodTypeAny, {
|
622
2078
|
[x: string]: any;
|
623
|
-
|
624
|
-
|
625
|
-
$and?: {
|
626
|
-
[x: string]: any;
|
627
|
-
}[] | undefined;
|
628
|
-
$or?: {
|
629
|
-
[x: string]: any;
|
630
|
-
}[] | undefined;
|
2079
|
+
$and?: unknown;
|
2080
|
+
$or?: unknown;
|
631
2081
|
}, {
|
632
2082
|
[x: string]: any;
|
633
|
-
|
634
|
-
|
635
|
-
$and?: {
|
636
|
-
[x: string]: any;
|
637
|
-
}[] | undefined;
|
638
|
-
$or?: {
|
639
|
-
[x: string]: any;
|
640
|
-
}[] | undefined;
|
2083
|
+
$and?: unknown;
|
2084
|
+
$or?: unknown;
|
641
2085
|
}>;
|
642
2086
|
export type AdminCreateProductTagType = z.infer<typeof AdminCreateProductTag>;
|
643
2087
|
export declare const AdminCreateProductTag: z.ZodObject<{
|
@@ -680,13 +2124,13 @@ export declare const UpdateProductOption: z.ZodObject<{
|
|
680
2124
|
title: z.ZodOptional<z.ZodString>;
|
681
2125
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
682
2126
|
}, "strip", z.ZodTypeAny, {
|
2127
|
+
values?: string[] | undefined;
|
683
2128
|
id?: string | undefined;
|
684
2129
|
title?: string | undefined;
|
685
|
-
values?: string[] | undefined;
|
686
2130
|
}, {
|
2131
|
+
values?: string[] | undefined;
|
687
2132
|
id?: string | undefined;
|
688
2133
|
title?: string | undefined;
|
689
|
-
values?: string[] | undefined;
|
690
2134
|
}>;
|
691
2135
|
export declare const AdminUpdateProductOption: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
692
2136
|
[x: string]: any;
|
@@ -703,15 +2147,15 @@ export declare const AdminCreateVariantPrice: z.ZodObject<{
|
|
703
2147
|
}, "strip", z.ZodTypeAny, {
|
704
2148
|
amount: number;
|
705
2149
|
currency_code: string;
|
2150
|
+
rules?: Record<string, string> | undefined;
|
706
2151
|
min_quantity?: number | null | undefined;
|
707
2152
|
max_quantity?: number | null | undefined;
|
708
|
-
rules?: Record<string, string> | undefined;
|
709
2153
|
}, {
|
710
2154
|
amount: number;
|
711
2155
|
currency_code: string;
|
2156
|
+
rules?: Record<string, string> | undefined;
|
712
2157
|
min_quantity?: number | null | undefined;
|
713
2158
|
max_quantity?: number | null | undefined;
|
714
|
-
rules?: Record<string, string> | undefined;
|
715
2159
|
}>;
|
716
2160
|
export type AdminUpdateVariantPriceType = z.infer<typeof AdminUpdateVariantPrice>;
|
717
2161
|
export declare const AdminUpdateVariantPrice: z.ZodObject<{
|
@@ -723,18 +2167,18 @@ export declare const AdminUpdateVariantPrice: z.ZodObject<{
|
|
723
2167
|
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
724
2168
|
}, "strip", z.ZodTypeAny, {
|
725
2169
|
id?: string | undefined;
|
726
|
-
|
2170
|
+
rules?: Record<string, string> | undefined;
|
727
2171
|
amount?: number | undefined;
|
2172
|
+
currency_code?: string | undefined;
|
728
2173
|
min_quantity?: number | null | undefined;
|
729
2174
|
max_quantity?: number | null | undefined;
|
730
|
-
rules?: Record<string, string> | undefined;
|
731
2175
|
}, {
|
732
2176
|
id?: string | undefined;
|
733
|
-
|
2177
|
+
rules?: Record<string, string> | undefined;
|
734
2178
|
amount?: number | undefined;
|
2179
|
+
currency_code?: string | undefined;
|
735
2180
|
min_quantity?: number | null | undefined;
|
736
2181
|
max_quantity?: number | null | undefined;
|
737
|
-
rules?: Record<string, string> | undefined;
|
738
2182
|
}>;
|
739
2183
|
export type AdminCreateProductTypeType = z.infer<typeof AdminCreateProductType>;
|
740
2184
|
export declare const AdminCreateProductType: z.ZodObject<{
|
@@ -772,15 +2216,15 @@ export declare const CreateProductVariant: z.ZodObject<{
|
|
772
2216
|
}, "strip", z.ZodTypeAny, {
|
773
2217
|
amount: number;
|
774
2218
|
currency_code: string;
|
2219
|
+
rules?: Record<string, string> | undefined;
|
775
2220
|
min_quantity?: number | null | undefined;
|
776
2221
|
max_quantity?: number | null | undefined;
|
777
|
-
rules?: Record<string, string> | undefined;
|
778
2222
|
}, {
|
779
2223
|
amount: number;
|
780
2224
|
currency_code: string;
|
2225
|
+
rules?: Record<string, string> | undefined;
|
781
2226
|
min_quantity?: number | null | undefined;
|
782
2227
|
max_quantity?: number | null | undefined;
|
783
|
-
rules?: Record<string, string> | undefined;
|
784
2228
|
}>, "many">;
|
785
2229
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
786
2230
|
inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
@@ -797,62 +2241,62 @@ export declare const CreateProductVariant: z.ZodObject<{
|
|
797
2241
|
prices: {
|
798
2242
|
amount: number;
|
799
2243
|
currency_code: string;
|
2244
|
+
rules?: Record<string, string> | undefined;
|
800
2245
|
min_quantity?: number | null | undefined;
|
801
2246
|
max_quantity?: number | null | undefined;
|
802
|
-
rules?: Record<string, string> | undefined;
|
803
2247
|
}[];
|
804
2248
|
title: string;
|
805
2249
|
allow_backorder: boolean;
|
806
2250
|
manage_inventory: boolean;
|
2251
|
+
length?: number | null | undefined;
|
2252
|
+
options?: Record<string, string> | undefined;
|
2253
|
+
metadata?: Record<string, unknown> | null | undefined;
|
2254
|
+
inventory_items?: {
|
2255
|
+
inventory_item_id: string;
|
2256
|
+
required_quantity: number;
|
2257
|
+
}[] | undefined;
|
807
2258
|
sku?: string | null | undefined;
|
808
|
-
ean?: string | null | undefined;
|
809
|
-
upc?: string | null | undefined;
|
810
2259
|
barcode?: string | null | undefined;
|
2260
|
+
origin_country?: string | null | undefined;
|
811
2261
|
hs_code?: string | null | undefined;
|
812
2262
|
mid_code?: string | null | undefined;
|
813
|
-
|
2263
|
+
material?: string | null | undefined;
|
814
2264
|
weight?: number | null | undefined;
|
815
|
-
length?: number | null | undefined;
|
816
2265
|
height?: number | null | undefined;
|
817
2266
|
width?: number | null | undefined;
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
options?: Record<string, string> | undefined;
|
822
|
-
inventory_items?: {
|
823
|
-
inventory_item_id: string;
|
824
|
-
required_quantity: number;
|
825
|
-
}[] | undefined;
|
2267
|
+
ean?: string | null | undefined;
|
2268
|
+
upc?: string | null | undefined;
|
2269
|
+
variant_rank?: number | undefined;
|
826
2270
|
}, {
|
827
2271
|
prices: {
|
828
2272
|
amount: number;
|
829
2273
|
currency_code: string;
|
2274
|
+
rules?: Record<string, string> | undefined;
|
830
2275
|
min_quantity?: number | null | undefined;
|
831
2276
|
max_quantity?: number | null | undefined;
|
832
|
-
rules?: Record<string, string> | undefined;
|
833
2277
|
}[];
|
834
2278
|
title: string;
|
2279
|
+
length?: number | null | undefined;
|
2280
|
+
options?: Record<string, string> | undefined;
|
2281
|
+
metadata?: Record<string, unknown> | null | undefined;
|
2282
|
+
inventory_items?: {
|
2283
|
+
inventory_item_id: string;
|
2284
|
+
required_quantity: number;
|
2285
|
+
}[] | undefined;
|
835
2286
|
sku?: string | null | undefined;
|
836
|
-
ean?: string | null | undefined;
|
837
|
-
upc?: string | null | undefined;
|
838
2287
|
barcode?: string | null | undefined;
|
2288
|
+
allow_backorder?: string | boolean | undefined;
|
2289
|
+
origin_country?: string | null | undefined;
|
839
2290
|
hs_code?: string | null | undefined;
|
840
2291
|
mid_code?: string | null | undefined;
|
841
|
-
|
842
|
-
manage_inventory?: string | boolean | undefined;
|
843
|
-
variant_rank?: number | undefined;
|
2292
|
+
material?: string | null | undefined;
|
844
2293
|
weight?: number | null | undefined;
|
845
|
-
length?: number | null | undefined;
|
846
2294
|
height?: number | null | undefined;
|
847
2295
|
width?: number | null | undefined;
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
inventory_items?: {
|
853
|
-
inventory_item_id: string;
|
854
|
-
required_quantity: number;
|
855
|
-
}[] | undefined;
|
2296
|
+
ean?: string | null | undefined;
|
2297
|
+
upc?: string | null | undefined;
|
2298
|
+
manage_inventory?: string | boolean | undefined;
|
2299
|
+
variant_rank?: number | undefined;
|
856
2300
|
}>;
|
857
2301
|
export declare const AdminCreateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
858
2302
|
[x: string]: any;
|
@@ -872,18 +2316,18 @@ export declare const UpdateProductVariant: z.ZodObject<{
|
|
872
2316
|
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
873
2317
|
}, "strip", z.ZodTypeAny, {
|
874
2318
|
id?: string | undefined;
|
875
|
-
|
2319
|
+
rules?: Record<string, string> | undefined;
|
876
2320
|
amount?: number | undefined;
|
2321
|
+
currency_code?: string | undefined;
|
877
2322
|
min_quantity?: number | null | undefined;
|
878
2323
|
max_quantity?: number | null | undefined;
|
879
|
-
rules?: Record<string, string> | undefined;
|
880
2324
|
}, {
|
881
2325
|
id?: string | undefined;
|
882
|
-
|
2326
|
+
rules?: Record<string, string> | undefined;
|
883
2327
|
amount?: number | undefined;
|
2328
|
+
currency_code?: string | undefined;
|
884
2329
|
min_quantity?: number | null | undefined;
|
885
2330
|
max_quantity?: number | null | undefined;
|
886
|
-
rules?: Record<string, string> | undefined;
|
887
2331
|
}>, "many">>;
|
888
2332
|
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
889
2333
|
ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -903,61 +2347,61 @@ export declare const UpdateProductVariant: z.ZodObject<{
|
|
903
2347
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
904
2348
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
905
2349
|
}, "strict", z.ZodTypeAny, {
|
2350
|
+
length?: number | null | undefined;
|
2351
|
+
options?: Record<string, string> | undefined;
|
906
2352
|
id?: string | undefined;
|
907
|
-
|
2353
|
+
metadata?: Record<string, unknown> | null | undefined;
|
908
2354
|
prices?: {
|
909
2355
|
id?: string | undefined;
|
910
|
-
|
2356
|
+
rules?: Record<string, string> | undefined;
|
911
2357
|
amount?: number | undefined;
|
2358
|
+
currency_code?: string | undefined;
|
912
2359
|
min_quantity?: number | null | undefined;
|
913
2360
|
max_quantity?: number | null | undefined;
|
914
|
-
rules?: Record<string, string> | undefined;
|
915
2361
|
}[] | undefined;
|
2362
|
+
title?: string | undefined;
|
916
2363
|
sku?: string | null | undefined;
|
917
|
-
ean?: string | null | undefined;
|
918
|
-
upc?: string | null | undefined;
|
919
2364
|
barcode?: string | null | undefined;
|
2365
|
+
allow_backorder?: boolean | undefined;
|
2366
|
+
origin_country?: string | null | undefined;
|
920
2367
|
hs_code?: string | null | undefined;
|
921
2368
|
mid_code?: string | null | undefined;
|
922
|
-
|
923
|
-
manage_inventory?: boolean | undefined;
|
924
|
-
variant_rank?: number | undefined;
|
2369
|
+
material?: string | null | undefined;
|
925
2370
|
weight?: number | null | undefined;
|
926
|
-
length?: number | null | undefined;
|
927
2371
|
height?: number | null | undefined;
|
928
2372
|
width?: number | null | undefined;
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
2373
|
+
ean?: string | null | undefined;
|
2374
|
+
upc?: string | null | undefined;
|
2375
|
+
manage_inventory?: boolean | undefined;
|
2376
|
+
variant_rank?: number | undefined;
|
933
2377
|
}, {
|
2378
|
+
length?: number | null | undefined;
|
2379
|
+
options?: Record<string, string> | undefined;
|
934
2380
|
id?: string | undefined;
|
935
|
-
|
2381
|
+
metadata?: Record<string, unknown> | null | undefined;
|
936
2382
|
prices?: {
|
937
2383
|
id?: string | undefined;
|
938
|
-
|
2384
|
+
rules?: Record<string, string> | undefined;
|
939
2385
|
amount?: number | undefined;
|
2386
|
+
currency_code?: string | undefined;
|
940
2387
|
min_quantity?: number | null | undefined;
|
941
2388
|
max_quantity?: number | null | undefined;
|
942
|
-
rules?: Record<string, string> | undefined;
|
943
2389
|
}[] | undefined;
|
2390
|
+
title?: string | undefined;
|
944
2391
|
sku?: string | null | undefined;
|
945
|
-
ean?: string | null | undefined;
|
946
|
-
upc?: string | null | undefined;
|
947
2392
|
barcode?: string | null | undefined;
|
2393
|
+
allow_backorder?: string | boolean | undefined;
|
2394
|
+
origin_country?: string | null | undefined;
|
948
2395
|
hs_code?: string | null | undefined;
|
949
2396
|
mid_code?: string | null | undefined;
|
950
|
-
|
951
|
-
manage_inventory?: string | boolean | undefined;
|
952
|
-
variant_rank?: number | undefined;
|
2397
|
+
material?: string | null | undefined;
|
953
2398
|
weight?: number | null | undefined;
|
954
|
-
length?: number | null | undefined;
|
955
2399
|
height?: number | null | undefined;
|
956
2400
|
width?: number | null | undefined;
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
2401
|
+
ean?: string | null | undefined;
|
2402
|
+
upc?: string | null | undefined;
|
2403
|
+
manage_inventory?: string | boolean | undefined;
|
2404
|
+
variant_rank?: number | undefined;
|
961
2405
|
}>;
|
962
2406
|
export declare const AdminUpdateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
963
2407
|
[x: string]: any;
|
@@ -966,9 +2410,7 @@ export declare const AdminUpdateProductVariant: (additionalDataValidator?: z.Zod
|
|
966
2410
|
}> | z.ZodEffects<any, any, any>;
|
967
2411
|
export type AdminBatchUpdateProductVariantType = z.infer<typeof AdminBatchUpdateProductVariant>;
|
968
2412
|
export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
969
|
-
|
970
|
-
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
971
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
2413
|
+
title: z.ZodOptional<z.ZodString>;
|
972
2414
|
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
973
2415
|
id: z.ZodOptional<z.ZodString>;
|
974
2416
|
currency_code: z.ZodOptional<z.ZodString>;
|
@@ -978,34 +2420,37 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
978
2420
|
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
979
2421
|
}, "strip", z.ZodTypeAny, {
|
980
2422
|
id?: string | undefined;
|
981
|
-
|
2423
|
+
rules?: Record<string, string> | undefined;
|
982
2424
|
amount?: number | undefined;
|
2425
|
+
currency_code?: string | undefined;
|
983
2426
|
min_quantity?: number | null | undefined;
|
984
2427
|
max_quantity?: number | null | undefined;
|
985
|
-
rules?: Record<string, string> | undefined;
|
986
2428
|
}, {
|
987
2429
|
id?: string | undefined;
|
988
|
-
|
2430
|
+
rules?: Record<string, string> | undefined;
|
989
2431
|
amount?: number | undefined;
|
2432
|
+
currency_code?: string | undefined;
|
990
2433
|
min_quantity?: number | null | undefined;
|
991
2434
|
max_quantity?: number | null | undefined;
|
992
|
-
rules?: Record<string, string> | undefined;
|
993
2435
|
}>, "many">>;
|
994
|
-
title: z.ZodOptional<z.ZodString>;
|
995
2436
|
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2437
|
+
ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2438
|
+
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
996
2439
|
barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
997
|
-
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
998
|
-
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
999
2440
|
hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1000
2441
|
mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1001
|
-
|
2442
|
+
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
2443
|
+
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
2444
|
+
variant_rank: z.ZodOptional<z.ZodNumber>;
|
1002
2445
|
weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
2446
|
+
length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1003
2447
|
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1004
2448
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
2449
|
+
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2450
|
+
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2451
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
2452
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
2453
|
+
} & {
|
1009
2454
|
id: z.ZodString;
|
1010
2455
|
}, "strict", z.ZodTypeAny, {
|
1011
2456
|
id: string;
|
@@ -1014,11 +2459,11 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
1014
2459
|
metadata?: Record<string, unknown> | null | undefined;
|
1015
2460
|
prices?: {
|
1016
2461
|
id?: string | undefined;
|
1017
|
-
|
2462
|
+
rules?: Record<string, string> | undefined;
|
1018
2463
|
amount?: number | undefined;
|
2464
|
+
currency_code?: string | undefined;
|
1019
2465
|
min_quantity?: number | null | undefined;
|
1020
2466
|
max_quantity?: number | null | undefined;
|
1021
|
-
rules?: Record<string, string> | undefined;
|
1022
2467
|
}[] | undefined;
|
1023
2468
|
title?: string | undefined;
|
1024
2469
|
sku?: string | null | undefined;
|
@@ -1042,11 +2487,11 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
1042
2487
|
metadata?: Record<string, unknown> | null | undefined;
|
1043
2488
|
prices?: {
|
1044
2489
|
id?: string | undefined;
|
1045
|
-
|
2490
|
+
rules?: Record<string, string> | undefined;
|
1046
2491
|
amount?: number | undefined;
|
2492
|
+
currency_code?: string | undefined;
|
1047
2493
|
min_quantity?: number | null | undefined;
|
1048
2494
|
max_quantity?: number | null | undefined;
|
1049
|
-
rules?: Record<string, string> | undefined;
|
1050
2495
|
}[] | undefined;
|
1051
2496
|
title?: string | undefined;
|
1052
2497
|
sku?: string | null | undefined;
|
@@ -1142,15 +2587,15 @@ export declare const CreateProduct: z.ZodObject<{
|
|
1142
2587
|
}, "strip", z.ZodTypeAny, {
|
1143
2588
|
amount: number;
|
1144
2589
|
currency_code: string;
|
2590
|
+
rules?: Record<string, string> | undefined;
|
1145
2591
|
min_quantity?: number | null | undefined;
|
1146
2592
|
max_quantity?: number | null | undefined;
|
1147
|
-
rules?: Record<string, string> | undefined;
|
1148
2593
|
}, {
|
1149
2594
|
amount: number;
|
1150
2595
|
currency_code: string;
|
2596
|
+
rules?: Record<string, string> | undefined;
|
1151
2597
|
min_quantity?: number | null | undefined;
|
1152
2598
|
max_quantity?: number | null | undefined;
|
1153
|
-
rules?: Record<string, string> | undefined;
|
1154
2599
|
}>, "many">;
|
1155
2600
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1156
2601
|
inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
@@ -1167,62 +2612,62 @@ export declare const CreateProduct: z.ZodObject<{
|
|
1167
2612
|
prices: {
|
1168
2613
|
amount: number;
|
1169
2614
|
currency_code: string;
|
2615
|
+
rules?: Record<string, string> | undefined;
|
1170
2616
|
min_quantity?: number | null | undefined;
|
1171
2617
|
max_quantity?: number | null | undefined;
|
1172
|
-
rules?: Record<string, string> | undefined;
|
1173
2618
|
}[];
|
1174
2619
|
title: string;
|
1175
2620
|
allow_backorder: boolean;
|
1176
2621
|
manage_inventory: boolean;
|
2622
|
+
length?: number | null | undefined;
|
2623
|
+
options?: Record<string, string> | undefined;
|
2624
|
+
metadata?: Record<string, unknown> | null | undefined;
|
2625
|
+
inventory_items?: {
|
2626
|
+
inventory_item_id: string;
|
2627
|
+
required_quantity: number;
|
2628
|
+
}[] | undefined;
|
1177
2629
|
sku?: string | null | undefined;
|
1178
|
-
ean?: string | null | undefined;
|
1179
|
-
upc?: string | null | undefined;
|
1180
2630
|
barcode?: string | null | undefined;
|
2631
|
+
origin_country?: string | null | undefined;
|
1181
2632
|
hs_code?: string | null | undefined;
|
1182
2633
|
mid_code?: string | null | undefined;
|
1183
|
-
|
2634
|
+
material?: string | null | undefined;
|
1184
2635
|
weight?: number | null | undefined;
|
1185
|
-
length?: number | null | undefined;
|
1186
2636
|
height?: number | null | undefined;
|
1187
2637
|
width?: number | null | undefined;
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
options?: Record<string, string> | undefined;
|
1192
|
-
inventory_items?: {
|
1193
|
-
inventory_item_id: string;
|
1194
|
-
required_quantity: number;
|
1195
|
-
}[] | undefined;
|
2638
|
+
ean?: string | null | undefined;
|
2639
|
+
upc?: string | null | undefined;
|
2640
|
+
variant_rank?: number | undefined;
|
1196
2641
|
}, {
|
1197
2642
|
prices: {
|
1198
2643
|
amount: number;
|
1199
2644
|
currency_code: string;
|
2645
|
+
rules?: Record<string, string> | undefined;
|
1200
2646
|
min_quantity?: number | null | undefined;
|
1201
2647
|
max_quantity?: number | null | undefined;
|
1202
|
-
rules?: Record<string, string> | undefined;
|
1203
2648
|
}[];
|
1204
2649
|
title: string;
|
2650
|
+
length?: number | null | undefined;
|
2651
|
+
options?: Record<string, string> | undefined;
|
2652
|
+
metadata?: Record<string, unknown> | null | undefined;
|
2653
|
+
inventory_items?: {
|
2654
|
+
inventory_item_id: string;
|
2655
|
+
required_quantity: number;
|
2656
|
+
}[] | undefined;
|
1205
2657
|
sku?: string | null | undefined;
|
1206
|
-
ean?: string | null | undefined;
|
1207
|
-
upc?: string | null | undefined;
|
1208
2658
|
barcode?: string | null | undefined;
|
2659
|
+
allow_backorder?: string | boolean | undefined;
|
2660
|
+
origin_country?: string | null | undefined;
|
1209
2661
|
hs_code?: string | null | undefined;
|
1210
2662
|
mid_code?: string | null | undefined;
|
1211
|
-
|
1212
|
-
manage_inventory?: string | boolean | undefined;
|
1213
|
-
variant_rank?: number | undefined;
|
2663
|
+
material?: string | null | undefined;
|
1214
2664
|
weight?: number | null | undefined;
|
1215
|
-
length?: number | null | undefined;
|
1216
2665
|
height?: number | null | undefined;
|
1217
2666
|
width?: number | null | undefined;
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
inventory_items?: {
|
1223
|
-
inventory_item_id: string;
|
1224
|
-
required_quantity: number;
|
1225
|
-
}[] | undefined;
|
2667
|
+
ean?: string | null | undefined;
|
2668
|
+
upc?: string | null | undefined;
|
2669
|
+
manage_inventory?: string | boolean | undefined;
|
2670
|
+
variant_rank?: number | undefined;
|
1226
2671
|
}>, "many">>;
|
1227
2672
|
sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1228
2673
|
id: z.ZodString;
|
@@ -1242,26 +2687,11 @@ export declare const CreateProduct: z.ZodObject<{
|
|
1242
2687
|
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1243
2688
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1244
2689
|
}, "strict", z.ZodTypeAny, {
|
1245
|
-
title: string;
|
1246
2690
|
status: ProductStatus | null;
|
2691
|
+
title: string;
|
1247
2692
|
is_giftcard: boolean;
|
1248
2693
|
discountable: boolean;
|
1249
|
-
|
1250
|
-
description?: string | null | undefined;
|
1251
|
-
images?: {
|
1252
|
-
url: string;
|
1253
|
-
}[] | undefined;
|
1254
|
-
thumbnail?: string | null | undefined;
|
1255
|
-
handle?: string | undefined;
|
1256
|
-
external_id?: string | null | undefined;
|
1257
|
-
type_id?: string | null | undefined;
|
1258
|
-
collection_id?: string | null | undefined;
|
1259
|
-
categories?: {
|
1260
|
-
id: string;
|
1261
|
-
}[] | undefined;
|
1262
|
-
tags?: {
|
1263
|
-
id: string;
|
1264
|
-
}[] | undefined;
|
2694
|
+
length?: number | null | undefined;
|
1265
2695
|
options?: {
|
1266
2696
|
values: string[];
|
1267
2697
|
title: string;
|
@@ -1270,67 +2700,64 @@ export declare const CreateProduct: z.ZodObject<{
|
|
1270
2700
|
prices: {
|
1271
2701
|
amount: number;
|
1272
2702
|
currency_code: string;
|
2703
|
+
rules?: Record<string, string> | undefined;
|
1273
2704
|
min_quantity?: number | null | undefined;
|
1274
2705
|
max_quantity?: number | null | undefined;
|
1275
|
-
rules?: Record<string, string> | undefined;
|
1276
2706
|
}[];
|
1277
2707
|
title: string;
|
1278
2708
|
allow_backorder: boolean;
|
1279
2709
|
manage_inventory: boolean;
|
2710
|
+
length?: number | null | undefined;
|
2711
|
+
options?: Record<string, string> | undefined;
|
2712
|
+
metadata?: Record<string, unknown> | null | undefined;
|
2713
|
+
inventory_items?: {
|
2714
|
+
inventory_item_id: string;
|
2715
|
+
required_quantity: number;
|
2716
|
+
}[] | undefined;
|
1280
2717
|
sku?: string | null | undefined;
|
1281
|
-
ean?: string | null | undefined;
|
1282
|
-
upc?: string | null | undefined;
|
1283
2718
|
barcode?: string | null | undefined;
|
2719
|
+
origin_country?: string | null | undefined;
|
1284
2720
|
hs_code?: string | null | undefined;
|
1285
2721
|
mid_code?: string | null | undefined;
|
1286
|
-
|
2722
|
+
material?: string | null | undefined;
|
1287
2723
|
weight?: number | null | undefined;
|
1288
|
-
length?: number | null | undefined;
|
1289
2724
|
height?: number | null | undefined;
|
1290
2725
|
width?: number | null | undefined;
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
options?: Record<string, string> | undefined;
|
1295
|
-
inventory_items?: {
|
1296
|
-
inventory_item_id: string;
|
1297
|
-
required_quantity: number;
|
1298
|
-
}[] | undefined;
|
1299
|
-
}[] | undefined;
|
1300
|
-
sales_channels?: {
|
1301
|
-
id: string;
|
2726
|
+
ean?: string | null | undefined;
|
2727
|
+
upc?: string | null | undefined;
|
2728
|
+
variant_rank?: number | undefined;
|
1302
2729
|
}[] | undefined;
|
1303
|
-
shipping_profile_id?: string | undefined;
|
1304
|
-
weight?: number | null | undefined;
|
1305
|
-
length?: number | null | undefined;
|
1306
|
-
height?: number | null | undefined;
|
1307
|
-
width?: number | null | undefined;
|
1308
|
-
hs_code?: string | null | undefined;
|
1309
|
-
mid_code?: string | null | undefined;
|
1310
|
-
origin_country?: string | null | undefined;
|
1311
|
-
material?: string | null | undefined;
|
1312
2730
|
metadata?: Record<string, unknown> | null | undefined;
|
1313
|
-
|
1314
|
-
title: string;
|
1315
|
-
subtitle?: string | null | undefined;
|
2731
|
+
shipping_profile_id?: string | undefined;
|
1316
2732
|
description?: string | null | undefined;
|
1317
|
-
is_giftcard?: string | boolean | undefined;
|
1318
|
-
discountable?: string | boolean | undefined;
|
1319
|
-
images?: {
|
1320
|
-
url: string;
|
1321
|
-
}[] | undefined;
|
1322
|
-
thumbnail?: string | null | undefined;
|
1323
2733
|
handle?: string | undefined;
|
1324
|
-
status?: ProductStatus | null | undefined;
|
1325
2734
|
external_id?: string | null | undefined;
|
1326
|
-
type_id?: string | null | undefined;
|
1327
2735
|
collection_id?: string | null | undefined;
|
2736
|
+
type_id?: string | null | undefined;
|
2737
|
+
thumbnail?: string | null | undefined;
|
2738
|
+
origin_country?: string | null | undefined;
|
2739
|
+
hs_code?: string | null | undefined;
|
2740
|
+
mid_code?: string | null | undefined;
|
2741
|
+
material?: string | null | undefined;
|
2742
|
+
weight?: number | null | undefined;
|
2743
|
+
height?: number | null | undefined;
|
2744
|
+
width?: number | null | undefined;
|
2745
|
+
subtitle?: string | null | undefined;
|
1328
2746
|
categories?: {
|
1329
2747
|
id: string;
|
1330
2748
|
}[] | undefined;
|
1331
2749
|
tags?: {
|
1332
2750
|
id: string;
|
1333
2751
|
}[] | undefined;
|
2752
|
+
images?: {
|
2753
|
+
url: string;
|
2754
|
+
}[] | undefined;
|
2755
|
+
sales_channels?: {
|
2756
|
+
id: string;
|
2757
|
+
}[] | undefined;
|
2758
|
+
}, {
|
2759
|
+
title: string;
|
2760
|
+
length?: number | null | undefined;
|
1334
2761
|
options?: {
|
1335
2762
|
values: string[];
|
1336
2763
|
title: string;
|
@@ -1339,46 +2766,64 @@ export declare const CreateProduct: z.ZodObject<{
|
|
1339
2766
|
prices: {
|
1340
2767
|
amount: number;
|
1341
2768
|
currency_code: string;
|
2769
|
+
rules?: Record<string, string> | undefined;
|
1342
2770
|
min_quantity?: number | null | undefined;
|
1343
2771
|
max_quantity?: number | null | undefined;
|
1344
|
-
rules?: Record<string, string> | undefined;
|
1345
2772
|
}[];
|
1346
2773
|
title: string;
|
2774
|
+
length?: number | null | undefined;
|
2775
|
+
options?: Record<string, string> | undefined;
|
2776
|
+
metadata?: Record<string, unknown> | null | undefined;
|
2777
|
+
inventory_items?: {
|
2778
|
+
inventory_item_id: string;
|
2779
|
+
required_quantity: number;
|
2780
|
+
}[] | undefined;
|
1347
2781
|
sku?: string | null | undefined;
|
1348
|
-
ean?: string | null | undefined;
|
1349
|
-
upc?: string | null | undefined;
|
1350
2782
|
barcode?: string | null | undefined;
|
2783
|
+
allow_backorder?: string | boolean | undefined;
|
2784
|
+
origin_country?: string | null | undefined;
|
1351
2785
|
hs_code?: string | null | undefined;
|
1352
2786
|
mid_code?: string | null | undefined;
|
1353
|
-
|
1354
|
-
manage_inventory?: string | boolean | undefined;
|
1355
|
-
variant_rank?: number | undefined;
|
2787
|
+
material?: string | null | undefined;
|
1356
2788
|
weight?: number | null | undefined;
|
1357
|
-
length?: number | null | undefined;
|
1358
2789
|
height?: number | null | undefined;
|
1359
2790
|
width?: number | null | undefined;
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
inventory_items?: {
|
1365
|
-
inventory_item_id: string;
|
1366
|
-
required_quantity: number;
|
1367
|
-
}[] | undefined;
|
1368
|
-
}[] | undefined;
|
1369
|
-
sales_channels?: {
|
1370
|
-
id: string;
|
2791
|
+
ean?: string | null | undefined;
|
2792
|
+
upc?: string | null | undefined;
|
2793
|
+
manage_inventory?: string | boolean | undefined;
|
2794
|
+
variant_rank?: number | undefined;
|
1371
2795
|
}[] | undefined;
|
2796
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1372
2797
|
shipping_profile_id?: string | undefined;
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
2798
|
+
description?: string | null | undefined;
|
2799
|
+
status?: ProductStatus | null | undefined;
|
2800
|
+
handle?: string | undefined;
|
2801
|
+
is_giftcard?: string | boolean | undefined;
|
2802
|
+
external_id?: string | null | undefined;
|
2803
|
+
collection_id?: string | null | undefined;
|
2804
|
+
type_id?: string | null | undefined;
|
2805
|
+
thumbnail?: string | null | undefined;
|
2806
|
+
origin_country?: string | null | undefined;
|
1377
2807
|
hs_code?: string | null | undefined;
|
1378
2808
|
mid_code?: string | null | undefined;
|
1379
|
-
origin_country?: string | null | undefined;
|
1380
2809
|
material?: string | null | undefined;
|
1381
|
-
|
2810
|
+
weight?: number | null | undefined;
|
2811
|
+
height?: number | null | undefined;
|
2812
|
+
width?: number | null | undefined;
|
2813
|
+
subtitle?: string | null | undefined;
|
2814
|
+
discountable?: string | boolean | undefined;
|
2815
|
+
categories?: {
|
2816
|
+
id: string;
|
2817
|
+
}[] | undefined;
|
2818
|
+
tags?: {
|
2819
|
+
id: string;
|
2820
|
+
}[] | undefined;
|
2821
|
+
images?: {
|
2822
|
+
url: string;
|
2823
|
+
}[] | undefined;
|
2824
|
+
sales_channels?: {
|
2825
|
+
id: string;
|
2826
|
+
}[] | undefined;
|
1382
2827
|
}>;
|
1383
2828
|
export declare const AdminCreateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
1384
2829
|
[x: string]: any;
|
@@ -1395,13 +2840,13 @@ export declare const UpdateProduct: z.ZodObject<{
|
|
1395
2840
|
title: z.ZodOptional<z.ZodString>;
|
1396
2841
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1397
2842
|
}, "strip", z.ZodTypeAny, {
|
2843
|
+
values?: string[] | undefined;
|
1398
2844
|
id?: string | undefined;
|
1399
2845
|
title?: string | undefined;
|
1400
|
-
values?: string[] | undefined;
|
1401
2846
|
}, {
|
2847
|
+
values?: string[] | undefined;
|
1402
2848
|
id?: string | undefined;
|
1403
2849
|
title?: string | undefined;
|
1404
|
-
values?: string[] | undefined;
|
1405
2850
|
}>, "many">>;
|
1406
2851
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1407
2852
|
id: z.ZodOptional<z.ZodString>;
|
@@ -1415,18 +2860,18 @@ export declare const UpdateProduct: z.ZodObject<{
|
|
1415
2860
|
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1416
2861
|
}, "strip", z.ZodTypeAny, {
|
1417
2862
|
id?: string | undefined;
|
1418
|
-
|
2863
|
+
rules?: Record<string, string> | undefined;
|
1419
2864
|
amount?: number | undefined;
|
2865
|
+
currency_code?: string | undefined;
|
1420
2866
|
min_quantity?: number | null | undefined;
|
1421
2867
|
max_quantity?: number | null | undefined;
|
1422
|
-
rules?: Record<string, string> | undefined;
|
1423
2868
|
}, {
|
1424
2869
|
id?: string | undefined;
|
1425
|
-
|
2870
|
+
rules?: Record<string, string> | undefined;
|
1426
2871
|
amount?: number | undefined;
|
2872
|
+
currency_code?: string | undefined;
|
1427
2873
|
min_quantity?: number | null | undefined;
|
1428
2874
|
max_quantity?: number | null | undefined;
|
1429
|
-
rules?: Record<string, string> | undefined;
|
1430
2875
|
}>, "many">>;
|
1431
2876
|
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1432
2877
|
ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1446,61 +2891,61 @@ export declare const UpdateProduct: z.ZodObject<{
|
|
1446
2891
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1447
2892
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1448
2893
|
}, "strict", z.ZodTypeAny, {
|
2894
|
+
length?: number | null | undefined;
|
2895
|
+
options?: Record<string, string> | undefined;
|
1449
2896
|
id?: string | undefined;
|
1450
|
-
|
2897
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1451
2898
|
prices?: {
|
1452
2899
|
id?: string | undefined;
|
1453
|
-
|
2900
|
+
rules?: Record<string, string> | undefined;
|
1454
2901
|
amount?: number | undefined;
|
2902
|
+
currency_code?: string | undefined;
|
1455
2903
|
min_quantity?: number | null | undefined;
|
1456
2904
|
max_quantity?: number | null | undefined;
|
1457
|
-
rules?: Record<string, string> | undefined;
|
1458
2905
|
}[] | undefined;
|
2906
|
+
title?: string | undefined;
|
1459
2907
|
sku?: string | null | undefined;
|
1460
|
-
ean?: string | null | undefined;
|
1461
|
-
upc?: string | null | undefined;
|
1462
2908
|
barcode?: string | null | undefined;
|
2909
|
+
allow_backorder?: boolean | undefined;
|
2910
|
+
origin_country?: string | null | undefined;
|
1463
2911
|
hs_code?: string | null | undefined;
|
1464
2912
|
mid_code?: string | null | undefined;
|
1465
|
-
|
1466
|
-
manage_inventory?: boolean | undefined;
|
1467
|
-
variant_rank?: number | undefined;
|
2913
|
+
material?: string | null | undefined;
|
1468
2914
|
weight?: number | null | undefined;
|
1469
|
-
length?: number | null | undefined;
|
1470
2915
|
height?: number | null | undefined;
|
1471
2916
|
width?: number | null | undefined;
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
2917
|
+
ean?: string | null | undefined;
|
2918
|
+
upc?: string | null | undefined;
|
2919
|
+
manage_inventory?: boolean | undefined;
|
2920
|
+
variant_rank?: number | undefined;
|
1476
2921
|
}, {
|
2922
|
+
length?: number | null | undefined;
|
2923
|
+
options?: Record<string, string> | undefined;
|
1477
2924
|
id?: string | undefined;
|
1478
|
-
|
2925
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1479
2926
|
prices?: {
|
1480
2927
|
id?: string | undefined;
|
1481
|
-
|
2928
|
+
rules?: Record<string, string> | undefined;
|
1482
2929
|
amount?: number | undefined;
|
2930
|
+
currency_code?: string | undefined;
|
1483
2931
|
min_quantity?: number | null | undefined;
|
1484
2932
|
max_quantity?: number | null | undefined;
|
1485
|
-
rules?: Record<string, string> | undefined;
|
1486
2933
|
}[] | undefined;
|
2934
|
+
title?: string | undefined;
|
1487
2935
|
sku?: string | null | undefined;
|
1488
|
-
ean?: string | null | undefined;
|
1489
|
-
upc?: string | null | undefined;
|
1490
2936
|
barcode?: string | null | undefined;
|
2937
|
+
allow_backorder?: string | boolean | undefined;
|
2938
|
+
origin_country?: string | null | undefined;
|
1491
2939
|
hs_code?: string | null | undefined;
|
1492
2940
|
mid_code?: string | null | undefined;
|
1493
|
-
|
1494
|
-
manage_inventory?: string | boolean | undefined;
|
1495
|
-
variant_rank?: number | undefined;
|
2941
|
+
material?: string | null | undefined;
|
1496
2942
|
weight?: number | null | undefined;
|
1497
|
-
length?: number | null | undefined;
|
1498
2943
|
height?: number | null | undefined;
|
1499
2944
|
width?: number | null | undefined;
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
2945
|
+
ean?: string | null | undefined;
|
2946
|
+
upc?: string | null | undefined;
|
2947
|
+
manage_inventory?: string | boolean | undefined;
|
2948
|
+
variant_rank?: number | undefined;
|
1504
2949
|
}>, "many">>;
|
1505
2950
|
status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
|
1506
2951
|
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1549,141 +2994,141 @@ export declare const UpdateProduct: z.ZodObject<{
|
|
1549
2994
|
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1550
2995
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1551
2996
|
}, "strict", z.ZodTypeAny, {
|
1552
|
-
|
1553
|
-
discountable?: boolean | undefined;
|
1554
|
-
is_giftcard?: boolean | undefined;
|
2997
|
+
length?: number | null | undefined;
|
1555
2998
|
options?: {
|
2999
|
+
values?: string[] | undefined;
|
1556
3000
|
id?: string | undefined;
|
1557
3001
|
title?: string | undefined;
|
1558
|
-
values?: string[] | undefined;
|
1559
3002
|
}[] | undefined;
|
1560
3003
|
variants?: {
|
3004
|
+
length?: number | null | undefined;
|
3005
|
+
options?: Record<string, string> | undefined;
|
1561
3006
|
id?: string | undefined;
|
1562
|
-
|
3007
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1563
3008
|
prices?: {
|
1564
3009
|
id?: string | undefined;
|
1565
|
-
|
3010
|
+
rules?: Record<string, string> | undefined;
|
1566
3011
|
amount?: number | undefined;
|
3012
|
+
currency_code?: string | undefined;
|
1567
3013
|
min_quantity?: number | null | undefined;
|
1568
3014
|
max_quantity?: number | null | undefined;
|
1569
|
-
rules?: Record<string, string> | undefined;
|
1570
3015
|
}[] | undefined;
|
3016
|
+
title?: string | undefined;
|
1571
3017
|
sku?: string | null | undefined;
|
1572
|
-
ean?: string | null | undefined;
|
1573
|
-
upc?: string | null | undefined;
|
1574
3018
|
barcode?: string | null | undefined;
|
3019
|
+
allow_backorder?: boolean | undefined;
|
3020
|
+
origin_country?: string | null | undefined;
|
1575
3021
|
hs_code?: string | null | undefined;
|
1576
3022
|
mid_code?: string | null | undefined;
|
1577
|
-
|
1578
|
-
manage_inventory?: boolean | undefined;
|
1579
|
-
variant_rank?: number | undefined;
|
3023
|
+
material?: string | null | undefined;
|
1580
3024
|
weight?: number | null | undefined;
|
1581
|
-
length?: number | null | undefined;
|
1582
3025
|
height?: number | null | undefined;
|
1583
3026
|
width?: number | null | undefined;
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
3027
|
+
ean?: string | null | undefined;
|
3028
|
+
upc?: string | null | undefined;
|
3029
|
+
manage_inventory?: boolean | undefined;
|
3030
|
+
variant_rank?: number | undefined;
|
1588
3031
|
}[] | undefined;
|
1589
|
-
|
1590
|
-
|
3032
|
+
metadata?: Record<string, unknown> | null | undefined;
|
3033
|
+
shipping_profile_id?: string | null | undefined;
|
1591
3034
|
description?: string | null | undefined;
|
1592
|
-
|
1593
|
-
|
1594
|
-
}[] | undefined;
|
1595
|
-
thumbnail?: string | null | undefined;
|
3035
|
+
status?: ProductStatus | undefined;
|
3036
|
+
title?: string | undefined;
|
1596
3037
|
handle?: string | null | undefined;
|
1597
|
-
|
3038
|
+
is_giftcard?: boolean | undefined;
|
1598
3039
|
external_id?: string | null | undefined;
|
1599
3040
|
collection_id?: string | null | undefined;
|
3041
|
+
type_id?: string | null | undefined;
|
3042
|
+
thumbnail?: string | null | undefined;
|
3043
|
+
origin_country?: string | null | undefined;
|
3044
|
+
hs_code?: string | null | undefined;
|
3045
|
+
mid_code?: string | null | undefined;
|
3046
|
+
material?: string | null | undefined;
|
3047
|
+
weight?: number | null | undefined;
|
3048
|
+
height?: number | null | undefined;
|
3049
|
+
width?: number | null | undefined;
|
3050
|
+
subtitle?: string | null | undefined;
|
3051
|
+
discountable?: boolean | undefined;
|
1600
3052
|
categories?: {
|
1601
3053
|
id: string;
|
1602
3054
|
}[] | undefined;
|
1603
3055
|
tags?: {
|
1604
3056
|
id: string;
|
1605
3057
|
}[] | undefined;
|
3058
|
+
images?: {
|
3059
|
+
url: string;
|
3060
|
+
}[] | undefined;
|
1606
3061
|
sales_channels?: {
|
1607
3062
|
id: string;
|
1608
3063
|
}[] | undefined;
|
1609
|
-
shipping_profile_id?: string | null | undefined;
|
1610
|
-
weight?: number | null | undefined;
|
1611
|
-
length?: number | null | undefined;
|
1612
|
-
height?: number | null | undefined;
|
1613
|
-
width?: number | null | undefined;
|
1614
|
-
hs_code?: string | null | undefined;
|
1615
|
-
mid_code?: string | null | undefined;
|
1616
|
-
origin_country?: string | null | undefined;
|
1617
|
-
material?: string | null | undefined;
|
1618
|
-
metadata?: Record<string, unknown> | null | undefined;
|
1619
3064
|
}, {
|
1620
|
-
|
1621
|
-
discountable?: string | boolean | undefined;
|
1622
|
-
is_giftcard?: string | boolean | undefined;
|
3065
|
+
length?: number | null | undefined;
|
1623
3066
|
options?: {
|
3067
|
+
values?: string[] | undefined;
|
1624
3068
|
id?: string | undefined;
|
1625
3069
|
title?: string | undefined;
|
1626
|
-
values?: string[] | undefined;
|
1627
3070
|
}[] | undefined;
|
1628
3071
|
variants?: {
|
3072
|
+
length?: number | null | undefined;
|
3073
|
+
options?: Record<string, string> | undefined;
|
1629
3074
|
id?: string | undefined;
|
1630
|
-
|
3075
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1631
3076
|
prices?: {
|
1632
3077
|
id?: string | undefined;
|
1633
|
-
|
3078
|
+
rules?: Record<string, string> | undefined;
|
1634
3079
|
amount?: number | undefined;
|
3080
|
+
currency_code?: string | undefined;
|
1635
3081
|
min_quantity?: number | null | undefined;
|
1636
3082
|
max_quantity?: number | null | undefined;
|
1637
|
-
rules?: Record<string, string> | undefined;
|
1638
3083
|
}[] | undefined;
|
3084
|
+
title?: string | undefined;
|
1639
3085
|
sku?: string | null | undefined;
|
1640
|
-
ean?: string | null | undefined;
|
1641
|
-
upc?: string | null | undefined;
|
1642
3086
|
barcode?: string | null | undefined;
|
3087
|
+
allow_backorder?: string | boolean | undefined;
|
3088
|
+
origin_country?: string | null | undefined;
|
1643
3089
|
hs_code?: string | null | undefined;
|
1644
3090
|
mid_code?: string | null | undefined;
|
1645
|
-
|
1646
|
-
manage_inventory?: string | boolean | undefined;
|
1647
|
-
variant_rank?: number | undefined;
|
3091
|
+
material?: string | null | undefined;
|
1648
3092
|
weight?: number | null | undefined;
|
1649
|
-
length?: number | null | undefined;
|
1650
3093
|
height?: number | null | undefined;
|
1651
3094
|
width?: number | null | undefined;
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
3095
|
+
ean?: string | null | undefined;
|
3096
|
+
upc?: string | null | undefined;
|
3097
|
+
manage_inventory?: string | boolean | undefined;
|
3098
|
+
variant_rank?: number | undefined;
|
1656
3099
|
}[] | undefined;
|
1657
|
-
|
1658
|
-
|
3100
|
+
metadata?: Record<string, unknown> | null | undefined;
|
3101
|
+
shipping_profile_id?: string | null | undefined;
|
1659
3102
|
description?: string | null | undefined;
|
1660
|
-
|
1661
|
-
|
1662
|
-
}[] | undefined;
|
1663
|
-
thumbnail?: string | null | undefined;
|
3103
|
+
status?: ProductStatus | undefined;
|
3104
|
+
title?: string | undefined;
|
1664
3105
|
handle?: string | null | undefined;
|
1665
|
-
|
3106
|
+
is_giftcard?: string | boolean | undefined;
|
1666
3107
|
external_id?: string | null | undefined;
|
1667
3108
|
collection_id?: string | null | undefined;
|
3109
|
+
type_id?: string | null | undefined;
|
3110
|
+
thumbnail?: string | null | undefined;
|
3111
|
+
origin_country?: string | null | undefined;
|
3112
|
+
hs_code?: string | null | undefined;
|
3113
|
+
mid_code?: string | null | undefined;
|
3114
|
+
material?: string | null | undefined;
|
3115
|
+
weight?: number | null | undefined;
|
3116
|
+
height?: number | null | undefined;
|
3117
|
+
width?: number | null | undefined;
|
3118
|
+
subtitle?: string | null | undefined;
|
3119
|
+
discountable?: string | boolean | undefined;
|
1668
3120
|
categories?: {
|
1669
3121
|
id: string;
|
1670
3122
|
}[] | undefined;
|
1671
3123
|
tags?: {
|
1672
3124
|
id: string;
|
1673
3125
|
}[] | undefined;
|
3126
|
+
images?: {
|
3127
|
+
url: string;
|
3128
|
+
}[] | undefined;
|
1674
3129
|
sales_channels?: {
|
1675
3130
|
id: string;
|
1676
3131
|
}[] | undefined;
|
1677
|
-
shipping_profile_id?: string | null | undefined;
|
1678
|
-
weight?: number | null | undefined;
|
1679
|
-
length?: number | null | undefined;
|
1680
|
-
height?: number | null | undefined;
|
1681
|
-
width?: number | null | undefined;
|
1682
|
-
hs_code?: string | null | undefined;
|
1683
|
-
mid_code?: string | null | undefined;
|
1684
|
-
origin_country?: string | null | undefined;
|
1685
|
-
material?: string | null | undefined;
|
1686
|
-
metadata?: Record<string, unknown> | null | undefined;
|
1687
3132
|
}>;
|
1688
3133
|
export declare const AdminUpdateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
1689
3134
|
[x: string]: any;
|
@@ -1692,19 +3137,21 @@ export declare const AdminUpdateProduct: (additionalDataValidator?: z.ZodOptiona
|
|
1692
3137
|
}> | z.ZodEffects<any, any, any>;
|
1693
3138
|
export type AdminBatchUpdateProductType = z.infer<typeof AdminBatchUpdateProduct>;
|
1694
3139
|
export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
1695
|
-
|
3140
|
+
title: z.ZodOptional<z.ZodString>;
|
3141
|
+
discountable: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
3142
|
+
is_giftcard: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1696
3143
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1697
3144
|
id: z.ZodOptional<z.ZodString>;
|
1698
3145
|
title: z.ZodOptional<z.ZodString>;
|
1699
3146
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1700
3147
|
}, "strip", z.ZodTypeAny, {
|
3148
|
+
values?: string[] | undefined;
|
1701
3149
|
id?: string | undefined;
|
1702
3150
|
title?: string | undefined;
|
1703
|
-
values?: string[] | undefined;
|
1704
3151
|
}, {
|
3152
|
+
values?: string[] | undefined;
|
1705
3153
|
id?: string | undefined;
|
1706
3154
|
title?: string | undefined;
|
1707
|
-
values?: string[] | undefined;
|
1708
3155
|
}>, "many">>;
|
1709
3156
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1710
3157
|
id: z.ZodOptional<z.ZodString>;
|
@@ -1718,18 +3165,18 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
1718
3165
|
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1719
3166
|
}, "strip", z.ZodTypeAny, {
|
1720
3167
|
id?: string | undefined;
|
1721
|
-
|
3168
|
+
rules?: Record<string, string> | undefined;
|
1722
3169
|
amount?: number | undefined;
|
3170
|
+
currency_code?: string | undefined;
|
1723
3171
|
min_quantity?: number | null | undefined;
|
1724
3172
|
max_quantity?: number | null | undefined;
|
1725
|
-
rules?: Record<string, string> | undefined;
|
1726
3173
|
}, {
|
1727
3174
|
id?: string | undefined;
|
1728
|
-
|
3175
|
+
rules?: Record<string, string> | undefined;
|
1729
3176
|
amount?: number | undefined;
|
3177
|
+
currency_code?: string | undefined;
|
1730
3178
|
min_quantity?: number | null | undefined;
|
1731
3179
|
max_quantity?: number | null | undefined;
|
1732
|
-
rules?: Record<string, string> | undefined;
|
1733
3180
|
}>, "many">>;
|
1734
3181
|
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1735
3182
|
ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1749,82 +3196,77 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
1749
3196
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1750
3197
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1751
3198
|
}, "strict", z.ZodTypeAny, {
|
3199
|
+
length?: number | null | undefined;
|
3200
|
+
options?: Record<string, string> | undefined;
|
1752
3201
|
id?: string | undefined;
|
1753
|
-
|
3202
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1754
3203
|
prices?: {
|
1755
3204
|
id?: string | undefined;
|
1756
|
-
|
3205
|
+
rules?: Record<string, string> | undefined;
|
1757
3206
|
amount?: number | undefined;
|
3207
|
+
currency_code?: string | undefined;
|
1758
3208
|
min_quantity?: number | null | undefined;
|
1759
3209
|
max_quantity?: number | null | undefined;
|
1760
|
-
rules?: Record<string, string> | undefined;
|
1761
3210
|
}[] | undefined;
|
3211
|
+
title?: string | undefined;
|
1762
3212
|
sku?: string | null | undefined;
|
1763
|
-
ean?: string | null | undefined;
|
1764
|
-
upc?: string | null | undefined;
|
1765
3213
|
barcode?: string | null | undefined;
|
3214
|
+
allow_backorder?: boolean | undefined;
|
3215
|
+
origin_country?: string | null | undefined;
|
1766
3216
|
hs_code?: string | null | undefined;
|
1767
3217
|
mid_code?: string | null | undefined;
|
1768
|
-
|
1769
|
-
manage_inventory?: boolean | undefined;
|
1770
|
-
variant_rank?: number | undefined;
|
3218
|
+
material?: string | null | undefined;
|
1771
3219
|
weight?: number | null | undefined;
|
1772
|
-
length?: number | null | undefined;
|
1773
3220
|
height?: number | null | undefined;
|
1774
3221
|
width?: number | null | undefined;
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
|
3222
|
+
ean?: string | null | undefined;
|
3223
|
+
upc?: string | null | undefined;
|
3224
|
+
manage_inventory?: boolean | undefined;
|
3225
|
+
variant_rank?: number | undefined;
|
1779
3226
|
}, {
|
3227
|
+
length?: number | null | undefined;
|
3228
|
+
options?: Record<string, string> | undefined;
|
1780
3229
|
id?: string | undefined;
|
1781
|
-
|
3230
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1782
3231
|
prices?: {
|
1783
3232
|
id?: string | undefined;
|
1784
|
-
|
3233
|
+
rules?: Record<string, string> | undefined;
|
1785
3234
|
amount?: number | undefined;
|
3235
|
+
currency_code?: string | undefined;
|
1786
3236
|
min_quantity?: number | null | undefined;
|
1787
3237
|
max_quantity?: number | null | undefined;
|
1788
|
-
rules?: Record<string, string> | undefined;
|
1789
3238
|
}[] | undefined;
|
3239
|
+
title?: string | undefined;
|
1790
3240
|
sku?: string | null | undefined;
|
1791
|
-
ean?: string | null | undefined;
|
1792
|
-
upc?: string | null | undefined;
|
1793
3241
|
barcode?: string | null | undefined;
|
3242
|
+
allow_backorder?: string | boolean | undefined;
|
3243
|
+
origin_country?: string | null | undefined;
|
1794
3244
|
hs_code?: string | null | undefined;
|
1795
3245
|
mid_code?: string | null | undefined;
|
1796
|
-
|
1797
|
-
manage_inventory?: string | boolean | undefined;
|
1798
|
-
variant_rank?: number | undefined;
|
3246
|
+
material?: string | null | undefined;
|
1799
3247
|
weight?: number | null | undefined;
|
1800
|
-
length?: number | null | undefined;
|
1801
3248
|
height?: number | null | undefined;
|
1802
3249
|
width?: number | null | undefined;
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
3250
|
+
ean?: string | null | undefined;
|
3251
|
+
upc?: string | null | undefined;
|
3252
|
+
manage_inventory?: string | boolean | undefined;
|
3253
|
+
variant_rank?: number | undefined;
|
1807
3254
|
}>, "many">>;
|
1808
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1809
|
-
shipping_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1810
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1811
|
-
title: z.ZodOptional<z.ZodString>;
|
1812
3255
|
status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
|
3256
|
+
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3257
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3258
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3259
|
+
url: z.ZodString;
|
3260
|
+
}, "strip", z.ZodTypeAny, {
|
3261
|
+
url: string;
|
3262
|
+
}, {
|
3263
|
+
url: string;
|
3264
|
+
}>, "many">>;
|
3265
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1813
3266
|
handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1814
|
-
|
3267
|
+
type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1815
3268
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1816
3269
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1817
|
-
type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1818
|
-
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1819
|
-
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1820
|
-
hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1821
|
-
mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1822
|
-
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1823
|
-
weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1824
|
-
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1825
|
-
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1826
|
-
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1827
|
-
discountable: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1828
3270
|
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1829
3271
|
id: z.ZodString;
|
1830
3272
|
}, "strip", z.ZodTypeAny, {
|
@@ -1839,13 +3281,6 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
1839
3281
|
}, {
|
1840
3282
|
id: string;
|
1841
3283
|
}>, "many">>;
|
1842
|
-
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1843
|
-
url: z.ZodString;
|
1844
|
-
}, "strip", z.ZodTypeAny, {
|
1845
|
-
url: string;
|
1846
|
-
}, {
|
1847
|
-
url: string;
|
1848
|
-
}>, "many">>;
|
1849
3284
|
sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1850
3285
|
id: z.ZodString;
|
1851
3286
|
}, "strip", z.ZodTypeAny, {
|
@@ -1853,49 +3288,60 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
1853
3288
|
}, {
|
1854
3289
|
id: string;
|
1855
3290
|
}>, "many">>;
|
3291
|
+
shipping_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3292
|
+
weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
3293
|
+
length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
3294
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
3295
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
3296
|
+
hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3297
|
+
mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3298
|
+
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3299
|
+
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3300
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
3301
|
+
} & {
|
1856
3302
|
id: z.ZodString;
|
1857
3303
|
}, "strict", z.ZodTypeAny, {
|
1858
3304
|
id: string;
|
1859
3305
|
length?: number | null | undefined;
|
1860
3306
|
options?: {
|
3307
|
+
values?: string[] | undefined;
|
1861
3308
|
id?: string | undefined;
|
1862
3309
|
title?: string | undefined;
|
1863
|
-
values?: string[] | undefined;
|
1864
3310
|
}[] | undefined;
|
1865
3311
|
variants?: {
|
3312
|
+
length?: number | null | undefined;
|
3313
|
+
options?: Record<string, string> | undefined;
|
1866
3314
|
id?: string | undefined;
|
1867
|
-
|
3315
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1868
3316
|
prices?: {
|
1869
3317
|
id?: string | undefined;
|
1870
|
-
|
3318
|
+
rules?: Record<string, string> | undefined;
|
1871
3319
|
amount?: number | undefined;
|
3320
|
+
currency_code?: string | undefined;
|
1872
3321
|
min_quantity?: number | null | undefined;
|
1873
3322
|
max_quantity?: number | null | undefined;
|
1874
|
-
rules?: Record<string, string> | undefined;
|
1875
3323
|
}[] | undefined;
|
3324
|
+
title?: string | undefined;
|
1876
3325
|
sku?: string | null | undefined;
|
1877
|
-
ean?: string | null | undefined;
|
1878
|
-
upc?: string | null | undefined;
|
1879
3326
|
barcode?: string | null | undefined;
|
3327
|
+
allow_backorder?: boolean | undefined;
|
3328
|
+
origin_country?: string | null | undefined;
|
1880
3329
|
hs_code?: string | null | undefined;
|
1881
3330
|
mid_code?: string | null | undefined;
|
1882
|
-
|
1883
|
-
manage_inventory?: boolean | undefined;
|
1884
|
-
variant_rank?: number | undefined;
|
3331
|
+
material?: string | null | undefined;
|
1885
3332
|
weight?: number | null | undefined;
|
1886
|
-
length?: number | null | undefined;
|
1887
3333
|
height?: number | null | undefined;
|
1888
3334
|
width?: number | null | undefined;
|
1889
|
-
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
3335
|
+
ean?: string | null | undefined;
|
3336
|
+
upc?: string | null | undefined;
|
3337
|
+
manage_inventory?: boolean | undefined;
|
3338
|
+
variant_rank?: number | undefined;
|
1893
3339
|
}[] | undefined;
|
1894
3340
|
metadata?: Record<string, unknown> | null | undefined;
|
1895
3341
|
shipping_profile_id?: string | null | undefined;
|
1896
3342
|
description?: string | null | undefined;
|
1897
|
-
title?: string | undefined;
|
1898
3343
|
status?: ProductStatus | undefined;
|
3344
|
+
title?: string | undefined;
|
1899
3345
|
handle?: string | null | undefined;
|
1900
3346
|
is_giftcard?: boolean | undefined;
|
1901
3347
|
external_id?: string | null | undefined;
|
@@ -1927,44 +3373,44 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
1927
3373
|
id: string;
|
1928
3374
|
length?: number | null | undefined;
|
1929
3375
|
options?: {
|
3376
|
+
values?: string[] | undefined;
|
1930
3377
|
id?: string | undefined;
|
1931
3378
|
title?: string | undefined;
|
1932
|
-
values?: string[] | undefined;
|
1933
3379
|
}[] | undefined;
|
1934
3380
|
variants?: {
|
3381
|
+
length?: number | null | undefined;
|
3382
|
+
options?: Record<string, string> | undefined;
|
1935
3383
|
id?: string | undefined;
|
1936
|
-
|
3384
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1937
3385
|
prices?: {
|
1938
3386
|
id?: string | undefined;
|
1939
|
-
|
3387
|
+
rules?: Record<string, string> | undefined;
|
1940
3388
|
amount?: number | undefined;
|
3389
|
+
currency_code?: string | undefined;
|
1941
3390
|
min_quantity?: number | null | undefined;
|
1942
3391
|
max_quantity?: number | null | undefined;
|
1943
|
-
rules?: Record<string, string> | undefined;
|
1944
3392
|
}[] | undefined;
|
3393
|
+
title?: string | undefined;
|
1945
3394
|
sku?: string | null | undefined;
|
1946
|
-
ean?: string | null | undefined;
|
1947
|
-
upc?: string | null | undefined;
|
1948
3395
|
barcode?: string | null | undefined;
|
3396
|
+
allow_backorder?: string | boolean | undefined;
|
3397
|
+
origin_country?: string | null | undefined;
|
1949
3398
|
hs_code?: string | null | undefined;
|
1950
3399
|
mid_code?: string | null | undefined;
|
1951
|
-
|
1952
|
-
manage_inventory?: string | boolean | undefined;
|
1953
|
-
variant_rank?: number | undefined;
|
3400
|
+
material?: string | null | undefined;
|
1954
3401
|
weight?: number | null | undefined;
|
1955
|
-
length?: number | null | undefined;
|
1956
3402
|
height?: number | null | undefined;
|
1957
3403
|
width?: number | null | undefined;
|
1958
|
-
|
1959
|
-
|
1960
|
-
|
1961
|
-
|
3404
|
+
ean?: string | null | undefined;
|
3405
|
+
upc?: string | null | undefined;
|
3406
|
+
manage_inventory?: string | boolean | undefined;
|
3407
|
+
variant_rank?: number | undefined;
|
1962
3408
|
}[] | undefined;
|
1963
3409
|
metadata?: Record<string, unknown> | null | undefined;
|
1964
3410
|
shipping_profile_id?: string | null | undefined;
|
1965
3411
|
description?: string | null | undefined;
|
1966
|
-
title?: string | undefined;
|
1967
3412
|
status?: ProductStatus | undefined;
|
3413
|
+
title?: string | undefined;
|
1968
3414
|
handle?: string | null | undefined;
|
1969
3415
|
is_giftcard?: string | boolean | undefined;
|
1970
3416
|
external_id?: string | null | undefined;
|