@commercelayer/sdk 6.5.0 → 6.7.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,14 +1681,14 @@ 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;
1688
1688
  interface KlarnaPayment extends Resource {
1689
1689
  readonly type: KlarnaPaymentType;
1690
1690
  /**
1691
- * The identifier of the payment session, useful to updated it..
1691
+ * The identifier of the payment session..
1692
1692
  * @example ```"xxxx-yyyy-zzzz"```
1693
1693
  */
1694
1694
  session_id?: string | null;
@@ -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;
@@ -1881,7 +1881,7 @@ interface StripePayment extends Resource {
1881
1881
  */
1882
1882
  mismatched_amounts?: boolean | null;
1883
1883
  /**
1884
- * The URL where the payer is redirected after they authenticate the payment..
1884
+ * The URL to return to when a redirect payment is completed..
1885
1885
  * @example ```"https://yourdomain.com/thankyou"```
1886
1886
  */
1887
1887
  return_url?: string | null;
@@ -1916,7 +1916,7 @@ interface StripePaymentCreate extends ResourceCreate {
1916
1916
  */
1917
1917
  options?: Record<string, any> | null;
1918
1918
  /**
1919
- * The URL where the payer is redirected after they authenticate the payment..
1919
+ * The URL to return to when a redirect payment is completed..
1920
1920
  * @example ```"https://yourdomain.com/thankyou"```
1921
1921
  */
1922
1922
  return_url?: string | null;
@@ -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
  /**
@@ -1934,7 +1934,7 @@ interface StripePaymentUpdate extends ResourceUpdate {
1934
1934
  */
1935
1935
  options?: Record<string, any> | null;
1936
1936
  /**
1937
- * The URL where the payer is redirected after they authenticate the payment..
1937
+ * The URL to return to when a redirect payment is completed..
1938
1938
  * @example ```"https://yourdomain.com/thankyou"```
1939
1939
  */
1940
1940
  return_url?: string | null;
@@ -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
 
@@ -2507,7 +2507,7 @@ type CouponRecipientRel$1 = ResourceRel & {
2507
2507
  type CustomerRel$5 = ResourceRel & {
2508
2508
  type: CustomerType;
2509
2509
  };
2510
- type CouponRecipientSort = Pick<CouponRecipient, 'id'> & ResourceSort;
2510
+ type CouponRecipientSort = Pick<CouponRecipient, 'id' | 'email'> & ResourceSort;
2511
2511
  interface CouponRecipient extends Resource {
2512
2512
  readonly type: CouponRecipientType;
2513
2513
  /**
@@ -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> {
@@ -4796,7 +4796,7 @@ type GiftCardRecipientRel$2 = ResourceRel & {
4796
4796
  type CustomerRel$4 = ResourceRel & {
4797
4797
  type: CustomerType;
4798
4798
  };
4799
- type GiftCardRecipientSort = Pick<GiftCardRecipient, 'id'> & ResourceSort;
4799
+ type GiftCardRecipientSort = Pick<GiftCardRecipient, 'id' | 'email'> & ResourceSort;
4800
4800
  interface GiftCardRecipient extends Resource {
4801
4801
  readonly type: GiftCardRecipientType;
4802
4802
  /**
@@ -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
  /**
@@ -6748,7 +6748,7 @@ type CustomerGroupRel$2 = ResourceRel & {
6748
6748
  type TagRel$5 = ResourceRel & {
6749
6749
  type: TagType;
6750
6750
  };
6751
- type CustomerSort = Pick<Customer, 'id' | 'status' | 'total_orders_count'> & ResourceSort;
6751
+ type CustomerSort = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count'> & ResourceSort;
6752
6752
  interface Customer extends Resource {
6753
6753
  readonly type: CustomerType;
6754
6754
  /**
@@ -6770,6 +6770,11 @@ interface Customer extends Resource {
6770
6770
  * @example ```"6"```
6771
6771
  */
6772
6772
  total_orders_count?: number | null;
6773
+ /**
6774
+ * A reference to uniquely identify the shopper during payment sessions..
6775
+ * @example ```"xxx-yyy-zzz"```
6776
+ */
6777
+ shopper_reference?: string | null;
6773
6778
  customer_group?: CustomerGroup | null;
6774
6779
  customer_addresses?: CustomerAddress[] | null;
6775
6780
  customer_payment_sources?: CustomerPaymentSource[] | null;
@@ -6793,6 +6798,11 @@ interface CustomerCreate extends ResourceCreate {
6793
6798
  * @example ```"secret"```
6794
6799
  */
6795
6800
  password?: string | null;
6801
+ /**
6802
+ * A reference to uniquely identify the shopper during payment sessions..
6803
+ * @example ```"xxx-yyy-zzz"```
6804
+ */
6805
+ shopper_reference?: string | null;
6796
6806
  customer_group?: CustomerGroupRel$2 | null;
6797
6807
  tags?: TagRel$5[] | null;
6798
6808
  }
@@ -6807,6 +6817,11 @@ interface CustomerUpdate extends ResourceUpdate {
6807
6817
  * @example ```"secret"```
6808
6818
  */
6809
6819
  password?: string | null;
6820
+ /**
6821
+ * A reference to uniquely identify the shopper during payment sessions..
6822
+ * @example ```"xxx-yyy-zzz"```
6823
+ */
6824
+ shopper_reference?: string | null;
6810
6825
  customer_group?: CustomerGroupRel$2 | null;
6811
6826
  tags?: TagRel$5[] | null;
6812
6827
  }
@@ -6836,7 +6851,7 @@ type PaypalPaymentType = 'paypal_payments';
6836
6851
  type PaypalPaymentRel$1 = ResourceRel & {
6837
6852
  type: PaypalPaymentType;
6838
6853
  };
6839
- type OrderRel$6 = ResourceRel & {
6854
+ type OrderRel$7 = ResourceRel & {
6840
6855
  type: OrderType;
6841
6856
  };
6842
6857
  type PaypalPaymentSort = Pick<PaypalPayment, 'id'> & ResourceSort;
@@ -6911,7 +6926,7 @@ interface PaypalPaymentCreate extends ResourceCreate {
6911
6926
  * @example ```"Thank you for shopping with us!"```
6912
6927
  */
6913
6928
  note_to_payer?: string | null;
6914
- order: OrderRel$6;
6929
+ order: OrderRel$7;
6915
6930
  }
6916
6931
  interface PaypalPaymentUpdate extends ResourceUpdate {
6917
6932
  /**
@@ -6919,7 +6934,7 @@ interface PaypalPaymentUpdate extends ResourceUpdate {
6919
6934
  * @example ```"ABCDEFGHG123456"```
6920
6935
  */
6921
6936
  paypal_payer_id?: string | null;
6922
- order?: OrderRel$6 | null;
6937
+ order?: OrderRel$7 | null;
6923
6938
  }
6924
6939
  declare class PaypalPayments extends ApiResource<PaypalPayment> {
6925
6940
  static readonly TYPE: PaypalPaymentType;
@@ -6939,7 +6954,7 @@ type WireTransferType = 'wire_transfers';
6939
6954
  type WireTransferRel$1 = ResourceRel & {
6940
6955
  type: WireTransferType;
6941
6956
  };
6942
- type OrderRel$5 = ResourceRel & {
6957
+ type OrderRel$6 = ResourceRel & {
6943
6958
  type: OrderType;
6944
6959
  };
6945
6960
  type WireTransferSort = Pick<WireTransfer, 'id'> & ResourceSort;
@@ -6954,10 +6969,10 @@ interface WireTransfer extends Resource {
6954
6969
  versions?: Version[] | null;
6955
6970
  }
6956
6971
  interface WireTransferCreate extends ResourceCreate {
6957
- order: OrderRel$5;
6972
+ order: OrderRel$6;
6958
6973
  }
6959
6974
  interface WireTransferUpdate extends ResourceUpdate {
6960
- order?: OrderRel$5 | null;
6975
+ order?: OrderRel$6 | null;
6961
6976
  }
6962
6977
  declare class WireTransfers extends ApiResource<WireTransfer> {
6963
6978
  static readonly TYPE: WireTransferType;
@@ -6976,7 +6991,7 @@ type PaymentOptionType = 'payment_options';
6976
6991
  type PaymentOptionRel = ResourceRel & {
6977
6992
  type: PaymentOptionType;
6978
6993
  };
6979
- type OrderRel$4 = ResourceRel & {
6994
+ type OrderRel$5 = ResourceRel & {
6980
6995
  type: OrderType;
6981
6996
  };
6982
6997
  type PaymentOptionSort = Pick<PaymentOption, 'id' | 'name' | 'payment_source_type'> & ResourceSort;
@@ -7016,7 +7031,7 @@ interface PaymentOptionCreate extends ResourceCreate {
7016
7031
  * @example ```"[object Object]"```
7017
7032
  */
7018
7033
  data: Record<string, any>;
7019
- order: OrderRel$4;
7034
+ order: OrderRel$5;
7020
7035
  }
7021
7036
  interface PaymentOptionUpdate extends ResourceUpdate {
7022
7037
  /**
@@ -7029,7 +7044,7 @@ interface PaymentOptionUpdate extends ResourceUpdate {
7029
7044
  * @example ```"[object Object]"```
7030
7045
  */
7031
7046
  data?: Record<string, any> | null;
7032
- order?: OrderRel$4 | null;
7047
+ order?: OrderRel$5 | null;
7033
7048
  }
7034
7049
  declare class PaymentOptions extends ApiResource<PaymentOption> {
7035
7050
  static readonly TYPE: PaymentOptionType;
@@ -7508,7 +7523,7 @@ type OrderCopyType = 'order_copies';
7508
7523
  type OrderCopyRel = ResourceRel & {
7509
7524
  type: OrderCopyType;
7510
7525
  };
7511
- type OrderRel$3 = ResourceRel & {
7526
+ type OrderRel$4 = ResourceRel & {
7512
7527
  type: OrderType;
7513
7528
  };
7514
7529
  type OrderCopySort = Pick<OrderCopy, 'id' | 'status' | 'started_at' | 'completed_at' | 'failed_at' | 'errors_count'> & ResourceSort;
@@ -7580,7 +7595,7 @@ interface OrderCopyCreate extends ResourceCreate {
7580
7595
  * @example ```"true"```
7581
7596
  */
7582
7597
  cancel_source_order?: boolean | null;
7583
- source_order: OrderRel$3;
7598
+ source_order: OrderRel$4;
7584
7599
  }
7585
7600
  type OrderCopyUpdate = ResourceUpdate;
7586
7601
  declare class OrderCopies extends ApiResource<OrderCopy> {
@@ -7631,7 +7646,7 @@ declare class ResourceErrors extends ApiResource<ResourceError> {
7631
7646
  }
7632
7647
 
7633
7648
  type OrderType = 'orders';
7634
- type OrderRel$2 = ResourceRel & {
7649
+ type OrderRel$3 = ResourceRel & {
7635
7650
  type: OrderType;
7636
7651
  };
7637
7652
  type MarketRel$7 = ResourceRel & {
@@ -7679,7 +7694,7 @@ type WireTransferRel = ResourceRel & {
7679
7694
  type TagRel$4 = ResourceRel & {
7680
7695
  type: TagType;
7681
7696
  };
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;
7697
+ 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
7698
  interface Order extends Resource {
7684
7699
  readonly type: OrderType;
7685
7700
  /**
@@ -8193,11 +8208,6 @@ interface Order extends Resource {
8193
8208
  * @example ```"2018-01-01T12:00:00.000Z"```
8194
8209
  */
8195
8210
  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
8211
  /**
8202
8212
  * Time at which the order has been marked to create a subscription from its recurring line items..
8203
8213
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -8659,8 +8669,8 @@ declare class Orders extends ApiResource<Order> {
8659
8669
  _stop_editing(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
8660
8670
  _reset_circuit(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
8661
8671
  isOrder(resource: any): resource is Order;
8662
- relationship(id: string | ResourceId | null): OrderRel$2;
8663
- relationshipToMany(...ids: string[]): OrderRel$2[];
8672
+ relationship(id: string | ResourceId | null): OrderRel$3;
8673
+ relationshipToMany(...ids: string[]): OrderRel$3[];
8664
8674
  type(): OrderType;
8665
8675
  }
8666
8676
 
@@ -9936,7 +9946,7 @@ type ShipmentType = 'shipments';
9936
9946
  type ShipmentRel$2 = ResourceRel & {
9937
9947
  type: ShipmentType;
9938
9948
  };
9939
- type OrderRel$1 = ResourceRel & {
9949
+ type OrderRel$2 = ResourceRel & {
9940
9950
  type: OrderType;
9941
9951
  };
9942
9952
  type ShippingCategoryRel$2 = ResourceRel & {
@@ -10087,7 +10097,7 @@ interface Shipment extends Resource {
10087
10097
  versions?: Version[] | null;
10088
10098
  }
10089
10099
  interface ShipmentCreate extends ResourceCreate {
10090
- order: OrderRel$1;
10100
+ order: OrderRel$2;
10091
10101
  shipping_category?: ShippingCategoryRel$2 | null;
10092
10102
  inventory_stock_location: InventoryStockLocationRel;
10093
10103
  shipping_address?: AddressRel$2 | null;
@@ -10213,7 +10223,7 @@ declare class Shipments extends ApiResource<Shipment> {
10213
10223
  }
10214
10224
 
10215
10225
  type StockTransferType = 'stock_transfers';
10216
- type StockTransferRel = ResourceRel & {
10226
+ type StockTransferRel$1 = ResourceRel & {
10217
10227
  type: StockTransferType;
10218
10228
  };
10219
10229
  type SkuRel$6 = ResourceRel & {
@@ -10266,6 +10276,7 @@ interface StockTransfer extends Resource {
10266
10276
  destination_stock_location?: StockLocation | null;
10267
10277
  shipment?: Shipment | null;
10268
10278
  line_item?: LineItem | null;
10279
+ attachments?: Attachment[] | null;
10269
10280
  events?: Event[] | null;
10270
10281
  versions?: Version[] | null;
10271
10282
  }
@@ -10348,6 +10359,7 @@ declare class StockTransfers extends ApiResource<StockTransfer> {
10348
10359
  destination_stock_location(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation>;
10349
10360
  shipment(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
10350
10361
  line_item(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
10362
+ attachments(stockTransferId: string | StockTransfer, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
10351
10363
  events(stockTransferId: string | StockTransfer, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
10352
10364
  versions(stockTransferId: string | StockTransfer, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
10353
10365
  _upcoming(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
@@ -10357,8 +10369,8 @@ declare class StockTransfers extends ApiResource<StockTransfer> {
10357
10369
  _complete(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
10358
10370
  _cancel(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
10359
10371
  isStockTransfer(resource: any): resource is StockTransfer;
10360
- relationship(id: string | ResourceId | null): StockTransferRel;
10361
- relationshipToMany(...ids: string[]): StockTransferRel[];
10372
+ relationship(id: string | ResourceId | null): StockTransferRel$1;
10373
+ relationshipToMany(...ids: string[]): StockTransferRel$1[];
10362
10374
  type(): StockTransferType;
10363
10375
  }
10364
10376
 
@@ -11557,7 +11569,7 @@ type BundleRel$1 = ResourceRel & {
11557
11569
  type MarketRel$3 = ResourceRel & {
11558
11570
  type: MarketType;
11559
11571
  };
11560
- type SkuListRel = ResourceRel & {
11572
+ type SkuListRel$1 = ResourceRel & {
11561
11573
  type: SkuListType;
11562
11574
  };
11563
11575
  type TagRel$1 = ResourceRel & {
@@ -11689,7 +11701,7 @@ interface BundleCreate extends ResourceCreate {
11689
11701
  */
11690
11702
  _compute_compare_at_amount?: boolean | null;
11691
11703
  market?: MarketRel$3 | null;
11692
- sku_list: SkuListRel;
11704
+ sku_list: SkuListRel$1;
11693
11705
  tags?: TagRel$1[] | null;
11694
11706
  }
11695
11707
  interface BundleUpdate extends ResourceUpdate {
@@ -12524,7 +12536,7 @@ type MerchantRel = ResourceRel & {
12524
12536
  type BillingInfoValidationRuleRel = ResourceRel & {
12525
12537
  type: BillingInfoValidationRuleType;
12526
12538
  };
12527
- type OrderRel = ResourceRel & {
12539
+ type OrderRel$1 = ResourceRel & {
12528
12540
  type: OrderType;
12529
12541
  };
12530
12542
  type PackageRel = ResourceRel & {
@@ -12572,6 +12584,9 @@ type StockItemRel = ResourceRel & {
12572
12584
  type StockLocationRel = ResourceRel & {
12573
12585
  type: StockLocationType;
12574
12586
  };
12587
+ type StockTransferRel = ResourceRel & {
12588
+ type: StockTransferType;
12589
+ };
12575
12590
  type TaxCalculatorRel = ResourceRel & {
12576
12591
  type: TaxCalculatorType;
12577
12592
  };
@@ -12596,7 +12611,7 @@ interface Attachment extends Resource {
12596
12611
  * @example ```"https://s3.yourdomain.com/attachment.pdf"```
12597
12612
  */
12598
12613
  url?: string | null;
12599
- attachable?: Bundle | CarrierAccount | CustomerGroup | Customer | DeliveryLeadTime | Geocoder | GiftCardRecipient | GiftCard | InventoryModel | Market | Merchant | BillingInfoValidationRule | Order | Package | Parcel | PaymentMethod | PriceList | Price | Promotion | Return | Shipment | ShippingCategory | ShippingMethod | ShippingZone | SkuOption | Sku | StockItem | StockLocation | TaxCalculator | TaxCategory | null;
12614
+ attachable?: Bundle | CarrierAccount | CustomerGroup | Customer | DeliveryLeadTime | Geocoder | GiftCardRecipient | GiftCard | InventoryModel | Market | Merchant | BillingInfoValidationRule | Order | Package | Parcel | PaymentMethod | PriceList | Price | Promotion | Return | Shipment | ShippingCategory | ShippingMethod | ShippingZone | SkuOption | Sku | StockItem | StockLocation | StockTransfer | TaxCalculator | TaxCategory | null;
12600
12615
  }
12601
12616
  interface AttachmentCreate extends ResourceCreate {
12602
12617
  /**
@@ -12614,7 +12629,7 @@ interface AttachmentCreate extends ResourceCreate {
12614
12629
  * @example ```"https://s3.yourdomain.com/attachment.pdf"```
12615
12630
  */
12616
12631
  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;
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 | StockTransferRel | TaxCalculatorRel | TaxCategoryRel;
12618
12633
  }
12619
12634
  interface AttachmentUpdate extends ResourceUpdate {
12620
12635
  /**
@@ -12632,7 +12647,7 @@ interface AttachmentUpdate extends ResourceUpdate {
12632
12647
  * @example ```"https://s3.yourdomain.com/attachment.pdf"```
12633
12648
  */
12634
12649
  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;
12650
+ 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 | StockTransferRel | TaxCalculatorRel | TaxCategoryRel | null;
12636
12651
  }
12637
12652
  declare class Attachments extends ApiResource<Attachment> {
12638
12653
  static readonly TYPE: AttachmentType;
@@ -13013,6 +13028,11 @@ interface AdyenGateway extends Resource {
13013
13028
  * @example ```"true"```
13014
13029
  */
13015
13030
  async_api?: boolean | null;
13031
+ /**
13032
+ * Indicates if the gateway will use the native customer payment sources..
13033
+ * @example ```"true"```
13034
+ */
13035
+ native_customer_payment_sources?: boolean | null;
13016
13036
  /**
13017
13037
  * The gateway webhook endpoint secret, generated by Adyen customer area..
13018
13038
  * @example ```"xxxx-yyyy-zzzz"```
@@ -13063,6 +13083,11 @@ interface AdyenGatewayCreate extends ResourceCreate {
13063
13083
  * @example ```"true"```
13064
13084
  */
13065
13085
  async_api?: boolean | null;
13086
+ /**
13087
+ * Indicates if the gateway will use the native customer payment sources..
13088
+ * @example ```"true"```
13089
+ */
13090
+ native_customer_payment_sources?: boolean | null;
13066
13091
  /**
13067
13092
  * The gateway webhook endpoint secret, generated by Adyen customer area..
13068
13093
  * @example ```"xxxx-yyyy-zzzz"```
@@ -13106,6 +13131,11 @@ interface AdyenGatewayUpdate extends ResourceUpdate {
13106
13131
  * @example ```"true"```
13107
13132
  */
13108
13133
  async_api?: boolean | null;
13134
+ /**
13135
+ * Indicates if the gateway will use the native customer payment sources..
13136
+ * @example ```"true"```
13137
+ */
13138
+ native_customer_payment_sources?: boolean | null;
13109
13139
  /**
13110
13140
  * The gateway webhook endpoint secret, generated by Adyen customer area..
13111
13141
  * @example ```"xxxx-yyyy-zzzz"```
@@ -14257,6 +14287,172 @@ declare class KlarnaGateways extends ApiResource<KlarnaGateway> {
14257
14287
  type(): KlarnaGatewayType;
14258
14288
  }
14259
14289
 
14290
+ type LinkType = 'links';
14291
+ type LinkRel = ResourceRel & {
14292
+ type: LinkType;
14293
+ };
14294
+ type OrderRel = ResourceRel & {
14295
+ type: OrderType;
14296
+ };
14297
+ type SkuListRel = ResourceRel & {
14298
+ type: SkuListType;
14299
+ };
14300
+ type LinkSort = Pick<Link, 'id' | 'name' | 'starts_at' | 'expires_at' | 'disabled_at'> & ResourceSort;
14301
+ interface Link extends Resource {
14302
+ readonly type: LinkType;
14303
+ /**
14304
+ * The link internal name..
14305
+ * @example ```"FW SALE 2023"```
14306
+ */
14307
+ name: string;
14308
+ /**
14309
+ * The link application client id, used to fetch JWT..
14310
+ * @example ```"xxxx-yyyy-zzzz"```
14311
+ */
14312
+ client_id: string;
14313
+ /**
14314
+ * The link application scope, used to fetch JWT..
14315
+ * @example ```"market:GhvCxsElAQ,market:kJhgVcxZDr"```
14316
+ */
14317
+ scope: string;
14318
+ /**
14319
+ * The activation date/time of this link..
14320
+ * @example ```"2018-01-01T12:00:00.000Z"```
14321
+ */
14322
+ starts_at: string;
14323
+ /**
14324
+ * The expiration date/time of this link (must be after starts_at)..
14325
+ * @example ```"2018-01-02T12:00:00.000Z"```
14326
+ */
14327
+ expires_at: string;
14328
+ /**
14329
+ * Indicates if the link is active (enabled and not expired)..
14330
+ * @example ```"true"```
14331
+ */
14332
+ active?: boolean | null;
14333
+ /**
14334
+ * The link status, one of 'expired', 'pending', 'active', or 'disabled'..
14335
+ * @example ```"pending"```
14336
+ */
14337
+ status?: 'expired' | 'pending' | 'active' | 'disabled' | null;
14338
+ /**
14339
+ * The link URL second level domain..
14340
+ * @example ```"c11r.link"```
14341
+ */
14342
+ domain?: string | null;
14343
+ /**
14344
+ * The link URL..
14345
+ * @example ```"https://acme.c11r.link/a597dd63-576e-4aff-9094-0b7d690e94d6"```
14346
+ */
14347
+ url?: string | null;
14348
+ /**
14349
+ * Time at which this resource was disabled..
14350
+ * @example ```"2018-01-01T12:00:00.000Z"```
14351
+ */
14352
+ disabled_at?: string | null;
14353
+ item?: Order | SkuList | null;
14354
+ events?: Event[] | null;
14355
+ }
14356
+ interface LinkCreate extends ResourceCreate {
14357
+ /**
14358
+ * The link internal name..
14359
+ * @example ```"FW SALE 2023"```
14360
+ */
14361
+ name: string;
14362
+ /**
14363
+ * The link application client id, used to fetch JWT..
14364
+ * @example ```"xxxx-yyyy-zzzz"```
14365
+ */
14366
+ client_id: string;
14367
+ /**
14368
+ * The link application scope, used to fetch JWT..
14369
+ * @example ```"market:GhvCxsElAQ,market:kJhgVcxZDr"```
14370
+ */
14371
+ scope: string;
14372
+ /**
14373
+ * The activation date/time of this link..
14374
+ * @example ```"2018-01-01T12:00:00.000Z"```
14375
+ */
14376
+ starts_at: string;
14377
+ /**
14378
+ * The expiration date/time of this link (must be after starts_at)..
14379
+ * @example ```"2018-01-02T12:00:00.000Z"```
14380
+ */
14381
+ expires_at: string;
14382
+ /**
14383
+ * The link URL second level domain..
14384
+ * @example ```"c11r.link"```
14385
+ */
14386
+ domain?: string | null;
14387
+ /**
14388
+ * Send this attribute if you want to mark this resource as disabled..
14389
+ * @example ```"true"```
14390
+ */
14391
+ _disable?: boolean | null;
14392
+ /**
14393
+ * Send this attribute if you want to mark this resource as enabled..
14394
+ * @example ```"true"```
14395
+ */
14396
+ _enable?: boolean | null;
14397
+ item: OrderRel | SkuListRel;
14398
+ }
14399
+ interface LinkUpdate extends ResourceUpdate {
14400
+ /**
14401
+ * The link internal name..
14402
+ * @example ```"FW SALE 2023"```
14403
+ */
14404
+ name?: string | null;
14405
+ /**
14406
+ * The link application client id, used to fetch JWT..
14407
+ * @example ```"xxxx-yyyy-zzzz"```
14408
+ */
14409
+ client_id?: string | null;
14410
+ /**
14411
+ * The link application scope, used to fetch JWT..
14412
+ * @example ```"market:GhvCxsElAQ,market:kJhgVcxZDr"```
14413
+ */
14414
+ scope?: string | null;
14415
+ /**
14416
+ * The activation date/time of this link..
14417
+ * @example ```"2018-01-01T12:00:00.000Z"```
14418
+ */
14419
+ starts_at?: string | null;
14420
+ /**
14421
+ * The expiration date/time of this link (must be after starts_at)..
14422
+ * @example ```"2018-01-02T12:00:00.000Z"```
14423
+ */
14424
+ expires_at?: string | null;
14425
+ /**
14426
+ * The link URL second level domain..
14427
+ * @example ```"c11r.link"```
14428
+ */
14429
+ domain?: string | null;
14430
+ /**
14431
+ * Send this attribute if you want to mark this resource as disabled..
14432
+ * @example ```"true"```
14433
+ */
14434
+ _disable?: boolean | null;
14435
+ /**
14436
+ * Send this attribute if you want to mark this resource as enabled..
14437
+ * @example ```"true"```
14438
+ */
14439
+ _enable?: boolean | null;
14440
+ item?: OrderRel | SkuListRel | null;
14441
+ }
14442
+ declare class Links extends ApiResource<Link> {
14443
+ static readonly TYPE: LinkType;
14444
+ create(resource: LinkCreate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
14445
+ update(resource: LinkUpdate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
14446
+ delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
14447
+ events(linkId: string | Link, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
14448
+ _disable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
14449
+ _enable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
14450
+ isLink(resource: any): resource is Link;
14451
+ relationship(id: string | ResourceId | null): LinkRel;
14452
+ relationshipToMany(...ids: string[]): LinkRel[];
14453
+ type(): LinkType;
14454
+ }
14455
+
14260
14456
  type ManualGatewayType = 'manual_gateways';
14261
14457
  type ManualGatewayRel = ResourceRel & {
14262
14458
  type: ManualGatewayType;
@@ -14299,28 +14495,6 @@ declare class ManualGateways extends ApiResource<ManualGateway> {
14299
14495
  type(): ManualGatewayType;
14300
14496
  }
14301
14497
 
14302
- type OrderValidationRuleType = 'order_validation_rules';
14303
- type OrderValidationRuleRel = ResourceRel & {
14304
- type: OrderValidationRuleType;
14305
- };
14306
- type OrderValidationRuleSort = Pick<OrderValidationRule, 'id'> & ResourceSort;
14307
- interface OrderValidationRule extends Resource {
14308
- readonly type: OrderValidationRuleType;
14309
- market?: Market | null;
14310
- attachments?: Attachment[] | null;
14311
- versions?: Version[] | null;
14312
- }
14313
- declare class OrderValidationRules extends ApiResource<OrderValidationRule> {
14314
- static readonly TYPE: OrderValidationRuleType;
14315
- market(orderValidationRuleId: string | OrderValidationRule, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
14316
- attachments(orderValidationRuleId: string | OrderValidationRule, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
14317
- versions(orderValidationRuleId: string | OrderValidationRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14318
- isOrderValidationRule(resource: any): resource is OrderValidationRule;
14319
- relationship(id: string | ResourceId | null): OrderValidationRuleRel;
14320
- relationshipToMany(...ids: string[]): OrderValidationRuleRel[];
14321
- type(): OrderValidationRuleType;
14322
- }
14323
-
14324
14498
  type OrganizationType = 'organization';
14325
14499
  type OrganizationRel = ResourceRel & {
14326
14500
  type: OrganizationType;
@@ -14715,8 +14889,8 @@ declare class Transactions extends ApiResource<Transaction> {
14715
14889
  type(): TransactionType;
14716
14890
  }
14717
14891
 
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"];
14892
+ 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' | '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';
14893
+ 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", "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
14894
  declare const singletonList: readonly ["application", "organization"];
14721
14895
  type RetrievableResourceType = ResourceTypeLock;
14722
14896
  type RetrievableResource = Resource & {
@@ -14726,15 +14900,15 @@ type ListableResourceType = Exclude<ResourceTypeLock, 'application' | 'organizat
14726
14900
  type ListableResource = Resource & {
14727
14901
  type: ListableResourceType;
14728
14902
  };
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';
14903
+ 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
14904
  type CreatableResource = Resource & {
14731
14905
  type: CreatableResourceType;
14732
14906
  };
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';
14907
+ 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
14908
  type UpdatableResource = Resource & {
14735
14909
  type: UpdatableResourceType;
14736
14910
  };
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';
14911
+ 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
14912
  type DeletableResource = Resource & {
14739
14913
  type: DeletableResourceType;
14740
14914
  };
@@ -14745,7 +14919,7 @@ type TaggableResource = Resource & {
14745
14919
  type: TagType;
14746
14920
  }> | null;
14747
14921
  };
14748
- type VersionableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_payment_sources' | 'customer_subscriptions' | 'delivery_lead_times' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_subscriptions' | 'order_validation_rules' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'refunds' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'voids' | 'webhooks' | 'wire_transfers';
14922
+ type VersionableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'billing_info_validation_rules' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_payment_sources' | 'customer_subscriptions' | 'delivery_lead_times' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'refunds' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'voids' | 'webhooks' | 'wire_transfers';
14749
14923
  type VersionableResource = Resource & {
14750
14924
  type: VersionableResourceType;
14751
14925
  versions?: Array<ResourceRel & {
@@ -14809,6 +14983,7 @@ type ResourceFields = {
14809
14983
  klarna_payments: KlarnaPayment;
14810
14984
  line_item_options: LineItemOption;
14811
14985
  line_items: LineItem;
14986
+ links: Link;
14812
14987
  manual_gateways: ManualGateway;
14813
14988
  manual_tax_calculators: ManualTaxCalculator;
14814
14989
  markets: Market;
@@ -14818,7 +14993,6 @@ type ResourceFields = {
14818
14993
  order_factories: OrderFactory;
14819
14994
  order_subscription_items: OrderSubscriptionItem;
14820
14995
  order_subscriptions: OrderSubscription;
14821
- order_validation_rules: OrderValidationRule;
14822
14996
  orders: Order;
14823
14997
  organization: Organization;
14824
14998
  packages: Package;
@@ -14933,6 +15107,7 @@ type ResourceSortFields = {
14933
15107
  klarna_payments: KlarnaPaymentSort;
14934
15108
  line_item_options: LineItemOptionSort;
14935
15109
  line_items: LineItemSort;
15110
+ links: LinkSort;
14936
15111
  manual_gateways: ManualGatewaySort;
14937
15112
  manual_tax_calculators: ManualTaxCalculatorSort;
14938
15113
  markets: MarketSort;
@@ -14942,7 +15117,6 @@ type ResourceSortFields = {
14942
15117
  order_factories: OrderFactorySort;
14943
15118
  order_subscription_items: OrderSubscriptionItemSort;
14944
15119
  order_subscriptions: OrderSubscriptionSort;
14945
- order_validation_rules: OrderValidationRuleSort;
14946
15120
  orders: OrderSort;
14947
15121
  organization: OrganizationSort;
14948
15122
  packages: PackageSort;
@@ -15036,7 +15210,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
15036
15210
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
15037
15211
  declare class CommerceLayerClient {
15038
15212
  #private;
15039
- readonly openApiSchemaVersion = "5.3.3";
15213
+ readonly openApiSchemaVersion = "5.4.1";
15040
15214
  constructor(config: CommerceLayerInitConfig);
15041
15215
  get addresses(): Addresses;
15042
15216
  get adjustments(): Adjustments;
@@ -15094,6 +15268,7 @@ declare class CommerceLayerClient {
15094
15268
  get klarna_payments(): KlarnaPayments;
15095
15269
  get line_item_options(): LineItemOptions;
15096
15270
  get line_items(): LineItems;
15271
+ get links(): Links;
15097
15272
  get manual_gateways(): ManualGateways;
15098
15273
  get manual_tax_calculators(): ManualTaxCalculators;
15099
15274
  get markets(): Markets;
@@ -15103,7 +15278,6 @@ declare class CommerceLayerClient {
15103
15278
  get order_factories(): OrderFactories;
15104
15279
  get order_subscription_items(): OrderSubscriptionItems;
15105
15280
  get order_subscriptions(): OrderSubscriptions;
15106
- get order_validation_rules(): OrderValidationRules;
15107
15281
  get orders(): Orders;
15108
15282
  get organization(): Organizations;
15109
15283
  get packages(): Packages;
@@ -15191,4 +15365,4 @@ declare const CommerceLayerStatic: {
15191
15365
  readonly schemaVersion: string;
15192
15366
  };
15193
15367
 
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 };
15368
+ export { type Address, type AddressCreate, type AddressSort, type AddressUpdate, Addresses, type Adjustment, type AdjustmentCreate, type AdjustmentSort, type AdjustmentUpdate, Adjustments, type AdyenGateway, type AdyenGatewayCreate, type AdyenGatewaySort, type AdyenGatewayUpdate, AdyenGateways, type AdyenPayment, type AdyenPaymentCreate, type AdyenPaymentSort, type AdyenPaymentUpdate, AdyenPayments, ApiError, ApiResource, ApiSingleton, type Application, type ApplicationSort, Applications, type Attachment, type AttachmentCreate, type AttachmentSort, type AttachmentUpdate, Attachments, type Authorization, type AuthorizationSort, type AuthorizationUpdate, Authorizations, type AvalaraAccount, type AvalaraAccountCreate, type AvalaraAccountSort, type AvalaraAccountUpdate, AvalaraAccounts, type AxerveGateway, type AxerveGatewayCreate, type AxerveGatewaySort, type AxerveGatewayUpdate, AxerveGateways, type AxervePayment, type AxervePaymentCreate, type AxervePaymentSort, type AxervePaymentUpdate, AxervePayments, type BillingInfoValidationRule, type BillingInfoValidationRuleCreate, type BillingInfoValidationRuleSort, type BillingInfoValidationRuleUpdate, BillingInfoValidationRules, type BingGeocoder, type BingGeocoderCreate, type BingGeocoderSort, type BingGeocoderUpdate, BingGeocoders, type BraintreeGateway, type BraintreeGatewayCreate, type BraintreeGatewaySort, type BraintreeGatewayUpdate, BraintreeGateways, type BraintreePayment, type BraintreePaymentCreate, type BraintreePaymentSort, type BraintreePaymentUpdate, BraintreePayments, type Bundle, type BundleCreate, type BundleSort, type BundleUpdate, Bundles, type BuyXPayYPromotion, type BuyXPayYPromotionCreate, type BuyXPayYPromotionSort, type BuyXPayYPromotionUpdate, BuyXPayYPromotions, type Capture, type CaptureSort, type CaptureUpdate, Captures, type CarrierAccount, type CarrierAccountSort, CarrierAccounts, type CheckoutComGateway, type CheckoutComGatewayCreate, type CheckoutComGatewaySort, type CheckoutComGatewayUpdate, CheckoutComGateways, type CheckoutComPayment, type CheckoutComPaymentCreate, type CheckoutComPaymentSort, type CheckoutComPaymentUpdate, CheckoutComPayments, type Cleanup, type CleanupCreate, type CleanupSort, Cleanups, CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, CommerceLayerStatic, type Coupon, type CouponCodesPromotionRule, type CouponCodesPromotionRuleCreate, type CouponCodesPromotionRuleSort, type CouponCodesPromotionRuleUpdate, CouponCodesPromotionRules, type CouponCreate, type CouponRecipient, type CouponRecipientCreate, type CouponRecipientSort, type CouponRecipientUpdate, CouponRecipients, type CouponSort, type CouponUpdate, Coupons, type CreatableResource, type CreatableResourceType, type CustomPromotionRule, type CustomPromotionRuleCreate, type CustomPromotionRuleSort, type CustomPromotionRuleUpdate, CustomPromotionRules, type Customer, type CustomerAddress, type CustomerAddressCreate, type CustomerAddressSort, type CustomerAddressUpdate, CustomerAddresses, type CustomerCreate, type CustomerGroup, type CustomerGroupCreate, type CustomerGroupSort, type CustomerGroupUpdate, CustomerGroups, type CustomerPasswordReset, type CustomerPasswordResetCreate, type CustomerPasswordResetSort, type CustomerPasswordResetUpdate, CustomerPasswordResets, type CustomerPaymentSource, type CustomerPaymentSourceCreate, type CustomerPaymentSourceSort, type CustomerPaymentSourceUpdate, CustomerPaymentSources, type CustomerSort, type CustomerSubscription, type CustomerSubscriptionCreate, type CustomerSubscriptionSort, type CustomerSubscriptionUpdate, CustomerSubscriptions, type CustomerUpdate, Customers, type DeletableResource, type DeletableResourceType, type DeliveryLeadTime, type DeliveryLeadTimeCreate, type DeliveryLeadTimeSort, type DeliveryLeadTimeUpdate, DeliveryLeadTimes, type ErrorObj, ErrorType, type Event, type EventCallback, type EventCallbackSort, EventCallbacks, type EventSort, Events, type Export, type ExportCreate, type ExportSort, Exports, type ExternalGateway, type ExternalGatewayCreate, type ExternalGatewaySort, type ExternalGatewayUpdate, ExternalGateways, type ExternalPayment, type ExternalPaymentCreate, type ExternalPaymentSort, type ExternalPaymentUpdate, ExternalPayments, type ExternalPromotion, type ExternalPromotionCreate, type ExternalPromotionSort, type ExternalPromotionUpdate, ExternalPromotions, type ExternalTaxCalculator, type ExternalTaxCalculatorCreate, type ExternalTaxCalculatorSort, type ExternalTaxCalculatorUpdate, ExternalTaxCalculators, type FixedAmountPromotion, type FixedAmountPromotionCreate, type FixedAmountPromotionSort, type FixedAmountPromotionUpdate, FixedAmountPromotions, type FixedPricePromotion, type FixedPricePromotionCreate, type FixedPricePromotionSort, type FixedPricePromotionUpdate, FixedPricePromotions, type FreeGiftPromotion, type FreeGiftPromotionCreate, type FreeGiftPromotionSort, type FreeGiftPromotionUpdate, FreeGiftPromotions, type FreeShippingPromotion, type FreeShippingPromotionCreate, type FreeShippingPromotionSort, type FreeShippingPromotionUpdate, FreeShippingPromotions, type Geocoder, type GeocoderSort, Geocoders, type GiftCard, type GiftCardCreate, type GiftCardRecipient, type GiftCardRecipientCreate, type GiftCardRecipientSort, type GiftCardRecipientUpdate, GiftCardRecipients, type GiftCardSort, type GiftCardUpdate, GiftCards, type GoogleGeocoder, type GoogleGeocoderCreate, type GoogleGeocoderSort, type GoogleGeocoderUpdate, GoogleGeocoders, type HeadersObj, type Import, type ImportCreate, type ImportSort, Imports, type InStockSubscription, type InStockSubscriptionCreate, type InStockSubscriptionSort, type InStockSubscriptionUpdate, InStockSubscriptions, type InventoryModel, type InventoryModelCreate, type InventoryModelSort, type InventoryModelUpdate, InventoryModels, type InventoryReturnLocation, type InventoryReturnLocationCreate, type InventoryReturnLocationSort, type InventoryReturnLocationUpdate, InventoryReturnLocations, type InventoryStockLocation, type InventoryStockLocationCreate, type InventoryStockLocationSort, type InventoryStockLocationUpdate, InventoryStockLocations, type KlarnaGateway, type KlarnaGatewayCreate, type KlarnaGatewaySort, type KlarnaGatewayUpdate, KlarnaGateways, type KlarnaPayment, type KlarnaPaymentCreate, type KlarnaPaymentSort, type KlarnaPaymentUpdate, KlarnaPayments, type LineItem, type LineItemCreate, type LineItemOption, type LineItemOptionCreate, type LineItemOptionSort, type LineItemOptionUpdate, LineItemOptions, type LineItemSort, type LineItemUpdate, LineItems, type Link, type LinkCreate, type LinkSort, type LinkUpdate, Links, type ListMeta, ListResponse, type ListableResource, type ListableResourceType, type ManualGateway, type ManualGatewayCreate, type ManualGatewaySort, type ManualGatewayUpdate, ManualGateways, type ManualTaxCalculator, type ManualTaxCalculatorCreate, type ManualTaxCalculatorSort, type ManualTaxCalculatorUpdate, ManualTaxCalculators, type Market, type MarketCreate, type MarketSort, type MarketUpdate, Markets, type Merchant, type MerchantCreate, type MerchantSort, type MerchantUpdate, Merchants, type Metadata, type Order, type OrderAmountPromotionRule, type OrderAmountPromotionRuleCreate, type OrderAmountPromotionRuleSort, type OrderAmountPromotionRuleUpdate, OrderAmountPromotionRules, OrderCopies, type OrderCopy, type OrderCopyCreate, type OrderCopySort, type OrderCopyUpdate, type OrderCreate, OrderFactories, type OrderFactory, type OrderFactorySort, type OrderSort, type OrderSubscription, type OrderSubscriptionCreate, type OrderSubscriptionItem, type OrderSubscriptionItemCreate, type OrderSubscriptionItemSort, type OrderSubscriptionItemUpdate, OrderSubscriptionItems, type OrderSubscriptionSort, type OrderSubscriptionUpdate, OrderSubscriptions, type OrderUpdate, Orders, type Organization, type OrganizationSort, Organizations, type Package, type PackageCreate, type PackageSort, type PackageUpdate, Packages, type Parcel, type ParcelCreate, type ParcelLineItem, type ParcelLineItemCreate, type ParcelLineItemSort, type ParcelLineItemUpdate, ParcelLineItems, type ParcelSort, type ParcelUpdate, Parcels, type PaymentGateway, type PaymentGatewaySort, PaymentGateways, type PaymentMethod, type PaymentMethodCreate, type PaymentMethodSort, type PaymentMethodUpdate, PaymentMethods, type PaymentOption, type PaymentOptionCreate, type PaymentOptionSort, type PaymentOptionUpdate, PaymentOptions, type PaypalGateway, type PaypalGatewayCreate, type PaypalGatewaySort, type PaypalGatewayUpdate, PaypalGateways, type PaypalPayment, type PaypalPaymentCreate, type PaypalPaymentSort, type PaypalPaymentUpdate, PaypalPayments, type PercentageDiscountPromotion, type PercentageDiscountPromotionCreate, type PercentageDiscountPromotionSort, type PercentageDiscountPromotionUpdate, PercentageDiscountPromotions, type Price, type PriceCreate, type PriceFrequencyTier, type PriceFrequencyTierCreate, type PriceFrequencyTierSort, type PriceFrequencyTierUpdate, PriceFrequencyTiers, type PriceList, type PriceListCreate, type PriceListScheduler, type PriceListSchedulerCreate, type PriceListSchedulerSort, type PriceListSchedulerUpdate, PriceListSchedulers, type PriceListSort, type PriceListUpdate, PriceLists, type PriceSort, type PriceTier, type PriceTierSort, PriceTiers, type PriceUpdate, type PriceVolumeTier, type PriceVolumeTierCreate, type PriceVolumeTierSort, type PriceVolumeTierUpdate, PriceVolumeTiers, Prices, type Promotion, type PromotionRule, type PromotionRuleSort, PromotionRules, type PromotionSort, Promotions, type QueryArrayFields, type QueryArraySortable, type QueryFilter, type QueryInclude, type QueryPageNumber, type QueryPageSize, type QueryParams, type QueryParamsList, type QueryParamsRetrieve, type QueryRecordFields, type QueryRecordSortable, RecurringOrderCopies, type RecurringOrderCopy, type RecurringOrderCopyCreate, type RecurringOrderCopySort, type RecurringOrderCopyUpdate, type Refund, type RefundSort, Refunds, type RequestObj, type ReservedStock, type ReservedStockSort, ReservedStocks, type Resource, ResourceAdapter, type ResourceCreate, type ResourceError, type ResourceErrorSort, ResourceErrors, type ResourceFields, type ResourceFilter, type ResourceId, type ResourceRel, type ResourceSort, type ResourceSortFields, type ResourceType, type ResourceTypeLock, type ResourceUpdate, type ResourcesConfig, type ResourcesInitConfig, type ResponseObj, type RetrievableResource, type RetrievableResourceType, type Return, type ReturnCreate, type ReturnLineItem, type ReturnLineItemCreate, type ReturnLineItemSort, type ReturnLineItemUpdate, ReturnLineItems, type ReturnSort, type ReturnUpdate, Returns, type SatispayGateway, type SatispayGatewayCreate, type SatispayGatewaySort, type SatispayGatewayUpdate, SatispayGateways, type SatispayPayment, type SatispayPaymentCreate, type SatispayPaymentSort, type SatispayPaymentUpdate, SatispayPayments, SdkError, type Shipment, type ShipmentCreate, type ShipmentSort, type ShipmentUpdate, Shipments, ShippingCategories, type ShippingCategory, type ShippingCategoryCreate, type ShippingCategorySort, type ShippingCategoryUpdate, type ShippingMethod, type ShippingMethodCreate, type ShippingMethodSort, type ShippingMethodTier, type ShippingMethodTierSort, ShippingMethodTiers, type ShippingMethodUpdate, ShippingMethods, type ShippingWeightTier, type ShippingWeightTierCreate, type ShippingWeightTierSort, type ShippingWeightTierUpdate, ShippingWeightTiers, type ShippingZone, type ShippingZoneCreate, type ShippingZoneSort, type ShippingZoneUpdate, ShippingZones, type Sku, type SkuCreate, type SkuList, type SkuListCreate, type SkuListItem, type SkuListItemCreate, type SkuListItemSort, type SkuListItemUpdate, SkuListItems, type SkuListPromotionRule, type SkuListPromotionRuleCreate, type SkuListPromotionRuleSort, type SkuListPromotionRuleUpdate, SkuListPromotionRules, type SkuListSort, type SkuListUpdate, SkuLists, type SkuOption, type SkuOptionCreate, type SkuOptionSort, type SkuOptionUpdate, SkuOptions, type SkuSort, type SkuUpdate, Skus, type StockItem, type StockItemCreate, type StockItemSort, type StockItemUpdate, StockItems, type StockLineItem, type StockLineItemCreate, type StockLineItemSort, type StockLineItemUpdate, StockLineItems, type StockLocation, type StockLocationCreate, type StockLocationSort, type StockLocationUpdate, StockLocations, type StockReservation, type StockReservationCreate, type StockReservationSort, type StockReservationUpdate, StockReservations, type StockTransfer, type StockTransferCreate, type StockTransferSort, type StockTransferUpdate, StockTransfers, type StripeGateway, type StripeGatewayCreate, type StripeGatewaySort, type StripeGatewayUpdate, StripeGateways, type StripePayment, type StripePaymentCreate, type StripePaymentSort, type StripePaymentUpdate, StripePayments, type SubscriptionModel, type SubscriptionModelCreate, type SubscriptionModelSort, type SubscriptionModelUpdate, SubscriptionModels, type Tag, type TagCreate, type TagSort, type TagUpdate, type TaggableResource, type TaggableResourceType, Tags, type TaxCalculator, type TaxCalculatorSort, TaxCalculators, TaxCategories, type TaxCategory, type TaxCategoryCreate, type TaxCategorySort, type TaxCategoryUpdate, type TaxRule, type TaxRuleCreate, type TaxRuleSort, type TaxRuleUpdate, TaxRules, type TaxjarAccount, type TaxjarAccountCreate, type TaxjarAccountSort, type TaxjarAccountUpdate, TaxjarAccounts, type Transaction, type TransactionSort, Transactions, type UpdatableResource, type UpdatableResourceType, type Version, type VersionSort, type VersionableResource, type VersionableResourceType, Versions, type Void, type VoidSort, Voids, type Webhook, type WebhookCreate, type WebhookSort, type WebhookUpdate, Webhooks, type WireTransfer, type WireTransferCreate, type WireTransferSort, type WireTransferUpdate, WireTransfers, apiResourceAdapter, CommerceLayer as default, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };