@commercelayer/sdk 6.0.2 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.mts +248 -62
- package/lib/index.d.ts +248 -62
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
@@ -626,7 +626,7 @@ type CustomerGroupType = 'customer_groups';
|
|
626
626
|
type CustomerGroupRel$3 = ResourceRel & {
|
627
627
|
type: CustomerGroupType;
|
628
628
|
};
|
629
|
-
type CustomerGroupSort = Pick<CustomerGroup, 'id' | 'name'> & ResourceSort;
|
629
|
+
type CustomerGroupSort = Pick<CustomerGroup, 'id' | 'name' | 'code'> & ResourceSort;
|
630
630
|
interface CustomerGroup extends Resource {
|
631
631
|
readonly type: CustomerGroupType;
|
632
632
|
/**
|
@@ -634,6 +634,11 @@ interface CustomerGroup extends Resource {
|
|
634
634
|
* @example ```"VIP"```
|
635
635
|
*/
|
636
636
|
name: string;
|
637
|
+
/**
|
638
|
+
* A string that you can use to identify the customer group (must be unique within the environment)..
|
639
|
+
* @example ```"vip1"```
|
640
|
+
*/
|
641
|
+
code?: string | null;
|
637
642
|
customers?: Customer[] | null;
|
638
643
|
markets?: Market[] | null;
|
639
644
|
attachments?: Attachment[] | null;
|
@@ -645,6 +650,11 @@ interface CustomerGroupCreate extends ResourceCreate {
|
|
645
650
|
* @example ```"VIP"```
|
646
651
|
*/
|
647
652
|
name: string;
|
653
|
+
/**
|
654
|
+
* A string that you can use to identify the customer group (must be unique within the environment)..
|
655
|
+
* @example ```"vip1"```
|
656
|
+
*/
|
657
|
+
code?: string | null;
|
648
658
|
}
|
649
659
|
interface CustomerGroupUpdate extends ResourceUpdate {
|
650
660
|
/**
|
@@ -652,6 +662,11 @@ interface CustomerGroupUpdate extends ResourceUpdate {
|
|
652
662
|
* @example ```"VIP"```
|
653
663
|
*/
|
654
664
|
name?: string | null;
|
665
|
+
/**
|
666
|
+
* A string that you can use to identify the customer group (must be unique within the environment)..
|
667
|
+
* @example ```"vip1"```
|
668
|
+
*/
|
669
|
+
code?: string | null;
|
655
670
|
}
|
656
671
|
declare class CustomerGroups extends ApiResource<CustomerGroup> {
|
657
672
|
static readonly TYPE: CustomerGroupType;
|
@@ -951,7 +966,7 @@ type PaymentMethodType = 'payment_methods';
|
|
951
966
|
type PaymentMethodRel$4 = ResourceRel & {
|
952
967
|
type: PaymentMethodType;
|
953
968
|
};
|
954
|
-
type MarketRel$
|
969
|
+
type MarketRel$i = ResourceRel & {
|
955
970
|
type: MarketType;
|
956
971
|
};
|
957
972
|
type PaymentGatewayRel = ResourceRel & {
|
@@ -1076,7 +1091,7 @@ interface PaymentMethodCreate extends ResourceCreate {
|
|
1076
1091
|
* @example ```"true"```
|
1077
1092
|
*/
|
1078
1093
|
_enable?: boolean | null;
|
1079
|
-
market?: MarketRel$
|
1094
|
+
market?: MarketRel$i | null;
|
1080
1095
|
payment_gateway: PaymentGatewayRel;
|
1081
1096
|
}
|
1082
1097
|
interface PaymentMethodUpdate extends ResourceUpdate {
|
@@ -1126,7 +1141,7 @@ interface PaymentMethodUpdate extends ResourceUpdate {
|
|
1126
1141
|
* @example ```"true"```
|
1127
1142
|
*/
|
1128
1143
|
_enable?: boolean | null;
|
1129
|
-
market?: MarketRel$
|
1144
|
+
market?: MarketRel$i | null;
|
1130
1145
|
payment_gateway?: PaymentGatewayRel | null;
|
1131
1146
|
}
|
1132
1147
|
declare class PaymentMethods extends ApiResource<PaymentMethod> {
|
@@ -2685,7 +2700,7 @@ type FixedPricePromotionType = 'fixed_price_promotions';
|
|
2685
2700
|
type FixedPricePromotionRel$4 = ResourceRel & {
|
2686
2701
|
type: FixedPricePromotionType;
|
2687
2702
|
};
|
2688
|
-
type MarketRel$
|
2703
|
+
type MarketRel$h = ResourceRel & {
|
2689
2704
|
type: MarketType;
|
2690
2705
|
};
|
2691
2706
|
type OrderAmountPromotionRuleRel$7 = ResourceRel & {
|
@@ -2754,6 +2769,11 @@ interface FixedPricePromotion extends Resource {
|
|
2754
2769
|
* @example ```"true"```
|
2755
2770
|
*/
|
2756
2771
|
active?: boolean | null;
|
2772
|
+
/**
|
2773
|
+
* The promotion status, one of 'expired', 'pending', 'active', 'inactive', or 'disabled'..
|
2774
|
+
* @example ```"pending"```
|
2775
|
+
*/
|
2776
|
+
status?: 'expired' | 'pending' | 'active' | 'inactive' | 'disabled' | null;
|
2757
2777
|
/**
|
2758
2778
|
* Time at which this resource was disabled..
|
2759
2779
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
@@ -2839,7 +2859,7 @@ interface FixedPricePromotionCreate extends ResourceCreate {
|
|
2839
2859
|
* @example ```"1000"```
|
2840
2860
|
*/
|
2841
2861
|
fixed_amount_cents: number;
|
2842
|
-
market?: MarketRel$
|
2862
|
+
market?: MarketRel$h | null;
|
2843
2863
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$7 | null;
|
2844
2864
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$7 | null;
|
2845
2865
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$7 | null;
|
@@ -2898,7 +2918,7 @@ interface FixedPricePromotionUpdate extends ResourceUpdate {
|
|
2898
2918
|
* @example ```"1000"```
|
2899
2919
|
*/
|
2900
2920
|
fixed_amount_cents?: number | null;
|
2901
|
-
market?: MarketRel$
|
2921
|
+
market?: MarketRel$h | null;
|
2902
2922
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$7 | null;
|
2903
2923
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$7 | null;
|
2904
2924
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$7 | null;
|
@@ -2935,7 +2955,7 @@ type FixedAmountPromotionType = 'fixed_amount_promotions';
|
|
2935
2955
|
type FixedAmountPromotionRel$5 = ResourceRel & {
|
2936
2956
|
type: FixedAmountPromotionType;
|
2937
2957
|
};
|
2938
|
-
type MarketRel$
|
2958
|
+
type MarketRel$g = ResourceRel & {
|
2939
2959
|
type: MarketType;
|
2940
2960
|
};
|
2941
2961
|
type OrderAmountPromotionRuleRel$6 = ResourceRel & {
|
@@ -3004,6 +3024,11 @@ interface FixedAmountPromotion extends Resource {
|
|
3004
3024
|
* @example ```"true"```
|
3005
3025
|
*/
|
3006
3026
|
active?: boolean | null;
|
3027
|
+
/**
|
3028
|
+
* The promotion status, one of 'expired', 'pending', 'active', 'inactive', or 'disabled'..
|
3029
|
+
* @example ```"pending"```
|
3030
|
+
*/
|
3031
|
+
status?: 'expired' | 'pending' | 'active' | 'inactive' | 'disabled' | null;
|
3007
3032
|
/**
|
3008
3033
|
* Time at which this resource was disabled..
|
3009
3034
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
@@ -3089,7 +3114,7 @@ interface FixedAmountPromotionCreate extends ResourceCreate {
|
|
3089
3114
|
* @example ```"1000"```
|
3090
3115
|
*/
|
3091
3116
|
fixed_amount_cents: number;
|
3092
|
-
market?: MarketRel$
|
3117
|
+
market?: MarketRel$g | null;
|
3093
3118
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$6 | null;
|
3094
3119
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$6 | null;
|
3095
3120
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$6 | null;
|
@@ -3148,7 +3173,7 @@ interface FixedAmountPromotionUpdate extends ResourceUpdate {
|
|
3148
3173
|
* @example ```"1000"```
|
3149
3174
|
*/
|
3150
3175
|
fixed_amount_cents?: number | null;
|
3151
|
-
market?: MarketRel$
|
3176
|
+
market?: MarketRel$g | null;
|
3152
3177
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$6 | null;
|
3153
3178
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$6 | null;
|
3154
3179
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$6 | null;
|
@@ -3249,7 +3274,7 @@ type FreeGiftPromotionType = 'free_gift_promotions';
|
|
3249
3274
|
type FreeGiftPromotionRel$3 = ResourceRel & {
|
3250
3275
|
type: FreeGiftPromotionType;
|
3251
3276
|
};
|
3252
|
-
type MarketRel$
|
3277
|
+
type MarketRel$f = ResourceRel & {
|
3253
3278
|
type: MarketType;
|
3254
3279
|
};
|
3255
3280
|
type OrderAmountPromotionRuleRel$5 = ResourceRel & {
|
@@ -3318,6 +3343,11 @@ interface FreeGiftPromotion extends Resource {
|
|
3318
3343
|
* @example ```"true"```
|
3319
3344
|
*/
|
3320
3345
|
active?: boolean | null;
|
3346
|
+
/**
|
3347
|
+
* The promotion status, one of 'expired', 'pending', 'active', 'inactive', or 'disabled'..
|
3348
|
+
* @example ```"pending"```
|
3349
|
+
*/
|
3350
|
+
status?: 'expired' | 'pending' | 'active' | 'inactive' | 'disabled' | null;
|
3321
3351
|
/**
|
3322
3352
|
* Time at which this resource was disabled..
|
3323
3353
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
@@ -3393,7 +3423,7 @@ interface FreeGiftPromotionCreate extends ResourceCreate {
|
|
3393
3423
|
* @example ```"3"```
|
3394
3424
|
*/
|
3395
3425
|
max_quantity?: number | null;
|
3396
|
-
market?: MarketRel$
|
3426
|
+
market?: MarketRel$f | null;
|
3397
3427
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$5 | null;
|
3398
3428
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$5 | null;
|
3399
3429
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$5 | null;
|
@@ -3452,7 +3482,7 @@ interface FreeGiftPromotionUpdate extends ResourceUpdate {
|
|
3452
3482
|
* @example ```"3"```
|
3453
3483
|
*/
|
3454
3484
|
max_quantity?: number | null;
|
3455
|
-
market?: MarketRel$
|
3485
|
+
market?: MarketRel$f | null;
|
3456
3486
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$5 | null;
|
3457
3487
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$5 | null;
|
3458
3488
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$5 | null;
|
@@ -3545,7 +3575,7 @@ type BuyXPayYPromotionType = 'buy_x_pay_y_promotions';
|
|
3545
3575
|
type BuyXPayYPromotionRel$2 = ResourceRel & {
|
3546
3576
|
type: BuyXPayYPromotionType;
|
3547
3577
|
};
|
3548
|
-
type MarketRel$
|
3578
|
+
type MarketRel$e = ResourceRel & {
|
3549
3579
|
type: MarketType;
|
3550
3580
|
};
|
3551
3581
|
type OrderAmountPromotionRuleRel$4 = ResourceRel & {
|
@@ -3614,6 +3644,11 @@ interface BuyXPayYPromotion extends Resource {
|
|
3614
3644
|
* @example ```"true"```
|
3615
3645
|
*/
|
3616
3646
|
active?: boolean | null;
|
3647
|
+
/**
|
3648
|
+
* The promotion status, one of 'expired', 'pending', 'active', 'inactive', or 'disabled'..
|
3649
|
+
* @example ```"pending"```
|
3650
|
+
*/
|
3651
|
+
status?: 'expired' | 'pending' | 'active' | 'inactive' | 'disabled' | null;
|
3617
3652
|
/**
|
3618
3653
|
* Time at which this resource was disabled..
|
3619
3654
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
@@ -3709,7 +3744,7 @@ interface BuyXPayYPromotionCreate extends ResourceCreate {
|
|
3709
3744
|
* @example ```"true"```
|
3710
3745
|
*/
|
3711
3746
|
cheapest_free?: boolean | null;
|
3712
|
-
market?: MarketRel$
|
3747
|
+
market?: MarketRel$e | null;
|
3713
3748
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$4 | null;
|
3714
3749
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$4 | null;
|
3715
3750
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$3 | null;
|
@@ -3778,7 +3813,7 @@ interface BuyXPayYPromotionUpdate extends ResourceUpdate {
|
|
3778
3813
|
* @example ```"true"```
|
3779
3814
|
*/
|
3780
3815
|
cheapest_free?: boolean | null;
|
3781
|
-
market?: MarketRel$
|
3816
|
+
market?: MarketRel$e | null;
|
3782
3817
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$4 | null;
|
3783
3818
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$4 | null;
|
3784
3819
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$3 | null;
|
@@ -3903,7 +3938,7 @@ type FreeShippingPromotionType = 'free_shipping_promotions';
|
|
3903
3938
|
type FreeShippingPromotionRel$2 = ResourceRel & {
|
3904
3939
|
type: FreeShippingPromotionType;
|
3905
3940
|
};
|
3906
|
-
type MarketRel$
|
3941
|
+
type MarketRel$d = ResourceRel & {
|
3907
3942
|
type: MarketType;
|
3908
3943
|
};
|
3909
3944
|
type OrderAmountPromotionRuleRel$3 = ResourceRel & {
|
@@ -3972,6 +4007,11 @@ interface FreeShippingPromotion extends Resource {
|
|
3972
4007
|
* @example ```"true"```
|
3973
4008
|
*/
|
3974
4009
|
active?: boolean | null;
|
4010
|
+
/**
|
4011
|
+
* The promotion status, one of 'expired', 'pending', 'active', 'inactive', or 'disabled'..
|
4012
|
+
* @example ```"pending"```
|
4013
|
+
*/
|
4014
|
+
status?: 'expired' | 'pending' | 'active' | 'inactive' | 'disabled' | null;
|
3975
4015
|
/**
|
3976
4016
|
* Time at which this resource was disabled..
|
3977
4017
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
@@ -4036,7 +4076,7 @@ interface FreeShippingPromotionCreate extends ResourceCreate {
|
|
4036
4076
|
* @example ```"true"```
|
4037
4077
|
*/
|
4038
4078
|
_enable?: boolean | null;
|
4039
|
-
market?: MarketRel$
|
4079
|
+
market?: MarketRel$d | null;
|
4040
4080
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$3 | null;
|
4041
4081
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$2 | null;
|
4042
4082
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$2 | null;
|
@@ -4090,7 +4130,7 @@ interface FreeShippingPromotionUpdate extends ResourceUpdate {
|
|
4090
4130
|
* @example ```"true"```
|
4091
4131
|
*/
|
4092
4132
|
_enable?: boolean | null;
|
4093
|
-
market?: MarketRel$
|
4133
|
+
market?: MarketRel$d | null;
|
4094
4134
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$3 | null;
|
4095
4135
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$2 | null;
|
4096
4136
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$2 | null;
|
@@ -4215,7 +4255,7 @@ type PercentageDiscountPromotionType = 'percentage_discount_promotions';
|
|
4215
4255
|
type PercentageDiscountPromotionRel$1 = ResourceRel & {
|
4216
4256
|
type: PercentageDiscountPromotionType;
|
4217
4257
|
};
|
4218
|
-
type MarketRel$
|
4258
|
+
type MarketRel$c = ResourceRel & {
|
4219
4259
|
type: MarketType;
|
4220
4260
|
};
|
4221
4261
|
type OrderAmountPromotionRuleRel$1 = ResourceRel & {
|
@@ -4284,6 +4324,11 @@ interface PercentageDiscountPromotion extends Resource {
|
|
4284
4324
|
* @example ```"true"```
|
4285
4325
|
*/
|
4286
4326
|
active?: boolean | null;
|
4327
|
+
/**
|
4328
|
+
* The promotion status, one of 'expired', 'pending', 'active', 'inactive', or 'disabled'..
|
4329
|
+
* @example ```"pending"```
|
4330
|
+
*/
|
4331
|
+
status?: 'expired' | 'pending' | 'active' | 'inactive' | 'disabled' | null;
|
4287
4332
|
/**
|
4288
4333
|
* Time at which this resource was disabled..
|
4289
4334
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
@@ -4359,7 +4404,7 @@ interface PercentageDiscountPromotionCreate extends ResourceCreate {
|
|
4359
4404
|
* @example ```"10"```
|
4360
4405
|
*/
|
4361
4406
|
percentage: number;
|
4362
|
-
market?: MarketRel$
|
4407
|
+
market?: MarketRel$c | null;
|
4363
4408
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$1 | null;
|
4364
4409
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$1 | null;
|
4365
4410
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$1 | null;
|
@@ -4418,7 +4463,7 @@ interface PercentageDiscountPromotionUpdate extends ResourceUpdate {
|
|
4418
4463
|
* @example ```"10"```
|
4419
4464
|
*/
|
4420
4465
|
percentage?: number | null;
|
4421
|
-
market?: MarketRel$
|
4466
|
+
market?: MarketRel$c | null;
|
4422
4467
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$1 | null;
|
4423
4468
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$1 | null;
|
4424
4469
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$1 | null;
|
@@ -4474,7 +4519,7 @@ type ExternalPromotionType = 'external_promotions';
|
|
4474
4519
|
type ExternalPromotionRel$1 = ResourceRel & {
|
4475
4520
|
type: ExternalPromotionType;
|
4476
4521
|
};
|
4477
|
-
type MarketRel$
|
4522
|
+
type MarketRel$b = ResourceRel & {
|
4478
4523
|
type: MarketType;
|
4479
4524
|
};
|
4480
4525
|
type OrderAmountPromotionRuleRel = ResourceRel & {
|
@@ -4543,6 +4588,11 @@ interface ExternalPromotion extends Resource {
|
|
4543
4588
|
* @example ```"true"```
|
4544
4589
|
*/
|
4545
4590
|
active?: boolean | null;
|
4591
|
+
/**
|
4592
|
+
* The promotion status, one of 'expired', 'pending', 'active', 'inactive', or 'disabled'..
|
4593
|
+
* @example ```"pending"```
|
4594
|
+
*/
|
4595
|
+
status?: 'expired' | 'pending' | 'active' | 'inactive' | 'disabled' | null;
|
4546
4596
|
/**
|
4547
4597
|
* Time at which this resource was disabled..
|
4548
4598
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
@@ -4633,7 +4683,7 @@ interface ExternalPromotionCreate extends ResourceCreate {
|
|
4633
4683
|
* @example ```"https://external_promotion.yourbrand.com"```
|
4634
4684
|
*/
|
4635
4685
|
promotion_url: string;
|
4636
|
-
market?: MarketRel$
|
4686
|
+
market?: MarketRel$b | null;
|
4637
4687
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null;
|
4638
4688
|
sku_list_promotion_rule?: SkuListPromotionRuleRel | null;
|
4639
4689
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null;
|
@@ -4697,7 +4747,7 @@ interface ExternalPromotionUpdate extends ResourceUpdate {
|
|
4697
4747
|
* @example ```"true"```
|
4698
4748
|
*/
|
4699
4749
|
_reset_circuit?: boolean | null;
|
4700
|
-
market?: MarketRel$
|
4750
|
+
market?: MarketRel$b | null;
|
4701
4751
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null;
|
4702
4752
|
sku_list_promotion_rule?: SkuListPromotionRuleRel | null;
|
4703
4753
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null;
|
@@ -4814,7 +4864,7 @@ type GiftCardType = 'gift_cards';
|
|
4814
4864
|
type GiftCardRel$2 = ResourceRel & {
|
4815
4865
|
type: GiftCardType;
|
4816
4866
|
};
|
4817
|
-
type MarketRel$
|
4867
|
+
type MarketRel$a = ResourceRel & {
|
4818
4868
|
type: MarketType;
|
4819
4869
|
};
|
4820
4870
|
type GiftCardRecipientRel$1 = ResourceRel & {
|
@@ -4977,7 +5027,7 @@ interface GiftCardCreate extends ResourceCreate {
|
|
4977
5027
|
* @example ```"john@example.com"```
|
4978
5028
|
*/
|
4979
5029
|
recipient_email?: string | null;
|
4980
|
-
market?: MarketRel$
|
5030
|
+
market?: MarketRel$a | null;
|
4981
5031
|
gift_card_recipient?: GiftCardRecipientRel$1 | null;
|
4982
5032
|
tags?: TagRel$a[] | null;
|
4983
5033
|
}
|
@@ -5046,7 +5096,7 @@ interface GiftCardUpdate extends ResourceUpdate {
|
|
5046
5096
|
* @example ```"-5000"```
|
5047
5097
|
*/
|
5048
5098
|
_balance_change_cents?: number | null;
|
5049
|
-
market?: MarketRel$
|
5099
|
+
market?: MarketRel$a | null;
|
5050
5100
|
gift_card_recipient?: GiftCardRecipientRel$1 | null;
|
5051
5101
|
tags?: TagRel$a[] | null;
|
5052
5102
|
}
|
@@ -5075,7 +5125,7 @@ type SkuOptionType = 'sku_options';
|
|
5075
5125
|
type SkuOptionRel$2 = ResourceRel & {
|
5076
5126
|
type: SkuOptionType;
|
5077
5127
|
};
|
5078
|
-
type MarketRel$
|
5128
|
+
type MarketRel$9 = ResourceRel & {
|
5079
5129
|
type: MarketType;
|
5080
5130
|
};
|
5081
5131
|
type TagRel$9 = ResourceRel & {
|
@@ -5166,7 +5216,7 @@ interface SkuOptionCreate extends ResourceCreate {
|
|
5166
5216
|
* @example ```"^(A|B).*$"```
|
5167
5217
|
*/
|
5168
5218
|
sku_code_regex?: string | null;
|
5169
|
-
market?: MarketRel$
|
5219
|
+
market?: MarketRel$9 | null;
|
5170
5220
|
tags?: TagRel$9[] | null;
|
5171
5221
|
}
|
5172
5222
|
interface SkuOptionUpdate extends ResourceUpdate {
|
@@ -5200,7 +5250,7 @@ interface SkuOptionUpdate extends ResourceUpdate {
|
|
5200
5250
|
* @example ```"^(A|B).*$"```
|
5201
5251
|
*/
|
5202
5252
|
sku_code_regex?: string | null;
|
5203
|
-
market?: MarketRel$
|
5253
|
+
market?: MarketRel$9 | null;
|
5204
5254
|
tags?: TagRel$9[] | null;
|
5205
5255
|
}
|
5206
5256
|
declare class SkuOptions extends ApiResource<SkuOption> {
|
@@ -5881,7 +5931,7 @@ interface LineItem extends Resource {
|
|
5881
5931
|
*/
|
5882
5932
|
currency_code?: string | null;
|
5883
5933
|
/**
|
5884
|
-
* The unit amount of the line item, in cents. Can be specified only
|
5934
|
+
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods..
|
5885
5935
|
* @example ```"10000"```
|
5886
5936
|
*/
|
5887
5937
|
unit_amount_cents?: number | null;
|
@@ -6068,7 +6118,7 @@ interface LineItemCreate extends ResourceCreate {
|
|
6068
6118
|
*/
|
6069
6119
|
_reserve_stock?: boolean | null;
|
6070
6120
|
/**
|
6071
|
-
* The unit amount of the line item, in cents. Can be specified only
|
6121
|
+
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods..
|
6072
6122
|
* @example ```"10000"```
|
6073
6123
|
*/
|
6074
6124
|
unit_amount_cents?: number | null;
|
@@ -6099,12 +6149,6 @@ interface LineItemCreate extends ResourceCreate {
|
|
6099
6149
|
frequency?: string | null;
|
6100
6150
|
order: OrderRel$9;
|
6101
6151
|
item?: AdjustmentRel$1 | BundleRel$3 | ExternalPromotionRel | FixedAmountPromotionRel | FreeShippingPromotionRel | GiftCardRel$1 | PaymentMethodRel$2 | PercentageDiscountPromotionRel | ShipmentRel$4 | SkuRel$8 | null;
|
6102
|
-
sku?: SkuRel$8 | null;
|
6103
|
-
bundle?: BundleRel$3 | null;
|
6104
|
-
adjustment?: AdjustmentRel$1 | null;
|
6105
|
-
gift_card?: GiftCardRel$1 | null;
|
6106
|
-
shipment?: ShipmentRel$4 | null;
|
6107
|
-
payment_method?: PaymentMethodRel$2 | null;
|
6108
6152
|
tags?: TagRel$6[] | null;
|
6109
6153
|
}
|
6110
6154
|
interface LineItemUpdate extends ResourceUpdate {
|
@@ -6133,6 +6177,11 @@ interface LineItemUpdate extends ResourceUpdate {
|
|
6133
6177
|
* @example ```"true"```
|
6134
6178
|
*/
|
6135
6179
|
_reserve_stock?: boolean | null;
|
6180
|
+
/**
|
6181
|
+
* The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods..
|
6182
|
+
* @example ```"10000"```
|
6183
|
+
*/
|
6184
|
+
unit_amount_cents?: number | null;
|
6136
6185
|
/**
|
6137
6186
|
* The compared price amount, in cents. Useful to display a percentage discount..
|
6138
6187
|
* @example ```"13000"```
|
@@ -6469,7 +6518,7 @@ type OrderSubscriptionType = 'order_subscriptions';
|
|
6469
6518
|
type OrderSubscriptionRel = ResourceRel & {
|
6470
6519
|
type: OrderSubscriptionType;
|
6471
6520
|
};
|
6472
|
-
type MarketRel$
|
6521
|
+
type MarketRel$8 = ResourceRel & {
|
6473
6522
|
type: MarketType;
|
6474
6523
|
};
|
6475
6524
|
type OrderRel$7 = ResourceRel & {
|
@@ -6507,7 +6556,7 @@ interface OrderSubscription extends Resource {
|
|
6507
6556
|
*/
|
6508
6557
|
place_target_order?: boolean | null;
|
6509
6558
|
/**
|
6510
|
-
* Indicates the number of hours the renewal alert will be triggered before the subscription next run..
|
6559
|
+
* Indicates the number of hours the renewal alert will be triggered before the subscription next run. Must be included between 1 and 720 hours..
|
6511
6560
|
* @example ```"1"```
|
6512
6561
|
*/
|
6513
6562
|
renewal_alert_period?: number | null;
|
@@ -6580,7 +6629,7 @@ interface OrderSubscriptionCreate extends ResourceCreate {
|
|
6580
6629
|
*/
|
6581
6630
|
place_target_order?: boolean | null;
|
6582
6631
|
/**
|
6583
|
-
* Indicates the number of hours the renewal alert will be triggered before the subscription next run..
|
6632
|
+
* Indicates the number of hours the renewal alert will be triggered before the subscription next run. Must be included between 1 and 720 hours..
|
6584
6633
|
* @example ```"1"```
|
6585
6634
|
*/
|
6586
6635
|
renewal_alert_period?: number | null;
|
@@ -6594,7 +6643,7 @@ interface OrderSubscriptionCreate extends ResourceCreate {
|
|
6594
6643
|
* @example ```"2018-01-02T12:00:00.000Z"```
|
6595
6644
|
*/
|
6596
6645
|
expires_at?: string | null;
|
6597
|
-
market?: MarketRel$
|
6646
|
+
market?: MarketRel$8 | null;
|
6598
6647
|
source_order: OrderRel$7;
|
6599
6648
|
}
|
6600
6649
|
interface OrderSubscriptionUpdate extends ResourceUpdate {
|
@@ -6614,7 +6663,7 @@ interface OrderSubscriptionUpdate extends ResourceUpdate {
|
|
6614
6663
|
*/
|
6615
6664
|
place_target_order?: boolean | null;
|
6616
6665
|
/**
|
6617
|
-
* Indicates the number of hours the renewal alert will be triggered before the subscription next run..
|
6666
|
+
* Indicates the number of hours the renewal alert will be triggered before the subscription next run. Must be included between 1 and 720 hours..
|
6618
6667
|
* @example ```"1"```
|
6619
6668
|
*/
|
6620
6669
|
renewal_alert_period?: number | null;
|
@@ -7566,7 +7615,7 @@ type OrderType = 'orders';
|
|
7566
7615
|
type OrderRel$2 = ResourceRel & {
|
7567
7616
|
type: OrderType;
|
7568
7617
|
};
|
7569
|
-
type MarketRel$
|
7618
|
+
type MarketRel$7 = ResourceRel & {
|
7570
7619
|
type: MarketType;
|
7571
7620
|
};
|
7572
7621
|
type CustomerRel$2 = ResourceRel & {
|
@@ -8269,7 +8318,7 @@ interface OrderCreate extends ResourceCreate {
|
|
8269
8318
|
* @example ```"https://yourdomain.com/privacy"```
|
8270
8319
|
*/
|
8271
8320
|
privacy_url?: string | null;
|
8272
|
-
market?: MarketRel$
|
8321
|
+
market?: MarketRel$7 | null;
|
8273
8322
|
customer?: CustomerRel$2 | null;
|
8274
8323
|
shipping_address?: AddressRel$3 | null;
|
8275
8324
|
billing_address?: AddressRel$3 | null;
|
@@ -8511,7 +8560,7 @@ interface OrderUpdate extends ResourceUpdate {
|
|
8511
8560
|
* @example ```"true"```
|
8512
8561
|
*/
|
8513
8562
|
_reset_circuit?: boolean | null;
|
8514
|
-
market?: MarketRel$
|
8563
|
+
market?: MarketRel$7 | null;
|
8515
8564
|
customer?: CustomerRel$2 | null;
|
8516
8565
|
shipping_address?: AddressRel$3 | null;
|
8517
8566
|
billing_address?: AddressRel$3 | null;
|
@@ -8943,7 +8992,7 @@ type ShippingMethodType = 'shipping_methods';
|
|
8943
8992
|
type ShippingMethodRel$2 = ResourceRel & {
|
8944
8993
|
type: ShippingMethodType;
|
8945
8994
|
};
|
8946
|
-
type MarketRel$
|
8995
|
+
type MarketRel$6 = ResourceRel & {
|
8947
8996
|
type: MarketType;
|
8948
8997
|
};
|
8949
8998
|
type ShippingZoneRel$1 = ResourceRel & {
|
@@ -9130,7 +9179,7 @@ interface ShippingMethodCreate extends ResourceCreate {
|
|
9130
9179
|
* @example ```"true"```
|
9131
9180
|
*/
|
9132
9181
|
_enable?: boolean | null;
|
9133
|
-
market?: MarketRel$
|
9182
|
+
market?: MarketRel$6 | null;
|
9134
9183
|
shipping_zone?: ShippingZoneRel$1 | null;
|
9135
9184
|
shipping_category?: ShippingCategoryRel$3 | null;
|
9136
9185
|
stock_location?: StockLocationRel$5 | null;
|
@@ -9202,7 +9251,7 @@ interface ShippingMethodUpdate extends ResourceUpdate {
|
|
9202
9251
|
* @example ```"true"```
|
9203
9252
|
*/
|
9204
9253
|
_reset_circuit?: boolean | null;
|
9205
|
-
market?: MarketRel$
|
9254
|
+
market?: MarketRel$6 | null;
|
9206
9255
|
shipping_zone?: ShippingZoneRel$1 | null;
|
9207
9256
|
shipping_category?: ShippingCategoryRel$3 | null;
|
9208
9257
|
stock_location?: StockLocationRel$5 | null;
|
@@ -9889,7 +9938,7 @@ interface Shipment extends Resource {
|
|
9889
9938
|
*/
|
9890
9939
|
number?: string | null;
|
9891
9940
|
/**
|
9892
|
-
* The shipment status, one of 'draft', 'upcoming', 'cancelled', 'on_hold', 'picking', 'packing', 'ready_to_ship', or 'shipped'
|
9941
|
+
* The shipment status, one of 'draft', 'upcoming', 'cancelled', 'on_hold', 'picking', 'packing', 'ready_to_ship', or 'shipped'..
|
9893
9942
|
* @example ```"draft"```
|
9894
9943
|
*/
|
9895
9944
|
status: 'draft' | 'upcoming' | 'cancelled' | 'on_hold' | 'picking' | 'packing' | 'ready_to_ship' | 'shipped';
|
@@ -10240,6 +10289,8 @@ interface StockTransferUpdate extends ResourceUpdate {
|
|
10240
10289
|
sku?: SkuRel$6 | null;
|
10241
10290
|
origin_stock_location?: StockLocationRel$3 | null;
|
10242
10291
|
destination_stock_location?: StockLocationRel$3 | null;
|
10292
|
+
shipment?: ShipmentRel$1 | null;
|
10293
|
+
line_item?: LineItemRel | null;
|
10243
10294
|
}
|
10244
10295
|
declare class StockTransfers extends ApiResource<StockTransfer> {
|
10245
10296
|
static readonly TYPE: StockTransferType;
|
@@ -10885,7 +10936,7 @@ type PriceType = 'prices';
|
|
10885
10936
|
type PriceRel$1 = ResourceRel & {
|
10886
10937
|
type: PriceType;
|
10887
10938
|
};
|
10888
|
-
type PriceListRel$
|
10939
|
+
type PriceListRel$4 = ResourceRel & {
|
10889
10940
|
type: PriceListType;
|
10890
10941
|
};
|
10891
10942
|
type SkuRel$3 = ResourceRel & {
|
@@ -10964,7 +11015,7 @@ interface PriceCreate extends ResourceCreate {
|
|
10964
11015
|
* @example ```"13000"```
|
10965
11016
|
*/
|
10966
11017
|
compare_at_amount_cents?: number | null;
|
10967
|
-
price_list: PriceListRel$
|
11018
|
+
price_list: PriceListRel$4;
|
10968
11019
|
sku: SkuRel$3;
|
10969
11020
|
price_tiers?: PriceTierRel[] | null;
|
10970
11021
|
}
|
@@ -10984,7 +11035,7 @@ interface PriceUpdate extends ResourceUpdate {
|
|
10984
11035
|
* @example ```"13000"```
|
10985
11036
|
*/
|
10986
11037
|
compare_at_amount_cents?: number | null;
|
10987
|
-
price_list?: PriceListRel$
|
11038
|
+
price_list?: PriceListRel$4 | null;
|
10988
11039
|
sku?: SkuRel$3 | null;
|
10989
11040
|
price_tiers?: PriceTierRel[] | null;
|
10990
11041
|
}
|
@@ -11009,6 +11060,129 @@ declare class Prices extends ApiResource<Price> {
|
|
11009
11060
|
type(): PriceType;
|
11010
11061
|
}
|
11011
11062
|
|
11063
|
+
type PriceListSchedulerType = 'price_list_schedulers';
|
11064
|
+
type PriceListSchedulerRel = ResourceRel & {
|
11065
|
+
type: PriceListSchedulerType;
|
11066
|
+
};
|
11067
|
+
type MarketRel$5 = ResourceRel & {
|
11068
|
+
type: MarketType;
|
11069
|
+
};
|
11070
|
+
type PriceListRel$3 = ResourceRel & {
|
11071
|
+
type: PriceListType;
|
11072
|
+
};
|
11073
|
+
type PriceListSchedulerSort = Pick<PriceListScheduler, 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'> & ResourceSort;
|
11074
|
+
interface PriceListScheduler extends Resource {
|
11075
|
+
readonly type: PriceListSchedulerType;
|
11076
|
+
/**
|
11077
|
+
* The price list scheduler's internal name.
|
11078
|
+
* @example ```"FW SALE 2023"```
|
11079
|
+
*/
|
11080
|
+
name: string;
|
11081
|
+
/**
|
11082
|
+
* The activation date/time of this price list scheduler..
|
11083
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
11084
|
+
*/
|
11085
|
+
starts_at: string;
|
11086
|
+
/**
|
11087
|
+
* The expiration date/time of this price list scheduler (must be after starts_at)..
|
11088
|
+
* @example ```"2018-01-02T12:00:00.000Z"```
|
11089
|
+
*/
|
11090
|
+
expires_at: string;
|
11091
|
+
/**
|
11092
|
+
* Indicates if the price list scheduler is active (enabled and not expired)..
|
11093
|
+
* @example ```"true"```
|
11094
|
+
*/
|
11095
|
+
active?: boolean | null;
|
11096
|
+
/**
|
11097
|
+
* The price list scheduler status, one of 'expired', 'pending', 'active', or 'disabled'..
|
11098
|
+
* @example ```"pending"```
|
11099
|
+
*/
|
11100
|
+
status?: 'expired' | 'pending' | 'active' | 'disabled' | null;
|
11101
|
+
/**
|
11102
|
+
* Time at which this resource was disabled..
|
11103
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
11104
|
+
*/
|
11105
|
+
disabled_at?: string | null;
|
11106
|
+
market?: Market | null;
|
11107
|
+
price_list?: PriceList | null;
|
11108
|
+
events?: Event[] | null;
|
11109
|
+
versions?: Version[] | null;
|
11110
|
+
}
|
11111
|
+
interface PriceListSchedulerCreate extends ResourceCreate {
|
11112
|
+
/**
|
11113
|
+
* The price list scheduler's internal name.
|
11114
|
+
* @example ```"FW SALE 2023"```
|
11115
|
+
*/
|
11116
|
+
name: string;
|
11117
|
+
/**
|
11118
|
+
* The activation date/time of this price list scheduler..
|
11119
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
11120
|
+
*/
|
11121
|
+
starts_at: string;
|
11122
|
+
/**
|
11123
|
+
* The expiration date/time of this price list scheduler (must be after starts_at)..
|
11124
|
+
* @example ```"2018-01-02T12:00:00.000Z"```
|
11125
|
+
*/
|
11126
|
+
expires_at: string;
|
11127
|
+
/**
|
11128
|
+
* Send this attribute if you want to mark this resource as disabled..
|
11129
|
+
* @example ```"true"```
|
11130
|
+
*/
|
11131
|
+
_disable?: boolean | null;
|
11132
|
+
/**
|
11133
|
+
* Send this attribute if you want to mark this resource as enabled..
|
11134
|
+
* @example ```"true"```
|
11135
|
+
*/
|
11136
|
+
_enable?: boolean | null;
|
11137
|
+
market: MarketRel$5;
|
11138
|
+
price_list: PriceListRel$3;
|
11139
|
+
}
|
11140
|
+
interface PriceListSchedulerUpdate extends ResourceUpdate {
|
11141
|
+
/**
|
11142
|
+
* The price list scheduler's internal name.
|
11143
|
+
* @example ```"FW SALE 2023"```
|
11144
|
+
*/
|
11145
|
+
name?: string | null;
|
11146
|
+
/**
|
11147
|
+
* The activation date/time of this price list scheduler..
|
11148
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
11149
|
+
*/
|
11150
|
+
starts_at?: string | null;
|
11151
|
+
/**
|
11152
|
+
* The expiration date/time of this price list scheduler (must be after starts_at)..
|
11153
|
+
* @example ```"2018-01-02T12:00:00.000Z"```
|
11154
|
+
*/
|
11155
|
+
expires_at?: string | null;
|
11156
|
+
/**
|
11157
|
+
* Send this attribute if you want to mark this resource as disabled..
|
11158
|
+
* @example ```"true"```
|
11159
|
+
*/
|
11160
|
+
_disable?: boolean | null;
|
11161
|
+
/**
|
11162
|
+
* Send this attribute if you want to mark this resource as enabled..
|
11163
|
+
* @example ```"true"```
|
11164
|
+
*/
|
11165
|
+
_enable?: boolean | null;
|
11166
|
+
market?: MarketRel$5 | null;
|
11167
|
+
price_list?: PriceListRel$3 | null;
|
11168
|
+
}
|
11169
|
+
declare class PriceListSchedulers extends ApiResource<PriceListScheduler> {
|
11170
|
+
static readonly TYPE: PriceListSchedulerType;
|
11171
|
+
create(resource: PriceListSchedulerCreate, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler>;
|
11172
|
+
update(resource: PriceListSchedulerUpdate, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler>;
|
11173
|
+
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
11174
|
+
market(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
11175
|
+
price_list(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList>;
|
11176
|
+
events(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
11177
|
+
versions(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
11178
|
+
_disable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler>;
|
11179
|
+
_enable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler>;
|
11180
|
+
isPriceListScheduler(resource: any): resource is PriceListScheduler;
|
11181
|
+
relationship(id: string | ResourceId | null): PriceListSchedulerRel;
|
11182
|
+
relationshipToMany(...ids: string[]): PriceListSchedulerRel[];
|
11183
|
+
type(): PriceListSchedulerType;
|
11184
|
+
}
|
11185
|
+
|
11012
11186
|
type PriceListType = 'price_lists';
|
11013
11187
|
type PriceListRel$2 = ResourceRel & {
|
11014
11188
|
type: PriceListType;
|
@@ -11037,6 +11211,7 @@ interface PriceList extends Resource {
|
|
11037
11211
|
*/
|
11038
11212
|
tax_included?: boolean | null;
|
11039
11213
|
prices?: Price[] | null;
|
11214
|
+
price_list_schedulers?: PriceListScheduler[] | null;
|
11040
11215
|
attachments?: Attachment[] | null;
|
11041
11216
|
versions?: Version[] | null;
|
11042
11217
|
}
|
@@ -11090,6 +11265,7 @@ declare class PriceLists extends ApiResource<PriceList> {
|
|
11090
11265
|
update(resource: PriceListUpdate, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList>;
|
11091
11266
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
11092
11267
|
prices(priceListId: string | PriceList, params?: QueryParamsList<Price>, options?: ResourcesConfig): Promise<ListResponse<Price>>;
|
11268
|
+
price_list_schedulers(priceListId: string | PriceList, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
|
11093
11269
|
attachments(priceListId: string | PriceList, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
11094
11270
|
versions(priceListId: string | PriceList, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
11095
11271
|
isPriceList(resource: any): resource is PriceList;
|
@@ -11206,6 +11382,7 @@ interface Market extends Resource {
|
|
11206
11382
|
subscription_model?: SubscriptionModel | null;
|
11207
11383
|
tax_calculator?: TaxCalculator | null;
|
11208
11384
|
customer_group?: CustomerGroup | null;
|
11385
|
+
price_list_schedulers?: PriceListScheduler[] | null;
|
11209
11386
|
attachments?: Attachment[] | null;
|
11210
11387
|
versions?: Version[] | null;
|
11211
11388
|
}
|
@@ -11316,6 +11493,7 @@ declare class Markets extends ApiResource<Market> {
|
|
11316
11493
|
subscription_model(marketId: string | Market, params?: QueryParamsRetrieve<SubscriptionModel>, options?: ResourcesConfig): Promise<SubscriptionModel>;
|
11317
11494
|
tax_calculator(marketId: string | Market, params?: QueryParamsRetrieve<TaxCalculator>, options?: ResourcesConfig): Promise<TaxCalculator>;
|
11318
11495
|
customer_group(marketId: string | Market, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup>;
|
11496
|
+
price_list_schedulers(marketId: string | Market, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
|
11319
11497
|
attachments(marketId: string | Market, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
11320
11498
|
versions(marketId: string | Market, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
11321
11499
|
_disable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
@@ -11622,6 +11800,11 @@ interface Promotion extends Resource {
|
|
11622
11800
|
* @example ```"true"```
|
11623
11801
|
*/
|
11624
11802
|
active?: boolean | null;
|
11803
|
+
/**
|
11804
|
+
* The promotion status, one of 'expired', 'pending', 'active', 'inactive', or 'disabled'..
|
11805
|
+
* @example ```"pending"```
|
11806
|
+
*/
|
11807
|
+
status?: 'expired' | 'pending' | 'active' | 'inactive' | 'disabled' | null;
|
11625
11808
|
/**
|
11626
11809
|
* Time at which this resource was disabled..
|
11627
11810
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
@@ -14486,8 +14669,8 @@ declare class Transactions extends ApiResource<Transaction> {
|
|
14486
14669
|
type(): TransactionType;
|
14487
14670
|
}
|
14488
14671
|
|
14489
|
-
type ResourceTypeLock = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'application' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'event_callbacks' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'geocoders' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_copies' | 'order_factories' | 'order_subscription_items' | 'order_subscriptions' | 'order_validation_rules' | 'orders' | 'organization' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'recurring_order_copies' | 'refunds' | 'reserved_stocks' | 'resource_errors' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'versions' | 'voids' | 'webhooks' | 'wire_transfers';
|
14490
|
-
declare const resourceList: readonly ["addresses", "adjustments", "adyen_gateways", "adyen_payments", "application", "attachments", "authorizations", "avalara_accounts", "axerve_gateways", "axerve_payments", "billing_info_validation_rules", "bing_geocoders", "braintree_gateways", "braintree_payments", "bundles", "buy_x_pay_y_promotions", "captures", "carrier_accounts", "checkout_com_gateways", "checkout_com_payments", "cleanups", "coupon_codes_promotion_rules", "coupon_recipients", "coupons", "custom_promotion_rules", "customer_addresses", "customer_groups", "customer_password_resets", "customer_payment_sources", "customer_subscriptions", "customers", "delivery_lead_times", "event_callbacks", "events", "exports", "external_gateways", "external_payments", "external_promotions", "external_tax_calculators", "fixed_amount_promotions", "fixed_price_promotions", "free_gift_promotions", "free_shipping_promotions", "geocoders", "gift_card_recipients", "gift_cards", "google_geocoders", "imports", "in_stock_subscriptions", "inventory_models", "inventory_return_locations", "inventory_stock_locations", "klarna_gateways", "klarna_payments", "line_item_options", "line_items", "manual_gateways", "manual_tax_calculators", "markets", "merchants", "order_amount_promotion_rules", "order_copies", "order_factories", "order_subscription_items", "order_subscriptions", "order_validation_rules", "orders", "organization", "packages", "parcel_line_items", "parcels", "payment_gateways", "payment_methods", "payment_options", "paypal_gateways", "paypal_payments", "percentage_discount_promotions", "price_frequency_tiers", "price_lists", "price_tiers", "price_volume_tiers", "prices", "promotion_rules", "promotions", "recurring_order_copies", "refunds", "reserved_stocks", "resource_errors", "return_line_items", "returns", "satispay_gateways", "satispay_payments", "shipments", "shipping_categories", "shipping_method_tiers", "shipping_methods", "shipping_weight_tiers", "shipping_zones", "sku_list_items", "sku_list_promotion_rules", "sku_lists", "sku_options", "skus", "stock_items", "stock_line_items", "stock_locations", "stock_reservations", "stock_transfers", "stripe_gateways", "stripe_payments", "subscription_models", "tags", "tax_calculators", "tax_categories", "tax_rules", "taxjar_accounts", "transactions", "versions", "voids", "webhooks", "wire_transfers"];
|
14672
|
+
type ResourceTypeLock = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'application' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'event_callbacks' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'geocoders' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_copies' | 'order_factories' | 'order_subscription_items' | 'order_subscriptions' | 'order_validation_rules' | 'orders' | 'organization' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'recurring_order_copies' | 'refunds' | 'reserved_stocks' | 'resource_errors' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'versions' | 'voids' | 'webhooks' | 'wire_transfers';
|
14673
|
+
declare const resourceList: readonly ["addresses", "adjustments", "adyen_gateways", "adyen_payments", "application", "attachments", "authorizations", "avalara_accounts", "axerve_gateways", "axerve_payments", "billing_info_validation_rules", "bing_geocoders", "braintree_gateways", "braintree_payments", "bundles", "buy_x_pay_y_promotions", "captures", "carrier_accounts", "checkout_com_gateways", "checkout_com_payments", "cleanups", "coupon_codes_promotion_rules", "coupon_recipients", "coupons", "custom_promotion_rules", "customer_addresses", "customer_groups", "customer_password_resets", "customer_payment_sources", "customer_subscriptions", "customers", "delivery_lead_times", "event_callbacks", "events", "exports", "external_gateways", "external_payments", "external_promotions", "external_tax_calculators", "fixed_amount_promotions", "fixed_price_promotions", "free_gift_promotions", "free_shipping_promotions", "geocoders", "gift_card_recipients", "gift_cards", "google_geocoders", "imports", "in_stock_subscriptions", "inventory_models", "inventory_return_locations", "inventory_stock_locations", "klarna_gateways", "klarna_payments", "line_item_options", "line_items", "manual_gateways", "manual_tax_calculators", "markets", "merchants", "order_amount_promotion_rules", "order_copies", "order_factories", "order_subscription_items", "order_subscriptions", "order_validation_rules", "orders", "organization", "packages", "parcel_line_items", "parcels", "payment_gateways", "payment_methods", "payment_options", "paypal_gateways", "paypal_payments", "percentage_discount_promotions", "price_frequency_tiers", "price_list_schedulers", "price_lists", "price_tiers", "price_volume_tiers", "prices", "promotion_rules", "promotions", "recurring_order_copies", "refunds", "reserved_stocks", "resource_errors", "return_line_items", "returns", "satispay_gateways", "satispay_payments", "shipments", "shipping_categories", "shipping_method_tiers", "shipping_methods", "shipping_weight_tiers", "shipping_zones", "sku_list_items", "sku_list_promotion_rules", "sku_lists", "sku_options", "skus", "stock_items", "stock_line_items", "stock_locations", "stock_reservations", "stock_transfers", "stripe_gateways", "stripe_payments", "subscription_models", "tags", "tax_calculators", "tax_categories", "tax_rules", "taxjar_accounts", "transactions", "versions", "voids", "webhooks", "wire_transfers"];
|
14491
14674
|
declare const singletonList: readonly ["application", "organization"];
|
14492
14675
|
type RetrievableResourceType = ResourceTypeLock;
|
14493
14676
|
type RetrievableResource = Resource & {
|
@@ -14497,15 +14680,15 @@ type ListableResourceType = Exclude<ResourceTypeLock, 'application' | 'organizat
|
|
14497
14680
|
type ListableResource = Resource & {
|
14498
14681
|
type: ListableResourceType;
|
14499
14682
|
};
|
14500
|
-
type CreatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'webhooks' | 'wire_transfers';
|
14683
|
+
type CreatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'webhooks' | 'wire_transfers';
|
14501
14684
|
type CreatableResource = Resource & {
|
14502
14685
|
type: CreatableResourceType;
|
14503
14686
|
};
|
14504
|
-
type UpdatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'checkout_com_gateways' | 'checkout_com_payments' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'webhooks' | 'wire_transfers';
|
14687
|
+
type UpdatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'checkout_com_gateways' | 'checkout_com_payments' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'webhooks' | 'wire_transfers';
|
14505
14688
|
type UpdatableResource = Resource & {
|
14506
14689
|
type: UpdatableResourceType;
|
14507
14690
|
};
|
14508
|
-
type DeletableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'webhooks' | 'wire_transfers';
|
14691
|
+
type DeletableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'subscription_models' | 'tags' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'webhooks' | 'wire_transfers';
|
14509
14692
|
type DeletableResource = Resource & {
|
14510
14693
|
type: DeletableResourceType;
|
14511
14694
|
};
|
@@ -14516,7 +14699,7 @@ type TaggableResource = Resource & {
|
|
14516
14699
|
type: TagType;
|
14517
14700
|
}> | null;
|
14518
14701
|
};
|
14519
|
-
type VersionableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_payment_sources' | 'customer_subscriptions' | 'delivery_lead_times' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_subscriptions' | 'order_validation_rules' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'refunds' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'voids' | 'webhooks' | 'wire_transfers';
|
14702
|
+
type VersionableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_payment_sources' | 'customer_subscriptions' | 'delivery_lead_times' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_subscriptions' | 'order_validation_rules' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'refunds' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'voids' | 'webhooks' | 'wire_transfers';
|
14520
14703
|
type VersionableResource = Resource & {
|
14521
14704
|
type: VersionableResourceType;
|
14522
14705
|
versions?: Array<ResourceRel & {
|
@@ -14602,6 +14785,7 @@ type ResourceFields = {
|
|
14602
14785
|
paypal_payments: PaypalPayment;
|
14603
14786
|
percentage_discount_promotions: PercentageDiscountPromotion;
|
14604
14787
|
price_frequency_tiers: PriceFrequencyTier;
|
14788
|
+
price_list_schedulers: PriceListScheduler;
|
14605
14789
|
price_lists: PriceList;
|
14606
14790
|
price_tiers: PriceTier;
|
14607
14791
|
price_volume_tiers: PriceVolumeTier;
|
@@ -14725,6 +14909,7 @@ type ResourceSortFields = {
|
|
14725
14909
|
paypal_payments: PaypalPaymentSort;
|
14726
14910
|
percentage_discount_promotions: PercentageDiscountPromotionSort;
|
14727
14911
|
price_frequency_tiers: PriceFrequencyTierSort;
|
14912
|
+
price_list_schedulers: PriceListSchedulerSort;
|
14728
14913
|
price_lists: PriceListSort;
|
14729
14914
|
price_tiers: PriceTierSort;
|
14730
14915
|
price_volume_tiers: PriceVolumeTierSort;
|
@@ -14804,7 +14989,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
|
14804
14989
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
14805
14990
|
declare class CommerceLayerClient {
|
14806
14991
|
#private;
|
14807
|
-
readonly openApiSchemaVersion = "5.
|
14992
|
+
readonly openApiSchemaVersion = "5.3.0";
|
14808
14993
|
constructor(config: CommerceLayerInitConfig);
|
14809
14994
|
get addresses(): Addresses;
|
14810
14995
|
get adjustments(): Adjustments;
|
@@ -14884,6 +15069,7 @@ declare class CommerceLayerClient {
|
|
14884
15069
|
get paypal_payments(): PaypalPayments;
|
14885
15070
|
get percentage_discount_promotions(): PercentageDiscountPromotions;
|
14886
15071
|
get price_frequency_tiers(): PriceFrequencyTiers;
|
15072
|
+
get price_list_schedulers(): PriceListSchedulers;
|
14887
15073
|
get price_lists(): PriceLists;
|
14888
15074
|
get price_tiers(): PriceTiers;
|
14889
15075
|
get price_volume_tiers(): PriceVolumeTiers;
|
@@ -14955,4 +15141,4 @@ declare const CommerceLayerStatic: {
|
|
14955
15141
|
readonly schemaVersion: string;
|
14956
15142
|
};
|
14957
15143
|
|
14958
|
-
export { type Address, type AddressCreate, type AddressSort, type AddressUpdate, Addresses, type Adjustment, type AdjustmentCreate, type AdjustmentSort, type AdjustmentUpdate, Adjustments, type AdyenGateway, type AdyenGatewayCreate, type AdyenGatewaySort, type AdyenGatewayUpdate, AdyenGateways, type AdyenPayment, type AdyenPaymentCreate, type AdyenPaymentSort, type AdyenPaymentUpdate, AdyenPayments, ApiError, ApiResource, ApiSingleton, type Application, type ApplicationSort, Applications, type Attachment, type AttachmentCreate, type AttachmentSort, type AttachmentUpdate, Attachments, type Authorization, type AuthorizationSort, type AuthorizationUpdate, Authorizations, type AvalaraAccount, type AvalaraAccountCreate, type AvalaraAccountSort, type AvalaraAccountUpdate, AvalaraAccounts, type AxerveGateway, type AxerveGatewayCreate, type AxerveGatewaySort, type AxerveGatewayUpdate, AxerveGateways, type AxervePayment, type AxervePaymentCreate, type AxervePaymentSort, type AxervePaymentUpdate, AxervePayments, type BillingInfoValidationRule, type BillingInfoValidationRuleCreate, type BillingInfoValidationRuleSort, type BillingInfoValidationRuleUpdate, BillingInfoValidationRules, type BingGeocoder, type BingGeocoderCreate, type BingGeocoderSort, type BingGeocoderUpdate, BingGeocoders, type BraintreeGateway, type BraintreeGatewayCreate, type BraintreeGatewaySort, type BraintreeGatewayUpdate, BraintreeGateways, type BraintreePayment, type BraintreePaymentCreate, type BraintreePaymentSort, type BraintreePaymentUpdate, BraintreePayments, type Bundle, type BundleCreate, type BundleSort, type BundleUpdate, Bundles, type BuyXPayYPromotion, type BuyXPayYPromotionCreate, type BuyXPayYPromotionSort, type BuyXPayYPromotionUpdate, BuyXPayYPromotions, type Capture, type CaptureSort, type CaptureUpdate, Captures, type CarrierAccount, type CarrierAccountSort, CarrierAccounts, type CheckoutComGateway, type CheckoutComGatewayCreate, type CheckoutComGatewaySort, type CheckoutComGatewayUpdate, CheckoutComGateways, type CheckoutComPayment, type CheckoutComPaymentCreate, type CheckoutComPaymentSort, type CheckoutComPaymentUpdate, CheckoutComPayments, type Cleanup, type CleanupCreate, type CleanupSort, Cleanups, CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, CommerceLayerStatic, type Coupon, type CouponCodesPromotionRule, type CouponCodesPromotionRuleCreate, type CouponCodesPromotionRuleSort, type CouponCodesPromotionRuleUpdate, CouponCodesPromotionRules, type CouponCreate, type CouponRecipient, type CouponRecipientCreate, type CouponRecipientSort, type CouponRecipientUpdate, CouponRecipients, type CouponSort, type CouponUpdate, Coupons, type CreatableResource, type CreatableResourceType, type CustomPromotionRule, type CustomPromotionRuleCreate, type CustomPromotionRuleSort, type CustomPromotionRuleUpdate, CustomPromotionRules, type Customer, type CustomerAddress, type CustomerAddressCreate, type CustomerAddressSort, type CustomerAddressUpdate, CustomerAddresses, type CustomerCreate, type CustomerGroup, type CustomerGroupCreate, type CustomerGroupSort, type CustomerGroupUpdate, CustomerGroups, type CustomerPasswordReset, type CustomerPasswordResetCreate, type CustomerPasswordResetSort, type CustomerPasswordResetUpdate, CustomerPasswordResets, type CustomerPaymentSource, type CustomerPaymentSourceCreate, type CustomerPaymentSourceSort, type CustomerPaymentSourceUpdate, CustomerPaymentSources, type CustomerSort, type CustomerSubscription, type CustomerSubscriptionCreate, type CustomerSubscriptionSort, type CustomerSubscriptionUpdate, CustomerSubscriptions, type CustomerUpdate, Customers, type DeletableResource, type DeletableResourceType, type DeliveryLeadTime, type DeliveryLeadTimeCreate, type DeliveryLeadTimeSort, type DeliveryLeadTimeUpdate, DeliveryLeadTimes, type ErrorObj, ErrorType, type Event, type EventCallback, type EventCallbackSort, EventCallbacks, type EventSort, Events, type Export, type ExportCreate, type ExportSort, Exports, type ExternalGateway, type ExternalGatewayCreate, type ExternalGatewaySort, type ExternalGatewayUpdate, ExternalGateways, type ExternalPayment, type ExternalPaymentCreate, type ExternalPaymentSort, type ExternalPaymentUpdate, ExternalPayments, type ExternalPromotion, type ExternalPromotionCreate, type ExternalPromotionSort, type ExternalPromotionUpdate, ExternalPromotions, type ExternalTaxCalculator, type ExternalTaxCalculatorCreate, type ExternalTaxCalculatorSort, type ExternalTaxCalculatorUpdate, ExternalTaxCalculators, type FixedAmountPromotion, type FixedAmountPromotionCreate, type FixedAmountPromotionSort, type FixedAmountPromotionUpdate, FixedAmountPromotions, type FixedPricePromotion, type FixedPricePromotionCreate, type FixedPricePromotionSort, type FixedPricePromotionUpdate, FixedPricePromotions, type FreeGiftPromotion, type FreeGiftPromotionCreate, type FreeGiftPromotionSort, type FreeGiftPromotionUpdate, FreeGiftPromotions, type FreeShippingPromotion, type FreeShippingPromotionCreate, type FreeShippingPromotionSort, type FreeShippingPromotionUpdate, FreeShippingPromotions, type Geocoder, type GeocoderSort, Geocoders, type GiftCard, type GiftCardCreate, type GiftCardRecipient, type GiftCardRecipientCreate, type GiftCardRecipientSort, type GiftCardRecipientUpdate, GiftCardRecipients, type GiftCardSort, type GiftCardUpdate, GiftCards, type GoogleGeocoder, type GoogleGeocoderCreate, type GoogleGeocoderSort, type GoogleGeocoderUpdate, GoogleGeocoders, type HeadersObj, type Import, type ImportCreate, type ImportSort, Imports, type InStockSubscription, type InStockSubscriptionCreate, type InStockSubscriptionSort, type InStockSubscriptionUpdate, InStockSubscriptions, type InventoryModel, type InventoryModelCreate, type InventoryModelSort, type InventoryModelUpdate, InventoryModels, type InventoryReturnLocation, type InventoryReturnLocationCreate, type InventoryReturnLocationSort, type InventoryReturnLocationUpdate, InventoryReturnLocations, type InventoryStockLocation, type InventoryStockLocationCreate, type InventoryStockLocationSort, type InventoryStockLocationUpdate, InventoryStockLocations, type KlarnaGateway, type KlarnaGatewayCreate, type KlarnaGatewaySort, type KlarnaGatewayUpdate, KlarnaGateways, type KlarnaPayment, type KlarnaPaymentCreate, type KlarnaPaymentSort, type KlarnaPaymentUpdate, KlarnaPayments, type LineItem, type LineItemCreate, type LineItemOption, type LineItemOptionCreate, type LineItemOptionSort, type LineItemOptionUpdate, LineItemOptions, type LineItemSort, type LineItemUpdate, LineItems, type ListMeta, ListResponse, type ListableResource, type ListableResourceType, type ManualGateway, type ManualGatewayCreate, type ManualGatewaySort, type ManualGatewayUpdate, ManualGateways, type ManualTaxCalculator, type ManualTaxCalculatorCreate, type ManualTaxCalculatorSort, type ManualTaxCalculatorUpdate, ManualTaxCalculators, type Market, type MarketCreate, type MarketSort, type MarketUpdate, Markets, type Merchant, type MerchantCreate, type MerchantSort, type MerchantUpdate, Merchants, type Metadata, type Order, type OrderAmountPromotionRule, type OrderAmountPromotionRuleCreate, type OrderAmountPromotionRuleSort, type OrderAmountPromotionRuleUpdate, OrderAmountPromotionRules, OrderCopies, type OrderCopy, type OrderCopyCreate, type OrderCopySort, type OrderCopyUpdate, type OrderCreate, OrderFactories, type OrderFactory, type OrderFactorySort, type OrderSort, type OrderSubscription, type OrderSubscriptionCreate, type OrderSubscriptionItem, type OrderSubscriptionItemCreate, type OrderSubscriptionItemSort, type OrderSubscriptionItemUpdate, OrderSubscriptionItems, type OrderSubscriptionSort, type OrderSubscriptionUpdate, OrderSubscriptions, type OrderUpdate, type OrderValidationRule, type OrderValidationRuleSort, OrderValidationRules, Orders, type Organization, type OrganizationSort, Organizations, type Package, type PackageCreate, type PackageSort, type PackageUpdate, Packages, type Parcel, type ParcelCreate, type ParcelLineItem, type ParcelLineItemCreate, type ParcelLineItemSort, type ParcelLineItemUpdate, ParcelLineItems, type ParcelSort, type ParcelUpdate, Parcels, type PaymentGateway, type PaymentGatewaySort, PaymentGateways, type PaymentMethod, type PaymentMethodCreate, type PaymentMethodSort, type PaymentMethodUpdate, PaymentMethods, type PaymentOption, type PaymentOptionCreate, type PaymentOptionSort, type PaymentOptionUpdate, PaymentOptions, type PaypalGateway, type PaypalGatewayCreate, type PaypalGatewaySort, type PaypalGatewayUpdate, PaypalGateways, type PaypalPayment, type PaypalPaymentCreate, type PaypalPaymentSort, type PaypalPaymentUpdate, PaypalPayments, type PercentageDiscountPromotion, type PercentageDiscountPromotionCreate, type PercentageDiscountPromotionSort, type PercentageDiscountPromotionUpdate, PercentageDiscountPromotions, type Price, type PriceCreate, type PriceFrequencyTier, type PriceFrequencyTierCreate, type PriceFrequencyTierSort, type PriceFrequencyTierUpdate, PriceFrequencyTiers, type PriceList, type PriceListCreate, type PriceListSort, type PriceListUpdate, PriceLists, type PriceSort, type PriceTier, type PriceTierSort, PriceTiers, type PriceUpdate, type PriceVolumeTier, type PriceVolumeTierCreate, type PriceVolumeTierSort, type PriceVolumeTierUpdate, PriceVolumeTiers, Prices, type Promotion, type PromotionRule, type PromotionRuleSort, PromotionRules, type PromotionSort, Promotions, type QueryArrayFields, type QueryArraySortable, type QueryFilter, type QueryInclude, type QueryPageNumber, type QueryPageSize, type QueryParams, type QueryParamsList, type QueryParamsRetrieve, type QueryRecordFields, type QueryRecordSortable, RecurringOrderCopies, type RecurringOrderCopy, type RecurringOrderCopyCreate, type RecurringOrderCopySort, type RecurringOrderCopyUpdate, type Refund, type RefundSort, Refunds, type RequestObj, type ReservedStock, type ReservedStockSort, ReservedStocks, type Resource, ResourceAdapter, type ResourceCreate, type ResourceError, type ResourceErrorSort, ResourceErrors, type ResourceFields, type ResourceFilter, type ResourceId, type ResourceRel, type ResourceSort, type ResourceSortFields, type ResourceType, type ResourceTypeLock, type ResourceUpdate, type ResourcesConfig, type ResourcesInitConfig, type ResponseObj, type RetrievableResource, type RetrievableResourceType, type Return, type ReturnCreate, type ReturnLineItem, type ReturnLineItemCreate, type ReturnLineItemSort, type ReturnLineItemUpdate, ReturnLineItems, type ReturnSort, type ReturnUpdate, Returns, type SatispayGateway, type SatispayGatewayCreate, type SatispayGatewaySort, type SatispayGatewayUpdate, SatispayGateways, type SatispayPayment, type SatispayPaymentCreate, type SatispayPaymentSort, type SatispayPaymentUpdate, SatispayPayments, SdkError, type Shipment, type ShipmentCreate, type ShipmentSort, type ShipmentUpdate, Shipments, ShippingCategories, type ShippingCategory, type ShippingCategoryCreate, type ShippingCategorySort, type ShippingCategoryUpdate, type ShippingMethod, type ShippingMethodCreate, type ShippingMethodSort, type ShippingMethodTier, type ShippingMethodTierSort, ShippingMethodTiers, type ShippingMethodUpdate, ShippingMethods, type ShippingWeightTier, type ShippingWeightTierCreate, type ShippingWeightTierSort, type ShippingWeightTierUpdate, ShippingWeightTiers, type ShippingZone, type ShippingZoneCreate, type ShippingZoneSort, type ShippingZoneUpdate, ShippingZones, type Sku, type SkuCreate, type SkuList, type SkuListCreate, type SkuListItem, type SkuListItemCreate, type SkuListItemSort, type SkuListItemUpdate, SkuListItems, type SkuListPromotionRule, type SkuListPromotionRuleCreate, type SkuListPromotionRuleSort, type SkuListPromotionRuleUpdate, SkuListPromotionRules, type SkuListSort, type SkuListUpdate, SkuLists, type SkuOption, type SkuOptionCreate, type SkuOptionSort, type SkuOptionUpdate, SkuOptions, type SkuSort, type SkuUpdate, Skus, type StockItem, type StockItemCreate, type StockItemSort, type StockItemUpdate, StockItems, type StockLineItem, type StockLineItemCreate, type StockLineItemSort, type StockLineItemUpdate, StockLineItems, type StockLocation, type StockLocationCreate, type StockLocationSort, type StockLocationUpdate, StockLocations, type StockReservation, type StockReservationCreate, type StockReservationSort, type StockReservationUpdate, StockReservations, type StockTransfer, type StockTransferCreate, type StockTransferSort, type StockTransferUpdate, StockTransfers, type StripeGateway, type StripeGatewayCreate, type StripeGatewaySort, type StripeGatewayUpdate, StripeGateways, type StripePayment, type StripePaymentCreate, type StripePaymentSort, type StripePaymentUpdate, StripePayments, type SubscriptionModel, type SubscriptionModelCreate, type SubscriptionModelSort, type SubscriptionModelUpdate, SubscriptionModels, type Tag, type TagCreate, type TagSort, type TagUpdate, type TaggableResource, type TaggableResourceType, Tags, type TaxCalculator, type TaxCalculatorSort, TaxCalculators, TaxCategories, type TaxCategory, type TaxCategoryCreate, type TaxCategorySort, type TaxCategoryUpdate, type TaxRule, type TaxRuleCreate, type TaxRuleSort, type TaxRuleUpdate, TaxRules, type TaxjarAccount, type TaxjarAccountCreate, type TaxjarAccountSort, type TaxjarAccountUpdate, TaxjarAccounts, type Transaction, type TransactionSort, Transactions, type UpdatableResource, type UpdatableResourceType, type Version, type VersionSort, type VersionableResource, type VersionableResourceType, Versions, type Void, type VoidSort, Voids, type Webhook, type WebhookCreate, type WebhookSort, type WebhookUpdate, Webhooks, type WireTransfer, type WireTransferCreate, type WireTransferSort, type WireTransferUpdate, WireTransfers, apiResourceAdapter, CommerceLayer as default, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };
|
15144
|
+
export { type Address, type AddressCreate, type AddressSort, type AddressUpdate, Addresses, type Adjustment, type AdjustmentCreate, type AdjustmentSort, type AdjustmentUpdate, Adjustments, type AdyenGateway, type AdyenGatewayCreate, type AdyenGatewaySort, type AdyenGatewayUpdate, AdyenGateways, type AdyenPayment, type AdyenPaymentCreate, type AdyenPaymentSort, type AdyenPaymentUpdate, AdyenPayments, ApiError, ApiResource, ApiSingleton, type Application, type ApplicationSort, Applications, type Attachment, type AttachmentCreate, type AttachmentSort, type AttachmentUpdate, Attachments, type Authorization, type AuthorizationSort, type AuthorizationUpdate, Authorizations, type AvalaraAccount, type AvalaraAccountCreate, type AvalaraAccountSort, type AvalaraAccountUpdate, AvalaraAccounts, type AxerveGateway, type AxerveGatewayCreate, type AxerveGatewaySort, type AxerveGatewayUpdate, AxerveGateways, type AxervePayment, type AxervePaymentCreate, type AxervePaymentSort, type AxervePaymentUpdate, AxervePayments, type BillingInfoValidationRule, type BillingInfoValidationRuleCreate, type BillingInfoValidationRuleSort, type BillingInfoValidationRuleUpdate, BillingInfoValidationRules, type BingGeocoder, type BingGeocoderCreate, type BingGeocoderSort, type BingGeocoderUpdate, BingGeocoders, type BraintreeGateway, type BraintreeGatewayCreate, type BraintreeGatewaySort, type BraintreeGatewayUpdate, BraintreeGateways, type BraintreePayment, type BraintreePaymentCreate, type BraintreePaymentSort, type BraintreePaymentUpdate, BraintreePayments, type Bundle, type BundleCreate, type BundleSort, type BundleUpdate, Bundles, type BuyXPayYPromotion, type BuyXPayYPromotionCreate, type BuyXPayYPromotionSort, type BuyXPayYPromotionUpdate, BuyXPayYPromotions, type Capture, type CaptureSort, type CaptureUpdate, Captures, type CarrierAccount, type CarrierAccountSort, CarrierAccounts, type CheckoutComGateway, type CheckoutComGatewayCreate, type CheckoutComGatewaySort, type CheckoutComGatewayUpdate, CheckoutComGateways, type CheckoutComPayment, type CheckoutComPaymentCreate, type CheckoutComPaymentSort, type CheckoutComPaymentUpdate, CheckoutComPayments, type Cleanup, type CleanupCreate, type CleanupSort, Cleanups, CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, CommerceLayerStatic, type Coupon, type CouponCodesPromotionRule, type CouponCodesPromotionRuleCreate, type CouponCodesPromotionRuleSort, type CouponCodesPromotionRuleUpdate, CouponCodesPromotionRules, type CouponCreate, type CouponRecipient, type CouponRecipientCreate, type CouponRecipientSort, type CouponRecipientUpdate, CouponRecipients, type CouponSort, type CouponUpdate, Coupons, type CreatableResource, type CreatableResourceType, type CustomPromotionRule, type CustomPromotionRuleCreate, type CustomPromotionRuleSort, type CustomPromotionRuleUpdate, CustomPromotionRules, type Customer, type CustomerAddress, type CustomerAddressCreate, type CustomerAddressSort, type CustomerAddressUpdate, CustomerAddresses, type CustomerCreate, type CustomerGroup, type CustomerGroupCreate, type CustomerGroupSort, type CustomerGroupUpdate, CustomerGroups, type CustomerPasswordReset, type CustomerPasswordResetCreate, type CustomerPasswordResetSort, type CustomerPasswordResetUpdate, CustomerPasswordResets, type CustomerPaymentSource, type CustomerPaymentSourceCreate, type CustomerPaymentSourceSort, type CustomerPaymentSourceUpdate, CustomerPaymentSources, type CustomerSort, type CustomerSubscription, type CustomerSubscriptionCreate, type CustomerSubscriptionSort, type CustomerSubscriptionUpdate, CustomerSubscriptions, type CustomerUpdate, Customers, type DeletableResource, type DeletableResourceType, type DeliveryLeadTime, type DeliveryLeadTimeCreate, type DeliveryLeadTimeSort, type DeliveryLeadTimeUpdate, DeliveryLeadTimes, type ErrorObj, ErrorType, type Event, type EventCallback, type EventCallbackSort, EventCallbacks, type EventSort, Events, type Export, type ExportCreate, type ExportSort, Exports, type ExternalGateway, type ExternalGatewayCreate, type ExternalGatewaySort, type ExternalGatewayUpdate, ExternalGateways, type ExternalPayment, type ExternalPaymentCreate, type ExternalPaymentSort, type ExternalPaymentUpdate, ExternalPayments, type ExternalPromotion, type ExternalPromotionCreate, type ExternalPromotionSort, type ExternalPromotionUpdate, ExternalPromotions, type ExternalTaxCalculator, type ExternalTaxCalculatorCreate, type ExternalTaxCalculatorSort, type ExternalTaxCalculatorUpdate, ExternalTaxCalculators, type FixedAmountPromotion, type FixedAmountPromotionCreate, type FixedAmountPromotionSort, type FixedAmountPromotionUpdate, FixedAmountPromotions, type FixedPricePromotion, type FixedPricePromotionCreate, type FixedPricePromotionSort, type FixedPricePromotionUpdate, FixedPricePromotions, type FreeGiftPromotion, type FreeGiftPromotionCreate, type FreeGiftPromotionSort, type FreeGiftPromotionUpdate, FreeGiftPromotions, type FreeShippingPromotion, type FreeShippingPromotionCreate, type FreeShippingPromotionSort, type FreeShippingPromotionUpdate, FreeShippingPromotions, type Geocoder, type GeocoderSort, Geocoders, type GiftCard, type GiftCardCreate, type GiftCardRecipient, type GiftCardRecipientCreate, type GiftCardRecipientSort, type GiftCardRecipientUpdate, GiftCardRecipients, type GiftCardSort, type GiftCardUpdate, GiftCards, type GoogleGeocoder, type GoogleGeocoderCreate, type GoogleGeocoderSort, type GoogleGeocoderUpdate, GoogleGeocoders, type HeadersObj, type Import, type ImportCreate, type ImportSort, Imports, type InStockSubscription, type InStockSubscriptionCreate, type InStockSubscriptionSort, type InStockSubscriptionUpdate, InStockSubscriptions, type InventoryModel, type InventoryModelCreate, type InventoryModelSort, type InventoryModelUpdate, InventoryModels, type InventoryReturnLocation, type InventoryReturnLocationCreate, type InventoryReturnLocationSort, type InventoryReturnLocationUpdate, InventoryReturnLocations, type InventoryStockLocation, type InventoryStockLocationCreate, type InventoryStockLocationSort, type InventoryStockLocationUpdate, InventoryStockLocations, type KlarnaGateway, type KlarnaGatewayCreate, type KlarnaGatewaySort, type KlarnaGatewayUpdate, KlarnaGateways, type KlarnaPayment, type KlarnaPaymentCreate, type KlarnaPaymentSort, type KlarnaPaymentUpdate, KlarnaPayments, type LineItem, type LineItemCreate, type LineItemOption, type LineItemOptionCreate, type LineItemOptionSort, type LineItemOptionUpdate, LineItemOptions, type LineItemSort, type LineItemUpdate, LineItems, type ListMeta, ListResponse, type ListableResource, type ListableResourceType, type ManualGateway, type ManualGatewayCreate, type ManualGatewaySort, type ManualGatewayUpdate, ManualGateways, type ManualTaxCalculator, type ManualTaxCalculatorCreate, type ManualTaxCalculatorSort, type ManualTaxCalculatorUpdate, ManualTaxCalculators, type Market, type MarketCreate, type MarketSort, type MarketUpdate, Markets, type Merchant, type MerchantCreate, type MerchantSort, type MerchantUpdate, Merchants, type Metadata, type Order, type OrderAmountPromotionRule, type OrderAmountPromotionRuleCreate, type OrderAmountPromotionRuleSort, type OrderAmountPromotionRuleUpdate, OrderAmountPromotionRules, OrderCopies, type OrderCopy, type OrderCopyCreate, type OrderCopySort, type OrderCopyUpdate, type OrderCreate, OrderFactories, type OrderFactory, type OrderFactorySort, type OrderSort, type OrderSubscription, type OrderSubscriptionCreate, type OrderSubscriptionItem, type OrderSubscriptionItemCreate, type OrderSubscriptionItemSort, type OrderSubscriptionItemUpdate, OrderSubscriptionItems, type OrderSubscriptionSort, type OrderSubscriptionUpdate, OrderSubscriptions, type OrderUpdate, type OrderValidationRule, type OrderValidationRuleSort, OrderValidationRules, Orders, type Organization, type OrganizationSort, Organizations, type Package, type PackageCreate, type PackageSort, type PackageUpdate, Packages, type Parcel, type ParcelCreate, type ParcelLineItem, type ParcelLineItemCreate, type ParcelLineItemSort, type ParcelLineItemUpdate, ParcelLineItems, type ParcelSort, type ParcelUpdate, Parcels, type PaymentGateway, type PaymentGatewaySort, PaymentGateways, type PaymentMethod, type PaymentMethodCreate, type PaymentMethodSort, type PaymentMethodUpdate, PaymentMethods, type PaymentOption, type PaymentOptionCreate, type PaymentOptionSort, type PaymentOptionUpdate, PaymentOptions, type PaypalGateway, type PaypalGatewayCreate, type PaypalGatewaySort, type PaypalGatewayUpdate, PaypalGateways, type PaypalPayment, type PaypalPaymentCreate, type PaypalPaymentSort, type PaypalPaymentUpdate, PaypalPayments, type PercentageDiscountPromotion, type PercentageDiscountPromotionCreate, type PercentageDiscountPromotionSort, type PercentageDiscountPromotionUpdate, PercentageDiscountPromotions, type Price, type PriceCreate, type PriceFrequencyTier, type PriceFrequencyTierCreate, type PriceFrequencyTierSort, type PriceFrequencyTierUpdate, PriceFrequencyTiers, type PriceList, type PriceListCreate, type PriceListScheduler, type PriceListSchedulerCreate, type PriceListSchedulerSort, type PriceListSchedulerUpdate, PriceListSchedulers, type PriceListSort, type PriceListUpdate, PriceLists, type PriceSort, type PriceTier, type PriceTierSort, PriceTiers, type PriceUpdate, type PriceVolumeTier, type PriceVolumeTierCreate, type PriceVolumeTierSort, type PriceVolumeTierUpdate, PriceVolumeTiers, Prices, type Promotion, type PromotionRule, type PromotionRuleSort, PromotionRules, type PromotionSort, Promotions, type QueryArrayFields, type QueryArraySortable, type QueryFilter, type QueryInclude, type QueryPageNumber, type QueryPageSize, type QueryParams, type QueryParamsList, type QueryParamsRetrieve, type QueryRecordFields, type QueryRecordSortable, RecurringOrderCopies, type RecurringOrderCopy, type RecurringOrderCopyCreate, type RecurringOrderCopySort, type RecurringOrderCopyUpdate, type Refund, type RefundSort, Refunds, type RequestObj, type ReservedStock, type ReservedStockSort, ReservedStocks, type Resource, ResourceAdapter, type ResourceCreate, type ResourceError, type ResourceErrorSort, ResourceErrors, type ResourceFields, type ResourceFilter, type ResourceId, type ResourceRel, type ResourceSort, type ResourceSortFields, type ResourceType, type ResourceTypeLock, type ResourceUpdate, type ResourcesConfig, type ResourcesInitConfig, type ResponseObj, type RetrievableResource, type RetrievableResourceType, type Return, type ReturnCreate, type ReturnLineItem, type ReturnLineItemCreate, type ReturnLineItemSort, type ReturnLineItemUpdate, ReturnLineItems, type ReturnSort, type ReturnUpdate, Returns, type SatispayGateway, type SatispayGatewayCreate, type SatispayGatewaySort, type SatispayGatewayUpdate, SatispayGateways, type SatispayPayment, type SatispayPaymentCreate, type SatispayPaymentSort, type SatispayPaymentUpdate, SatispayPayments, SdkError, type Shipment, type ShipmentCreate, type ShipmentSort, type ShipmentUpdate, Shipments, ShippingCategories, type ShippingCategory, type ShippingCategoryCreate, type ShippingCategorySort, type ShippingCategoryUpdate, type ShippingMethod, type ShippingMethodCreate, type ShippingMethodSort, type ShippingMethodTier, type ShippingMethodTierSort, ShippingMethodTiers, type ShippingMethodUpdate, ShippingMethods, type ShippingWeightTier, type ShippingWeightTierCreate, type ShippingWeightTierSort, type ShippingWeightTierUpdate, ShippingWeightTiers, type ShippingZone, type ShippingZoneCreate, type ShippingZoneSort, type ShippingZoneUpdate, ShippingZones, type Sku, type SkuCreate, type SkuList, type SkuListCreate, type SkuListItem, type SkuListItemCreate, type SkuListItemSort, type SkuListItemUpdate, SkuListItems, type SkuListPromotionRule, type SkuListPromotionRuleCreate, type SkuListPromotionRuleSort, type SkuListPromotionRuleUpdate, SkuListPromotionRules, type SkuListSort, type SkuListUpdate, SkuLists, type SkuOption, type SkuOptionCreate, type SkuOptionSort, type SkuOptionUpdate, SkuOptions, type SkuSort, type SkuUpdate, Skus, type StockItem, type StockItemCreate, type StockItemSort, type StockItemUpdate, StockItems, type StockLineItem, type StockLineItemCreate, type StockLineItemSort, type StockLineItemUpdate, StockLineItems, type StockLocation, type StockLocationCreate, type StockLocationSort, type StockLocationUpdate, StockLocations, type StockReservation, type StockReservationCreate, type StockReservationSort, type StockReservationUpdate, StockReservations, type StockTransfer, type StockTransferCreate, type StockTransferSort, type StockTransferUpdate, StockTransfers, type StripeGateway, type StripeGatewayCreate, type StripeGatewaySort, type StripeGatewayUpdate, StripeGateways, type StripePayment, type StripePaymentCreate, type StripePaymentSort, type StripePaymentUpdate, StripePayments, type SubscriptionModel, type SubscriptionModelCreate, type SubscriptionModelSort, type SubscriptionModelUpdate, SubscriptionModels, type Tag, type TagCreate, type TagSort, type TagUpdate, type TaggableResource, type TaggableResourceType, Tags, type TaxCalculator, type TaxCalculatorSort, TaxCalculators, TaxCategories, type TaxCategory, type TaxCategoryCreate, type TaxCategorySort, type TaxCategoryUpdate, type TaxRule, type TaxRuleCreate, type TaxRuleSort, type TaxRuleUpdate, TaxRules, type TaxjarAccount, type TaxjarAccountCreate, type TaxjarAccountSort, type TaxjarAccountUpdate, TaxjarAccounts, type Transaction, type TransactionSort, Transactions, type UpdatableResource, type UpdatableResourceType, type Version, type VersionSort, type VersionableResource, type VersionableResourceType, Versions, type Void, type VoidSort, Voids, type Webhook, type WebhookCreate, type WebhookSort, type WebhookUpdate, Webhooks, type WireTransfer, type WireTransferCreate, type WireTransferSort, type WireTransferUpdate, WireTransfers, apiResourceAdapter, CommerceLayer as default, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };
|