@commercelayer/sdk 6.10.0 → 6.11.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 +117 -70
- package/lib/index.d.ts +117 -70
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +4 -4
package/lib/index.d.ts
CHANGED
@@ -920,7 +920,7 @@ type PaymentMethodType = 'payment_methods';
|
|
920
920
|
type PaymentMethodRel$4 = ResourceRel & {
|
921
921
|
type: PaymentMethodType;
|
922
922
|
};
|
923
|
-
type MarketRel$
|
923
|
+
type MarketRel$j = ResourceRel & {
|
924
924
|
type: MarketType;
|
925
925
|
};
|
926
926
|
type PaymentGatewayRel = ResourceRel & {
|
@@ -1045,7 +1045,7 @@ interface PaymentMethodCreate extends ResourceCreate {
|
|
1045
1045
|
* @example ```"true"```
|
1046
1046
|
*/
|
1047
1047
|
_enable?: boolean | null;
|
1048
|
-
market?: MarketRel$
|
1048
|
+
market?: MarketRel$j | null;
|
1049
1049
|
payment_gateway: PaymentGatewayRel;
|
1050
1050
|
}
|
1051
1051
|
interface PaymentMethodUpdate extends ResourceUpdate {
|
@@ -1095,7 +1095,7 @@ interface PaymentMethodUpdate extends ResourceUpdate {
|
|
1095
1095
|
* @example ```"true"```
|
1096
1096
|
*/
|
1097
1097
|
_enable?: boolean | null;
|
1098
|
-
market?: MarketRel$
|
1098
|
+
market?: MarketRel$j | null;
|
1099
1099
|
payment_gateway?: PaymentGatewayRel | null;
|
1100
1100
|
}
|
1101
1101
|
declare class PaymentMethods extends ApiResource<PaymentMethod> {
|
@@ -2312,7 +2312,7 @@ type SkuOptionType = 'sku_options';
|
|
2312
2312
|
type SkuOptionRel$2 = ResourceRel & {
|
2313
2313
|
type: SkuOptionType;
|
2314
2314
|
};
|
2315
|
-
type MarketRel$
|
2315
|
+
type MarketRel$i = ResourceRel & {
|
2316
2316
|
type: MarketType;
|
2317
2317
|
};
|
2318
2318
|
type TagRel$j = ResourceRel & {
|
@@ -2403,7 +2403,7 @@ interface SkuOptionCreate extends ResourceCreate {
|
|
2403
2403
|
* @example ```"^(A|B).*$"```
|
2404
2404
|
*/
|
2405
2405
|
sku_code_regex?: string | null;
|
2406
|
-
market?: MarketRel$
|
2406
|
+
market?: MarketRel$i | null;
|
2407
2407
|
tags?: TagRel$j[] | null;
|
2408
2408
|
}
|
2409
2409
|
interface SkuOptionUpdate extends ResourceUpdate {
|
@@ -2437,7 +2437,7 @@ interface SkuOptionUpdate extends ResourceUpdate {
|
|
2437
2437
|
* @example ```"^(A|B).*$"```
|
2438
2438
|
*/
|
2439
2439
|
sku_code_regex?: string | null;
|
2440
|
-
market?: MarketRel$
|
2440
|
+
market?: MarketRel$i | null;
|
2441
2441
|
tags?: TagRel$j[] | null;
|
2442
2442
|
}
|
2443
2443
|
declare class SkuOptions extends ApiResource<SkuOption> {
|
@@ -2815,7 +2815,7 @@ interface AuthorizationUpdate extends ResourceUpdate {
|
|
2815
2815
|
*/
|
2816
2816
|
succeeded?: boolean | null;
|
2817
2817
|
/**
|
2818
|
-
* Send this attribute if you want to
|
2818
|
+
* Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.
|
2819
2819
|
* @example ```"true"```
|
2820
2820
|
*/
|
2821
2821
|
_forward?: boolean | null;
|
@@ -3041,7 +3041,7 @@ interface CaptureUpdate extends ResourceUpdate {
|
|
3041
3041
|
*/
|
3042
3042
|
succeeded?: boolean | null;
|
3043
3043
|
/**
|
3044
|
-
* Send this attribute if you want to
|
3044
|
+
* Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.
|
3045
3045
|
* @example ```"true"```
|
3046
3046
|
*/
|
3047
3047
|
_forward?: boolean | null;
|
@@ -3341,7 +3341,7 @@ interface ReturnLineItem extends Resource {
|
|
3341
3341
|
quantity: number;
|
3342
3342
|
/**
|
3343
3343
|
* The name of the line item.
|
3344
|
-
* @example ```"Black
|
3344
|
+
* @example ```"Men's Black T-shirt with White Logo (XL)"```
|
3345
3345
|
*/
|
3346
3346
|
name?: string | null;
|
3347
3347
|
/**
|
@@ -3826,7 +3826,7 @@ type BundleType = 'bundles';
|
|
3826
3826
|
type BundleRel$3 = ResourceRel & {
|
3827
3827
|
type: BundleType;
|
3828
3828
|
};
|
3829
|
-
type MarketRel$
|
3829
|
+
type MarketRel$h = ResourceRel & {
|
3830
3830
|
type: MarketType;
|
3831
3831
|
};
|
3832
3832
|
type SkuListRel$a = ResourceRel & {
|
@@ -3845,7 +3845,7 @@ interface Bundle extends Resource {
|
|
3845
3845
|
code: string;
|
3846
3846
|
/**
|
3847
3847
|
* The internal name of the bundle.
|
3848
|
-
* @example ```"Black
|
3848
|
+
* @example ```"Men's Black T-shirt (XL) with Black Cap and Socks, all with White Logo"```
|
3849
3849
|
*/
|
3850
3850
|
name: string;
|
3851
3851
|
/**
|
@@ -3922,7 +3922,7 @@ interface BundleCreate extends ResourceCreate {
|
|
3922
3922
|
code: string;
|
3923
3923
|
/**
|
3924
3924
|
* The internal name of the bundle.
|
3925
|
-
* @example ```"Black
|
3925
|
+
* @example ```"Men's Black T-shirt (XL) with Black Cap and Socks, all with White Logo"```
|
3926
3926
|
*/
|
3927
3927
|
name: string;
|
3928
3928
|
/**
|
@@ -3960,7 +3960,7 @@ interface BundleCreate extends ResourceCreate {
|
|
3960
3960
|
* @example ```"true"```
|
3961
3961
|
*/
|
3962
3962
|
_compute_compare_at_amount?: boolean | null;
|
3963
|
-
market?: MarketRel$
|
3963
|
+
market?: MarketRel$h | null;
|
3964
3964
|
sku_list: SkuListRel$a;
|
3965
3965
|
tags?: TagRel$g[] | null;
|
3966
3966
|
}
|
@@ -3972,7 +3972,7 @@ interface BundleUpdate extends ResourceUpdate {
|
|
3972
3972
|
code?: string | null;
|
3973
3973
|
/**
|
3974
3974
|
* The internal name of the bundle.
|
3975
|
-
* @example ```"Black
|
3975
|
+
* @example ```"Men's Black T-shirt (XL) with Black Cap and Socks, all with White Logo"```
|
3976
3976
|
*/
|
3977
3977
|
name?: string | null;
|
3978
3978
|
/**
|
@@ -4115,7 +4115,7 @@ type GiftCardType = 'gift_cards';
|
|
4115
4115
|
type GiftCardRel$2 = ResourceRel & {
|
4116
4116
|
type: GiftCardType;
|
4117
4117
|
};
|
4118
|
-
type MarketRel$
|
4118
|
+
type MarketRel$g = ResourceRel & {
|
4119
4119
|
type: MarketType;
|
4120
4120
|
};
|
4121
4121
|
type GiftCardRecipientRel$1 = ResourceRel & {
|
@@ -4283,7 +4283,7 @@ interface GiftCardCreate extends ResourceCreate {
|
|
4283
4283
|
* @example ```"john@example.com"```
|
4284
4284
|
*/
|
4285
4285
|
recipient_email?: string | null;
|
4286
|
-
market?: MarketRel$
|
4286
|
+
market?: MarketRel$g | null;
|
4287
4287
|
gift_card_recipient?: GiftCardRecipientRel$1 | null;
|
4288
4288
|
tags?: TagRel$f[] | null;
|
4289
4289
|
}
|
@@ -4352,7 +4352,7 @@ interface GiftCardUpdate extends ResourceUpdate {
|
|
4352
4352
|
* @example ```"-5000"```
|
4353
4353
|
*/
|
4354
4354
|
_balance_change_cents?: number | null;
|
4355
|
-
market?: MarketRel$
|
4355
|
+
market?: MarketRel$g | null;
|
4356
4356
|
gift_card_recipient?: GiftCardRecipientRel$1 | null;
|
4357
4357
|
tags?: TagRel$f[] | null;
|
4358
4358
|
}
|
@@ -4680,7 +4680,7 @@ type ExternalPromotionType = 'external_promotions';
|
|
4680
4680
|
type ExternalPromotionRel$5 = ResourceRel & {
|
4681
4681
|
type: ExternalPromotionType;
|
4682
4682
|
};
|
4683
|
-
type MarketRel$
|
4683
|
+
type MarketRel$f = ResourceRel & {
|
4684
4684
|
type: MarketType;
|
4685
4685
|
};
|
4686
4686
|
type OrderAmountPromotionRuleRel$7 = ResourceRel & {
|
@@ -4844,7 +4844,7 @@ interface ExternalPromotionCreate extends ResourceCreate {
|
|
4844
4844
|
* @example ```"https://external_promotion.yourbrand.com"```
|
4845
4845
|
*/
|
4846
4846
|
promotion_url: string;
|
4847
|
-
market?: MarketRel$
|
4847
|
+
market?: MarketRel$f | null;
|
4848
4848
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$7 | null;
|
4849
4849
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$7 | null;
|
4850
4850
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$7 | null;
|
@@ -4908,7 +4908,7 @@ interface ExternalPromotionUpdate extends ResourceUpdate {
|
|
4908
4908
|
* @example ```"true"```
|
4909
4909
|
*/
|
4910
4910
|
_reset_circuit?: boolean | null;
|
4911
|
-
market?: MarketRel$
|
4911
|
+
market?: MarketRel$f | null;
|
4912
4912
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$7 | null;
|
4913
4913
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$7 | null;
|
4914
4914
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$7 | null;
|
@@ -4946,7 +4946,7 @@ type FixedAmountPromotionType = 'fixed_amount_promotions';
|
|
4946
4946
|
type FixedAmountPromotionRel$5 = ResourceRel & {
|
4947
4947
|
type: FixedAmountPromotionType;
|
4948
4948
|
};
|
4949
|
-
type MarketRel$
|
4949
|
+
type MarketRel$e = ResourceRel & {
|
4950
4950
|
type: MarketType;
|
4951
4951
|
};
|
4952
4952
|
type OrderAmountPromotionRuleRel$6 = ResourceRel & {
|
@@ -5105,7 +5105,7 @@ interface FixedAmountPromotionCreate extends ResourceCreate {
|
|
5105
5105
|
* @example ```"1000"```
|
5106
5106
|
*/
|
5107
5107
|
fixed_amount_cents: number;
|
5108
|
-
market?: MarketRel$
|
5108
|
+
market?: MarketRel$e | null;
|
5109
5109
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$6 | null;
|
5110
5110
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$6 | null;
|
5111
5111
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$6 | null;
|
@@ -5164,7 +5164,7 @@ interface FixedAmountPromotionUpdate extends ResourceUpdate {
|
|
5164
5164
|
* @example ```"1000"```
|
5165
5165
|
*/
|
5166
5166
|
fixed_amount_cents?: number | null;
|
5167
|
-
market?: MarketRel$
|
5167
|
+
market?: MarketRel$e | null;
|
5168
5168
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$6 | null;
|
5169
5169
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$6 | null;
|
5170
5170
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$6 | null;
|
@@ -5220,7 +5220,7 @@ type FixedPricePromotionType = 'fixed_price_promotions';
|
|
5220
5220
|
type FixedPricePromotionRel$5 = ResourceRel & {
|
5221
5221
|
type: FixedPricePromotionType;
|
5222
5222
|
};
|
5223
|
-
type MarketRel$
|
5223
|
+
type MarketRel$d = ResourceRel & {
|
5224
5224
|
type: MarketType;
|
5225
5225
|
};
|
5226
5226
|
type OrderAmountPromotionRuleRel$5 = ResourceRel & {
|
@@ -5379,7 +5379,7 @@ interface FixedPricePromotionCreate extends ResourceCreate {
|
|
5379
5379
|
* @example ```"1000"```
|
5380
5380
|
*/
|
5381
5381
|
fixed_amount_cents: number;
|
5382
|
-
market?: MarketRel$
|
5382
|
+
market?: MarketRel$d | null;
|
5383
5383
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$5 | null;
|
5384
5384
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$5 | null;
|
5385
5385
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$5 | null;
|
@@ -5438,7 +5438,7 @@ interface FixedPricePromotionUpdate extends ResourceUpdate {
|
|
5438
5438
|
* @example ```"1000"```
|
5439
5439
|
*/
|
5440
5440
|
fixed_amount_cents?: number | null;
|
5441
|
-
market?: MarketRel$
|
5441
|
+
market?: MarketRel$d | null;
|
5442
5442
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$5 | null;
|
5443
5443
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$5 | null;
|
5444
5444
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$5 | null;
|
@@ -5539,7 +5539,7 @@ type FreeGiftPromotionType = 'free_gift_promotions';
|
|
5539
5539
|
type FreeGiftPromotionRel$4 = ResourceRel & {
|
5540
5540
|
type: FreeGiftPromotionType;
|
5541
5541
|
};
|
5542
|
-
type MarketRel$
|
5542
|
+
type MarketRel$c = ResourceRel & {
|
5543
5543
|
type: MarketType;
|
5544
5544
|
};
|
5545
5545
|
type OrderAmountPromotionRuleRel$4 = ResourceRel & {
|
@@ -5688,7 +5688,7 @@ interface FreeGiftPromotionCreate extends ResourceCreate {
|
|
5688
5688
|
* @example ```"3"```
|
5689
5689
|
*/
|
5690
5690
|
max_quantity?: number | null;
|
5691
|
-
market?: MarketRel$
|
5691
|
+
market?: MarketRel$c | null;
|
5692
5692
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$4 | null;
|
5693
5693
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$4 | null;
|
5694
5694
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$4 | null;
|
@@ -5747,7 +5747,7 @@ interface FreeGiftPromotionUpdate extends ResourceUpdate {
|
|
5747
5747
|
* @example ```"3"```
|
5748
5748
|
*/
|
5749
5749
|
max_quantity?: number | null;
|
5750
|
-
market?: MarketRel$
|
5750
|
+
market?: MarketRel$c | null;
|
5751
5751
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$4 | null;
|
5752
5752
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$4 | null;
|
5753
5753
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$4 | null;
|
@@ -5840,7 +5840,7 @@ type BuyXPayYPromotionType = 'buy_x_pay_y_promotions';
|
|
5840
5840
|
type BuyXPayYPromotionRel$3 = ResourceRel & {
|
5841
5841
|
type: BuyXPayYPromotionType;
|
5842
5842
|
};
|
5843
|
-
type MarketRel$
|
5843
|
+
type MarketRel$b = ResourceRel & {
|
5844
5844
|
type: MarketType;
|
5845
5845
|
};
|
5846
5846
|
type OrderAmountPromotionRuleRel$3 = ResourceRel & {
|
@@ -6009,7 +6009,7 @@ interface BuyXPayYPromotionCreate extends ResourceCreate {
|
|
6009
6009
|
* @example ```"true"```
|
6010
6010
|
*/
|
6011
6011
|
cheapest_free?: boolean | null;
|
6012
|
-
market?: MarketRel$
|
6012
|
+
market?: MarketRel$b | null;
|
6013
6013
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$3 | null;
|
6014
6014
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$3 | null;
|
6015
6015
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$2 | null;
|
@@ -6078,7 +6078,7 @@ interface BuyXPayYPromotionUpdate extends ResourceUpdate {
|
|
6078
6078
|
* @example ```"true"```
|
6079
6079
|
*/
|
6080
6080
|
cheapest_free?: boolean | null;
|
6081
|
-
market?: MarketRel$
|
6081
|
+
market?: MarketRel$b | null;
|
6082
6082
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$3 | null;
|
6083
6083
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$3 | null;
|
6084
6084
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$2 | null;
|
@@ -6203,7 +6203,7 @@ type FreeShippingPromotionType = 'free_shipping_promotions';
|
|
6203
6203
|
type FreeShippingPromotionRel$2 = ResourceRel & {
|
6204
6204
|
type: FreeShippingPromotionType;
|
6205
6205
|
};
|
6206
|
-
type MarketRel$
|
6206
|
+
type MarketRel$a = ResourceRel & {
|
6207
6207
|
type: MarketType;
|
6208
6208
|
};
|
6209
6209
|
type OrderAmountPromotionRuleRel$2 = ResourceRel & {
|
@@ -6341,7 +6341,7 @@ interface FreeShippingPromotionCreate extends ResourceCreate {
|
|
6341
6341
|
* @example ```"true"```
|
6342
6342
|
*/
|
6343
6343
|
_enable?: boolean | null;
|
6344
|
-
market?: MarketRel$
|
6344
|
+
market?: MarketRel$a | null;
|
6345
6345
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$2 | null;
|
6346
6346
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$1 | null;
|
6347
6347
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$1 | null;
|
@@ -6395,7 +6395,7 @@ interface FreeShippingPromotionUpdate extends ResourceUpdate {
|
|
6395
6395
|
* @example ```"true"```
|
6396
6396
|
*/
|
6397
6397
|
_enable?: boolean | null;
|
6398
|
-
market?: MarketRel$
|
6398
|
+
market?: MarketRel$a | null;
|
6399
6399
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel$2 | null;
|
6400
6400
|
sku_list_promotion_rule?: SkuListPromotionRuleRel$1 | null;
|
6401
6401
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$1 | null;
|
@@ -6520,7 +6520,7 @@ type PercentageDiscountPromotionType = 'percentage_discount_promotions';
|
|
6520
6520
|
type PercentageDiscountPromotionRel$1 = ResourceRel & {
|
6521
6521
|
type: PercentageDiscountPromotionType;
|
6522
6522
|
};
|
6523
|
-
type MarketRel$
|
6523
|
+
type MarketRel$9 = ResourceRel & {
|
6524
6524
|
type: MarketType;
|
6525
6525
|
};
|
6526
6526
|
type OrderAmountPromotionRuleRel = ResourceRel & {
|
@@ -6669,7 +6669,7 @@ interface PercentageDiscountPromotionCreate extends ResourceCreate {
|
|
6669
6669
|
* @example ```"10"```
|
6670
6670
|
*/
|
6671
6671
|
percentage: number;
|
6672
|
-
market?: MarketRel$
|
6672
|
+
market?: MarketRel$9 | null;
|
6673
6673
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null;
|
6674
6674
|
sku_list_promotion_rule?: SkuListPromotionRuleRel | null;
|
6675
6675
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null;
|
@@ -6728,7 +6728,7 @@ interface PercentageDiscountPromotionUpdate extends ResourceUpdate {
|
|
6728
6728
|
* @example ```"10"```
|
6729
6729
|
*/
|
6730
6730
|
percentage?: number | null;
|
6731
|
-
market?: MarketRel$
|
6731
|
+
market?: MarketRel$9 | null;
|
6732
6732
|
order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null;
|
6733
6733
|
sku_list_promotion_rule?: SkuListPromotionRuleRel | null;
|
6734
6734
|
coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null;
|
@@ -6930,7 +6930,7 @@ interface LineItem extends Resource {
|
|
6930
6930
|
formatted_tax_amount?: string | null;
|
6931
6931
|
/**
|
6932
6932
|
* The name of the line item. When blank, it gets populated with the name of the associated item (if present).
|
6933
|
-
* @example ```"Black
|
6933
|
+
* @example ```"Men's Black T-shirt with White Logo (XL)"```
|
6934
6934
|
*/
|
6935
6935
|
name?: string | null;
|
6936
6936
|
/**
|
@@ -7037,7 +7037,7 @@ interface LineItemCreate extends ResourceCreate {
|
|
7037
7037
|
compare_at_amount_cents?: number | null;
|
7038
7038
|
/**
|
7039
7039
|
* The name of the line item. When blank, it gets populated with the name of the associated item (if present).
|
7040
|
-
* @example ```"Black
|
7040
|
+
* @example ```"Men's Black T-shirt with White Logo (XL)"```
|
7041
7041
|
*/
|
7042
7042
|
name?: string | null;
|
7043
7043
|
/**
|
@@ -7097,7 +7097,7 @@ interface LineItemUpdate extends ResourceUpdate {
|
|
7097
7097
|
compare_at_amount_cents?: number | null;
|
7098
7098
|
/**
|
7099
7099
|
* The name of the line item. When blank, it gets populated with the name of the associated item (if present).
|
7100
|
-
* @example ```"Black
|
7100
|
+
* @example ```"Men's Black T-shirt with White Logo (XL)"```
|
7101
7101
|
*/
|
7102
7102
|
name?: string | null;
|
7103
7103
|
/**
|
@@ -7426,7 +7426,7 @@ type OrderSubscriptionType = 'order_subscriptions';
|
|
7426
7426
|
type OrderSubscriptionRel = ResourceRel & {
|
7427
7427
|
type: OrderSubscriptionType;
|
7428
7428
|
};
|
7429
|
-
type MarketRel$
|
7429
|
+
type MarketRel$8 = ResourceRel & {
|
7430
7430
|
type: MarketType;
|
7431
7431
|
};
|
7432
7432
|
type OrderRel$6 = ResourceRel & {
|
@@ -7555,7 +7555,7 @@ interface OrderSubscriptionCreate extends ResourceCreate {
|
|
7555
7555
|
* @example ```"2018-01-02T12:00:00.000Z"```
|
7556
7556
|
*/
|
7557
7557
|
expires_at?: string | null;
|
7558
|
-
market?: MarketRel$
|
7558
|
+
market?: MarketRel$8 | null;
|
7559
7559
|
source_order: OrderRel$6;
|
7560
7560
|
tags?: TagRel$5[] | null;
|
7561
7561
|
}
|
@@ -7919,7 +7919,7 @@ type OrderType = 'orders';
|
|
7919
7919
|
type OrderRel$3 = ResourceRel & {
|
7920
7920
|
type: OrderType;
|
7921
7921
|
};
|
7922
|
-
type MarketRel$
|
7922
|
+
type MarketRel$7 = ResourceRel & {
|
7923
7923
|
type: MarketType;
|
7924
7924
|
};
|
7925
7925
|
type CustomerRel$2 = ResourceRel & {
|
@@ -8617,7 +8617,7 @@ interface OrderCreate extends ResourceCreate {
|
|
8617
8617
|
* @example ```"https://yourdomain.com/privacy"```
|
8618
8618
|
*/
|
8619
8619
|
privacy_url?: string | null;
|
8620
|
-
market?: MarketRel$
|
8620
|
+
market?: MarketRel$7 | null;
|
8621
8621
|
customer?: CustomerRel$2 | null;
|
8622
8622
|
shipping_address?: AddressRel$4 | null;
|
8623
8623
|
billing_address?: AddressRel$4 | null;
|
@@ -8864,7 +8864,7 @@ interface OrderUpdate extends ResourceUpdate {
|
|
8864
8864
|
* @example ```"true"```
|
8865
8865
|
*/
|
8866
8866
|
_reset_circuit?: boolean | null;
|
8867
|
-
market?: MarketRel$
|
8867
|
+
market?: MarketRel$7 | null;
|
8868
8868
|
customer?: CustomerRel$2 | null;
|
8869
8869
|
shipping_address?: AddressRel$4 | null;
|
8870
8870
|
billing_address?: AddressRel$4 | null;
|
@@ -9297,7 +9297,7 @@ type ShippingMethodType = 'shipping_methods';
|
|
9297
9297
|
type ShippingMethodRel$2 = ResourceRel & {
|
9298
9298
|
type: ShippingMethodType;
|
9299
9299
|
};
|
9300
|
-
type MarketRel$
|
9300
|
+
type MarketRel$6 = ResourceRel & {
|
9301
9301
|
type: MarketType;
|
9302
9302
|
};
|
9303
9303
|
type ShippingZoneRel$1 = ResourceRel & {
|
@@ -9484,7 +9484,7 @@ interface ShippingMethodCreate extends ResourceCreate {
|
|
9484
9484
|
* @example ```"true"```
|
9485
9485
|
*/
|
9486
9486
|
_enable?: boolean | null;
|
9487
|
-
market?: MarketRel$
|
9487
|
+
market?: MarketRel$6 | null;
|
9488
9488
|
shipping_zone?: ShippingZoneRel$1 | null;
|
9489
9489
|
shipping_category?: ShippingCategoryRel$3 | null;
|
9490
9490
|
stock_location?: StockLocationRel$5 | null;
|
@@ -9556,7 +9556,7 @@ interface ShippingMethodUpdate extends ResourceUpdate {
|
|
9556
9556
|
* @example ```"true"```
|
9557
9557
|
*/
|
9558
9558
|
_reset_circuit?: boolean | null;
|
9559
|
-
market?: MarketRel$
|
9559
|
+
market?: MarketRel$6 | null;
|
9560
9560
|
shipping_zone?: ShippingZoneRel$1 | null;
|
9561
9561
|
shipping_category?: ShippingCategoryRel$3 | null;
|
9562
9562
|
stock_location?: StockLocationRel$5 | null;
|
@@ -9589,30 +9589,77 @@ type CarrierAccountType = 'carrier_accounts';
|
|
9589
9589
|
type CarrierAccountRel$1 = ResourceRel & {
|
9590
9590
|
type: CarrierAccountType;
|
9591
9591
|
};
|
9592
|
-
type
|
9592
|
+
type MarketRel$5 = ResourceRel & {
|
9593
|
+
type: MarketType;
|
9594
|
+
};
|
9595
|
+
type CarrierAccountSort = Pick<CarrierAccount, 'id' | 'name'> & ResourceSort;
|
9593
9596
|
interface CarrierAccount extends Resource {
|
9594
9597
|
readonly type: CarrierAccountType;
|
9595
9598
|
/**
|
9596
9599
|
* The carrier account internal name.
|
9597
|
-
* @example ```"
|
9600
|
+
* @example ```"Accurate"```
|
9598
9601
|
*/
|
9599
|
-
name
|
9602
|
+
name: string;
|
9600
9603
|
/**
|
9601
9604
|
* The Easypost service carrier type.
|
9602
|
-
* @example ```"
|
9605
|
+
* @example ```"AccurateAccount"```
|
9603
9606
|
*/
|
9604
|
-
easypost_type
|
9607
|
+
easypost_type: string;
|
9605
9608
|
/**
|
9606
9609
|
* The Easypost internal reference ID.
|
9607
9610
|
* @example ```"xxxx-yyyy-zzzz"```
|
9608
9611
|
*/
|
9609
9612
|
easypost_id?: string | null;
|
9613
|
+
/**
|
9614
|
+
* The Easypost carrier accounts credentials fields.
|
9615
|
+
* @example ```"[object Object]"```
|
9616
|
+
*/
|
9617
|
+
credentials: Record<string, any>;
|
9610
9618
|
market?: Market | null;
|
9611
9619
|
attachments?: Attachment[] | null;
|
9612
9620
|
versions?: Version[] | null;
|
9613
9621
|
}
|
9622
|
+
interface CarrierAccountCreate extends ResourceCreate {
|
9623
|
+
/**
|
9624
|
+
* The carrier account internal name.
|
9625
|
+
* @example ```"Accurate"```
|
9626
|
+
*/
|
9627
|
+
name: string;
|
9628
|
+
/**
|
9629
|
+
* The Easypost service carrier type.
|
9630
|
+
* @example ```"AccurateAccount"```
|
9631
|
+
*/
|
9632
|
+
easypost_type: string;
|
9633
|
+
/**
|
9634
|
+
* The Easypost carrier accounts credentials fields.
|
9635
|
+
* @example ```"[object Object]"```
|
9636
|
+
*/
|
9637
|
+
credentials: Record<string, any>;
|
9638
|
+
market?: MarketRel$5 | null;
|
9639
|
+
}
|
9640
|
+
interface CarrierAccountUpdate extends ResourceUpdate {
|
9641
|
+
/**
|
9642
|
+
* The carrier account internal name.
|
9643
|
+
* @example ```"Accurate"```
|
9644
|
+
*/
|
9645
|
+
name?: string | null;
|
9646
|
+
/**
|
9647
|
+
* The Easypost service carrier type.
|
9648
|
+
* @example ```"AccurateAccount"```
|
9649
|
+
*/
|
9650
|
+
easypost_type?: string | null;
|
9651
|
+
/**
|
9652
|
+
* The Easypost carrier accounts credentials fields.
|
9653
|
+
* @example ```"[object Object]"```
|
9654
|
+
*/
|
9655
|
+
credentials?: Record<string, any> | null;
|
9656
|
+
market?: MarketRel$5 | null;
|
9657
|
+
}
|
9614
9658
|
declare class CarrierAccounts extends ApiResource<CarrierAccount> {
|
9615
9659
|
static readonly TYPE: CarrierAccountType;
|
9660
|
+
create(resource: CarrierAccountCreate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
|
9661
|
+
update(resource: CarrierAccountUpdate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
|
9662
|
+
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
9616
9663
|
market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
9617
9664
|
attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
9618
9665
|
versions(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
@@ -9778,7 +9825,7 @@ interface ParcelLineItem extends Resource {
|
|
9778
9825
|
quantity: number;
|
9779
9826
|
/**
|
9780
9827
|
* The internal name of the associated line item.
|
9781
|
-
* @example ```"Black
|
9828
|
+
* @example ```"Men's Black T-shirt with White Logo (XL)"```
|
9782
9829
|
*/
|
9783
9830
|
name: string;
|
9784
9831
|
/**
|
@@ -10855,7 +10902,7 @@ interface Sku extends Resource {
|
|
10855
10902
|
code: string;
|
10856
10903
|
/**
|
10857
10904
|
* The internal name of the SKU.
|
10858
|
-
* @example ```"Black
|
10905
|
+
* @example ```"Men's Black T-shirt with White Logo (XL)"```
|
10859
10906
|
*/
|
10860
10907
|
name: string;
|
10861
10908
|
/**
|
@@ -10920,7 +10967,7 @@ interface SkuCreate extends ResourceCreate {
|
|
10920
10967
|
code: string;
|
10921
10968
|
/**
|
10922
10969
|
* The internal name of the SKU.
|
10923
|
-
* @example ```"Black
|
10970
|
+
* @example ```"Men's Black T-shirt with White Logo (XL)"```
|
10924
10971
|
*/
|
10925
10972
|
name: string;
|
10926
10973
|
/**
|
@@ -10972,7 +11019,7 @@ interface SkuUpdate extends ResourceUpdate {
|
|
10972
11019
|
code?: string | null;
|
10973
11020
|
/**
|
10974
11021
|
* The internal name of the SKU.
|
10975
|
-
* @example ```"Black
|
11022
|
+
* @example ```"Men's Black T-shirt with White Logo (XL)"```
|
10976
11023
|
*/
|
10977
11024
|
name?: string | null;
|
10978
11025
|
/**
|
@@ -13219,7 +13266,7 @@ interface AdyenGateway extends Resource {
|
|
13219
13266
|
*/
|
13220
13267
|
live_url_prefix: string;
|
13221
13268
|
/**
|
13222
|
-
* Indicates if the gateway will leverage on the Adyen notification webhooks.
|
13269
|
+
* Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.
|
13223
13270
|
* @example ```"true"```
|
13224
13271
|
*/
|
13225
13272
|
async_api?: boolean | null;
|
@@ -13269,12 +13316,12 @@ interface AdyenGatewayCreate extends ResourceCreate {
|
|
13269
13316
|
*/
|
13270
13317
|
live_url_prefix: string;
|
13271
13318
|
/**
|
13272
|
-
* The checkout API version, supported range is from 66 to
|
13273
|
-
* @example ```"
|
13319
|
+
* The checkout API version, supported range is from 66 to 71, default is 71.
|
13320
|
+
* @example ```"71"```
|
13274
13321
|
*/
|
13275
13322
|
api_version?: number | null;
|
13276
13323
|
/**
|
13277
|
-
* Indicates if the gateway will leverage on the Adyen notification webhooks.
|
13324
|
+
* Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.
|
13278
13325
|
* @example ```"true"```
|
13279
13326
|
*/
|
13280
13327
|
async_api?: boolean | null;
|
@@ -13317,12 +13364,12 @@ interface AdyenGatewayUpdate extends ResourceUpdate {
|
|
13317
13364
|
*/
|
13318
13365
|
live_url_prefix?: string | null;
|
13319
13366
|
/**
|
13320
|
-
* The checkout API version, supported range is from 66 to
|
13321
|
-
* @example ```"
|
13367
|
+
* The checkout API version, supported range is from 66 to 71, default is 71.
|
13368
|
+
* @example ```"71"```
|
13322
13369
|
*/
|
13323
13370
|
api_version?: number | null;
|
13324
13371
|
/**
|
13325
|
-
* Indicates if the gateway will leverage on the Adyen notification webhooks.
|
13372
|
+
* Indicates if the gateway will leverage on the Adyen notification webhooks, using latest API version.
|
13326
13373
|
* @example ```"true"```
|
13327
13374
|
*/
|
13328
13375
|
async_api?: boolean | null;
|
@@ -15055,15 +15102,15 @@ type ListableResourceType = Exclude<ResourceTypeLock, 'application' | 'organizat
|
|
15055
15102
|
type ListableResource = Resource & {
|
15056
15103
|
type: ListableResourceType;
|
15057
15104
|
};
|
15058
|
-
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' | 'links' | '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';
|
15105
|
+
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' | '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' | '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' | 'links' | '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';
|
15059
15106
|
type CreatableResource = Resource & {
|
15060
15107
|
type: CreatableResourceType;
|
15061
15108
|
};
|
15062
|
-
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' | 'links' | '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';
|
15109
|
+
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' | 'carrier_accounts' | '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' | 'links' | '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';
|
15063
15110
|
type UpdatableResource = Resource & {
|
15064
15111
|
type: UpdatableResourceType;
|
15065
15112
|
};
|
15066
|
-
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' | 'links' | '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';
|
15113
|
+
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' | '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' | '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' | 'links' | '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';
|
15067
15114
|
type DeletableResource = Resource & {
|
15068
15115
|
type: DeletableResourceType;
|
15069
15116
|
};
|
@@ -15367,7 +15414,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
|
15367
15414
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
15368
15415
|
declare class CommerceLayerClient {
|
15369
15416
|
#private;
|
15370
|
-
readonly openApiSchemaVersion = "6.
|
15417
|
+
readonly openApiSchemaVersion = "6.1.0";
|
15371
15418
|
constructor(config: CommerceLayerInitConfig);
|
15372
15419
|
get addresses(): Addresses;
|
15373
15420
|
get adjustments(): Adjustments;
|
@@ -15522,4 +15569,4 @@ declare const CommerceLayerStatic: {
|
|
15522
15569
|
readonly schemaVersion: string;
|
15523
15570
|
};
|
15524
15571
|
|
15525
|
-
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 Link, type LinkCreate, type LinkSort, type LinkUpdate, Links, 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, 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 };
|
15572
|
+
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 CarrierAccountCreate, type CarrierAccountSort, type CarrierAccountUpdate, 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 Link, type LinkCreate, type LinkSort, type LinkUpdate, Links, 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, 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 };
|