@medusajs/medusa 2.8.8-snapshot-20250714100811 → 2.8.8-snapshot-20250714120129

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 (119) hide show
  1. package/dist/api/admin/api-keys/validators.d.ts +33 -383
  2. package/dist/api/admin/api-keys/validators.d.ts.map +1 -1
  3. package/dist/api/admin/campaigns/validators.d.ts +43 -65
  4. package/dist/api/admin/campaigns/validators.d.ts.map +1 -1
  5. package/dist/api/admin/claims/validators.d.ts +61 -64
  6. package/dist/api/admin/claims/validators.d.ts.map +1 -1
  7. package/dist/api/admin/collections/validators.d.ts +34 -288
  8. package/dist/api/admin/collections/validators.d.ts.map +1 -1
  9. package/dist/api/admin/currencies/validators.d.ts +27 -23
  10. package/dist/api/admin/currencies/validators.d.ts.map +1 -1
  11. package/dist/api/admin/customer-groups/validators.d.ts +65 -763
  12. package/dist/api/admin/customer-groups/validators.d.ts.map +1 -1
  13. package/dist/api/admin/customers/validators.d.ts +62 -726
  14. package/dist/api/admin/customers/validators.d.ts.map +1 -1
  15. package/dist/api/admin/draft-orders/validators.d.ts +160 -330
  16. package/dist/api/admin/draft-orders/validators.d.ts.map +1 -1
  17. package/dist/api/admin/exchanges/validators.d.ts +49 -52
  18. package/dist/api/admin/exchanges/validators.d.ts.map +1 -1
  19. package/dist/api/admin/fulfillment-providers/validators.d.ts +7 -9
  20. package/dist/api/admin/fulfillment-providers/validators.d.ts.map +1 -1
  21. package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts +4 -8
  22. package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts.map +1 -1
  23. package/dist/api/admin/fulfillment-sets/validators.d.ts +30 -42
  24. package/dist/api/admin/fulfillment-sets/validators.d.ts.map +1 -1
  25. package/dist/api/admin/fulfillments/validators.d.ts +6 -6
  26. package/dist/api/admin/inventory-items/validators.d.ts +108 -492
  27. package/dist/api/admin/inventory-items/validators.d.ts.map +1 -1
  28. package/dist/api/admin/invites/validators.d.ts +27 -282
  29. package/dist/api/admin/invites/validators.d.ts.map +1 -1
  30. package/dist/api/admin/notifications/validators.d.ts +27 -29
  31. package/dist/api/admin/notifications/validators.d.ts.map +1 -1
  32. package/dist/api/admin/order-edits/validators.d.ts +22 -22
  33. package/dist/api/admin/orders/validators.d.ts +46 -51
  34. package/dist/api/admin/orders/validators.d.ts.map +1 -1
  35. package/dist/api/admin/payments/validators.d.ts +54 -304
  36. package/dist/api/admin/payments/validators.d.ts.map +1 -1
  37. package/dist/api/admin/price-lists/validators.d.ts +54 -230
  38. package/dist/api/admin/price-lists/validators.d.ts.map +1 -1
  39. package/dist/api/admin/price-preferences/validators.d.ts +31 -39
  40. package/dist/api/admin/price-preferences/validators.d.ts.map +1 -1
  41. package/dist/api/admin/product-categories/validators.d.ts +48 -339
  42. package/dist/api/admin/product-categories/validators.d.ts.map +1 -1
  43. package/dist/api/admin/product-tags/validators.d.ts +27 -281
  44. package/dist/api/admin/product-tags/validators.d.ts.map +1 -1
  45. package/dist/api/admin/product-types/validators.d.ts +27 -281
  46. package/dist/api/admin/product-types/validators.d.ts.map +1 -1
  47. package/dist/api/admin/product-variants/validators.d.ts +31 -291
  48. package/dist/api/admin/product-variants/validators.d.ts.map +1 -1
  49. package/dist/api/admin/products/validators.d.ts +537 -1983
  50. package/dist/api/admin/products/validators.d.ts.map +1 -1
  51. package/dist/api/admin/products/validators.js.map +1 -1
  52. package/dist/api/admin/promotions/validators.d.ts +125 -486
  53. package/dist/api/admin/promotions/validators.d.ts.map +1 -1
  54. package/dist/api/admin/refund-reasons/validators.d.ts +10 -12
  55. package/dist/api/admin/refund-reasons/validators.d.ts.map +1 -1
  56. package/dist/api/admin/regions/validators.d.ts +41 -301
  57. package/dist/api/admin/regions/validators.d.ts.map +1 -1
  58. package/dist/api/admin/reservations/validators.d.ts +23 -25
  59. package/dist/api/admin/reservations/validators.d.ts.map +1 -1
  60. package/dist/api/admin/return-reasons/validators.d.ts +45 -318
  61. package/dist/api/admin/return-reasons/validators.d.ts.map +1 -1
  62. package/dist/api/admin/returns/validators.d.ts +45 -48
  63. package/dist/api/admin/returns/validators.d.ts.map +1 -1
  64. package/dist/api/admin/sales-channels/validators.d.ts +20 -309
  65. package/dist/api/admin/sales-channels/validators.d.ts.map +1 -1
  66. package/dist/api/admin/shipping-options/validators.d.ts +67 -69
  67. package/dist/api/admin/shipping-options/validators.d.ts.map +1 -1
  68. package/dist/api/admin/shipping-profiles/validators.d.ts +31 -291
  69. package/dist/api/admin/shipping-profiles/validators.d.ts.map +1 -1
  70. package/dist/api/admin/stock-locations/validators.d.ts +50 -333
  71. package/dist/api/admin/stock-locations/validators.d.ts.map +1 -1
  72. package/dist/api/admin/stores/validators.d.ts +38 -40
  73. package/dist/api/admin/stores/validators.d.ts.map +1 -1
  74. package/dist/api/admin/tax-providers/validators.d.ts +25 -21
  75. package/dist/api/admin/tax-providers/validators.d.ts.map +1 -1
  76. package/dist/api/admin/tax-rates/validators.d.ts +42 -374
  77. package/dist/api/admin/tax-rates/validators.d.ts.map +1 -1
  78. package/dist/api/admin/tax-regions/validators.d.ts +42 -548
  79. package/dist/api/admin/tax-regions/validators.d.ts.map +1 -1
  80. package/dist/api/admin/users/validators.d.ts +13 -15
  81. package/dist/api/admin/users/validators.d.ts.map +1 -1
  82. package/dist/api/admin/workflows-executions/validators.d.ts +5 -7
  83. package/dist/api/admin/workflows-executions/validators.d.ts.map +1 -1
  84. package/dist/api/store/carts/validators.d.ts +44 -44
  85. package/dist/api/store/collections/validators.d.ts +30 -200
  86. package/dist/api/store/collections/validators.d.ts.map +1 -1
  87. package/dist/api/store/currencies/validators.d.ts +27 -23
  88. package/dist/api/store/currencies/validators.d.ts.map +1 -1
  89. package/dist/api/store/customers/validators.d.ts +13 -17
  90. package/dist/api/store/customers/validators.d.ts.map +1 -1
  91. package/dist/api/store/orders/validators.d.ts +25 -21
  92. package/dist/api/store/orders/validators.d.ts.map +1 -1
  93. package/dist/api/store/payment-providers/validators.d.ts +1 -3
  94. package/dist/api/store/payment-providers/validators.d.ts.map +1 -1
  95. package/dist/api/store/product-categories/validators.d.ts +33 -318
  96. package/dist/api/store/product-categories/validators.d.ts.map +1 -1
  97. package/dist/api/store/product-tags/validators.d.ts +27 -281
  98. package/dist/api/store/product-tags/validators.d.ts.map +1 -1
  99. package/dist/api/store/product-types/validators.d.ts +27 -281
  100. package/dist/api/store/product-types/validators.d.ts.map +1 -1
  101. package/dist/api/store/products/validators.d.ts +83 -666
  102. package/dist/api/store/products/validators.d.ts.map +1 -1
  103. package/dist/api/store/products/validators.js.map +1 -1
  104. package/dist/api/store/regions/validators.d.ts +29 -37
  105. package/dist/api/store/regions/validators.d.ts.map +1 -1
  106. package/dist/api/store/return-reasons/validators.d.ts +2 -3
  107. package/dist/api/store/return-reasons/validators.d.ts.map +1 -1
  108. package/dist/api/store/returns/validators.d.ts +27 -23
  109. package/dist/api/store/returns/validators.d.ts.map +1 -1
  110. package/dist/api/store/shipping-options/validators.d.ts +25 -21
  111. package/dist/api/store/shipping-options/validators.d.ts.map +1 -1
  112. package/dist/api/utils/common-validators/common.d.ts +31 -10
  113. package/dist/api/utils/common-validators/common.d.ts.map +1 -1
  114. package/dist/api/utils/common-validators/common.js.map +1 -1
  115. package/dist/api/utils/common-validators/products/index.d.ts +15 -16
  116. package/dist/api/utils/common-validators/products/index.d.ts.map +1 -1
  117. package/dist/api/utils/validators.d.ts +4 -5
  118. package/dist/api/utils/validators.d.ts.map +1 -1
  119. package/package.json +50 -50
@@ -179,419 +179,61 @@ export declare const AdminGetPromotionsParamsFields: z.ZodObject<{
179
179
  $lte?: any;
180
180
  }>]>>;
181
181
  }, "strip", z.ZodTypeAny, {
182
- created_at?: any;
183
- updated_at?: any;
184
- deleted_at?: any;
185
- code?: any;
186
182
  q?: string | undefined;
183
+ code?: any;
187
184
  campaign_id?: string | string[] | undefined;
188
185
  application_method?: {
189
186
  currency_code?: string | string[] | undefined;
190
187
  } | undefined;
191
- }, {
192
188
  created_at?: any;
193
189
  updated_at?: any;
194
190
  deleted_at?: any;
195
- code?: any;
191
+ }, {
196
192
  q?: string | undefined;
193
+ code?: any;
197
194
  campaign_id?: string | string[] | undefined;
198
195
  application_method?: {
199
196
  currency_code?: string | string[] | undefined;
200
197
  } | undefined;
198
+ created_at?: any;
199
+ updated_at?: any;
200
+ deleted_at?: any;
201
201
  }>;
202
202
  export type AdminGetPromotionsParamsType = z.infer<typeof AdminGetPromotionsParams>;
203
- export declare const AdminGetPromotionsParams: z.ZodObject<{} & {
203
+ export declare const AdminGetPromotionsParams: z.ZodObject<{
204
204
  [x: string]: any;
205
- $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
206
- q: z.ZodOptional<z.ZodString>;
207
- code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodUnion<[any, z.ZodObject<{
208
- $eq: any;
209
- $ne: any;
210
- $in: any;
211
- $nin: any;
212
- $like: any;
213
- $ilike: any;
214
- $re: any;
215
- $contains: any;
216
- $gt: any;
217
- $gte: any;
218
- $lt: any;
219
- $lte: any;
220
- }, "strip", z.ZodTypeAny, {
221
- $eq?: any;
222
- $ne?: any;
223
- $in?: any;
224
- $nin?: any;
225
- $like?: any;
226
- $ilike?: any;
227
- $re?: any;
228
- $contains?: any;
229
- $gt?: any;
230
- $gte?: any;
231
- $lt?: any;
232
- $lte?: any;
233
- }, {
234
- $eq?: any;
235
- $ne?: any;
236
- $in?: any;
237
- $nin?: any;
238
- $like?: any;
239
- $ilike?: any;
240
- $re?: any;
241
- $contains?: any;
242
- $gt?: any;
243
- $gte?: any;
244
- $lt?: any;
245
- $lte?: any;
246
- }>]>]>>;
247
- campaign_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
248
- application_method: z.ZodOptional<z.ZodObject<{
249
- currency_code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
250
- }, "strip", z.ZodTypeAny, {
251
- currency_code?: string | string[] | undefined;
252
- }, {
253
- currency_code?: string | string[] | undefined;
254
- }>>;
255
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
256
- $eq: any;
257
- $ne: any;
258
- $in: any;
259
- $nin: any;
260
- $like: any;
261
- $ilike: any;
262
- $re: any;
263
- $contains: any;
264
- $gt: any;
265
- $gte: any;
266
- $lt: any;
267
- $lte: any;
268
- }, "strip", z.ZodTypeAny, {
269
- $eq?: any;
270
- $ne?: any;
271
- $in?: any;
272
- $nin?: any;
273
- $like?: any;
274
- $ilike?: any;
275
- $re?: any;
276
- $contains?: any;
277
- $gt?: any;
278
- $gte?: any;
279
- $lt?: any;
280
- $lte?: any;
281
- }, {
282
- $eq?: any;
283
- $ne?: any;
284
- $in?: any;
285
- $nin?: any;
286
- $like?: any;
287
- $ilike?: any;
288
- $re?: any;
289
- $contains?: any;
290
- $gt?: any;
291
- $gte?: any;
292
- $lt?: any;
293
- $lte?: any;
294
- }>]>>;
295
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
296
- $eq: any;
297
- $ne: any;
298
- $in: any;
299
- $nin: any;
300
- $like: any;
301
- $ilike: any;
302
- $re: any;
303
- $contains: any;
304
- $gt: any;
305
- $gte: any;
306
- $lt: any;
307
- $lte: any;
308
- }, "strip", z.ZodTypeAny, {
309
- $eq?: any;
310
- $ne?: any;
311
- $in?: any;
312
- $nin?: any;
313
- $like?: any;
314
- $ilike?: any;
315
- $re?: any;
316
- $contains?: any;
317
- $gt?: any;
318
- $gte?: any;
319
- $lt?: any;
320
- $lte?: any;
321
- }, {
322
- $eq?: any;
323
- $ne?: any;
324
- $in?: any;
325
- $nin?: any;
326
- $like?: any;
327
- $ilike?: any;
328
- $re?: any;
329
- $contains?: any;
330
- $gt?: any;
331
- $gte?: any;
332
- $lt?: any;
333
- $lte?: any;
334
- }>]>>;
335
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
336
- $eq: any;
337
- $ne: any;
338
- $in: any;
339
- $nin: any;
340
- $like: any;
341
- $ilike: any;
342
- $re: any;
343
- $contains: any;
344
- $gt: any;
345
- $gte: any;
346
- $lt: any;
347
- $lte: any;
348
- }, "strip", z.ZodTypeAny, {
349
- $eq?: any;
350
- $ne?: any;
351
- $in?: any;
352
- $nin?: any;
353
- $like?: any;
354
- $ilike?: any;
355
- $re?: any;
356
- $contains?: any;
357
- $gt?: any;
358
- $gte?: any;
359
- $lt?: any;
360
- $lte?: any;
361
- }, {
362
- $eq?: any;
363
- $ne?: any;
364
- $in?: any;
365
- $nin?: any;
366
- $like?: any;
367
- $ilike?: any;
368
- $re?: any;
369
- $contains?: any;
370
- $gt?: any;
371
- $gte?: any;
372
- $lt?: any;
373
- $lte?: any;
374
- }>]>>;
375
- }, "strip", z.ZodTypeAny, {
376
- created_at?: any;
377
- updated_at?: any;
378
- deleted_at?: any;
379
- code?: any;
380
- q?: string | undefined;
381
- campaign_id?: string | string[] | undefined;
382
- application_method?: {
383
- currency_code?: string | string[] | undefined;
384
- } | undefined;
205
+ [x: number]: any;
206
+ [x: symbol]: any;
207
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
208
+ [x: string]: any;
385
209
  }, {
386
- created_at?: any;
387
- updated_at?: any;
388
- deleted_at?: any;
389
- code?: any;
390
- q?: string | undefined;
391
- campaign_id?: string | string[] | undefined;
392
- application_method?: {
393
- currency_code?: string | string[] | undefined;
394
- } | undefined;
210
+ [x: string]: any;
395
211
  }>, "many">>>;
396
- $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
397
- q: z.ZodOptional<z.ZodString>;
398
- code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodUnion<[any, z.ZodObject<{
399
- $eq: any;
400
- $ne: any;
401
- $in: any;
402
- $nin: any;
403
- $like: any;
404
- $ilike: any;
405
- $re: any;
406
- $contains: any;
407
- $gt: any;
408
- $gte: any;
409
- $lt: any;
410
- $lte: any;
411
- }, "strip", z.ZodTypeAny, {
412
- $eq?: any;
413
- $ne?: any;
414
- $in?: any;
415
- $nin?: any;
416
- $like?: any;
417
- $ilike?: any;
418
- $re?: any;
419
- $contains?: any;
420
- $gt?: any;
421
- $gte?: any;
422
- $lt?: any;
423
- $lte?: any;
424
- }, {
425
- $eq?: any;
426
- $ne?: any;
427
- $in?: any;
428
- $nin?: any;
429
- $like?: any;
430
- $ilike?: any;
431
- $re?: any;
432
- $contains?: any;
433
- $gt?: any;
434
- $gte?: any;
435
- $lt?: any;
436
- $lte?: any;
437
- }>]>]>>;
438
- campaign_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
439
- application_method: z.ZodOptional<z.ZodObject<{
440
- currency_code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
441
- }, "strip", z.ZodTypeAny, {
442
- currency_code?: string | string[] | undefined;
443
- }, {
444
- currency_code?: string | string[] | undefined;
445
- }>>;
446
- created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
447
- $eq: any;
448
- $ne: any;
449
- $in: any;
450
- $nin: any;
451
- $like: any;
452
- $ilike: any;
453
- $re: any;
454
- $contains: any;
455
- $gt: any;
456
- $gte: any;
457
- $lt: any;
458
- $lte: any;
459
- }, "strip", z.ZodTypeAny, {
460
- $eq?: any;
461
- $ne?: any;
462
- $in?: any;
463
- $nin?: any;
464
- $like?: any;
465
- $ilike?: any;
466
- $re?: any;
467
- $contains?: any;
468
- $gt?: any;
469
- $gte?: any;
470
- $lt?: any;
471
- $lte?: any;
472
- }, {
473
- $eq?: any;
474
- $ne?: any;
475
- $in?: any;
476
- $nin?: any;
477
- $like?: any;
478
- $ilike?: any;
479
- $re?: any;
480
- $contains?: any;
481
- $gt?: any;
482
- $gte?: any;
483
- $lt?: any;
484
- $lte?: any;
485
- }>]>>;
486
- updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
487
- $eq: any;
488
- $ne: any;
489
- $in: any;
490
- $nin: any;
491
- $like: any;
492
- $ilike: any;
493
- $re: any;
494
- $contains: any;
495
- $gt: any;
496
- $gte: any;
497
- $lt: any;
498
- $lte: any;
499
- }, "strip", z.ZodTypeAny, {
500
- $eq?: any;
501
- $ne?: any;
502
- $in?: any;
503
- $nin?: any;
504
- $like?: any;
505
- $ilike?: any;
506
- $re?: any;
507
- $contains?: any;
508
- $gt?: any;
509
- $gte?: any;
510
- $lt?: any;
511
- $lte?: any;
512
- }, {
513
- $eq?: any;
514
- $ne?: any;
515
- $in?: any;
516
- $nin?: any;
517
- $like?: any;
518
- $ilike?: any;
519
- $re?: any;
520
- $contains?: any;
521
- $gt?: any;
522
- $gte?: any;
523
- $lt?: any;
524
- $lte?: any;
525
- }>]>>;
526
- deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
527
- $eq: any;
528
- $ne: any;
529
- $in: any;
530
- $nin: any;
531
- $like: any;
532
- $ilike: any;
533
- $re: any;
534
- $contains: any;
535
- $gt: any;
536
- $gte: any;
537
- $lt: any;
538
- $lte: any;
539
- }, "strip", z.ZodTypeAny, {
540
- $eq?: any;
541
- $ne?: any;
542
- $in?: any;
543
- $nin?: any;
544
- $like?: any;
545
- $ilike?: any;
546
- $re?: any;
547
- $contains?: any;
548
- $gt?: any;
549
- $gte?: any;
550
- $lt?: any;
551
- $lte?: any;
552
- }, {
553
- $eq?: any;
554
- $ne?: any;
555
- $in?: any;
556
- $nin?: any;
557
- $like?: any;
558
- $ilike?: any;
559
- $re?: any;
560
- $contains?: any;
561
- $gt?: any;
562
- $gte?: any;
563
- $lt?: any;
564
- $lte?: any;
565
- }>]>>;
566
- }, "strip", z.ZodTypeAny, {
567
- created_at?: any;
568
- updated_at?: any;
569
- deleted_at?: any;
570
- code?: any;
571
- q?: string | undefined;
572
- campaign_id?: string | string[] | undefined;
573
- application_method?: {
574
- currency_code?: string | string[] | undefined;
575
- } | undefined;
212
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
213
+ [x: string]: any;
576
214
  }, {
577
- created_at?: any;
578
- updated_at?: any;
579
- deleted_at?: any;
580
- code?: any;
581
- q?: string | undefined;
582
- campaign_id?: string | string[] | undefined;
583
- application_method?: {
584
- currency_code?: string | string[] | undefined;
585
- } | undefined;
215
+ [x: string]: any;
586
216
  }>, "many">>>;
587
217
  }, "strict", z.ZodTypeAny, {
588
218
  [x: string]: any;
589
- $and?: unknown;
590
- $or?: unknown;
219
+ [x: number]: any;
220
+ [x: symbol]: any;
221
+ $and?: {
222
+ [x: string]: any;
223
+ }[] | undefined;
224
+ $or?: {
225
+ [x: string]: any;
226
+ }[] | undefined;
591
227
  }, {
592
228
  [x: string]: any;
593
- $and?: unknown;
594
- $or?: unknown;
229
+ [x: number]: any;
230
+ [x: symbol]: any;
231
+ $and?: {
232
+ [x: string]: any;
233
+ }[] | undefined;
234
+ $or?: {
235
+ [x: string]: any;
236
+ }[] | undefined;
595
237
  }>;
596
238
  export type AdminGetPromotionRuleParamsType = z.infer<typeof AdminGetPromotionRuleParams>;
597
239
  export declare const AdminGetPromotionRuleParams: z.ZodObject<{
@@ -607,7 +249,6 @@ export declare const AdminGetPromotionRuleParams: z.ZodObject<{
607
249
  export type AdminGetPromotionRuleTypeParamsType = z.infer<typeof AdminGetPromotionRuleTypeParams>;
608
250
  export declare const AdminGetPromotionRuleTypeParams: z.ZodObject<{
609
251
  fields: z.ZodOptional<z.ZodString>;
610
- } & {
611
252
  promotion_type: z.ZodOptional<z.ZodString>;
612
253
  application_method_type: z.ZodOptional<z.ZodString>;
613
254
  }, "strip", z.ZodTypeAny, {
@@ -621,31 +262,29 @@ export declare const AdminGetPromotionRuleTypeParams: z.ZodObject<{
621
262
  }>;
622
263
  export type AdminGetPromotionsRuleValueParamsType = z.infer<typeof AdminGetPromotionsRuleValueParams>;
623
264
  export declare const AdminGetPromotionsRuleValueParams: z.ZodObject<{
265
+ order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
624
266
  fields: z.ZodOptional<z.ZodString>;
625
- } & {
626
267
  offset: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
627
268
  limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
628
- order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
629
269
  with_deleted: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
630
- } & {
631
270
  q: z.ZodOptional<z.ZodString>;
632
271
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
633
272
  }, "strip", z.ZodTypeAny, {
634
273
  offset: number;
635
274
  limit: number;
636
275
  order?: string | undefined;
637
- value?: string | string[] | undefined;
638
276
  fields?: string | undefined;
639
277
  with_deleted?: boolean | undefined;
640
278
  q?: string | undefined;
279
+ value?: string | string[] | undefined;
641
280
  }, {
642
281
  order?: string | undefined;
643
- value?: string | string[] | undefined;
644
282
  fields?: string | undefined;
645
283
  offset?: unknown;
646
284
  limit?: unknown;
647
285
  with_deleted?: unknown;
648
286
  q?: string | undefined;
287
+ value?: string | string[] | undefined;
649
288
  }>;
650
289
  export type AdminCreatePromotionRuleType = z.infer<typeof AdminCreatePromotionRule>;
651
290
  export declare const AdminCreatePromotionRule: z.ZodObject<{
@@ -654,12 +293,12 @@ export declare const AdminCreatePromotionRule: z.ZodObject<{
654
293
  attribute: z.ZodString;
655
294
  values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
656
295
  }, "strict", z.ZodTypeAny, {
657
- values: string | string[];
296
+ values: (string | string[]) & (string | string[] | undefined);
658
297
  attribute: string;
659
298
  operator: PromotionRuleOperator;
660
299
  description?: string | null | undefined;
661
300
  }, {
662
- values: string | string[];
301
+ values: (string | string[]) & (string | string[] | undefined);
663
302
  attribute: string;
664
303
  operator: PromotionRuleOperator;
665
304
  description?: string | null | undefined;
@@ -672,17 +311,17 @@ export declare const AdminUpdatePromotionRule: z.ZodObject<{
672
311
  attribute: z.ZodOptional<z.ZodString>;
673
312
  values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
674
313
  }, "strict", z.ZodTypeAny, {
675
- values: string | string[];
314
+ values: (string | string[]) & (string | string[] | undefined);
676
315
  id: string;
316
+ operator?: PromotionRuleOperator | undefined;
677
317
  description?: string | null | undefined;
678
318
  attribute?: string | undefined;
679
- operator?: PromotionRuleOperator | undefined;
680
319
  }, {
681
- values: string | string[];
320
+ values: (string | string[]) & (string | string[] | undefined);
682
321
  id: string;
322
+ operator?: PromotionRuleOperator | undefined;
683
323
  description?: string | null | undefined;
684
324
  attribute?: string | undefined;
685
- operator?: PromotionRuleOperator | undefined;
686
325
  }>;
687
326
  export type AdminCreateApplicationMethodType = z.infer<typeof AdminCreateApplicationMethod>;
688
327
  export declare const AdminCreateApplicationMethod: z.ZodObject<{
@@ -699,12 +338,12 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
699
338
  attribute: z.ZodString;
700
339
  values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
701
340
  }, "strict", z.ZodTypeAny, {
702
- values: string | string[];
341
+ values: (string | string[]) & (string | string[] | undefined);
703
342
  attribute: string;
704
343
  operator: PromotionRuleOperator;
705
344
  description?: string | null | undefined;
706
345
  }, {
707
- values: string | string[];
346
+ values: (string | string[]) & (string | string[] | undefined);
708
347
  attribute: string;
709
348
  operator: PromotionRuleOperator;
710
349
  description?: string | null | undefined;
@@ -715,12 +354,12 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
715
354
  attribute: z.ZodString;
716
355
  values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
717
356
  }, "strict", z.ZodTypeAny, {
718
- values: string | string[];
357
+ values: (string | string[]) & (string | string[] | undefined);
719
358
  attribute: string;
720
359
  operator: PromotionRuleOperator;
721
360
  description?: string | null | undefined;
722
361
  }, {
723
- values: string | string[];
362
+ values: (string | string[]) & (string | string[] | undefined);
724
363
  attribute: string;
725
364
  operator: PromotionRuleOperator;
726
365
  description?: string | null | undefined;
@@ -731,18 +370,18 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
731
370
  type: ApplicationMethodType;
732
371
  value: number;
733
372
  target_type: ApplicationMethodTargetType;
734
- currency_code?: string | null | undefined;
735
373
  description?: string | null | undefined;
374
+ currency_code?: string | null | undefined;
736
375
  max_quantity?: number | null | undefined;
737
376
  allocation?: ApplicationMethodAllocation | undefined;
738
377
  target_rules?: {
739
- values: string | string[];
378
+ values: (string | string[]) & (string | string[] | undefined);
740
379
  attribute: string;
741
380
  operator: PromotionRuleOperator;
742
381
  description?: string | null | undefined;
743
382
  }[] | undefined;
744
383
  buy_rules?: {
745
- values: string | string[];
384
+ values: (string | string[]) & (string | string[] | undefined);
746
385
  attribute: string;
747
386
  operator: PromotionRuleOperator;
748
387
  description?: string | null | undefined;
@@ -753,18 +392,18 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
753
392
  type: ApplicationMethodType;
754
393
  value: number;
755
394
  target_type: ApplicationMethodTargetType;
756
- currency_code?: string | null | undefined;
757
395
  description?: string | null | undefined;
396
+ currency_code?: string | null | undefined;
758
397
  max_quantity?: number | null | undefined;
759
398
  allocation?: ApplicationMethodAllocation | undefined;
760
399
  target_rules?: {
761
- values: string | string[];
400
+ values: (string | string[]) & (string | string[] | undefined);
762
401
  attribute: string;
763
402
  operator: PromotionRuleOperator;
764
403
  description?: string | null | undefined;
765
404
  }[] | undefined;
766
405
  buy_rules?: {
767
- values: string | string[];
406
+ values: (string | string[]) & (string | string[] | undefined);
768
407
  attribute: string;
769
408
  operator: PromotionRuleOperator;
770
409
  description?: string | null | undefined;
@@ -784,21 +423,21 @@ export declare const AdminUpdateApplicationMethod: z.ZodObject<{
784
423
  apply_to_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
785
424
  buy_rules_min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
786
425
  }, "strict", z.ZodTypeAny, {
787
- type?: ApplicationMethodType | undefined;
788
- value?: number | undefined;
789
- currency_code?: string | null | undefined;
790
426
  description?: string | null | undefined;
427
+ value?: number | undefined;
791
428
  max_quantity?: number | null | undefined;
429
+ currency_code?: string | null | undefined;
430
+ type?: ApplicationMethodType | undefined;
792
431
  target_type?: ApplicationMethodTargetType | undefined;
793
432
  allocation?: ApplicationMethodAllocation | undefined;
794
433
  apply_to_quantity?: number | null | undefined;
795
434
  buy_rules_min_quantity?: number | null | undefined;
796
435
  }, {
797
- type?: ApplicationMethodType | undefined;
798
- value?: number | undefined;
799
- currency_code?: string | null | undefined;
800
436
  description?: string | null | undefined;
437
+ value?: number | undefined;
801
438
  max_quantity?: number | null | undefined;
439
+ currency_code?: string | null | undefined;
440
+ type?: ApplicationMethodType | undefined;
802
441
  target_type?: ApplicationMethodTargetType | undefined;
803
442
  allocation?: ApplicationMethodAllocation | undefined;
804
443
  apply_to_quantity?: number | null | undefined;
@@ -822,28 +461,28 @@ export declare const CreatePromotion: z.ZodObject<{
822
461
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
823
462
  }, "strict", z.ZodTypeAny, {
824
463
  type: import("@medusajs/framework/utils").CampaignBudgetType;
825
- currency_code?: string | null | undefined;
826
464
  limit?: number | null | undefined;
465
+ currency_code?: string | null | undefined;
827
466
  }, {
828
467
  type: import("@medusajs/framework/utils").CampaignBudgetType;
829
- currency_code?: string | null | undefined;
830
468
  limit?: number | null | undefined;
469
+ currency_code?: string | null | undefined;
831
470
  }>, {
832
471
  type: import("@medusajs/framework/utils").CampaignBudgetType;
833
- currency_code?: string | null | undefined;
834
472
  limit?: number | null | undefined;
473
+ currency_code?: string | null | undefined;
835
474
  }, {
836
475
  type: import("@medusajs/framework/utils").CampaignBudgetType;
837
- currency_code?: string | null | undefined;
838
476
  limit?: number | null | undefined;
477
+ currency_code?: string | null | undefined;
839
478
  }>, {
840
479
  type: import("@medusajs/framework/utils").CampaignBudgetType;
841
- currency_code?: string | null | undefined;
842
480
  limit?: number | null | undefined;
481
+ currency_code?: string | null | undefined;
843
482
  }, {
844
483
  type: import("@medusajs/framework/utils").CampaignBudgetType;
845
- currency_code?: string | null | undefined;
846
484
  limit?: number | null | undefined;
485
+ currency_code?: string | null | undefined;
847
486
  }>>>;
848
487
  starts_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
849
488
  ends_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -851,24 +490,24 @@ export declare const CreatePromotion: z.ZodObject<{
851
490
  name: string;
852
491
  campaign_identifier: string;
853
492
  description?: string | null | undefined;
854
- starts_at?: Date | null | undefined;
855
- ends_at?: Date | null | undefined;
856
493
  budget?: {
857
494
  type: import("@medusajs/framework/utils").CampaignBudgetType;
858
- currency_code?: string | null | undefined;
859
495
  limit?: number | null | undefined;
496
+ currency_code?: string | null | undefined;
860
497
  } | null | undefined;
498
+ starts_at?: Date | null | undefined;
499
+ ends_at?: Date | null | undefined;
861
500
  }, {
862
501
  name: string;
863
502
  campaign_identifier: string;
864
503
  description?: string | null | undefined;
865
- starts_at?: Date | null | undefined;
866
- ends_at?: Date | null | undefined;
867
504
  budget?: {
868
505
  type: import("@medusajs/framework/utils").CampaignBudgetType;
869
- currency_code?: string | null | undefined;
870
506
  limit?: number | null | undefined;
507
+ currency_code?: string | null | undefined;
871
508
  } | null | undefined;
509
+ starts_at?: Date | null | undefined;
510
+ ends_at?: Date | null | undefined;
872
511
  }>>;
873
512
  application_method: z.ZodObject<{
874
513
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -884,12 +523,12 @@ export declare const CreatePromotion: z.ZodObject<{
884
523
  attribute: z.ZodString;
885
524
  values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
886
525
  }, "strict", z.ZodTypeAny, {
887
- values: string | string[];
526
+ values: (string | string[]) & (string | string[] | undefined);
888
527
  attribute: string;
889
528
  operator: PromotionRuleOperator;
890
529
  description?: string | null | undefined;
891
530
  }, {
892
- values: string | string[];
531
+ values: (string | string[]) & (string | string[] | undefined);
893
532
  attribute: string;
894
533
  operator: PromotionRuleOperator;
895
534
  description?: string | null | undefined;
@@ -900,12 +539,12 @@ export declare const CreatePromotion: z.ZodObject<{
900
539
  attribute: z.ZodString;
901
540
  values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
902
541
  }, "strict", z.ZodTypeAny, {
903
- values: string | string[];
542
+ values: (string | string[]) & (string | string[] | undefined);
904
543
  attribute: string;
905
544
  operator: PromotionRuleOperator;
906
545
  description?: string | null | undefined;
907
546
  }, {
908
- values: string | string[];
547
+ values: (string | string[]) & (string | string[] | undefined);
909
548
  attribute: string;
910
549
  operator: PromotionRuleOperator;
911
550
  description?: string | null | undefined;
@@ -916,18 +555,18 @@ export declare const CreatePromotion: z.ZodObject<{
916
555
  type: ApplicationMethodType;
917
556
  value: number;
918
557
  target_type: ApplicationMethodTargetType;
919
- currency_code?: string | null | undefined;
920
558
  description?: string | null | undefined;
559
+ currency_code?: string | null | undefined;
921
560
  max_quantity?: number | null | undefined;
922
561
  allocation?: ApplicationMethodAllocation | undefined;
923
562
  target_rules?: {
924
- values: string | string[];
563
+ values: (string | string[]) & (string | string[] | undefined);
925
564
  attribute: string;
926
565
  operator: PromotionRuleOperator;
927
566
  description?: string | null | undefined;
928
567
  }[] | undefined;
929
568
  buy_rules?: {
930
- values: string | string[];
569
+ values: (string | string[]) & (string | string[] | undefined);
931
570
  attribute: string;
932
571
  operator: PromotionRuleOperator;
933
572
  description?: string | null | undefined;
@@ -938,18 +577,18 @@ export declare const CreatePromotion: z.ZodObject<{
938
577
  type: ApplicationMethodType;
939
578
  value: number;
940
579
  target_type: ApplicationMethodTargetType;
941
- currency_code?: string | null | undefined;
942
580
  description?: string | null | undefined;
581
+ currency_code?: string | null | undefined;
943
582
  max_quantity?: number | null | undefined;
944
583
  allocation?: ApplicationMethodAllocation | undefined;
945
584
  target_rules?: {
946
- values: string | string[];
585
+ values: (string | string[]) & (string | string[] | undefined);
947
586
  attribute: string;
948
587
  operator: PromotionRuleOperator;
949
588
  description?: string | null | undefined;
950
589
  }[] | undefined;
951
590
  buy_rules?: {
952
- values: string | string[];
591
+ values: (string | string[]) & (string | string[] | undefined);
953
592
  attribute: string;
954
593
  operator: PromotionRuleOperator;
955
594
  description?: string | null | undefined;
@@ -963,12 +602,12 @@ export declare const CreatePromotion: z.ZodObject<{
963
602
  attribute: z.ZodString;
964
603
  values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
965
604
  }, "strict", z.ZodTypeAny, {
966
- values: string | string[];
605
+ values: (string | string[]) & (string | string[] | undefined);
967
606
  attribute: string;
968
607
  operator: PromotionRuleOperator;
969
608
  description?: string | null | undefined;
970
609
  }, {
971
- values: string | string[];
610
+ values: (string | string[]) & (string | string[] | undefined);
972
611
  attribute: string;
973
612
  operator: PromotionRuleOperator;
974
613
  description?: string | null | undefined;
@@ -981,18 +620,18 @@ export declare const CreatePromotion: z.ZodObject<{
981
620
  type: ApplicationMethodType;
982
621
  value: number;
983
622
  target_type: ApplicationMethodTargetType;
984
- currency_code?: string | null | undefined;
985
623
  description?: string | null | undefined;
624
+ currency_code?: string | null | undefined;
986
625
  max_quantity?: number | null | undefined;
987
626
  allocation?: ApplicationMethodAllocation | undefined;
988
627
  target_rules?: {
989
- values: string | string[];
628
+ values: (string | string[]) & (string | string[] | undefined);
990
629
  attribute: string;
991
630
  operator: PromotionRuleOperator;
992
631
  description?: string | null | undefined;
993
632
  }[] | undefined;
994
633
  buy_rules?: {
995
- values: string | string[];
634
+ values: (string | string[]) & (string | string[] | undefined);
996
635
  attribute: string;
997
636
  operator: PromotionRuleOperator;
998
637
  description?: string | null | undefined;
@@ -1000,27 +639,27 @@ export declare const CreatePromotion: z.ZodObject<{
1000
639
  apply_to_quantity?: number | null | undefined;
1001
640
  buy_rules_min_quantity?: number | null | undefined;
1002
641
  };
1003
- rules?: {
1004
- values: string | string[];
1005
- attribute: string;
1006
- operator: PromotionRuleOperator;
1007
- description?: string | null | undefined;
1008
- }[] | undefined;
1009
- is_tax_inclusive?: boolean | undefined;
1010
642
  is_automatic?: boolean | undefined;
643
+ is_tax_inclusive?: boolean | undefined;
1011
644
  campaign_id?: string | null | undefined;
1012
645
  campaign?: {
1013
646
  name: string;
1014
647
  campaign_identifier: string;
1015
648
  description?: string | null | undefined;
1016
- starts_at?: Date | null | undefined;
1017
- ends_at?: Date | null | undefined;
1018
649
  budget?: {
1019
650
  type: import("@medusajs/framework/utils").CampaignBudgetType;
1020
- currency_code?: string | null | undefined;
1021
651
  limit?: number | null | undefined;
652
+ currency_code?: string | null | undefined;
1022
653
  } | null | undefined;
654
+ starts_at?: Date | null | undefined;
655
+ ends_at?: Date | null | undefined;
1023
656
  } | undefined;
657
+ rules?: {
658
+ values: (string | string[]) & (string | string[] | undefined);
659
+ attribute: string;
660
+ operator: PromotionRuleOperator;
661
+ description?: string | null | undefined;
662
+ }[] | undefined;
1024
663
  }, {
1025
664
  type: PromotionType;
1026
665
  code: string;
@@ -1028,18 +667,18 @@ export declare const CreatePromotion: z.ZodObject<{
1028
667
  type: ApplicationMethodType;
1029
668
  value: number;
1030
669
  target_type: ApplicationMethodTargetType;
1031
- currency_code?: string | null | undefined;
1032
670
  description?: string | null | undefined;
671
+ currency_code?: string | null | undefined;
1033
672
  max_quantity?: number | null | undefined;
1034
673
  allocation?: ApplicationMethodAllocation | undefined;
1035
674
  target_rules?: {
1036
- values: string | string[];
675
+ values: (string | string[]) & (string | string[] | undefined);
1037
676
  attribute: string;
1038
677
  operator: PromotionRuleOperator;
1039
678
  description?: string | null | undefined;
1040
679
  }[] | undefined;
1041
680
  buy_rules?: {
1042
- values: string | string[];
681
+ values: (string | string[]) & (string | string[] | undefined);
1043
682
  attribute: string;
1044
683
  operator: PromotionRuleOperator;
1045
684
  description?: string | null | undefined;
@@ -1047,28 +686,28 @@ export declare const CreatePromotion: z.ZodObject<{
1047
686
  apply_to_quantity?: number | null | undefined;
1048
687
  buy_rules_min_quantity?: number | null | undefined;
1049
688
  };
1050
- rules?: {
1051
- values: string | string[];
1052
- attribute: string;
1053
- operator: PromotionRuleOperator;
1054
- description?: string | null | undefined;
1055
- }[] | undefined;
1056
- status?: PromotionStatus | undefined;
1057
- is_tax_inclusive?: boolean | undefined;
1058
689
  is_automatic?: boolean | undefined;
690
+ is_tax_inclusive?: boolean | undefined;
691
+ status?: PromotionStatus | undefined;
1059
692
  campaign_id?: string | null | undefined;
1060
693
  campaign?: {
1061
694
  name: string;
1062
695
  campaign_identifier: string;
1063
696
  description?: string | null | undefined;
1064
- starts_at?: Date | null | undefined;
1065
- ends_at?: Date | null | undefined;
1066
697
  budget?: {
1067
698
  type: import("@medusajs/framework/utils").CampaignBudgetType;
1068
- currency_code?: string | null | undefined;
1069
699
  limit?: number | null | undefined;
700
+ currency_code?: string | null | undefined;
1070
701
  } | null | undefined;
702
+ starts_at?: Date | null | undefined;
703
+ ends_at?: Date | null | undefined;
1071
704
  } | undefined;
705
+ rules?: {
706
+ values: (string | string[]) & (string | string[] | undefined);
707
+ attribute: string;
708
+ operator: PromotionRuleOperator;
709
+ description?: string | null | undefined;
710
+ }[] | undefined;
1072
711
  }>;
1073
712
  export declare const AdminCreatePromotion: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
1074
713
  [x: string]: any;
@@ -1094,57 +733,57 @@ export declare const UpdatePromotion: z.ZodObject<{
1094
733
  apply_to_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1095
734
  buy_rules_min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1096
735
  }, "strict", z.ZodTypeAny, {
1097
- type?: ApplicationMethodType | undefined;
1098
- value?: number | undefined;
1099
- currency_code?: string | null | undefined;
1100
736
  description?: string | null | undefined;
737
+ value?: number | undefined;
1101
738
  max_quantity?: number | null | undefined;
739
+ currency_code?: string | null | undefined;
740
+ type?: ApplicationMethodType | undefined;
1102
741
  target_type?: ApplicationMethodTargetType | undefined;
1103
742
  allocation?: ApplicationMethodAllocation | undefined;
1104
743
  apply_to_quantity?: number | null | undefined;
1105
744
  buy_rules_min_quantity?: number | null | undefined;
1106
745
  }, {
1107
- type?: ApplicationMethodType | undefined;
1108
- value?: number | undefined;
1109
- currency_code?: string | null | undefined;
1110
746
  description?: string | null | undefined;
747
+ value?: number | undefined;
1111
748
  max_quantity?: number | null | undefined;
749
+ currency_code?: string | null | undefined;
750
+ type?: ApplicationMethodType | undefined;
1112
751
  target_type?: ApplicationMethodTargetType | undefined;
1113
752
  allocation?: ApplicationMethodAllocation | undefined;
1114
753
  apply_to_quantity?: number | null | undefined;
1115
754
  buy_rules_min_quantity?: number | null | undefined;
1116
755
  }>>;
1117
756
  }, "strict", z.ZodTypeAny, {
1118
- type?: PromotionType | undefined;
1119
757
  code?: string | undefined;
1120
- status?: PromotionStatus | undefined;
1121
- is_tax_inclusive?: boolean | undefined;
1122
758
  is_automatic?: boolean | undefined;
759
+ is_tax_inclusive?: boolean | undefined;
760
+ type?: PromotionType | undefined;
761
+ status?: PromotionStatus | undefined;
1123
762
  campaign_id?: string | null | undefined;
1124
763
  application_method?: {
1125
- type?: ApplicationMethodType | undefined;
1126
- value?: number | undefined;
1127
- currency_code?: string | null | undefined;
1128
764
  description?: string | null | undefined;
765
+ value?: number | undefined;
1129
766
  max_quantity?: number | null | undefined;
767
+ currency_code?: string | null | undefined;
768
+ type?: ApplicationMethodType | undefined;
1130
769
  target_type?: ApplicationMethodTargetType | undefined;
1131
770
  allocation?: ApplicationMethodAllocation | undefined;
1132
771
  apply_to_quantity?: number | null | undefined;
1133
772
  buy_rules_min_quantity?: number | null | undefined;
1134
773
  } | undefined;
1135
774
  }, {
1136
- type?: PromotionType | undefined;
1137
775
  code?: string | undefined;
1138
- status?: PromotionStatus | undefined;
1139
- is_tax_inclusive?: boolean | undefined;
1140
776
  is_automatic?: boolean | undefined;
777
+ is_tax_inclusive?: boolean | undefined;
778
+ type?: PromotionType | undefined;
779
+ status?: PromotionStatus | undefined;
1141
780
  campaign_id?: string | null | undefined;
1142
781
  application_method?: {
1143
- type?: ApplicationMethodType | undefined;
1144
- value?: number | undefined;
1145
- currency_code?: string | null | undefined;
1146
782
  description?: string | null | undefined;
783
+ value?: number | undefined;
1147
784
  max_quantity?: number | null | undefined;
785
+ currency_code?: string | null | undefined;
786
+ type?: ApplicationMethodType | undefined;
1148
787
  target_type?: ApplicationMethodTargetType | undefined;
1149
788
  allocation?: ApplicationMethodAllocation | undefined;
1150
789
  apply_to_quantity?: number | null | undefined;