@medusajs/promotion 2.11.3-preview-20251103090143 → 2.11.3-snapshot-20251103115905

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.
@@ -76,13 +76,13 @@ export default class PromotionModuleService extends PromotionModuleService_base
76
76
  currency_code: string | null;
77
77
  limit: number | null;
78
78
  used: number;
79
- campaign: any;
79
+ campaign: /*elided*/ any;
80
80
  attribute: string | null;
81
81
  usages: {
82
82
  id: string;
83
83
  attribute_value: string;
84
84
  used: number;
85
- budget: any;
85
+ budget: /*elided*/ any;
86
86
  raw_used: Record<string, unknown>;
87
87
  created_at: Date;
88
88
  updated_at: Date;
@@ -96,7 +96,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
96
96
  deleted_at: Date | null;
97
97
  campaign_id: string;
98
98
  };
99
- promotions: any[];
99
+ promotions: /*elided*/ any[];
100
100
  created_at: Date;
101
101
  updated_at: Date;
102
102
  deleted_at: Date | null;
@@ -111,7 +111,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
111
111
  type: import("@medusajs/framework/utils").ApplicationMethodType;
112
112
  target_type: ApplicationMethodTargetType;
113
113
  allocation: ApplicationMethodAllocation | null;
114
- promotion: any;
114
+ promotion: /*elided*/ any;
115
115
  target_rules: {
116
116
  id: string;
117
117
  description: string | null;
@@ -120,15 +120,15 @@ export default class PromotionModuleService extends PromotionModuleService_base
120
120
  values: {
121
121
  id: string;
122
122
  value: string;
123
- promotion_rule: any;
123
+ promotion_rule: /*elided*/ any;
124
124
  created_at: Date;
125
125
  updated_at: Date;
126
126
  deleted_at: Date | null;
127
127
  promotion_rule_id: string;
128
128
  }[];
129
- promotions: any[];
130
- method_target_rules: any[];
131
- method_buy_rules: any[];
129
+ promotions: /*elided*/ any[];
130
+ method_target_rules: /*elided*/ any[];
131
+ method_buy_rules: /*elided*/ any[];
132
132
  created_at: Date;
133
133
  updated_at: Date;
134
134
  deleted_at: Date | null;
@@ -141,15 +141,15 @@ export default class PromotionModuleService extends PromotionModuleService_base
141
141
  values: {
142
142
  id: string;
143
143
  value: string;
144
- promotion_rule: any;
144
+ promotion_rule: /*elided*/ any;
145
145
  created_at: Date;
146
146
  updated_at: Date;
147
147
  deleted_at: Date | null;
148
148
  promotion_rule_id: string;
149
149
  }[];
150
- promotions: any[];
151
- method_target_rules: any[];
152
- method_buy_rules: any[];
150
+ promotions: /*elided*/ any[];
151
+ method_target_rules: /*elided*/ any[];
152
+ method_buy_rules: /*elided*/ any[];
153
153
  created_at: Date;
154
154
  updated_at: Date;
155
155
  deleted_at: Date | null;
@@ -171,15 +171,57 @@ export default class PromotionModuleService extends PromotionModuleService_base
171
171
  values: {
172
172
  id: string;
173
173
  value: string;
174
- promotion_rule: any;
174
+ promotion_rule: /*elided*/ any;
175
175
  created_at: Date;
176
176
  updated_at: Date;
177
177
  deleted_at: Date | null;
178
178
  promotion_rule_id: string;
179
179
  }[];
180
- promotions: any[];
181
- method_target_rules: any[];
182
- method_buy_rules: any[];
180
+ promotions: /*elided*/ any[];
181
+ method_target_rules: {
182
+ id: string;
183
+ value: number | null;
184
+ currency_code: string | null;
185
+ max_quantity: number | null;
186
+ apply_to_quantity: number | null;
187
+ buy_rules_min_quantity: number | null;
188
+ type: import("@medusajs/framework/utils").ApplicationMethodType;
189
+ target_type: ApplicationMethodTargetType;
190
+ allocation: ApplicationMethodAllocation | null;
191
+ promotion: /*elided*/ any;
192
+ target_rules: /*elided*/ any[];
193
+ buy_rules: /*elided*/ any[];
194
+ raw_value: Record<string, unknown> | null;
195
+ raw_max_quantity: Record<string, unknown> | null;
196
+ raw_apply_to_quantity: Record<string, unknown> | null;
197
+ raw_buy_rules_min_quantity: Record<string, unknown> | null;
198
+ created_at: Date;
199
+ updated_at: Date;
200
+ deleted_at: Date | null;
201
+ promotion_id: string;
202
+ }[];
203
+ method_buy_rules: {
204
+ id: string;
205
+ value: number | null;
206
+ currency_code: string | null;
207
+ max_quantity: number | null;
208
+ apply_to_quantity: number | null;
209
+ buy_rules_min_quantity: number | null;
210
+ type: import("@medusajs/framework/utils").ApplicationMethodType;
211
+ target_type: ApplicationMethodTargetType;
212
+ allocation: ApplicationMethodAllocation | null;
213
+ promotion: /*elided*/ any;
214
+ target_rules: /*elided*/ any[];
215
+ buy_rules: /*elided*/ any[];
216
+ raw_value: Record<string, unknown> | null;
217
+ raw_max_quantity: Record<string, unknown> | null;
218
+ raw_apply_to_quantity: Record<string, unknown> | null;
219
+ raw_buy_rules_min_quantity: Record<string, unknown> | null;
220
+ created_at: Date;
221
+ updated_at: Date;
222
+ deleted_at: Date | null;
223
+ promotion_id: string;
224
+ }[];
183
225
  created_at: Date;
184
226
  updated_at: Date;
185
227
  deleted_at: Date | null;
@@ -211,13 +253,13 @@ export default class PromotionModuleService extends PromotionModuleService_base
211
253
  currency_code: string | null;
212
254
  limit: number | null;
213
255
  used: number;
214
- campaign: any;
256
+ campaign: /*elided*/ any;
215
257
  attribute: string | null;
216
258
  usages: {
217
259
  id: string;
218
260
  attribute_value: string;
219
261
  used: number;
220
- budget: any;
262
+ budget: /*elided*/ any;
221
263
  raw_used: Record<string, unknown>;
222
264
  created_at: Date;
223
265
  updated_at: Date;
@@ -231,7 +273,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
231
273
  deleted_at: Date | null;
232
274
  campaign_id: string;
233
275
  };
234
- promotions: any[];
276
+ promotions: /*elided*/ any[];
235
277
  created_at: Date;
236
278
  updated_at: Date;
237
279
  deleted_at: Date | null;
@@ -246,7 +288,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
246
288
  type: import("@medusajs/framework/utils").ApplicationMethodType;
247
289
  target_type: ApplicationMethodTargetType;
248
290
  allocation: ApplicationMethodAllocation | null;
249
- promotion: any;
291
+ promotion: /*elided*/ any;
250
292
  target_rules: {
251
293
  id: string;
252
294
  description: string | null;
@@ -255,15 +297,15 @@ export default class PromotionModuleService extends PromotionModuleService_base
255
297
  values: {
256
298
  id: string;
257
299
  value: string;
258
- promotion_rule: any;
300
+ promotion_rule: /*elided*/ any;
259
301
  created_at: Date;
260
302
  updated_at: Date;
261
303
  deleted_at: Date | null;
262
304
  promotion_rule_id: string;
263
305
  }[];
264
- promotions: any[];
265
- method_target_rules: any[];
266
- method_buy_rules: any[];
306
+ promotions: /*elided*/ any[];
307
+ method_target_rules: /*elided*/ any[];
308
+ method_buy_rules: /*elided*/ any[];
267
309
  created_at: Date;
268
310
  updated_at: Date;
269
311
  deleted_at: Date | null;
@@ -276,15 +318,15 @@ export default class PromotionModuleService extends PromotionModuleService_base
276
318
  values: {
277
319
  id: string;
278
320
  value: string;
279
- promotion_rule: any;
321
+ promotion_rule: /*elided*/ any;
280
322
  created_at: Date;
281
323
  updated_at: Date;
282
324
  deleted_at: Date | null;
283
325
  promotion_rule_id: string;
284
326
  }[];
285
- promotions: any[];
286
- method_target_rules: any[];
287
- method_buy_rules: any[];
327
+ promotions: /*elided*/ any[];
328
+ method_target_rules: /*elided*/ any[];
329
+ method_buy_rules: /*elided*/ any[];
288
330
  created_at: Date;
289
331
  updated_at: Date;
290
332
  deleted_at: Date | null;
@@ -306,15 +348,57 @@ export default class PromotionModuleService extends PromotionModuleService_base
306
348
  values: {
307
349
  id: string;
308
350
  value: string;
309
- promotion_rule: any;
351
+ promotion_rule: /*elided*/ any;
310
352
  created_at: Date;
311
353
  updated_at: Date;
312
354
  deleted_at: Date | null;
313
355
  promotion_rule_id: string;
314
356
  }[];
315
- promotions: any[];
316
- method_target_rules: any[];
317
- method_buy_rules: any[];
357
+ promotions: /*elided*/ any[];
358
+ method_target_rules: {
359
+ id: string;
360
+ value: number | null;
361
+ currency_code: string | null;
362
+ max_quantity: number | null;
363
+ apply_to_quantity: number | null;
364
+ buy_rules_min_quantity: number | null;
365
+ type: import("@medusajs/framework/utils").ApplicationMethodType;
366
+ target_type: ApplicationMethodTargetType;
367
+ allocation: ApplicationMethodAllocation | null;
368
+ promotion: /*elided*/ any;
369
+ target_rules: /*elided*/ any[];
370
+ buy_rules: /*elided*/ any[];
371
+ raw_value: Record<string, unknown> | null;
372
+ raw_max_quantity: Record<string, unknown> | null;
373
+ raw_apply_to_quantity: Record<string, unknown> | null;
374
+ raw_buy_rules_min_quantity: Record<string, unknown> | null;
375
+ created_at: Date;
376
+ updated_at: Date;
377
+ deleted_at: Date | null;
378
+ promotion_id: string;
379
+ }[];
380
+ method_buy_rules: {
381
+ id: string;
382
+ value: number | null;
383
+ currency_code: string | null;
384
+ max_quantity: number | null;
385
+ apply_to_quantity: number | null;
386
+ buy_rules_min_quantity: number | null;
387
+ type: import("@medusajs/framework/utils").ApplicationMethodType;
388
+ target_type: ApplicationMethodTargetType;
389
+ allocation: ApplicationMethodAllocation | null;
390
+ promotion: /*elided*/ any;
391
+ target_rules: /*elided*/ any[];
392
+ buy_rules: /*elided*/ any[];
393
+ raw_value: Record<string, unknown> | null;
394
+ raw_max_quantity: Record<string, unknown> | null;
395
+ raw_apply_to_quantity: Record<string, unknown> | null;
396
+ raw_buy_rules_min_quantity: Record<string, unknown> | null;
397
+ created_at: Date;
398
+ updated_at: Date;
399
+ deleted_at: Date | null;
400
+ promotion_id: string;
401
+ }[];
318
402
  created_at: Date;
319
403
  updated_at: Date;
320
404
  deleted_at: Date | null;
@@ -333,7 +417,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
333
417
  values: {
334
418
  id: string;
335
419
  value: string;
336
- promotion_rule: any;
420
+ promotion_rule: /*elided*/ any;
337
421
  created_at: Date;
338
422
  updated_at: Date;
339
423
  deleted_at: Date | null;
@@ -359,13 +443,13 @@ export default class PromotionModuleService extends PromotionModuleService_base
359
443
  currency_code: string | null;
360
444
  limit: number | null;
361
445
  used: number;
362
- campaign: any;
446
+ campaign: /*elided*/ any;
363
447
  attribute: string | null;
364
448
  usages: {
365
449
  id: string;
366
450
  attribute_value: string;
367
451
  used: number;
368
- budget: any;
452
+ budget: /*elided*/ any;
369
453
  raw_used: Record<string, unknown>;
370
454
  created_at: Date;
371
455
  updated_at: Date;
@@ -379,7 +463,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
379
463
  deleted_at: Date | null;
380
464
  campaign_id: string;
381
465
  };
382
- promotions: any[];
466
+ promotions: /*elided*/ any[];
383
467
  created_at: Date;
384
468
  updated_at: Date;
385
469
  deleted_at: Date | null;
@@ -394,9 +478,9 @@ export default class PromotionModuleService extends PromotionModuleService_base
394
478
  type: import("@medusajs/framework/utils").ApplicationMethodType;
395
479
  target_type: ApplicationMethodTargetType;
396
480
  allocation: ApplicationMethodAllocation | null;
397
- promotion: any;
398
- target_rules: any[];
399
- buy_rules: any[];
481
+ promotion: /*elided*/ any;
482
+ target_rules: /*elided*/ any[];
483
+ buy_rules: /*elided*/ any[];
400
484
  raw_value: Record<string, unknown> | null;
401
485
  raw_max_quantity: Record<string, unknown> | null;
402
486
  raw_apply_to_quantity: Record<string, unknown> | null;
@@ -406,7 +490,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
406
490
  deleted_at: Date | null;
407
491
  promotion_id: string;
408
492
  };
409
- rules: any[];
493
+ rules: /*elided*/ any[];
410
494
  created_at: Date;
411
495
  updated_at: Date;
412
496
  deleted_at: Date | null;
@@ -422,9 +506,60 @@ export default class PromotionModuleService extends PromotionModuleService_base
422
506
  type: import("@medusajs/framework/utils").ApplicationMethodType;
423
507
  target_type: ApplicationMethodTargetType;
424
508
  allocation: ApplicationMethodAllocation | null;
425
- promotion: any;
426
- target_rules: any[];
427
- buy_rules: any[];
509
+ promotion: {
510
+ id: string;
511
+ code: string;
512
+ is_automatic: boolean;
513
+ is_tax_inclusive: boolean;
514
+ type: PromotionType;
515
+ status: PromotionStatus;
516
+ campaign: {
517
+ id: string;
518
+ name: string;
519
+ description: string | null;
520
+ campaign_identifier: string;
521
+ starts_at: Date | null;
522
+ ends_at: Date | null;
523
+ budget: {
524
+ id: string;
525
+ type: CampaignBudgetType;
526
+ currency_code: string | null;
527
+ limit: number | null;
528
+ used: number;
529
+ campaign: /*elided*/ any;
530
+ attribute: string | null;
531
+ usages: {
532
+ id: string;
533
+ attribute_value: string;
534
+ used: number;
535
+ budget: /*elided*/ any;
536
+ raw_used: Record<string, unknown>;
537
+ created_at: Date;
538
+ updated_at: Date;
539
+ deleted_at: Date | null;
540
+ budget_id: string;
541
+ }[];
542
+ raw_limit: Record<string, unknown> | null;
543
+ raw_used: Record<string, unknown>;
544
+ created_at: Date;
545
+ updated_at: Date;
546
+ deleted_at: Date | null;
547
+ campaign_id: string;
548
+ };
549
+ promotions: /*elided*/ any[];
550
+ created_at: Date;
551
+ updated_at: Date;
552
+ deleted_at: Date | null;
553
+ };
554
+ application_method: /*elided*/ any;
555
+ rules: /*elided*/ any[];
556
+ created_at: Date;
557
+ updated_at: Date;
558
+ deleted_at: Date | null;
559
+ campaign_id: string | null;
560
+ };
561
+ target_rules: /*elided*/ any[];
562
+ buy_rules: /*elided*/ any[];
428
563
  raw_value: Record<string, unknown> | null;
429
564
  raw_max_quantity: Record<string, unknown> | null;
430
565
  raw_apply_to_quantity: Record<string, unknown> | null;
@@ -444,9 +579,60 @@ export default class PromotionModuleService extends PromotionModuleService_base
444
579
  type: import("@medusajs/framework/utils").ApplicationMethodType;
445
580
  target_type: ApplicationMethodTargetType;
446
581
  allocation: ApplicationMethodAllocation | null;
447
- promotion: any;
448
- target_rules: any[];
449
- buy_rules: any[];
582
+ promotion: {
583
+ id: string;
584
+ code: string;
585
+ is_automatic: boolean;
586
+ is_tax_inclusive: boolean;
587
+ type: PromotionType;
588
+ status: PromotionStatus;
589
+ campaign: {
590
+ id: string;
591
+ name: string;
592
+ description: string | null;
593
+ campaign_identifier: string;
594
+ starts_at: Date | null;
595
+ ends_at: Date | null;
596
+ budget: {
597
+ id: string;
598
+ type: CampaignBudgetType;
599
+ currency_code: string | null;
600
+ limit: number | null;
601
+ used: number;
602
+ campaign: /*elided*/ any;
603
+ attribute: string | null;
604
+ usages: {
605
+ id: string;
606
+ attribute_value: string;
607
+ used: number;
608
+ budget: /*elided*/ any;
609
+ raw_used: Record<string, unknown>;
610
+ created_at: Date;
611
+ updated_at: Date;
612
+ deleted_at: Date | null;
613
+ budget_id: string;
614
+ }[];
615
+ raw_limit: Record<string, unknown> | null;
616
+ raw_used: Record<string, unknown>;
617
+ created_at: Date;
618
+ updated_at: Date;
619
+ deleted_at: Date | null;
620
+ campaign_id: string;
621
+ };
622
+ promotions: /*elided*/ any[];
623
+ created_at: Date;
624
+ updated_at: Date;
625
+ deleted_at: Date | null;
626
+ };
627
+ application_method: /*elided*/ any;
628
+ rules: /*elided*/ any[];
629
+ created_at: Date;
630
+ updated_at: Date;
631
+ deleted_at: Date | null;
632
+ campaign_id: string | null;
633
+ };
634
+ target_rules: /*elided*/ any[];
635
+ buy_rules: /*elided*/ any[];
450
636
  raw_value: Record<string, unknown> | null;
451
637
  raw_max_quantity: Record<string, unknown> | null;
452
638
  raw_apply_to_quantity: Record<string, unknown> | null;
@@ -484,13 +670,13 @@ export default class PromotionModuleService extends PromotionModuleService_base
484
670
  currency_code: string | null;
485
671
  limit: number | null;
486
672
  used: number;
487
- campaign: any;
673
+ campaign: /*elided*/ any;
488
674
  attribute: string | null;
489
675
  usages: {
490
676
  id: string;
491
677
  attribute_value: string;
492
678
  used: number;
493
- budget: any;
679
+ budget: /*elided*/ any;
494
680
  raw_used: Record<string, unknown>;
495
681
  created_at: Date;
496
682
  updated_at: Date;
@@ -511,7 +697,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
511
697
  is_tax_inclusive: boolean;
512
698
  type: PromotionType;
513
699
  status: PromotionStatus;
514
- campaign: any;
700
+ campaign: /*elided*/ any;
515
701
  application_method: {
516
702
  id: string;
517
703
  value: number | null;
@@ -522,7 +708,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
522
708
  type: import("@medusajs/framework/utils").ApplicationMethodType;
523
709
  target_type: ApplicationMethodTargetType;
524
710
  allocation: ApplicationMethodAllocation | null;
525
- promotion: any;
711
+ promotion: /*elided*/ any;
526
712
  target_rules: {
527
713
  id: string;
528
714
  description: string | null;
@@ -531,15 +717,15 @@ export default class PromotionModuleService extends PromotionModuleService_base
531
717
  values: {
532
718
  id: string;
533
719
  value: string;
534
- promotion_rule: any;
720
+ promotion_rule: /*elided*/ any;
535
721
  created_at: Date;
536
722
  updated_at: Date;
537
723
  deleted_at: Date | null;
538
724
  promotion_rule_id: string;
539
725
  }[];
540
- promotions: any[];
541
- method_target_rules: any[];
542
- method_buy_rules: any[];
726
+ promotions: /*elided*/ any[];
727
+ method_target_rules: /*elided*/ any[];
728
+ method_buy_rules: /*elided*/ any[];
543
729
  created_at: Date;
544
730
  updated_at: Date;
545
731
  deleted_at: Date | null;
@@ -552,15 +738,15 @@ export default class PromotionModuleService extends PromotionModuleService_base
552
738
  values: {
553
739
  id: string;
554
740
  value: string;
555
- promotion_rule: any;
741
+ promotion_rule: /*elided*/ any;
556
742
  created_at: Date;
557
743
  updated_at: Date;
558
744
  deleted_at: Date | null;
559
745
  promotion_rule_id: string;
560
746
  }[];
561
- promotions: any[];
562
- method_target_rules: any[];
563
- method_buy_rules: any[];
747
+ promotions: /*elided*/ any[];
748
+ method_target_rules: /*elided*/ any[];
749
+ method_buy_rules: /*elided*/ any[];
564
750
  created_at: Date;
565
751
  updated_at: Date;
566
752
  deleted_at: Date | null;
@@ -582,15 +768,57 @@ export default class PromotionModuleService extends PromotionModuleService_base
582
768
  values: {
583
769
  id: string;
584
770
  value: string;
585
- promotion_rule: any;
771
+ promotion_rule: /*elided*/ any;
586
772
  created_at: Date;
587
773
  updated_at: Date;
588
774
  deleted_at: Date | null;
589
775
  promotion_rule_id: string;
590
776
  }[];
591
- promotions: any[];
592
- method_target_rules: any[];
593
- method_buy_rules: any[];
777
+ promotions: /*elided*/ any[];
778
+ method_target_rules: {
779
+ id: string;
780
+ value: number | null;
781
+ currency_code: string | null;
782
+ max_quantity: number | null;
783
+ apply_to_quantity: number | null;
784
+ buy_rules_min_quantity: number | null;
785
+ type: import("@medusajs/framework/utils").ApplicationMethodType;
786
+ target_type: ApplicationMethodTargetType;
787
+ allocation: ApplicationMethodAllocation | null;
788
+ promotion: /*elided*/ any;
789
+ target_rules: /*elided*/ any[];
790
+ buy_rules: /*elided*/ any[];
791
+ raw_value: Record<string, unknown> | null;
792
+ raw_max_quantity: Record<string, unknown> | null;
793
+ raw_apply_to_quantity: Record<string, unknown> | null;
794
+ raw_buy_rules_min_quantity: Record<string, unknown> | null;
795
+ created_at: Date;
796
+ updated_at: Date;
797
+ deleted_at: Date | null;
798
+ promotion_id: string;
799
+ }[];
800
+ method_buy_rules: {
801
+ id: string;
802
+ value: number | null;
803
+ currency_code: string | null;
804
+ max_quantity: number | null;
805
+ apply_to_quantity: number | null;
806
+ buy_rules_min_quantity: number | null;
807
+ type: import("@medusajs/framework/utils").ApplicationMethodType;
808
+ target_type: ApplicationMethodTargetType;
809
+ allocation: ApplicationMethodAllocation | null;
810
+ promotion: /*elided*/ any;
811
+ target_rules: /*elided*/ any[];
812
+ buy_rules: /*elided*/ any[];
813
+ raw_value: Record<string, unknown> | null;
814
+ raw_max_quantity: Record<string, unknown> | null;
815
+ raw_apply_to_quantity: Record<string, unknown> | null;
816
+ raw_buy_rules_min_quantity: Record<string, unknown> | null;
817
+ created_at: Date;
818
+ updated_at: Date;
819
+ deleted_at: Date | null;
820
+ promotion_id: string;
821
+ }[];
594
822
  created_at: Date;
595
823
  updated_at: Date;
596
824
  deleted_at: Date | null;
@@ -623,13 +851,13 @@ export default class PromotionModuleService extends PromotionModuleService_base
623
851
  currency_code: string | null;
624
852
  limit: number | null;
625
853
  used: number;
626
- campaign: any;
854
+ campaign: /*elided*/ any;
627
855
  attribute: string | null;
628
856
  usages: {
629
857
  id: string;
630
858
  attribute_value: string;
631
859
  used: number;
632
- budget: any;
860
+ budget: /*elided*/ any;
633
861
  raw_used: Record<string, unknown>;
634
862
  created_at: Date;
635
863
  updated_at: Date;
@@ -650,7 +878,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
650
878
  is_tax_inclusive: boolean;
651
879
  type: PromotionType;
652
880
  status: PromotionStatus;
653
- campaign: any;
881
+ campaign: /*elided*/ any;
654
882
  application_method: {
655
883
  id: string;
656
884
  value: number | null;
@@ -661,7 +889,7 @@ export default class PromotionModuleService extends PromotionModuleService_base
661
889
  type: import("@medusajs/framework/utils").ApplicationMethodType;
662
890
  target_type: ApplicationMethodTargetType;
663
891
  allocation: ApplicationMethodAllocation | null;
664
- promotion: any;
892
+ promotion: /*elided*/ any;
665
893
  target_rules: {
666
894
  id: string;
667
895
  description: string | null;
@@ -670,15 +898,15 @@ export default class PromotionModuleService extends PromotionModuleService_base
670
898
  values: {
671
899
  id: string;
672
900
  value: string;
673
- promotion_rule: any;
901
+ promotion_rule: /*elided*/ any;
674
902
  created_at: Date;
675
903
  updated_at: Date;
676
904
  deleted_at: Date | null;
677
905
  promotion_rule_id: string;
678
906
  }[];
679
- promotions: any[];
680
- method_target_rules: any[];
681
- method_buy_rules: any[];
907
+ promotions: /*elided*/ any[];
908
+ method_target_rules: /*elided*/ any[];
909
+ method_buy_rules: /*elided*/ any[];
682
910
  created_at: Date;
683
911
  updated_at: Date;
684
912
  deleted_at: Date | null;
@@ -691,15 +919,15 @@ export default class PromotionModuleService extends PromotionModuleService_base
691
919
  values: {
692
920
  id: string;
693
921
  value: string;
694
- promotion_rule: any;
922
+ promotion_rule: /*elided*/ any;
695
923
  created_at: Date;
696
924
  updated_at: Date;
697
925
  deleted_at: Date | null;
698
926
  promotion_rule_id: string;
699
927
  }[];
700
- promotions: any[];
701
- method_target_rules: any[];
702
- method_buy_rules: any[];
928
+ promotions: /*elided*/ any[];
929
+ method_target_rules: /*elided*/ any[];
930
+ method_buy_rules: /*elided*/ any[];
703
931
  created_at: Date;
704
932
  updated_at: Date;
705
933
  deleted_at: Date | null;
@@ -721,15 +949,57 @@ export default class PromotionModuleService extends PromotionModuleService_base
721
949
  values: {
722
950
  id: string;
723
951
  value: string;
724
- promotion_rule: any;
952
+ promotion_rule: /*elided*/ any;
725
953
  created_at: Date;
726
954
  updated_at: Date;
727
955
  deleted_at: Date | null;
728
956
  promotion_rule_id: string;
729
957
  }[];
730
- promotions: any[];
731
- method_target_rules: any[];
732
- method_buy_rules: any[];
958
+ promotions: /*elided*/ any[];
959
+ method_target_rules: {
960
+ id: string;
961
+ value: number | null;
962
+ currency_code: string | null;
963
+ max_quantity: number | null;
964
+ apply_to_quantity: number | null;
965
+ buy_rules_min_quantity: number | null;
966
+ type: import("@medusajs/framework/utils").ApplicationMethodType;
967
+ target_type: ApplicationMethodTargetType;
968
+ allocation: ApplicationMethodAllocation | null;
969
+ promotion: /*elided*/ any;
970
+ target_rules: /*elided*/ any[];
971
+ buy_rules: /*elided*/ any[];
972
+ raw_value: Record<string, unknown> | null;
973
+ raw_max_quantity: Record<string, unknown> | null;
974
+ raw_apply_to_quantity: Record<string, unknown> | null;
975
+ raw_buy_rules_min_quantity: Record<string, unknown> | null;
976
+ created_at: Date;
977
+ updated_at: Date;
978
+ deleted_at: Date | null;
979
+ promotion_id: string;
980
+ }[];
981
+ method_buy_rules: {
982
+ id: string;
983
+ value: number | null;
984
+ currency_code: string | null;
985
+ max_quantity: number | null;
986
+ apply_to_quantity: number | null;
987
+ buy_rules_min_quantity: number | null;
988
+ type: import("@medusajs/framework/utils").ApplicationMethodType;
989
+ target_type: ApplicationMethodTargetType;
990
+ allocation: ApplicationMethodAllocation | null;
991
+ promotion: /*elided*/ any;
992
+ target_rules: /*elided*/ any[];
993
+ buy_rules: /*elided*/ any[];
994
+ raw_value: Record<string, unknown> | null;
995
+ raw_max_quantity: Record<string, unknown> | null;
996
+ raw_apply_to_quantity: Record<string, unknown> | null;
997
+ raw_buy_rules_min_quantity: Record<string, unknown> | null;
998
+ created_at: Date;
999
+ updated_at: Date;
1000
+ deleted_at: Date | null;
1001
+ promotion_id: string;
1002
+ }[];
733
1003
  created_at: Date;
734
1004
  updated_at: Date;
735
1005
  deleted_at: Date | null;