@mercurjs/b2c-core 1.4.2 → 1.4.4

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.
Files changed (118) hide show
  1. package/.medusa/server/src/admin/index.js +3 -1
  2. package/.medusa/server/src/admin/index.mjs +3 -1
  3. package/.medusa/server/src/api/admin/attributes/validators.d.ts +355 -59
  4. package/.medusa/server/src/api/admin/configuration/validators.d.ts +3 -2
  5. package/.medusa/server/src/api/admin/notifications/route.js +8 -2
  6. package/.medusa/server/src/api/admin/order-sets/validators.d.ts +5 -3
  7. package/.medusa/server/src/api/admin/products/validators.d.ts +909 -500
  8. package/.medusa/server/src/api/admin/sellers/validators.d.ts +20 -16
  9. package/.medusa/server/src/api/store/carts/[id]/promotions/route.d.ts +3 -0
  10. package/.medusa/server/src/api/store/carts/[id]/promotions/route.js +34 -0
  11. package/.medusa/server/src/api/store/order-set/validators.d.ts +3 -2
  12. package/.medusa/server/src/api/store/returns/validators.d.ts +3 -2
  13. package/.medusa/server/src/api/store/seller/validators.d.ts +3 -2
  14. package/.medusa/server/src/api/store/shipping-options/validators.d.ts +24 -26
  15. package/.medusa/server/src/api/store/wishlist/validators.d.ts +3 -2
  16. package/.medusa/server/src/api/vendor/attributes/validators.d.ts +9 -7
  17. package/.medusa/server/src/api/vendor/campaigns/[id]/promotions/route.d.ts +76 -0
  18. package/.medusa/server/src/api/vendor/campaigns/[id]/promotions/route.js +89 -0
  19. package/.medusa/server/src/api/vendor/campaigns/middlewares.js +11 -2
  20. package/.medusa/server/src/api/vendor/campaigns/route.d.ts +6 -0
  21. package/.medusa/server/src/api/vendor/campaigns/route.js +10 -4
  22. package/.medusa/server/src/api/vendor/campaigns/validators.d.ts +20 -12
  23. package/.medusa/server/src/api/vendor/campaigns/validators.js +10 -4
  24. package/.medusa/server/src/api/vendor/customer-groups/route.d.ts +2 -2
  25. package/.medusa/server/src/api/vendor/customer-groups/route.js +5 -5
  26. package/.medusa/server/src/api/vendor/customer-groups/validators.d.ts +604 -2
  27. package/.medusa/server/src/api/vendor/customer-groups/validators.js +37 -2
  28. package/.medusa/server/src/api/vendor/customers/validators.d.ts +6 -4
  29. package/.medusa/server/src/api/vendor/fulfillment-providers/validators.d.ts +3 -2
  30. package/.medusa/server/src/api/vendor/fulfillment-sets/validators.d.ts +22 -6
  31. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/[location_id]/route.d.ts +30 -0
  32. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/[location_id]/route.js +61 -2
  33. package/.medusa/server/src/api/vendor/inventory-items/[id]/route.d.ts +23 -0
  34. package/.medusa/server/src/api/vendor/inventory-items/[id]/route.js +48 -2
  35. package/.medusa/server/src/api/vendor/inventory-items/middlewares.js +20 -2
  36. package/.medusa/server/src/api/vendor/inventory-items/validators.d.ts +39 -41
  37. package/.medusa/server/src/api/vendor/inventory-items/validators.js +1 -1
  38. package/.medusa/server/src/api/vendor/invites/validators.d.ts +3 -2
  39. package/.medusa/server/src/api/vendor/members/validators.d.ts +7 -6
  40. package/.medusa/server/src/api/vendor/notifications/validators.d.ts +3 -2
  41. package/.medusa/server/src/api/vendor/orders/validators.d.ts +13 -11
  42. package/.medusa/server/src/api/vendor/orders/validators.js +3 -2
  43. package/.medusa/server/src/api/vendor/payouts/validators.d.ts +3 -2
  44. package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +18 -16
  45. package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +37 -29
  46. package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +317 -26
  47. package/.medusa/server/src/api/vendor/product-collections/validators.d.ts +6 -4
  48. package/.medusa/server/src/api/vendor/product-tags/route.js +8 -2
  49. package/.medusa/server/src/api/vendor/product-tags/validators.d.ts +31 -29
  50. package/.medusa/server/src/api/vendor/product-types/validators.d.ts +3 -2
  51. package/.medusa/server/src/api/vendor/products/route.js +7 -3
  52. package/.medusa/server/src/api/vendor/products/utils.d.ts +4 -1
  53. package/.medusa/server/src/api/vendor/products/utils.js +40 -2
  54. package/.medusa/server/src/api/vendor/products/validators.d.ts +905 -377
  55. package/.medusa/server/src/api/vendor/promotions/middlewares.d.ts +1 -1
  56. package/.medusa/server/src/api/vendor/promotions/middlewares.js +55 -53
  57. package/.medusa/server/src/api/vendor/promotions/rule-value-options/[rule_type]/[rule_attribute_id]/route.js +4 -4
  58. package/.medusa/server/src/api/vendor/promotions/validators.d.ts +87 -67
  59. package/.medusa/server/src/api/vendor/promotions/validators.js +22 -16
  60. package/.medusa/server/src/api/vendor/regions/validators.d.ts +3 -2
  61. package/.medusa/server/src/api/vendor/reservations/validators.d.ts +7 -6
  62. package/.medusa/server/src/api/vendor/returns/validators.d.ts +9 -8
  63. package/.medusa/server/src/api/vendor/sellers/validators.d.ts +20 -20
  64. package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +27 -26
  65. package/.medusa/server/src/api/vendor/shipping-profiles/validators.d.ts +5 -4
  66. package/.medusa/server/src/api/vendor/stock-locations/validators.d.ts +49 -59
  67. package/.medusa/server/src/links/seller-campaign.js +1 -1
  68. package/.medusa/server/src/links/seller-customer-group.js +1 -1
  69. package/.medusa/server/src/modules/attribute/migrations/Migration20250617080244.d.ts +1 -1
  70. package/.medusa/server/src/modules/attribute/migrations/Migration20250617080244.js +2 -2
  71. package/.medusa/server/src/modules/attribute/migrations/Migration20250620110849.d.ts +1 -1
  72. package/.medusa/server/src/modules/attribute/migrations/Migration20250620110849.js +2 -2
  73. package/.medusa/server/src/modules/attribute/migrations/Migration20250828065431.d.ts +1 -1
  74. package/.medusa/server/src/modules/attribute/migrations/Migration20250828065431.js +2 -2
  75. package/.medusa/server/src/modules/attribute/service.d.ts +1 -1
  76. package/.medusa/server/src/modules/configuration/migrations/Migration20250114063624.d.ts +1 -1
  77. package/.medusa/server/src/modules/configuration/migrations/Migration20250114063624.js +2 -2
  78. package/.medusa/server/src/modules/configuration/migrations/Migration20250324131111.d.ts +1 -1
  79. package/.medusa/server/src/modules/configuration/migrations/Migration20250324131111.js +2 -2
  80. package/.medusa/server/src/modules/marketplace/migrations/Migration20241207151814.d.ts +1 -1
  81. package/.medusa/server/src/modules/marketplace/migrations/Migration20241207151814.js +2 -2
  82. package/.medusa/server/src/modules/payout/migrations/Migration20250317090626.d.ts +1 -1
  83. package/.medusa/server/src/modules/payout/migrations/Migration20250317090626.js +2 -2
  84. package/.medusa/server/src/modules/payout/migrations/Migration20250612144913.d.ts +1 -1
  85. package/.medusa/server/src/modules/payout/migrations/Migration20250612144913.js +2 -2
  86. package/.medusa/server/src/modules/payout/service.d.ts +1 -1
  87. package/.medusa/server/src/modules/secondary_categories/migrations/Migration20251014102054.d.ts +1 -1
  88. package/.medusa/server/src/modules/secondary_categories/migrations/Migration20251014102054.js +2 -2
  89. package/.medusa/server/src/modules/seller/migrations/Migration20241206125415.d.ts +1 -1
  90. package/.medusa/server/src/modules/seller/migrations/Migration20241206125415.js +2 -2
  91. package/.medusa/server/src/modules/seller/migrations/Migration20250212131627.d.ts +1 -1
  92. package/.medusa/server/src/modules/seller/migrations/Migration20250212131627.js +2 -2
  93. package/.medusa/server/src/modules/seller/migrations/Migration20250225083755.d.ts +1 -1
  94. package/.medusa/server/src/modules/seller/migrations/Migration20250225083755.js +2 -2
  95. package/.medusa/server/src/modules/seller/migrations/Migration20250225094708.d.ts +1 -1
  96. package/.medusa/server/src/modules/seller/migrations/Migration20250225094708.js +2 -2
  97. package/.medusa/server/src/modules/seller/migrations/Migration20250307091819.d.ts +1 -1
  98. package/.medusa/server/src/modules/seller/migrations/Migration20250307091819.js +2 -2
  99. package/.medusa/server/src/modules/seller/migrations/Migration20250313065552.d.ts +1 -1
  100. package/.medusa/server/src/modules/seller/migrations/Migration20250313065552.js +2 -2
  101. package/.medusa/server/src/modules/seller/migrations/Migration20250530111528.d.ts +1 -1
  102. package/.medusa/server/src/modules/seller/migrations/Migration20250530111528.js +2 -2
  103. package/.medusa/server/src/modules/seller/utils.d.ts +4 -0
  104. package/.medusa/server/src/modules/seller/utils.js +18 -1
  105. package/.medusa/server/src/modules/split-order-payment/migrations/Migration20250516075429.d.ts +1 -1
  106. package/.medusa/server/src/modules/split-order-payment/migrations/Migration20250516075429.js +2 -2
  107. package/.medusa/server/src/modules/taxcode/migrations/Migration20250116135408.d.ts +1 -1
  108. package/.medusa/server/src/modules/taxcode/migrations/Migration20250116135408.js +2 -2
  109. package/.medusa/server/src/modules/wishlist/migrations/Migration20250424110903.d.ts +1 -1
  110. package/.medusa/server/src/modules/wishlist/migrations/Migration20250424110903.js +2 -2
  111. package/.medusa/server/src/shared/infra/http/middlewares/vendor-promotions-rule-value-options-path-params-guard.d.ts +2 -0
  112. package/.medusa/server/src/shared/infra/http/middlewares/vendor-promotions-rule-value-options-path-params-guard.js +16 -0
  113. package/.medusa/server/src/workflows/cart/workflows/split-and-complete-cart.js +2 -2
  114. package/.medusa/server/src/workflows/order/steps/calculate-payout-for-order.d.ts +1 -1
  115. package/.medusa/server/src/workflows/promotions/steps/register-usage-step.d.ts +7 -2
  116. package/.medusa/server/src/workflows/promotions/steps/register-usage-step.js +6 -6
  117. package/.medusa/server/src/workflows/seller/steps/validate-products-to-import.d.ts +10 -10
  118. package/package.json +17 -30
@@ -3,8 +3,658 @@ import { AdditionalData } from '@medusajs/framework/types';
3
3
  export type VendorGetProductParamsType = z.infer<typeof VendorGetProductParams>;
4
4
  export declare const VendorGetProductParams: z.ZodEffects<z.ZodObject<{
5
5
  [x: string]: any;
6
- [x: number]: any;
7
- [x: symbol]: any;
6
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
7
+ variants: z.ZodOptional<z.ZodObject<{} & {
8
+ [x: string]: any;
9
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
10
+ q: z.ZodOptional<z.ZodString>;
11
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
12
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
13
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
14
+ ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
15
+ upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
16
+ barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
17
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
18
+ $eq: any;
19
+ $ne: any;
20
+ $in: any;
21
+ $nin: any;
22
+ $like: any;
23
+ $ilike: any;
24
+ $re: any;
25
+ $contains: any;
26
+ $gt: any;
27
+ $gte: any;
28
+ $lt: any;
29
+ $lte: any;
30
+ }, "strip", z.ZodTypeAny, {
31
+ $eq?: any;
32
+ $ne?: any;
33
+ $in?: any;
34
+ $nin?: any;
35
+ $like?: any;
36
+ $ilike?: any;
37
+ $re?: any;
38
+ $contains?: any;
39
+ $gt?: any;
40
+ $gte?: any;
41
+ $lt?: any;
42
+ $lte?: any;
43
+ }, {
44
+ $eq?: any;
45
+ $ne?: any;
46
+ $in?: any;
47
+ $nin?: any;
48
+ $like?: any;
49
+ $ilike?: any;
50
+ $re?: any;
51
+ $contains?: any;
52
+ $gt?: any;
53
+ $gte?: any;
54
+ $lt?: any;
55
+ $lte?: any;
56
+ }>]>>;
57
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
58
+ $eq: any;
59
+ $ne: any;
60
+ $in: any;
61
+ $nin: any;
62
+ $like: any;
63
+ $ilike: any;
64
+ $re: any;
65
+ $contains: any;
66
+ $gt: any;
67
+ $gte: any;
68
+ $lt: any;
69
+ $lte: any;
70
+ }, "strip", z.ZodTypeAny, {
71
+ $eq?: any;
72
+ $ne?: any;
73
+ $in?: any;
74
+ $nin?: any;
75
+ $like?: any;
76
+ $ilike?: any;
77
+ $re?: any;
78
+ $contains?: any;
79
+ $gt?: any;
80
+ $gte?: any;
81
+ $lt?: any;
82
+ $lte?: any;
83
+ }, {
84
+ $eq?: any;
85
+ $ne?: any;
86
+ $in?: any;
87
+ $nin?: any;
88
+ $like?: any;
89
+ $ilike?: any;
90
+ $re?: any;
91
+ $contains?: any;
92
+ $gt?: any;
93
+ $gte?: any;
94
+ $lt?: any;
95
+ $lte?: any;
96
+ }>]>>;
97
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
98
+ $eq: any;
99
+ $ne: any;
100
+ $in: any;
101
+ $nin: any;
102
+ $like: any;
103
+ $ilike: any;
104
+ $re: any;
105
+ $contains: any;
106
+ $gt: any;
107
+ $gte: any;
108
+ $lt: any;
109
+ $lte: any;
110
+ }, "strip", z.ZodTypeAny, {
111
+ $eq?: any;
112
+ $ne?: any;
113
+ $in?: any;
114
+ $nin?: any;
115
+ $like?: any;
116
+ $ilike?: any;
117
+ $re?: any;
118
+ $contains?: any;
119
+ $gt?: any;
120
+ $gte?: any;
121
+ $lt?: any;
122
+ $lte?: any;
123
+ }, {
124
+ $eq?: any;
125
+ $ne?: any;
126
+ $in?: any;
127
+ $nin?: any;
128
+ $like?: any;
129
+ $ilike?: any;
130
+ $re?: any;
131
+ $contains?: any;
132
+ $gt?: any;
133
+ $gte?: any;
134
+ $lt?: any;
135
+ $lte?: any;
136
+ }>]>>;
137
+ }, "q">, "strip", z.ZodTypeAny, {
138
+ id?: string | string[] | undefined;
139
+ created_at?: any;
140
+ updated_at?: any;
141
+ deleted_at?: any;
142
+ barcode?: string | string[] | undefined;
143
+ allow_backorder?: boolean | undefined;
144
+ ean?: string | string[] | undefined;
145
+ upc?: string | string[] | undefined;
146
+ manage_inventory?: boolean | undefined;
147
+ }, {
148
+ id?: string | string[] | undefined;
149
+ created_at?: any;
150
+ updated_at?: any;
151
+ deleted_at?: any;
152
+ barcode?: string | string[] | undefined;
153
+ allow_backorder?: string | boolean | undefined;
154
+ ean?: string | string[] | undefined;
155
+ upc?: string | string[] | undefined;
156
+ manage_inventory?: string | boolean | undefined;
157
+ }>, "many">>>;
158
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
159
+ q: z.ZodOptional<z.ZodString>;
160
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
161
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
162
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
163
+ ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
164
+ upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
165
+ barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
166
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
167
+ $eq: any;
168
+ $ne: any;
169
+ $in: any;
170
+ $nin: any;
171
+ $like: any;
172
+ $ilike: any;
173
+ $re: any;
174
+ $contains: any;
175
+ $gt: any;
176
+ $gte: any;
177
+ $lt: any;
178
+ $lte: any;
179
+ }, "strip", z.ZodTypeAny, {
180
+ $eq?: any;
181
+ $ne?: any;
182
+ $in?: any;
183
+ $nin?: any;
184
+ $like?: any;
185
+ $ilike?: any;
186
+ $re?: any;
187
+ $contains?: any;
188
+ $gt?: any;
189
+ $gte?: any;
190
+ $lt?: any;
191
+ $lte?: any;
192
+ }, {
193
+ $eq?: any;
194
+ $ne?: any;
195
+ $in?: any;
196
+ $nin?: any;
197
+ $like?: any;
198
+ $ilike?: any;
199
+ $re?: any;
200
+ $contains?: any;
201
+ $gt?: any;
202
+ $gte?: any;
203
+ $lt?: any;
204
+ $lte?: any;
205
+ }>]>>;
206
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
207
+ $eq: any;
208
+ $ne: any;
209
+ $in: any;
210
+ $nin: any;
211
+ $like: any;
212
+ $ilike: any;
213
+ $re: any;
214
+ $contains: any;
215
+ $gt: any;
216
+ $gte: any;
217
+ $lt: any;
218
+ $lte: any;
219
+ }, "strip", z.ZodTypeAny, {
220
+ $eq?: any;
221
+ $ne?: any;
222
+ $in?: any;
223
+ $nin?: any;
224
+ $like?: any;
225
+ $ilike?: any;
226
+ $re?: any;
227
+ $contains?: any;
228
+ $gt?: any;
229
+ $gte?: any;
230
+ $lt?: any;
231
+ $lte?: any;
232
+ }, {
233
+ $eq?: any;
234
+ $ne?: any;
235
+ $in?: any;
236
+ $nin?: any;
237
+ $like?: any;
238
+ $ilike?: any;
239
+ $re?: any;
240
+ $contains?: any;
241
+ $gt?: any;
242
+ $gte?: any;
243
+ $lt?: any;
244
+ $lte?: any;
245
+ }>]>>;
246
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
247
+ $eq: any;
248
+ $ne: any;
249
+ $in: any;
250
+ $nin: any;
251
+ $like: any;
252
+ $ilike: any;
253
+ $re: any;
254
+ $contains: any;
255
+ $gt: any;
256
+ $gte: any;
257
+ $lt: any;
258
+ $lte: any;
259
+ }, "strip", z.ZodTypeAny, {
260
+ $eq?: any;
261
+ $ne?: any;
262
+ $in?: any;
263
+ $nin?: any;
264
+ $like?: any;
265
+ $ilike?: any;
266
+ $re?: any;
267
+ $contains?: any;
268
+ $gt?: any;
269
+ $gte?: any;
270
+ $lt?: any;
271
+ $lte?: any;
272
+ }, {
273
+ $eq?: any;
274
+ $ne?: any;
275
+ $in?: any;
276
+ $nin?: any;
277
+ $like?: any;
278
+ $ilike?: any;
279
+ $re?: any;
280
+ $contains?: any;
281
+ $gt?: any;
282
+ $gte?: any;
283
+ $lt?: any;
284
+ $lte?: any;
285
+ }>]>>;
286
+ }, "q">, "strip", z.ZodTypeAny, {
287
+ id?: string | string[] | undefined;
288
+ created_at?: any;
289
+ updated_at?: any;
290
+ deleted_at?: any;
291
+ barcode?: string | string[] | undefined;
292
+ allow_backorder?: boolean | undefined;
293
+ ean?: string | string[] | undefined;
294
+ upc?: string | string[] | undefined;
295
+ manage_inventory?: boolean | undefined;
296
+ }, {
297
+ id?: string | string[] | undefined;
298
+ created_at?: any;
299
+ updated_at?: any;
300
+ deleted_at?: any;
301
+ barcode?: string | string[] | undefined;
302
+ allow_backorder?: string | boolean | undefined;
303
+ ean?: string | string[] | undefined;
304
+ upc?: string | string[] | undefined;
305
+ manage_inventory?: string | boolean | undefined;
306
+ }>, "many">>>;
307
+ }, "strip", z.ZodTypeAny, {
308
+ [x: string]: any;
309
+ $and?: unknown;
310
+ $or?: unknown;
311
+ }, {
312
+ [x: string]: any;
313
+ $and?: unknown;
314
+ $or?: unknown;
315
+ }>>;
316
+ status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("@medusajs/utils").ProductStatus>, "many">>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ variants?: {
319
+ [x: string]: any;
320
+ $and?: unknown;
321
+ $or?: unknown;
322
+ } | undefined;
323
+ status?: import("@medusajs/utils").ProductStatus[] | undefined;
324
+ }, {
325
+ variants?: {
326
+ [x: string]: any;
327
+ $and?: unknown;
328
+ $or?: unknown;
329
+ } | undefined;
330
+ status?: import("@medusajs/utils").ProductStatus[] | undefined;
331
+ }>, "many">>>;
332
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
333
+ variants: z.ZodOptional<z.ZodObject<{} & {
334
+ [x: string]: any;
335
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
336
+ q: z.ZodOptional<z.ZodString>;
337
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
338
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
339
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
340
+ ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
341
+ upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
342
+ barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
343
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
344
+ $eq: any;
345
+ $ne: any;
346
+ $in: any;
347
+ $nin: any;
348
+ $like: any;
349
+ $ilike: any;
350
+ $re: any;
351
+ $contains: any;
352
+ $gt: any;
353
+ $gte: any;
354
+ $lt: any;
355
+ $lte: any;
356
+ }, "strip", z.ZodTypeAny, {
357
+ $eq?: any;
358
+ $ne?: any;
359
+ $in?: any;
360
+ $nin?: any;
361
+ $like?: any;
362
+ $ilike?: any;
363
+ $re?: any;
364
+ $contains?: any;
365
+ $gt?: any;
366
+ $gte?: any;
367
+ $lt?: any;
368
+ $lte?: any;
369
+ }, {
370
+ $eq?: any;
371
+ $ne?: any;
372
+ $in?: any;
373
+ $nin?: any;
374
+ $like?: any;
375
+ $ilike?: any;
376
+ $re?: any;
377
+ $contains?: any;
378
+ $gt?: any;
379
+ $gte?: any;
380
+ $lt?: any;
381
+ $lte?: any;
382
+ }>]>>;
383
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
384
+ $eq: any;
385
+ $ne: any;
386
+ $in: any;
387
+ $nin: any;
388
+ $like: any;
389
+ $ilike: any;
390
+ $re: any;
391
+ $contains: any;
392
+ $gt: any;
393
+ $gte: any;
394
+ $lt: any;
395
+ $lte: any;
396
+ }, "strip", z.ZodTypeAny, {
397
+ $eq?: any;
398
+ $ne?: any;
399
+ $in?: any;
400
+ $nin?: any;
401
+ $like?: any;
402
+ $ilike?: any;
403
+ $re?: any;
404
+ $contains?: any;
405
+ $gt?: any;
406
+ $gte?: any;
407
+ $lt?: any;
408
+ $lte?: any;
409
+ }, {
410
+ $eq?: any;
411
+ $ne?: any;
412
+ $in?: any;
413
+ $nin?: any;
414
+ $like?: any;
415
+ $ilike?: any;
416
+ $re?: any;
417
+ $contains?: any;
418
+ $gt?: any;
419
+ $gte?: any;
420
+ $lt?: any;
421
+ $lte?: any;
422
+ }>]>>;
423
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
424
+ $eq: any;
425
+ $ne: any;
426
+ $in: any;
427
+ $nin: any;
428
+ $like: any;
429
+ $ilike: any;
430
+ $re: any;
431
+ $contains: any;
432
+ $gt: any;
433
+ $gte: any;
434
+ $lt: any;
435
+ $lte: any;
436
+ }, "strip", z.ZodTypeAny, {
437
+ $eq?: any;
438
+ $ne?: any;
439
+ $in?: any;
440
+ $nin?: any;
441
+ $like?: any;
442
+ $ilike?: any;
443
+ $re?: any;
444
+ $contains?: any;
445
+ $gt?: any;
446
+ $gte?: any;
447
+ $lt?: any;
448
+ $lte?: any;
449
+ }, {
450
+ $eq?: any;
451
+ $ne?: any;
452
+ $in?: any;
453
+ $nin?: any;
454
+ $like?: any;
455
+ $ilike?: any;
456
+ $re?: any;
457
+ $contains?: any;
458
+ $gt?: any;
459
+ $gte?: any;
460
+ $lt?: any;
461
+ $lte?: any;
462
+ }>]>>;
463
+ }, "q">, "strip", z.ZodTypeAny, {
464
+ id?: string | string[] | undefined;
465
+ created_at?: any;
466
+ updated_at?: any;
467
+ deleted_at?: any;
468
+ barcode?: string | string[] | undefined;
469
+ allow_backorder?: boolean | undefined;
470
+ ean?: string | string[] | undefined;
471
+ upc?: string | string[] | undefined;
472
+ manage_inventory?: boolean | undefined;
473
+ }, {
474
+ id?: string | string[] | undefined;
475
+ created_at?: any;
476
+ updated_at?: any;
477
+ deleted_at?: any;
478
+ barcode?: string | string[] | undefined;
479
+ allow_backorder?: string | boolean | undefined;
480
+ ean?: string | string[] | undefined;
481
+ upc?: string | string[] | undefined;
482
+ manage_inventory?: string | boolean | undefined;
483
+ }>, "many">>>;
484
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
485
+ q: z.ZodOptional<z.ZodString>;
486
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
487
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
488
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
489
+ ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
490
+ upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
491
+ barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
492
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
493
+ $eq: any;
494
+ $ne: any;
495
+ $in: any;
496
+ $nin: any;
497
+ $like: any;
498
+ $ilike: any;
499
+ $re: any;
500
+ $contains: any;
501
+ $gt: any;
502
+ $gte: any;
503
+ $lt: any;
504
+ $lte: any;
505
+ }, "strip", z.ZodTypeAny, {
506
+ $eq?: any;
507
+ $ne?: any;
508
+ $in?: any;
509
+ $nin?: any;
510
+ $like?: any;
511
+ $ilike?: any;
512
+ $re?: any;
513
+ $contains?: any;
514
+ $gt?: any;
515
+ $gte?: any;
516
+ $lt?: any;
517
+ $lte?: any;
518
+ }, {
519
+ $eq?: any;
520
+ $ne?: any;
521
+ $in?: any;
522
+ $nin?: any;
523
+ $like?: any;
524
+ $ilike?: any;
525
+ $re?: any;
526
+ $contains?: any;
527
+ $gt?: any;
528
+ $gte?: any;
529
+ $lt?: any;
530
+ $lte?: any;
531
+ }>]>>;
532
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
533
+ $eq: any;
534
+ $ne: any;
535
+ $in: any;
536
+ $nin: any;
537
+ $like: any;
538
+ $ilike: any;
539
+ $re: any;
540
+ $contains: any;
541
+ $gt: any;
542
+ $gte: any;
543
+ $lt: any;
544
+ $lte: any;
545
+ }, "strip", z.ZodTypeAny, {
546
+ $eq?: any;
547
+ $ne?: any;
548
+ $in?: any;
549
+ $nin?: any;
550
+ $like?: any;
551
+ $ilike?: any;
552
+ $re?: any;
553
+ $contains?: any;
554
+ $gt?: any;
555
+ $gte?: any;
556
+ $lt?: any;
557
+ $lte?: any;
558
+ }, {
559
+ $eq?: any;
560
+ $ne?: any;
561
+ $in?: any;
562
+ $nin?: any;
563
+ $like?: any;
564
+ $ilike?: any;
565
+ $re?: any;
566
+ $contains?: any;
567
+ $gt?: any;
568
+ $gte?: any;
569
+ $lt?: any;
570
+ $lte?: any;
571
+ }>]>>;
572
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
573
+ $eq: any;
574
+ $ne: any;
575
+ $in: any;
576
+ $nin: any;
577
+ $like: any;
578
+ $ilike: any;
579
+ $re: any;
580
+ $contains: any;
581
+ $gt: any;
582
+ $gte: any;
583
+ $lt: any;
584
+ $lte: any;
585
+ }, "strip", z.ZodTypeAny, {
586
+ $eq?: any;
587
+ $ne?: any;
588
+ $in?: any;
589
+ $nin?: any;
590
+ $like?: any;
591
+ $ilike?: any;
592
+ $re?: any;
593
+ $contains?: any;
594
+ $gt?: any;
595
+ $gte?: any;
596
+ $lt?: any;
597
+ $lte?: any;
598
+ }, {
599
+ $eq?: any;
600
+ $ne?: any;
601
+ $in?: any;
602
+ $nin?: any;
603
+ $like?: any;
604
+ $ilike?: any;
605
+ $re?: any;
606
+ $contains?: any;
607
+ $gt?: any;
608
+ $gte?: any;
609
+ $lt?: any;
610
+ $lte?: any;
611
+ }>]>>;
612
+ }, "q">, "strip", z.ZodTypeAny, {
613
+ id?: string | string[] | undefined;
614
+ created_at?: any;
615
+ updated_at?: any;
616
+ deleted_at?: any;
617
+ barcode?: string | string[] | undefined;
618
+ allow_backorder?: boolean | undefined;
619
+ ean?: string | string[] | undefined;
620
+ upc?: string | string[] | undefined;
621
+ manage_inventory?: boolean | undefined;
622
+ }, {
623
+ id?: string | string[] | undefined;
624
+ created_at?: any;
625
+ updated_at?: any;
626
+ deleted_at?: any;
627
+ barcode?: string | string[] | undefined;
628
+ allow_backorder?: string | boolean | undefined;
629
+ ean?: string | string[] | undefined;
630
+ upc?: string | string[] | undefined;
631
+ manage_inventory?: string | boolean | undefined;
632
+ }>, "many">>>;
633
+ }, "strip", z.ZodTypeAny, {
634
+ [x: string]: any;
635
+ $and?: unknown;
636
+ $or?: unknown;
637
+ }, {
638
+ [x: string]: any;
639
+ $and?: unknown;
640
+ $or?: unknown;
641
+ }>>;
642
+ status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("@medusajs/utils").ProductStatus>, "many">>;
643
+ }, "strip", z.ZodTypeAny, {
644
+ variants?: {
645
+ [x: string]: any;
646
+ $and?: unknown;
647
+ $or?: unknown;
648
+ } | undefined;
649
+ status?: import("@medusajs/utils").ProductStatus[] | undefined;
650
+ }, {
651
+ variants?: {
652
+ [x: string]: any;
653
+ $and?: unknown;
654
+ $or?: unknown;
655
+ } | undefined;
656
+ status?: import("@medusajs/utils").ProductStatus[] | undefined;
657
+ }>, "many">>>;
8
658
  sales_channel_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
9
659
  q: z.ZodOptional<z.ZodString>;
10
660
  id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -93,249 +743,7 @@ export declare const VendorGetProductParams: z.ZodEffects<z.ZodObject<{
93
743
  $contains?: any;
94
744
  $gt?: any;
95
745
  $gte?: any;
96
- $lt
97
- /**
98
- * @schema CreateProduct
99
- * type: object
100
- * required:
101
- * - title
102
- * properties:
103
- * title:
104
- * type: string
105
- * description: The title of the product.
106
- * subtitle:
107
- * type: string
108
- * description: The subtitle of the product.
109
- * description:
110
- * type: string
111
- * description: The description of the product.
112
- * is_giftcard:
113
- * type: boolean
114
- * description: Whether the product is a gift card.
115
- * default: false
116
- * discountable:
117
- * type: boolean
118
- * description: Whether the product can be discounted.
119
- * default: true
120
- * images:
121
- * type: array
122
- * description: Images of the product.
123
- * items:
124
- * type: object
125
- * required:
126
- * - url
127
- * properties:
128
- * url:
129
- * type: string
130
- * thumbnail:
131
- * type: string
132
- * description: The thumbnail of the product.
133
- * handle:
134
- * type: string
135
- * description: A unique handle to identify the product.
136
- * status:
137
- * type: string
138
- * enum: [draft, proposed]
139
- * description: The status of the product.
140
- * default: draft
141
- * external_id:
142
- * type: string
143
- * description: The external ID of the product.
144
- * type_id:
145
- * type: string
146
- * description: The ID of the product type.
147
- * collection_id:
148
- * type: string
149
- * description: The ID of the collection the product belongs to.
150
- * categories:
151
- * type: array
152
- * description: Categories the product belongs to.
153
- * items:
154
- * type: object
155
- * required:
156
- * - id
157
- * properties:
158
- * id:
159
- * type: string
160
- * tags:
161
- * type: array
162
- * description: Tags associated with the product.
163
- * items:
164
- * type: object
165
- * required:
166
- * - id
167
- * properties:
168
- * id:
169
- * type: string
170
- * options:
171
- * type: array
172
- * description: Product options.
173
- * items:
174
- * $ref: "#/components/schemas/CreateProductOption"
175
- * variants:
176
- * type: array
177
- * description: Product variants.
178
- * items:
179
- * $ref: "#/components/schemas/CreateProductVariant"
180
- * weight:
181
- * type: number
182
- * description: The weight of the product.
183
- * length:
184
- * type: number
185
- * description: The length of the product.
186
- * height:
187
- * type: number
188
- * description: The height of the product.
189
- * width:
190
- * type: number
191
- * description: The width of the product.
192
- * hs_code:
193
- * type: string
194
- * description: The HS code of the product.
195
- * mid_code:
196
- * type: string
197
- * description: The MID code of the product.
198
- * origin_country:
199
- * type: string
200
- * description: The country of origin of the product.
201
- * material:
202
- * type: string
203
- * description: The material composition of the product.
204
- * metadata:
205
- * type: object
206
- * description: Additional metadata for the product.
207
- * sales_channels:
208
- * type: array
209
- * description: Sales channels to associate the product with.
210
- * items:
211
- * type: object
212
- * required:
213
- * - id
214
- * properties:
215
- * id:
216
- * type: string
217
- */
218
- ? /**
219
- * @schema CreateProduct
220
- * type: object
221
- * required:
222
- * - title
223
- * properties:
224
- * title:
225
- * type: string
226
- * description: The title of the product.
227
- * subtitle:
228
- * type: string
229
- * description: The subtitle of the product.
230
- * description:
231
- * type: string
232
- * description: The description of the product.
233
- * is_giftcard:
234
- * type: boolean
235
- * description: Whether the product is a gift card.
236
- * default: false
237
- * discountable:
238
- * type: boolean
239
- * description: Whether the product can be discounted.
240
- * default: true
241
- * images:
242
- * type: array
243
- * description: Images of the product.
244
- * items:
245
- * type: object
246
- * required:
247
- * - url
248
- * properties:
249
- * url:
250
- * type: string
251
- * thumbnail:
252
- * type: string
253
- * description: The thumbnail of the product.
254
- * handle:
255
- * type: string
256
- * description: A unique handle to identify the product.
257
- * status:
258
- * type: string
259
- * enum: [draft, proposed]
260
- * description: The status of the product.
261
- * default: draft
262
- * external_id:
263
- * type: string
264
- * description: The external ID of the product.
265
- * type_id:
266
- * type: string
267
- * description: The ID of the product type.
268
- * collection_id:
269
- * type: string
270
- * description: The ID of the collection the product belongs to.
271
- * categories:
272
- * type: array
273
- * description: Categories the product belongs to.
274
- * items:
275
- * type: object
276
- * required:
277
- * - id
278
- * properties:
279
- * id:
280
- * type: string
281
- * tags:
282
- * type: array
283
- * description: Tags associated with the product.
284
- * items:
285
- * type: object
286
- * required:
287
- * - id
288
- * properties:
289
- * id:
290
- * type: string
291
- * options:
292
- * type: array
293
- * description: Product options.
294
- * items:
295
- * $ref: "#/components/schemas/CreateProductOption"
296
- * variants:
297
- * type: array
298
- * description: Product variants.
299
- * items:
300
- * $ref: "#/components/schemas/CreateProductVariant"
301
- * weight:
302
- * type: number
303
- * description: The weight of the product.
304
- * length:
305
- * type: number
306
- * description: The length of the product.
307
- * height:
308
- * type: number
309
- * description: The height of the product.
310
- * width:
311
- * type: number
312
- * description: The width of the product.
313
- * hs_code:
314
- * type: string
315
- * description: The HS code of the product.
316
- * mid_code:
317
- * type: string
318
- * description: The MID code of the product.
319
- * origin_country:
320
- * type: string
321
- * description: The country of origin of the product.
322
- * material:
323
- * type: string
324
- * description: The material composition of the product.
325
- * metadata:
326
- * type: object
327
- * description: Additional metadata for the product.
328
- * sales_channels:
329
- * type: array
330
- * description: Sales channels to associate the product with.
331
- * items:
332
- * type: object
333
- * required:
334
- * - id
335
- * properties:
336
- * id:
337
- * type: string
338
- */: any;
746
+ $lt?: any;
339
747
  $lte?: any;
340
748
  }>]>>;
341
749
  deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
@@ -380,58 +788,58 @@ export declare const VendorGetProductParams: z.ZodEffects<z.ZodObject<{
380
788
  }>]>>;
381
789
  }, "strip", z.ZodTypeAny, {
382
790
  [x: string]: any;
383
- [x: number]: any;
384
- [x: symbol]: any;
385
- sales_channel_id?: string | string[] | undefined;
386
- q?: string | undefined;
387
- id?: string | string[] | undefined;
388
- title?: string | string[] | undefined;
389
- handle?: string | string[] | undefined;
390
- is_giftcard?: boolean | undefined;
391
- category_id?: string | string[] | undefined;
392
- external_id?: string | string[] | undefined;
393
- collection_id?: string | string[] | undefined;
394
- tag_id?: string | string[] | undefined;
395
- type_id?: string | string[] | undefined;
396
- created_at?: any;
397
- updated_at?: any;
398
- deleted_at?: any;
791
+ $and?: unknown;
792
+ $or?: unknown;
793
+ sales_channel_id?: unknown;
794
+ q?: unknown;
795
+ id?: unknown;
796
+ title?: unknown;
797
+ handle?: unknown;
798
+ is_giftcard?: unknown;
799
+ category_id?: unknown;
800
+ external_id?: unknown;
801
+ collection_id?: unknown;
802
+ tag_id?: unknown;
803
+ type_id?: unknown;
804
+ created_at?: unknown;
805
+ updated_at?: unknown;
806
+ deleted_at?: unknown;
399
807
  }, {
400
808
  [x: string]: any;
401
- [x: number]: any;
402
- [x: symbol]: any;
403
- sales_channel_id?: string | string[] | undefined;
404
- q?: string | undefined;
405
- id?: string | string[] | undefined;
406
- title?: string | string[] | undefined;
407
- handle?: string | string[] | undefined;
408
- is_giftcard?: string | boolean | undefined;
409
- category_id?: string | string[] | undefined;
410
- external_id?: string | string[] | undefined;
411
- collection_id?: string | string[] | undefined;
412
- tag_id?: string | string[] | undefined;
413
- type_id?: string | string[] | undefined;
414
- created_at?: any;
415
- updated_at?: any;
416
- deleted_at?: any;
417
- }>, import("@medusajs/framework/types").FilterableProductProps, {
809
+ $and?: unknown;
810
+ $or?: unknown;
811
+ sales_channel_id?: unknown;
812
+ q?: unknown;
813
+ id?: unknown;
814
+ title?: unknown;
815
+ handle?: unknown;
816
+ is_giftcard?: unknown;
817
+ category_id?: unknown;
818
+ external_id?: unknown;
819
+ collection_id?: unknown;
820
+ tag_id?: unknown;
821
+ type_id?: unknown;
822
+ created_at?: unknown;
823
+ updated_at?: unknown;
824
+ deleted_at?: unknown;
825
+ }>, unknown, {
418
826
  [x: string]: any;
419
- [x: number]: any;
420
- [x: symbol]: any;
421
- sales_channel_id?: string | string[] | undefined;
422
- q?: string | undefined;
423
- id?: string | string[] | undefined;
424
- title?: string | string[] | undefined;
425
- handle?: string | string[] | undefined;
426
- is_giftcard?: string | boolean | undefined;
427
- category_id?: string | string[] | undefined;
428
- external_id?: string | string[] | undefined;
429
- collection_id?: string | string[] | undefined;
430
- tag_id?: string | string[] | undefined;
431
- type_id?: string | string[] | undefined;
432
- created_at?: any;
433
- updated_at?: any;
434
- deleted_at?: any;
827
+ $and?: unknown;
828
+ $or?: unknown;
829
+ sales_channel_id?: unknown;
830
+ q?: unknown;
831
+ id?: unknown;
832
+ title?: unknown;
833
+ handle?: unknown;
834
+ is_giftcard?: unknown;
835
+ category_id?: unknown;
836
+ external_id?: unknown;
837
+ collection_id?: unknown;
838
+ tag_id?: unknown;
839
+ type_id?: unknown;
840
+ created_at?: unknown;
841
+ updated_at?: unknown;
842
+ deleted_at?: unknown;
435
843
  }>;
436
844
  /**
437
845
  * @schema CreateProductOption
@@ -500,13 +908,13 @@ export declare const UpdateProductOption: z.ZodObject<{
500
908
  title: z.ZodOptional<z.ZodString>;
501
909
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
502
910
  }, "strip", z.ZodTypeAny, {
911
+ values?: string[] | undefined;
503
912
  id?: string | undefined;
504
913
  title?: string | undefined;
505
- values?: string[] | undefined;
506
914
  }, {
915
+ values?: string[] | undefined;
507
916
  id?: string | undefined;
508
917
  title?: string | undefined;
509
- values?: string[] | undefined;
510
918
  }>;
511
919
  /**
512
920
  * @schema CreateProductVariant
@@ -644,21 +1052,21 @@ export declare const CreateProductVariant: z.ZodObject<{
644
1052
  }[];
645
1053
  allow_backorder: false;
646
1054
  manage_inventory: true;
647
- sku?: string | undefined;
648
- ean?: string | undefined;
649
- upc?: string | undefined;
650
- barcode?: string | undefined;
651
- hs_code?: string | undefined;
652
- mid_code?: string | undefined;
653
- variant_rank?: number | undefined;
654
- weight?: number | undefined;
655
1055
  length?: number | undefined;
656
- height?: number | undefined;
1056
+ options?: Record<string, string> | undefined;
657
1057
  width?: number | undefined;
1058
+ weight?: number | undefined;
1059
+ height?: number | undefined;
658
1060
  origin_country?: string | undefined;
1061
+ hs_code?: string | undefined;
1062
+ mid_code?: string | undefined;
659
1063
  material?: string | undefined;
660
1064
  metadata?: Record<string, unknown> | undefined;
661
- options?: Record<string, string> | undefined;
1065
+ sku?: string | undefined;
1066
+ ean?: string | undefined;
1067
+ upc?: string | undefined;
1068
+ barcode?: string | undefined;
1069
+ variant_rank?: number | undefined;
662
1070
  inventory_items?: {
663
1071
  inventory_item_id: string;
664
1072
  required_quantity: number;
@@ -672,23 +1080,23 @@ export declare const CreateProductVariant: z.ZodObject<{
672
1080
  max_quantity?: number | null | undefined;
673
1081
  rules?: Record<string, string> | undefined;
674
1082
  }[];
1083
+ length?: number | undefined;
1084
+ options?: Record<string, string> | undefined;
1085
+ width?: number | undefined;
1086
+ weight?: number | undefined;
1087
+ height?: number | undefined;
1088
+ origin_country?: string | undefined;
1089
+ hs_code?: string | undefined;
1090
+ mid_code?: string | undefined;
1091
+ material?: string | undefined;
1092
+ metadata?: Record<string, unknown> | undefined;
675
1093
  sku?: string | undefined;
676
1094
  ean?: string | undefined;
677
1095
  upc?: string | undefined;
678
1096
  barcode?: string | undefined;
679
- hs_code?: string | undefined;
680
- mid_code?: string | undefined;
681
1097
  allow_backorder?: false | undefined;
682
1098
  manage_inventory?: true | undefined;
683
1099
  variant_rank?: number | undefined;
684
- weight?: number | undefined;
685
- length?: number | undefined;
686
- height?: number | undefined;
687
- width?: number | undefined;
688
- origin_country?: string | undefined;
689
- material?: string | undefined;
690
- metadata?: Record<string, unknown> | undefined;
691
- options?: Record<string, string> | undefined;
692
1100
  inventory_items?: {
693
1101
  inventory_item_id: string;
694
1102
  required_quantity: number;
@@ -820,8 +1228,19 @@ export declare const UpdateProductVariant: z.ZodObject<{
820
1228
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
821
1229
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
822
1230
  }, "strict", z.ZodTypeAny, {
1231
+ length?: number | null | undefined;
1232
+ options?: Record<string, string> | undefined;
823
1233
  id?: string | undefined;
824
1234
  title?: string | undefined;
1235
+ width?: number | null | undefined;
1236
+ weight?: number | null | undefined;
1237
+ height?: number | null | undefined;
1238
+ origin_country?: string | null | undefined;
1239
+ hs_code?: string | null | undefined;
1240
+ mid_code?: string | null | undefined;
1241
+ material?: string | null | undefined;
1242
+ metadata?: Record<string, unknown> | null | undefined;
1243
+ sku?: string | null | undefined;
825
1244
  prices?: {
826
1245
  id?: string | undefined;
827
1246
  currency_code?: string | undefined;
@@ -830,26 +1249,26 @@ export declare const UpdateProductVariant: z.ZodObject<{
830
1249
  max_quantity?: number | null | undefined;
831
1250
  rules?: Record<string, string> | undefined;
832
1251
  }[] | undefined;
833
- sku?: string | null | undefined;
834
1252
  ean?: string | null | undefined;
835
1253
  upc?: string | null | undefined;
836
1254
  barcode?: string | null | undefined;
837
- hs_code?: string | null | undefined;
838
- mid_code?: string | null | undefined;
839
1255
  allow_backorder?: boolean | undefined;
840
1256
  manage_inventory?: boolean | undefined;
841
1257
  variant_rank?: number | undefined;
842
- weight?: number | null | undefined;
1258
+ }, {
843
1259
  length?: number | null | undefined;
844
- height?: number | null | undefined;
1260
+ options?: Record<string, string> | undefined;
1261
+ id?: string | undefined;
1262
+ title?: string | undefined;
845
1263
  width?: number | null | undefined;
1264
+ weight?: number | null | undefined;
1265
+ height?: number | null | undefined;
846
1266
  origin_country?: string | null | undefined;
1267
+ hs_code?: string | null | undefined;
1268
+ mid_code?: string | null | undefined;
847
1269
  material?: string | null | undefined;
848
1270
  metadata?: Record<string, unknown> | null | undefined;
849
- options?: Record<string, string> | undefined;
850
- }, {
851
- id?: string | undefined;
852
- title?: string | undefined;
1271
+ sku?: string | null | undefined;
853
1272
  prices?: {
854
1273
  id?: string | undefined;
855
1274
  currency_code?: string | undefined;
@@ -858,23 +1277,12 @@ export declare const UpdateProductVariant: z.ZodObject<{
858
1277
  max_quantity?: number | null | undefined;
859
1278
  rules?: Record<string, string> | undefined;
860
1279
  }[] | undefined;
861
- sku?: string | null | undefined;
862
1280
  ean?: string | null | undefined;
863
1281
  upc?: string | null | undefined;
864
1282
  barcode?: string | null | undefined;
865
- hs_code?: string | null | undefined;
866
- mid_code?: string | null | undefined;
867
1283
  allow_backorder?: boolean | undefined;
868
1284
  manage_inventory?: boolean | undefined;
869
1285
  variant_rank?: number | undefined;
870
- weight?: number | null | undefined;
871
- length?: number | null | undefined;
872
- height?: number | null | undefined;
873
- width?: number | null | undefined;
874
- origin_country?: string | null | undefined;
875
- material?: string | null | undefined;
876
- metadata?: Record<string, unknown> | null | undefined;
877
- options?: Record<string, string> | undefined;
878
1286
  }>;
879
1287
  /**
880
1288
  * @schema CreateProduct
@@ -1100,21 +1508,21 @@ export declare const CreateProduct: z.ZodObject<{
1100
1508
  }[];
1101
1509
  allow_backorder: false;
1102
1510
  manage_inventory: true;
1103
- sku?: string | undefined;
1104
- ean?: string | undefined;
1105
- upc?: string | undefined;
1106
- barcode?: string | undefined;
1107
- hs_code?: string | undefined;
1108
- mid_code?: string | undefined;
1109
- variant_rank?: number | undefined;
1110
- weight?: number | undefined;
1111
1511
  length?: number | undefined;
1112
- height?: number | undefined;
1512
+ options?: Record<string, string> | undefined;
1113
1513
  width?: number | undefined;
1514
+ weight?: number | undefined;
1515
+ height?: number | undefined;
1114
1516
  origin_country?: string | undefined;
1517
+ hs_code?: string | undefined;
1518
+ mid_code?: string | undefined;
1115
1519
  material?: string | undefined;
1116
1520
  metadata?: Record<string, unknown> | undefined;
1117
- options?: Record<string, string> | undefined;
1521
+ sku?: string | undefined;
1522
+ ean?: string | undefined;
1523
+ upc?: string | undefined;
1524
+ barcode?: string | undefined;
1525
+ variant_rank?: number | undefined;
1118
1526
  inventory_items?: {
1119
1527
  inventory_item_id: string;
1120
1528
  required_quantity: number;
@@ -1128,23 +1536,23 @@ export declare const CreateProduct: z.ZodObject<{
1128
1536
  max_quantity?: number | null | undefined;
1129
1537
  rules?: Record<string, string> | undefined;
1130
1538
  }[];
1539
+ length?: number | undefined;
1540
+ options?: Record<string, string> | undefined;
1541
+ width?: number | undefined;
1542
+ weight?: number | undefined;
1543
+ height?: number | undefined;
1544
+ origin_country?: string | undefined;
1545
+ hs_code?: string | undefined;
1546
+ mid_code?: string | undefined;
1547
+ material?: string | undefined;
1548
+ metadata?: Record<string, unknown> | undefined;
1131
1549
  sku?: string | undefined;
1132
1550
  ean?: string | undefined;
1133
1551
  upc?: string | undefined;
1134
1552
  barcode?: string | undefined;
1135
- hs_code?: string | undefined;
1136
- mid_code?: string | undefined;
1137
1553
  allow_backorder?: false | undefined;
1138
1554
  manage_inventory?: true | undefined;
1139
1555
  variant_rank?: number | undefined;
1140
- weight?: number | undefined;
1141
- length?: number | undefined;
1142
- height?: number | undefined;
1143
- width?: number | undefined;
1144
- origin_country?: string | undefined;
1145
- material?: string | undefined;
1146
- metadata?: Record<string, unknown> | undefined;
1147
- options?: Record<string, string> | undefined;
1148
1556
  inventory_items?: {
1149
1557
  inventory_item_id: string;
1150
1558
  required_quantity: number;
@@ -1172,26 +1580,13 @@ export declare const CreateProduct: z.ZodObject<{
1172
1580
  title: string;
1173
1581
  is_giftcard: boolean;
1174
1582
  discountable: boolean;
1175
- subtitle?: string | undefined;
1176
- description?: string | undefined;
1177
- images?: {
1178
- url: string;
1179
- }[] | undefined;
1180
- thumbnail?: string | undefined;
1181
- handle?: string | undefined;
1182
- external_id?: string | undefined;
1183
- type_id?: string | undefined;
1184
- collection_id?: string | undefined;
1185
- categories?: {
1186
- id: string;
1187
- }[] | undefined;
1188
- tags?: {
1189
- id: string;
1190
- }[] | undefined;
1583
+ length?: number | undefined;
1191
1584
  options?: {
1192
1585
  values: string[];
1193
1586
  title: string;
1194
1587
  }[] | undefined;
1588
+ handle?: string | undefined;
1589
+ description?: string | undefined;
1195
1590
  variants?: {
1196
1591
  title: string;
1197
1592
  prices: {
@@ -1203,64 +1598,62 @@ export declare const CreateProduct: z.ZodObject<{
1203
1598
  }[];
1204
1599
  allow_backorder: false;
1205
1600
  manage_inventory: true;
1206
- sku?: string | undefined;
1207
- ean?: string | undefined;
1208
- upc?: string | undefined;
1209
- barcode?: string | undefined;
1210
- hs_code?: string | undefined;
1211
- mid_code?: string | undefined;
1212
- variant_rank?: number | undefined;
1213
- weight?: number | undefined;
1214
1601
  length?: number | undefined;
1215
- height?: number | undefined;
1602
+ options?: Record<string, string> | undefined;
1216
1603
  width?: number | undefined;
1604
+ weight?: number | undefined;
1605
+ height?: number | undefined;
1217
1606
  origin_country?: string | undefined;
1607
+ hs_code?: string | undefined;
1608
+ mid_code?: string | undefined;
1218
1609
  material?: string | undefined;
1219
1610
  metadata?: Record<string, unknown> | undefined;
1220
- options?: Record<string, string> | undefined;
1611
+ sku?: string | undefined;
1612
+ ean?: string | undefined;
1613
+ upc?: string | undefined;
1614
+ barcode?: string | undefined;
1615
+ variant_rank?: number | undefined;
1221
1616
  inventory_items?: {
1222
1617
  inventory_item_id: string;
1223
1618
  required_quantity: number;
1224
1619
  }[] | undefined;
1225
1620
  }[] | undefined;
1621
+ subtitle?: string | undefined;
1622
+ thumbnail?: string | undefined;
1623
+ width?: number | undefined;
1226
1624
  weight?: number | undefined;
1227
- length?: number | undefined;
1228
1625
  height?: number | undefined;
1229
- width?: number | undefined;
1626
+ origin_country?: string | undefined;
1230
1627
  hs_code?: string | undefined;
1231
1628
  mid_code?: string | undefined;
1232
- origin_country?: string | undefined;
1233
1629
  material?: string | undefined;
1234
- metadata?: Record<string, unknown> | undefined;
1235
- sales_channels?: {
1630
+ collection_id?: string | undefined;
1631
+ categories?: {
1632
+ id: string;
1633
+ }[] | undefined;
1634
+ type_id?: string | undefined;
1635
+ tags?: {
1236
1636
  id: string;
1237
1637
  }[] | undefined;
1238
- brand_name?: string | undefined;
1239
- }, {
1240
- title: string;
1241
- subtitle?: string | undefined;
1242
- description?: string | undefined;
1243
- is_giftcard?: boolean | undefined;
1244
- discountable?: boolean | undefined;
1245
1638
  images?: {
1246
1639
  url: string;
1247
1640
  }[] | undefined;
1248
- thumbnail?: string | undefined;
1249
- handle?: string | undefined;
1250
- status?: "draft" | "proposed" | undefined;
1251
1641
  external_id?: string | undefined;
1252
- type_id?: string | undefined;
1253
- collection_id?: string | undefined;
1254
- categories?: {
1255
- id: string;
1256
- }[] | undefined;
1257
- tags?: {
1642
+ metadata?: Record<string, unknown> | undefined;
1643
+ sales_channels?: {
1258
1644
  id: string;
1259
1645
  }[] | undefined;
1646
+ brand_name?: string | undefined;
1647
+ }, {
1648
+ title: string;
1649
+ status?: "draft" | "proposed" | undefined;
1650
+ length?: number | undefined;
1260
1651
  options?: {
1261
1652
  values: string[];
1262
1653
  title: string;
1263
1654
  }[] | undefined;
1655
+ handle?: string | undefined;
1656
+ description?: string | undefined;
1264
1657
  variants?: {
1265
1658
  title: string;
1266
1659
  prices: {
@@ -1270,36 +1663,51 @@ export declare const CreateProduct: z.ZodObject<{
1270
1663
  max_quantity?: number | null | undefined;
1271
1664
  rules?: Record<string, string> | undefined;
1272
1665
  }[];
1666
+ length?: number | undefined;
1667
+ options?: Record<string, string> | undefined;
1668
+ width?: number | undefined;
1669
+ weight?: number | undefined;
1670
+ height?: number | undefined;
1671
+ origin_country?: string | undefined;
1672
+ hs_code?: string | undefined;
1673
+ mid_code?: string | undefined;
1674
+ material?: string | undefined;
1675
+ metadata?: Record<string, unknown> | undefined;
1273
1676
  sku?: string | undefined;
1274
1677
  ean?: string | undefined;
1275
1678
  upc?: string | undefined;
1276
1679
  barcode?: string | undefined;
1277
- hs_code?: string | undefined;
1278
- mid_code?: string | undefined;
1279
1680
  allow_backorder?: false | undefined;
1280
1681
  manage_inventory?: true | undefined;
1281
1682
  variant_rank?: number | undefined;
1282
- weight?: number | undefined;
1283
- length?: number | undefined;
1284
- height?: number | undefined;
1285
- width?: number | undefined;
1286
- origin_country?: string | undefined;
1287
- material?: string | undefined;
1288
- metadata?: Record<string, unknown> | undefined;
1289
- options?: Record<string, string> | undefined;
1290
1683
  inventory_items?: {
1291
1684
  inventory_item_id: string;
1292
1685
  required_quantity: number;
1293
1686
  }[] | undefined;
1294
1687
  }[] | undefined;
1688
+ subtitle?: string | undefined;
1689
+ is_giftcard?: boolean | undefined;
1690
+ thumbnail?: string | undefined;
1691
+ width?: number | undefined;
1295
1692
  weight?: number | undefined;
1296
- length?: number | undefined;
1297
1693
  height?: number | undefined;
1298
- width?: number | undefined;
1694
+ origin_country?: string | undefined;
1299
1695
  hs_code?: string | undefined;
1300
1696
  mid_code?: string | undefined;
1301
- origin_country?: string | undefined;
1302
1697
  material?: string | undefined;
1698
+ collection_id?: string | undefined;
1699
+ categories?: {
1700
+ id: string;
1701
+ }[] | undefined;
1702
+ type_id?: string | undefined;
1703
+ tags?: {
1704
+ id: string;
1705
+ }[] | undefined;
1706
+ images?: {
1707
+ url: string;
1708
+ }[] | undefined;
1709
+ discountable?: boolean | undefined;
1710
+ external_id?: string | undefined;
1303
1711
  metadata?: Record<string, unknown> | undefined;
1304
1712
  sales_channels?: {
1305
1713
  id: string;
@@ -1460,13 +1868,13 @@ export declare const UpdateProduct: z.ZodObject<{
1460
1868
  title: z.ZodOptional<z.ZodString>;
1461
1869
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1462
1870
  }, "strip", z.ZodTypeAny, {
1871
+ values?: string[] | undefined;
1463
1872
  id?: string | undefined;
1464
1873
  title?: string | undefined;
1465
- values?: string[] | undefined;
1466
1874
  }, {
1875
+ values?: string[] | undefined;
1467
1876
  id?: string | undefined;
1468
1877
  title?: string | undefined;
1469
- values?: string[] | undefined;
1470
1878
  }>, "many">>;
1471
1879
  variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1472
1880
  id: z.ZodOptional<z.ZodString>;
@@ -1511,8 +1919,19 @@ export declare const UpdateProduct: z.ZodObject<{
1511
1919
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1512
1920
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1513
1921
  }, "strict", z.ZodTypeAny, {
1922
+ length?: number | null | undefined;
1923
+ options?: Record<string, string> | undefined;
1514
1924
  id?: string | undefined;
1515
1925
  title?: string | undefined;
1926
+ width?: number | null | undefined;
1927
+ weight?: number | null | undefined;
1928
+ height?: number | null | undefined;
1929
+ origin_country?: string | null | undefined;
1930
+ hs_code?: string | null | undefined;
1931
+ mid_code?: string | null | undefined;
1932
+ material?: string | null | undefined;
1933
+ metadata?: Record<string, unknown> | null | undefined;
1934
+ sku?: string | null | undefined;
1516
1935
  prices?: {
1517
1936
  id?: string | undefined;
1518
1937
  currency_code?: string | undefined;
@@ -1521,26 +1940,26 @@ export declare const UpdateProduct: z.ZodObject<{
1521
1940
  max_quantity?: number | null | undefined;
1522
1941
  rules?: Record<string, string> | undefined;
1523
1942
  }[] | undefined;
1524
- sku?: string | null | undefined;
1525
1943
  ean?: string | null | undefined;
1526
1944
  upc?: string | null | undefined;
1527
1945
  barcode?: string | null | undefined;
1528
- hs_code?: string | null | undefined;
1529
- mid_code?: string | null | undefined;
1530
1946
  allow_backorder?: boolean | undefined;
1531
1947
  manage_inventory?: boolean | undefined;
1532
1948
  variant_rank?: number | undefined;
1533
- weight?: number | null | undefined;
1949
+ }, {
1534
1950
  length?: number | null | undefined;
1535
- height?: number | null | undefined;
1951
+ options?: Record<string, string> | undefined;
1952
+ id?: string | undefined;
1953
+ title?: string | undefined;
1536
1954
  width?: number | null | undefined;
1955
+ weight?: number | null | undefined;
1956
+ height?: number | null | undefined;
1537
1957
  origin_country?: string | null | undefined;
1958
+ hs_code?: string | null | undefined;
1959
+ mid_code?: string | null | undefined;
1538
1960
  material?: string | null | undefined;
1539
1961
  metadata?: Record<string, unknown> | null | undefined;
1540
- options?: Record<string, string> | undefined;
1541
- }, {
1542
- id?: string | undefined;
1543
- title?: string | undefined;
1962
+ sku?: string | null | undefined;
1544
1963
  prices?: {
1545
1964
  id?: string | undefined;
1546
1965
  currency_code?: string | undefined;
@@ -1549,23 +1968,12 @@ export declare const UpdateProduct: z.ZodObject<{
1549
1968
  max_quantity?: number | null | undefined;
1550
1969
  rules?: Record<string, string> | undefined;
1551
1970
  }[] | undefined;
1552
- sku?: string | null | undefined;
1553
1971
  ean?: string | null | undefined;
1554
1972
  upc?: string | null | undefined;
1555
1973
  barcode?: string | null | undefined;
1556
- hs_code?: string | null | undefined;
1557
- mid_code?: string | null | undefined;
1558
1974
  allow_backorder?: boolean | undefined;
1559
1975
  manage_inventory?: boolean | undefined;
1560
1976
  variant_rank?: number | undefined;
1561
- weight?: number | null | undefined;
1562
- length?: number | null | undefined;
1563
- height?: number | null | undefined;
1564
- width?: number | null | undefined;
1565
- origin_country?: string | null | undefined;
1566
- material?: string | null | undefined;
1567
- metadata?: Record<string, unknown> | null | undefined;
1568
- options?: Record<string, string> | undefined;
1569
1977
  }>, "many">>;
1570
1978
  subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1571
1979
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1612,17 +2020,28 @@ export declare const UpdateProduct: z.ZodObject<{
1612
2020
  id: string;
1613
2021
  }>, "many">>;
1614
2022
  }, "strict", z.ZodTypeAny, {
1615
- title?: string | undefined;
1616
- discountable?: boolean | undefined;
1617
- is_giftcard?: boolean | undefined;
2023
+ length?: number | null | undefined;
1618
2024
  options?: {
2025
+ values?: string[] | undefined;
1619
2026
  id?: string | undefined;
1620
2027
  title?: string | undefined;
1621
- values?: string[] | undefined;
1622
2028
  }[] | undefined;
2029
+ handle?: string | null | undefined;
2030
+ description?: string | null | undefined;
1623
2031
  variants?: {
2032
+ length?: number | null | undefined;
2033
+ options?: Record<string, string> | undefined;
1624
2034
  id?: string | undefined;
1625
2035
  title?: string | undefined;
2036
+ width?: number | null | undefined;
2037
+ weight?: number | null | undefined;
2038
+ height?: number | null | undefined;
2039
+ origin_country?: string | null | undefined;
2040
+ hs_code?: string | null | undefined;
2041
+ mid_code?: string | null | undefined;
2042
+ material?: string | null | undefined;
2043
+ metadata?: Record<string, unknown> | null | undefined;
2044
+ sku?: string | null | undefined;
1626
2045
  prices?: {
1627
2046
  id?: string | undefined;
1628
2047
  currency_code?: string | undefined;
@@ -1631,64 +2050,64 @@ export declare const UpdateProduct: z.ZodObject<{
1631
2050
  max_quantity?: number | null | undefined;
1632
2051
  rules?: Record<string, string> | undefined;
1633
2052
  }[] | undefined;
1634
- sku?: string | null | undefined;
1635
2053
  ean?: string | null | undefined;
1636
2054
  upc?: string | null | undefined;
1637
2055
  barcode?: string | null | undefined;
1638
- hs_code?: string | null | undefined;
1639
- mid_code?: string | null | undefined;
1640
2056
  allow_backorder?: boolean | undefined;
1641
2057
  manage_inventory?: boolean | undefined;
1642
2058
  variant_rank?: number | undefined;
1643
- weight?: number | null | undefined;
1644
- length?: number | null | undefined;
1645
- height?: number | null | undefined;
1646
- width?: number | null | undefined;
1647
- origin_country?: string | null | undefined;
1648
- material?: string | null | undefined;
1649
- metadata?: Record<string, unknown> | null | undefined;
1650
- options?: Record<string, string> | undefined;
1651
2059
  }[] | undefined;
2060
+ title?: string | undefined;
1652
2061
  subtitle?: string | null | undefined;
1653
- description?: string | null | undefined;
1654
- images?: {
1655
- url: string;
1656
- }[] | undefined;
2062
+ is_giftcard?: boolean | undefined;
1657
2063
  thumbnail?: string | null | undefined;
1658
- handle?: string | null | undefined;
1659
- type_id?: string | null | undefined;
1660
- external_id?: string | null | undefined;
2064
+ width?: number | null | undefined;
2065
+ weight?: number | null | undefined;
2066
+ height?: number | null | undefined;
2067
+ origin_country?: string | null | undefined;
2068
+ hs_code?: string | null | undefined;
2069
+ mid_code?: string | null | undefined;
2070
+ material?: string | null | undefined;
1661
2071
  collection_id?: string | null | undefined;
1662
2072
  categories?: {
1663
2073
  id: string;
1664
2074
  }[] | undefined;
2075
+ type_id?: string | null | undefined;
1665
2076
  tags?: {
1666
2077
  id: string;
1667
2078
  }[] | undefined;
1668
- weight?: number | null | undefined;
1669
- length?: number | null | undefined;
1670
- height?: number | null | undefined;
1671
- width?: number | null | undefined;
1672
- hs_code?: string | null | undefined;
1673
- mid_code?: string | null | undefined;
1674
- origin_country?: string | null | undefined;
1675
- material?: string | null | undefined;
2079
+ images?: {
2080
+ url: string;
2081
+ }[] | undefined;
2082
+ discountable?: boolean | undefined;
2083
+ external_id?: string | null | undefined;
1676
2084
  metadata?: Record<string, unknown> | null | undefined;
1677
2085
  sales_channels?: {
1678
2086
  id: string;
1679
2087
  }[] | undefined;
1680
2088
  }, {
1681
- title?: string | undefined;
1682
- discountable?: boolean | undefined;
1683
- is_giftcard?: boolean | undefined;
2089
+ length?: number | null | undefined;
1684
2090
  options?: {
2091
+ values?: string[] | undefined;
1685
2092
  id?: string | undefined;
1686
2093
  title?: string | undefined;
1687
- values?: string[] | undefined;
1688
2094
  }[] | undefined;
2095
+ handle?: string | null | undefined;
2096
+ description?: string | null | undefined;
1689
2097
  variants?: {
2098
+ length?: number | null | undefined;
2099
+ options?: Record<string, string> | undefined;
1690
2100
  id?: string | undefined;
1691
2101
  title?: string | undefined;
2102
+ width?: number | null | undefined;
2103
+ weight?: number | null | undefined;
2104
+ height?: number | null | undefined;
2105
+ origin_country?: string | null | undefined;
2106
+ hs_code?: string | null | undefined;
2107
+ mid_code?: string | null | undefined;
2108
+ material?: string | null | undefined;
2109
+ metadata?: Record<string, unknown> | null | undefined;
2110
+ sku?: string | null | undefined;
1692
2111
  prices?: {
1693
2112
  id?: string | undefined;
1694
2113
  currency_code?: string | undefined;
@@ -1697,48 +2116,37 @@ export declare const UpdateProduct: z.ZodObject<{
1697
2116
  max_quantity?: number | null | undefined;
1698
2117
  rules?: Record<string, string> | undefined;
1699
2118
  }[] | undefined;
1700
- sku?: string | null | undefined;
1701
2119
  ean?: string | null | undefined;
1702
2120
  upc?: string | null | undefined;
1703
2121
  barcode?: string | null | undefined;
1704
- hs_code?: string | null | undefined;
1705
- mid_code?: string | null | undefined;
1706
2122
  allow_backorder?: boolean | undefined;
1707
2123
  manage_inventory?: boolean | undefined;
1708
2124
  variant_rank?: number | undefined;
1709
- weight?: number | null | undefined;
1710
- length?: number | null | undefined;
1711
- height?: number | null | undefined;
1712
- width?: number | null | undefined;
1713
- origin_country?: string | null | undefined;
1714
- material?: string | null | undefined;
1715
- metadata?: Record<string, unknown> | null | undefined;
1716
- options?: Record<string, string> | undefined;
1717
2125
  }[] | undefined;
2126
+ title?: string | undefined;
1718
2127
  subtitle?: string | null | undefined;
1719
- description?: string | null | undefined;
1720
- images?: {
1721
- url: string;
1722
- }[] | undefined;
2128
+ is_giftcard?: boolean | undefined;
1723
2129
  thumbnail?: string | null | undefined;
1724
- handle?: string | null | undefined;
1725
- type_id?: string | null | undefined;
1726
- external_id?: string | null | undefined;
2130
+ width?: number | null | undefined;
2131
+ weight?: number | null | undefined;
2132
+ height?: number | null | undefined;
2133
+ origin_country?: string | null | undefined;
2134
+ hs_code?: string | null | undefined;
2135
+ mid_code?: string | null | undefined;
2136
+ material?: string | null | undefined;
1727
2137
  collection_id?: string | null | undefined;
1728
2138
  categories?: {
1729
2139
  id: string;
1730
2140
  }[] | undefined;
2141
+ type_id?: string | null | undefined;
1731
2142
  tags?: {
1732
2143
  id: string;
1733
2144
  }[] | undefined;
1734
- weight?: number | null | undefined;
1735
- length?: number | null | undefined;
1736
- height?: number | null | undefined;
1737
- width?: number | null | undefined;
1738
- hs_code?: string | null | undefined;
1739
- mid_code?: string | null | undefined;
1740
- origin_country?: string | null | undefined;
1741
- material?: string | null | undefined;
2145
+ images?: {
2146
+ url: string;
2147
+ }[] | undefined;
2148
+ discountable?: boolean | undefined;
2149
+ external_id?: string | null | undefined;
1742
2150
  metadata?: Record<string, unknown> | null | undefined;
1743
2151
  sales_channels?: {
1744
2152
  id: string;
@@ -1784,6 +2192,7 @@ export declare const VendorUpdateProductStatus: z.ZodObject<{
1784
2192
  export type AdminGetAttributesParamsType = z.infer<typeof AdminGetAttributesParams>;
1785
2193
  export declare const AdminGetAttributesParams: z.ZodObject<{
1786
2194
  fields: z.ZodOptional<z.ZodString>;
2195
+ } & {
1787
2196
  offset: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
1788
2197
  limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
1789
2198
  order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -1791,13 +2200,13 @@ export declare const AdminGetAttributesParams: z.ZodObject<{
1791
2200
  }, "strip", z.ZodTypeAny, {
1792
2201
  offset: number;
1793
2202
  limit: number;
1794
- fields?: string | undefined;
1795
2203
  order?: string | undefined;
2204
+ fields?: string | undefined;
1796
2205
  with_deleted?: boolean | undefined;
1797
2206
  }, {
2207
+ order?: string | undefined;
1798
2208
  fields?: string | undefined;
1799
2209
  offset?: unknown;
1800
2210
  limit?: unknown;
1801
- order?: string | undefined;
1802
2211
  with_deleted?: unknown;
1803
2212
  }>;