@commercelayer/sdk 6.56.0 → 6.58.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.ts CHANGED
@@ -209,10 +209,10 @@ type EventStoreSort = Pick<EventStore, 'id'> & ResourceSort;
209
209
  interface EventStore extends Resource {
210
210
  readonly type: EventStoreType;
211
211
  /**
212
- * The type of the affected resource.
212
+ * The type of the affected resource. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.
213
213
  * @example ```"orders"```
214
214
  */
215
- resource_type?: string | null;
215
+ resource_type?: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers' | null;
216
216
  /**
217
217
  * The ID of the affected resource.
218
218
  * @example ```"PzdJhdLdYV"```
@@ -282,49 +282,6 @@ declare class Tags extends ApiResource<Tag> {
282
282
  type(): TagType;
283
283
  }
284
284
 
285
- type VersionType = 'versions';
286
- type VersionRel = ResourceRel & {
287
- type: VersionType;
288
- };
289
- type VersionSort = Pick<Version, 'id'> & ResourceSort;
290
- interface Version extends Resource {
291
- readonly type: VersionType;
292
- /**
293
- * The type of the versioned resource.
294
- * @example ```"orders"```
295
- */
296
- resource_type?: string | null;
297
- /**
298
- * The versioned resource id.
299
- * @example ```"PzdJhdLdYV"```
300
- */
301
- resource_id?: string | null;
302
- /**
303
- * The event which generates the version.
304
- * @example ```"update"```
305
- */
306
- event?: string | null;
307
- /**
308
- * The object changes payload.
309
- * @example ```{"status":["draft","placed"]}```
310
- */
311
- changes?: Record<string, any> | null;
312
- /**
313
- * Information about who triggered the change.
314
- * @example ```{"application":{"id":"DNOPYiZYpn","kind":"sales_channel","public":true},"owner":{"id":"yQQrBhLBmQ","type":"Customer"}}```
315
- */
316
- who?: Record<string, any> | null;
317
- event_stores?: EventStore[] | null;
318
- }
319
- declare class Versions extends ApiResource<Version> {
320
- static readonly TYPE: VersionType;
321
- event_stores(versionId: string | Version, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
322
- isVersion(resource: any): resource is Version;
323
- relationship(id: string | ResourceId | null): VersionRel;
324
- relationshipToMany(...ids: string[]): VersionRel[];
325
- type(): VersionType;
326
- }
327
-
328
285
  type ShippingCategoryType = 'shipping_categories';
329
286
  type ShippingCategoryRel$4 = ResourceRel & {
330
287
  type: ShippingCategoryType;
@@ -344,7 +301,6 @@ interface ShippingCategory extends Resource {
344
301
  code?: string | null;
345
302
  skus?: Sku[] | null;
346
303
  attachments?: Attachment[] | null;
347
- versions?: Version[] | null;
348
304
  event_stores?: EventStore[] | null;
349
305
  }
350
306
  interface ShippingCategoryCreate extends ResourceCreate {
@@ -378,7 +334,6 @@ declare class ShippingCategories extends ApiResource<ShippingCategory> {
378
334
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
379
335
  skus(shippingCategoryId: string | ShippingCategory, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
380
336
  attachments(shippingCategoryId: string | ShippingCategory, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
381
- versions(shippingCategoryId: string | ShippingCategory, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
382
337
  event_stores(shippingCategoryId: string | ShippingCategory, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
383
338
  isShippingCategory(resource: any): resource is ShippingCategory;
384
339
  relationship(id: string | ResourceId | null): ShippingCategoryRel$4;
@@ -406,7 +361,6 @@ interface InventoryReturnLocation extends Resource {
406
361
  priority: number;
407
362
  stock_location?: StockLocation | null;
408
363
  inventory_model?: InventoryModel | null;
409
- versions?: Version[] | null;
410
364
  event_stores?: EventStore[] | null;
411
365
  }
412
366
  interface InventoryReturnLocationCreate extends ResourceCreate {
@@ -434,7 +388,6 @@ declare class InventoryReturnLocations extends ApiResource<InventoryReturnLocati
434
388
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
435
389
  stock_location(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation>;
436
390
  inventory_model(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel>;
437
- versions(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
438
391
  event_stores(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
439
392
  isInventoryReturnLocation(resource: any): resource is InventoryReturnLocation;
440
393
  relationship(id: string | ResourceId | null): InventoryReturnLocationRel;
@@ -482,7 +435,6 @@ interface InventoryModel extends Resource {
482
435
  inventory_stock_locations?: InventoryStockLocation[] | null;
483
436
  inventory_return_locations?: InventoryReturnLocation[] | null;
484
437
  attachments?: Attachment[] | null;
485
- versions?: Version[] | null;
486
438
  event_stores?: EventStore[] | null;
487
439
  }
488
440
  interface InventoryModelCreate extends ResourceCreate {
@@ -557,7 +509,6 @@ declare class InventoryModels extends ApiResource<InventoryModel> {
557
509
  inventory_stock_locations(inventoryModelId: string | InventoryModel, params?: QueryParamsList<InventoryStockLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryStockLocation>>;
558
510
  inventory_return_locations(inventoryModelId: string | InventoryModel, params?: QueryParamsList<InventoryReturnLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryReturnLocation>>;
559
511
  attachments(inventoryModelId: string | InventoryModel, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
560
- versions(inventoryModelId: string | InventoryModel, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
561
512
  event_stores(inventoryModelId: string | InventoryModel, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
562
513
  isInventoryModel(resource: any): resource is InventoryModel;
563
514
  relationship(id: string | ResourceId | null): InventoryModelRel$3;
@@ -589,7 +540,6 @@ interface InventoryStockLocation extends Resource {
589
540
  on_hold?: boolean | null;
590
541
  stock_location?: StockLocation | null;
591
542
  inventory_model?: InventoryModel | null;
592
- versions?: Version[] | null;
593
543
  event_stores?: EventStore[] | null;
594
544
  }
595
545
  interface InventoryStockLocationCreate extends ResourceCreate {
@@ -625,7 +575,6 @@ declare class InventoryStockLocations extends ApiResource<InventoryStockLocation
625
575
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
626
576
  stock_location(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation>;
627
577
  inventory_model(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel>;
628
- versions(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
629
578
  event_stores(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
630
579
  isInventoryStockLocation(resource: any): resource is InventoryStockLocation;
631
580
  relationship(id: string | ResourceId | null): InventoryStockLocationRel$1;
@@ -653,7 +602,6 @@ interface CustomerGroup extends Resource {
653
602
  customers?: Customer[] | null;
654
603
  markets?: Market[] | null;
655
604
  attachments?: Attachment[] | null;
656
- versions?: Version[] | null;
657
605
  event_stores?: EventStore[] | null;
658
606
  }
659
607
  interface CustomerGroupCreate extends ResourceCreate {
@@ -688,7 +636,6 @@ declare class CustomerGroups extends ApiResource<CustomerGroup> {
688
636
  customers(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Customer>, options?: ResourcesConfig): Promise<ListResponse<Customer>>;
689
637
  markets(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
690
638
  attachments(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
691
- versions(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
692
639
  event_stores(customerGroupId: string | CustomerGroup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
693
640
  isCustomerGroup(resource: any): resource is CustomerGroup;
694
641
  relationship(id: string | ResourceId | null): CustomerGroupRel$3;
@@ -784,7 +731,6 @@ interface Webhook extends Resource {
784
731
  */
785
732
  shared_secret: string;
786
733
  last_event_callbacks?: EventCallback[] | null;
787
- versions?: Version[] | null;
788
734
  event_stores?: EventStore[] | null;
789
735
  }
790
736
  interface WebhookCreate extends ResourceCreate {
@@ -862,7 +808,6 @@ declare class Webhooks extends ApiResource<Webhook> {
862
808
  update(resource: WebhookUpdate, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook>;
863
809
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
864
810
  last_event_callbacks(webhookId: string | Webhook, params?: QueryParamsList<EventCallback>, options?: ResourcesConfig): Promise<ListResponse<EventCallback>>;
865
- versions(webhookId: string | Webhook, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
866
811
  event_stores(webhookId: string | Webhook, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
867
812
  _disable(id: string | Webhook, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook>;
868
813
  _enable(id: string | Webhook, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook>;
@@ -935,7 +880,6 @@ interface CustomerAddress extends Resource {
935
880
  customer?: Customer | null;
936
881
  address?: Address | null;
937
882
  events?: Event[] | null;
938
- versions?: Version[] | null;
939
883
  event_stores?: EventStore[] | null;
940
884
  }
941
885
  interface CustomerAddressCreate extends ResourceCreate {
@@ -959,7 +903,6 @@ declare class CustomerAddresses extends ApiResource<CustomerAddress> {
959
903
  customer(customerAddressId: string | CustomerAddress, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
960
904
  address(customerAddressId: string | CustomerAddress, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
961
905
  events(customerAddressId: string | CustomerAddress, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
962
- versions(customerAddressId: string | CustomerAddress, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
963
906
  event_stores(customerAddressId: string | CustomerAddress, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
964
907
  isCustomerAddress(resource: any): resource is CustomerAddress;
965
908
  relationship(id: string | ResourceId | null): CustomerAddressRel;
@@ -984,19 +927,22 @@ interface PaymentGateway extends Resource {
984
927
  * @example ```true```
985
928
  */
986
929
  force_payments?: boolean | null;
930
+ /**
931
+ * The payment gateway's API credential keys last digits.
932
+ * @example ```{"api_key":"********BW989"}```
933
+ */
934
+ credential_keys?: Record<string, any> | null;
987
935
  /**
988
936
  * Time at which this resource was disabled.
989
937
  * @example ```"2018-01-01T12:00:00.000Z"```
990
938
  */
991
939
  disabled_at?: string | null;
992
940
  payment_methods?: PaymentMethod[] | null;
993
- versions?: Version[] | null;
994
941
  event_stores?: EventStore[] | null;
995
942
  }
996
943
  declare class PaymentGateways extends ApiResource<PaymentGateway> {
997
944
  static readonly TYPE: PaymentGatewayType;
998
945
  payment_methods(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
999
- versions(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1000
946
  event_stores(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1001
947
  isPaymentGateway(resource: any): resource is PaymentGateway;
1002
948
  relationship(id: string | ResourceId | null): PaymentGatewayRel$1;
@@ -1036,7 +982,6 @@ interface Store extends Resource {
1036
982
  orders?: Order[] | null;
1037
983
  payment_methods?: PaymentMethod[] | null;
1038
984
  events?: Event[] | null;
1039
- versions?: Version[] | null;
1040
985
  event_stores?: EventStore[] | null;
1041
986
  }
1042
987
  interface StoreCreate extends ResourceCreate {
@@ -1080,7 +1025,6 @@ declare class Stores extends ApiResource<Store> {
1080
1025
  orders(storeId: string | Store, params?: QueryParamsList<Order>, options?: ResourcesConfig): Promise<ListResponse<Order>>;
1081
1026
  payment_methods(storeId: string | Store, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
1082
1027
  events(storeId: string | Store, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
1083
- versions(storeId: string | Store, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1084
1028
  event_stores(storeId: string | Store, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1085
1029
  isStore(resource: any): resource is Store;
1086
1030
  relationship(id: string | ResourceId | null): StoreRel$2;
@@ -1172,7 +1116,6 @@ interface PaymentMethod extends Resource {
1172
1116
  payment_gateway?: PaymentGateway | null;
1173
1117
  store?: Store | null;
1174
1118
  attachments?: Attachment[] | null;
1175
- versions?: Version[] | null;
1176
1119
  event_stores?: EventStore[] | null;
1177
1120
  }
1178
1121
  interface PaymentMethodCreate extends ResourceCreate {
@@ -1296,7 +1239,6 @@ declare class PaymentMethods extends ApiResource<PaymentMethod> {
1296
1239
  payment_gateway(paymentMethodId: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1297
1240
  store(paymentMethodId: string | PaymentMethod, params?: QueryParamsRetrieve<Store>, options?: ResourcesConfig): Promise<Store>;
1298
1241
  attachments(paymentMethodId: string | PaymentMethod, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
1299
- versions(paymentMethodId: string | PaymentMethod, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1300
1242
  event_stores(paymentMethodId: string | PaymentMethod, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1301
1243
  _disable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
1302
1244
  _enable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
@@ -1355,6 +1297,11 @@ interface AdyenPayment extends Resource {
1355
1297
  * @example ```"2018-01-02T12:00:00.000Z"```
1356
1298
  */
1357
1299
  expires_at?: string | null;
1300
+ /**
1301
+ * The date/time when the Adyen order was closed, meaning all partial payments have been completed (valid for partial payments only).
1302
+ * @example ```"2018-01-02T12:00:00.000Z"```
1303
+ */
1304
+ closed_at?: string | null;
1358
1305
  /**
1359
1306
  * Information about the payment instrument used in the transaction.
1360
1307
  * @example ```{"issuer":"cl bank","card_type":"visa"}```
@@ -1362,7 +1309,6 @@ interface AdyenPayment extends Resource {
1362
1309
  payment_instrument?: Record<string, any> | null;
1363
1310
  order?: Order | null;
1364
1311
  payment_gateway?: PaymentGateway | null;
1365
- versions?: Version[] | null;
1366
1312
  event_stores?: EventStore[] | null;
1367
1313
  }
1368
1314
  interface AdyenPaymentCreate extends ResourceCreate {
@@ -1403,7 +1349,6 @@ declare class AdyenPayments extends ApiResource<AdyenPayment> {
1403
1349
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
1404
1350
  order(adyenPaymentId: string | AdyenPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1405
1351
  payment_gateway(adyenPaymentId: string | AdyenPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1406
- versions(adyenPaymentId: string | AdyenPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1407
1352
  event_stores(adyenPaymentId: string | AdyenPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1408
1353
  _authorize(id: string | AdyenPayment, params?: QueryParamsRetrieve<AdyenPayment>, options?: ResourcesConfig): Promise<AdyenPayment>;
1409
1354
  _details(id: string | AdyenPayment, params?: QueryParamsRetrieve<AdyenPayment>, options?: ResourcesConfig): Promise<AdyenPayment>;
@@ -1465,7 +1410,6 @@ interface AxervePayment extends Resource {
1465
1410
  payment_instrument?: Record<string, any> | null;
1466
1411
  order?: Order | null;
1467
1412
  payment_gateway?: PaymentGateway | null;
1468
- versions?: Version[] | null;
1469
1413
  event_stores?: EventStore[] | null;
1470
1414
  }
1471
1415
  interface AxervePaymentCreate extends ResourceCreate {
@@ -1511,7 +1455,6 @@ declare class AxervePayments extends ApiResource<AxervePayment> {
1511
1455
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
1512
1456
  order(axervePaymentId: string | AxervePayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1513
1457
  payment_gateway(axervePaymentId: string | AxervePayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1514
- versions(axervePaymentId: string | AxervePayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1515
1458
  event_stores(axervePaymentId: string | AxervePayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1516
1459
  _update(id: string | AxervePayment, params?: QueryParamsRetrieve<AxervePayment>, options?: ResourcesConfig): Promise<AxervePayment>;
1517
1460
  isAxervePayment(resource: any): resource is AxervePayment;
@@ -1562,7 +1505,6 @@ interface BraintreePayment extends Resource {
1562
1505
  payment_instrument?: Record<string, any> | null;
1563
1506
  order?: Order | null;
1564
1507
  payment_gateway?: PaymentGateway | null;
1565
- versions?: Version[] | null;
1566
1508
  event_stores?: EventStore[] | null;
1567
1509
  }
1568
1510
  interface BraintreePaymentCreate extends ResourceCreate {
@@ -1613,7 +1555,6 @@ declare class BraintreePayments extends ApiResource<BraintreePayment> {
1613
1555
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
1614
1556
  order(braintreePaymentId: string | BraintreePayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1615
1557
  payment_gateway(braintreePaymentId: string | BraintreePayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1616
- versions(braintreePaymentId: string | BraintreePayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1617
1558
  event_stores(braintreePaymentId: string | BraintreePayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1618
1559
  isBraintreePayment(resource: any): resource is BraintreePayment;
1619
1560
  relationship(id: string | ResourceId | null): BraintreePaymentRel$3;
@@ -1687,7 +1628,6 @@ interface CheckoutComPayment extends Resource {
1687
1628
  payment_instrument?: Record<string, any> | null;
1688
1629
  order?: Order | null;
1689
1630
  payment_gateway?: PaymentGateway | null;
1690
- versions?: Version[] | null;
1691
1631
  event_stores?: EventStore[] | null;
1692
1632
  }
1693
1633
  interface CheckoutComPaymentCreate extends ResourceCreate {
@@ -1733,7 +1673,6 @@ declare class CheckoutComPayments extends ApiResource<CheckoutComPayment> {
1733
1673
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
1734
1674
  order(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1735
1675
  payment_gateway(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1736
- versions(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1737
1676
  event_stores(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1738
1677
  _details(id: string | CheckoutComPayment, params?: QueryParamsRetrieve<CheckoutComPayment>, options?: ResourcesConfig): Promise<CheckoutComPayment>;
1739
1678
  _refresh(id: string | CheckoutComPayment, params?: QueryParamsRetrieve<CheckoutComPayment>, options?: ResourcesConfig): Promise<CheckoutComPayment>;
@@ -1771,7 +1710,6 @@ interface ExternalPayment extends Resource {
1771
1710
  order?: Order | null;
1772
1711
  payment_gateway?: PaymentGateway | null;
1773
1712
  wallet?: CustomerPaymentSource | null;
1774
- versions?: Version[] | null;
1775
1713
  event_stores?: EventStore[] | null;
1776
1714
  }
1777
1715
  interface ExternalPaymentCreate extends ResourceCreate {
@@ -1803,7 +1741,6 @@ declare class ExternalPayments extends ApiResource<ExternalPayment> {
1803
1741
  order(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1804
1742
  payment_gateway(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1805
1743
  wallet(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<CustomerPaymentSource>, options?: ResourcesConfig): Promise<CustomerPaymentSource>;
1806
- versions(externalPaymentId: string | ExternalPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1807
1744
  event_stores(externalPaymentId: string | ExternalPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1808
1745
  isExternalPayment(resource: any): resource is ExternalPayment;
1809
1746
  relationship(id: string | ResourceId | null): ExternalPaymentRel$2;
@@ -1852,7 +1789,6 @@ interface KlarnaPayment extends Resource {
1852
1789
  payment_instrument?: Record<string, any> | null;
1853
1790
  order?: Order | null;
1854
1791
  payment_gateway?: PaymentGateway | null;
1855
- versions?: Version[] | null;
1856
1792
  event_stores?: EventStore[] | null;
1857
1793
  }
1858
1794
  interface KlarnaPaymentCreate extends ResourceCreate {
@@ -1878,7 +1814,6 @@ declare class KlarnaPayments extends ApiResource<KlarnaPayment> {
1878
1814
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
1879
1815
  order(klarnaPaymentId: string | KlarnaPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1880
1816
  payment_gateway(klarnaPaymentId: string | KlarnaPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1881
- versions(klarnaPaymentId: string | KlarnaPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1882
1817
  event_stores(klarnaPaymentId: string | KlarnaPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1883
1818
  _update(id: string | KlarnaPayment, params?: QueryParamsRetrieve<KlarnaPayment>, options?: ResourcesConfig): Promise<KlarnaPayment>;
1884
1819
  isKlarnaPayment(resource: any): resource is KlarnaPayment;
@@ -1948,7 +1883,6 @@ interface PaypalPayment extends Resource {
1948
1883
  payment_instrument?: Record<string, any> | null;
1949
1884
  order?: Order | null;
1950
1885
  payment_gateway?: PaymentGateway | null;
1951
- versions?: Version[] | null;
1952
1886
  event_stores?: EventStore[] | null;
1953
1887
  }
1954
1888
  interface PaypalPaymentCreate extends ResourceCreate {
@@ -1984,7 +1918,6 @@ declare class PaypalPayments extends ApiResource<PaypalPayment> {
1984
1918
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
1985
1919
  order(paypalPaymentId: string | PaypalPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1986
1920
  payment_gateway(paypalPaymentId: string | PaypalPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1987
- versions(paypalPaymentId: string | PaypalPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1988
1921
  event_stores(paypalPaymentId: string | PaypalPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1989
1922
  isPaypalPayment(resource: any): resource is PaypalPayment;
1990
1923
  relationship(id: string | ResourceId | null): PaypalPaymentRel$2;
@@ -2039,7 +1972,6 @@ interface SatispayPayment extends Resource {
2039
1972
  payment_instrument?: Record<string, any> | null;
2040
1973
  order?: Order | null;
2041
1974
  payment_gateway?: PaymentGateway | null;
2042
- versions?: Version[] | null;
2043
1975
  event_stores?: EventStore[] | null;
2044
1976
  }
2045
1977
  interface SatispayPaymentCreate extends ResourceCreate {
@@ -2075,7 +2007,6 @@ declare class SatispayPayments extends ApiResource<SatispayPayment> {
2075
2007
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
2076
2008
  order(satispayPaymentId: string | SatispayPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
2077
2009
  payment_gateway(satispayPaymentId: string | SatispayPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
2078
- versions(satispayPaymentId: string | SatispayPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2079
2010
  event_stores(satispayPaymentId: string | SatispayPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2080
2011
  _refresh(id: string | SatispayPayment, params?: QueryParamsRetrieve<SatispayPayment>, options?: ResourcesConfig): Promise<SatispayPayment>;
2081
2012
  isSatispayPayment(resource: any): resource is SatispayPayment;
@@ -2160,7 +2091,6 @@ interface StripePayment extends Resource {
2160
2091
  payment_instrument?: Record<string, any> | null;
2161
2092
  order?: Order | null;
2162
2093
  payment_gateway?: PaymentGateway | null;
2163
- versions?: Version[] | null;
2164
2094
  event_stores?: EventStore[] | null;
2165
2095
  }
2166
2096
  interface StripePaymentCreate extends ResourceCreate {
@@ -2221,7 +2151,6 @@ declare class StripePayments extends ApiResource<StripePayment> {
2221
2151
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
2222
2152
  order(stripePaymentId: string | StripePayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
2223
2153
  payment_gateway(stripePaymentId: string | StripePayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
2224
- versions(stripePaymentId: string | StripePayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2225
2154
  event_stores(stripePaymentId: string | StripePayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2226
2155
  _update(id: string | StripePayment, params?: QueryParamsRetrieve<StripePayment>, options?: ResourcesConfig): Promise<StripePayment>;
2227
2156
  _refresh(id: string | StripePayment, params?: QueryParamsRetrieve<StripePayment>, options?: ResourcesConfig): Promise<StripePayment>;
@@ -2247,7 +2176,6 @@ interface WireTransfer extends Resource {
2247
2176
  */
2248
2177
  payment_instrument?: Record<string, any> | null;
2249
2178
  order?: Order | null;
2250
- versions?: Version[] | null;
2251
2179
  event_stores?: EventStore[] | null;
2252
2180
  }
2253
2181
  interface WireTransferCreate extends ResourceCreate {
@@ -2262,7 +2190,6 @@ declare class WireTransfers extends ApiResource<WireTransfer> {
2262
2190
  update(resource: WireTransferUpdate, params?: QueryParamsRetrieve<WireTransfer>, options?: ResourcesConfig): Promise<WireTransfer>;
2263
2191
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
2264
2192
  order(wireTransferId: string | WireTransfer, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
2265
- versions(wireTransferId: string | WireTransfer, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2266
2193
  event_stores(wireTransferId: string | WireTransfer, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2267
2194
  isWireTransfer(resource: any): resource is WireTransfer;
2268
2195
  relationship(id: string | ResourceId | null): WireTransferRel$2;
@@ -2331,7 +2258,6 @@ interface CustomerPaymentSource extends Resource {
2331
2258
  customer?: Customer | null;
2332
2259
  payment_method?: PaymentMethod | null;
2333
2260
  payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
2334
- versions?: Version[] | null;
2335
2261
  event_stores?: EventStore[] | null;
2336
2262
  }
2337
2263
  interface CustomerPaymentSourceCreate extends ResourceCreate {
@@ -2371,7 +2297,6 @@ declare class CustomerPaymentSources extends ApiResource<CustomerPaymentSource>
2371
2297
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
2372
2298
  customer(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
2373
2299
  payment_method(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
2374
- versions(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2375
2300
  event_stores(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2376
2301
  isCustomerPaymentSource(resource: any): resource is CustomerPaymentSource;
2377
2302
  relationship(id: string | ResourceId | null): CustomerPaymentSourceRel$1;
@@ -2393,7 +2318,6 @@ interface CustomerSubscription extends Resource {
2393
2318
  customer_email: string;
2394
2319
  customer?: Customer | null;
2395
2320
  events?: Event[] | null;
2396
- versions?: Version[] | null;
2397
2321
  event_stores?: EventStore[] | null;
2398
2322
  }
2399
2323
  interface CustomerSubscriptionCreate extends ResourceCreate {
@@ -2411,7 +2335,6 @@ declare class CustomerSubscriptions extends ApiResource<CustomerSubscription> {
2411
2335
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
2412
2336
  customer(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
2413
2337
  events(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
2414
- versions(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2415
2338
  event_stores(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2416
2339
  isCustomerSubscription(resource: any): resource is CustomerSubscription;
2417
2340
  relationship(id: string | ResourceId | null): CustomerSubscriptionRel;
@@ -2584,7 +2507,6 @@ interface SkuOption extends Resource {
2584
2507
  attachments?: Attachment[] | null;
2585
2508
  events?: Event[] | null;
2586
2509
  tags?: Tag[] | null;
2587
- versions?: Version[] | null;
2588
2510
  event_stores?: EventStore[] | null;
2589
2511
  }
2590
2512
  interface SkuOptionCreate extends ResourceCreate {
@@ -2672,7 +2594,6 @@ declare class SkuOptions extends ApiResource<SkuOption> {
2672
2594
  attachments(skuOptionId: string | SkuOption, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
2673
2595
  events(skuOptionId: string | SkuOption, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
2674
2596
  tags(skuOptionId: string | SkuOption, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
2675
- versions(skuOptionId: string | SkuOption, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2676
2597
  event_stores(skuOptionId: string | SkuOption, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2677
2598
  _add_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
2678
2599
  _remove_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
@@ -2909,7 +2830,6 @@ interface Void extends Resource {
2909
2830
  payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
2910
2831
  attachments?: Attachment[] | null;
2911
2832
  events?: Event[] | null;
2912
- versions?: Version[] | null;
2913
2833
  event_stores?: EventStore[] | null;
2914
2834
  reference_authorization?: Authorization | null;
2915
2835
  }
@@ -2930,7 +2850,6 @@ declare class Voids extends ApiResource<Void> {
2930
2850
  order(voidId: string | Void, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
2931
2851
  attachments(voidId: string | Void, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
2932
2852
  events(voidId: string | Void, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
2933
- versions(voidId: string | Void, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2934
2853
  event_stores(voidId: string | Void, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2935
2854
  reference_authorization(voidId: string | Void, params?: QueryParamsRetrieve<Authorization>, options?: ResourcesConfig): Promise<Authorization>;
2936
2855
  _forward(id: string | Void, params?: QueryParamsRetrieve<Void>, options?: ResourcesConfig): Promise<Void>;
@@ -3080,7 +2999,6 @@ interface Authorization extends Resource {
3080
2999
  payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
3081
3000
  attachments?: Attachment[] | null;
3082
3001
  events?: Event[] | null;
3083
- versions?: Version[] | null;
3084
3002
  event_stores?: EventStore[] | null;
3085
3003
  captures?: Capture[] | null;
3086
3004
  voids?: Void[] | null;
@@ -3122,7 +3040,6 @@ declare class Authorizations extends ApiResource<Authorization> {
3122
3040
  order(authorizationId: string | Authorization, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
3123
3041
  attachments(authorizationId: string | Authorization, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
3124
3042
  events(authorizationId: string | Authorization, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
3125
- versions(authorizationId: string | Authorization, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3126
3043
  event_stores(authorizationId: string | Authorization, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3127
3044
  captures(authorizationId: string | Authorization, params?: QueryParamsList<Capture>, options?: ResourcesConfig): Promise<ListResponse<Capture>>;
3128
3045
  voids(authorizationId: string | Authorization, params?: QueryParamsList<Void>, options?: ResourcesConfig): Promise<ListResponse<Void>>;
@@ -3207,7 +3124,6 @@ interface Refund extends Resource {
3207
3124
  payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
3208
3125
  attachments?: Attachment[] | null;
3209
3126
  events?: Event[] | null;
3210
- versions?: Version[] | null;
3211
3127
  event_stores?: EventStore[] | null;
3212
3128
  reference_capture?: Capture | null;
3213
3129
  return?: Return | null;
@@ -3229,7 +3145,6 @@ declare class Refunds extends ApiResource<Refund> {
3229
3145
  order(refundId: string | Refund, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
3230
3146
  attachments(refundId: string | Refund, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
3231
3147
  events(refundId: string | Refund, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
3232
- versions(refundId: string | Refund, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3233
3148
  event_stores(refundId: string | Refund, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3234
3149
  reference_capture(refundId: string | Refund, params?: QueryParamsRetrieve<Capture>, options?: ResourcesConfig): Promise<Capture>;
3235
3150
  return(refundId: string | Refund, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
@@ -3340,7 +3255,6 @@ interface Capture extends Resource {
3340
3255
  payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
3341
3256
  attachments?: Attachment[] | null;
3342
3257
  events?: Event[] | null;
3343
- versions?: Version[] | null;
3344
3258
  event_stores?: EventStore[] | null;
3345
3259
  reference_authorization?: Authorization | null;
3346
3260
  refunds?: Refund[] | null;
@@ -3378,7 +3292,6 @@ declare class Captures extends ApiResource<Capture> {
3378
3292
  order(captureId: string | Capture, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
3379
3293
  attachments(captureId: string | Capture, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
3380
3294
  events(captureId: string | Capture, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
3381
- versions(captureId: string | Capture, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3382
3295
  event_stores(captureId: string | Capture, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3383
3296
  reference_authorization(captureId: string | Capture, params?: QueryParamsRetrieve<Authorization>, options?: ResourcesConfig): Promise<Authorization>;
3384
3297
  refunds(captureId: string | Capture, params?: QueryParamsList<Refund>, options?: ResourcesConfig): Promise<ListResponse<Refund>>;
@@ -3528,7 +3441,6 @@ interface Return extends Resource {
3528
3441
  resource_errors?: ResourceError[] | null;
3529
3442
  events?: Event[] | null;
3530
3443
  tags?: Tag[] | null;
3531
- versions?: Version[] | null;
3532
3444
  event_stores?: EventStore[] | null;
3533
3445
  }
3534
3446
  interface ReturnCreate extends ResourceCreate {
@@ -3622,7 +3534,6 @@ declare class Returns extends ApiResource<Return> {
3622
3534
  resource_errors(returnId: string | Return, params?: QueryParamsList<ResourceError>, options?: ResourcesConfig): Promise<ListResponse<ResourceError>>;
3623
3535
  events(returnId: string | Return, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
3624
3536
  tags(returnId: string | Return, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
3625
- versions(returnId: string | Return, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3626
3537
  event_stores(returnId: string | Return, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3627
3538
  _request(id: string | Return, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
3628
3539
  _approve(id: string | Return, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
@@ -3805,7 +3716,6 @@ interface StockLineItem extends Resource {
3805
3716
  stock_item?: StockItem | null;
3806
3717
  sku?: Sku | null;
3807
3718
  stock_reservation?: StockReservation | null;
3808
- versions?: Version[] | null;
3809
3719
  event_stores?: EventStore[] | null;
3810
3720
  }
3811
3721
  interface StockLineItemCreate extends ResourceCreate {
@@ -3865,7 +3775,6 @@ declare class StockLineItems extends ApiResource<StockLineItem> {
3865
3775
  stock_item(stockLineItemId: string | StockLineItem, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem>;
3866
3776
  sku(stockLineItemId: string | StockLineItem, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
3867
3777
  stock_reservation(stockLineItemId: string | StockLineItem, params?: QueryParamsRetrieve<StockReservation>, options?: ResourcesConfig): Promise<StockReservation>;
3868
- versions(stockLineItemId: string | StockLineItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3869
3778
  event_stores(stockLineItemId: string | StockLineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3870
3779
  _reserve_stock(id: string | StockLineItem, params?: QueryParamsRetrieve<StockLineItem>, options?: ResourcesConfig): Promise<StockLineItem>;
3871
3780
  _release_stock(id: string | StockLineItem, params?: QueryParamsRetrieve<StockLineItem>, options?: ResourcesConfig): Promise<StockLineItem>;
@@ -3891,7 +3800,6 @@ interface ReservedStock extends Resource {
3891
3800
  stock_item?: StockItem | null;
3892
3801
  sku?: Sku | null;
3893
3802
  stock_reservations?: StockReservation[] | null;
3894
- versions?: Version[] | null;
3895
3803
  event_stores?: EventStore[] | null;
3896
3804
  }
3897
3805
  declare class ReservedStocks extends ApiResource<ReservedStock> {
@@ -3899,7 +3807,6 @@ declare class ReservedStocks extends ApiResource<ReservedStock> {
3899
3807
  stock_item(reservedStockId: string | ReservedStock, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem>;
3900
3808
  sku(reservedStockId: string | ReservedStock, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
3901
3809
  stock_reservations(reservedStockId: string | ReservedStock, params?: QueryParamsList<StockReservation>, options?: ResourcesConfig): Promise<ListResponse<StockReservation>>;
3902
- versions(reservedStockId: string | ReservedStock, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3903
3810
  event_stores(reservedStockId: string | ReservedStock, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3904
3811
  isReservedStock(resource: any): resource is ReservedStock;
3905
3812
  relationship(id: string | ResourceId | null): ReservedStockRel;
@@ -4024,7 +3931,6 @@ interface ShippingZone extends Resource {
4024
3931
  */
4025
3932
  not_zip_code_regex?: string | null;
4026
3933
  attachments?: Attachment[] | null;
4027
- versions?: Version[] | null;
4028
3934
  event_stores?: EventStore[] | null;
4029
3935
  }
4030
3936
  interface ShippingZoneCreate extends ResourceCreate {
@@ -4107,7 +4013,6 @@ declare class ShippingZones extends ApiResource<ShippingZone> {
4107
4013
  update(resource: ShippingZoneUpdate, params?: QueryParamsRetrieve<ShippingZone>, options?: ResourcesConfig): Promise<ShippingZone>;
4108
4014
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
4109
4015
  attachments(shippingZoneId: string | ShippingZone, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
4110
- versions(shippingZoneId: string | ShippingZone, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4111
4016
  event_stores(shippingZoneId: string | ShippingZone, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4112
4017
  isShippingZone(resource: any): resource is ShippingZone;
4113
4018
  relationship(id: string | ResourceId | null): ShippingZoneRel$2;
@@ -4151,7 +4056,6 @@ interface DeliveryLeadTime extends Resource {
4151
4056
  stock_location?: StockLocation | null;
4152
4057
  shipping_method?: ShippingMethod | null;
4153
4058
  attachments?: Attachment[] | null;
4154
- versions?: Version[] | null;
4155
4059
  event_stores?: EventStore[] | null;
4156
4060
  }
4157
4061
  interface DeliveryLeadTimeCreate extends ResourceCreate {
@@ -4190,7 +4094,6 @@ declare class DeliveryLeadTimes extends ApiResource<DeliveryLeadTime> {
4190
4094
  stock_location(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation>;
4191
4095
  shipping_method(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4192
4096
  attachments(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
4193
- versions(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4194
4097
  event_stores(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4195
4098
  isDeliveryLeadTime(resource: any): resource is DeliveryLeadTime;
4196
4099
  relationship(id: string | ResourceId | null): DeliveryLeadTimeRel$1;
@@ -4232,14 +4135,12 @@ interface ShippingMethodTier extends Resource {
4232
4135
  formatted_price_amount?: string | null;
4233
4136
  shipping_method?: ShippingMethod | null;
4234
4137
  attachments?: Attachment[] | null;
4235
- versions?: Version[] | null;
4236
4138
  event_stores?: EventStore[] | null;
4237
4139
  }
4238
4140
  declare class ShippingMethodTiers extends ApiResource<ShippingMethodTier> {
4239
4141
  static readonly TYPE: ShippingMethodTierType;
4240
4142
  shipping_method(shippingMethodTierId: string | ShippingMethodTier, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4241
4143
  attachments(shippingMethodTierId: string | ShippingMethodTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
4242
- versions(shippingMethodTierId: string | ShippingMethodTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4243
4144
  event_stores(shippingMethodTierId: string | ShippingMethodTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4244
4145
  isShippingMethodTier(resource: any): resource is ShippingMethodTier;
4245
4146
  relationship(id: string | ResourceId | null): ShippingMethodTierRel$2;
@@ -4284,8 +4185,8 @@ interface ShippingWeightTier extends Resource {
4284
4185
  formatted_price_amount?: string | null;
4285
4186
  shipping_method?: ShippingMethod | null;
4286
4187
  attachments?: Attachment[] | null;
4287
- versions?: Version[] | null;
4288
4188
  event_stores?: EventStore[] | null;
4189
+ events?: Event[] | null;
4289
4190
  }
4290
4191
  interface ShippingWeightTierCreate extends ResourceCreate {
4291
4192
  /**
@@ -4330,8 +4231,8 @@ declare class ShippingWeightTiers extends ApiResource<ShippingWeightTier> {
4330
4231
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
4331
4232
  shipping_method(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4332
4233
  attachments(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
4333
- versions(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4334
4234
  event_stores(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4235
+ events(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
4335
4236
  isShippingWeightTier(resource: any): resource is ShippingWeightTier;
4336
4237
  relationship(id: string | ResourceId | null): ShippingWeightTierRel;
4337
4238
  relationshipToMany(...ids: string[]): ShippingWeightTierRel[];
@@ -4487,7 +4388,6 @@ interface ShippingMethod extends Resource {
4487
4388
  notifications?: Notification[] | null;
4488
4389
  events?: Event[] | null;
4489
4390
  tags?: Tag[] | null;
4490
- versions?: Version[] | null;
4491
4391
  event_stores?: EventStore[] | null;
4492
4392
  }
4493
4393
  interface ShippingMethodCreate extends ResourceCreate {
@@ -4675,7 +4575,6 @@ declare class ShippingMethods extends ApiResource<ShippingMethod> {
4675
4575
  notifications(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Notification>, options?: ResourcesConfig): Promise<ListResponse<Notification>>;
4676
4576
  events(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
4677
4577
  tags(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
4678
- versions(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4679
4578
  event_stores(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4680
4579
  _disable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4681
4580
  _enable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
@@ -4797,7 +4696,6 @@ interface SkuListItem extends Resource {
4797
4696
  quantity?: number | null;
4798
4697
  sku_list?: SkuList | null;
4799
4698
  sku?: Sku | null;
4800
- versions?: Version[] | null;
4801
4699
  event_stores?: EventStore[] | null;
4802
4700
  }
4803
4701
  interface SkuListItemCreate extends ResourceCreate {
@@ -4843,7 +4741,6 @@ declare class SkuListItems extends ApiResource<SkuListItem> {
4843
4741
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
4844
4742
  sku_list(skuListItemId: string | SkuListItem, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList>;
4845
4743
  sku(skuListItemId: string | SkuListItem, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
4846
- versions(skuListItemId: string | SkuListItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4847
4744
  event_stores(skuListItemId: string | SkuListItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4848
4745
  isSkuListItem(resource: any): resource is SkuListItem;
4849
4746
  relationship(id: string | ResourceId | null): SkuListItemRel;
@@ -5092,7 +4989,6 @@ interface SkuList extends Resource {
5092
4989
  bundles?: Bundle[] | null;
5093
4990
  attachments?: Attachment[] | null;
5094
4991
  links?: Link[] | null;
5095
- versions?: Version[] | null;
5096
4992
  event_stores?: EventStore[] | null;
5097
4993
  }
5098
4994
  interface SkuListCreate extends ResourceCreate {
@@ -5160,7 +5056,6 @@ declare class SkuLists extends ApiResource<SkuList> {
5160
5056
  bundles(skuListId: string | SkuList, params?: QueryParamsList<Bundle>, options?: ResourcesConfig): Promise<ListResponse<Bundle>>;
5161
5057
  attachments(skuListId: string | SkuList, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
5162
5058
  links(skuListId: string | SkuList, params?: QueryParamsList<Link>, options?: ResourcesConfig): Promise<ListResponse<Link>>;
5163
- versions(skuListId: string | SkuList, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5164
5059
  event_stores(skuListId: string | SkuList, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5165
5060
  isSkuList(resource: any): resource is SkuList;
5166
5061
  relationship(id: string | ResourceId | null): SkuListRel$a;
@@ -5258,7 +5153,6 @@ interface Bundle extends Resource {
5258
5153
  attachments?: Attachment[] | null;
5259
5154
  events?: Event[] | null;
5260
5155
  tags?: Tag[] | null;
5261
- versions?: Version[] | null;
5262
5156
  event_stores?: EventStore[] | null;
5263
5157
  }
5264
5158
  interface BundleCreate extends ResourceCreate {
@@ -5378,7 +5272,6 @@ declare class Bundles extends ApiResource<Bundle> {
5378
5272
  attachments(bundleId: string | Bundle, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
5379
5273
  events(bundleId: string | Bundle, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
5380
5274
  tags(bundleId: string | Bundle, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
5381
- versions(bundleId: string | Bundle, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5382
5275
  event_stores(bundleId: string | Bundle, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5383
5276
  _compute_price_amount(id: string | Bundle, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
5384
5277
  _compute_compare_at_amount(id: string | Bundle, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
@@ -5418,7 +5311,6 @@ interface GiftCardRecipient extends Resource {
5418
5311
  customer?: Customer | null;
5419
5312
  event_stores?: EventStore[] | null;
5420
5313
  attachments?: Attachment[] | null;
5421
- versions?: Version[] | null;
5422
5314
  }
5423
5315
  interface GiftCardRecipientCreate extends ResourceCreate {
5424
5316
  /**
@@ -5464,7 +5356,6 @@ declare class GiftCardRecipients extends ApiResource<GiftCardRecipient> {
5464
5356
  customer(giftCardRecipientId: string | GiftCardRecipient, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
5465
5357
  event_stores(giftCardRecipientId: string | GiftCardRecipient, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5466
5358
  attachments(giftCardRecipientId: string | GiftCardRecipient, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
5467
- versions(giftCardRecipientId: string | GiftCardRecipient, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5468
5359
  isGiftCardRecipient(resource: any): resource is GiftCardRecipient;
5469
5360
  relationship(id: string | ResourceId | null): GiftCardRecipientRel$2;
5470
5361
  relationshipToMany(...ids: string[]): GiftCardRecipientRel$2[];
@@ -5591,7 +5482,6 @@ interface GiftCard extends Resource {
5591
5482
  attachments?: Attachment[] | null;
5592
5483
  events?: Event[] | null;
5593
5484
  tags?: Tag[] | null;
5594
- versions?: Version[] | null;
5595
5485
  event_stores?: EventStore[] | null;
5596
5486
  }
5597
5487
  interface GiftCardCreate extends ResourceCreate {
@@ -5735,7 +5625,6 @@ declare class GiftCards extends ApiResource<GiftCard> {
5735
5625
  attachments(giftCardId: string | GiftCard, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
5736
5626
  events(giftCardId: string | GiftCard, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
5737
5627
  tags(giftCardId: string | GiftCard, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
5738
- versions(giftCardId: string | GiftCard, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5739
5628
  event_stores(giftCardId: string | GiftCard, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5740
5629
  _purchase(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
5741
5630
  _activate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
@@ -5786,7 +5675,6 @@ interface Adjustment extends Resource {
5786
5675
  * @example ```true```
5787
5676
  */
5788
5677
  distribute_discount?: boolean | null;
5789
- versions?: Version[] | null;
5790
5678
  event_stores?: EventStore[] | null;
5791
5679
  }
5792
5680
  interface AdjustmentCreate extends ResourceCreate {
@@ -5838,7 +5726,6 @@ declare class Adjustments extends ApiResource<Adjustment> {
5838
5726
  create(resource: AdjustmentCreate, params?: QueryParamsRetrieve<Adjustment>, options?: ResourcesConfig): Promise<Adjustment>;
5839
5727
  update(resource: AdjustmentUpdate, params?: QueryParamsRetrieve<Adjustment>, options?: ResourcesConfig): Promise<Adjustment>;
5840
5728
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
5841
- versions(adjustmentId: string | Adjustment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5842
5729
  event_stores(adjustmentId: string | Adjustment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5843
5730
  isAdjustment(resource: any): resource is Adjustment;
5844
5731
  relationship(id: string | ResourceId | null): AdjustmentRel$2;
@@ -5865,7 +5752,6 @@ interface DiscountEngine extends Resource {
5865
5752
  markets?: Market[] | null;
5866
5753
  discount_engine_items?: DiscountEngineItem[] | null;
5867
5754
  attachments?: Attachment[] | null;
5868
- versions?: Version[] | null;
5869
5755
  event_stores?: EventStore[] | null;
5870
5756
  }
5871
5757
  declare class DiscountEngines extends ApiResource<DiscountEngine> {
@@ -5873,7 +5759,6 @@ declare class DiscountEngines extends ApiResource<DiscountEngine> {
5873
5759
  markets(discountEngineId: string | DiscountEngine, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
5874
5760
  discount_engine_items(discountEngineId: string | DiscountEngine, params?: QueryParamsList<DiscountEngineItem>, options?: ResourcesConfig): Promise<ListResponse<DiscountEngineItem>>;
5875
5761
  attachments(discountEngineId: string | DiscountEngine, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
5876
- versions(discountEngineId: string | DiscountEngine, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5877
5762
  event_stores(discountEngineId: string | DiscountEngine, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5878
5763
  isDiscountEngine(resource: any): resource is DiscountEngine;
5879
5764
  relationship(id: string | ResourceId | null): DiscountEngineRel$2;
@@ -5936,7 +5821,6 @@ interface CouponRecipient extends Resource {
5936
5821
  customer?: Customer | null;
5937
5822
  event_stores?: EventStore[] | null;
5938
5823
  attachments?: Attachment[] | null;
5939
- versions?: Version[] | null;
5940
5824
  }
5941
5825
  interface CouponRecipientCreate extends ResourceCreate {
5942
5826
  /**
@@ -5982,7 +5866,6 @@ declare class CouponRecipients extends ApiResource<CouponRecipient> {
5982
5866
  customer(couponRecipientId: string | CouponRecipient, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
5983
5867
  event_stores(couponRecipientId: string | CouponRecipient, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5984
5868
  attachments(couponRecipientId: string | CouponRecipient, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
5985
- versions(couponRecipientId: string | CouponRecipient, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5986
5869
  isCouponRecipient(resource: any): resource is CouponRecipient;
5987
5870
  relationship(id: string | ResourceId | null): CouponRecipientRel$2;
5988
5871
  relationshipToMany(...ids: string[]): CouponRecipientRel$2[];
@@ -6038,7 +5921,6 @@ interface Coupon extends Resource {
6038
5921
  coupon_recipient?: CouponRecipient | null;
6039
5922
  events?: Event[] | null;
6040
5923
  tags?: Tag[] | null;
6041
- versions?: Version[] | null;
6042
5924
  event_stores?: EventStore[] | null;
6043
5925
  }
6044
5926
  interface CouponCreate extends ResourceCreate {
@@ -6116,7 +5998,6 @@ declare class Coupons extends ApiResource<Coupon> {
6116
5998
  coupon_recipient(couponId: string | Coupon, params?: QueryParamsRetrieve<CouponRecipient>, options?: ResourcesConfig): Promise<CouponRecipient>;
6117
5999
  events(couponId: string | Coupon, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
6118
6000
  tags(couponId: string | Coupon, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
6119
- versions(couponId: string | Coupon, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6120
6001
  event_stores(couponId: string | Coupon, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
6121
6002
  _add_tags(id: string | Coupon, triggerValue: string, params?: QueryParamsRetrieve<Coupon>, options?: ResourcesConfig): Promise<Coupon>;
6122
6003
  _remove_tags(id: string | Coupon, triggerValue: string, params?: QueryParamsRetrieve<Coupon>, options?: ResourcesConfig): Promise<Coupon>;
@@ -6223,11 +6104,6 @@ interface ExternalPromotion extends Resource {
6223
6104
  * @example ```"2018-01-01T12:00:00.000Z"```
6224
6105
  */
6225
6106
  disabled_at?: string | null;
6226
- /**
6227
- * The URL to the service that will compute the discount.
6228
- * @example ```"https://external_promotion.yourbrand.com"```
6229
- */
6230
- promotion_url: string;
6231
6107
  /**
6232
6108
  * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.
6233
6109
  * @example ```"closed"```
@@ -6248,6 +6124,11 @@ interface ExternalPromotion extends Resource {
6248
6124
  * @example ```["order.line_item_options"]```
6249
6125
  */
6250
6126
  external_includes?: string[] | null;
6127
+ /**
6128
+ * The URL to the service that will compute the discount.
6129
+ * @example ```"https://external_promotion.yourbrand.com"```
6130
+ */
6131
+ promotion_url: string;
6251
6132
  market?: Market | null;
6252
6133
  promotion_rules?: PromotionRule[] | null;
6253
6134
  order_amount_promotion_rule?: OrderAmountPromotionRule | null;
@@ -6259,7 +6140,6 @@ interface ExternalPromotion extends Resource {
6259
6140
  attachments?: Attachment[] | null;
6260
6141
  events?: Event[] | null;
6261
6142
  tags?: Tag[] | null;
6262
- versions?: Version[] | null;
6263
6143
  event_stores?: EventStore[] | null;
6264
6144
  skus?: Sku[] | null;
6265
6145
  }
@@ -6309,16 +6189,16 @@ interface ExternalPromotionCreate extends ResourceCreate {
6309
6189
  * @example ```true```
6310
6190
  */
6311
6191
  _enable?: boolean | null;
6312
- /**
6313
- * The URL to the service that will compute the discount.
6314
- * @example ```"https://external_promotion.yourbrand.com"```
6315
- */
6316
- promotion_url: string;
6317
6192
  /**
6318
6193
  * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.
6319
6194
  * @example ```["order.line_item_options"]```
6320
6195
  */
6321
6196
  external_includes?: string[] | null;
6197
+ /**
6198
+ * The URL to the service that will compute the discount.
6199
+ * @example ```"https://external_promotion.yourbrand.com"```
6200
+ */
6201
+ promotion_url: string;
6322
6202
  market?: MarketRel$d | null;
6323
6203
  order_amount_promotion_rule?: OrderAmountPromotionRuleRel$7 | null;
6324
6204
  sku_list_promotion_rule?: SkuListPromotionRuleRel$7 | null;
@@ -6381,11 +6261,6 @@ interface ExternalPromotionUpdate extends ResourceUpdate {
6381
6261
  * Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.
6382
6262
  */
6383
6263
  _remove_tags?: string | null;
6384
- /**
6385
- * The URL to the service that will compute the discount.
6386
- * @example ```"https://external_promotion.yourbrand.com"```
6387
- */
6388
- promotion_url?: string | null;
6389
6264
  /**
6390
6265
  * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.
6391
6266
  * @example ```true```
@@ -6396,6 +6271,11 @@ interface ExternalPromotionUpdate extends ResourceUpdate {
6396
6271
  * @example ```["order.line_item_options"]```
6397
6272
  */
6398
6273
  external_includes?: string[] | null;
6274
+ /**
6275
+ * The URL to the service that will compute the discount.
6276
+ * @example ```"https://external_promotion.yourbrand.com"```
6277
+ */
6278
+ promotion_url?: string | null;
6399
6279
  market?: MarketRel$d | null;
6400
6280
  order_amount_promotion_rule?: OrderAmountPromotionRuleRel$7 | null;
6401
6281
  sku_list_promotion_rule?: SkuListPromotionRuleRel$7 | null;
@@ -6419,7 +6299,6 @@ declare class ExternalPromotions extends ApiResource<ExternalPromotion> {
6419
6299
  attachments(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
6420
6300
  events(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
6421
6301
  tags(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
6422
- versions(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6423
6302
  event_stores(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
6424
6303
  skus(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
6425
6304
  _disable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
@@ -6556,7 +6435,6 @@ interface FixedAmountPromotion extends Resource {
6556
6435
  attachments?: Attachment[] | null;
6557
6436
  events?: Event[] | null;
6558
6437
  tags?: Tag[] | null;
6559
- versions?: Version[] | null;
6560
6438
  event_stores?: EventStore[] | null;
6561
6439
  skus?: Sku[] | null;
6562
6440
  }
@@ -6701,7 +6579,6 @@ declare class FixedAmountPromotions extends ApiResource<FixedAmountPromotion> {
6701
6579
  attachments(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
6702
6580
  events(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
6703
6581
  tags(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
6704
- versions(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6705
6582
  event_stores(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
6706
6583
  skus(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
6707
6584
  _disable(id: string | FixedAmountPromotion, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
@@ -6797,7 +6674,6 @@ interface FlexPromotion extends Resource {
6797
6674
  attachments?: Attachment[] | null;
6798
6675
  events?: Event[] | null;
6799
6676
  tags?: Tag[] | null;
6800
- versions?: Version[] | null;
6801
6677
  event_stores?: EventStore[] | null;
6802
6678
  }
6803
6679
  interface FlexPromotionCreate extends ResourceCreate {
@@ -6916,7 +6792,6 @@ declare class FlexPromotions extends ApiResource<FlexPromotion> {
6916
6792
  attachments(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
6917
6793
  events(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
6918
6794
  tags(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
6919
- versions(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6920
6795
  event_stores(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
6921
6796
  _disable(id: string | FlexPromotion, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
6922
6797
  _enable(id: string | FlexPromotion, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
@@ -6936,12 +6811,10 @@ type PromotionRuleSort = Pick<PromotionRule, 'id'> & ResourceSort;
6936
6811
  interface PromotionRule extends Resource {
6937
6812
  readonly type: PromotionRuleType;
6938
6813
  promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
6939
- versions?: Version[] | null;
6940
6814
  event_stores?: EventStore[] | null;
6941
6815
  }
6942
6816
  declare class PromotionRules extends ApiResource<PromotionRule> {
6943
6817
  static readonly TYPE: PromotionRuleType;
6944
- versions(promotionRuleId: string | PromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6945
6818
  event_stores(promotionRuleId: string | PromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
6946
6819
  isPromotionRule(resource: any): resource is PromotionRule;
6947
6820
  relationship(id: string | ResourceId | null): PromotionRuleRel;
@@ -7072,7 +6945,6 @@ interface FixedPricePromotion extends Resource {
7072
6945
  attachments?: Attachment[] | null;
7073
6946
  events?: Event[] | null;
7074
6947
  tags?: Tag[] | null;
7075
- versions?: Version[] | null;
7076
6948
  event_stores?: EventStore[] | null;
7077
6949
  skus?: Sku[] | null;
7078
6950
  }
@@ -7217,7 +7089,6 @@ declare class FixedPricePromotions extends ApiResource<FixedPricePromotion> {
7217
7089
  attachments(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
7218
7090
  events(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
7219
7091
  tags(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
7220
- versions(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7221
7092
  event_stores(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7222
7093
  skus(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
7223
7094
  _disable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
@@ -7267,7 +7138,6 @@ interface CustomPromotionRule extends Resource {
7267
7138
  */
7268
7139
  filters?: Record<string, any> | null;
7269
7140
  promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
7270
- versions?: Version[] | null;
7271
7141
  event_stores?: EventStore[] | null;
7272
7142
  }
7273
7143
  interface CustomPromotionRuleCreate extends ResourceCreate {
@@ -7291,7 +7161,6 @@ declare class CustomPromotionRules extends ApiResource<CustomPromotionRule> {
7291
7161
  create(resource: CustomPromotionRuleCreate, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule>;
7292
7162
  update(resource: CustomPromotionRuleUpdate, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule>;
7293
7163
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
7294
- versions(customPromotionRuleId: string | CustomPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7295
7164
  event_stores(customPromotionRuleId: string | CustomPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7296
7165
  isCustomPromotionRule(resource: any): resource is CustomPromotionRule;
7297
7166
  relationship(id: string | ResourceId | null): CustomPromotionRuleRel$4;
@@ -7412,7 +7281,6 @@ interface FreeGiftPromotion extends Resource {
7412
7281
  attachments?: Attachment[] | null;
7413
7282
  events?: Event[] | null;
7414
7283
  tags?: Tag[] | null;
7415
- versions?: Version[] | null;
7416
7284
  event_stores?: EventStore[] | null;
7417
7285
  skus?: Sku[] | null;
7418
7286
  }
@@ -7557,7 +7425,6 @@ declare class FreeGiftPromotions extends ApiResource<FreeGiftPromotion> {
7557
7425
  attachments(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
7558
7426
  events(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
7559
7427
  tags(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
7560
- versions(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7561
7428
  event_stores(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7562
7429
  skus(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
7563
7430
  _disable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
@@ -7605,7 +7472,6 @@ type CouponCodesPromotionRuleSort = Pick<CouponCodesPromotionRule, 'id'> & Resou
7605
7472
  interface CouponCodesPromotionRule extends Resource {
7606
7473
  readonly type: CouponCodesPromotionRuleType;
7607
7474
  promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
7608
- versions?: Version[] | null;
7609
7475
  event_stores?: EventStore[] | null;
7610
7476
  coupons?: Coupon[] | null;
7611
7477
  }
@@ -7622,7 +7488,6 @@ declare class CouponCodesPromotionRules extends ApiResource<CouponCodesPromotion
7622
7488
  create(resource: CouponCodesPromotionRuleCreate, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule>;
7623
7489
  update(resource: CouponCodesPromotionRuleUpdate, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule>;
7624
7490
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
7625
- versions(couponCodesPromotionRuleId: string | CouponCodesPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7626
7491
  event_stores(couponCodesPromotionRuleId: string | CouponCodesPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7627
7492
  coupons(couponCodesPromotionRuleId: string | CouponCodesPromotionRule, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>>;
7628
7493
  isCouponCodesPromotionRule(resource: any): resource is CouponCodesPromotionRule;
@@ -7754,7 +7619,6 @@ interface BuyXPayYPromotion extends Resource {
7754
7619
  attachments?: Attachment[] | null;
7755
7620
  events?: Event[] | null;
7756
7621
  tags?: Tag[] | null;
7757
- versions?: Version[] | null;
7758
7622
  event_stores?: EventStore[] | null;
7759
7623
  skus?: Sku[] | null;
7760
7624
  }
@@ -7919,7 +7783,6 @@ declare class BuyXPayYPromotions extends ApiResource<BuyXPayYPromotion> {
7919
7783
  attachments(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
7920
7784
  events(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
7921
7785
  tags(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
7922
- versions(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7923
7786
  event_stores(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7924
7787
  skus(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
7925
7788
  _disable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
@@ -7977,7 +7840,6 @@ interface SkuListPromotionRule extends Resource {
7977
7840
  */
7978
7841
  min_quantity?: number | null;
7979
7842
  promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
7980
- versions?: Version[] | null;
7981
7843
  event_stores?: EventStore[] | null;
7982
7844
  sku_list?: SkuList | null;
7983
7845
  skus?: Sku[] | null;
@@ -8015,7 +7877,6 @@ declare class SkuListPromotionRules extends ApiResource<SkuListPromotionRule> {
8015
7877
  create(resource: SkuListPromotionRuleCreate, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule>;
8016
7878
  update(resource: SkuListPromotionRuleUpdate, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule>;
8017
7879
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
8018
- versions(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
8019
7880
  event_stores(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
8020
7881
  sku_list(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList>;
8021
7882
  skus(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
@@ -8133,7 +7994,6 @@ interface FreeShippingPromotion extends Resource {
8133
7994
  attachments?: Attachment[] | null;
8134
7995
  events?: Event[] | null;
8135
7996
  tags?: Tag[] | null;
8136
- versions?: Version[] | null;
8137
7997
  event_stores?: EventStore[] | null;
8138
7998
  }
8139
7999
  interface FreeShippingPromotionCreate extends ResourceCreate {
@@ -8267,7 +8127,6 @@ declare class FreeShippingPromotions extends ApiResource<FreeShippingPromotion>
8267
8127
  attachments(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
8268
8128
  events(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
8269
8129
  tags(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
8270
- versions(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
8271
8130
  event_stores(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
8272
8131
  _disable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
8273
8132
  _enable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
@@ -8331,7 +8190,6 @@ interface OrderAmountPromotionRule extends Resource {
8331
8190
  */
8332
8191
  use_subtotal?: boolean | null;
8333
8192
  promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
8334
- versions?: Version[] | null;
8335
8193
  event_stores?: EventStore[] | null;
8336
8194
  }
8337
8195
  interface OrderAmountPromotionRuleCreate extends ResourceCreate {
@@ -8365,7 +8223,6 @@ declare class OrderAmountPromotionRules extends ApiResource<OrderAmountPromotion
8365
8223
  create(resource: OrderAmountPromotionRuleCreate, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule>;
8366
8224
  update(resource: OrderAmountPromotionRuleUpdate, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule>;
8367
8225
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
8368
- versions(orderAmountPromotionRuleId: string | OrderAmountPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
8369
8226
  event_stores(orderAmountPromotionRuleId: string | OrderAmountPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
8370
8227
  isOrderAmountPromotionRule(resource: any): resource is OrderAmountPromotionRule;
8371
8228
  relationship(id: string | ResourceId | null): OrderAmountPromotionRuleRel$1;
@@ -8486,7 +8343,6 @@ interface PercentageDiscountPromotion extends Resource {
8486
8343
  attachments?: Attachment[] | null;
8487
8344
  events?: Event[] | null;
8488
8345
  tags?: Tag[] | null;
8489
- versions?: Version[] | null;
8490
8346
  event_stores?: EventStore[] | null;
8491
8347
  skus?: Sku[] | null;
8492
8348
  }
@@ -8631,7 +8487,6 @@ declare class PercentageDiscountPromotions extends ApiResource<PercentageDiscoun
8631
8487
  attachments(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
8632
8488
  events(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
8633
8489
  tags(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
8634
- versions(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
8635
8490
  event_stores(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
8636
8491
  skus(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
8637
8492
  _disable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
@@ -9452,7 +9307,6 @@ interface OrderSubscription extends Resource {
9452
9307
  orders?: Order[] | null;
9453
9308
  events?: Event[] | null;
9454
9309
  tags?: Tag[] | null;
9455
- versions?: Version[] | null;
9456
9310
  event_stores?: EventStore[] | null;
9457
9311
  }
9458
9312
  interface OrderSubscriptionCreate extends ResourceCreate {
@@ -9568,7 +9422,6 @@ declare class OrderSubscriptions extends ApiResource<OrderSubscription> {
9568
9422
  orders(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<Order>, options?: ResourcesConfig): Promise<ListResponse<Order>>;
9569
9423
  events(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
9570
9424
  tags(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
9571
- versions(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
9572
9425
  event_stores(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
9573
9426
  _activate(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
9574
9427
  _deactivate(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
@@ -9640,10 +9493,10 @@ interface Customer extends Resource {
9640
9493
  */
9641
9494
  anonymization_info?: Record<string, any> | null;
9642
9495
  /**
9643
- * Status of the current anonymization request (if any).
9496
+ * Status of the current anonymization request (if any). One of 'requested', 'started', 'completed', 'failed', or 'cancelled'.
9644
9497
  * @example ```"requested"```
9645
9498
  */
9646
- anonymization_status?: string | null;
9499
+ anonymization_status?: 'requested' | 'started' | 'completed' | 'failed' | 'cancelled' | null;
9647
9500
  customer_group?: CustomerGroup | null;
9648
9501
  customer_addresses?: CustomerAddress[] | null;
9649
9502
  customer_payment_sources?: CustomerPaymentSource[] | null;
@@ -10605,7 +10458,6 @@ interface Order extends Resource {
10605
10458
  resource_errors?: ResourceError[] | null;
10606
10459
  events?: Event[] | null;
10607
10460
  tags?: Tag[] | null;
10608
- versions?: Version[] | null;
10609
10461
  event_stores?: EventStore[] | null;
10610
10462
  }
10611
10463
  interface OrderCreate extends ResourceCreate {
@@ -10946,6 +10798,11 @@ interface OrderUpdate extends ResourceUpdate {
10946
10798
  * @example ```true```
10947
10799
  */
10948
10800
  _refresh?: boolean | null;
10801
+ /**
10802
+ * Send this attribute if you want to refresh the prices of the line items associated to this order. Cannot be passed by sales channels.
10803
+ * @example ```true```
10804
+ */
10805
+ _refresh_prices?: boolean | null;
10949
10806
  /**
10950
10807
  * Send this attribute if you want to trigger the external validation for the order.
10951
10808
  * @example ```true```
@@ -11039,7 +10896,6 @@ declare class Orders extends ApiResource<Order> {
11039
10896
  resource_errors(orderId: string | Order, params?: QueryParamsList<ResourceError>, options?: ResourcesConfig): Promise<ListResponse<ResourceError>>;
11040
10897
  events(orderId: string | Order, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
11041
10898
  tags(orderId: string | Order, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
11042
- versions(orderId: string | Order, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11043
10899
  event_stores(orderId: string | Order, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11044
10900
  _archive(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
11045
10901
  _unarchive(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
@@ -11067,6 +10923,7 @@ declare class Orders extends ApiResource<Order> {
11067
10923
  _save_shipping_address_to_customer_address_book(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
11068
10924
  _save_billing_address_to_customer_address_book(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
11069
10925
  _refresh(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
10926
+ _refresh_prices(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
11070
10927
  _validate(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
11071
10928
  _create_subscriptions(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
11072
10929
  _start_editing(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
@@ -11123,7 +10980,6 @@ interface Package extends Resource {
11123
10980
  stock_location?: StockLocation | null;
11124
10981
  parcels?: Parcel[] | null;
11125
10982
  attachments?: Attachment[] | null;
11126
- versions?: Version[] | null;
11127
10983
  event_stores?: EventStore[] | null;
11128
10984
  }
11129
10985
  interface PackageCreate extends ResourceCreate {
@@ -11200,7 +11056,6 @@ declare class Packages extends ApiResource<Package> {
11200
11056
  stock_location(packageId: string | Package, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation>;
11201
11057
  parcels(packageId: string | Package, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
11202
11058
  attachments(packageId: string | Package, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
11203
- versions(packageId: string | Package, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11204
11059
  event_stores(packageId: string | Package, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11205
11060
  isPackage(resource: any): resource is Package;
11206
11061
  relationship(id: string | ResourceId | null): PackageRel$2;
@@ -11248,7 +11103,6 @@ interface ParcelLineItem extends Resource {
11248
11103
  image_url?: string | null;
11249
11104
  parcel?: Parcel | null;
11250
11105
  stock_line_item?: StockLineItem | null;
11251
- versions?: Version[] | null;
11252
11106
  event_stores?: EventStore[] | null;
11253
11107
  }
11254
11108
  interface ParcelLineItemCreate extends ResourceCreate {
@@ -11268,7 +11122,6 @@ declare class ParcelLineItems extends ApiResource<ParcelLineItem> {
11268
11122
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
11269
11123
  parcel(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsRetrieve<Parcel>, options?: ResourcesConfig): Promise<Parcel>;
11270
11124
  stock_line_item(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsRetrieve<StockLineItem>, options?: ResourcesConfig): Promise<StockLineItem>;
11271
- versions(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11272
11125
  event_stores(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11273
11126
  isParcelLineItem(resource: any): resource is ParcelLineItem;
11274
11127
  relationship(id: string | ResourceId | null): ParcelLineItemRel;
@@ -11415,7 +11268,6 @@ interface Parcel extends Resource {
11415
11268
  parcel_line_items?: ParcelLineItem[] | null;
11416
11269
  attachments?: Attachment[] | null;
11417
11270
  events?: Event[] | null;
11418
- versions?: Version[] | null;
11419
11271
  event_stores?: EventStore[] | null;
11420
11272
  }
11421
11273
  interface ParcelCreate extends ResourceCreate {
@@ -11668,7 +11520,6 @@ declare class Parcels extends ApiResource<Parcel> {
11668
11520
  parcel_line_items(parcelId: string | Parcel, params?: QueryParamsList<ParcelLineItem>, options?: ResourcesConfig): Promise<ListResponse<ParcelLineItem>>;
11669
11521
  attachments(parcelId: string | Parcel, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
11670
11522
  events(parcelId: string | Parcel, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
11671
- versions(parcelId: string | Parcel, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11672
11523
  event_stores(parcelId: string | Parcel, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11673
11524
  isParcel(resource: any): resource is Parcel;
11674
11525
  relationship(id: string | ResourceId | null): ParcelRel$1;
@@ -11742,7 +11593,6 @@ interface CarrierAccount extends Resource {
11742
11593
  credentials: Record<string, any>;
11743
11594
  market?: Market | null;
11744
11595
  attachments?: Attachment[] | null;
11745
- versions?: Version[] | null;
11746
11596
  event_stores?: EventStore[] | null;
11747
11597
  }
11748
11598
  interface CarrierAccountCreate extends ResourceCreate {
@@ -11788,7 +11638,6 @@ declare class CarrierAccounts extends ApiResource<CarrierAccount> {
11788
11638
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
11789
11639
  market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
11790
11640
  attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
11791
- versions(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11792
11641
  event_stores(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11793
11642
  isCarrierAccount(resource: any): resource is CarrierAccount;
11794
11643
  relationship(id: string | ResourceId | null): CarrierAccountRel$1;
@@ -11954,7 +11803,6 @@ interface Shipment extends Resource {
11954
11803
  attachments?: Attachment[] | null;
11955
11804
  events?: Event[] | null;
11956
11805
  tags?: Tag[] | null;
11957
- versions?: Version[] | null;
11958
11806
  event_stores?: EventStore[] | null;
11959
11807
  }
11960
11808
  interface ShipmentCreate extends ResourceCreate {
@@ -12078,7 +11926,6 @@ declare class Shipments extends ApiResource<Shipment> {
12078
11926
  attachments(shipmentId: string | Shipment, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12079
11927
  events(shipmentId: string | Shipment, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
12080
11928
  tags(shipmentId: string | Shipment, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
12081
- versions(shipmentId: string | Shipment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12082
11929
  event_stores(shipmentId: string | Shipment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12083
11930
  _upcoming(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
12084
11931
  _cancel(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
@@ -12173,7 +12020,6 @@ interface StockTransfer extends Resource {
12173
12020
  stock_reservation?: StockReservation | null;
12174
12021
  attachments?: Attachment[] | null;
12175
12022
  events?: Event[] | null;
12176
- versions?: Version[] | null;
12177
12023
  event_stores?: EventStore[] | null;
12178
12024
  }
12179
12025
  interface StockTransferCreate extends ResourceCreate {
@@ -12263,7 +12109,6 @@ declare class StockTransfers extends ApiResource<StockTransfer> {
12263
12109
  stock_reservation(stockTransferId: string | StockTransfer, params?: QueryParamsRetrieve<StockReservation>, options?: ResourcesConfig): Promise<StockReservation>;
12264
12110
  attachments(stockTransferId: string | StockTransfer, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12265
12111
  events(stockTransferId: string | StockTransfer, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
12266
- versions(stockTransferId: string | StockTransfer, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12267
12112
  event_stores(stockTransferId: string | StockTransfer, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12268
12113
  _upcoming(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
12269
12114
  _on_hold(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
@@ -12318,7 +12163,6 @@ interface StockLocation extends Resource {
12318
12163
  stock_transfers?: StockTransfer[] | null;
12319
12164
  stores?: Store[] | null;
12320
12165
  attachments?: Attachment[] | null;
12321
- versions?: Version[] | null;
12322
12166
  event_stores?: EventStore[] | null;
12323
12167
  }
12324
12168
  interface StockLocationCreate extends ResourceCreate {
@@ -12377,7 +12221,6 @@ declare class StockLocations extends ApiResource<StockLocation> {
12377
12221
  stock_transfers(stockLocationId: string | StockLocation, params?: QueryParamsList<StockTransfer>, options?: ResourcesConfig): Promise<ListResponse<StockTransfer>>;
12378
12222
  stores(stockLocationId: string | StockLocation, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>>;
12379
12223
  attachments(stockLocationId: string | StockLocation, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12380
- versions(stockLocationId: string | StockLocation, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12381
12224
  event_stores(stockLocationId: string | StockLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12382
12225
  isStockLocation(resource: any): resource is StockLocation;
12383
12226
  relationship(id: string | ResourceId | null): StockLocationRel$2;
@@ -12413,7 +12256,6 @@ interface StockItem extends Resource {
12413
12256
  reserved_stock?: ReservedStock | null;
12414
12257
  stock_reservations?: StockReservation[] | null;
12415
12258
  attachments?: Attachment[] | null;
12416
- versions?: Version[] | null;
12417
12259
  event_stores?: EventStore[] | null;
12418
12260
  }
12419
12261
  interface StockItemCreate extends ResourceCreate {
@@ -12459,7 +12301,6 @@ declare class StockItems extends ApiResource<StockItem> {
12459
12301
  reserved_stock(stockItemId: string | StockItem, params?: QueryParamsRetrieve<ReservedStock>, options?: ResourcesConfig): Promise<ReservedStock>;
12460
12302
  stock_reservations(stockItemId: string | StockItem, params?: QueryParamsList<StockReservation>, options?: ResourcesConfig): Promise<ListResponse<StockReservation>>;
12461
12303
  attachments(stockItemId: string | StockItem, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12462
- versions(stockItemId: string | StockItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12463
12304
  event_stores(stockItemId: string | StockItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12464
12305
  _validate(id: string | StockItem, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem>;
12465
12306
  isStockItem(resource: any): resource is StockItem;
@@ -12551,7 +12392,6 @@ interface Sku extends Resource {
12551
12392
  links?: Link[] | null;
12552
12393
  events?: Event[] | null;
12553
12394
  tags?: Tag[] | null;
12554
- versions?: Version[] | null;
12555
12395
  jwt_customer?: Customer | null;
12556
12396
  jwt_markets?: Market[] | null;
12557
12397
  jwt_stock_locations?: StockLocation[] | null;
@@ -12686,7 +12526,6 @@ declare class Skus extends ApiResource<Sku> {
12686
12526
  links(skuId: string | Sku, params?: QueryParamsList<Link>, options?: ResourcesConfig): Promise<ListResponse<Link>>;
12687
12527
  events(skuId: string | Sku, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
12688
12528
  tags(skuId: string | Sku, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
12689
- versions(skuId: string | Sku, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12690
12529
  jwt_customer(skuId: string | Sku, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
12691
12530
  jwt_markets(skuId: string | Sku, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
12692
12531
  jwt_stock_locations(skuId: string | Sku, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>>;
@@ -12733,14 +12572,12 @@ interface PriceTier extends Resource {
12733
12572
  formatted_price_amount?: string | null;
12734
12573
  price?: Price | null;
12735
12574
  attachments?: Attachment[] | null;
12736
- versions?: Version[] | null;
12737
12575
  event_stores?: EventStore[] | null;
12738
12576
  }
12739
12577
  declare class PriceTiers extends ApiResource<PriceTier> {
12740
12578
  static readonly TYPE: PriceTierType;
12741
12579
  price(priceTierId: string | PriceTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price>;
12742
12580
  attachments(priceTierId: string | PriceTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12743
- versions(priceTierId: string | PriceTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12744
12581
  event_stores(priceTierId: string | PriceTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12745
12582
  isPriceTier(resource: any): resource is PriceTier;
12746
12583
  relationship(id: string | ResourceId | null): PriceTierRel$2;
@@ -12785,7 +12622,6 @@ interface PriceVolumeTier extends Resource {
12785
12622
  formatted_price_amount?: string | null;
12786
12623
  price?: Price | null;
12787
12624
  attachments?: Attachment[] | null;
12788
- versions?: Version[] | null;
12789
12625
  event_stores?: EventStore[] | null;
12790
12626
  events?: Event[] | null;
12791
12627
  }
@@ -12832,7 +12668,6 @@ declare class PriceVolumeTiers extends ApiResource<PriceVolumeTier> {
12832
12668
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
12833
12669
  price(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price>;
12834
12670
  attachments(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12835
- versions(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12836
12671
  event_stores(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12837
12672
  events(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
12838
12673
  isPriceVolumeTier(resource: any): resource is PriceVolumeTier;
@@ -12878,7 +12713,6 @@ interface PriceFrequencyTier extends Resource {
12878
12713
  formatted_price_amount?: string | null;
12879
12714
  price?: Price | null;
12880
12715
  attachments?: Attachment[] | null;
12881
- versions?: Version[] | null;
12882
12716
  event_stores?: EventStore[] | null;
12883
12717
  events?: Event[] | null;
12884
12718
  }
@@ -12925,7 +12759,6 @@ declare class PriceFrequencyTiers extends ApiResource<PriceFrequencyTier> {
12925
12759
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
12926
12760
  price(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price>;
12927
12761
  attachments(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12928
- versions(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12929
12762
  event_stores(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12930
12763
  events(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
12931
12764
  isPriceFrequencyTier(resource: any): resource is PriceFrequencyTier;
@@ -13031,7 +12864,6 @@ interface Price extends Resource {
13031
12864
  price_volume_tiers?: PriceVolumeTier[] | null;
13032
12865
  price_frequency_tiers?: PriceFrequencyTier[] | null;
13033
12866
  attachments?: Attachment[] | null;
13034
- versions?: Version[] | null;
13035
12867
  jwt_customer?: Customer | null;
13036
12868
  jwt_markets?: Market[] | null;
13037
12869
  jwt_stock_locations?: StockLocation[] | null;
@@ -13103,7 +12935,6 @@ declare class Prices extends ApiResource<Price> {
13103
12935
  price_volume_tiers(priceId: string | Price, params?: QueryParamsList<PriceVolumeTier>, options?: ResourcesConfig): Promise<ListResponse<PriceVolumeTier>>;
13104
12936
  price_frequency_tiers(priceId: string | Price, params?: QueryParamsList<PriceFrequencyTier>, options?: ResourcesConfig): Promise<ListResponse<PriceFrequencyTier>>;
13105
12937
  attachments(priceId: string | Price, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13106
- versions(priceId: string | Price, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13107
12938
  jwt_customer(priceId: string | Price, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
13108
12939
  jwt_markets(priceId: string | Price, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
13109
12940
  jwt_stock_locations(priceId: string | Price, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>>;
@@ -13160,7 +12991,6 @@ interface PriceListScheduler extends Resource {
13160
12991
  market?: Market | null;
13161
12992
  price_list?: PriceList | null;
13162
12993
  events?: Event[] | null;
13163
- versions?: Version[] | null;
13164
12994
  event_stores?: EventStore[] | null;
13165
12995
  }
13166
12996
  interface PriceListSchedulerCreate extends ResourceCreate {
@@ -13229,7 +13059,6 @@ declare class PriceListSchedulers extends ApiResource<PriceListScheduler> {
13229
13059
  market(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
13230
13060
  price_list(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList>;
13231
13061
  events(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13232
- versions(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13233
13062
  event_stores(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13234
13063
  _disable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler>;
13235
13064
  _enable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler>;
@@ -13284,7 +13113,6 @@ interface PriceList extends Resource {
13284
13113
  prices?: Price[] | null;
13285
13114
  price_list_schedulers?: PriceListScheduler[] | null;
13286
13115
  attachments?: Attachment[] | null;
13287
- versions?: Version[] | null;
13288
13116
  event_stores?: EventStore[] | null;
13289
13117
  }
13290
13118
  interface PriceListCreate extends ResourceCreate {
@@ -13349,7 +13177,6 @@ declare class PriceLists extends ApiResource<PriceList> {
13349
13177
  prices(priceListId: string | PriceList, params?: QueryParamsList<Price>, options?: ResourcesConfig): Promise<ListResponse<Price>>;
13350
13178
  price_list_schedulers(priceListId: string | PriceList, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
13351
13179
  attachments(priceListId: string | PriceList, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13352
- versions(priceListId: string | PriceList, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13353
13180
  event_stores(priceListId: string | PriceList, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13354
13181
  isPriceList(resource: any): resource is PriceList;
13355
13182
  relationship(id: string | ResourceId | null): PriceListRel$2;
@@ -13444,7 +13271,6 @@ interface Promotion extends Resource {
13444
13271
  attachments?: Attachment[] | null;
13445
13272
  events?: Event[] | null;
13446
13273
  tags?: Tag[] | null;
13447
- versions?: Version[] | null;
13448
13274
  event_stores?: EventStore[] | null;
13449
13275
  }
13450
13276
  declare class Promotions extends ApiResource<Promotion> {
@@ -13459,7 +13285,6 @@ declare class Promotions extends ApiResource<Promotion> {
13459
13285
  attachments(promotionId: string | Promotion, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13460
13286
  events(promotionId: string | Promotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13461
13287
  tags(promotionId: string | Promotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
13462
- versions(promotionId: string | Promotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13463
13288
  event_stores(promotionId: string | Promotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13464
13289
  isPromotion(resource: any): resource is Promotion;
13465
13290
  relationship(id: string | ResourceId | null): PromotionRel$1;
@@ -13537,7 +13362,6 @@ interface Transaction extends Resource {
13537
13362
  payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
13538
13363
  attachments?: Attachment[] | null;
13539
13364
  events?: Event[] | null;
13540
- versions?: Version[] | null;
13541
13365
  event_stores?: EventStore[] | null;
13542
13366
  }
13543
13367
  declare class Transactions extends ApiResource<Transaction> {
@@ -13545,7 +13369,6 @@ declare class Transactions extends ApiResource<Transaction> {
13545
13369
  order(transactionId: string | Transaction, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
13546
13370
  attachments(transactionId: string | Transaction, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13547
13371
  events(transactionId: string | Transaction, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13548
- versions(transactionId: string | Transaction, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13549
13372
  event_stores(transactionId: string | Transaction, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13550
13373
  isTransaction(resource: any): resource is Transaction;
13551
13374
  relationship(id: string | ResourceId | null): TransactionRel$1;
@@ -13568,7 +13391,6 @@ interface TaxCalculator extends Resource {
13568
13391
  markets?: Market[] | null;
13569
13392
  attachments?: Attachment[] | null;
13570
13393
  events?: Event[] | null;
13571
- versions?: Version[] | null;
13572
13394
  event_stores?: EventStore[] | null;
13573
13395
  }
13574
13396
  declare class TaxCalculators extends ApiResource<TaxCalculator> {
@@ -13576,7 +13398,6 @@ declare class TaxCalculators extends ApiResource<TaxCalculator> {
13576
13398
  markets(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
13577
13399
  attachments(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13578
13400
  events(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13579
- versions(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13580
13401
  event_stores(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13581
13402
  isTaxCalculator(resource: any): resource is TaxCalculator;
13582
13403
  relationship(id: string | ResourceId | null): TaxCalculatorRel$1;
@@ -13622,7 +13443,6 @@ interface AvalaraAccount extends Resource {
13622
13443
  markets?: Market[] | null;
13623
13444
  attachments?: Attachment[] | null;
13624
13445
  events?: Event[] | null;
13625
- versions?: Version[] | null;
13626
13446
  event_stores?: EventStore[] | null;
13627
13447
  tax_categories?: TaxCategory[] | null;
13628
13448
  }
@@ -13700,7 +13520,6 @@ declare class AvalaraAccounts extends ApiResource<AvalaraAccount> {
13700
13520
  markets(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
13701
13521
  attachments(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13702
13522
  events(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13703
- versions(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13704
13523
  event_stores(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13705
13524
  tax_categories(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<TaxCategory>, options?: ResourcesConfig): Promise<ListResponse<TaxCategory>>;
13706
13525
  isAvalaraAccount(resource: any): resource is AvalaraAccount;
@@ -13732,7 +13551,6 @@ interface StripeTaxAccount extends Resource {
13732
13551
  markets?: Market[] | null;
13733
13552
  attachments?: Attachment[] | null;
13734
13553
  events?: Event[] | null;
13735
- versions?: Version[] | null;
13736
13554
  event_stores?: EventStore[] | null;
13737
13555
  tax_categories?: TaxCategory[] | null;
13738
13556
  }
@@ -13780,7 +13598,6 @@ declare class StripeTaxAccounts extends ApiResource<StripeTaxAccount> {
13780
13598
  markets(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
13781
13599
  attachments(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13782
13600
  events(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13783
- versions(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13784
13601
  event_stores(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13785
13602
  tax_categories(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<TaxCategory>, options?: ResourcesConfig): Promise<ListResponse<TaxCategory>>;
13786
13603
  isStripeTaxAccount(resource: any): resource is StripeTaxAccount;
@@ -13802,7 +13619,7 @@ interface VertexAccount extends Resource {
13802
13619
  */
13803
13620
  name: string;
13804
13621
  /**
13805
- * The Vertex account kind. One of 'cloud', 'on_demand', or 'on_premise'.
13622
+ * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.
13806
13623
  * @example ```"cloud"```
13807
13624
  */
13808
13625
  kind?: 'cloud' | 'on_demand' | 'on_premise' | null;
@@ -13829,7 +13646,6 @@ interface VertexAccount extends Resource {
13829
13646
  markets?: Market[] | null;
13830
13647
  attachments?: Attachment[] | null;
13831
13648
  events?: Event[] | null;
13832
- versions?: Version[] | null;
13833
13649
  event_stores?: EventStore[] | null;
13834
13650
  }
13835
13651
  interface VertexAccountCreate extends ResourceCreate {
@@ -13839,7 +13655,7 @@ interface VertexAccountCreate extends ResourceCreate {
13839
13655
  */
13840
13656
  name: string;
13841
13657
  /**
13842
- * The Vertex account kind. One of 'cloud', 'on_demand', or 'on_premise'.
13658
+ * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.
13843
13659
  * @example ```"cloud"```
13844
13660
  */
13845
13661
  kind?: 'cloud' | 'on_demand' | 'on_premise' | null;
@@ -13871,7 +13687,7 @@ interface VertexAccountUpdate extends ResourceUpdate {
13871
13687
  */
13872
13688
  name?: string | null;
13873
13689
  /**
13874
- * The Vertex account kind. One of 'cloud', 'on_demand', or 'on_premise'.
13690
+ * The Vertex account kind. One of 'cloud' (default), 'on_demand', or 'on_premise'.
13875
13691
  * @example ```"cloud"```
13876
13692
  */
13877
13693
  kind?: 'cloud' | 'on_demand' | 'on_premise' | null;
@@ -13909,7 +13725,6 @@ declare class VertexAccounts extends ApiResource<VertexAccount> {
13909
13725
  markets(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
13910
13726
  attachments(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13911
13727
  events(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13912
- versions(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13913
13728
  event_stores(vertexAccountId: string | VertexAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13914
13729
  _refresh_token(id: string | VertexAccount, params?: QueryParamsRetrieve<VertexAccount>, options?: ResourcesConfig): Promise<VertexAccount>;
13915
13730
  isVertexAccount(resource: any): resource is VertexAccount;
@@ -13936,7 +13751,6 @@ interface TaxjarAccount extends Resource {
13936
13751
  markets?: Market[] | null;
13937
13752
  attachments?: Attachment[] | null;
13938
13753
  events?: Event[] | null;
13939
- versions?: Version[] | null;
13940
13754
  event_stores?: EventStore[] | null;
13941
13755
  tax_categories?: TaxCategory[] | null;
13942
13756
  }
@@ -13974,7 +13788,6 @@ declare class TaxjarAccounts extends ApiResource<TaxjarAccount> {
13974
13788
  markets(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
13975
13789
  attachments(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13976
13790
  events(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13977
- versions(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13978
13791
  event_stores(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13979
13792
  tax_categories(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<TaxCategory>, options?: ResourcesConfig): Promise<ListResponse<TaxCategory>>;
13980
13793
  isTaxjarAccount(resource: any): resource is TaxjarAccount;
@@ -14055,7 +13868,6 @@ interface TaxRule extends Resource {
14055
13868
  */
14056
13869
  not_zip_code_regex?: string | null;
14057
13870
  manual_tax_calculator?: ManualTaxCalculator | null;
14058
- versions?: Version[] | null;
14059
13871
  event_stores?: EventStore[] | null;
14060
13872
  }
14061
13873
  interface TaxRuleCreate extends ResourceCreate {
@@ -14182,7 +13994,6 @@ declare class TaxRules extends ApiResource<TaxRule> {
14182
13994
  update(resource: TaxRuleUpdate, params?: QueryParamsRetrieve<TaxRule>, options?: ResourcesConfig): Promise<TaxRule>;
14183
13995
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
14184
13996
  manual_tax_calculator(taxRuleId: string | TaxRule, params?: QueryParamsRetrieve<ManualTaxCalculator>, options?: ResourcesConfig): Promise<ManualTaxCalculator>;
14185
- versions(taxRuleId: string | TaxRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14186
13997
  event_stores(taxRuleId: string | TaxRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14187
13998
  isTaxRule(resource: any): resource is TaxRule;
14188
13999
  relationship(id: string | ResourceId | null): TaxRuleRel$1;
@@ -14208,7 +14019,6 @@ interface ManualTaxCalculator extends Resource {
14208
14019
  markets?: Market[] | null;
14209
14020
  attachments?: Attachment[] | null;
14210
14021
  events?: Event[] | null;
14211
- versions?: Version[] | null;
14212
14022
  event_stores?: EventStore[] | null;
14213
14023
  tax_rules?: TaxRule[] | null;
14214
14024
  }
@@ -14236,7 +14046,6 @@ declare class ManualTaxCalculators extends ApiResource<ManualTaxCalculator> {
14236
14046
  markets(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
14237
14047
  attachments(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
14238
14048
  events(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
14239
- versions(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14240
14049
  event_stores(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14241
14050
  tax_rules(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<TaxRule>, options?: ResourcesConfig): Promise<ListResponse<TaxRule>>;
14242
14051
  isManualTaxCalculator(resource: any): resource is ManualTaxCalculator;
@@ -14257,11 +14066,6 @@ interface ExternalTaxCalculator extends Resource {
14257
14066
  * @example ```"Personal tax calculator"```
14258
14067
  */
14259
14068
  name: string;
14260
- /**
14261
- * The URL to the service that will compute the taxes.
14262
- * @example ```"https://external_calculator.yourbrand.com"```
14263
- */
14264
- tax_calculator_url: string;
14265
14069
  /**
14266
14070
  * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.
14267
14071
  * @example ```"closed"```
@@ -14282,10 +14086,14 @@ interface ExternalTaxCalculator extends Resource {
14282
14086
  * @example ```["order.line_item_options"]```
14283
14087
  */
14284
14088
  external_includes?: string[] | null;
14089
+ /**
14090
+ * The URL to the service that will compute the taxes.
14091
+ * @example ```"https://external_calculator.yourbrand.com"```
14092
+ */
14093
+ tax_calculator_url: string;
14285
14094
  markets?: Market[] | null;
14286
14095
  attachments?: Attachment[] | null;
14287
14096
  events?: Event[] | null;
14288
- versions?: Version[] | null;
14289
14097
  event_stores?: EventStore[] | null;
14290
14098
  }
14291
14099
  interface ExternalTaxCalculatorCreate extends ResourceCreate {
@@ -14294,16 +14102,16 @@ interface ExternalTaxCalculatorCreate extends ResourceCreate {
14294
14102
  * @example ```"Personal tax calculator"```
14295
14103
  */
14296
14104
  name: string;
14297
- /**
14298
- * The URL to the service that will compute the taxes.
14299
- * @example ```"https://external_calculator.yourbrand.com"```
14300
- */
14301
- tax_calculator_url: string;
14302
14105
  /**
14303
14106
  * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.
14304
14107
  * @example ```["order.line_item_options"]```
14305
14108
  */
14306
14109
  external_includes?: string[] | null;
14110
+ /**
14111
+ * The URL to the service that will compute the taxes.
14112
+ * @example ```"https://external_calculator.yourbrand.com"```
14113
+ */
14114
+ tax_calculator_url: string;
14307
14115
  }
14308
14116
  interface ExternalTaxCalculatorUpdate extends ResourceUpdate {
14309
14117
  /**
@@ -14311,11 +14119,6 @@ interface ExternalTaxCalculatorUpdate extends ResourceUpdate {
14311
14119
  * @example ```"Personal tax calculator"```
14312
14120
  */
14313
14121
  name?: string | null;
14314
- /**
14315
- * The URL to the service that will compute the taxes.
14316
- * @example ```"https://external_calculator.yourbrand.com"```
14317
- */
14318
- tax_calculator_url?: string | null;
14319
14122
  /**
14320
14123
  * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.
14321
14124
  * @example ```true```
@@ -14326,6 +14129,11 @@ interface ExternalTaxCalculatorUpdate extends ResourceUpdate {
14326
14129
  * @example ```["order.line_item_options"]```
14327
14130
  */
14328
14131
  external_includes?: string[] | null;
14132
+ /**
14133
+ * The URL to the service that will compute the taxes.
14134
+ * @example ```"https://external_calculator.yourbrand.com"```
14135
+ */
14136
+ tax_calculator_url?: string | null;
14329
14137
  }
14330
14138
  declare class ExternalTaxCalculators extends ApiResource<ExternalTaxCalculator> {
14331
14139
  static readonly TYPE: ExternalTaxCalculatorType;
@@ -14335,7 +14143,6 @@ declare class ExternalTaxCalculators extends ApiResource<ExternalTaxCalculator>
14335
14143
  markets(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
14336
14144
  attachments(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
14337
14145
  events(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
14338
- versions(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14339
14146
  event_stores(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14340
14147
  _reset_circuit(id: string | ExternalTaxCalculator, params?: QueryParamsRetrieve<ExternalTaxCalculator>, options?: ResourcesConfig): Promise<ExternalTaxCalculator>;
14341
14148
  isExternalTaxCalculator(resource: any): resource is ExternalTaxCalculator;
@@ -14385,7 +14192,6 @@ interface TaxCategory extends Resource {
14385
14192
  sku?: Sku | null;
14386
14193
  tax_calculator?: AvalaraAccount | StripeTaxAccount | VertexAccount | TaxjarAccount | ManualTaxCalculator | ExternalTaxCalculator | null;
14387
14194
  attachments?: Attachment[] | null;
14388
- versions?: Version[] | null;
14389
14195
  event_stores?: EventStore[] | null;
14390
14196
  }
14391
14197
  interface TaxCategoryCreate extends ResourceCreate {
@@ -14422,7 +14228,6 @@ declare class TaxCategories extends ApiResource<TaxCategory> {
14422
14228
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
14423
14229
  sku(taxCategoryId: string | TaxCategory, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
14424
14230
  attachments(taxCategoryId: string | TaxCategory, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
14425
- versions(taxCategoryId: string | TaxCategory, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14426
14231
  event_stores(taxCategoryId: string | TaxCategory, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14427
14232
  isTaxCategory(resource: any): resource is TaxCategory;
14428
14233
  relationship(id: string | ResourceId | null): TaxCategoryRel$1;
@@ -14634,7 +14439,6 @@ interface Merchant extends Resource {
14634
14439
  name: string;
14635
14440
  address?: Address | null;
14636
14441
  attachments?: Attachment[] | null;
14637
- versions?: Version[] | null;
14638
14442
  event_stores?: EventStore[] | null;
14639
14443
  }
14640
14444
  interface MerchantCreate extends ResourceCreate {
@@ -14660,7 +14464,6 @@ declare class Merchants extends ApiResource<Merchant> {
14660
14464
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
14661
14465
  address(merchantId: string | Merchant, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
14662
14466
  attachments(merchantId: string | Merchant, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
14663
- versions(merchantId: string | Merchant, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14664
14467
  event_stores(merchantId: string | Merchant, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14665
14468
  isMerchant(resource: any): resource is Merchant;
14666
14469
  relationship(id: string | ResourceId | null): MerchantRel$1;
@@ -14794,7 +14597,6 @@ interface Market extends Resource {
14794
14597
  stores?: Store[] | null;
14795
14598
  price_list_schedulers?: PriceListScheduler[] | null;
14796
14599
  attachments?: Attachment[] | null;
14797
- versions?: Version[] | null;
14798
14600
  event_stores?: EventStore[] | null;
14799
14601
  }
14800
14602
  interface MarketCreate extends ResourceCreate {
@@ -14939,7 +14741,6 @@ declare class Markets extends ApiResource<Market> {
14939
14741
  stores(marketId: string | Market, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>>;
14940
14742
  price_list_schedulers(marketId: string | Market, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
14941
14743
  attachments(marketId: string | Market, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
14942
- versions(marketId: string | Market, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14943
14744
  event_stores(marketId: string | Market, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14944
14745
  _disable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
14945
14746
  _enable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
@@ -15113,7 +14914,6 @@ interface Address extends Resource {
15113
14914
  geocoder?: Geocoder | null;
15114
14915
  events?: Event[] | null;
15115
14916
  tags?: Tag[] | null;
15116
- versions?: Version[] | null;
15117
14917
  event_stores?: EventStore[] | null;
15118
14918
  }
15119
14919
  interface AddressCreate extends ResourceCreate {
@@ -15298,7 +15098,6 @@ declare class Addresses extends ApiResource<Address> {
15298
15098
  geocoder(addressId: string | Address, params?: QueryParamsRetrieve<Geocoder>, options?: ResourcesConfig): Promise<Geocoder>;
15299
15099
  events(addressId: string | Address, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
15300
15100
  tags(addressId: string | Address, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
15301
- versions(addressId: string | Address, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
15302
15101
  event_stores(addressId: string | Address, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15303
15102
  _add_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
15304
15103
  _remove_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
@@ -15328,6 +15127,11 @@ interface AdyenGateway extends Resource {
15328
15127
  * @example ```true```
15329
15128
  */
15330
15129
  force_payments?: boolean | null;
15130
+ /**
15131
+ * The payment gateway's API credential keys last digits.
15132
+ * @example ```{"api_key":"********BW989"}```
15133
+ */
15134
+ credential_keys?: Record<string, any> | null;
15331
15135
  /**
15332
15136
  * Time at which this resource was disabled.
15333
15137
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -15373,7 +15177,6 @@ interface AdyenGateway extends Resource {
15373
15177
  */
15374
15178
  webhook_endpoint_url?: string | null;
15375
15179
  payment_methods?: PaymentMethod[] | null;
15376
- versions?: Version[] | null;
15377
15180
  event_stores?: EventStore[] | null;
15378
15181
  adyen_payments?: AdyenPayment[] | null;
15379
15182
  }
@@ -15398,6 +15201,11 @@ interface AdyenGatewayCreate extends ResourceCreate {
15398
15201
  * @example ```true```
15399
15202
  */
15400
15203
  _enable?: boolean | null;
15204
+ /**
15205
+ * Send this attribute if you want to check the credentials against the payment gateway's APIs.
15206
+ * @example ```true```
15207
+ */
15208
+ _check?: boolean | null;
15401
15209
  /**
15402
15210
  * The gateway merchant account.
15403
15211
  * @example ```"xxxx-yyyy-zzzz"```
@@ -15470,6 +15278,11 @@ interface AdyenGatewayUpdate extends ResourceUpdate {
15470
15278
  * @example ```true```
15471
15279
  */
15472
15280
  _enable?: boolean | null;
15281
+ /**
15282
+ * Send this attribute if you want to check the credentials against the payment gateway's APIs.
15283
+ * @example ```true```
15284
+ */
15285
+ _check?: boolean | null;
15473
15286
  /**
15474
15287
  * The gateway merchant account.
15475
15288
  * @example ```"xxxx-yyyy-zzzz"```
@@ -15527,11 +15340,11 @@ declare class AdyenGateways extends ApiResource<AdyenGateway> {
15527
15340
  update(resource: AdyenGatewayUpdate, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway>;
15528
15341
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15529
15342
  payment_methods(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
15530
- versions(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
15531
15343
  event_stores(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15532
15344
  adyen_payments(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<AdyenPayment>, options?: ResourcesConfig): Promise<ListResponse<AdyenPayment>>;
15533
15345
  _disable(id: string | AdyenGateway, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway>;
15534
15346
  _enable(id: string | AdyenGateway, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway>;
15347
+ _check(id: string | AdyenGateway, params?: QueryParamsRetrieve<AdyenGateway>, options?: ResourcesConfig): Promise<AdyenGateway>;
15535
15348
  isAdyenGateway(resource: any): resource is AdyenGateway;
15536
15349
  relationship(id: string | ResourceId | null): AdyenGatewayRel;
15537
15350
  relationshipToMany(...ids: string[]): AdyenGatewayRel[];
@@ -15554,7 +15367,7 @@ interface Application extends Resource {
15554
15367
  * The application's kind. One of 'sales_channel', 'integration', or 'webapp'.
15555
15368
  * @example ```"sales-channel"```
15556
15369
  */
15557
- kind?: 'dashboard' | 'user' | 'metrics' | 'contentful' | 'bundles' | 'customers' | 'datocms' | 'exports' | 'external' | 'generic' | 'gift_cards' | 'imports' | 'integration' | 'inventory' | 'orders' | 'price_lists' | 'promotions' | 'resources' | 'returns' | 'sales_channel' | 'sanity' | 'shipments' | 'skus' | 'sku_lists' | 'stock_transfers' | 'subscriptions' | 'tags' | 'webapp' | 'webhooks' | 'zapier' | null;
15370
+ kind?: 'dashboard' | 'user' | 'contentful' | 'bundles' | 'customers' | 'datocms' | 'exports' | 'external' | 'generic' | 'gift_cards' | 'imports' | 'integration' | 'inventory' | 'metrics' | 'orders' | 'price_lists' | 'promotions' | 'resources' | 'returns' | 'sales_channel' | 'sanity' | 'shipments' | 'skus' | 'sku_lists' | 'stock_transfers' | 'subscriptions' | 'tags' | 'webapp' | 'webhooks' | 'zapier' | null;
15558
15371
  /**
15559
15372
  * Indicates if the application has public access.
15560
15373
  * @example ```true```
@@ -15600,6 +15413,11 @@ interface AxerveGateway extends Resource {
15600
15413
  * @example ```true```
15601
15414
  */
15602
15415
  force_payments?: boolean | null;
15416
+ /**
15417
+ * The payment gateway's API credential keys last digits.
15418
+ * @example ```{"api_key":"********BW989"}```
15419
+ */
15420
+ credential_keys?: Record<string, any> | null;
15603
15421
  /**
15604
15422
  * Time at which this resource was disabled.
15605
15423
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -15616,7 +15434,6 @@ interface AxerveGateway extends Resource {
15616
15434
  */
15617
15435
  webhook_endpoint_url?: string | null;
15618
15436
  payment_methods?: PaymentMethod[] | null;
15619
- versions?: Version[] | null;
15620
15437
  event_stores?: EventStore[] | null;
15621
15438
  axerve_payments?: AxervePayment[] | null;
15622
15439
  }
@@ -15692,7 +15509,6 @@ declare class AxerveGateways extends ApiResource<AxerveGateway> {
15692
15509
  update(resource: AxerveGatewayUpdate, params?: QueryParamsRetrieve<AxerveGateway>, options?: ResourcesConfig): Promise<AxerveGateway>;
15693
15510
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15694
15511
  payment_methods(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
15695
- versions(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
15696
15512
  event_stores(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15697
15513
  axerve_payments(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<AxervePayment>, options?: ResourcesConfig): Promise<ListResponse<AxervePayment>>;
15698
15514
  _disable(id: string | AxerveGateway, params?: QueryParamsRetrieve<AxerveGateway>, options?: ResourcesConfig): Promise<AxerveGateway>;
@@ -15779,6 +15595,11 @@ interface BraintreeGateway extends Resource {
15779
15595
  * @example ```true```
15780
15596
  */
15781
15597
  force_payments?: boolean | null;
15598
+ /**
15599
+ * The payment gateway's API credential keys last digits.
15600
+ * @example ```{"api_key":"********BW989"}```
15601
+ */
15602
+ credential_keys?: Record<string, any> | null;
15782
15603
  /**
15783
15604
  * Time at which this resource was disabled.
15784
15605
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -15805,7 +15626,6 @@ interface BraintreeGateway extends Resource {
15805
15626
  */
15806
15627
  webhook_endpoint_url?: string | null;
15807
15628
  payment_methods?: PaymentMethod[] | null;
15808
- versions?: Version[] | null;
15809
15629
  event_stores?: EventStore[] | null;
15810
15630
  braintree_payments?: BraintreePayment[] | null;
15811
15631
  }
@@ -15830,6 +15650,11 @@ interface BraintreeGatewayCreate extends ResourceCreate {
15830
15650
  * @example ```true```
15831
15651
  */
15832
15652
  _enable?: boolean | null;
15653
+ /**
15654
+ * Send this attribute if you want to check the credentials against the payment gateway's APIs.
15655
+ * @example ```true```
15656
+ */
15657
+ _check?: boolean | null;
15833
15658
  /**
15834
15659
  * The gateway merchant account ID.
15835
15660
  * @example ```"xxxx-yyyy-zzzz"```
@@ -15888,6 +15713,11 @@ interface BraintreeGatewayUpdate extends ResourceUpdate {
15888
15713
  * @example ```true```
15889
15714
  */
15890
15715
  _enable?: boolean | null;
15716
+ /**
15717
+ * Send this attribute if you want to check the credentials against the payment gateway's APIs.
15718
+ * @example ```true```
15719
+ */
15720
+ _check?: boolean | null;
15891
15721
  /**
15892
15722
  * The gateway merchant account ID.
15893
15723
  * @example ```"xxxx-yyyy-zzzz"```
@@ -15931,11 +15761,11 @@ declare class BraintreeGateways extends ApiResource<BraintreeGateway> {
15931
15761
  update(resource: BraintreeGatewayUpdate, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway>;
15932
15762
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15933
15763
  payment_methods(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
15934
- versions(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
15935
15764
  event_stores(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15936
15765
  braintree_payments(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<BraintreePayment>, options?: ResourcesConfig): Promise<ListResponse<BraintreePayment>>;
15937
15766
  _disable(id: string | BraintreeGateway, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway>;
15938
15767
  _enable(id: string | BraintreeGateway, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway>;
15768
+ _check(id: string | BraintreeGateway, params?: QueryParamsRetrieve<BraintreeGateway>, options?: ResourcesConfig): Promise<BraintreeGateway>;
15939
15769
  isBraintreeGateway(resource: any): resource is BraintreeGateway;
15940
15770
  relationship(id: string | ResourceId | null): BraintreeGatewayRel;
15941
15771
  relationshipToMany(...ids: string[]): BraintreeGatewayRel[];
@@ -15962,6 +15792,11 @@ interface CheckoutComGateway extends Resource {
15962
15792
  * @example ```true```
15963
15793
  */
15964
15794
  force_payments?: boolean | null;
15795
+ /**
15796
+ * The payment gateway's API credential keys last digits.
15797
+ * @example ```{"api_key":"********BW989"}```
15798
+ */
15799
+ credential_keys?: Record<string, any> | null;
15965
15800
  /**
15966
15801
  * Time at which this resource was disabled.
15967
15802
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -15983,7 +15818,6 @@ interface CheckoutComGateway extends Resource {
15983
15818
  */
15984
15819
  webhook_endpoint_url?: string | null;
15985
15820
  payment_methods?: PaymentMethod[] | null;
15986
- versions?: Version[] | null;
15987
15821
  event_stores?: EventStore[] | null;
15988
15822
  checkout_com_payments?: CheckoutComPayment[] | null;
15989
15823
  }
@@ -16008,6 +15842,11 @@ interface CheckoutComGatewayCreate extends ResourceCreate {
16008
15842
  * @example ```true```
16009
15843
  */
16010
15844
  _enable?: boolean | null;
15845
+ /**
15846
+ * Send this attribute if you want to check the credentials against the payment gateway's APIs.
15847
+ * @example ```true```
15848
+ */
15849
+ _check?: boolean | null;
16011
15850
  /**
16012
15851
  * The gateway secret key.
16013
15852
  * @example ```"sk_test_xxxx-yyyy-zzzz"```
@@ -16041,6 +15880,11 @@ interface CheckoutComGatewayUpdate extends ResourceUpdate {
16041
15880
  * @example ```true```
16042
15881
  */
16043
15882
  _enable?: boolean | null;
15883
+ /**
15884
+ * Send this attribute if you want to check the credentials against the payment gateway's APIs.
15885
+ * @example ```true```
15886
+ */
15887
+ _check?: boolean | null;
16044
15888
  /**
16045
15889
  * The gateway secret key.
16046
15890
  * @example ```"sk_test_xxxx-yyyy-zzzz"```
@@ -16059,11 +15903,11 @@ declare class CheckoutComGateways extends ApiResource<CheckoutComGateway> {
16059
15903
  update(resource: CheckoutComGatewayUpdate, params?: QueryParamsRetrieve<CheckoutComGateway>, options?: ResourcesConfig): Promise<CheckoutComGateway>;
16060
15904
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
16061
15905
  payment_methods(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
16062
- versions(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16063
15906
  event_stores(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16064
15907
  checkout_com_payments(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<CheckoutComPayment>, options?: ResourcesConfig): Promise<ListResponse<CheckoutComPayment>>;
16065
15908
  _disable(id: string | CheckoutComGateway, params?: QueryParamsRetrieve<CheckoutComGateway>, options?: ResourcesConfig): Promise<CheckoutComGateway>;
16066
15909
  _enable(id: string | CheckoutComGateway, params?: QueryParamsRetrieve<CheckoutComGateway>, options?: ResourcesConfig): Promise<CheckoutComGateway>;
15910
+ _check(id: string | CheckoutComGateway, params?: QueryParamsRetrieve<CheckoutComGateway>, options?: ResourcesConfig): Promise<CheckoutComGateway>;
16067
15911
  isCheckoutComGateway(resource: any): resource is CheckoutComGateway;
16068
15912
  relationship(id: string | ResourceId | null): CheckoutComGatewayRel;
16069
15913
  relationshipToMany(...ids: string[]): CheckoutComGatewayRel[];
@@ -16078,10 +15922,10 @@ type CleanupSort = Pick<Cleanup, 'id' | 'resource_type' | 'status' | 'started_at
16078
15922
  interface Cleanup extends Resource {
16079
15923
  readonly type: CleanupType;
16080
15924
  /**
16081
- * The type of resource being cleaned.
15925
+ * The type of resource being cleaned. One of 'promotions', 'skus', 'bundles', 'sku_lists', 'stock_items', 'gift_cards', 'sku_options', or 'prices'.
16082
15926
  * @example ```"skus"```
16083
15927
  */
16084
- resource_type: string;
15928
+ resource_type: 'promotions' | 'skus' | 'bundles' | 'sku_lists' | 'stock_items' | 'gift_cards' | 'sku_options' | 'prices';
16085
15929
  /**
16086
15930
  * The cleanup job status. One of 'pending' (default), 'in_progress', 'interrupted', or 'completed'.
16087
15931
  * @example ```"in_progress"```
@@ -16128,15 +15972,14 @@ interface Cleanup extends Resource {
16128
15972
  */
16129
15973
  errors_log?: Record<string, any> | null;
16130
15974
  events?: Event[] | null;
16131
- versions?: Version[] | null;
16132
15975
  event_stores?: EventStore[] | null;
16133
15976
  }
16134
15977
  interface CleanupCreate extends ResourceCreate {
16135
15978
  /**
16136
- * The type of resource being cleaned.
15979
+ * The type of resource being cleaned. One of 'promotions', 'skus', 'bundles', 'sku_lists', 'stock_items', 'gift_cards', 'sku_options', or 'prices'.
16137
15980
  * @example ```"skus"```
16138
15981
  */
16139
- resource_type: string;
15982
+ resource_type: 'promotions' | 'skus' | 'bundles' | 'sku_lists' | 'stock_items' | 'gift_cards' | 'sku_options' | 'prices';
16140
15983
  /**
16141
15984
  * The filters used to select the records to be cleaned.
16142
15985
  * @example ```{"code_eq":"AAA"}```
@@ -16156,7 +15999,6 @@ declare class Cleanups extends ApiResource<Cleanup> {
16156
15999
  update(resource: CleanupUpdate, params?: QueryParamsRetrieve<Cleanup>, options?: ResourcesConfig): Promise<Cleanup>;
16157
16000
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
16158
16001
  events(cleanupId: string | Cleanup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
16159
- versions(cleanupId: string | Cleanup, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16160
16002
  event_stores(cleanupId: string | Cleanup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16161
16003
  _interrupt(id: string | Cleanup, params?: QueryParamsRetrieve<Cleanup>, options?: ResourcesConfig): Promise<Cleanup>;
16162
16004
  isCleanup(resource: any): resource is Cleanup;
@@ -16340,15 +16182,15 @@ type ExportSort = Pick<Export, 'id' | 'resource_type' | 'format' | 'status' | 's
16340
16182
  interface Export extends Resource {
16341
16183
  readonly type: ExportType;
16342
16184
  /**
16343
- * The type of resource being exported.
16185
+ * The type of resource being exported. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.
16344
16186
  * @example ```"skus"```
16345
16187
  */
16346
- resource_type: string;
16188
+ resource_type: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers';
16347
16189
  /**
16348
- * The format of the export one of 'json' (default) or 'csv'.
16190
+ * The format of the export. One of 'csv', or 'json' (default).
16349
16191
  * @example ```"json"```
16350
16192
  */
16351
- format?: string | null;
16193
+ format?: 'csv' | 'json' | null;
16352
16194
  /**
16353
16195
  * The export job status. One of 'pending' (default), 'in_progress', 'interrupted', 'completed', or 'failed'.
16354
16196
  * @example ```"in_progress"```
@@ -16424,20 +16266,19 @@ interface Export extends Resource {
16424
16266
  */
16425
16267
  errors_log?: Record<string, any> | null;
16426
16268
  events?: Event[] | null;
16427
- versions?: Version[] | null;
16428
16269
  event_stores?: EventStore[] | null;
16429
16270
  }
16430
16271
  interface ExportCreate extends ResourceCreate {
16431
16272
  /**
16432
- * The type of resource being exported.
16273
+ * The type of resource being exported. One of 'applications', 'event_stores', 'organizations', 'addresses', 'geocoders', 'events', 'tags', 'adjustments', 'price_lists', 'payment_gateways', 'payment_methods', 'markets', 'customer_groups', 'line_items', 'discount_engine_items', 'promotions', 'adyen_payments', 'orders', 'transactions', 'order_factories', 'attachments', 'tax_calculators', 'tax_categories', 'skus', 'shipping_categories', 'axerve_payments', 'order_validation_rules', 'braintree_payments', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'promotion_rules', 'coupons', 'returns', 'carrier_accounts', 'checkout_com_payments', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'order_subscriptions', 'customer_password_resets', 'delivery_lead_times', 'shipping_methods', 'shipments', 'discount_engines', 'pickups', 'parcels', 'webhooks', 'event_callbacks', 'external_payments', 'gift_cards', 'in_stock_subscriptions', 'inventory_models', 'inventory_stock_locations', 'inventory_return_locations', 'klarna_payments', 'line_item_options', 'return_line_items', 'stock_line_items', 'stock_reservations', 'stock_transfers', 'notifications', 'sku_options', 'links', 'tax_rules', 'merchants', 'subscription_models', 'stores', 'price_list_schedulers', 'order_subscription_items', 'payment_options', 'resource_errors', 'paypal_payments', 'packages', 'parcel_line_items', 'prices', 'price_tiers', 'reserved_stocks', 'satispay_payments', 'shipping_method_tiers', 'shipping_zones', 'stripe_payments', or 'wire_transfers'.
16433
16274
  * @example ```"skus"```
16434
16275
  */
16435
- resource_type: string;
16276
+ resource_type: 'applications' | 'event_stores' | 'organizations' | 'addresses' | 'geocoders' | 'events' | 'tags' | 'adjustments' | 'price_lists' | 'payment_gateways' | 'payment_methods' | 'markets' | 'customer_groups' | 'line_items' | 'discount_engine_items' | 'promotions' | 'adyen_payments' | 'orders' | 'transactions' | 'order_factories' | 'attachments' | 'tax_calculators' | 'tax_categories' | 'skus' | 'shipping_categories' | 'axerve_payments' | 'order_validation_rules' | 'braintree_payments' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'promotion_rules' | 'coupons' | 'returns' | 'carrier_accounts' | 'checkout_com_payments' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'order_subscriptions' | 'customer_password_resets' | 'delivery_lead_times' | 'shipping_methods' | 'shipments' | 'discount_engines' | 'pickups' | 'parcels' | 'webhooks' | 'event_callbacks' | 'external_payments' | 'gift_cards' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_stock_locations' | 'inventory_return_locations' | 'klarna_payments' | 'line_item_options' | 'return_line_items' | 'stock_line_items' | 'stock_reservations' | 'stock_transfers' | 'notifications' | 'sku_options' | 'links' | 'tax_rules' | 'merchants' | 'subscription_models' | 'stores' | 'price_list_schedulers' | 'order_subscription_items' | 'payment_options' | 'resource_errors' | 'paypal_payments' | 'packages' | 'parcel_line_items' | 'prices' | 'price_tiers' | 'reserved_stocks' | 'satispay_payments' | 'shipping_method_tiers' | 'shipping_zones' | 'stripe_payments' | 'wire_transfers';
16436
16277
  /**
16437
- * The format of the export one of 'json' (default) or 'csv'.
16278
+ * The format of the export. One of 'csv', or 'json' (default).
16438
16279
  * @example ```"json"```
16439
16280
  */
16440
- format?: string | null;
16281
+ format?: 'csv' | 'json' | null;
16441
16282
  /**
16442
16283
  * List of related resources that should be included in the export (redundant when 'fields' are specified).
16443
16284
  * @example ```["prices.price_tiers"]```
@@ -16481,7 +16322,6 @@ declare class Exports extends ApiResource<Export> {
16481
16322
  update(resource: ExportUpdate, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export>;
16482
16323
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
16483
16324
  events(exportId: string | Export, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
16484
- versions(exportId: string | Export, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16485
16325
  event_stores(exportId: string | Export, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16486
16326
  _start(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export>;
16487
16327
  _interrupt(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export>;
@@ -16508,11 +16348,36 @@ interface ExternalGateway extends Resource {
16508
16348
  * @example ```true```
16509
16349
  */
16510
16350
  force_payments?: boolean | null;
16351
+ /**
16352
+ * The payment gateway's API credential keys last digits.
16353
+ * @example ```{"api_key":"********BW989"}```
16354
+ */
16355
+ credential_keys?: Record<string, any> | null;
16511
16356
  /**
16512
16357
  * Time at which this resource was disabled.
16513
16358
  * @example ```"2018-01-01T12:00:00.000Z"```
16514
16359
  */
16515
16360
  disabled_at?: string | null;
16361
+ /**
16362
+ * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.
16363
+ * @example ```"closed"```
16364
+ */
16365
+ circuit_state?: string | null;
16366
+ /**
16367
+ * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.
16368
+ * @example ```5```
16369
+ */
16370
+ circuit_failure_count?: number | null;
16371
+ /**
16372
+ * The shared secret used to sign the external request payload.
16373
+ * @example ```"1c0994cc4e996e8c6ee56a2198f66f3c"```
16374
+ */
16375
+ shared_secret: string;
16376
+ /**
16377
+ * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.
16378
+ * @example ```["order.line_item_options"]```
16379
+ */
16380
+ external_includes?: string[] | null;
16516
16381
  /**
16517
16382
  * The endpoint used by the external gateway to authorize payments.
16518
16383
  * @example ```"https://external_gateway.com/authorize"```
@@ -16538,28 +16403,7 @@ interface ExternalGateway extends Resource {
16538
16403
  * @example ```"https://external_gateway.com/token"```
16539
16404
  */
16540
16405
  token_url?: string | null;
16541
- /**
16542
- * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.
16543
- * @example ```"closed"```
16544
- */
16545
- circuit_state?: string | null;
16546
- /**
16547
- * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.
16548
- * @example ```5```
16549
- */
16550
- circuit_failure_count?: number | null;
16551
- /**
16552
- * The shared secret used to sign the external request payload.
16553
- * @example ```"1c0994cc4e996e8c6ee56a2198f66f3c"```
16554
- */
16555
- shared_secret: string;
16556
- /**
16557
- * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.
16558
- * @example ```["order.line_item_options"]```
16559
- */
16560
- external_includes?: string[] | null;
16561
16406
  payment_methods?: PaymentMethod[] | null;
16562
- versions?: Version[] | null;
16563
16407
  event_stores?: EventStore[] | null;
16564
16408
  external_payments?: ExternalPayment[] | null;
16565
16409
  }
@@ -16584,6 +16428,11 @@ interface ExternalGatewayCreate extends ResourceCreate {
16584
16428
  * @example ```true```
16585
16429
  */
16586
16430
  _enable?: boolean | null;
16431
+ /**
16432
+ * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.
16433
+ * @example ```["order.line_item_options"]```
16434
+ */
16435
+ external_includes?: string[] | null;
16587
16436
  /**
16588
16437
  * The endpoint used by the external gateway to authorize payments.
16589
16438
  * @example ```"https://external_gateway.com/authorize"```
@@ -16609,11 +16458,6 @@ interface ExternalGatewayCreate extends ResourceCreate {
16609
16458
  * @example ```"https://external_gateway.com/token"```
16610
16459
  */
16611
16460
  token_url?: string | null;
16612
- /**
16613
- * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.
16614
- * @example ```["order.line_item_options"]```
16615
- */
16616
- external_includes?: string[] | null;
16617
16461
  }
16618
16462
  interface ExternalGatewayUpdate extends ResourceUpdate {
16619
16463
  /**
@@ -16636,6 +16480,16 @@ interface ExternalGatewayUpdate extends ResourceUpdate {
16636
16480
  * @example ```true```
16637
16481
  */
16638
16482
  _enable?: boolean | null;
16483
+ /**
16484
+ * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.
16485
+ * @example ```true```
16486
+ */
16487
+ _reset_circuit?: boolean | null;
16488
+ /**
16489
+ * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.
16490
+ * @example ```["order.line_item_options"]```
16491
+ */
16492
+ external_includes?: string[] | null;
16639
16493
  /**
16640
16494
  * The endpoint used by the external gateway to authorize payments.
16641
16495
  * @example ```"https://external_gateway.com/authorize"```
@@ -16661,16 +16515,6 @@ interface ExternalGatewayUpdate extends ResourceUpdate {
16661
16515
  * @example ```"https://external_gateway.com/token"```
16662
16516
  */
16663
16517
  token_url?: string | null;
16664
- /**
16665
- * Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.
16666
- * @example ```true```
16667
- */
16668
- _reset_circuit?: boolean | null;
16669
- /**
16670
- * List of related resources that will be included in the request to the external callback. Please do consult the documentation to check on which resource the includes are related (i.e. the order) and the defaults in case no list is provided.
16671
- * @example ```["order.line_item_options"]```
16672
- */
16673
- external_includes?: string[] | null;
16674
16518
  }
16675
16519
  declare class ExternalGateways extends ApiResource<ExternalGateway> {
16676
16520
  static readonly TYPE: ExternalGatewayType;
@@ -16678,7 +16522,6 @@ declare class ExternalGateways extends ApiResource<ExternalGateway> {
16678
16522
  update(resource: ExternalGatewayUpdate, params?: QueryParamsRetrieve<ExternalGateway>, options?: ResourcesConfig): Promise<ExternalGateway>;
16679
16523
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
16680
16524
  payment_methods(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
16681
- versions(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16682
16525
  event_stores(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16683
16526
  external_payments(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<ExternalPayment>, options?: ResourcesConfig): Promise<ListResponse<ExternalPayment>>;
16684
16527
  _disable(id: string | ExternalGateway, params?: QueryParamsRetrieve<ExternalGateway>, options?: ResourcesConfig): Promise<ExternalGateway>;
@@ -16754,15 +16597,15 @@ type ImportSort = Pick<Import, 'id' | 'resource_type' | 'format' | 'parent_resou
16754
16597
  interface Import extends Resource {
16755
16598
  readonly type: ImportType;
16756
16599
  /**
16757
- * The type of resource being imported.
16600
+ * The type of resource being imported. One of 'addresses', 'tags', 'price_lists', 'line_items', 'orders', 'tax_categories', 'skus', 'shipping_categories', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'coupons', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'gift_cards', 'line_item_options', 'stock_transfers', 'sku_options', 'prices', or 'price_tiers'.
16758
16601
  * @example ```"skus"```
16759
16602
  */
16760
- resource_type: string;
16603
+ resource_type: 'addresses' | 'tags' | 'price_lists' | 'line_items' | 'orders' | 'tax_categories' | 'skus' | 'shipping_categories' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'coupons' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'gift_cards' | 'line_item_options' | 'stock_transfers' | 'sku_options' | 'prices' | 'price_tiers';
16761
16604
  /**
16762
- * The format of the import inputs one of 'json' (default) or 'csv'.
16605
+ * The format of the import. One of 'csv', or 'json' (default).
16763
16606
  * @example ```"json"```
16764
16607
  */
16765
- format?: string | null;
16608
+ format?: 'csv' | 'json' | null;
16766
16609
  /**
16767
16610
  * The ID of the parent resource to be associated with imported data.
16768
16611
  * @example ```"1234"```
@@ -16838,15 +16681,15 @@ interface Import extends Resource {
16838
16681
  }
16839
16682
  interface ImportCreate extends ResourceCreate {
16840
16683
  /**
16841
- * The type of resource being imported.
16684
+ * The type of resource being imported. One of 'addresses', 'tags', 'price_lists', 'line_items', 'orders', 'tax_categories', 'skus', 'shipping_categories', 'bundles', 'sku_lists', 'sku_list_items', 'stock_items', 'stock_locations', 'coupons', 'customers', 'customer_addresses', 'customer_payment_sources', 'customer_subscriptions', 'gift_cards', 'line_item_options', 'stock_transfers', 'sku_options', 'prices', or 'price_tiers'.
16842
16685
  * @example ```"skus"```
16843
16686
  */
16844
- resource_type: string;
16687
+ resource_type: 'addresses' | 'tags' | 'price_lists' | 'line_items' | 'orders' | 'tax_categories' | 'skus' | 'shipping_categories' | 'bundles' | 'sku_lists' | 'sku_list_items' | 'stock_items' | 'stock_locations' | 'coupons' | 'customers' | 'customer_addresses' | 'customer_payment_sources' | 'customer_subscriptions' | 'gift_cards' | 'line_item_options' | 'stock_transfers' | 'sku_options' | 'prices' | 'price_tiers';
16845
16688
  /**
16846
- * The format of the import inputs one of 'json' (default) or 'csv'.
16689
+ * The format of the import. One of 'csv', or 'json' (default).
16847
16690
  * @example ```"json"```
16848
16691
  */
16849
- format?: string | null;
16692
+ format?: 'csv' | 'json' | null;
16850
16693
  /**
16851
16694
  * The ID of the parent resource to be associated with imported data.
16852
16695
  * @example ```"1234"```
@@ -16924,7 +16767,6 @@ interface InStockSubscription extends Resource {
16924
16767
  customer?: Customer | null;
16925
16768
  sku?: Sku | null;
16926
16769
  events?: Event[] | null;
16927
- versions?: Version[] | null;
16928
16770
  event_stores?: EventStore[] | null;
16929
16771
  }
16930
16772
  interface InStockSubscriptionCreate extends ResourceCreate {
@@ -16981,7 +16823,6 @@ declare class InStockSubscriptions extends ApiResource<InStockSubscription> {
16981
16823
  customer(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
16982
16824
  sku(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
16983
16825
  events(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
16984
- versions(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16985
16826
  event_stores(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16986
16827
  _activate(id: string | InStockSubscription, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription>;
16987
16828
  _deactivate(id: string | InStockSubscription, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription>;
@@ -17011,13 +16852,17 @@ interface KlarnaGateway extends Resource {
17011
16852
  * @example ```true```
17012
16853
  */
17013
16854
  force_payments?: boolean | null;
16855
+ /**
16856
+ * The payment gateway's API credential keys last digits.
16857
+ * @example ```{"api_key":"********BW989"}```
16858
+ */
16859
+ credential_keys?: Record<string, any> | null;
17014
16860
  /**
17015
16861
  * Time at which this resource was disabled.
17016
16862
  * @example ```"2018-01-01T12:00:00.000Z"```
17017
16863
  */
17018
16864
  disabled_at?: string | null;
17019
16865
  payment_methods?: PaymentMethod[] | null;
17020
- versions?: Version[] | null;
17021
16866
  event_stores?: EventStore[] | null;
17022
16867
  klarna_payments?: KlarnaPayment[] | null;
17023
16868
  }
@@ -17103,7 +16948,6 @@ declare class KlarnaGateways extends ApiResource<KlarnaGateway> {
17103
16948
  update(resource: KlarnaGatewayUpdate, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway>;
17104
16949
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
17105
16950
  payment_methods(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
17106
- versions(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
17107
16951
  event_stores(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
17108
16952
  klarna_payments(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<KlarnaPayment>, options?: ResourcesConfig): Promise<ListResponse<KlarnaPayment>>;
17109
16953
  _disable(id: string | KlarnaGateway, params?: QueryParamsRetrieve<KlarnaGateway>, options?: ResourcesConfig): Promise<KlarnaGateway>;
@@ -17131,13 +16975,17 @@ interface ManualGateway extends Resource {
17131
16975
  * @example ```true```
17132
16976
  */
17133
16977
  force_payments?: boolean | null;
16978
+ /**
16979
+ * The payment gateway's API credential keys last digits.
16980
+ * @example ```{"api_key":"********BW989"}```
16981
+ */
16982
+ credential_keys?: Record<string, any> | null;
17134
16983
  /**
17135
16984
  * Time at which this resource was disabled.
17136
16985
  * @example ```"2018-01-01T12:00:00.000Z"```
17137
16986
  */
17138
16987
  disabled_at?: string | null;
17139
16988
  payment_methods?: PaymentMethod[] | null;
17140
- versions?: Version[] | null;
17141
16989
  event_stores?: EventStore[] | null;
17142
16990
  }
17143
16991
  interface ManualGatewayCreate extends ResourceCreate {
@@ -17190,7 +17038,6 @@ declare class ManualGateways extends ApiResource<ManualGateway> {
17190
17038
  update(resource: ManualGatewayUpdate, params?: QueryParamsRetrieve<ManualGateway>, options?: ResourcesConfig): Promise<ManualGateway>;
17191
17039
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
17192
17040
  payment_methods(manualGatewayId: string | ManualGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
17193
- versions(manualGatewayId: string | ManualGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
17194
17041
  event_stores(manualGatewayId: string | ManualGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
17195
17042
  _disable(id: string | ManualGateway, params?: QueryParamsRetrieve<ManualGateway>, options?: ResourcesConfig): Promise<ManualGateway>;
17196
17043
  _enable(id: string | ManualGateway, params?: QueryParamsRetrieve<ManualGateway>, options?: ResourcesConfig): Promise<ManualGateway>;
@@ -17267,6 +17114,10 @@ interface Organization extends Resource {
17267
17114
  * @example ```true```
17268
17115
  */
17269
17116
  api_auth_redirect?: boolean | null;
17117
+ /**
17118
+ * Enables fragment caching for resources with related directive.
17119
+ */
17120
+ api_fragment_caching_enabled?: boolean | null;
17270
17121
  /**
17271
17122
  * Enables the rules engine for flex promotions and price list rules.
17272
17123
  */
@@ -17473,6 +17324,14 @@ interface Organization extends Resource {
17473
17324
  * @example ```true```
17474
17325
  */
17475
17326
  external_prices_errors?: boolean | null;
17327
+ /**
17328
+ * Enables the Sku discovery by similarity search.
17329
+ */
17330
+ skus_discovery?: boolean | null;
17331
+ /**
17332
+ * Enables the creation of the authorization when the gateway event is received, even if there is no reference on Commerce Layer.
17333
+ */
17334
+ payment_gateways_transaction_on_event?: boolean | null;
17476
17335
  event_stores?: EventStore[] | null;
17477
17336
  }
17478
17337
  declare class Organizations extends ApiSingleton<Organization> {
@@ -17502,13 +17361,17 @@ interface PaypalGateway extends Resource {
17502
17361
  * @example ```true```
17503
17362
  */
17504
17363
  force_payments?: boolean | null;
17364
+ /**
17365
+ * The payment gateway's API credential keys last digits.
17366
+ * @example ```{"api_key":"********BW989"}```
17367
+ */
17368
+ credential_keys?: Record<string, any> | null;
17505
17369
  /**
17506
17370
  * Time at which this resource was disabled.
17507
17371
  * @example ```"2018-01-01T12:00:00.000Z"```
17508
17372
  */
17509
17373
  disabled_at?: string | null;
17510
17374
  payment_methods?: PaymentMethod[] | null;
17511
- versions?: Version[] | null;
17512
17375
  event_stores?: EventStore[] | null;
17513
17376
  paypal_payments?: PaypalPayment[] | null;
17514
17377
  }
@@ -17533,6 +17396,11 @@ interface PaypalGatewayCreate extends ResourceCreate {
17533
17396
  * @example ```true```
17534
17397
  */
17535
17398
  _enable?: boolean | null;
17399
+ /**
17400
+ * Send this attribute if you want to check the credentials against the payment gateway's APIs.
17401
+ * @example ```true```
17402
+ */
17403
+ _check?: boolean | null;
17536
17404
  /**
17537
17405
  * The gateway client ID.
17538
17406
  * @example ```"xxxx-yyyy-zzzz"```
@@ -17565,6 +17433,11 @@ interface PaypalGatewayUpdate extends ResourceUpdate {
17565
17433
  * @example ```true```
17566
17434
  */
17567
17435
  _enable?: boolean | null;
17436
+ /**
17437
+ * Send this attribute if you want to check the credentials against the payment gateway's APIs.
17438
+ * @example ```true```
17439
+ */
17440
+ _check?: boolean | null;
17568
17441
  /**
17569
17442
  * The gateway client ID.
17570
17443
  * @example ```"xxxx-yyyy-zzzz"```
@@ -17582,11 +17455,11 @@ declare class PaypalGateways extends ApiResource<PaypalGateway> {
17582
17455
  update(resource: PaypalGatewayUpdate, params?: QueryParamsRetrieve<PaypalGateway>, options?: ResourcesConfig): Promise<PaypalGateway>;
17583
17456
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
17584
17457
  payment_methods(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
17585
- versions(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
17586
17458
  event_stores(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
17587
17459
  paypal_payments(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<PaypalPayment>, options?: ResourcesConfig): Promise<ListResponse<PaypalPayment>>;
17588
17460
  _disable(id: string | PaypalGateway, params?: QueryParamsRetrieve<PaypalGateway>, options?: ResourcesConfig): Promise<PaypalGateway>;
17589
17461
  _enable(id: string | PaypalGateway, params?: QueryParamsRetrieve<PaypalGateway>, options?: ResourcesConfig): Promise<PaypalGateway>;
17462
+ _check(id: string | PaypalGateway, params?: QueryParamsRetrieve<PaypalGateway>, options?: ResourcesConfig): Promise<PaypalGateway>;
17590
17463
  isPaypalGateway(resource: any): resource is PaypalGateway;
17591
17464
  relationship(id: string | ResourceId | null): PaypalGatewayRel;
17592
17465
  relationshipToMany(...ids: string[]): PaypalGatewayRel[];
@@ -17613,6 +17486,11 @@ interface SatispayGateway extends Resource {
17613
17486
  * @example ```true```
17614
17487
  */
17615
17488
  force_payments?: boolean | null;
17489
+ /**
17490
+ * The payment gateway's API credential keys last digits.
17491
+ * @example ```{"api_key":"********BW989"}```
17492
+ */
17493
+ credential_keys?: Record<string, any> | null;
17616
17494
  /**
17617
17495
  * Time at which this resource was disabled.
17618
17496
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -17634,7 +17512,6 @@ interface SatispayGateway extends Resource {
17634
17512
  */
17635
17513
  webhook_endpoint_url?: string | null;
17636
17514
  payment_methods?: PaymentMethod[] | null;
17637
- versions?: Version[] | null;
17638
17515
  event_stores?: EventStore[] | null;
17639
17516
  satispay_payments?: SatispayPayment[] | null;
17640
17517
  }
@@ -17695,7 +17572,6 @@ declare class SatispayGateways extends ApiResource<SatispayGateway> {
17695
17572
  update(resource: SatispayGatewayUpdate, params?: QueryParamsRetrieve<SatispayGateway>, options?: ResourcesConfig): Promise<SatispayGateway>;
17696
17573
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
17697
17574
  payment_methods(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
17698
- versions(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
17699
17575
  event_stores(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
17700
17576
  satispay_payments(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<SatispayPayment>, options?: ResourcesConfig): Promise<ListResponse<SatispayPayment>>;
17701
17577
  _disable(id: string | SatispayGateway, params?: QueryParamsRetrieve<SatispayGateway>, options?: ResourcesConfig): Promise<SatispayGateway>;
@@ -17719,6 +17595,11 @@ interface StripeGateway extends Resource {
17719
17595
  */
17720
17596
  name: string;
17721
17597
  force_payments?: boolean | null;
17598
+ /**
17599
+ * The payment gateway's API credential keys last digits.
17600
+ * @example ```{"api_key":"********BW989"}```
17601
+ */
17602
+ credential_keys?: Record<string, any> | null;
17722
17603
  /**
17723
17604
  * Time at which this resource was disabled.
17724
17605
  * @example ```"2018-01-01T12:00:00.000Z"```
@@ -17750,7 +17631,6 @@ interface StripeGateway extends Resource {
17750
17631
  */
17751
17632
  webhook_endpoint_url?: string | null;
17752
17633
  payment_methods?: PaymentMethod[] | null;
17753
- versions?: Version[] | null;
17754
17634
  event_stores?: EventStore[] | null;
17755
17635
  stripe_payments?: StripePayment[] | null;
17756
17636
  }
@@ -17771,6 +17651,11 @@ interface StripeGatewayCreate extends ResourceCreate {
17771
17651
  * @example ```true```
17772
17652
  */
17773
17653
  _enable?: boolean | null;
17654
+ /**
17655
+ * Send this attribute if you want to check the credentials against the payment gateway's APIs.
17656
+ * @example ```true```
17657
+ */
17658
+ _check?: boolean | null;
17774
17659
  /**
17775
17660
  * The gateway login.
17776
17661
  * @example ```"sk_live_xxxx-yyyy-zzzz"```
@@ -17809,6 +17694,11 @@ interface StripeGatewayUpdate extends ResourceUpdate {
17809
17694
  * @example ```true```
17810
17695
  */
17811
17696
  _enable?: boolean | null;
17697
+ /**
17698
+ * Send this attribute if you want to check the credentials against the payment gateway's APIs.
17699
+ * @example ```true```
17700
+ */
17701
+ _check?: boolean | null;
17812
17702
  /**
17813
17703
  * The account (if any) for which the funds of the PaymentIntent are intended.
17814
17704
  * @example ```"acct_xxxx-yyyy-zzzz"```
@@ -17826,11 +17716,11 @@ declare class StripeGateways extends ApiResource<StripeGateway> {
17826
17716
  update(resource: StripeGatewayUpdate, params?: QueryParamsRetrieve<StripeGateway>, options?: ResourcesConfig): Promise<StripeGateway>;
17827
17717
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
17828
17718
  payment_methods(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
17829
- versions(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
17830
17719
  event_stores(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
17831
17720
  stripe_payments(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<StripePayment>, options?: ResourcesConfig): Promise<ListResponse<StripePayment>>;
17832
17721
  _disable(id: string | StripeGateway, params?: QueryParamsRetrieve<StripeGateway>, options?: ResourcesConfig): Promise<StripeGateway>;
17833
17722
  _enable(id: string | StripeGateway, params?: QueryParamsRetrieve<StripeGateway>, options?: ResourcesConfig): Promise<StripeGateway>;
17723
+ _check(id: string | StripeGateway, params?: QueryParamsRetrieve<StripeGateway>, options?: ResourcesConfig): Promise<StripeGateway>;
17834
17724
  isStripeGateway(resource: any): resource is StripeGateway;
17835
17725
  relationship(id: string | ResourceId | null): StripeGatewayRel;
17836
17726
  relationshipToMany(...ids: string[]): StripeGatewayRel[];
@@ -17861,7 +17751,6 @@ interface TalonOneAccount extends Resource {
17861
17751
  markets?: Market[] | null;
17862
17752
  discount_engine_items?: DiscountEngineItem[] | null;
17863
17753
  attachments?: Attachment[] | null;
17864
- versions?: Version[] | null;
17865
17754
  event_stores?: EventStore[] | null;
17866
17755
  }
17867
17756
  interface TalonOneAccountCreate extends ResourceCreate {
@@ -17914,7 +17803,6 @@ declare class TalonOneAccounts extends ApiResource<TalonOneAccount> {
17914
17803
  markets(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
17915
17804
  discount_engine_items(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<DiscountEngineItem>, options?: ResourcesConfig): Promise<ListResponse<DiscountEngineItem>>;
17916
17805
  attachments(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
17917
- versions(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
17918
17806
  event_stores(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
17919
17807
  isTalonOneAccount(resource: any): resource is TalonOneAccount;
17920
17808
  relationship(id: string | ResourceId | null): TalonOneAccountRel;
@@ -17922,7 +17810,7 @@ declare class TalonOneAccounts extends ApiResource<TalonOneAccount> {
17922
17810
  type(): TalonOneAccountType;
17923
17811
  }
17924
17812
 
17925
- type ResourceTypeLock = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'applications' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | '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' | 'discount_engine_items' | 'discount_engines' | 'easypost_pickups' | 'event_callbacks' | 'event_stores' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_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' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_factories' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'organizations' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'pickups' | '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' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'versions' | 'vertex_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
17813
+ type ResourceTypeLock = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'applications' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | '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' | 'discount_engine_items' | 'discount_engines' | 'easypost_pickups' | 'event_callbacks' | 'event_stores' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_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' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_factories' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'organizations' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'pickups' | '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' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'vertex_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
17926
17814
  declare const resourceList: ResourceTypeLock[];
17927
17815
  declare const singletonList: ResourceTypeLock[];
17928
17816
  type RetrievableResourceType = ResourceTypeLock;
@@ -17952,13 +17840,6 @@ type TaggableResource = Resource & {
17952
17840
  type: TagType;
17953
17841
  }> | null;
17954
17842
  };
17955
- type VersionableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | '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' | 'discount_engines' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_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' | 'reserved_stocks' | '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' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'talon_one_accounts' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'vertex_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
17956
- type VersionableResource = Resource & {
17957
- type: VersionableResourceType;
17958
- versions?: Array<ResourceRel & {
17959
- type: VersionType;
17960
- }> | null;
17961
- };
17962
17843
  type ResourceFields = {
17963
17844
  addresses: Address;
17964
17845
  adjustments: Adjustment;
@@ -18087,7 +17968,6 @@ type ResourceFields = {
18087
17968
  tax_rules: TaxRule;
18088
17969
  taxjar_accounts: TaxjarAccount;
18089
17970
  transactions: Transaction;
18090
- versions: Version;
18091
17971
  vertex_accounts: VertexAccount;
18092
17972
  voids: Void;
18093
17973
  webhooks: Webhook;
@@ -18221,7 +18101,6 @@ type ResourceSortFields = {
18221
18101
  tax_rules: TaxRuleSort;
18222
18102
  taxjar_accounts: TaxjarAccountSort;
18223
18103
  transactions: TransactionSort;
18224
- versions: VersionSort;
18225
18104
  vertex_accounts: VertexAccountSort;
18226
18105
  voids: VoidSort;
18227
18106
  webhooks: WebhookSort;
@@ -18265,7 +18144,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
18265
18144
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
18266
18145
  declare class CommerceLayerClient {
18267
18146
  #private;
18268
- readonly openApiSchemaVersion = "7.9.15";
18147
+ readonly openApiSchemaVersion = "7.10.3";
18269
18148
  constructor(config: CommerceLayerInitConfig);
18270
18149
  get addresses(): Addresses;
18271
18150
  get adjustments(): Adjustments;
@@ -18394,7 +18273,6 @@ declare class CommerceLayerClient {
18394
18273
  get tax_rules(): TaxRules;
18395
18274
  get taxjar_accounts(): TaxjarAccounts;
18396
18275
  get transactions(): Transactions;
18397
- get versions(): Versions;
18398
18276
  get vertex_accounts(): VertexAccounts;
18399
18277
  get voids(): Voids;
18400
18278
  get webhooks(): Webhooks;
@@ -18432,4 +18310,4 @@ declare const CommerceLayerStatic: {
18432
18310
 
18433
18311
  // @ts-ignore
18434
18312
  export = CommerceLayer;
18435
- 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 BingGeocoder, type BingGeocoderCreate, type BingGeocoderSort, type BingGeocoderUpdate, BingGeocoders, type BraintreeGateway, type BraintreeGatewayCreate, type BraintreeGatewaySort, type BraintreeGatewayUpdate, BraintreeGateways, type BraintreePayment, type BraintreePaymentCreate, type BraintreePaymentSort, type BraintreePaymentUpdate, BraintreePayments, type Bundle, type BundleCreate, type BundleSort, type BundleUpdate, Bundles, type BuyXPayYPromotion, type BuyXPayYPromotionCreate, type BuyXPayYPromotionSort, type BuyXPayYPromotionUpdate, BuyXPayYPromotions, type Capture, type CaptureSort, type CaptureUpdate, Captures, type CarrierAccount, type CarrierAccountCreate, type CarrierAccountSort, type CarrierAccountUpdate, CarrierAccounts, type CheckoutComGateway, type CheckoutComGatewayCreate, type CheckoutComGatewaySort, type CheckoutComGatewayUpdate, CheckoutComGateways, type CheckoutComPayment, type CheckoutComPaymentCreate, type CheckoutComPaymentSort, type CheckoutComPaymentUpdate, CheckoutComPayments, type Cleanup, type CleanupCreate, type CleanupSort, type CleanupUpdate, 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 DiscountEngine, type DiscountEngineItem, type DiscountEngineItemSort, DiscountEngineItems, type DiscountEngineSort, DiscountEngines, type EasypostPickup, type EasypostPickupCreate, type EasypostPickupSort, type EasypostPickupUpdate, EasypostPickups, type ErrorObj, ErrorType, type Event, type EventCallback, type EventCallbackSort, EventCallbacks, type EventSort, type EventStore, type EventStoreSort, EventStores, type EventUpdate, Events, type Export, type ExportCreate, type ExportSort, type ExportUpdate, 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 FlexPromotion, type FlexPromotionCreate, type FlexPromotionSort, type FlexPromotionUpdate, FlexPromotions, 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, type ImportUpdate, 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 Notification, type NotificationCreate, type NotificationSort, type NotificationUpdate, Notifications, 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 Pickup, type PickupSort, Pickups, 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 QueryFields, type QueryFilter, type QueryInclude, type QueryPageNumber, type QueryPageSize, type QueryParams, type QueryParamsList, type QueryParamsRetrieve, type QueryRecordFields, type QueryRecordSortable, type QuerySort, RecurringOrderCopies, type RecurringOrderCopy, type RecurringOrderCopyCreate, type RecurringOrderCopySort, type RecurringOrderCopyUpdate, type Refund, type RefundSort, type RefundUpdate, 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 Store, type StoreCreate, type StoreSort, type StoreUpdate, Stores, type StripeGateway, type StripeGatewayCreate, type StripeGatewaySort, type StripeGatewayUpdate, StripeGateways, type StripePayment, type StripePaymentCreate, type StripePaymentSort, type StripePaymentUpdate, StripePayments, type StripeTaxAccount, type StripeTaxAccountCreate, type StripeTaxAccountSort, type StripeTaxAccountUpdate, StripeTaxAccounts, type SubscriptionModel, type SubscriptionModelCreate, type SubscriptionModelSort, type SubscriptionModelUpdate, SubscriptionModels, type Tag, type TagCreate, type TagSort, type TagUpdate, type TaggableResource, type TaggableResourceType, Tags, type TalonOneAccount, type TalonOneAccountCreate, type TalonOneAccountSort, type TalonOneAccountUpdate, TalonOneAccounts, 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 VertexAccount, type VertexAccountCreate, type VertexAccountSort, type VertexAccountUpdate, VertexAccounts, type Void, type VoidSort, type VoidUpdate, Voids, type Webhook, type WebhookCreate, type WebhookSort, type WebhookUpdate, Webhooks, type WireTransfer, type WireTransferCreate, type WireTransferSort, type WireTransferUpdate, WireTransfers, apiResourceAdapter, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };
18313
+ 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 BingGeocoder, type BingGeocoderCreate, type BingGeocoderSort, type BingGeocoderUpdate, BingGeocoders, type BraintreeGateway, type BraintreeGatewayCreate, type BraintreeGatewaySort, type BraintreeGatewayUpdate, BraintreeGateways, type BraintreePayment, type BraintreePaymentCreate, type BraintreePaymentSort, type BraintreePaymentUpdate, BraintreePayments, type Bundle, type BundleCreate, type BundleSort, type BundleUpdate, Bundles, type BuyXPayYPromotion, type BuyXPayYPromotionCreate, type BuyXPayYPromotionSort, type BuyXPayYPromotionUpdate, BuyXPayYPromotions, type Capture, type CaptureSort, type CaptureUpdate, Captures, type CarrierAccount, type CarrierAccountCreate, type CarrierAccountSort, type CarrierAccountUpdate, CarrierAccounts, type CheckoutComGateway, type CheckoutComGatewayCreate, type CheckoutComGatewaySort, type CheckoutComGatewayUpdate, CheckoutComGateways, type CheckoutComPayment, type CheckoutComPaymentCreate, type CheckoutComPaymentSort, type CheckoutComPaymentUpdate, CheckoutComPayments, type Cleanup, type CleanupCreate, type CleanupSort, type CleanupUpdate, 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 DiscountEngine, type DiscountEngineItem, type DiscountEngineItemSort, DiscountEngineItems, type DiscountEngineSort, DiscountEngines, type EasypostPickup, type EasypostPickupCreate, type EasypostPickupSort, type EasypostPickupUpdate, EasypostPickups, type ErrorObj, ErrorType, type Event, type EventCallback, type EventCallbackSort, EventCallbacks, type EventSort, type EventStore, type EventStoreSort, EventStores, type EventUpdate, Events, type Export, type ExportCreate, type ExportSort, type ExportUpdate, 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 FlexPromotion, type FlexPromotionCreate, type FlexPromotionSort, type FlexPromotionUpdate, FlexPromotions, 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, type ImportUpdate, 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 Notification, type NotificationCreate, type NotificationSort, type NotificationUpdate, Notifications, 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 Pickup, type PickupSort, Pickups, 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 QueryFields, type QueryFilter, type QueryInclude, type QueryPageNumber, type QueryPageSize, type QueryParams, type QueryParamsList, type QueryParamsRetrieve, type QueryRecordFields, type QueryRecordSortable, type QuerySort, RecurringOrderCopies, type RecurringOrderCopy, type RecurringOrderCopyCreate, type RecurringOrderCopySort, type RecurringOrderCopyUpdate, type Refund, type RefundSort, type RefundUpdate, 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 Store, type StoreCreate, type StoreSort, type StoreUpdate, Stores, type StripeGateway, type StripeGatewayCreate, type StripeGatewaySort, type StripeGatewayUpdate, StripeGateways, type StripePayment, type StripePaymentCreate, type StripePaymentSort, type StripePaymentUpdate, StripePayments, type StripeTaxAccount, type StripeTaxAccountCreate, type StripeTaxAccountSort, type StripeTaxAccountUpdate, StripeTaxAccounts, type SubscriptionModel, type SubscriptionModelCreate, type SubscriptionModelSort, type SubscriptionModelUpdate, SubscriptionModels, type Tag, type TagCreate, type TagSort, type TagUpdate, type TaggableResource, type TaggableResourceType, Tags, type TalonOneAccount, type TalonOneAccountCreate, type TalonOneAccountSort, type TalonOneAccountUpdate, TalonOneAccounts, 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 VertexAccount, type VertexAccountCreate, type VertexAccountSort, type VertexAccountUpdate, VertexAccounts, type Void, type VoidSort, type VoidUpdate, Voids, type Webhook, type WebhookCreate, type WebhookSort, type WebhookUpdate, Webhooks, type WireTransfer, type WireTransferCreate, type WireTransferSort, type WireTransferUpdate, WireTransfers, apiResourceAdapter, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };