@commercelayer/sdk 6.5.0 → 6.6.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 CHANGED
@@ -1168,7 +1168,7 @@ type AdyenPaymentType = 'adyen_payments';
1168
1168
  type AdyenPaymentRel$3 = ResourceRel & {
1169
1169
  type: AdyenPaymentType;
1170
1170
  };
1171
- type OrderRel$i = ResourceRel & {
1171
+ type OrderRel$j = ResourceRel & {
1172
1172
  type: OrderType;
1173
1173
  };
1174
1174
  type AdyenPaymentSort = Pick<AdyenPayment, 'id'> & ResourceSort;
@@ -1213,7 +1213,7 @@ interface AdyenPayment extends Resource {
1213
1213
  versions?: Version[] | null;
1214
1214
  }
1215
1215
  interface AdyenPaymentCreate extends ResourceCreate {
1216
- order: OrderRel$i;
1216
+ order: OrderRel$j;
1217
1217
  }
1218
1218
  interface AdyenPaymentUpdate extends ResourceUpdate {
1219
1219
  /**
@@ -1236,7 +1236,7 @@ interface AdyenPaymentUpdate extends ResourceUpdate {
1236
1236
  * @example ```"true"```
1237
1237
  */
1238
1238
  _details?: boolean | null;
1239
- order?: OrderRel$i | null;
1239
+ order?: OrderRel$j | null;
1240
1240
  }
1241
1241
  declare class AdyenPayments extends ApiResource<AdyenPayment> {
1242
1242
  static readonly TYPE: AdyenPaymentType;
@@ -1257,7 +1257,7 @@ type AxervePaymentType = 'axerve_payments';
1257
1257
  type AxervePaymentRel$3 = ResourceRel & {
1258
1258
  type: AxervePaymentType;
1259
1259
  };
1260
- type OrderRel$h = ResourceRel & {
1260
+ type OrderRel$i = ResourceRel & {
1261
1261
  type: OrderType;
1262
1262
  };
1263
1263
  type AxervePaymentSort = Pick<AxervePayment, 'id'> & ResourceSort;
@@ -1327,7 +1327,7 @@ interface AxervePaymentCreate extends ResourceCreate {
1327
1327
  * @example ```"true"```
1328
1328
  */
1329
1329
  request_token?: boolean | null;
1330
- order: OrderRel$h;
1330
+ order: OrderRel$i;
1331
1331
  }
1332
1332
  interface AxervePaymentUpdate extends ResourceUpdate {
1333
1333
  /**
@@ -1340,7 +1340,7 @@ interface AxervePaymentUpdate extends ResourceUpdate {
1340
1340
  * @example ```"true"```
1341
1341
  */
1342
1342
  _update?: boolean | null;
1343
- order?: OrderRel$h | null;
1343
+ order?: OrderRel$i | null;
1344
1344
  }
1345
1345
  declare class AxervePayments extends ApiResource<AxervePayment> {
1346
1346
  static readonly TYPE: AxervePaymentType;
@@ -1361,7 +1361,7 @@ type BraintreePaymentType = 'braintree_payments';
1361
1361
  type BraintreePaymentRel$3 = ResourceRel & {
1362
1362
  type: BraintreePaymentType;
1363
1363
  };
1364
- type OrderRel$g = ResourceRel & {
1364
+ type OrderRel$h = ResourceRel & {
1365
1365
  type: OrderType;
1366
1366
  };
1367
1367
  type BraintreePaymentSort = Pick<BraintreePayment, 'id'> & ResourceSort;
@@ -1417,7 +1417,7 @@ interface BraintreePaymentCreate extends ResourceCreate {
1417
1417
  * @example ```"[object Object]"```
1418
1418
  */
1419
1419
  options?: Record<string, any> | null;
1420
- order: OrderRel$g;
1420
+ order: OrderRel$h;
1421
1421
  }
1422
1422
  interface BraintreePaymentUpdate extends ResourceUpdate {
1423
1423
  /**
@@ -1440,7 +1440,7 @@ interface BraintreePaymentUpdate extends ResourceUpdate {
1440
1440
  * @example ```"[object Object]"```
1441
1441
  */
1442
1442
  options?: Record<string, any> | null;
1443
- order?: OrderRel$g | null;
1443
+ order?: OrderRel$h | null;
1444
1444
  }
1445
1445
  declare class BraintreePayments extends ApiResource<BraintreePayment> {
1446
1446
  static readonly TYPE: BraintreePaymentType;
@@ -1460,7 +1460,7 @@ type CheckoutComPaymentType = 'checkout_com_payments';
1460
1460
  type CheckoutComPaymentRel$3 = ResourceRel & {
1461
1461
  type: CheckoutComPaymentType;
1462
1462
  };
1463
- type OrderRel$f = ResourceRel & {
1463
+ type OrderRel$g = ResourceRel & {
1464
1464
  type: OrderType;
1465
1465
  };
1466
1466
  type CheckoutComPaymentSort = Pick<CheckoutComPayment, 'id'> & ResourceSort;
@@ -1555,7 +1555,7 @@ interface CheckoutComPaymentCreate extends ResourceCreate {
1555
1555
  * @example ```"http://commercelayer.dev/checkout_com/failure"```
1556
1556
  */
1557
1557
  failure_url?: string | null;
1558
- order: OrderRel$f;
1558
+ order: OrderRel$g;
1559
1559
  }
1560
1560
  interface CheckoutComPaymentUpdate extends ResourceUpdate {
1561
1561
  /**
@@ -1593,7 +1593,7 @@ interface CheckoutComPaymentUpdate extends ResourceUpdate {
1593
1593
  * @example ```"true"```
1594
1594
  */
1595
1595
  _refresh?: boolean | null;
1596
- order?: OrderRel$f | null;
1596
+ order?: OrderRel$g | null;
1597
1597
  }
1598
1598
  declare class CheckoutComPayments extends ApiResource<CheckoutComPayment> {
1599
1599
  static readonly TYPE: CheckoutComPaymentType;
@@ -1615,7 +1615,7 @@ type ExternalPaymentType = 'external_payments';
1615
1615
  type ExternalPaymentRel$2 = ResourceRel & {
1616
1616
  type: ExternalPaymentType;
1617
1617
  };
1618
- type OrderRel$e = ResourceRel & {
1618
+ type OrderRel$f = ResourceRel & {
1619
1619
  type: OrderType;
1620
1620
  };
1621
1621
  type ExternalPaymentSort = Pick<ExternalPayment, 'id'> & ResourceSort;
@@ -1652,7 +1652,7 @@ interface ExternalPaymentCreate extends ResourceCreate {
1652
1652
  * @example ```"[object Object]"```
1653
1653
  */
1654
1654
  options?: Record<string, any> | null;
1655
- order: OrderRel$e;
1655
+ order: OrderRel$f;
1656
1656
  }
1657
1657
  interface ExternalPaymentUpdate extends ResourceUpdate {
1658
1658
  /**
@@ -1660,7 +1660,7 @@ interface ExternalPaymentUpdate extends ResourceUpdate {
1660
1660
  * @example ```"[object Object]"```
1661
1661
  */
1662
1662
  options?: Record<string, any> | null;
1663
- order?: OrderRel$e | null;
1663
+ order?: OrderRel$f | null;
1664
1664
  }
1665
1665
  declare class ExternalPayments extends ApiResource<ExternalPayment> {
1666
1666
  static readonly TYPE: ExternalPaymentType;
@@ -1681,7 +1681,7 @@ type KlarnaPaymentType = 'klarna_payments';
1681
1681
  type KlarnaPaymentRel$3 = ResourceRel & {
1682
1682
  type: KlarnaPaymentType;
1683
1683
  };
1684
- type OrderRel$d = ResourceRel & {
1684
+ type OrderRel$e = ResourceRel & {
1685
1685
  type: OrderType;
1686
1686
  };
1687
1687
  type KlarnaPaymentSort = Pick<KlarnaPayment, 'id'> & ResourceSort;
@@ -1721,7 +1721,7 @@ interface KlarnaPayment extends Resource {
1721
1721
  versions?: Version[] | null;
1722
1722
  }
1723
1723
  interface KlarnaPaymentCreate extends ResourceCreate {
1724
- order: OrderRel$d;
1724
+ order: OrderRel$e;
1725
1725
  }
1726
1726
  interface KlarnaPaymentUpdate extends ResourceUpdate {
1727
1727
  /**
@@ -1734,7 +1734,7 @@ interface KlarnaPaymentUpdate extends ResourceUpdate {
1734
1734
  * @example ```"true"```
1735
1735
  */
1736
1736
  _update?: boolean | null;
1737
- order?: OrderRel$d | null;
1737
+ order?: OrderRel$e | null;
1738
1738
  }
1739
1739
  declare class KlarnaPayments extends ApiResource<KlarnaPayment> {
1740
1740
  static readonly TYPE: KlarnaPaymentType;
@@ -1755,7 +1755,7 @@ type SatispayPaymentType = 'satispay_payments';
1755
1755
  type SatispayPaymentRel$3 = ResourceRel & {
1756
1756
  type: SatispayPaymentType;
1757
1757
  };
1758
- type OrderRel$c = ResourceRel & {
1758
+ type OrderRel$d = ResourceRel & {
1759
1759
  type: OrderType;
1760
1760
  };
1761
1761
  type SatispayPaymentSort = Pick<SatispayPayment, 'id' | 'flow' | 'status'> & ResourceSort;
@@ -1806,7 +1806,7 @@ interface SatispayPaymentCreate extends ResourceCreate {
1806
1806
  * @example ```"http://commercelayer.dev/satispay/redirect"```
1807
1807
  */
1808
1808
  redirect_url?: string | null;
1809
- order: OrderRel$c;
1809
+ order: OrderRel$d;
1810
1810
  }
1811
1811
  interface SatispayPaymentUpdate extends ResourceUpdate {
1812
1812
  /**
@@ -1819,7 +1819,7 @@ interface SatispayPaymentUpdate extends ResourceUpdate {
1819
1819
  * @example ```"true"```
1820
1820
  */
1821
1821
  _refresh?: boolean | null;
1822
- order?: OrderRel$c | null;
1822
+ order?: OrderRel$d | null;
1823
1823
  }
1824
1824
  declare class SatispayPayments extends ApiResource<SatispayPayment> {
1825
1825
  static readonly TYPE: SatispayPaymentType;
@@ -1840,7 +1840,7 @@ type StripePaymentType = 'stripe_payments';
1840
1840
  type StripePaymentRel$2 = ResourceRel & {
1841
1841
  type: StripePaymentType;
1842
1842
  };
1843
- type OrderRel$b = ResourceRel & {
1843
+ type OrderRel$c = ResourceRel & {
1844
1844
  type: OrderType;
1845
1845
  };
1846
1846
  type StripePaymentSort = Pick<StripePayment, 'id'> & ResourceSort;
@@ -1925,7 +1925,7 @@ interface StripePaymentCreate extends ResourceCreate {
1925
1925
  * @example ```"john@example.com"```
1926
1926
  */
1927
1927
  receipt_email?: string | null;
1928
- order: OrderRel$b;
1928
+ order: OrderRel$c;
1929
1929
  }
1930
1930
  interface StripePaymentUpdate extends ResourceUpdate {
1931
1931
  /**
@@ -1948,7 +1948,7 @@ interface StripePaymentUpdate extends ResourceUpdate {
1948
1948
  * @example ```"true"```
1949
1949
  */
1950
1950
  _refresh?: boolean | null;
1951
- order?: OrderRel$b | null;
1951
+ order?: OrderRel$c | null;
1952
1952
  }
1953
1953
  declare class StripePayments extends ApiResource<StripePayment> {
1954
1954
  static readonly TYPE: StripePaymentType;
@@ -2305,7 +2305,7 @@ type SkuListItemType = 'sku_list_items';
2305
2305
  type SkuListItemRel = ResourceRel & {
2306
2306
  type: SkuListItemType;
2307
2307
  };
2308
- type SkuListRel$a = ResourceRel & {
2308
+ type SkuListRel$b = ResourceRel & {
2309
2309
  type: SkuListType;
2310
2310
  };
2311
2311
  type SkuRel$a = ResourceRel & {
@@ -2349,7 +2349,7 @@ interface SkuListItemCreate extends ResourceCreate {
2349
2349
  * @example ```"1"```
2350
2350
  */
2351
2351
  quantity?: number | null;
2352
- sku_list: SkuListRel$a;
2352
+ sku_list: SkuListRel$b;
2353
2353
  sku: SkuRel$a;
2354
2354
  }
2355
2355
  interface SkuListItemUpdate extends ResourceUpdate {
@@ -2384,7 +2384,7 @@ declare class SkuListItems extends ApiResource<SkuListItem> {
2384
2384
  }
2385
2385
 
2386
2386
  type SkuListType = 'sku_lists';
2387
- type SkuListRel$9 = ResourceRel & {
2387
+ type SkuListRel$a = ResourceRel & {
2388
2388
  type: SkuListType;
2389
2389
  };
2390
2390
  type CustomerRel$6 = ResourceRel & {
@@ -2495,8 +2495,8 @@ declare class SkuLists extends ApiResource<SkuList> {
2495
2495
  attachments(skuListId: string | SkuList, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
2496
2496
  versions(skuListId: string | SkuList, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2497
2497
  isSkuList(resource: any): resource is SkuList;
2498
- relationship(id: string | ResourceId | null): SkuListRel$9;
2499
- relationshipToMany(...ids: string[]): SkuListRel$9[];
2498
+ relationship(id: string | ResourceId | null): SkuListRel$a;
2499
+ relationshipToMany(...ids: string[]): SkuListRel$a[];
2500
2500
  type(): SkuListType;
2501
2501
  }
2502
2502
 
@@ -2723,7 +2723,7 @@ type CouponCodesPromotionRuleRel$7 = ResourceRel & {
2723
2723
  type CustomPromotionRuleRel$7 = ResourceRel & {
2724
2724
  type: CustomPromotionRuleType;
2725
2725
  };
2726
- type SkuListRel$8 = ResourceRel & {
2726
+ type SkuListRel$9 = ResourceRel & {
2727
2727
  type: SkuListType;
2728
2728
  };
2729
2729
  type TagRel$h = ResourceRel & {
@@ -2872,7 +2872,7 @@ interface FixedPricePromotionCreate extends ResourceCreate {
2872
2872
  sku_list_promotion_rule?: SkuListPromotionRuleRel$7 | null;
2873
2873
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$7 | null;
2874
2874
  custom_promotion_rule?: CustomPromotionRuleRel$7 | null;
2875
- sku_list: SkuListRel$8;
2875
+ sku_list: SkuListRel$9;
2876
2876
  tags?: TagRel$h[] | null;
2877
2877
  }
2878
2878
  interface FixedPricePromotionUpdate extends ResourceUpdate {
@@ -2931,7 +2931,7 @@ interface FixedPricePromotionUpdate extends ResourceUpdate {
2931
2931
  sku_list_promotion_rule?: SkuListPromotionRuleRel$7 | null;
2932
2932
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$7 | null;
2933
2933
  custom_promotion_rule?: CustomPromotionRuleRel$7 | null;
2934
- sku_list?: SkuListRel$8 | null;
2934
+ sku_list?: SkuListRel$9 | null;
2935
2935
  tags?: TagRel$h[] | null;
2936
2936
  }
2937
2937
  declare class FixedPricePromotions extends ApiResource<FixedPricePromotion> {
@@ -2978,7 +2978,7 @@ type CouponCodesPromotionRuleRel$6 = ResourceRel & {
2978
2978
  type CustomPromotionRuleRel$6 = ResourceRel & {
2979
2979
  type: CustomPromotionRuleType;
2980
2980
  };
2981
- type SkuListRel$7 = ResourceRel & {
2981
+ type SkuListRel$8 = ResourceRel & {
2982
2982
  type: SkuListType;
2983
2983
  };
2984
2984
  type TagRel$g = ResourceRel & {
@@ -3127,7 +3127,7 @@ interface FixedAmountPromotionCreate extends ResourceCreate {
3127
3127
  sku_list_promotion_rule?: SkuListPromotionRuleRel$6 | null;
3128
3128
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$6 | null;
3129
3129
  custom_promotion_rule?: CustomPromotionRuleRel$6 | null;
3130
- sku_list?: SkuListRel$7 | null;
3130
+ sku_list?: SkuListRel$8 | null;
3131
3131
  tags?: TagRel$g[] | null;
3132
3132
  }
3133
3133
  interface FixedAmountPromotionUpdate extends ResourceUpdate {
@@ -3186,7 +3186,7 @@ interface FixedAmountPromotionUpdate extends ResourceUpdate {
3186
3186
  sku_list_promotion_rule?: SkuListPromotionRuleRel$6 | null;
3187
3187
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$6 | null;
3188
3188
  custom_promotion_rule?: CustomPromotionRuleRel$6 | null;
3189
- sku_list?: SkuListRel$7 | null;
3189
+ sku_list?: SkuListRel$8 | null;
3190
3190
  tags?: TagRel$g[] | null;
3191
3191
  }
3192
3192
  declare class FixedAmountPromotions extends ApiResource<FixedAmountPromotion> {
@@ -3297,7 +3297,7 @@ type CouponCodesPromotionRuleRel$5 = ResourceRel & {
3297
3297
  type CustomPromotionRuleRel$4 = ResourceRel & {
3298
3298
  type: CustomPromotionRuleType;
3299
3299
  };
3300
- type SkuListRel$6 = ResourceRel & {
3300
+ type SkuListRel$7 = ResourceRel & {
3301
3301
  type: SkuListType;
3302
3302
  };
3303
3303
  type TagRel$f = ResourceRel & {
@@ -3436,7 +3436,7 @@ interface FreeGiftPromotionCreate extends ResourceCreate {
3436
3436
  sku_list_promotion_rule?: SkuListPromotionRuleRel$5 | null;
3437
3437
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$5 | null;
3438
3438
  custom_promotion_rule?: CustomPromotionRuleRel$4 | null;
3439
- sku_list: SkuListRel$6;
3439
+ sku_list: SkuListRel$7;
3440
3440
  tags?: TagRel$f[] | null;
3441
3441
  }
3442
3442
  interface FreeGiftPromotionUpdate extends ResourceUpdate {
@@ -3495,7 +3495,7 @@ interface FreeGiftPromotionUpdate extends ResourceUpdate {
3495
3495
  sku_list_promotion_rule?: SkuListPromotionRuleRel$5 | null;
3496
3496
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$5 | null;
3497
3497
  custom_promotion_rule?: CustomPromotionRuleRel$4 | null;
3498
- sku_list?: SkuListRel$6 | null;
3498
+ sku_list?: SkuListRel$7 | null;
3499
3499
  tags?: TagRel$f[] | null;
3500
3500
  }
3501
3501
  declare class FreeGiftPromotions extends ApiResource<FreeGiftPromotion> {
@@ -3598,7 +3598,7 @@ type CouponCodesPromotionRuleRel$3 = ResourceRel & {
3598
3598
  type CustomPromotionRuleRel$3 = ResourceRel & {
3599
3599
  type: CustomPromotionRuleType;
3600
3600
  };
3601
- type SkuListRel$5 = ResourceRel & {
3601
+ type SkuListRel$6 = ResourceRel & {
3602
3602
  type: SkuListType;
3603
3603
  };
3604
3604
  type TagRel$e = ResourceRel & {
@@ -3757,7 +3757,7 @@ interface BuyXPayYPromotionCreate extends ResourceCreate {
3757
3757
  sku_list_promotion_rule?: SkuListPromotionRuleRel$4 | null;
3758
3758
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$3 | null;
3759
3759
  custom_promotion_rule?: CustomPromotionRuleRel$3 | null;
3760
- sku_list: SkuListRel$5;
3760
+ sku_list: SkuListRel$6;
3761
3761
  tags?: TagRel$e[] | null;
3762
3762
  }
3763
3763
  interface BuyXPayYPromotionUpdate extends ResourceUpdate {
@@ -3826,7 +3826,7 @@ interface BuyXPayYPromotionUpdate extends ResourceUpdate {
3826
3826
  sku_list_promotion_rule?: SkuListPromotionRuleRel$4 | null;
3827
3827
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$3 | null;
3828
3828
  custom_promotion_rule?: CustomPromotionRuleRel$3 | null;
3829
- sku_list?: SkuListRel$5 | null;
3829
+ sku_list?: SkuListRel$6 | null;
3830
3830
  tags?: TagRel$e[] | null;
3831
3831
  }
3832
3832
  declare class BuyXPayYPromotions extends ApiResource<BuyXPayYPromotion> {
@@ -3879,7 +3879,7 @@ type ExternalPromotionRel$3 = ResourceRel & {
3879
3879
  type FixedAmountPromotionRel$2 = ResourceRel & {
3880
3880
  type: FixedAmountPromotionType;
3881
3881
  };
3882
- type SkuListRel$4 = ResourceRel & {
3882
+ type SkuListRel$5 = ResourceRel & {
3883
3883
  type: SkuListType;
3884
3884
  };
3885
3885
  type SkuListPromotionRuleSort = Pick<SkuListPromotionRule, 'id'> & ResourceSort;
@@ -3912,7 +3912,7 @@ interface SkuListPromotionRuleCreate extends ResourceCreate {
3912
3912
  */
3913
3913
  min_quantity?: number | null;
3914
3914
  promotion: PercentageDiscountPromotionRel$3 | FreeShippingPromotionRel$3 | BuyXPayYPromotionRel$1 | FreeGiftPromotionRel$1 | FixedPricePromotionRel$1 | ExternalPromotionRel$3 | FixedAmountPromotionRel$2;
3915
- sku_list?: SkuListRel$4 | null;
3915
+ sku_list?: SkuListRel$5 | null;
3916
3916
  }
3917
3917
  interface SkuListPromotionRuleUpdate extends ResourceUpdate {
3918
3918
  /**
@@ -3926,7 +3926,7 @@ interface SkuListPromotionRuleUpdate extends ResourceUpdate {
3926
3926
  */
3927
3927
  min_quantity?: number | null;
3928
3928
  promotion?: PercentageDiscountPromotionRel$3 | FreeShippingPromotionRel$3 | BuyXPayYPromotionRel$1 | FreeGiftPromotionRel$1 | FixedPricePromotionRel$1 | ExternalPromotionRel$3 | FixedAmountPromotionRel$2 | null;
3929
- sku_list?: SkuListRel$4 | null;
3929
+ sku_list?: SkuListRel$5 | null;
3930
3930
  }
3931
3931
  declare class SkuListPromotionRules extends ApiResource<SkuListPromotionRule> {
3932
3932
  static readonly TYPE: SkuListPromotionRuleType;
@@ -3961,7 +3961,7 @@ type CouponCodesPromotionRuleRel$2 = ResourceRel & {
3961
3961
  type CustomPromotionRuleRel$2 = ResourceRel & {
3962
3962
  type: CustomPromotionRuleType;
3963
3963
  };
3964
- type SkuListRel$3 = ResourceRel & {
3964
+ type SkuListRel$4 = ResourceRel & {
3965
3965
  type: SkuListType;
3966
3966
  };
3967
3967
  type TagRel$d = ResourceRel & {
@@ -4089,7 +4089,7 @@ interface FreeShippingPromotionCreate extends ResourceCreate {
4089
4089
  sku_list_promotion_rule?: SkuListPromotionRuleRel$2 | null;
4090
4090
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$2 | null;
4091
4091
  custom_promotion_rule?: CustomPromotionRuleRel$2 | null;
4092
- sku_list?: SkuListRel$3 | null;
4092
+ sku_list?: SkuListRel$4 | null;
4093
4093
  tags?: TagRel$d[] | null;
4094
4094
  }
4095
4095
  interface FreeShippingPromotionUpdate extends ResourceUpdate {
@@ -4143,7 +4143,7 @@ interface FreeShippingPromotionUpdate extends ResourceUpdate {
4143
4143
  sku_list_promotion_rule?: SkuListPromotionRuleRel$2 | null;
4144
4144
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$2 | null;
4145
4145
  custom_promotion_rule?: CustomPromotionRuleRel$2 | null;
4146
- sku_list?: SkuListRel$3 | null;
4146
+ sku_list?: SkuListRel$4 | null;
4147
4147
  tags?: TagRel$d[] | null;
4148
4148
  }
4149
4149
  declare class FreeShippingPromotions extends ApiResource<FreeShippingPromotion> {
@@ -4278,7 +4278,7 @@ type CouponCodesPromotionRuleRel$1 = ResourceRel & {
4278
4278
  type CustomPromotionRuleRel$1 = ResourceRel & {
4279
4279
  type: CustomPromotionRuleType;
4280
4280
  };
4281
- type SkuListRel$2 = ResourceRel & {
4281
+ type SkuListRel$3 = ResourceRel & {
4282
4282
  type: SkuListType;
4283
4283
  };
4284
4284
  type TagRel$c = ResourceRel & {
@@ -4417,7 +4417,7 @@ interface PercentageDiscountPromotionCreate extends ResourceCreate {
4417
4417
  sku_list_promotion_rule?: SkuListPromotionRuleRel$1 | null;
4418
4418
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$1 | null;
4419
4419
  custom_promotion_rule?: CustomPromotionRuleRel$1 | null;
4420
- sku_list?: SkuListRel$2 | null;
4420
+ sku_list?: SkuListRel$3 | null;
4421
4421
  tags?: TagRel$c[] | null;
4422
4422
  }
4423
4423
  interface PercentageDiscountPromotionUpdate extends ResourceUpdate {
@@ -4476,7 +4476,7 @@ interface PercentageDiscountPromotionUpdate extends ResourceUpdate {
4476
4476
  sku_list_promotion_rule?: SkuListPromotionRuleRel$1 | null;
4477
4477
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel$1 | null;
4478
4478
  custom_promotion_rule?: CustomPromotionRuleRel$1 | null;
4479
- sku_list?: SkuListRel$2 | null;
4479
+ sku_list?: SkuListRel$3 | null;
4480
4480
  tags?: TagRel$c[] | null;
4481
4481
  }
4482
4482
  declare class PercentageDiscountPromotions extends ApiResource<PercentageDiscountPromotion> {
@@ -4542,7 +4542,7 @@ type CouponCodesPromotionRuleRel = ResourceRel & {
4542
4542
  type CustomPromotionRuleRel = ResourceRel & {
4543
4543
  type: CustomPromotionRuleType;
4544
4544
  };
4545
- type SkuListRel$1 = ResourceRel & {
4545
+ type SkuListRel$2 = ResourceRel & {
4546
4546
  type: SkuListType;
4547
4547
  };
4548
4548
  type TagRel$b = ResourceRel & {
@@ -4696,7 +4696,7 @@ interface ExternalPromotionCreate extends ResourceCreate {
4696
4696
  sku_list_promotion_rule?: SkuListPromotionRuleRel | null;
4697
4697
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null;
4698
4698
  custom_promotion_rule?: CustomPromotionRuleRel | null;
4699
- sku_list?: SkuListRel$1 | null;
4699
+ sku_list?: SkuListRel$2 | null;
4700
4700
  tags?: TagRel$b[] | null;
4701
4701
  }
4702
4702
  interface ExternalPromotionUpdate extends ResourceUpdate {
@@ -4760,7 +4760,7 @@ interface ExternalPromotionUpdate extends ResourceUpdate {
4760
4760
  sku_list_promotion_rule?: SkuListPromotionRuleRel | null;
4761
4761
  coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null;
4762
4762
  custom_promotion_rule?: CustomPromotionRuleRel | null;
4763
- sku_list?: SkuListRel$1 | null;
4763
+ sku_list?: SkuListRel$2 | null;
4764
4764
  tags?: TagRel$b[] | null;
4765
4765
  }
4766
4766
  declare class ExternalPromotions extends ApiResource<ExternalPromotion> {
@@ -5421,7 +5421,7 @@ type ReturnType = 'returns';
5421
5421
  type ReturnRel$2 = ResourceRel & {
5422
5422
  type: ReturnType;
5423
5423
  };
5424
- type OrderRel$a = ResourceRel & {
5424
+ type OrderRel$b = ResourceRel & {
5425
5425
  type: OrderType;
5426
5426
  };
5427
5427
  type StockLocationRel$7 = ResourceRel & {
@@ -5495,7 +5495,7 @@ interface Return extends Resource {
5495
5495
  versions?: Version[] | null;
5496
5496
  }
5497
5497
  interface ReturnCreate extends ResourceCreate {
5498
- order: OrderRel$a;
5498
+ order: OrderRel$b;
5499
5499
  stock_location?: StockLocationRel$7 | null;
5500
5500
  tags?: TagRel$7[] | null;
5501
5501
  }
@@ -5879,7 +5879,7 @@ type LineItemType = 'line_items';
5879
5879
  type LineItemRel$1 = ResourceRel & {
5880
5880
  type: LineItemType;
5881
5881
  };
5882
- type OrderRel$9 = ResourceRel & {
5882
+ type OrderRel$a = ResourceRel & {
5883
5883
  type: OrderType;
5884
5884
  };
5885
5885
  type AdjustmentRel$1 = ResourceRel & {
@@ -6160,7 +6160,7 @@ interface LineItemCreate extends ResourceCreate {
6160
6160
  * @example ```"monthly"```
6161
6161
  */
6162
6162
  frequency?: string | null;
6163
- order: OrderRel$9;
6163
+ order: OrderRel$a;
6164
6164
  item?: AdjustmentRel$1 | BundleRel$3 | ExternalPromotionRel | FixedAmountPromotionRel | FreeShippingPromotionRel | GiftCardRel$1 | PaymentMethodRel$2 | PercentageDiscountPromotionRel | ShipmentRel$4 | SkuRel$8 | null;
6165
6165
  tags?: TagRel$6[] | null;
6166
6166
  }
@@ -6443,7 +6443,7 @@ type RecurringOrderCopyType = 'recurring_order_copies';
6443
6443
  type RecurringOrderCopyRel = ResourceRel & {
6444
6444
  type: RecurringOrderCopyType;
6445
6445
  };
6446
- type OrderRel$8 = ResourceRel & {
6446
+ type OrderRel$9 = ResourceRel & {
6447
6447
  type: OrderType;
6448
6448
  };
6449
6449
  type OrderSubscriptionRel$1 = ResourceRel & {
@@ -6508,7 +6508,7 @@ interface RecurringOrderCopyCreate extends ResourceCreate {
6508
6508
  * @example ```"true"```
6509
6509
  */
6510
6510
  reuse_wallet?: boolean | null;
6511
- source_order: OrderRel$8;
6511
+ source_order: OrderRel$9;
6512
6512
  order_subscription: OrderSubscriptionRel$1;
6513
6513
  }
6514
6514
  type RecurringOrderCopyUpdate = ResourceUpdate;
@@ -6534,7 +6534,7 @@ type OrderSubscriptionRel = ResourceRel & {
6534
6534
  type MarketRel$8 = ResourceRel & {
6535
6535
  type: MarketType;
6536
6536
  };
6537
- type OrderRel$7 = ResourceRel & {
6537
+ type OrderRel$8 = ResourceRel & {
6538
6538
  type: OrderType;
6539
6539
  };
6540
6540
  type CustomerPaymentSourceRel = ResourceRel & {
@@ -6657,7 +6657,7 @@ interface OrderSubscriptionCreate extends ResourceCreate {
6657
6657
  */
6658
6658
  expires_at?: string | null;
6659
6659
  market?: MarketRel$8 | null;
6660
- source_order: OrderRel$7;
6660
+ source_order: OrderRel$8;
6661
6661
  }
6662
6662
  interface OrderSubscriptionUpdate extends ResourceUpdate {
6663
6663
  /**
@@ -6836,7 +6836,7 @@ type PaypalPaymentType = 'paypal_payments';
6836
6836
  type PaypalPaymentRel$1 = ResourceRel & {
6837
6837
  type: PaypalPaymentType;
6838
6838
  };
6839
- type OrderRel$6 = ResourceRel & {
6839
+ type OrderRel$7 = ResourceRel & {
6840
6840
  type: OrderType;
6841
6841
  };
6842
6842
  type PaypalPaymentSort = Pick<PaypalPayment, 'id'> & ResourceSort;
@@ -6911,7 +6911,7 @@ interface PaypalPaymentCreate extends ResourceCreate {
6911
6911
  * @example ```"Thank you for shopping with us!"```
6912
6912
  */
6913
6913
  note_to_payer?: string | null;
6914
- order: OrderRel$6;
6914
+ order: OrderRel$7;
6915
6915
  }
6916
6916
  interface PaypalPaymentUpdate extends ResourceUpdate {
6917
6917
  /**
@@ -6919,7 +6919,7 @@ interface PaypalPaymentUpdate extends ResourceUpdate {
6919
6919
  * @example ```"ABCDEFGHG123456"```
6920
6920
  */
6921
6921
  paypal_payer_id?: string | null;
6922
- order?: OrderRel$6 | null;
6922
+ order?: OrderRel$7 | null;
6923
6923
  }
6924
6924
  declare class PaypalPayments extends ApiResource<PaypalPayment> {
6925
6925
  static readonly TYPE: PaypalPaymentType;
@@ -6939,7 +6939,7 @@ type WireTransferType = 'wire_transfers';
6939
6939
  type WireTransferRel$1 = ResourceRel & {
6940
6940
  type: WireTransferType;
6941
6941
  };
6942
- type OrderRel$5 = ResourceRel & {
6942
+ type OrderRel$6 = ResourceRel & {
6943
6943
  type: OrderType;
6944
6944
  };
6945
6945
  type WireTransferSort = Pick<WireTransfer, 'id'> & ResourceSort;
@@ -6954,10 +6954,10 @@ interface WireTransfer extends Resource {
6954
6954
  versions?: Version[] | null;
6955
6955
  }
6956
6956
  interface WireTransferCreate extends ResourceCreate {
6957
- order: OrderRel$5;
6957
+ order: OrderRel$6;
6958
6958
  }
6959
6959
  interface WireTransferUpdate extends ResourceUpdate {
6960
- order?: OrderRel$5 | null;
6960
+ order?: OrderRel$6 | null;
6961
6961
  }
6962
6962
  declare class WireTransfers extends ApiResource<WireTransfer> {
6963
6963
  static readonly TYPE: WireTransferType;
@@ -6976,7 +6976,7 @@ type PaymentOptionType = 'payment_options';
6976
6976
  type PaymentOptionRel = ResourceRel & {
6977
6977
  type: PaymentOptionType;
6978
6978
  };
6979
- type OrderRel$4 = ResourceRel & {
6979
+ type OrderRel$5 = ResourceRel & {
6980
6980
  type: OrderType;
6981
6981
  };
6982
6982
  type PaymentOptionSort = Pick<PaymentOption, 'id' | 'name' | 'payment_source_type'> & ResourceSort;
@@ -7016,7 +7016,7 @@ interface PaymentOptionCreate extends ResourceCreate {
7016
7016
  * @example ```"[object Object]"```
7017
7017
  */
7018
7018
  data: Record<string, any>;
7019
- order: OrderRel$4;
7019
+ order: OrderRel$5;
7020
7020
  }
7021
7021
  interface PaymentOptionUpdate extends ResourceUpdate {
7022
7022
  /**
@@ -7029,7 +7029,7 @@ interface PaymentOptionUpdate extends ResourceUpdate {
7029
7029
  * @example ```"[object Object]"```
7030
7030
  */
7031
7031
  data?: Record<string, any> | null;
7032
- order?: OrderRel$4 | null;
7032
+ order?: OrderRel$5 | null;
7033
7033
  }
7034
7034
  declare class PaymentOptions extends ApiResource<PaymentOption> {
7035
7035
  static readonly TYPE: PaymentOptionType;
@@ -7508,7 +7508,7 @@ type OrderCopyType = 'order_copies';
7508
7508
  type OrderCopyRel = ResourceRel & {
7509
7509
  type: OrderCopyType;
7510
7510
  };
7511
- type OrderRel$3 = ResourceRel & {
7511
+ type OrderRel$4 = ResourceRel & {
7512
7512
  type: OrderType;
7513
7513
  };
7514
7514
  type OrderCopySort = Pick<OrderCopy, 'id' | 'status' | 'started_at' | 'completed_at' | 'failed_at' | 'errors_count'> & ResourceSort;
@@ -7580,7 +7580,7 @@ interface OrderCopyCreate extends ResourceCreate {
7580
7580
  * @example ```"true"```
7581
7581
  */
7582
7582
  cancel_source_order?: boolean | null;
7583
- source_order: OrderRel$3;
7583
+ source_order: OrderRel$4;
7584
7584
  }
7585
7585
  type OrderCopyUpdate = ResourceUpdate;
7586
7586
  declare class OrderCopies extends ApiResource<OrderCopy> {
@@ -7631,7 +7631,7 @@ declare class ResourceErrors extends ApiResource<ResourceError> {
7631
7631
  }
7632
7632
 
7633
7633
  type OrderType = 'orders';
7634
- type OrderRel$2 = ResourceRel & {
7634
+ type OrderRel$3 = ResourceRel & {
7635
7635
  type: OrderType;
7636
7636
  };
7637
7637
  type MarketRel$7 = ResourceRel & {
@@ -7679,7 +7679,7 @@ type WireTransferRel = ResourceRel & {
7679
7679
  type TagRel$4 = ResourceRel & {
7680
7680
  type: TagType;
7681
7681
  };
7682
- type OrderSort = Pick<Order, 'id' | 'number' | 'place_async' | 'status' | 'payment_status' | 'fulfillment_status' | 'guest' | 'language_code' | 'currency_code' | 'tax_included' | 'tax_rate' | 'country_code' | 'coupon_code' | 'gift_card_code' | 'subtotal_amount_cents' | 'shipping_amount_cents' | 'payment_method_amount_cents' | 'discount_amount_cents' | 'adjustment_amount_cents' | 'gift_card_amount_cents' | 'total_tax_amount_cents' | 'subtotal_tax_amount_cents' | 'total_amount_cents' | 'fees_amount_cents' | 'duty_amount_cents' | 'placed_at' | 'approved_at' | 'cancelled_at' | 'payment_updated_at' | 'fulfillment_updated_at' | 'refreshed_at' | 'archived_at' | 'expires_at' | 'subscription_created_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort;
7682
+ type OrderSort = Pick<Order, 'id' | 'number' | 'place_async' | 'status' | 'payment_status' | 'fulfillment_status' | 'guest' | 'language_code' | 'currency_code' | 'tax_included' | 'tax_rate' | 'country_code' | 'coupon_code' | 'gift_card_code' | 'subtotal_amount_cents' | 'shipping_amount_cents' | 'payment_method_amount_cents' | 'discount_amount_cents' | 'adjustment_amount_cents' | 'gift_card_amount_cents' | 'total_tax_amount_cents' | 'subtotal_tax_amount_cents' | 'total_amount_cents' | 'fees_amount_cents' | 'duty_amount_cents' | 'placed_at' | 'approved_at' | 'cancelled_at' | 'payment_updated_at' | 'fulfillment_updated_at' | 'refreshed_at' | 'archived_at' | 'subscription_created_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort;
7683
7683
  interface Order extends Resource {
7684
7684
  readonly type: OrderType;
7685
7685
  /**
@@ -8193,11 +8193,6 @@ interface Order extends Resource {
8193
8193
  * @example ```"2018-01-01T12:00:00.000Z"```
8194
8194
  */
8195
8195
  archived_at?: string | null;
8196
- /**
8197
- * Time at which an order is marked for cleanup. Any order will start with a default expire time of 2 months. Expiration is reset once a line item is added to the order..
8198
- * @example ```"2018-01-01T12:00:00.000Z"```
8199
- */
8200
- expires_at?: string | null;
8201
8196
  /**
8202
8197
  * Time at which the order has been marked to create a subscription from its recurring line items..
8203
8198
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -8659,8 +8654,8 @@ declare class Orders extends ApiResource<Order> {
8659
8654
  _stop_editing(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
8660
8655
  _reset_circuit(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
8661
8656
  isOrder(resource: any): resource is Order;
8662
- relationship(id: string | ResourceId | null): OrderRel$2;
8663
- relationshipToMany(...ids: string[]): OrderRel$2[];
8657
+ relationship(id: string | ResourceId | null): OrderRel$3;
8658
+ relationshipToMany(...ids: string[]): OrderRel$3[];
8664
8659
  type(): OrderType;
8665
8660
  }
8666
8661
 
@@ -9936,7 +9931,7 @@ type ShipmentType = 'shipments';
9936
9931
  type ShipmentRel$2 = ResourceRel & {
9937
9932
  type: ShipmentType;
9938
9933
  };
9939
- type OrderRel$1 = ResourceRel & {
9934
+ type OrderRel$2 = ResourceRel & {
9940
9935
  type: OrderType;
9941
9936
  };
9942
9937
  type ShippingCategoryRel$2 = ResourceRel & {
@@ -10087,7 +10082,7 @@ interface Shipment extends Resource {
10087
10082
  versions?: Version[] | null;
10088
10083
  }
10089
10084
  interface ShipmentCreate extends ResourceCreate {
10090
- order: OrderRel$1;
10085
+ order: OrderRel$2;
10091
10086
  shipping_category?: ShippingCategoryRel$2 | null;
10092
10087
  inventory_stock_location: InventoryStockLocationRel;
10093
10088
  shipping_address?: AddressRel$2 | null;
@@ -10266,6 +10261,7 @@ interface StockTransfer extends Resource {
10266
10261
  destination_stock_location?: StockLocation | null;
10267
10262
  shipment?: Shipment | null;
10268
10263
  line_item?: LineItem | null;
10264
+ attachments?: Attachment[] | null;
10269
10265
  events?: Event[] | null;
10270
10266
  versions?: Version[] | null;
10271
10267
  }
@@ -10348,6 +10344,7 @@ declare class StockTransfers extends ApiResource<StockTransfer> {
10348
10344
  destination_stock_location(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation>;
10349
10345
  shipment(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
10350
10346
  line_item(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
10347
+ attachments(stockTransferId: string | StockTransfer, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
10351
10348
  events(stockTransferId: string | StockTransfer, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
10352
10349
  versions(stockTransferId: string | StockTransfer, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
10353
10350
  _upcoming(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
@@ -11557,7 +11554,7 @@ type BundleRel$1 = ResourceRel & {
11557
11554
  type MarketRel$3 = ResourceRel & {
11558
11555
  type: MarketType;
11559
11556
  };
11560
- type SkuListRel = ResourceRel & {
11557
+ type SkuListRel$1 = ResourceRel & {
11561
11558
  type: SkuListType;
11562
11559
  };
11563
11560
  type TagRel$1 = ResourceRel & {
@@ -11689,7 +11686,7 @@ interface BundleCreate extends ResourceCreate {
11689
11686
  */
11690
11687
  _compute_compare_at_amount?: boolean | null;
11691
11688
  market?: MarketRel$3 | null;
11692
- sku_list: SkuListRel;
11689
+ sku_list: SkuListRel$1;
11693
11690
  tags?: TagRel$1[] | null;
11694
11691
  }
11695
11692
  interface BundleUpdate extends ResourceUpdate {
@@ -12524,7 +12521,7 @@ type MerchantRel = ResourceRel & {
12524
12521
  type BillingInfoValidationRuleRel = ResourceRel & {
12525
12522
  type: BillingInfoValidationRuleType;
12526
12523
  };
12527
- type OrderRel = ResourceRel & {
12524
+ type OrderRel$1 = ResourceRel & {
12528
12525
  type: OrderType;
12529
12526
  };
12530
12527
  type PackageRel = ResourceRel & {
@@ -12614,7 +12611,7 @@ interface AttachmentCreate extends ResourceCreate {
12614
12611
  * @example ```"https://s3.yourdomain.com/attachment.pdf"```
12615
12612
  */
12616
12613
  url?: string | null;
12617
- attachable: BundleRel | CarrierAccountRel | CustomerGroupRel | CustomerRel$1 | DeliveryLeadTimeRel | GeocoderRel$2 | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | MarketRel$1 | MerchantRel | BillingInfoValidationRuleRel | OrderRel | PackageRel | ParcelRel | PaymentMethodRel | PriceListRel | PriceRel | PromotionRel | ReturnRel | ShipmentRel | ShippingCategoryRel | ShippingMethodRel | ShippingZoneRel | SkuOptionRel | SkuRel$1 | StockItemRel | StockLocationRel | TaxCalculatorRel | TaxCategoryRel;
12614
+ attachable: BundleRel | CarrierAccountRel | CustomerGroupRel | CustomerRel$1 | DeliveryLeadTimeRel | GeocoderRel$2 | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | MarketRel$1 | MerchantRel | BillingInfoValidationRuleRel | OrderRel$1 | PackageRel | ParcelRel | PaymentMethodRel | PriceListRel | PriceRel | PromotionRel | ReturnRel | ShipmentRel | ShippingCategoryRel | ShippingMethodRel | ShippingZoneRel | SkuOptionRel | SkuRel$1 | StockItemRel | StockLocationRel | TaxCalculatorRel | TaxCategoryRel;
12618
12615
  }
12619
12616
  interface AttachmentUpdate extends ResourceUpdate {
12620
12617
  /**
@@ -12632,7 +12629,7 @@ interface AttachmentUpdate extends ResourceUpdate {
12632
12629
  * @example ```"https://s3.yourdomain.com/attachment.pdf"```
12633
12630
  */
12634
12631
  url?: string | null;
12635
- attachable?: BundleRel | CarrierAccountRel | CustomerGroupRel | CustomerRel$1 | DeliveryLeadTimeRel | GeocoderRel$2 | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | MarketRel$1 | MerchantRel | BillingInfoValidationRuleRel | OrderRel | PackageRel | ParcelRel | PaymentMethodRel | PriceListRel | PriceRel | PromotionRel | ReturnRel | ShipmentRel | ShippingCategoryRel | ShippingMethodRel | ShippingZoneRel | SkuOptionRel | SkuRel$1 | StockItemRel | StockLocationRel | TaxCalculatorRel | TaxCategoryRel | null;
12632
+ attachable?: BundleRel | CarrierAccountRel | CustomerGroupRel | CustomerRel$1 | DeliveryLeadTimeRel | GeocoderRel$2 | GiftCardRecipientRel | GiftCardRel | InventoryModelRel | MarketRel$1 | MerchantRel | BillingInfoValidationRuleRel | OrderRel$1 | PackageRel | ParcelRel | PaymentMethodRel | PriceListRel | PriceRel | PromotionRel | ReturnRel | ShipmentRel | ShippingCategoryRel | ShippingMethodRel | ShippingZoneRel | SkuOptionRel | SkuRel$1 | StockItemRel | StockLocationRel | TaxCalculatorRel | TaxCategoryRel | null;
12636
12633
  }
12637
12634
  declare class Attachments extends ApiResource<Attachment> {
12638
12635
  static readonly TYPE: AttachmentType;
@@ -14257,6 +14254,172 @@ declare class KlarnaGateways extends ApiResource<KlarnaGateway> {
14257
14254
  type(): KlarnaGatewayType;
14258
14255
  }
14259
14256
 
14257
+ type LinkType = 'links';
14258
+ type LinkRel = ResourceRel & {
14259
+ type: LinkType;
14260
+ };
14261
+ type OrderRel = ResourceRel & {
14262
+ type: OrderType;
14263
+ };
14264
+ type SkuListRel = ResourceRel & {
14265
+ type: SkuListType;
14266
+ };
14267
+ type LinkSort = Pick<Link, 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'> & ResourceSort;
14268
+ interface Link extends Resource {
14269
+ readonly type: LinkType;
14270
+ /**
14271
+ * The link internal name..
14272
+ * @example ```"FW SALE 2023"```
14273
+ */
14274
+ name: string;
14275
+ /**
14276
+ * The link application client id, used to fetch JWT..
14277
+ * @example ```"xxxx-yyyy-zzzz"```
14278
+ */
14279
+ client_id: string;
14280
+ /**
14281
+ * The link application scope, used to fetch JWT..
14282
+ * @example ```"market:GhvCxsElAQ,market:kJhgVcxZDr"```
14283
+ */
14284
+ scope: string;
14285
+ /**
14286
+ * The activation date/time of this link..
14287
+ * @example ```"2018-01-01T12:00:00.000Z"```
14288
+ */
14289
+ starts_at: string;
14290
+ /**
14291
+ * The expiration date/time of this link (must be after starts_at)..
14292
+ * @example ```"2018-01-02T12:00:00.000Z"```
14293
+ */
14294
+ expires_at: string;
14295
+ /**
14296
+ * Indicates if the link is active (enabled and not expired)..
14297
+ * @example ```"true"```
14298
+ */
14299
+ active?: boolean | null;
14300
+ /**
14301
+ * The link status, one of 'expired', 'pending', 'active', or 'disabled'..
14302
+ * @example ```"pending"```
14303
+ */
14304
+ status?: 'expired' | 'pending' | 'active' | 'disabled' | null;
14305
+ /**
14306
+ * The link URL second level domain..
14307
+ * @example ```"c11r.link"```
14308
+ */
14309
+ domain?: string | null;
14310
+ /**
14311
+ * The link URL..
14312
+ * @example ```"https://acme.c11r.link/a597dd63-576e-4aff-9094-0b7d690e94d6"```
14313
+ */
14314
+ url?: string | null;
14315
+ /**
14316
+ * Time at which this resource was disabled..
14317
+ * @example ```"2018-01-01T12:00:00.000Z"```
14318
+ */
14319
+ disabled_at?: string | null;
14320
+ item?: Order | SkuList | null;
14321
+ events?: Event[] | null;
14322
+ }
14323
+ interface LinkCreate extends ResourceCreate {
14324
+ /**
14325
+ * The link internal name..
14326
+ * @example ```"FW SALE 2023"```
14327
+ */
14328
+ name: string;
14329
+ /**
14330
+ * The link application client id, used to fetch JWT..
14331
+ * @example ```"xxxx-yyyy-zzzz"```
14332
+ */
14333
+ client_id: string;
14334
+ /**
14335
+ * The link application scope, used to fetch JWT..
14336
+ * @example ```"market:GhvCxsElAQ,market:kJhgVcxZDr"```
14337
+ */
14338
+ scope: string;
14339
+ /**
14340
+ * The activation date/time of this link..
14341
+ * @example ```"2018-01-01T12:00:00.000Z"```
14342
+ */
14343
+ starts_at: string;
14344
+ /**
14345
+ * The expiration date/time of this link (must be after starts_at)..
14346
+ * @example ```"2018-01-02T12:00:00.000Z"```
14347
+ */
14348
+ expires_at: string;
14349
+ /**
14350
+ * The link URL second level domain..
14351
+ * @example ```"c11r.link"```
14352
+ */
14353
+ domain?: string | null;
14354
+ /**
14355
+ * Send this attribute if you want to mark this resource as disabled..
14356
+ * @example ```"true"```
14357
+ */
14358
+ _disable?: boolean | null;
14359
+ /**
14360
+ * Send this attribute if you want to mark this resource as enabled..
14361
+ * @example ```"true"```
14362
+ */
14363
+ _enable?: boolean | null;
14364
+ item: OrderRel | SkuListRel;
14365
+ }
14366
+ interface LinkUpdate extends ResourceUpdate {
14367
+ /**
14368
+ * The link internal name..
14369
+ * @example ```"FW SALE 2023"```
14370
+ */
14371
+ name?: string | null;
14372
+ /**
14373
+ * The link application client id, used to fetch JWT..
14374
+ * @example ```"xxxx-yyyy-zzzz"```
14375
+ */
14376
+ client_id?: string | null;
14377
+ /**
14378
+ * The link application scope, used to fetch JWT..
14379
+ * @example ```"market:GhvCxsElAQ,market:kJhgVcxZDr"```
14380
+ */
14381
+ scope?: string | null;
14382
+ /**
14383
+ * The activation date/time of this link..
14384
+ * @example ```"2018-01-01T12:00:00.000Z"```
14385
+ */
14386
+ starts_at?: string | null;
14387
+ /**
14388
+ * The expiration date/time of this link (must be after starts_at)..
14389
+ * @example ```"2018-01-02T12:00:00.000Z"```
14390
+ */
14391
+ expires_at?: string | null;
14392
+ /**
14393
+ * The link URL second level domain..
14394
+ * @example ```"c11r.link"```
14395
+ */
14396
+ domain?: string | null;
14397
+ /**
14398
+ * Send this attribute if you want to mark this resource as disabled..
14399
+ * @example ```"true"```
14400
+ */
14401
+ _disable?: boolean | null;
14402
+ /**
14403
+ * Send this attribute if you want to mark this resource as enabled..
14404
+ * @example ```"true"```
14405
+ */
14406
+ _enable?: boolean | null;
14407
+ item?: OrderRel | SkuListRel | null;
14408
+ }
14409
+ declare class Links extends ApiResource<Link> {
14410
+ static readonly TYPE: LinkType;
14411
+ create(resource: LinkCreate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
14412
+ update(resource: LinkUpdate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
14413
+ delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
14414
+ events(linkId: string | Link, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
14415
+ _disable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
14416
+ _enable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
14417
+ isLink(resource: any): resource is Link;
14418
+ relationship(id: string | ResourceId | null): LinkRel;
14419
+ relationshipToMany(...ids: string[]): LinkRel[];
14420
+ type(): LinkType;
14421
+ }
14422
+
14260
14423
  type ManualGatewayType = 'manual_gateways';
14261
14424
  type ManualGatewayRel = ResourceRel & {
14262
14425
  type: ManualGatewayType;
@@ -14715,8 +14878,8 @@ declare class Transactions extends ApiResource<Transaction> {
14715
14878
  type(): TransactionType;
14716
14879
  }
14717
14880
 
14718
- 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';
14719
- 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"];
14881
+ 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' | 'links' | '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';
14882
+ 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", "links", "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"];
14720
14883
  declare const singletonList: readonly ["application", "organization"];
14721
14884
  type RetrievableResourceType = ResourceTypeLock;
14722
14885
  type RetrievableResource = Resource & {
@@ -14726,15 +14889,15 @@ type ListableResourceType = Exclude<ResourceTypeLock, 'application' | 'organizat
14726
14889
  type ListableResource = Resource & {
14727
14890
  type: ListableResourceType;
14728
14891
  };
14729
- 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';
14892
+ 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';
14730
14893
  type CreatableResource = Resource & {
14731
14894
  type: CreatableResourceType;
14732
14895
  };
14733
- 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';
14896
+ 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';
14734
14897
  type UpdatableResource = Resource & {
14735
14898
  type: UpdatableResourceType;
14736
14899
  };
14737
- 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';
14900
+ 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';
14738
14901
  type DeletableResource = Resource & {
14739
14902
  type: DeletableResourceType;
14740
14903
  };
@@ -14809,6 +14972,7 @@ type ResourceFields = {
14809
14972
  klarna_payments: KlarnaPayment;
14810
14973
  line_item_options: LineItemOption;
14811
14974
  line_items: LineItem;
14975
+ links: Link;
14812
14976
  manual_gateways: ManualGateway;
14813
14977
  manual_tax_calculators: ManualTaxCalculator;
14814
14978
  markets: Market;
@@ -14933,6 +15097,7 @@ type ResourceSortFields = {
14933
15097
  klarna_payments: KlarnaPaymentSort;
14934
15098
  line_item_options: LineItemOptionSort;
14935
15099
  line_items: LineItemSort;
15100
+ links: LinkSort;
14936
15101
  manual_gateways: ManualGatewaySort;
14937
15102
  manual_tax_calculators: ManualTaxCalculatorSort;
14938
15103
  markets: MarketSort;
@@ -15036,7 +15201,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
15036
15201
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
15037
15202
  declare class CommerceLayerClient {
15038
15203
  #private;
15039
- readonly openApiSchemaVersion = "5.3.3";
15204
+ readonly openApiSchemaVersion = "5.4.0";
15040
15205
  constructor(config: CommerceLayerInitConfig);
15041
15206
  get addresses(): Addresses;
15042
15207
  get adjustments(): Adjustments;
@@ -15094,6 +15259,7 @@ declare class CommerceLayerClient {
15094
15259
  get klarna_payments(): KlarnaPayments;
15095
15260
  get line_item_options(): LineItemOptions;
15096
15261
  get line_items(): LineItems;
15262
+ get links(): Links;
15097
15263
  get manual_gateways(): ManualGateways;
15098
15264
  get manual_tax_calculators(): ManualTaxCalculators;
15099
15265
  get markets(): Markets;
@@ -15191,4 +15357,4 @@ declare const CommerceLayerStatic: {
15191
15357
  readonly schemaVersion: string;
15192
15358
  };
15193
15359
 
15194
- 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 };
15360
+ 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, 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 };