@commercelayer/sdk 6.45.1 → 6.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.mts CHANGED
@@ -201,6 +201,47 @@ declare abstract class ApiSingleton<R extends Resource> extends ApiResourceBase<
201
201
  retrieve(params?: QueryParamsRetrieve<R>, options?: ResourcesConfig): Promise<R>;
202
202
  }
203
203
 
204
+ type EventStoreType = 'event_stores';
205
+ type EventStoreRel = ResourceRel & {
206
+ type: EventStoreType;
207
+ };
208
+ type EventStoreSort = Pick<EventStore, 'id'> & ResourceSort;
209
+ interface EventStore extends Resource {
210
+ readonly type: EventStoreType;
211
+ /**
212
+ * The type of the affected resource.
213
+ * @example ```"orders"```
214
+ */
215
+ resource_type?: string | null;
216
+ /**
217
+ * The ID of the affected resource.
218
+ * @example ```"PzdJhdLdYV"```
219
+ */
220
+ resource_id?: string | null;
221
+ /**
222
+ * The type of change (one of create or update).
223
+ * @example ```"update"```
224
+ */
225
+ event?: string | null;
226
+ /**
227
+ * The object changes payload.
228
+ * @example ```{"status":["draft","placed"]}```
229
+ */
230
+ payload?: Record<string, any> | null;
231
+ /**
232
+ * Information about who triggered the change.
233
+ * @example ```{"application":{"id":"DNOPYiZYpn","kind":"sales_channel","public":true},"owner":{"id":"yQQrBhLBmQ","type":"Customer"}}```
234
+ */
235
+ who?: Record<string, any> | null;
236
+ }
237
+ declare class EventStores extends ApiResource<EventStore> {
238
+ static readonly TYPE: EventStoreType;
239
+ isEventStore(resource: any): resource is EventStore;
240
+ relationship(id: string | ResourceId | null): EventStoreRel;
241
+ relationshipToMany(...ids: string[]): EventStoreRel[];
242
+ type(): EventStoreType;
243
+ }
244
+
204
245
  type TagType = 'tags';
205
246
  type TagRel$l = ResourceRel & {
206
247
  type: TagType;
@@ -213,6 +254,7 @@ interface Tag extends Resource {
213
254
  * @example ```"new_campaign"```
214
255
  */
215
256
  name: string;
257
+ event_stores?: EventStore[] | null;
216
258
  }
217
259
  interface TagCreate extends ResourceCreate {
218
260
  /**
@@ -233,6 +275,7 @@ declare class Tags extends ApiResource<Tag> {
233
275
  create(resource: TagCreate, params?: QueryParamsRetrieve<Tag>, options?: ResourcesConfig): Promise<Tag>;
234
276
  update(resource: TagUpdate, params?: QueryParamsRetrieve<Tag>, options?: ResourcesConfig): Promise<Tag>;
235
277
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
278
+ event_stores(tagId: string | Tag, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
236
279
  isTag(resource: any): resource is Tag;
237
280
  relationship(id: string | ResourceId | null): TagRel$l;
238
281
  relationshipToMany(...ids: string[]): TagRel$l[];
@@ -271,9 +314,11 @@ interface Version extends Resource {
271
314
  * @example ```{"application":{"id":"DNOPYiZYpn","kind":"sales_channel","public":true},"owner":{"id":"yQQrBhLBmQ","type":"Customer"}}```
272
315
  */
273
316
  who?: Record<string, any> | null;
317
+ event_stores?: EventStore[] | null;
274
318
  }
275
319
  declare class Versions extends ApiResource<Version> {
276
320
  static readonly TYPE: VersionType;
321
+ event_stores(versionId: string | Version, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
277
322
  isVersion(resource: any): resource is Version;
278
323
  relationship(id: string | ResourceId | null): VersionRel;
279
324
  relationshipToMany(...ids: string[]): VersionRel[];
@@ -300,6 +345,7 @@ interface ShippingCategory extends Resource {
300
345
  skus?: Sku[] | null;
301
346
  attachments?: Attachment[] | null;
302
347
  versions?: Version[] | null;
348
+ event_stores?: EventStore[] | null;
303
349
  }
304
350
  interface ShippingCategoryCreate extends ResourceCreate {
305
351
  /**
@@ -333,6 +379,7 @@ declare class ShippingCategories extends ApiResource<ShippingCategory> {
333
379
  skus(shippingCategoryId: string | ShippingCategory, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
334
380
  attachments(shippingCategoryId: string | ShippingCategory, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
335
381
  versions(shippingCategoryId: string | ShippingCategory, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
382
+ event_stores(shippingCategoryId: string | ShippingCategory, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
336
383
  isShippingCategory(resource: any): resource is ShippingCategory;
337
384
  relationship(id: string | ResourceId | null): ShippingCategoryRel$4;
338
385
  relationshipToMany(...ids: string[]): ShippingCategoryRel$4[];
@@ -360,6 +407,7 @@ interface InventoryReturnLocation extends Resource {
360
407
  stock_location?: StockLocation | null;
361
408
  inventory_model?: InventoryModel | null;
362
409
  versions?: Version[] | null;
410
+ event_stores?: EventStore[] | null;
363
411
  }
364
412
  interface InventoryReturnLocationCreate extends ResourceCreate {
365
413
  /**
@@ -387,6 +435,7 @@ declare class InventoryReturnLocations extends ApiResource<InventoryReturnLocati
387
435
  stock_location(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation>;
388
436
  inventory_model(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel>;
389
437
  versions(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
438
+ event_stores(inventoryReturnLocationId: string | InventoryReturnLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
390
439
  isInventoryReturnLocation(resource: any): resource is InventoryReturnLocation;
391
440
  relationship(id: string | ResourceId | null): InventoryReturnLocationRel;
392
441
  relationshipToMany(...ids: string[]): InventoryReturnLocationRel[];
@@ -434,6 +483,7 @@ interface InventoryModel extends Resource {
434
483
  inventory_return_locations?: InventoryReturnLocation[] | null;
435
484
  attachments?: Attachment[] | null;
436
485
  versions?: Version[] | null;
486
+ event_stores?: EventStore[] | null;
437
487
  }
438
488
  interface InventoryModelCreate extends ResourceCreate {
439
489
  /**
@@ -508,6 +558,7 @@ declare class InventoryModels extends ApiResource<InventoryModel> {
508
558
  inventory_return_locations(inventoryModelId: string | InventoryModel, params?: QueryParamsList<InventoryReturnLocation>, options?: ResourcesConfig): Promise<ListResponse<InventoryReturnLocation>>;
509
559
  attachments(inventoryModelId: string | InventoryModel, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
510
560
  versions(inventoryModelId: string | InventoryModel, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
561
+ event_stores(inventoryModelId: string | InventoryModel, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
511
562
  isInventoryModel(resource: any): resource is InventoryModel;
512
563
  relationship(id: string | ResourceId | null): InventoryModelRel$3;
513
564
  relationshipToMany(...ids: string[]): InventoryModelRel$3[];
@@ -539,6 +590,7 @@ interface InventoryStockLocation extends Resource {
539
590
  stock_location?: StockLocation | null;
540
591
  inventory_model?: InventoryModel | null;
541
592
  versions?: Version[] | null;
593
+ event_stores?: EventStore[] | null;
542
594
  }
543
595
  interface InventoryStockLocationCreate extends ResourceCreate {
544
596
  /**
@@ -574,6 +626,7 @@ declare class InventoryStockLocations extends ApiResource<InventoryStockLocation
574
626
  stock_location(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsRetrieve<StockLocation>, options?: ResourcesConfig): Promise<StockLocation>;
575
627
  inventory_model(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel>;
576
628
  versions(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
629
+ event_stores(inventoryStockLocationId: string | InventoryStockLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
577
630
  isInventoryStockLocation(resource: any): resource is InventoryStockLocation;
578
631
  relationship(id: string | ResourceId | null): InventoryStockLocationRel$1;
579
632
  relationshipToMany(...ids: string[]): InventoryStockLocationRel$1[];
@@ -601,6 +654,7 @@ interface CustomerGroup extends Resource {
601
654
  markets?: Market[] | null;
602
655
  attachments?: Attachment[] | null;
603
656
  versions?: Version[] | null;
657
+ event_stores?: EventStore[] | null;
604
658
  }
605
659
  interface CustomerGroupCreate extends ResourceCreate {
606
660
  /**
@@ -635,6 +689,7 @@ declare class CustomerGroups extends ApiResource<CustomerGroup> {
635
689
  markets(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
636
690
  attachments(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
637
691
  versions(customerGroupId: string | CustomerGroup, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
692
+ event_stores(customerGroupId: string | CustomerGroup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
638
693
  isCustomerGroup(resource: any): resource is CustomerGroup;
639
694
  relationship(id: string | ResourceId | null): CustomerGroupRel$3;
640
695
  relationshipToMany(...ids: string[]): CustomerGroupRel$3[];
@@ -669,10 +724,12 @@ interface EventCallback extends Resource {
669
724
  */
670
725
  response_message?: string | null;
671
726
  webhook?: Webhook | null;
727
+ event_stores?: EventStore[] | null;
672
728
  }
673
729
  declare class EventCallbacks extends ApiResource<EventCallback> {
674
730
  static readonly TYPE: EventCallbackType;
675
731
  webhook(eventCallbackId: string | EventCallback, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook>;
732
+ event_stores(eventCallbackId: string | EventCallback, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
676
733
  isEventCallback(resource: any): resource is EventCallback;
677
734
  relationship(id: string | ResourceId | null): EventCallbackRel;
678
735
  relationshipToMany(...ids: string[]): EventCallbackRel[];
@@ -728,6 +785,7 @@ interface Webhook extends Resource {
728
785
  shared_secret: string;
729
786
  last_event_callbacks?: EventCallback[] | null;
730
787
  versions?: Version[] | null;
788
+ event_stores?: EventStore[] | null;
731
789
  }
732
790
  interface WebhookCreate extends ResourceCreate {
733
791
  /**
@@ -805,6 +863,7 @@ declare class Webhooks extends ApiResource<Webhook> {
805
863
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
806
864
  last_event_callbacks(webhookId: string | Webhook, params?: QueryParamsList<EventCallback>, options?: ResourcesConfig): Promise<ListResponse<EventCallback>>;
807
865
  versions(webhookId: string | Webhook, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
866
+ event_stores(webhookId: string | Webhook, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
808
867
  _disable(id: string | Webhook, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook>;
809
868
  _enable(id: string | Webhook, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook>;
810
869
  _reset_circuit(id: string | Webhook, params?: QueryParamsRetrieve<Webhook>, options?: ResourcesConfig): Promise<Webhook>;
@@ -828,6 +887,7 @@ interface Event extends Resource {
828
887
  name: string;
829
888
  webhooks?: Webhook[] | null;
830
889
  last_event_callbacks?: EventCallback[] | null;
890
+ event_stores?: EventStore[] | null;
831
891
  }
832
892
  interface EventUpdate extends ResourceUpdate {
833
893
  /**
@@ -841,6 +901,7 @@ declare class Events extends ApiResource<Event> {
841
901
  update(resource: EventUpdate, params?: QueryParamsRetrieve<Event>, options?: ResourcesConfig): Promise<Event>;
842
902
  webhooks(eventId: string | Event, params?: QueryParamsList<Webhook>, options?: ResourcesConfig): Promise<ListResponse<Webhook>>;
843
903
  last_event_callbacks(eventId: string | Event, params?: QueryParamsList<EventCallback>, options?: ResourcesConfig): Promise<ListResponse<EventCallback>>;
904
+ event_stores(eventId: string | Event, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
844
905
  _trigger(id: string | Event, params?: QueryParamsRetrieve<Event>, options?: ResourcesConfig): Promise<Event>;
845
906
  isEvent(resource: any): resource is Event;
846
907
  relationship(id: string | ResourceId | null): EventRel;
@@ -875,6 +936,7 @@ interface CustomerAddress extends Resource {
875
936
  address?: Address | null;
876
937
  events?: Event[] | null;
877
938
  versions?: Version[] | null;
939
+ event_stores?: EventStore[] | null;
878
940
  }
879
941
  interface CustomerAddressCreate extends ResourceCreate {
880
942
  /**
@@ -898,6 +960,7 @@ declare class CustomerAddresses extends ApiResource<CustomerAddress> {
898
960
  address(customerAddressId: string | CustomerAddress, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
899
961
  events(customerAddressId: string | CustomerAddress, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
900
962
  versions(customerAddressId: string | CustomerAddress, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
963
+ event_stores(customerAddressId: string | CustomerAddress, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
901
964
  isCustomerAddress(resource: any): resource is CustomerAddress;
902
965
  relationship(id: string | ResourceId | null): CustomerAddressRel;
903
966
  relationshipToMany(...ids: string[]): CustomerAddressRel[];
@@ -918,11 +981,13 @@ interface PaymentGateway extends Resource {
918
981
  name: string;
919
982
  payment_methods?: PaymentMethod[] | null;
920
983
  versions?: Version[] | null;
984
+ event_stores?: EventStore[] | null;
921
985
  }
922
986
  declare class PaymentGateways extends ApiResource<PaymentGateway> {
923
987
  static readonly TYPE: PaymentGatewayType;
924
988
  payment_methods(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
925
989
  versions(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
990
+ event_stores(paymentGatewayId: string | PaymentGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
926
991
  isPaymentGateway(resource: any): resource is PaymentGateway;
927
992
  relationship(id: string | ResourceId | null): PaymentGatewayRel$1;
928
993
  relationshipToMany(...ids: string[]): PaymentGatewayRel$1[];
@@ -962,6 +1027,7 @@ interface Store extends Resource {
962
1027
  payment_methods?: PaymentMethod[] | null;
963
1028
  events?: Event[] | null;
964
1029
  versions?: Version[] | null;
1030
+ event_stores?: EventStore[] | null;
965
1031
  }
966
1032
  interface StoreCreate extends ResourceCreate {
967
1033
  /**
@@ -1005,6 +1071,7 @@ declare class Stores extends ApiResource<Store> {
1005
1071
  payment_methods(storeId: string | Store, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
1006
1072
  events(storeId: string | Store, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
1007
1073
  versions(storeId: string | Store, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1074
+ event_stores(storeId: string | Store, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1008
1075
  isStore(resource: any): resource is Store;
1009
1076
  relationship(id: string | ResourceId | null): StoreRel$2;
1010
1077
  relationshipToMany(...ids: string[]): StoreRel$2[];
@@ -1096,6 +1163,7 @@ interface PaymentMethod extends Resource {
1096
1163
  store?: Store | null;
1097
1164
  attachments?: Attachment[] | null;
1098
1165
  versions?: Version[] | null;
1166
+ event_stores?: EventStore[] | null;
1099
1167
  }
1100
1168
  interface PaymentMethodCreate extends ResourceCreate {
1101
1169
  /**
@@ -1219,6 +1287,7 @@ declare class PaymentMethods extends ApiResource<PaymentMethod> {
1219
1287
  store(paymentMethodId: string | PaymentMethod, params?: QueryParamsRetrieve<Store>, options?: ResourcesConfig): Promise<Store>;
1220
1288
  attachments(paymentMethodId: string | PaymentMethod, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
1221
1289
  versions(paymentMethodId: string | PaymentMethod, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1290
+ event_stores(paymentMethodId: string | PaymentMethod, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1222
1291
  _disable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
1223
1292
  _enable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
1224
1293
  isPaymentMethod(resource: any): resource is PaymentMethod;
@@ -1279,6 +1348,7 @@ interface AdyenPayment extends Resource {
1279
1348
  order?: Order | null;
1280
1349
  payment_gateway?: PaymentGateway | null;
1281
1350
  versions?: Version[] | null;
1351
+ event_stores?: EventStore[] | null;
1282
1352
  }
1283
1353
  interface AdyenPaymentCreate extends ResourceCreate {
1284
1354
  order: OrderRel$k;
@@ -1319,6 +1389,7 @@ declare class AdyenPayments extends ApiResource<AdyenPayment> {
1319
1389
  order(adyenPaymentId: string | AdyenPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1320
1390
  payment_gateway(adyenPaymentId: string | AdyenPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1321
1391
  versions(adyenPaymentId: string | AdyenPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1392
+ event_stores(adyenPaymentId: string | AdyenPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1322
1393
  _authorize(id: string | AdyenPayment, params?: QueryParamsRetrieve<AdyenPayment>, options?: ResourcesConfig): Promise<AdyenPayment>;
1323
1394
  _details(id: string | AdyenPayment, params?: QueryParamsRetrieve<AdyenPayment>, options?: ResourcesConfig): Promise<AdyenPayment>;
1324
1395
  _balance(id: string | AdyenPayment, params?: QueryParamsRetrieve<AdyenPayment>, options?: ResourcesConfig): Promise<AdyenPayment>;
@@ -1380,6 +1451,7 @@ interface AxervePayment extends Resource {
1380
1451
  order?: Order | null;
1381
1452
  payment_gateway?: PaymentGateway | null;
1382
1453
  versions?: Version[] | null;
1454
+ event_stores?: EventStore[] | null;
1383
1455
  }
1384
1456
  interface AxervePaymentCreate extends ResourceCreate {
1385
1457
  /**
@@ -1425,6 +1497,7 @@ declare class AxervePayments extends ApiResource<AxervePayment> {
1425
1497
  order(axervePaymentId: string | AxervePayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1426
1498
  payment_gateway(axervePaymentId: string | AxervePayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1427
1499
  versions(axervePaymentId: string | AxervePayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1500
+ event_stores(axervePaymentId: string | AxervePayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1428
1501
  _update(id: string | AxervePayment, params?: QueryParamsRetrieve<AxervePayment>, options?: ResourcesConfig): Promise<AxervePayment>;
1429
1502
  isAxervePayment(resource: any): resource is AxervePayment;
1430
1503
  relationship(id: string | ResourceId | null): AxervePaymentRel$3;
@@ -1475,6 +1548,7 @@ interface BraintreePayment extends Resource {
1475
1548
  order?: Order | null;
1476
1549
  payment_gateway?: PaymentGateway | null;
1477
1550
  versions?: Version[] | null;
1551
+ event_stores?: EventStore[] | null;
1478
1552
  }
1479
1553
  interface BraintreePaymentCreate extends ResourceCreate {
1480
1554
  /**
@@ -1525,6 +1599,7 @@ declare class BraintreePayments extends ApiResource<BraintreePayment> {
1525
1599
  order(braintreePaymentId: string | BraintreePayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1526
1600
  payment_gateway(braintreePaymentId: string | BraintreePayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1527
1601
  versions(braintreePaymentId: string | BraintreePayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1602
+ event_stores(braintreePaymentId: string | BraintreePayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1528
1603
  isBraintreePayment(resource: any): resource is BraintreePayment;
1529
1604
  relationship(id: string | ResourceId | null): BraintreePaymentRel$3;
1530
1605
  relationshipToMany(...ids: string[]): BraintreePaymentRel$3[];
@@ -1598,6 +1673,7 @@ interface CheckoutComPayment extends Resource {
1598
1673
  order?: Order | null;
1599
1674
  payment_gateway?: PaymentGateway | null;
1600
1675
  versions?: Version[] | null;
1676
+ event_stores?: EventStore[] | null;
1601
1677
  }
1602
1678
  interface CheckoutComPaymentCreate extends ResourceCreate {
1603
1679
  /**
@@ -1643,6 +1719,7 @@ declare class CheckoutComPayments extends ApiResource<CheckoutComPayment> {
1643
1719
  order(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1644
1720
  payment_gateway(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1645
1721
  versions(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1722
+ event_stores(checkoutComPaymentId: string | CheckoutComPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1646
1723
  _details(id: string | CheckoutComPayment, params?: QueryParamsRetrieve<CheckoutComPayment>, options?: ResourcesConfig): Promise<CheckoutComPayment>;
1647
1724
  _refresh(id: string | CheckoutComPayment, params?: QueryParamsRetrieve<CheckoutComPayment>, options?: ResourcesConfig): Promise<CheckoutComPayment>;
1648
1725
  isCheckoutComPayment(resource: any): resource is CheckoutComPayment;
@@ -1680,6 +1757,7 @@ interface ExternalPayment extends Resource {
1680
1757
  payment_gateway?: PaymentGateway | null;
1681
1758
  wallet?: CustomerPaymentSource | null;
1682
1759
  versions?: Version[] | null;
1760
+ event_stores?: EventStore[] | null;
1683
1761
  }
1684
1762
  interface ExternalPaymentCreate extends ResourceCreate {
1685
1763
  /**
@@ -1711,6 +1789,7 @@ declare class ExternalPayments extends ApiResource<ExternalPayment> {
1711
1789
  payment_gateway(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1712
1790
  wallet(externalPaymentId: string | ExternalPayment, params?: QueryParamsRetrieve<CustomerPaymentSource>, options?: ResourcesConfig): Promise<CustomerPaymentSource>;
1713
1791
  versions(externalPaymentId: string | ExternalPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1792
+ event_stores(externalPaymentId: string | ExternalPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1714
1793
  isExternalPayment(resource: any): resource is ExternalPayment;
1715
1794
  relationship(id: string | ResourceId | null): ExternalPaymentRel$2;
1716
1795
  relationshipToMany(...ids: string[]): ExternalPaymentRel$2[];
@@ -1759,6 +1838,7 @@ interface KlarnaPayment extends Resource {
1759
1838
  order?: Order | null;
1760
1839
  payment_gateway?: PaymentGateway | null;
1761
1840
  versions?: Version[] | null;
1841
+ event_stores?: EventStore[] | null;
1762
1842
  }
1763
1843
  interface KlarnaPaymentCreate extends ResourceCreate {
1764
1844
  order: OrderRel$f;
@@ -1784,6 +1864,7 @@ declare class KlarnaPayments extends ApiResource<KlarnaPayment> {
1784
1864
  order(klarnaPaymentId: string | KlarnaPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1785
1865
  payment_gateway(klarnaPaymentId: string | KlarnaPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1786
1866
  versions(klarnaPaymentId: string | KlarnaPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1867
+ event_stores(klarnaPaymentId: string | KlarnaPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1787
1868
  _update(id: string | KlarnaPayment, params?: QueryParamsRetrieve<KlarnaPayment>, options?: ResourcesConfig): Promise<KlarnaPayment>;
1788
1869
  isKlarnaPayment(resource: any): resource is KlarnaPayment;
1789
1870
  relationship(id: string | ResourceId | null): KlarnaPaymentRel$3;
@@ -1853,6 +1934,7 @@ interface PaypalPayment extends Resource {
1853
1934
  order?: Order | null;
1854
1935
  payment_gateway?: PaymentGateway | null;
1855
1936
  versions?: Version[] | null;
1937
+ event_stores?: EventStore[] | null;
1856
1938
  }
1857
1939
  interface PaypalPaymentCreate extends ResourceCreate {
1858
1940
  /**
@@ -1888,6 +1970,7 @@ declare class PaypalPayments extends ApiResource<PaypalPayment> {
1888
1970
  order(paypalPaymentId: string | PaypalPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1889
1971
  payment_gateway(paypalPaymentId: string | PaypalPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1890
1972
  versions(paypalPaymentId: string | PaypalPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
1973
+ event_stores(paypalPaymentId: string | PaypalPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1891
1974
  isPaypalPayment(resource: any): resource is PaypalPayment;
1892
1975
  relationship(id: string | ResourceId | null): PaypalPaymentRel$2;
1893
1976
  relationshipToMany(...ids: string[]): PaypalPaymentRel$2[];
@@ -1942,6 +2025,7 @@ interface SatispayPayment extends Resource {
1942
2025
  order?: Order | null;
1943
2026
  payment_gateway?: PaymentGateway | null;
1944
2027
  versions?: Version[] | null;
2028
+ event_stores?: EventStore[] | null;
1945
2029
  }
1946
2030
  interface SatispayPaymentCreate extends ResourceCreate {
1947
2031
  /**
@@ -1977,6 +2061,7 @@ declare class SatispayPayments extends ApiResource<SatispayPayment> {
1977
2061
  order(satispayPaymentId: string | SatispayPayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
1978
2062
  payment_gateway(satispayPaymentId: string | SatispayPayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
1979
2063
  versions(satispayPaymentId: string | SatispayPayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2064
+ event_stores(satispayPaymentId: string | SatispayPayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
1980
2065
  _refresh(id: string | SatispayPayment, params?: QueryParamsRetrieve<SatispayPayment>, options?: ResourcesConfig): Promise<SatispayPayment>;
1981
2066
  isSatispayPayment(resource: any): resource is SatispayPayment;
1982
2067
  relationship(id: string | ResourceId | null): SatispayPaymentRel$3;
@@ -2061,6 +2146,7 @@ interface StripePayment extends Resource {
2061
2146
  order?: Order | null;
2062
2147
  payment_gateway?: PaymentGateway | null;
2063
2148
  versions?: Version[] | null;
2149
+ event_stores?: EventStore[] | null;
2064
2150
  }
2065
2151
  interface StripePaymentCreate extends ResourceCreate {
2066
2152
  /**
@@ -2121,6 +2207,7 @@ declare class StripePayments extends ApiResource<StripePayment> {
2121
2207
  order(stripePaymentId: string | StripePayment, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
2122
2208
  payment_gateway(stripePaymentId: string | StripePayment, params?: QueryParamsRetrieve<PaymentGateway>, options?: ResourcesConfig): Promise<PaymentGateway>;
2123
2209
  versions(stripePaymentId: string | StripePayment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2210
+ event_stores(stripePaymentId: string | StripePayment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2124
2211
  _update(id: string | StripePayment, params?: QueryParamsRetrieve<StripePayment>, options?: ResourcesConfig): Promise<StripePayment>;
2125
2212
  _refresh(id: string | StripePayment, params?: QueryParamsRetrieve<StripePayment>, options?: ResourcesConfig): Promise<StripePayment>;
2126
2213
  isStripePayment(resource: any): resource is StripePayment;
@@ -2146,6 +2233,7 @@ interface WireTransfer extends Resource {
2146
2233
  payment_instrument?: Record<string, any> | null;
2147
2234
  order?: Order | null;
2148
2235
  versions?: Version[] | null;
2236
+ event_stores?: EventStore[] | null;
2149
2237
  }
2150
2238
  interface WireTransferCreate extends ResourceCreate {
2151
2239
  order: OrderRel$b;
@@ -2160,6 +2248,7 @@ declare class WireTransfers extends ApiResource<WireTransfer> {
2160
2248
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
2161
2249
  order(wireTransferId: string | WireTransfer, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
2162
2250
  versions(wireTransferId: string | WireTransfer, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2251
+ event_stores(wireTransferId: string | WireTransfer, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2163
2252
  isWireTransfer(resource: any): resource is WireTransfer;
2164
2253
  relationship(id: string | ResourceId | null): WireTransferRel$2;
2165
2254
  relationshipToMany(...ids: string[]): WireTransferRel$2[];
@@ -2228,6 +2317,7 @@ interface CustomerPaymentSource extends Resource {
2228
2317
  payment_method?: PaymentMethod | null;
2229
2318
  payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null;
2230
2319
  versions?: Version[] | null;
2320
+ event_stores?: EventStore[] | null;
2231
2321
  }
2232
2322
  interface CustomerPaymentSourceCreate extends ResourceCreate {
2233
2323
  /**
@@ -2267,6 +2357,7 @@ declare class CustomerPaymentSources extends ApiResource<CustomerPaymentSource>
2267
2357
  customer(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
2268
2358
  payment_method(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
2269
2359
  versions(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2360
+ event_stores(customerPaymentSourceId: string | CustomerPaymentSource, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2270
2361
  isCustomerPaymentSource(resource: any): resource is CustomerPaymentSource;
2271
2362
  relationship(id: string | ResourceId | null): CustomerPaymentSourceRel$1;
2272
2363
  relationshipToMany(...ids: string[]): CustomerPaymentSourceRel$1[];
@@ -2288,6 +2379,7 @@ interface CustomerSubscription extends Resource {
2288
2379
  customer?: Customer | null;
2289
2380
  events?: Event[] | null;
2290
2381
  versions?: Version[] | null;
2382
+ event_stores?: EventStore[] | null;
2291
2383
  }
2292
2384
  interface CustomerSubscriptionCreate extends ResourceCreate {
2293
2385
  /**
@@ -2305,6 +2397,7 @@ declare class CustomerSubscriptions extends ApiResource<CustomerSubscription> {
2305
2397
  customer(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
2306
2398
  events(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
2307
2399
  versions(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2400
+ event_stores(customerSubscriptionId: string | CustomerSubscription, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2308
2401
  isCustomerSubscription(resource: any): resource is CustomerSubscription;
2309
2402
  relationship(id: string | ResourceId | null): CustomerSubscriptionRel;
2310
2403
  relationshipToMany(...ids: string[]): CustomerSubscriptionRel[];
@@ -2345,6 +2438,7 @@ interface SubscriptionModel extends Resource {
2345
2438
  markets?: Market[] | null;
2346
2439
  order_subscriptions?: OrderSubscription[] | null;
2347
2440
  attachments?: Attachment[] | null;
2441
+ event_stores?: EventStore[] | null;
2348
2442
  }
2349
2443
  interface SubscriptionModelCreate extends ResourceCreate {
2350
2444
  /**
@@ -2406,6 +2500,7 @@ declare class SubscriptionModels extends ApiResource<SubscriptionModel> {
2406
2500
  markets(subscriptionModelId: string | SubscriptionModel, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
2407
2501
  order_subscriptions(subscriptionModelId: string | SubscriptionModel, params?: QueryParamsList<OrderSubscription>, options?: ResourcesConfig): Promise<ListResponse<OrderSubscription>>;
2408
2502
  attachments(subscriptionModelId: string | SubscriptionModel, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
2503
+ event_stores(subscriptionModelId: string | SubscriptionModel, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2409
2504
  isSubscriptionModel(resource: any): resource is SubscriptionModel;
2410
2505
  relationship(id: string | ResourceId | null): SubscriptionModelRel$2;
2411
2506
  relationshipToMany(...ids: string[]): SubscriptionModelRel$2[];
@@ -2475,6 +2570,7 @@ interface SkuOption extends Resource {
2475
2570
  events?: Event[] | null;
2476
2571
  tags?: Tag[] | null;
2477
2572
  versions?: Version[] | null;
2573
+ event_stores?: EventStore[] | null;
2478
2574
  }
2479
2575
  interface SkuOptionCreate extends ResourceCreate {
2480
2576
  /**
@@ -2562,6 +2658,7 @@ declare class SkuOptions extends ApiResource<SkuOption> {
2562
2658
  events(skuOptionId: string | SkuOption, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
2563
2659
  tags(skuOptionId: string | SkuOption, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
2564
2660
  versions(skuOptionId: string | SkuOption, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2661
+ event_stores(skuOptionId: string | SkuOption, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2565
2662
  _add_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
2566
2663
  _remove_tags(id: string | SkuOption, triggerValue: string, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
2567
2664
  isSkuOption(resource: any): resource is SkuOption;
@@ -2650,6 +2747,7 @@ interface LineItemOption extends Resource {
2650
2747
  sku_option?: SkuOption | null;
2651
2748
  events?: Event[] | null;
2652
2749
  tags?: Tag[] | null;
2750
+ event_stores?: EventStore[] | null;
2653
2751
  }
2654
2752
  interface LineItemOptionCreate extends ResourceCreate {
2655
2753
  /**
@@ -2717,6 +2815,7 @@ declare class LineItemOptions extends ApiResource<LineItemOption> {
2717
2815
  sku_option(lineItemOptionId: string | LineItemOption, params?: QueryParamsRetrieve<SkuOption>, options?: ResourcesConfig): Promise<SkuOption>;
2718
2816
  events(lineItemOptionId: string | LineItemOption, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
2719
2817
  tags(lineItemOptionId: string | LineItemOption, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
2818
+ event_stores(lineItemOptionId: string | LineItemOption, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2720
2819
  _add_tags(id: string | LineItemOption, triggerValue: string, params?: QueryParamsRetrieve<LineItemOption>, options?: ResourcesConfig): Promise<LineItemOption>;
2721
2820
  _remove_tags(id: string | LineItemOption, triggerValue: string, params?: QueryParamsRetrieve<LineItemOption>, options?: ResourcesConfig): Promise<LineItemOption>;
2722
2821
  isLineItemOption(resource: any): resource is LineItemOption;
@@ -2791,6 +2890,7 @@ interface Void extends Resource {
2791
2890
  attachments?: Attachment[] | null;
2792
2891
  events?: Event[] | null;
2793
2892
  versions?: Version[] | null;
2893
+ event_stores?: EventStore[] | null;
2794
2894
  reference_authorization?: Authorization | null;
2795
2895
  }
2796
2896
  interface VoidUpdate extends ResourceUpdate {
@@ -2811,6 +2911,7 @@ declare class Voids extends ApiResource<Void> {
2811
2911
  attachments(voidId: string | Void, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
2812
2912
  events(voidId: string | Void, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
2813
2913
  versions(voidId: string | Void, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
2914
+ event_stores(voidId: string | Void, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2814
2915
  reference_authorization(voidId: string | Void, params?: QueryParamsRetrieve<Authorization>, options?: ResourcesConfig): Promise<Authorization>;
2815
2916
  _forward(id: string | Void, params?: QueryParamsRetrieve<Void>, options?: ResourcesConfig): Promise<Void>;
2816
2917
  isVoid(resource: any): resource is Void;
@@ -2955,6 +3056,7 @@ interface Authorization extends Resource {
2955
3056
  attachments?: Attachment[] | null;
2956
3057
  events?: Event[] | null;
2957
3058
  versions?: Version[] | null;
3059
+ event_stores?: EventStore[] | null;
2958
3060
  captures?: Capture[] | null;
2959
3061
  voids?: Void[] | null;
2960
3062
  }
@@ -2996,6 +3098,7 @@ declare class Authorizations extends ApiResource<Authorization> {
2996
3098
  attachments(authorizationId: string | Authorization, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
2997
3099
  events(authorizationId: string | Authorization, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
2998
3100
  versions(authorizationId: string | Authorization, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3101
+ event_stores(authorizationId: string | Authorization, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
2999
3102
  captures(authorizationId: string | Authorization, params?: QueryParamsList<Capture>, options?: ResourcesConfig): Promise<ListResponse<Capture>>;
3000
3103
  voids(authorizationId: string | Authorization, params?: QueryParamsList<Void>, options?: ResourcesConfig): Promise<ListResponse<Void>>;
3001
3104
  _forward(id: string | Authorization, params?: QueryParamsRetrieve<Authorization>, options?: ResourcesConfig): Promise<Authorization>;
@@ -3075,6 +3178,7 @@ interface Refund extends Resource {
3075
3178
  attachments?: Attachment[] | null;
3076
3179
  events?: Event[] | null;
3077
3180
  versions?: Version[] | null;
3181
+ event_stores?: EventStore[] | null;
3078
3182
  reference_capture?: Capture | null;
3079
3183
  return?: Return | null;
3080
3184
  }
@@ -3096,6 +3200,7 @@ declare class Refunds extends ApiResource<Refund> {
3096
3200
  attachments(refundId: string | Refund, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
3097
3201
  events(refundId: string | Refund, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
3098
3202
  versions(refundId: string | Refund, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3203
+ event_stores(refundId: string | Refund, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3099
3204
  reference_capture(refundId: string | Refund, params?: QueryParamsRetrieve<Capture>, options?: ResourcesConfig): Promise<Capture>;
3100
3205
  return(refundId: string | Refund, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
3101
3206
  _forward(id: string | Refund, params?: QueryParamsRetrieve<Refund>, options?: ResourcesConfig): Promise<Refund>;
@@ -3201,6 +3306,7 @@ interface Capture extends Resource {
3201
3306
  attachments?: Attachment[] | null;
3202
3307
  events?: Event[] | null;
3203
3308
  versions?: Version[] | null;
3309
+ event_stores?: EventStore[] | null;
3204
3310
  reference_authorization?: Authorization | null;
3205
3311
  refunds?: Refund[] | null;
3206
3312
  return?: Return | null;
@@ -3238,6 +3344,7 @@ declare class Captures extends ApiResource<Capture> {
3238
3344
  attachments(captureId: string | Capture, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
3239
3345
  events(captureId: string | Capture, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
3240
3346
  versions(captureId: string | Capture, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3347
+ event_stores(captureId: string | Capture, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3241
3348
  reference_authorization(captureId: string | Capture, params?: QueryParamsRetrieve<Authorization>, options?: ResourcesConfig): Promise<Authorization>;
3242
3349
  refunds(captureId: string | Capture, params?: QueryParamsList<Refund>, options?: ResourcesConfig): Promise<ListResponse<Refund>>;
3243
3350
  return(captureId: string | Capture, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
@@ -3274,9 +3381,11 @@ interface ResourceError extends Resource {
3274
3381
  */
3275
3382
  message: string;
3276
3383
  resource?: Order | Return | null;
3384
+ event_stores?: EventStore[] | null;
3277
3385
  }
3278
3386
  declare class ResourceErrors extends ApiResource<ResourceError> {
3279
3387
  static readonly TYPE: ResourceErrorType;
3388
+ event_stores(resourceErrorId: string | ResourceError, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3280
3389
  isResourceError(resource: any): resource is ResourceError;
3281
3390
  relationship(id: string | ResourceId | null): ResourceErrorRel;
3282
3391
  relationshipToMany(...ids: string[]): ResourceErrorRel[];
@@ -3385,6 +3494,7 @@ interface Return extends Resource {
3385
3494
  events?: Event[] | null;
3386
3495
  tags?: Tag[] | null;
3387
3496
  versions?: Version[] | null;
3497
+ event_stores?: EventStore[] | null;
3388
3498
  }
3389
3499
  interface ReturnCreate extends ResourceCreate {
3390
3500
  order: OrderRel$a;
@@ -3478,6 +3588,7 @@ declare class Returns extends ApiResource<Return> {
3478
3588
  events(returnId: string | Return, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
3479
3589
  tags(returnId: string | Return, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
3480
3590
  versions(returnId: string | Return, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3591
+ event_stores(returnId: string | Return, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3481
3592
  _request(id: string | Return, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
3482
3593
  _approve(id: string | Return, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
3483
3594
  _cancel(id: string | Return, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
@@ -3562,6 +3673,7 @@ interface ReturnLineItem extends Resource {
3562
3673
  restocked_at?: string | null;
3563
3674
  return?: Return | null;
3564
3675
  line_item?: LineItem | null;
3676
+ event_stores?: EventStore[] | null;
3565
3677
  }
3566
3678
  interface ReturnLineItemCreate extends ResourceCreate {
3567
3679
  /**
@@ -3601,6 +3713,7 @@ declare class ReturnLineItems extends ApiResource<ReturnLineItem> {
3601
3713
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
3602
3714
  return(returnLineItemId: string | ReturnLineItem, params?: QueryParamsRetrieve<Return>, options?: ResourcesConfig): Promise<Return>;
3603
3715
  line_item(returnLineItemId: string | ReturnLineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
3716
+ event_stores(returnLineItemId: string | ReturnLineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3604
3717
  _restock(id: string | ReturnLineItem, params?: QueryParamsRetrieve<ReturnLineItem>, options?: ResourcesConfig): Promise<ReturnLineItem>;
3605
3718
  isReturnLineItem(resource: any): resource is ReturnLineItem;
3606
3719
  relationship(id: string | ResourceId | null): ReturnLineItemRel;
@@ -3658,6 +3771,7 @@ interface StockLineItem extends Resource {
3658
3771
  sku?: Sku | null;
3659
3772
  stock_reservation?: StockReservation | null;
3660
3773
  versions?: Version[] | null;
3774
+ event_stores?: EventStore[] | null;
3661
3775
  }
3662
3776
  interface StockLineItemCreate extends ResourceCreate {
3663
3777
  /**
@@ -3717,6 +3831,7 @@ declare class StockLineItems extends ApiResource<StockLineItem> {
3717
3831
  sku(stockLineItemId: string | StockLineItem, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
3718
3832
  stock_reservation(stockLineItemId: string | StockLineItem, params?: QueryParamsRetrieve<StockReservation>, options?: ResourcesConfig): Promise<StockReservation>;
3719
3833
  versions(stockLineItemId: string | StockLineItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3834
+ event_stores(stockLineItemId: string | StockLineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3720
3835
  _reserve_stock(id: string | StockLineItem, params?: QueryParamsRetrieve<StockLineItem>, options?: ResourcesConfig): Promise<StockLineItem>;
3721
3836
  _release_stock(id: string | StockLineItem, params?: QueryParamsRetrieve<StockLineItem>, options?: ResourcesConfig): Promise<StockLineItem>;
3722
3837
  _decrement_stock(id: string | StockLineItem, params?: QueryParamsRetrieve<StockLineItem>, options?: ResourcesConfig): Promise<StockLineItem>;
@@ -3742,6 +3857,7 @@ interface ReservedStock extends Resource {
3742
3857
  sku?: Sku | null;
3743
3858
  stock_reservations?: StockReservation[] | null;
3744
3859
  versions?: Version[] | null;
3860
+ event_stores?: EventStore[] | null;
3745
3861
  }
3746
3862
  declare class ReservedStocks extends ApiResource<ReservedStock> {
3747
3863
  static readonly TYPE: ReservedStockType;
@@ -3749,6 +3865,7 @@ declare class ReservedStocks extends ApiResource<ReservedStock> {
3749
3865
  sku(reservedStockId: string | ReservedStock, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
3750
3866
  stock_reservations(reservedStockId: string | ReservedStock, params?: QueryParamsList<StockReservation>, options?: ResourcesConfig): Promise<ListResponse<StockReservation>>;
3751
3867
  versions(reservedStockId: string | ReservedStock, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
3868
+ event_stores(reservedStockId: string | ReservedStock, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3752
3869
  isReservedStock(resource: any): resource is ReservedStock;
3753
3870
  relationship(id: string | ResourceId | null): ReservedStockRel;
3754
3871
  relationshipToMany(...ids: string[]): ReservedStockRel[];
@@ -3787,6 +3904,7 @@ interface StockReservation extends Resource {
3787
3904
  stock_item?: StockItem | null;
3788
3905
  reserved_stock?: ReservedStock | null;
3789
3906
  sku?: Sku | null;
3907
+ event_stores?: EventStore[] | null;
3790
3908
  }
3791
3909
  interface StockReservationCreate extends ResourceCreate {
3792
3910
  /**
@@ -3820,6 +3938,7 @@ declare class StockReservations extends ApiResource<StockReservation> {
3820
3938
  stock_item(stockReservationId: string | StockReservation, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem>;
3821
3939
  reserved_stock(stockReservationId: string | StockReservation, params?: QueryParamsRetrieve<ReservedStock>, options?: ResourcesConfig): Promise<ReservedStock>;
3822
3940
  sku(stockReservationId: string | StockReservation, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
3941
+ event_stores(stockReservationId: string | StockReservation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3823
3942
  _pending(id: string | StockReservation, params?: QueryParamsRetrieve<StockReservation>, options?: ResourcesConfig): Promise<StockReservation>;
3824
3943
  isStockReservation(resource: any): resource is StockReservation;
3825
3944
  relationship(id: string | ResourceId | null): StockReservationRel;
@@ -3871,6 +3990,7 @@ interface ShippingZone extends Resource {
3871
3990
  not_zip_code_regex?: string | null;
3872
3991
  attachments?: Attachment[] | null;
3873
3992
  versions?: Version[] | null;
3993
+ event_stores?: EventStore[] | null;
3874
3994
  }
3875
3995
  interface ShippingZoneCreate extends ResourceCreate {
3876
3996
  /**
@@ -3953,6 +4073,7 @@ declare class ShippingZones extends ApiResource<ShippingZone> {
3953
4073
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
3954
4074
  attachments(shippingZoneId: string | ShippingZone, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
3955
4075
  versions(shippingZoneId: string | ShippingZone, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4076
+ event_stores(shippingZoneId: string | ShippingZone, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
3956
4077
  isShippingZone(resource: any): resource is ShippingZone;
3957
4078
  relationship(id: string | ResourceId | null): ShippingZoneRel$2;
3958
4079
  relationshipToMany(...ids: string[]): ShippingZoneRel$2[];
@@ -3996,6 +4117,7 @@ interface DeliveryLeadTime extends Resource {
3996
4117
  shipping_method?: ShippingMethod | null;
3997
4118
  attachments?: Attachment[] | null;
3998
4119
  versions?: Version[] | null;
4120
+ event_stores?: EventStore[] | null;
3999
4121
  }
4000
4122
  interface DeliveryLeadTimeCreate extends ResourceCreate {
4001
4123
  /**
@@ -4034,6 +4156,7 @@ declare class DeliveryLeadTimes extends ApiResource<DeliveryLeadTime> {
4034
4156
  shipping_method(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4035
4157
  attachments(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
4036
4158
  versions(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4159
+ event_stores(deliveryLeadTimeId: string | DeliveryLeadTime, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4037
4160
  isDeliveryLeadTime(resource: any): resource is DeliveryLeadTime;
4038
4161
  relationship(id: string | ResourceId | null): DeliveryLeadTimeRel$1;
4039
4162
  relationshipToMany(...ids: string[]): DeliveryLeadTimeRel$1[];
@@ -4075,12 +4198,14 @@ interface ShippingMethodTier extends Resource {
4075
4198
  shipping_method?: ShippingMethod | null;
4076
4199
  attachments?: Attachment[] | null;
4077
4200
  versions?: Version[] | null;
4201
+ event_stores?: EventStore[] | null;
4078
4202
  }
4079
4203
  declare class ShippingMethodTiers extends ApiResource<ShippingMethodTier> {
4080
4204
  static readonly TYPE: ShippingMethodTierType;
4081
4205
  shipping_method(shippingMethodTierId: string | ShippingMethodTier, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4082
4206
  attachments(shippingMethodTierId: string | ShippingMethodTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
4083
4207
  versions(shippingMethodTierId: string | ShippingMethodTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4208
+ event_stores(shippingMethodTierId: string | ShippingMethodTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4084
4209
  isShippingMethodTier(resource: any): resource is ShippingMethodTier;
4085
4210
  relationship(id: string | ResourceId | null): ShippingMethodTierRel$2;
4086
4211
  relationshipToMany(...ids: string[]): ShippingMethodTierRel$2[];
@@ -4125,6 +4250,7 @@ interface ShippingWeightTier extends Resource {
4125
4250
  shipping_method?: ShippingMethod | null;
4126
4251
  attachments?: Attachment[] | null;
4127
4252
  versions?: Version[] | null;
4253
+ event_stores?: EventStore[] | null;
4128
4254
  }
4129
4255
  interface ShippingWeightTierCreate extends ResourceCreate {
4130
4256
  /**
@@ -4170,6 +4296,7 @@ declare class ShippingWeightTiers extends ApiResource<ShippingWeightTier> {
4170
4296
  shipping_method(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4171
4297
  attachments(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
4172
4298
  versions(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4299
+ event_stores(shippingWeightTierId: string | ShippingWeightTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4173
4300
  isShippingWeightTier(resource: any): resource is ShippingWeightTier;
4174
4301
  relationship(id: string | ResourceId | null): ShippingWeightTierRel;
4175
4302
  relationshipToMany(...ids: string[]): ShippingWeightTierRel[];
@@ -4316,6 +4443,7 @@ interface ShippingMethod extends Resource {
4316
4443
  attachments?: Attachment[] | null;
4317
4444
  notifications?: Notification[] | null;
4318
4445
  versions?: Version[] | null;
4446
+ event_stores?: EventStore[] | null;
4319
4447
  }
4320
4448
  interface ShippingMethodCreate extends ResourceCreate {
4321
4449
  /**
@@ -4481,6 +4609,7 @@ declare class ShippingMethods extends ApiResource<ShippingMethod> {
4481
4609
  attachments(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
4482
4610
  notifications(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Notification>, options?: ResourcesConfig): Promise<ListResponse<Notification>>;
4483
4611
  versions(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4612
+ event_stores(shippingMethodId: string | ShippingMethod, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4484
4613
  _disable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4485
4614
  _enable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
4486
4615
  _reset_circuit(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
@@ -4521,6 +4650,7 @@ interface Notification extends Resource {
4521
4650
  */
4522
4651
  body?: Record<string, any> | null;
4523
4652
  notifiable?: Order | LineItem | ShippingMethod | null;
4653
+ event_stores?: EventStore[] | null;
4524
4654
  }
4525
4655
  interface NotificationCreate extends ResourceCreate {
4526
4656
  /**
@@ -4561,6 +4691,7 @@ declare class Notifications extends ApiResource<Notification> {
4561
4691
  create(resource: NotificationCreate, params?: QueryParamsRetrieve<Notification>, options?: ResourcesConfig): Promise<Notification>;
4562
4692
  update(resource: NotificationUpdate, params?: QueryParamsRetrieve<Notification>, options?: ResourcesConfig): Promise<Notification>;
4563
4693
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
4694
+ event_stores(notificationId: string | Notification, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4564
4695
  isNotification(resource: any): resource is Notification;
4565
4696
  relationship(id: string | ResourceId | null): NotificationRel;
4566
4697
  relationshipToMany(...ids: string[]): NotificationRel[];
@@ -4598,6 +4729,7 @@ interface SkuListItem extends Resource {
4598
4729
  sku_list?: SkuList | null;
4599
4730
  sku?: Sku | null;
4600
4731
  versions?: Version[] | null;
4732
+ event_stores?: EventStore[] | null;
4601
4733
  }
4602
4734
  interface SkuListItemCreate extends ResourceCreate {
4603
4735
  /**
@@ -4643,6 +4775,7 @@ declare class SkuListItems extends ApiResource<SkuListItem> {
4643
4775
  sku_list(skuListItemId: string | SkuListItem, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList>;
4644
4776
  sku(skuListItemId: string | SkuListItem, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
4645
4777
  versions(skuListItemId: string | SkuListItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
4778
+ event_stores(skuListItemId: string | SkuListItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4646
4779
  isSkuListItem(resource: any): resource is SkuListItem;
4647
4780
  relationship(id: string | ResourceId | null): SkuListItemRel;
4648
4781
  relationshipToMany(...ids: string[]): SkuListItemRel[];
@@ -4727,6 +4860,7 @@ interface Link extends Resource {
4727
4860
  disabled_at?: string | null;
4728
4861
  item?: Order | Sku | SkuList | null;
4729
4862
  events?: Event[] | null;
4863
+ event_stores?: EventStore[] | null;
4730
4864
  }
4731
4865
  interface LinkCreate extends ResourceCreate {
4732
4866
  /**
@@ -4835,6 +4969,7 @@ declare class Links extends ApiResource<Link> {
4835
4969
  update(resource: LinkUpdate, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
4836
4970
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
4837
4971
  events(linkId: string | Link, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
4972
+ event_stores(linkId: string | Link, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4838
4973
  _disable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
4839
4974
  _enable(id: string | Link, params?: QueryParamsRetrieve<Link>, options?: ResourcesConfig): Promise<Link>;
4840
4975
  isLink(resource: any): resource is Link;
@@ -4889,6 +5024,7 @@ interface SkuList extends Resource {
4889
5024
  attachments?: Attachment[] | null;
4890
5025
  links?: Link[] | null;
4891
5026
  versions?: Version[] | null;
5027
+ event_stores?: EventStore[] | null;
4892
5028
  }
4893
5029
  interface SkuListCreate extends ResourceCreate {
4894
5030
  /**
@@ -4956,6 +5092,7 @@ declare class SkuLists extends ApiResource<SkuList> {
4956
5092
  attachments(skuListId: string | SkuList, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
4957
5093
  links(skuListId: string | SkuList, params?: QueryParamsList<Link>, options?: ResourcesConfig): Promise<ListResponse<Link>>;
4958
5094
  versions(skuListId: string | SkuList, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5095
+ event_stores(skuListId: string | SkuList, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
4959
5096
  isSkuList(resource: any): resource is SkuList;
4960
5097
  relationship(id: string | ResourceId | null): SkuListRel$a;
4961
5098
  relationshipToMany(...ids: string[]): SkuListRel$a[];
@@ -5053,6 +5190,7 @@ interface Bundle extends Resource {
5053
5190
  events?: Event[] | null;
5054
5191
  tags?: Tag[] | null;
5055
5192
  versions?: Version[] | null;
5193
+ event_stores?: EventStore[] | null;
5056
5194
  }
5057
5195
  interface BundleCreate extends ResourceCreate {
5058
5196
  /**
@@ -5172,6 +5310,7 @@ declare class Bundles extends ApiResource<Bundle> {
5172
5310
  events(bundleId: string | Bundle, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
5173
5311
  tags(bundleId: string | Bundle, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
5174
5312
  versions(bundleId: string | Bundle, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5313
+ event_stores(bundleId: string | Bundle, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5175
5314
  _compute_price_amount(id: string | Bundle, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
5176
5315
  _compute_compare_at_amount(id: string | Bundle, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
5177
5316
  _add_tags(id: string | Bundle, triggerValue: string, params?: QueryParamsRetrieve<Bundle>, options?: ResourcesConfig): Promise<Bundle>;
@@ -5208,6 +5347,7 @@ interface GiftCardRecipient extends Resource {
5208
5347
  */
5209
5348
  last_name?: string | null;
5210
5349
  customer?: Customer | null;
5350
+ event_stores?: EventStore[] | null;
5211
5351
  attachments?: Attachment[] | null;
5212
5352
  versions?: Version[] | null;
5213
5353
  }
@@ -5253,6 +5393,7 @@ declare class GiftCardRecipients extends ApiResource<GiftCardRecipient> {
5253
5393
  update(resource: GiftCardRecipientUpdate, params?: QueryParamsRetrieve<GiftCardRecipient>, options?: ResourcesConfig): Promise<GiftCardRecipient>;
5254
5394
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
5255
5395
  customer(giftCardRecipientId: string | GiftCardRecipient, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
5396
+ event_stores(giftCardRecipientId: string | GiftCardRecipient, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5256
5397
  attachments(giftCardRecipientId: string | GiftCardRecipient, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
5257
5398
  versions(giftCardRecipientId: string | GiftCardRecipient, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5258
5399
  isGiftCardRecipient(resource: any): resource is GiftCardRecipient;
@@ -5382,6 +5523,7 @@ interface GiftCard extends Resource {
5382
5523
  events?: Event[] | null;
5383
5524
  tags?: Tag[] | null;
5384
5525
  versions?: Version[] | null;
5526
+ event_stores?: EventStore[] | null;
5385
5527
  }
5386
5528
  interface GiftCardCreate extends ResourceCreate {
5387
5529
  /**
@@ -5525,6 +5667,7 @@ declare class GiftCards extends ApiResource<GiftCard> {
5525
5667
  events(giftCardId: string | GiftCard, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
5526
5668
  tags(giftCardId: string | GiftCard, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
5527
5669
  versions(giftCardId: string | GiftCard, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5670
+ event_stores(giftCardId: string | GiftCard, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5528
5671
  _purchase(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
5529
5672
  _activate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
5530
5673
  _deactivate(id: string | GiftCard, params?: QueryParamsRetrieve<GiftCard>, options?: ResourcesConfig): Promise<GiftCard>;
@@ -5575,6 +5718,7 @@ interface Adjustment extends Resource {
5575
5718
  */
5576
5719
  distribute_discount?: boolean | null;
5577
5720
  versions?: Version[] | null;
5721
+ event_stores?: EventStore[] | null;
5578
5722
  }
5579
5723
  interface AdjustmentCreate extends ResourceCreate {
5580
5724
  /**
@@ -5626,6 +5770,7 @@ declare class Adjustments extends ApiResource<Adjustment> {
5626
5770
  update(resource: AdjustmentUpdate, params?: QueryParamsRetrieve<Adjustment>, options?: ResourcesConfig): Promise<Adjustment>;
5627
5771
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
5628
5772
  versions(adjustmentId: string | Adjustment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5773
+ event_stores(adjustmentId: string | Adjustment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5629
5774
  isAdjustment(resource: any): resource is Adjustment;
5630
5775
  relationship(id: string | ResourceId | null): AdjustmentRel$2;
5631
5776
  relationshipToMany(...ids: string[]): AdjustmentRel$2[];
@@ -5652,6 +5797,7 @@ interface DiscountEngine extends Resource {
5652
5797
  discount_engine_items?: DiscountEngineItem[] | null;
5653
5798
  attachments?: Attachment[] | null;
5654
5799
  versions?: Version[] | null;
5800
+ event_stores?: EventStore[] | null;
5655
5801
  }
5656
5802
  declare class DiscountEngines extends ApiResource<DiscountEngine> {
5657
5803
  static readonly TYPE: DiscountEngineType;
@@ -5659,6 +5805,7 @@ declare class DiscountEngines extends ApiResource<DiscountEngine> {
5659
5805
  discount_engine_items(discountEngineId: string | DiscountEngine, params?: QueryParamsList<DiscountEngineItem>, options?: ResourcesConfig): Promise<ListResponse<DiscountEngineItem>>;
5660
5806
  attachments(discountEngineId: string | DiscountEngine, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
5661
5807
  versions(discountEngineId: string | DiscountEngine, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5808
+ event_stores(discountEngineId: string | DiscountEngine, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5662
5809
  isDiscountEngine(resource: any): resource is DiscountEngine;
5663
5810
  relationship(id: string | ResourceId | null): DiscountEngineRel$2;
5664
5811
  relationshipToMany(...ids: string[]): DiscountEngineRel$2[];
@@ -5679,11 +5826,13 @@ interface DiscountEngineItem extends Resource {
5679
5826
  body: Record<string, any>;
5680
5827
  discount_engine?: DiscountEngine | null;
5681
5828
  order?: Order | null;
5829
+ event_stores?: EventStore[] | null;
5682
5830
  }
5683
5831
  declare class DiscountEngineItems extends ApiResource<DiscountEngineItem> {
5684
5832
  static readonly TYPE: DiscountEngineItemType;
5685
5833
  discount_engine(discountEngineItemId: string | DiscountEngineItem, params?: QueryParamsRetrieve<DiscountEngine>, options?: ResourcesConfig): Promise<DiscountEngine>;
5686
5834
  order(discountEngineItemId: string | DiscountEngineItem, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
5835
+ event_stores(discountEngineItemId: string | DiscountEngineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5687
5836
  isDiscountEngineItem(resource: any): resource is DiscountEngineItem;
5688
5837
  relationship(id: string | ResourceId | null): DiscountEngineItemRel$1;
5689
5838
  relationshipToMany(...ids: string[]): DiscountEngineItemRel$1[];
@@ -5716,6 +5865,7 @@ interface CouponRecipient extends Resource {
5716
5865
  */
5717
5866
  last_name?: string | null;
5718
5867
  customer?: Customer | null;
5868
+ event_stores?: EventStore[] | null;
5719
5869
  attachments?: Attachment[] | null;
5720
5870
  versions?: Version[] | null;
5721
5871
  }
@@ -5761,6 +5911,7 @@ declare class CouponRecipients extends ApiResource<CouponRecipient> {
5761
5911
  update(resource: CouponRecipientUpdate, params?: QueryParamsRetrieve<CouponRecipient>, options?: ResourcesConfig): Promise<CouponRecipient>;
5762
5912
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
5763
5913
  customer(couponRecipientId: string | CouponRecipient, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
5914
+ event_stores(couponRecipientId: string | CouponRecipient, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5764
5915
  attachments(couponRecipientId: string | CouponRecipient, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
5765
5916
  versions(couponRecipientId: string | CouponRecipient, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
5766
5917
  isCouponRecipient(resource: any): resource is CouponRecipient;
@@ -5819,6 +5970,7 @@ interface Coupon extends Resource {
5819
5970
  events?: Event[] | null;
5820
5971
  tags?: Tag[] | null;
5821
5972
  versions?: Version[] | null;
5973
+ event_stores?: EventStore[] | null;
5822
5974
  }
5823
5975
  interface CouponCreate extends ResourceCreate {
5824
5976
  /**
@@ -5896,6 +6048,7 @@ declare class Coupons extends ApiResource<Coupon> {
5896
6048
  events(couponId: string | Coupon, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
5897
6049
  tags(couponId: string | Coupon, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
5898
6050
  versions(couponId: string | Coupon, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6051
+ event_stores(couponId: string | Coupon, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
5899
6052
  _add_tags(id: string | Coupon, triggerValue: string, params?: QueryParamsRetrieve<Coupon>, options?: ResourcesConfig): Promise<Coupon>;
5900
6053
  _remove_tags(id: string | Coupon, triggerValue: string, params?: QueryParamsRetrieve<Coupon>, options?: ResourcesConfig): Promise<Coupon>;
5901
6054
  isCoupon(resource: any): resource is Coupon;
@@ -6024,6 +6177,7 @@ interface ExternalPromotion extends Resource {
6024
6177
  events?: Event[] | null;
6025
6178
  tags?: Tag[] | null;
6026
6179
  versions?: Version[] | null;
6180
+ event_stores?: EventStore[] | null;
6027
6181
  skus?: Sku[] | null;
6028
6182
  }
6029
6183
  interface ExternalPromotionCreate extends ResourceCreate {
@@ -6173,6 +6327,7 @@ declare class ExternalPromotions extends ApiResource<ExternalPromotion> {
6173
6327
  events(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
6174
6328
  tags(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
6175
6329
  versions(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6330
+ event_stores(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
6176
6331
  skus(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
6177
6332
  _disable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
6178
6333
  _enable(id: string | ExternalPromotion, params?: QueryParamsRetrieve<ExternalPromotion>, options?: ResourcesConfig): Promise<ExternalPromotion>;
@@ -6300,6 +6455,7 @@ interface FixedAmountPromotion extends Resource {
6300
6455
  events?: Event[] | null;
6301
6456
  tags?: Tag[] | null;
6302
6457
  versions?: Version[] | null;
6458
+ event_stores?: EventStore[] | null;
6303
6459
  skus?: Sku[] | null;
6304
6460
  }
6305
6461
  interface FixedAmountPromotionCreate extends ResourceCreate {
@@ -6444,6 +6600,7 @@ declare class FixedAmountPromotions extends ApiResource<FixedAmountPromotion> {
6444
6600
  events(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
6445
6601
  tags(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
6446
6602
  versions(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6603
+ event_stores(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
6447
6604
  skus(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
6448
6605
  _disable(id: string | FixedAmountPromotion, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
6449
6606
  _enable(id: string | FixedAmountPromotion, params?: QueryParamsRetrieve<FixedAmountPromotion>, options?: ResourcesConfig): Promise<FixedAmountPromotion>;
@@ -6539,6 +6696,7 @@ interface FlexPromotion extends Resource {
6539
6696
  events?: Event[] | null;
6540
6697
  tags?: Tag[] | null;
6541
6698
  versions?: Version[] | null;
6699
+ event_stores?: EventStore[] | null;
6542
6700
  }
6543
6701
  interface FlexPromotionCreate extends ResourceCreate {
6544
6702
  /**
@@ -6657,6 +6815,7 @@ declare class FlexPromotions extends ApiResource<FlexPromotion> {
6657
6815
  events(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
6658
6816
  tags(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
6659
6817
  versions(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6818
+ event_stores(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
6660
6819
  _disable(id: string | FlexPromotion, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
6661
6820
  _enable(id: string | FlexPromotion, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
6662
6821
  _add_tags(id: string | FlexPromotion, triggerValue: string, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
@@ -6676,10 +6835,12 @@ interface PromotionRule extends Resource {
6676
6835
  readonly type: PromotionRuleType;
6677
6836
  promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
6678
6837
  versions?: Version[] | null;
6838
+ event_stores?: EventStore[] | null;
6679
6839
  }
6680
6840
  declare class PromotionRules extends ApiResource<PromotionRule> {
6681
6841
  static readonly TYPE: PromotionRuleType;
6682
6842
  versions(promotionRuleId: string | PromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
6843
+ event_stores(promotionRuleId: string | PromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
6683
6844
  isPromotionRule(resource: any): resource is PromotionRule;
6684
6845
  relationship(id: string | ResourceId | null): PromotionRuleRel;
6685
6846
  relationshipToMany(...ids: string[]): PromotionRuleRel[];
@@ -6801,6 +6962,7 @@ interface FixedPricePromotion extends Resource {
6801
6962
  events?: Event[] | null;
6802
6963
  tags?: Tag[] | null;
6803
6964
  versions?: Version[] | null;
6965
+ event_stores?: EventStore[] | null;
6804
6966
  skus?: Sku[] | null;
6805
6967
  }
6806
6968
  interface FixedPricePromotionCreate extends ResourceCreate {
@@ -6945,6 +7107,7 @@ declare class FixedPricePromotions extends ApiResource<FixedPricePromotion> {
6945
7107
  events(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
6946
7108
  tags(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
6947
7109
  versions(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7110
+ event_stores(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
6948
7111
  skus(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
6949
7112
  _disable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
6950
7113
  _enable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
@@ -6994,6 +7157,7 @@ interface CustomPromotionRule extends Resource {
6994
7157
  filters?: Record<string, any> | null;
6995
7158
  promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
6996
7159
  versions?: Version[] | null;
7160
+ event_stores?: EventStore[] | null;
6997
7161
  }
6998
7162
  interface CustomPromotionRuleCreate extends ResourceCreate {
6999
7163
  /**
@@ -7017,6 +7181,7 @@ declare class CustomPromotionRules extends ApiResource<CustomPromotionRule> {
7017
7181
  update(resource: CustomPromotionRuleUpdate, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule>;
7018
7182
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
7019
7183
  versions(customPromotionRuleId: string | CustomPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7184
+ event_stores(customPromotionRuleId: string | CustomPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7020
7185
  isCustomPromotionRule(resource: any): resource is CustomPromotionRule;
7021
7186
  relationship(id: string | ResourceId | null): CustomPromotionRuleRel$4;
7022
7187
  relationshipToMany(...ids: string[]): CustomPromotionRuleRel$4[];
@@ -7128,6 +7293,7 @@ interface FreeGiftPromotion extends Resource {
7128
7293
  events?: Event[] | null;
7129
7294
  tags?: Tag[] | null;
7130
7295
  versions?: Version[] | null;
7296
+ event_stores?: EventStore[] | null;
7131
7297
  skus?: Sku[] | null;
7132
7298
  }
7133
7299
  interface FreeGiftPromotionCreate extends ResourceCreate {
@@ -7272,6 +7438,7 @@ declare class FreeGiftPromotions extends ApiResource<FreeGiftPromotion> {
7272
7438
  events(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
7273
7439
  tags(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
7274
7440
  versions(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7441
+ event_stores(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7275
7442
  skus(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
7276
7443
  _disable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
7277
7444
  _enable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
@@ -7319,6 +7486,7 @@ interface CouponCodesPromotionRule extends Resource {
7319
7486
  readonly type: CouponCodesPromotionRuleType;
7320
7487
  promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
7321
7488
  versions?: Version[] | null;
7489
+ event_stores?: EventStore[] | null;
7322
7490
  coupons?: Coupon[] | null;
7323
7491
  }
7324
7492
  interface CouponCodesPromotionRuleCreate extends ResourceCreate {
@@ -7335,6 +7503,7 @@ declare class CouponCodesPromotionRules extends ApiResource<CouponCodesPromotion
7335
7503
  update(resource: CouponCodesPromotionRuleUpdate, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule>;
7336
7504
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
7337
7505
  versions(couponCodesPromotionRuleId: string | CouponCodesPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7506
+ event_stores(couponCodesPromotionRuleId: string | CouponCodesPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7338
7507
  coupons(couponCodesPromotionRuleId: string | CouponCodesPromotionRule, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>>;
7339
7508
  isCouponCodesPromotionRule(resource: any): resource is CouponCodesPromotionRule;
7340
7509
  relationship(id: string | ResourceId | null): CouponCodesPromotionRuleRel$3;
@@ -7457,6 +7626,7 @@ interface BuyXPayYPromotion extends Resource {
7457
7626
  events?: Event[] | null;
7458
7627
  tags?: Tag[] | null;
7459
7628
  versions?: Version[] | null;
7629
+ event_stores?: EventStore[] | null;
7460
7630
  skus?: Sku[] | null;
7461
7631
  }
7462
7632
  interface BuyXPayYPromotionCreate extends ResourceCreate {
@@ -7621,6 +7791,7 @@ declare class BuyXPayYPromotions extends ApiResource<BuyXPayYPromotion> {
7621
7791
  events(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
7622
7792
  tags(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
7623
7793
  versions(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7794
+ event_stores(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7624
7795
  skus(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
7625
7796
  _disable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
7626
7797
  _enable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
@@ -7678,6 +7849,7 @@ interface SkuListPromotionRule extends Resource {
7678
7849
  min_quantity?: number | null;
7679
7850
  promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
7680
7851
  versions?: Version[] | null;
7852
+ event_stores?: EventStore[] | null;
7681
7853
  sku_list?: SkuList | null;
7682
7854
  skus?: Sku[] | null;
7683
7855
  }
@@ -7715,6 +7887,7 @@ declare class SkuListPromotionRules extends ApiResource<SkuListPromotionRule> {
7715
7887
  update(resource: SkuListPromotionRuleUpdate, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule>;
7716
7888
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
7717
7889
  versions(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
7890
+ event_stores(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7718
7891
  sku_list(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList>;
7719
7892
  skus(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
7720
7893
  isSkuListPromotionRule(resource: any): resource is SkuListPromotionRule;
@@ -7823,6 +7996,7 @@ interface FreeShippingPromotion extends Resource {
7823
7996
  events?: Event[] | null;
7824
7997
  tags?: Tag[] | null;
7825
7998
  versions?: Version[] | null;
7999
+ event_stores?: EventStore[] | null;
7826
8000
  }
7827
8001
  interface FreeShippingPromotionCreate extends ResourceCreate {
7828
8002
  /**
@@ -7956,6 +8130,7 @@ declare class FreeShippingPromotions extends ApiResource<FreeShippingPromotion>
7956
8130
  events(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
7957
8131
  tags(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
7958
8132
  versions(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
8133
+ event_stores(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
7959
8134
  _disable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
7960
8135
  _enable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
7961
8136
  _add_tags(id: string | FreeShippingPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
@@ -8019,6 +8194,7 @@ interface OrderAmountPromotionRule extends Resource {
8019
8194
  use_subtotal?: boolean | null;
8020
8195
  promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
8021
8196
  versions?: Version[] | null;
8197
+ event_stores?: EventStore[] | null;
8022
8198
  }
8023
8199
  interface OrderAmountPromotionRuleCreate extends ResourceCreate {
8024
8200
  /**
@@ -8052,6 +8228,7 @@ declare class OrderAmountPromotionRules extends ApiResource<OrderAmountPromotion
8052
8228
  update(resource: OrderAmountPromotionRuleUpdate, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule>;
8053
8229
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
8054
8230
  versions(orderAmountPromotionRuleId: string | OrderAmountPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
8231
+ event_stores(orderAmountPromotionRuleId: string | OrderAmountPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
8055
8232
  isOrderAmountPromotionRule(resource: any): resource is OrderAmountPromotionRule;
8056
8233
  relationship(id: string | ResourceId | null): OrderAmountPromotionRuleRel$1;
8057
8234
  relationshipToMany(...ids: string[]): OrderAmountPromotionRuleRel$1[];
@@ -8163,6 +8340,7 @@ interface PercentageDiscountPromotion extends Resource {
8163
8340
  events?: Event[] | null;
8164
8341
  tags?: Tag[] | null;
8165
8342
  versions?: Version[] | null;
8343
+ event_stores?: EventStore[] | null;
8166
8344
  skus?: Sku[] | null;
8167
8345
  }
8168
8346
  interface PercentageDiscountPromotionCreate extends ResourceCreate {
@@ -8307,6 +8485,7 @@ declare class PercentageDiscountPromotions extends ApiResource<PercentageDiscoun
8307
8485
  events(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
8308
8486
  tags(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
8309
8487
  versions(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
8488
+ event_stores(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
8310
8489
  skus(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
8311
8490
  _disable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
8312
8491
  _enable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
@@ -8562,6 +8741,7 @@ interface LineItem extends Resource {
8562
8741
  notifications?: Notification[] | null;
8563
8742
  events?: Event[] | null;
8564
8743
  tags?: Tag[] | null;
8744
+ event_stores?: EventStore[] | null;
8565
8745
  }
8566
8746
  interface LineItemCreate extends ResourceCreate {
8567
8747
  /**
@@ -8713,6 +8893,7 @@ declare class LineItems extends ApiResource<LineItem> {
8713
8893
  notifications(lineItemId: string | LineItem, params?: QueryParamsList<Notification>, options?: ResourcesConfig): Promise<ListResponse<Notification>>;
8714
8894
  events(lineItemId: string | LineItem, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
8715
8895
  tags(lineItemId: string | LineItem, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
8896
+ event_stores(lineItemId: string | LineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
8716
8897
  _external_price(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
8717
8898
  _reserve_stock(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
8718
8899
  _reset_circuit(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
@@ -8794,6 +8975,7 @@ interface OrderSubscriptionItem extends Resource {
8794
8975
  bundle?: Bundle | null;
8795
8976
  adjustment?: Adjustment | null;
8796
8977
  source_line_item?: LineItem | null;
8978
+ event_stores?: EventStore[] | null;
8797
8979
  }
8798
8980
  interface OrderSubscriptionItemCreate extends ResourceCreate {
8799
8981
  /**
@@ -8851,6 +9033,7 @@ declare class OrderSubscriptionItems extends ApiResource<OrderSubscriptionItem>
8851
9033
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
8852
9034
  order_subscription(orderSubscriptionItemId: string | OrderSubscriptionItem, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
8853
9035
  source_line_item(orderSubscriptionItemId: string | OrderSubscriptionItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
9036
+ event_stores(orderSubscriptionItemId: string | OrderSubscriptionItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
8854
9037
  isOrderSubscriptionItem(resource: any): resource is OrderSubscriptionItem;
8855
9038
  relationship(id: string | ResourceId | null): OrderSubscriptionItemRel;
8856
9039
  relationshipToMany(...ids: string[]): OrderSubscriptionItemRel[];
@@ -8907,12 +9090,14 @@ interface OrderFactory extends Resource {
8907
9090
  source_order?: Order | null;
8908
9091
  target_order?: Order | null;
8909
9092
  events?: Event[] | null;
9093
+ event_stores?: EventStore[] | null;
8910
9094
  }
8911
9095
  declare class OrderFactories extends ApiResource<OrderFactory> {
8912
9096
  static readonly TYPE: OrderFactoryType;
8913
9097
  source_order(orderFactoryId: string | OrderFactory, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
8914
9098
  target_order(orderFactoryId: string | OrderFactory, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
8915
9099
  events(orderFactoryId: string | OrderFactory, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
9100
+ event_stores(orderFactoryId: string | OrderFactory, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
8916
9101
  isOrderFactory(resource: any): resource is OrderFactory;
8917
9102
  relationship(id: string | ResourceId | null): OrderFactoryRel;
8918
9103
  relationshipToMany(...ids: string[]): OrderFactoryRel[];
@@ -8975,6 +9160,7 @@ interface RecurringOrderCopy extends Resource {
8975
9160
  source_order?: Order | null;
8976
9161
  target_order?: Order | null;
8977
9162
  events?: Event[] | null;
9163
+ event_stores?: EventStore[] | null;
8978
9164
  order_subscription?: OrderSubscription | null;
8979
9165
  }
8980
9166
  interface RecurringOrderCopyCreate extends ResourceCreate {
@@ -9000,6 +9186,7 @@ declare class RecurringOrderCopies extends ApiResource<RecurringOrderCopy> {
9000
9186
  source_order(recurringOrderCopyId: string | RecurringOrderCopy, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
9001
9187
  target_order(recurringOrderCopyId: string | RecurringOrderCopy, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
9002
9188
  events(recurringOrderCopyId: string | RecurringOrderCopy, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
9189
+ event_stores(recurringOrderCopyId: string | RecurringOrderCopy, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
9003
9190
  order_subscription(recurringOrderCopyId: string | RecurringOrderCopy, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
9004
9191
  isRecurringOrderCopy(resource: any): resource is RecurringOrderCopy;
9005
9192
  relationship(id: string | ResourceId | null): RecurringOrderCopyRel;
@@ -9108,6 +9295,7 @@ interface OrderSubscription extends Resource {
9108
9295
  events?: Event[] | null;
9109
9296
  tags?: Tag[] | null;
9110
9297
  versions?: Version[] | null;
9298
+ event_stores?: EventStore[] | null;
9111
9299
  }
9112
9300
  interface OrderSubscriptionCreate extends ResourceCreate {
9113
9301
  /**
@@ -9223,6 +9411,7 @@ declare class OrderSubscriptions extends ApiResource<OrderSubscription> {
9223
9411
  events(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
9224
9412
  tags(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
9225
9413
  versions(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
9414
+ event_stores(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
9226
9415
  _activate(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
9227
9416
  _deactivate(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
9228
9417
  _cancel(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
@@ -9311,6 +9500,7 @@ interface Customer extends Resource {
9311
9500
  jwt_customer?: Customer | null;
9312
9501
  jwt_markets?: Market[] | null;
9313
9502
  jwt_stock_locations?: StockLocation[] | null;
9503
+ event_stores?: EventStore[] | null;
9314
9504
  }
9315
9505
  interface CustomerCreate extends ResourceCreate {
9316
9506
  /**
@@ -9407,6 +9597,7 @@ declare class Customers extends ApiResource<Customer> {
9407
9597
  jwt_customer(customerId: string | Customer, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
9408
9598
  jwt_markets(customerId: string | Customer, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
9409
9599
  jwt_stock_locations(customerId: string | Customer, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>>;
9600
+ event_stores(customerId: string | Customer, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
9410
9601
  _add_tags(id: string | Customer, triggerValue: string, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
9411
9602
  _remove_tags(id: string | Customer, triggerValue: string, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
9412
9603
  _request_anonymization(id: string | Customer, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
@@ -9444,6 +9635,7 @@ interface PaymentOption extends Resource {
9444
9635
  data: Record<string, any>;
9445
9636
  order?: Order | null;
9446
9637
  attachments?: Attachment[] | null;
9638
+ event_stores?: EventStore[] | null;
9447
9639
  }
9448
9640
  interface PaymentOptionCreate extends ResourceCreate {
9449
9641
  /**
@@ -9483,6 +9675,7 @@ declare class PaymentOptions extends ApiResource<PaymentOption> {
9483
9675
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
9484
9676
  order(paymentOptionId: string | PaymentOption, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
9485
9677
  attachments(paymentOptionId: string | PaymentOption, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
9678
+ event_stores(paymentOptionId: string | PaymentOption, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
9486
9679
  isPaymentOption(resource: any): resource is PaymentOption;
9487
9680
  relationship(id: string | ResourceId | null): PaymentOptionRel$1;
9488
9681
  relationshipToMany(...ids: string[]): PaymentOptionRel$1[];
@@ -9562,6 +9755,7 @@ interface OrderCopy extends Resource {
9562
9755
  source_order?: Order | null;
9563
9756
  target_order?: Order | null;
9564
9757
  events?: Event[] | null;
9758
+ event_stores?: EventStore[] | null;
9565
9759
  order_subscription?: OrderSubscription | null;
9566
9760
  }
9567
9761
  interface OrderCopyCreate extends ResourceCreate {
@@ -9606,6 +9800,7 @@ declare class OrderCopies extends ApiResource<OrderCopy> {
9606
9800
  source_order(orderCopyId: string | OrderCopy, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
9607
9801
  target_order(orderCopyId: string | OrderCopy, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
9608
9802
  events(orderCopyId: string | OrderCopy, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
9803
+ event_stores(orderCopyId: string | OrderCopy, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
9609
9804
  order_subscription(orderCopyId: string | OrderCopy, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
9610
9805
  isOrderCopy(resource: any): resource is OrderCopy;
9611
9806
  relationship(id: string | ResourceId | null): OrderCopyRel;
@@ -9665,7 +9860,7 @@ type WireTransferRel = ResourceRel & {
9665
9860
  type TagRel$3 = ResourceRel & {
9666
9861
  type: TagType;
9667
9862
  };
9668
- type OrderSort = Pick<Order, 'id' | 'number' | 'affiliate_code' | 'place_async' | 'status' | 'payment_status' | 'fulfillment_status' | 'guest' | 'language_code' | 'currency_code' | 'tax_included' | 'tax_rate' | 'country_code' | 'coupon_code' | 'gift_card_code' | 'subtotal_amount_cents' | 'shipping_amount_cents' | 'payment_method_amount_cents' | 'discount_amount_cents' | 'adjustment_amount_cents' | 'gift_card_amount_cents' | 'total_tax_amount_cents' | 'subtotal_tax_amount_cents' | 'total_amount_cents' | 'fees_amount_cents' | 'duty_amount_cents' | 'placed_at' | 'approved_at' | 'cancelled_at' | 'payment_updated_at' | 'fulfillment_updated_at' | 'refreshed_at' | 'archived_at' | 'subscription_created_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort;
9863
+ type OrderSort = Pick<Order, 'id' | 'number' | 'affiliate_code' | 'place_async' | 'status' | 'payment_status' | 'fulfillment_status' | 'guest' | 'language_code' | 'currency_code' | 'tax_included' | 'tax_rate' | 'country_code' | 'coupon_code' | 'gift_card_code' | 'subtotal_amount_cents' | 'shipping_amount_cents' | 'payment_method_amount_cents' | 'discount_amount_cents' | 'adjustment_amount_cents' | 'gift_card_amount_cents' | 'total_tax_amount_cents' | 'subtotal_tax_amount_cents' | 'total_amount_cents' | 'fees_amount_cents' | 'duty_amount_cents' | 'placed_at' | 'approved_at' | 'cancelled_at' | 'payment_updated_at' | 'fulfillment_updated_at' | 'refreshed_at' | 'archived_at' | 'subscription_created_at' | 'expires_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort;
9669
9864
  interface Order extends Resource {
9670
9865
  readonly type: OrderType;
9671
9866
  /**
@@ -10189,6 +10384,16 @@ interface Order extends Resource {
10189
10384
  * @example ```"2018-01-01T12:00:00.000Z"```
10190
10385
  */
10191
10386
  subscription_created_at?: string | null;
10387
+ /**
10388
+ * The expiration date/time of this order. Cannot be passed by sales channels.
10389
+ * @example ```"2018-01-02T12:00:00.000Z"```
10390
+ */
10391
+ expires_at?: string | null;
10392
+ /**
10393
+ * The information related to the order expiration, in case expires_at is not null. Cannot be passed by sales channels.
10394
+ * @example ```{"summary_message":"Your tickets are reserved for the remaining time.","expired_message":"Your session has expired. Please start your checkout again.","redirect_url":"https://yourshop.com/"}```
10395
+ */
10396
+ expiration_info?: Record<string, any> | null;
10192
10397
  /**
10193
10398
  * 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.
10194
10399
  * @example ```"closed"```
@@ -10238,6 +10443,7 @@ interface Order extends Resource {
10238
10443
  events?: Event[] | null;
10239
10444
  tags?: Tag[] | null;
10240
10445
  versions?: Version[] | null;
10446
+ event_stores?: EventStore[] | null;
10241
10447
  }
10242
10448
  interface OrderCreate extends ResourceCreate {
10243
10449
  /**
@@ -10334,6 +10540,16 @@ interface OrderCreate extends ResourceCreate {
10334
10540
  * @example ```"https://yourdomain.com/privacy"```
10335
10541
  */
10336
10542
  privacy_url?: string | null;
10543
+ /**
10544
+ * The expiration date/time of this order. Cannot be passed by sales channels.
10545
+ * @example ```"2018-01-02T12:00:00.000Z"```
10546
+ */
10547
+ expires_at?: string | null;
10548
+ /**
10549
+ * The information related to the order expiration, in case expires_at is not null. Cannot be passed by sales channels.
10550
+ * @example ```{"summary_message":"Your tickets are reserved for the remaining time.","expired_message":"Your session has expired. Please start your checkout again.","redirect_url":"https://yourshop.com/"}```
10551
+ */
10552
+ expiration_info?: Record<string, any> | null;
10337
10553
  market?: MarketRel$5 | null;
10338
10554
  customer?: CustomerRel$2 | null;
10339
10555
  shipping_address?: AddressRel$4 | null;
@@ -10587,6 +10803,16 @@ interface OrderUpdate extends ResourceUpdate {
10587
10803
  * @example ```true```
10588
10804
  */
10589
10805
  _stop_editing?: boolean | null;
10806
+ /**
10807
+ * The expiration date/time of this order. Cannot be passed by sales channels.
10808
+ * @example ```"2018-01-02T12:00:00.000Z"```
10809
+ */
10810
+ expires_at?: string | null;
10811
+ /**
10812
+ * The information related to the order expiration, in case expires_at is not null. Cannot be passed by sales channels.
10813
+ * @example ```{"summary_message":"Your tickets are reserved for the remaining time.","expired_message":"Your session has expired. Please start your checkout again.","redirect_url":"https://yourshop.com/"}```
10814
+ */
10815
+ expiration_info?: Record<string, any> | null;
10590
10816
  /**
10591
10817
  * 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.
10592
10818
  * @example ```true```
@@ -10651,6 +10877,7 @@ declare class Orders extends ApiResource<Order> {
10651
10877
  events(orderId: string | Order, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
10652
10878
  tags(orderId: string | Order, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
10653
10879
  versions(orderId: string | Order, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
10880
+ event_stores(orderId: string | Order, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
10654
10881
  _archive(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
10655
10882
  _unarchive(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
10656
10883
  _pending(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
@@ -10734,6 +10961,7 @@ interface Package extends Resource {
10734
10961
  parcels?: Parcel[] | null;
10735
10962
  attachments?: Attachment[] | null;
10736
10963
  versions?: Version[] | null;
10964
+ event_stores?: EventStore[] | null;
10737
10965
  }
10738
10966
  interface PackageCreate extends ResourceCreate {
10739
10967
  /**
@@ -10810,6 +11038,7 @@ declare class Packages extends ApiResource<Package> {
10810
11038
  parcels(packageId: string | Package, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
10811
11039
  attachments(packageId: string | Package, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
10812
11040
  versions(packageId: string | Package, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11041
+ event_stores(packageId: string | Package, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
10813
11042
  isPackage(resource: any): resource is Package;
10814
11043
  relationship(id: string | ResourceId | null): PackageRel$2;
10815
11044
  relationshipToMany(...ids: string[]): PackageRel$2[];
@@ -10857,6 +11086,7 @@ interface ParcelLineItem extends Resource {
10857
11086
  parcel?: Parcel | null;
10858
11087
  stock_line_item?: StockLineItem | null;
10859
11088
  versions?: Version[] | null;
11089
+ event_stores?: EventStore[] | null;
10860
11090
  }
10861
11091
  interface ParcelLineItemCreate extends ResourceCreate {
10862
11092
  /**
@@ -10876,6 +11106,7 @@ declare class ParcelLineItems extends ApiResource<ParcelLineItem> {
10876
11106
  parcel(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsRetrieve<Parcel>, options?: ResourcesConfig): Promise<Parcel>;
10877
11107
  stock_line_item(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsRetrieve<StockLineItem>, options?: ResourcesConfig): Promise<StockLineItem>;
10878
11108
  versions(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11109
+ event_stores(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
10879
11110
  isParcelLineItem(resource: any): resource is ParcelLineItem;
10880
11111
  relationship(id: string | ResourceId | null): ParcelLineItemRel;
10881
11112
  relationshipToMany(...ids: string[]): ParcelLineItemRel[];
@@ -11022,6 +11253,7 @@ interface Parcel extends Resource {
11022
11253
  attachments?: Attachment[] | null;
11023
11254
  events?: Event[] | null;
11024
11255
  versions?: Version[] | null;
11256
+ event_stores?: EventStore[] | null;
11025
11257
  }
11026
11258
  interface ParcelCreate extends ResourceCreate {
11027
11259
  /**
@@ -11274,6 +11506,7 @@ declare class Parcels extends ApiResource<Parcel> {
11274
11506
  attachments(parcelId: string | Parcel, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
11275
11507
  events(parcelId: string | Parcel, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
11276
11508
  versions(parcelId: string | Parcel, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11509
+ event_stores(parcelId: string | Parcel, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11277
11510
  isParcel(resource: any): resource is Parcel;
11278
11511
  relationship(id: string | ResourceId | null): ParcelRel$1;
11279
11512
  relationshipToMany(...ids: string[]): ParcelRel$1[];
@@ -11300,12 +11533,14 @@ interface Pickup extends Resource {
11300
11533
  shipment?: Shipment | null;
11301
11534
  parcels?: Parcel[] | null;
11302
11535
  events?: Event[] | null;
11536
+ event_stores?: EventStore[] | null;
11303
11537
  }
11304
11538
  declare class Pickups extends ApiResource<Pickup> {
11305
11539
  static readonly TYPE: PickupType;
11306
11540
  shipment(pickupId: string | Pickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11307
11541
  parcels(pickupId: string | Pickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
11308
11542
  events(pickupId: string | Pickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
11543
+ event_stores(pickupId: string | Pickup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11309
11544
  isPickup(resource: any): resource is Pickup;
11310
11545
  relationship(id: string | ResourceId | null): PickupRel;
11311
11546
  relationshipToMany(...ids: string[]): PickupRel[];
@@ -11345,6 +11580,7 @@ interface CarrierAccount extends Resource {
11345
11580
  market?: Market | null;
11346
11581
  attachments?: Attachment[] | null;
11347
11582
  versions?: Version[] | null;
11583
+ event_stores?: EventStore[] | null;
11348
11584
  }
11349
11585
  interface CarrierAccountCreate extends ResourceCreate {
11350
11586
  /**
@@ -11390,6 +11626,7 @@ declare class CarrierAccounts extends ApiResource<CarrierAccount> {
11390
11626
  market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
11391
11627
  attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
11392
11628
  versions(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11629
+ event_stores(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11393
11630
  isCarrierAccount(resource: any): resource is CarrierAccount;
11394
11631
  relationship(id: string | ResourceId | null): CarrierAccountRel$1;
11395
11632
  relationshipToMany(...ids: string[]): CarrierAccountRel$1[];
@@ -11550,6 +11787,7 @@ interface Shipment extends Resource {
11550
11787
  events?: Event[] | null;
11551
11788
  tags?: Tag[] | null;
11552
11789
  versions?: Version[] | null;
11790
+ event_stores?: EventStore[] | null;
11553
11791
  }
11554
11792
  interface ShipmentCreate extends ResourceCreate {
11555
11793
  order: OrderRel$1;
@@ -11673,6 +11911,7 @@ declare class Shipments extends ApiResource<Shipment> {
11673
11911
  events(shipmentId: string | Shipment, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
11674
11912
  tags(shipmentId: string | Shipment, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
11675
11913
  versions(shipmentId: string | Shipment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11914
+ event_stores(shipmentId: string | Shipment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11676
11915
  _upcoming(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11677
11916
  _cancel(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11678
11917
  _on_hold(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
@@ -11767,6 +12006,7 @@ interface StockTransfer extends Resource {
11767
12006
  attachments?: Attachment[] | null;
11768
12007
  events?: Event[] | null;
11769
12008
  versions?: Version[] | null;
12009
+ event_stores?: EventStore[] | null;
11770
12010
  }
11771
12011
  interface StockTransferCreate extends ResourceCreate {
11772
12012
  /**
@@ -11856,6 +12096,7 @@ declare class StockTransfers extends ApiResource<StockTransfer> {
11856
12096
  attachments(stockTransferId: string | StockTransfer, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
11857
12097
  events(stockTransferId: string | StockTransfer, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
11858
12098
  versions(stockTransferId: string | StockTransfer, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12099
+ event_stores(stockTransferId: string | StockTransfer, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11859
12100
  _upcoming(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
11860
12101
  _on_hold(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
11861
12102
  _picking(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
@@ -11910,6 +12151,7 @@ interface StockLocation extends Resource {
11910
12151
  stores?: Store[] | null;
11911
12152
  attachments?: Attachment[] | null;
11912
12153
  versions?: Version[] | null;
12154
+ event_stores?: EventStore[] | null;
11913
12155
  }
11914
12156
  interface StockLocationCreate extends ResourceCreate {
11915
12157
  /**
@@ -11968,6 +12210,7 @@ declare class StockLocations extends ApiResource<StockLocation> {
11968
12210
  stores(stockLocationId: string | StockLocation, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>>;
11969
12211
  attachments(stockLocationId: string | StockLocation, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
11970
12212
  versions(stockLocationId: string | StockLocation, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12213
+ event_stores(stockLocationId: string | StockLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
11971
12214
  isStockLocation(resource: any): resource is StockLocation;
11972
12215
  relationship(id: string | ResourceId | null): StockLocationRel$2;
11973
12216
  relationshipToMany(...ids: string[]): StockLocationRel$2[];
@@ -12003,6 +12246,7 @@ interface StockItem extends Resource {
12003
12246
  stock_reservations?: StockReservation[] | null;
12004
12247
  attachments?: Attachment[] | null;
12005
12248
  versions?: Version[] | null;
12249
+ event_stores?: EventStore[] | null;
12006
12250
  }
12007
12251
  interface StockItemCreate extends ResourceCreate {
12008
12252
  /**
@@ -12048,6 +12292,7 @@ declare class StockItems extends ApiResource<StockItem> {
12048
12292
  stock_reservations(stockItemId: string | StockItem, params?: QueryParamsList<StockReservation>, options?: ResourcesConfig): Promise<ListResponse<StockReservation>>;
12049
12293
  attachments(stockItemId: string | StockItem, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12050
12294
  versions(stockItemId: string | StockItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12295
+ event_stores(stockItemId: string | StockItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12051
12296
  _validate(id: string | StockItem, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem>;
12052
12297
  isStockItem(resource: any): resource is StockItem;
12053
12298
  relationship(id: string | ResourceId | null): StockItemRel$1;
@@ -12142,6 +12387,7 @@ interface Sku extends Resource {
12142
12387
  jwt_customer?: Customer | null;
12143
12388
  jwt_markets?: Market[] | null;
12144
12389
  jwt_stock_locations?: StockLocation[] | null;
12390
+ event_stores?: EventStore[] | null;
12145
12391
  }
12146
12392
  interface SkuCreate extends ResourceCreate {
12147
12393
  /**
@@ -12276,6 +12522,7 @@ declare class Skus extends ApiResource<Sku> {
12276
12522
  jwt_customer(skuId: string | Sku, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
12277
12523
  jwt_markets(skuId: string | Sku, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
12278
12524
  jwt_stock_locations(skuId: string | Sku, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>>;
12525
+ event_stores(skuId: string | Sku, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12279
12526
  _add_tags(id: string | Sku, triggerValue: string, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
12280
12527
  _remove_tags(id: string | Sku, triggerValue: string, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
12281
12528
  isSku(resource: any): resource is Sku;
@@ -12319,12 +12566,14 @@ interface PriceTier extends Resource {
12319
12566
  price?: Price | null;
12320
12567
  attachments?: Attachment[] | null;
12321
12568
  versions?: Version[] | null;
12569
+ event_stores?: EventStore[] | null;
12322
12570
  }
12323
12571
  declare class PriceTiers extends ApiResource<PriceTier> {
12324
12572
  static readonly TYPE: PriceTierType;
12325
12573
  price(priceTierId: string | PriceTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price>;
12326
12574
  attachments(priceTierId: string | PriceTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12327
12575
  versions(priceTierId: string | PriceTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12576
+ event_stores(priceTierId: string | PriceTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12328
12577
  isPriceTier(resource: any): resource is PriceTier;
12329
12578
  relationship(id: string | ResourceId | null): PriceTierRel$2;
12330
12579
  relationshipToMany(...ids: string[]): PriceTierRel$2[];
@@ -12369,6 +12618,7 @@ interface PriceVolumeTier extends Resource {
12369
12618
  price?: Price | null;
12370
12619
  attachments?: Attachment[] | null;
12371
12620
  versions?: Version[] | null;
12621
+ event_stores?: EventStore[] | null;
12372
12622
  events?: Event[] | null;
12373
12623
  }
12374
12624
  interface PriceVolumeTierCreate extends ResourceCreate {
@@ -12415,6 +12665,7 @@ declare class PriceVolumeTiers extends ApiResource<PriceVolumeTier> {
12415
12665
  price(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price>;
12416
12666
  attachments(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12417
12667
  versions(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12668
+ event_stores(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12418
12669
  events(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
12419
12670
  isPriceVolumeTier(resource: any): resource is PriceVolumeTier;
12420
12671
  relationship(id: string | ResourceId | null): PriceVolumeTierRel;
@@ -12460,6 +12711,7 @@ interface PriceFrequencyTier extends Resource {
12460
12711
  price?: Price | null;
12461
12712
  attachments?: Attachment[] | null;
12462
12713
  versions?: Version[] | null;
12714
+ event_stores?: EventStore[] | null;
12463
12715
  events?: Event[] | null;
12464
12716
  }
12465
12717
  interface PriceFrequencyTierCreate extends ResourceCreate {
@@ -12506,6 +12758,7 @@ declare class PriceFrequencyTiers extends ApiResource<PriceFrequencyTier> {
12506
12758
  price(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price>;
12507
12759
  attachments(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12508
12760
  versions(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
12761
+ event_stores(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12509
12762
  events(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
12510
12763
  isPriceFrequencyTier(resource: any): resource is PriceFrequencyTier;
12511
12764
  relationship(id: string | ResourceId | null): PriceFrequencyTierRel;
@@ -12614,6 +12867,7 @@ interface Price extends Resource {
12614
12867
  jwt_customer?: Customer | null;
12615
12868
  jwt_markets?: Market[] | null;
12616
12869
  jwt_stock_locations?: StockLocation[] | null;
12870
+ event_stores?: EventStore[] | null;
12617
12871
  }
12618
12872
  interface PriceCreate extends ResourceCreate {
12619
12873
  /**
@@ -12685,6 +12939,7 @@ declare class Prices extends ApiResource<Price> {
12685
12939
  jwt_customer(priceId: string | Price, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
12686
12940
  jwt_markets(priceId: string | Price, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
12687
12941
  jwt_stock_locations(priceId: string | Price, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>>;
12942
+ event_stores(priceId: string | Price, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12688
12943
  isPrice(resource: any): resource is Price;
12689
12944
  relationship(id: string | ResourceId | null): PriceRel$1;
12690
12945
  relationshipToMany(...ids: string[]): PriceRel$1[];
@@ -12738,6 +12993,7 @@ interface PriceListScheduler extends Resource {
12738
12993
  price_list?: PriceList | null;
12739
12994
  events?: Event[] | null;
12740
12995
  versions?: Version[] | null;
12996
+ event_stores?: EventStore[] | null;
12741
12997
  }
12742
12998
  interface PriceListSchedulerCreate extends ResourceCreate {
12743
12999
  /**
@@ -12806,6 +13062,7 @@ declare class PriceListSchedulers extends ApiResource<PriceListScheduler> {
12806
13062
  price_list(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList>;
12807
13063
  events(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
12808
13064
  versions(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13065
+ event_stores(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12809
13066
  _disable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler>;
12810
13067
  _enable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler>;
12811
13068
  isPriceListScheduler(resource: any): resource is PriceListScheduler;
@@ -12860,6 +13117,7 @@ interface PriceList extends Resource {
12860
13117
  price_list_schedulers?: PriceListScheduler[] | null;
12861
13118
  attachments?: Attachment[] | null;
12862
13119
  versions?: Version[] | null;
13120
+ event_stores?: EventStore[] | null;
12863
13121
  }
12864
13122
  interface PriceListCreate extends ResourceCreate {
12865
13123
  /**
@@ -12924,6 +13182,7 @@ declare class PriceLists extends ApiResource<PriceList> {
12924
13182
  price_list_schedulers(priceListId: string | PriceList, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
12925
13183
  attachments(priceListId: string | PriceList, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
12926
13184
  versions(priceListId: string | PriceList, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13185
+ event_stores(priceListId: string | PriceList, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
12927
13186
  isPriceList(resource: any): resource is PriceList;
12928
13187
  relationship(id: string | ResourceId | null): PriceListRel$2;
12929
13188
  relationshipToMany(...ids: string[]): PriceListRel$2[];
@@ -12996,6 +13255,7 @@ interface Transaction extends Resource {
12996
13255
  attachments?: Attachment[] | null;
12997
13256
  events?: Event[] | null;
12998
13257
  versions?: Version[] | null;
13258
+ event_stores?: EventStore[] | null;
12999
13259
  }
13000
13260
  declare class Transactions extends ApiResource<Transaction> {
13001
13261
  static readonly TYPE: TransactionType;
@@ -13003,6 +13263,7 @@ declare class Transactions extends ApiResource<Transaction> {
13003
13263
  attachments(transactionId: string | Transaction, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13004
13264
  events(transactionId: string | Transaction, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13005
13265
  versions(transactionId: string | Transaction, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13266
+ event_stores(transactionId: string | Transaction, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13006
13267
  isTransaction(resource: any): resource is Transaction;
13007
13268
  relationship(id: string | ResourceId | null): TransactionRel$1;
13008
13269
  relationshipToMany(...ids: string[]): TransactionRel$1[];
@@ -13088,6 +13349,7 @@ interface Promotion extends Resource {
13088
13349
  events?: Event[] | null;
13089
13350
  tags?: Tag[] | null;
13090
13351
  versions?: Version[] | null;
13352
+ event_stores?: EventStore[] | null;
13091
13353
  }
13092
13354
  declare class Promotions extends ApiResource<Promotion> {
13093
13355
  static readonly TYPE: PromotionType;
@@ -13102,6 +13364,7 @@ declare class Promotions extends ApiResource<Promotion> {
13102
13364
  events(promotionId: string | Promotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13103
13365
  tags(promotionId: string | Promotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
13104
13366
  versions(promotionId: string | Promotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13367
+ event_stores(promotionId: string | Promotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13105
13368
  isPromotion(resource: any): resource is Promotion;
13106
13369
  relationship(id: string | ResourceId | null): PromotionRel$1;
13107
13370
  relationshipToMany(...ids: string[]): PromotionRel$1[];
@@ -13124,6 +13387,7 @@ interface TaxCalculator extends Resource {
13124
13387
  attachments?: Attachment[] | null;
13125
13388
  events?: Event[] | null;
13126
13389
  versions?: Version[] | null;
13390
+ event_stores?: EventStore[] | null;
13127
13391
  }
13128
13392
  declare class TaxCalculators extends ApiResource<TaxCalculator> {
13129
13393
  static readonly TYPE: TaxCalculatorType;
@@ -13131,6 +13395,7 @@ declare class TaxCalculators extends ApiResource<TaxCalculator> {
13131
13395
  attachments(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13132
13396
  events(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13133
13397
  versions(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13398
+ event_stores(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13134
13399
  isTaxCalculator(resource: any): resource is TaxCalculator;
13135
13400
  relationship(id: string | ResourceId | null): TaxCalculatorRel$1;
13136
13401
  relationshipToMany(...ids: string[]): TaxCalculatorRel$1[];
@@ -13176,6 +13441,7 @@ interface AvalaraAccount extends Resource {
13176
13441
  attachments?: Attachment[] | null;
13177
13442
  events?: Event[] | null;
13178
13443
  versions?: Version[] | null;
13444
+ event_stores?: EventStore[] | null;
13179
13445
  tax_categories?: TaxCategory[] | null;
13180
13446
  }
13181
13447
  interface AvalaraAccountCreate extends ResourceCreate {
@@ -13253,6 +13519,7 @@ declare class AvalaraAccounts extends ApiResource<AvalaraAccount> {
13253
13519
  attachments(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13254
13520
  events(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13255
13521
  versions(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13522
+ event_stores(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13256
13523
  tax_categories(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<TaxCategory>, options?: ResourcesConfig): Promise<ListResponse<TaxCategory>>;
13257
13524
  isAvalaraAccount(resource: any): resource is AvalaraAccount;
13258
13525
  relationship(id: string | ResourceId | null): AvalaraAccountRel$2;
@@ -13284,6 +13551,7 @@ interface StripeTaxAccount extends Resource {
13284
13551
  attachments?: Attachment[] | null;
13285
13552
  events?: Event[] | null;
13286
13553
  versions?: Version[] | null;
13554
+ event_stores?: EventStore[] | null;
13287
13555
  tax_categories?: TaxCategory[] | null;
13288
13556
  }
13289
13557
  interface StripeTaxAccountCreate extends ResourceCreate {
@@ -13331,6 +13599,7 @@ declare class StripeTaxAccounts extends ApiResource<StripeTaxAccount> {
13331
13599
  attachments(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13332
13600
  events(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13333
13601
  versions(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13602
+ event_stores(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13334
13603
  tax_categories(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<TaxCategory>, options?: ResourcesConfig): Promise<ListResponse<TaxCategory>>;
13335
13604
  isStripeTaxAccount(resource: any): resource is StripeTaxAccount;
13336
13605
  relationship(id: string | ResourceId | null): StripeTaxAccountRel$2;
@@ -13379,6 +13648,7 @@ interface VertexAccount extends Resource {
13379
13648
  attachments?: Attachment[] | null;
13380
13649
  events?: Event[] | null;
13381
13650
  versions?: Version[] | null;
13651
+ event_stores?: EventStore[] | null;
13382
13652
  }
13383
13653
  interface VertexAccountCreate extends ResourceCreate {
13384
13654
  /**
@@ -13458,6 +13728,7 @@ declare class VertexAccounts extends ApiResource<VertexAccount> {
13458
13728
  attachments(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13459
13729
  events(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13460
13730
  versions(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13731
+ event_stores(vertexAccountId: string | VertexAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13461
13732
  _refresh_token(id: string | VertexAccount, params?: QueryParamsRetrieve<VertexAccount>, options?: ResourcesConfig): Promise<VertexAccount>;
13462
13733
  isVertexAccount(resource: any): resource is VertexAccount;
13463
13734
  relationship(id: string | ResourceId | null): VertexAccountRel$2;
@@ -13484,6 +13755,7 @@ interface TaxjarAccount extends Resource {
13484
13755
  attachments?: Attachment[] | null;
13485
13756
  events?: Event[] | null;
13486
13757
  versions?: Version[] | null;
13758
+ event_stores?: EventStore[] | null;
13487
13759
  tax_categories?: TaxCategory[] | null;
13488
13760
  }
13489
13761
  interface TaxjarAccountCreate extends ResourceCreate {
@@ -13521,6 +13793,7 @@ declare class TaxjarAccounts extends ApiResource<TaxjarAccount> {
13521
13793
  attachments(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13522
13794
  events(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13523
13795
  versions(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
13796
+ event_stores(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13524
13797
  tax_categories(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<TaxCategory>, options?: ResourcesConfig): Promise<ListResponse<TaxCategory>>;
13525
13798
  isTaxjarAccount(resource: any): resource is TaxjarAccount;
13526
13799
  relationship(id: string | ResourceId | null): TaxjarAccountRel$2;
@@ -13601,6 +13874,7 @@ interface TaxRule extends Resource {
13601
13874
  not_zip_code_regex?: string | null;
13602
13875
  manual_tax_calculator?: ManualTaxCalculator | null;
13603
13876
  versions?: Version[] | null;
13877
+ event_stores?: EventStore[] | null;
13604
13878
  }
13605
13879
  interface TaxRuleCreate extends ResourceCreate {
13606
13880
  /**
@@ -13727,6 +14001,7 @@ declare class TaxRules extends ApiResource<TaxRule> {
13727
14001
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
13728
14002
  manual_tax_calculator(taxRuleId: string | TaxRule, params?: QueryParamsRetrieve<ManualTaxCalculator>, options?: ResourcesConfig): Promise<ManualTaxCalculator>;
13729
14003
  versions(taxRuleId: string | TaxRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14004
+ event_stores(taxRuleId: string | TaxRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13730
14005
  isTaxRule(resource: any): resource is TaxRule;
13731
14006
  relationship(id: string | ResourceId | null): TaxRuleRel$1;
13732
14007
  relationshipToMany(...ids: string[]): TaxRuleRel$1[];
@@ -13752,6 +14027,7 @@ interface ManualTaxCalculator extends Resource {
13752
14027
  attachments?: Attachment[] | null;
13753
14028
  events?: Event[] | null;
13754
14029
  versions?: Version[] | null;
14030
+ event_stores?: EventStore[] | null;
13755
14031
  tax_rules?: TaxRule[] | null;
13756
14032
  }
13757
14033
  interface ManualTaxCalculatorCreate extends ResourceCreate {
@@ -13779,6 +14055,7 @@ declare class ManualTaxCalculators extends ApiResource<ManualTaxCalculator> {
13779
14055
  attachments(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13780
14056
  events(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13781
14057
  versions(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14058
+ event_stores(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13782
14059
  tax_rules(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<TaxRule>, options?: ResourcesConfig): Promise<ListResponse<TaxRule>>;
13783
14060
  isManualTaxCalculator(resource: any): resource is ManualTaxCalculator;
13784
14061
  relationship(id: string | ResourceId | null): ManualTaxCalculatorRel$2;
@@ -13822,6 +14099,7 @@ interface ExternalTaxCalculator extends Resource {
13822
14099
  attachments?: Attachment[] | null;
13823
14100
  events?: Event[] | null;
13824
14101
  versions?: Version[] | null;
14102
+ event_stores?: EventStore[] | null;
13825
14103
  }
13826
14104
  interface ExternalTaxCalculatorCreate extends ResourceCreate {
13827
14105
  /**
@@ -13861,6 +14139,7 @@ declare class ExternalTaxCalculators extends ApiResource<ExternalTaxCalculator>
13861
14139
  attachments(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13862
14140
  events(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
13863
14141
  versions(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14142
+ event_stores(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13864
14143
  _reset_circuit(id: string | ExternalTaxCalculator, params?: QueryParamsRetrieve<ExternalTaxCalculator>, options?: ResourcesConfig): Promise<ExternalTaxCalculator>;
13865
14144
  isExternalTaxCalculator(resource: any): resource is ExternalTaxCalculator;
13866
14145
  relationship(id: string | ResourceId | null): ExternalTaxCalculatorRel$2;
@@ -13910,6 +14189,7 @@ interface TaxCategory extends Resource {
13910
14189
  tax_calculator?: AvalaraAccount | StripeTaxAccount | VertexAccount | TaxjarAccount | ManualTaxCalculator | ExternalTaxCalculator | null;
13911
14190
  attachments?: Attachment[] | null;
13912
14191
  versions?: Version[] | null;
14192
+ event_stores?: EventStore[] | null;
13913
14193
  }
13914
14194
  interface TaxCategoryCreate extends ResourceCreate {
13915
14195
  /**
@@ -13946,6 +14226,7 @@ declare class TaxCategories extends ApiResource<TaxCategory> {
13946
14226
  sku(taxCategoryId: string | TaxCategory, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
13947
14227
  attachments(taxCategoryId: string | TaxCategory, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
13948
14228
  versions(taxCategoryId: string | TaxCategory, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14229
+ event_stores(taxCategoryId: string | TaxCategory, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
13949
14230
  isTaxCategory(resource: any): resource is TaxCategory;
13950
14231
  relationship(id: string | ResourceId | null): TaxCategoryRel$1;
13951
14232
  relationshipToMany(...ids: string[]): TaxCategoryRel$1[];
@@ -14089,6 +14370,7 @@ interface Attachment extends Resource {
14089
14370
  */
14090
14371
  url?: string | null;
14091
14372
  attachable?: Geocoder | PriceList | PaymentMethod | Market | CustomerGroup | Order | Transaction | Promotion | TaxCalculator | TaxCategory | Sku | ShippingCategory | Bundle | SkuList | StockItem | StockLocation | Return | CarrierAccount | CouponRecipient | Customer | DeliveryLeadTime | ShippingMethod | DiscountEngine | Shipment | Parcel | GiftCardRecipient | GiftCard | InventoryModel | StockTransfer | SkuOption | Merchant | SubscriptionModel | PaymentOption | Package | Price | PriceTier | ShippingMethodTier | ShippingZone | null;
14373
+ event_stores?: EventStore[] | null;
14092
14374
  }
14093
14375
  interface AttachmentCreate extends ResourceCreate {
14094
14376
  /**
@@ -14131,6 +14413,7 @@ declare class Attachments extends ApiResource<Attachment> {
14131
14413
  create(resource: AttachmentCreate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment>;
14132
14414
  update(resource: AttachmentUpdate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment>;
14133
14415
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
14416
+ event_stores(attachmentId: string | Attachment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14134
14417
  isAttachment(resource: any): resource is Attachment;
14135
14418
  relationship(id: string | ResourceId | null): AttachmentRel;
14136
14419
  relationshipToMany(...ids: string[]): AttachmentRel[];
@@ -14155,6 +14438,7 @@ interface Merchant extends Resource {
14155
14438
  address?: Address | null;
14156
14439
  attachments?: Attachment[] | null;
14157
14440
  versions?: Version[] | null;
14441
+ event_stores?: EventStore[] | null;
14158
14442
  }
14159
14443
  interface MerchantCreate extends ResourceCreate {
14160
14444
  /**
@@ -14180,6 +14464,7 @@ declare class Merchants extends ApiResource<Merchant> {
14180
14464
  address(merchantId: string | Merchant, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
14181
14465
  attachments(merchantId: string | Merchant, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
14182
14466
  versions(merchantId: string | Merchant, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14467
+ event_stores(merchantId: string | Merchant, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14183
14468
  isMerchant(resource: any): resource is Merchant;
14184
14469
  relationship(id: string | ResourceId | null): MerchantRel$1;
14185
14470
  relationshipToMany(...ids: string[]): MerchantRel$1[];
@@ -14308,6 +14593,7 @@ interface Market extends Resource {
14308
14593
  price_list_schedulers?: PriceListScheduler[] | null;
14309
14594
  attachments?: Attachment[] | null;
14310
14595
  versions?: Version[] | null;
14596
+ event_stores?: EventStore[] | null;
14311
14597
  }
14312
14598
  interface MarketCreate extends ResourceCreate {
14313
14599
  /**
@@ -14443,6 +14729,7 @@ declare class Markets extends ApiResource<Market> {
14443
14729
  price_list_schedulers(marketId: string | Market, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
14444
14730
  attachments(marketId: string | Market, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
14445
14731
  versions(marketId: string | Market, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
14732
+ event_stores(marketId: string | Market, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14446
14733
  _disable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
14447
14734
  _enable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
14448
14735
  isMarket(resource: any): resource is Market;
@@ -14466,12 +14753,14 @@ interface Geocoder extends Resource {
14466
14753
  markets?: Market[] | null;
14467
14754
  addresses?: Address[] | null;
14468
14755
  attachments?: Attachment[] | null;
14756
+ event_stores?: EventStore[] | null;
14469
14757
  }
14470
14758
  declare class Geocoders extends ApiResource<Geocoder> {
14471
14759
  static readonly TYPE: GeocoderType;
14472
14760
  markets(geocoderId: string | Geocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
14473
14761
  addresses(geocoderId: string | Geocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>>;
14474
14762
  attachments(geocoderId: string | Geocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
14763
+ event_stores(geocoderId: string | Geocoder, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14475
14764
  isGeocoder(resource: any): resource is Geocoder;
14476
14765
  relationship(id: string | ResourceId | null): GeocoderRel$1;
14477
14766
  relationshipToMany(...ids: string[]): GeocoderRel$1[];
@@ -14614,6 +14903,7 @@ interface Address extends Resource {
14614
14903
  events?: Event[] | null;
14615
14904
  tags?: Tag[] | null;
14616
14905
  versions?: Version[] | null;
14906
+ event_stores?: EventStore[] | null;
14617
14907
  }
14618
14908
  interface AddressCreate extends ResourceCreate {
14619
14909
  /**
@@ -14798,6 +15088,7 @@ declare class Addresses extends ApiResource<Address> {
14798
15088
  events(addressId: string | Address, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
14799
15089
  tags(addressId: string | Address, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
14800
15090
  versions(addressId: string | Address, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
15091
+ event_stores(addressId: string | Address, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14801
15092
  _add_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
14802
15093
  _remove_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
14803
15094
  isAddress(resource: any): resource is Address;
@@ -14857,6 +15148,7 @@ interface AdyenGateway extends Resource {
14857
15148
  webhook_endpoint_url?: string | null;
14858
15149
  payment_methods?: PaymentMethod[] | null;
14859
15150
  versions?: Version[] | null;
15151
+ event_stores?: EventStore[] | null;
14860
15152
  adyen_payments?: AdyenPayment[] | null;
14861
15153
  }
14862
15154
  interface AdyenGatewayCreate extends ResourceCreate {
@@ -14970,6 +15262,7 @@ declare class AdyenGateways extends ApiResource<AdyenGateway> {
14970
15262
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
14971
15263
  payment_methods(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
14972
15264
  versions(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
15265
+ event_stores(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
14973
15266
  adyen_payments(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<AdyenPayment>, options?: ResourcesConfig): Promise<ListResponse<AdyenPayment>>;
14974
15267
  isAdyenGateway(resource: any): resource is AdyenGateway;
14975
15268
  relationship(id: string | ResourceId | null): AdyenGatewayRel;
@@ -15046,6 +15339,7 @@ interface AxerveGateway extends Resource {
15046
15339
  webhook_endpoint_url?: string | null;
15047
15340
  payment_methods?: PaymentMethod[] | null;
15048
15341
  versions?: Version[] | null;
15342
+ event_stores?: EventStore[] | null;
15049
15343
  axerve_payments?: AxervePayment[] | null;
15050
15344
  }
15051
15345
  interface AxerveGatewayCreate extends ResourceCreate {
@@ -15091,6 +15385,7 @@ declare class AxerveGateways extends ApiResource<AxerveGateway> {
15091
15385
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15092
15386
  payment_methods(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
15093
15387
  versions(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
15388
+ event_stores(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15094
15389
  axerve_payments(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<AxervePayment>, options?: ResourcesConfig): Promise<ListResponse<AxervePayment>>;
15095
15390
  isAxerveGateway(resource: any): resource is AxerveGateway;
15096
15391
  relationship(id: string | ResourceId | null): AxerveGatewayRel;
@@ -15113,6 +15408,7 @@ interface BingGeocoder extends Resource {
15113
15408
  markets?: Market[] | null;
15114
15409
  addresses?: Address[] | null;
15115
15410
  attachments?: Attachment[] | null;
15411
+ event_stores?: EventStore[] | null;
15116
15412
  }
15117
15413
  interface BingGeocoderCreate extends ResourceCreate {
15118
15414
  /**
@@ -15146,6 +15442,7 @@ declare class BingGeocoders extends ApiResource<BingGeocoder> {
15146
15442
  markets(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
15147
15443
  addresses(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>>;
15148
15444
  attachments(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
15445
+ event_stores(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15149
15446
  isBingGeocoder(resource: any): resource is BingGeocoder;
15150
15447
  relationship(id: string | ResourceId | null): BingGeocoderRel;
15151
15448
  relationshipToMany(...ids: string[]): BingGeocoderRel[];
@@ -15189,6 +15486,7 @@ interface BraintreeGateway extends Resource {
15189
15486
  webhook_endpoint_url?: string | null;
15190
15487
  payment_methods?: PaymentMethod[] | null;
15191
15488
  versions?: Version[] | null;
15489
+ event_stores?: EventStore[] | null;
15192
15490
  braintree_payments?: BraintreePayment[] | null;
15193
15491
  }
15194
15492
  interface BraintreeGatewayCreate extends ResourceCreate {
@@ -15284,6 +15582,7 @@ declare class BraintreeGateways extends ApiResource<BraintreeGateway> {
15284
15582
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15285
15583
  payment_methods(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
15286
15584
  versions(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
15585
+ event_stores(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15287
15586
  braintree_payments(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<BraintreePayment>, options?: ResourcesConfig): Promise<ListResponse<BraintreePayment>>;
15288
15587
  isBraintreeGateway(resource: any): resource is BraintreeGateway;
15289
15588
  relationship(id: string | ResourceId | null): BraintreeGatewayRel;
@@ -15323,6 +15622,7 @@ interface CheckoutComGateway extends Resource {
15323
15622
  webhook_endpoint_url?: string | null;
15324
15623
  payment_methods?: PaymentMethod[] | null;
15325
15624
  versions?: Version[] | null;
15625
+ event_stores?: EventStore[] | null;
15326
15626
  checkout_com_payments?: CheckoutComPayment[] | null;
15327
15627
  }
15328
15628
  interface CheckoutComGatewayCreate extends ResourceCreate {
@@ -15368,6 +15668,7 @@ declare class CheckoutComGateways extends ApiResource<CheckoutComGateway> {
15368
15668
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15369
15669
  payment_methods(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
15370
15670
  versions(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
15671
+ event_stores(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15371
15672
  checkout_com_payments(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<CheckoutComPayment>, options?: ResourcesConfig): Promise<ListResponse<CheckoutComPayment>>;
15372
15673
  isCheckoutComGateway(resource: any): resource is CheckoutComGateway;
15373
15674
  relationship(id: string | ResourceId | null): CheckoutComGatewayRel;
@@ -15434,6 +15735,7 @@ interface Cleanup extends Resource {
15434
15735
  errors_log?: Record<string, any> | null;
15435
15736
  events?: Event[] | null;
15436
15737
  versions?: Version[] | null;
15738
+ event_stores?: EventStore[] | null;
15437
15739
  }
15438
15740
  interface CleanupCreate extends ResourceCreate {
15439
15741
  /**
@@ -15461,6 +15763,7 @@ declare class Cleanups extends ApiResource<Cleanup> {
15461
15763
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15462
15764
  events(cleanupId: string | Cleanup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
15463
15765
  versions(cleanupId: string | Cleanup, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
15766
+ event_stores(cleanupId: string | Cleanup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15464
15767
  _interrupt(id: string | Cleanup, params?: QueryParamsRetrieve<Cleanup>, options?: ResourcesConfig): Promise<Cleanup>;
15465
15768
  isCleanup(resource: any): resource is Cleanup;
15466
15769
  relationship(id: string | ResourceId | null): CleanupRel;
@@ -15492,6 +15795,7 @@ interface CustomerPasswordReset extends Resource {
15492
15795
  reset_password_at?: string | null;
15493
15796
  customer?: Customer | null;
15494
15797
  events?: Event[] | null;
15798
+ event_stores?: EventStore[] | null;
15495
15799
  }
15496
15800
  interface CustomerPasswordResetCreate extends ResourceCreate {
15497
15801
  /**
@@ -15519,6 +15823,7 @@ declare class CustomerPasswordResets extends ApiResource<CustomerPasswordReset>
15519
15823
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15520
15824
  customer(customerPasswordResetId: string | CustomerPasswordReset, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
15521
15825
  events(customerPasswordResetId: string | CustomerPasswordReset, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
15826
+ event_stores(customerPasswordResetId: string | CustomerPasswordReset, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15522
15827
  _reset_password_token(id: string | CustomerPasswordReset, triggerValue: string, params?: QueryParamsRetrieve<CustomerPasswordReset>, options?: ResourcesConfig): Promise<CustomerPasswordReset>;
15523
15828
  isCustomerPasswordReset(resource: any): resource is CustomerPasswordReset;
15524
15829
  relationship(id: string | ResourceId | null): CustomerPasswordResetRel;
@@ -15584,6 +15889,7 @@ interface EasypostPickup extends Resource {
15584
15889
  shipment?: Shipment | null;
15585
15890
  parcels?: Parcel[] | null;
15586
15891
  events?: Event[] | null;
15892
+ event_stores?: EventStore[] | null;
15587
15893
  }
15588
15894
  interface EasypostPickupCreate extends ResourceCreate {
15589
15895
  /**
@@ -15624,6 +15930,7 @@ declare class EasypostPickups extends ApiResource<EasypostPickup> {
15624
15930
  shipment(easypostPickupId: string | EasypostPickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
15625
15931
  parcels(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
15626
15932
  events(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
15933
+ event_stores(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15627
15934
  _purchase(id: string | EasypostPickup, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
15628
15935
  isEasypostPickup(resource: any): resource is EasypostPickup;
15629
15936
  relationship(id: string | ResourceId | null): EasypostPickupRel;
@@ -15704,6 +16011,7 @@ interface Export extends Resource {
15704
16011
  errors_log?: Record<string, any> | null;
15705
16012
  events?: Event[] | null;
15706
16013
  versions?: Version[] | null;
16014
+ event_stores?: EventStore[] | null;
15707
16015
  }
15708
16016
  interface ExportCreate extends ResourceCreate {
15709
16017
  /**
@@ -15750,6 +16058,7 @@ declare class Exports extends ApiResource<Export> {
15750
16058
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15751
16059
  events(exportId: string | Export, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
15752
16060
  versions(exportId: string | Export, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16061
+ event_stores(exportId: string | Export, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15753
16062
  _interrupt(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export>;
15754
16063
  isExport(resource: any): resource is Export;
15755
16064
  relationship(id: string | ResourceId | null): ExportRel;
@@ -15811,6 +16120,7 @@ interface ExternalGateway extends Resource {
15811
16120
  shared_secret: string;
15812
16121
  payment_methods?: PaymentMethod[] | null;
15813
16122
  versions?: Version[] | null;
16123
+ event_stores?: EventStore[] | null;
15814
16124
  external_payments?: ExternalPayment[] | null;
15815
16125
  }
15816
16126
  interface ExternalGatewayCreate extends ResourceCreate {
@@ -15889,6 +16199,7 @@ declare class ExternalGateways extends ApiResource<ExternalGateway> {
15889
16199
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15890
16200
  payment_methods(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
15891
16201
  versions(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16202
+ event_stores(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15892
16203
  external_payments(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<ExternalPayment>, options?: ResourcesConfig): Promise<ListResponse<ExternalPayment>>;
15893
16204
  _reset_circuit(id: string | ExternalGateway, params?: QueryParamsRetrieve<ExternalGateway>, options?: ResourcesConfig): Promise<ExternalGateway>;
15894
16205
  isExternalGateway(resource: any): resource is ExternalGateway;
@@ -15912,6 +16223,7 @@ interface GoogleGeocoder extends Resource {
15912
16223
  markets?: Market[] | null;
15913
16224
  addresses?: Address[] | null;
15914
16225
  attachments?: Attachment[] | null;
16226
+ event_stores?: EventStore[] | null;
15915
16227
  }
15916
16228
  interface GoogleGeocoderCreate extends ResourceCreate {
15917
16229
  /**
@@ -15945,6 +16257,7 @@ declare class GoogleGeocoders extends ApiResource<GoogleGeocoder> {
15945
16257
  markets(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
15946
16258
  addresses(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>>;
15947
16259
  attachments(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
16260
+ event_stores(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
15948
16261
  isGoogleGeocoder(resource: any): resource is GoogleGeocoder;
15949
16262
  relationship(id: string | ResourceId | null): GoogleGeocoderRel;
15950
16263
  relationshipToMany(...ids: string[]): GoogleGeocoderRel[];
@@ -16034,6 +16347,7 @@ interface Import extends Resource {
16034
16347
  */
16035
16348
  attachment_url?: string | null;
16036
16349
  events?: Event[] | null;
16350
+ event_stores?: EventStore[] | null;
16037
16351
  }
16038
16352
  interface ImportCreate extends ResourceCreate {
16039
16353
  /**
@@ -16070,6 +16384,7 @@ declare class Imports extends ApiResource<Import> {
16070
16384
  update(resource: ImportUpdate, params?: QueryParamsRetrieve<Import>, options?: ResourcesConfig): Promise<Import>;
16071
16385
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
16072
16386
  events(importId: string | Import, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
16387
+ event_stores(importId: string | Import, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16073
16388
  _interrupt(id: string | Import, params?: QueryParamsRetrieve<Import>, options?: ResourcesConfig): Promise<Import>;
16074
16389
  isImport(resource: any): resource is Import;
16075
16390
  relationship(id: string | ResourceId | null): ImportRel;
@@ -16118,6 +16433,7 @@ interface InStockSubscription extends Resource {
16118
16433
  sku?: Sku | null;
16119
16434
  events?: Event[] | null;
16120
16435
  versions?: Version[] | null;
16436
+ event_stores?: EventStore[] | null;
16121
16437
  }
16122
16438
  interface InStockSubscriptionCreate extends ResourceCreate {
16123
16439
  /**
@@ -16174,6 +16490,7 @@ declare class InStockSubscriptions extends ApiResource<InStockSubscription> {
16174
16490
  sku(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
16175
16491
  events(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
16176
16492
  versions(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16493
+ event_stores(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16177
16494
  _activate(id: string | InStockSubscription, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription>;
16178
16495
  _deactivate(id: string | InStockSubscription, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription>;
16179
16496
  isInStockSubscription(resource: any): resource is InStockSubscription;
@@ -16199,6 +16516,7 @@ interface KlarnaGateway extends Resource {
16199
16516
  name: string;
16200
16517
  payment_methods?: PaymentMethod[] | null;
16201
16518
  versions?: Version[] | null;
16519
+ event_stores?: EventStore[] | null;
16202
16520
  klarna_payments?: KlarnaPayment[] | null;
16203
16521
  }
16204
16522
  interface KlarnaGatewayCreate extends ResourceCreate {
@@ -16254,6 +16572,7 @@ declare class KlarnaGateways extends ApiResource<KlarnaGateway> {
16254
16572
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
16255
16573
  payment_methods(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
16256
16574
  versions(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16575
+ event_stores(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16257
16576
  klarna_payments(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<KlarnaPayment>, options?: ResourcesConfig): Promise<ListResponse<KlarnaPayment>>;
16258
16577
  isKlarnaGateway(resource: any): resource is KlarnaGateway;
16259
16578
  relationship(id: string | ResourceId | null): KlarnaGatewayRel;
@@ -16275,6 +16594,7 @@ interface ManualGateway extends Resource {
16275
16594
  name: string;
16276
16595
  payment_methods?: PaymentMethod[] | null;
16277
16596
  versions?: Version[] | null;
16597
+ event_stores?: EventStore[] | null;
16278
16598
  }
16279
16599
  interface ManualGatewayCreate extends ResourceCreate {
16280
16600
  /**
@@ -16297,6 +16617,7 @@ declare class ManualGateways extends ApiResource<ManualGateway> {
16297
16617
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
16298
16618
  payment_methods(manualGatewayId: string | ManualGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
16299
16619
  versions(manualGatewayId: string | ManualGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16620
+ event_stores(manualGatewayId: string | ManualGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16300
16621
  isManualGateway(resource: any): resource is ManualGateway;
16301
16622
  relationship(id: string | ResourceId | null): ManualGatewayRel;
16302
16623
  relationshipToMany(...ids: string[]): ManualGatewayRel[];
@@ -16403,6 +16724,11 @@ interface Organization extends Resource {
16403
16724
  * @example ```true```
16404
16725
  */
16405
16726
  addresses_phone_required?: boolean | null;
16727
+ /**
16728
+ * Indicates if a sales channel application without customer can read and update just guest orders.
16729
+ * @example ```true```
16730
+ */
16731
+ orders_sales_channel_guest_only?: boolean | null;
16406
16732
  /**
16407
16733
  * The minimum lapse in fraction of seconds to be observed between two consecutive shipments rebuilt. If shipments rebuilt is triggered within the minimum lapse, the update is performed, but no rebuilt is done.
16408
16734
  */
@@ -16557,9 +16883,11 @@ interface Organization extends Resource {
16557
16883
  * Enables raising of API errors in case of external promotion failure, default is false.
16558
16884
  */
16559
16885
  external_promotions_errors?: boolean | null;
16886
+ event_stores?: EventStore[] | null;
16560
16887
  }
16561
16888
  declare class Organizations extends ApiSingleton<Organization> {
16562
16889
  static readonly TYPE: OrganizationType;
16890
+ event_stores(organizationId: string | Organization, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16563
16891
  isOrganization(resource: any): resource is Organization;
16564
16892
  relationship(id: string | ResourceId | null): OrganizationRel;
16565
16893
  relationshipToMany(...ids: string[]): OrganizationRel[];
@@ -16581,6 +16909,7 @@ interface PaypalGateway extends Resource {
16581
16909
  name: string;
16582
16910
  payment_methods?: PaymentMethod[] | null;
16583
16911
  versions?: Version[] | null;
16912
+ event_stores?: EventStore[] | null;
16584
16913
  paypal_payments?: PaypalPayment[] | null;
16585
16914
  }
16586
16915
  interface PaypalGatewayCreate extends ResourceCreate {
@@ -16624,6 +16953,7 @@ declare class PaypalGateways extends ApiResource<PaypalGateway> {
16624
16953
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
16625
16954
  payment_methods(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
16626
16955
  versions(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
16956
+ event_stores(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16627
16957
  paypal_payments(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<PaypalPayment>, options?: ResourcesConfig): Promise<ListResponse<PaypalPayment>>;
16628
16958
  isPaypalGateway(resource: any): resource is PaypalGateway;
16629
16959
  relationship(id: string | ResourceId | null): PaypalGatewayRel;
@@ -16663,6 +16993,7 @@ interface SatispayGateway extends Resource {
16663
16993
  webhook_endpoint_url?: string | null;
16664
16994
  payment_methods?: PaymentMethod[] | null;
16665
16995
  versions?: Version[] | null;
16996
+ event_stores?: EventStore[] | null;
16666
16997
  satispay_payments?: SatispayPayment[] | null;
16667
16998
  }
16668
16999
  interface SatispayGatewayCreate extends ResourceCreate {
@@ -16693,6 +17024,7 @@ declare class SatispayGateways extends ApiResource<SatispayGateway> {
16693
17024
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
16694
17025
  payment_methods(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
16695
17026
  versions(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
17027
+ event_stores(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16696
17028
  satispay_payments(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<SatispayPayment>, options?: ResourcesConfig): Promise<ListResponse<SatispayPayment>>;
16697
17029
  isSatispayGateway(resource: any): resource is SatispayGateway;
16698
17030
  relationship(id: string | ResourceId | null): SatispayGatewayRel;
@@ -16744,6 +17076,7 @@ interface StripeGateway extends Resource {
16744
17076
  webhook_endpoint_url?: string | null;
16745
17077
  payment_methods?: PaymentMethod[] | null;
16746
17078
  versions?: Version[] | null;
17079
+ event_stores?: EventStore[] | null;
16747
17080
  stripe_payments?: StripePayment[] | null;
16748
17081
  }
16749
17082
  interface StripeGatewayCreate extends ResourceCreate {
@@ -16807,6 +17140,7 @@ declare class StripeGateways extends ApiResource<StripeGateway> {
16807
17140
  delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
16808
17141
  payment_methods(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
16809
17142
  versions(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
17143
+ event_stores(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16810
17144
  stripe_payments(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<StripePayment>, options?: ResourcesConfig): Promise<ListResponse<StripePayment>>;
16811
17145
  isStripeGateway(resource: any): resource is StripeGateway;
16812
17146
  relationship(id: string | ResourceId | null): StripeGatewayRel;
@@ -16839,6 +17173,7 @@ interface TalonOneAccount extends Resource {
16839
17173
  discount_engine_items?: DiscountEngineItem[] | null;
16840
17174
  attachments?: Attachment[] | null;
16841
17175
  versions?: Version[] | null;
17176
+ event_stores?: EventStore[] | null;
16842
17177
  }
16843
17178
  interface TalonOneAccountCreate extends ResourceCreate {
16844
17179
  /**
@@ -16891,13 +17226,14 @@ declare class TalonOneAccounts extends ApiResource<TalonOneAccount> {
16891
17226
  discount_engine_items(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<DiscountEngineItem>, options?: ResourcesConfig): Promise<ListResponse<DiscountEngineItem>>;
16892
17227
  attachments(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
16893
17228
  versions(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
17229
+ event_stores(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
16894
17230
  isTalonOneAccount(resource: any): resource is TalonOneAccount;
16895
17231
  relationship(id: string | ResourceId | null): TalonOneAccountRel;
16896
17232
  relationshipToMany(...ids: string[]): TalonOneAccountRel[];
16897
17233
  type(): TalonOneAccountType;
16898
17234
  }
16899
17235
 
16900
- 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' | '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';
17236
+ 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';
16901
17237
  declare const resourceList: ResourceTypeLock[];
16902
17238
  declare const singletonList: ResourceTypeLock[];
16903
17239
  type RetrievableResourceType = ResourceTypeLock;
@@ -16970,6 +17306,7 @@ type ResourceFields = {
16970
17306
  discount_engines: DiscountEngine;
16971
17307
  easypost_pickups: EasypostPickup;
16972
17308
  event_callbacks: EventCallback;
17309
+ event_stores: EventStore;
16973
17310
  events: Event;
16974
17311
  exports: Export;
16975
17312
  external_gateways: ExternalGateway;
@@ -17103,6 +17440,7 @@ type ResourceSortFields = {
17103
17440
  discount_engines: DiscountEngineSort;
17104
17441
  easypost_pickups: EasypostPickupSort;
17105
17442
  event_callbacks: EventCallbackSort;
17443
+ event_stores: EventStoreSort;
17106
17444
  events: EventSort;
17107
17445
  exports: ExportSort;
17108
17446
  external_gateways: ExternalGatewaySort;
@@ -17238,7 +17576,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
17238
17576
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
17239
17577
  declare class CommerceLayerClient {
17240
17578
  #private;
17241
- readonly openApiSchemaVersion = "7.9.3";
17579
+ readonly openApiSchemaVersion = "7.9.4";
17242
17580
  constructor(config: CommerceLayerInitConfig);
17243
17581
  get addresses(): Addresses;
17244
17582
  get adjustments(): Adjustments;
@@ -17275,6 +17613,7 @@ declare class CommerceLayerClient {
17275
17613
  get discount_engines(): DiscountEngines;
17276
17614
  get easypost_pickups(): EasypostPickups;
17277
17615
  get event_callbacks(): EventCallbacks;
17616
+ get event_stores(): EventStores;
17278
17617
  get events(): Events;
17279
17618
  get exports(): Exports;
17280
17619
  get external_gateways(): ExternalGateways;
@@ -17402,4 +17741,4 @@ declare const CommerceLayerStatic: {
17402
17741
  readonly schemaVersion: string;
17403
17742
  };
17404
17743
 
17405
- 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 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, CommerceLayer as default, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };
17744
+ 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, CommerceLayer as default, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };