@medusajs/medusa 2.8.8-preview-20250714090439 → 2.8.8-preview-20250714122513

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