@commercelayer/sdk 6.45.1 → 6.47.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 +346 -58
- package/lib/index.d.ts +346 -58
- package/lib/index.js +2 -2
- package/lib/index.mjs +2 -2
- package/package.json +4 -4
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>;
|
@@ -6513,32 +6670,18 @@ interface FlexPromotion extends Resource {
|
|
6513
6670
|
* @example ```"pending"```
|
6514
6671
|
*/
|
6515
6672
|
status?: 'disabled' | 'expired' | 'pending' | 'active' | 'inactive' | null;
|
6516
|
-
/**
|
6517
|
-
* The discount rule to be applied.
|
6518
|
-
* @example ```{}```
|
6519
|
-
*/
|
6520
|
-
rules: Record<string, any>;
|
6521
|
-
/**
|
6522
|
-
* The rule outcomes.
|
6523
|
-
* @example ```[]```
|
6524
|
-
*/
|
6525
|
-
rule_outcomes?: Record<string, any> | null;
|
6526
6673
|
/**
|
6527
6674
|
* Time at which this resource was disabled.
|
6528
6675
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
6529
6676
|
*/
|
6530
6677
|
disabled_at?: string | null;
|
6531
|
-
/**
|
6532
|
-
* The payload used to evaluate the rules.
|
6533
|
-
* @example ```{}```
|
6534
|
-
*/
|
6535
|
-
resource_payload?: Record<string, any> | null;
|
6536
6678
|
coupon_codes_promotion_rule?: CouponCodesPromotionRule | null;
|
6537
6679
|
coupons?: Coupon[] | null;
|
6538
6680
|
attachments?: Attachment[] | null;
|
6539
6681
|
events?: Event[] | null;
|
6540
6682
|
tags?: Tag[] | null;
|
6541
6683
|
versions?: Version[] | null;
|
6684
|
+
event_stores?: EventStore[] | null;
|
6542
6685
|
}
|
6543
6686
|
interface FlexPromotionCreate extends ResourceCreate {
|
6544
6687
|
/**
|
@@ -6657,6 +6800,7 @@ declare class FlexPromotions extends ApiResource<FlexPromotion> {
|
|
6657
6800
|
events(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
6658
6801
|
tags(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
6659
6802
|
versions(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
6803
|
+
event_stores(flexPromotionId: string | FlexPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
6660
6804
|
_disable(id: string | FlexPromotion, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
|
6661
6805
|
_enable(id: string | FlexPromotion, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
|
6662
6806
|
_add_tags(id: string | FlexPromotion, triggerValue: string, params?: QueryParamsRetrieve<FlexPromotion>, options?: ResourcesConfig): Promise<FlexPromotion>;
|
@@ -6676,10 +6820,12 @@ interface PromotionRule extends Resource {
|
|
6676
6820
|
readonly type: PromotionRuleType;
|
6677
6821
|
promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
|
6678
6822
|
versions?: Version[] | null;
|
6823
|
+
event_stores?: EventStore[] | null;
|
6679
6824
|
}
|
6680
6825
|
declare class PromotionRules extends ApiResource<PromotionRule> {
|
6681
6826
|
static readonly TYPE: PromotionRuleType;
|
6682
6827
|
versions(promotionRuleId: string | PromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
6828
|
+
event_stores(promotionRuleId: string | PromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
6683
6829
|
isPromotionRule(resource: any): resource is PromotionRule;
|
6684
6830
|
relationship(id: string | ResourceId | null): PromotionRuleRel;
|
6685
6831
|
relationshipToMany(...ids: string[]): PromotionRuleRel[];
|
@@ -6801,6 +6947,7 @@ interface FixedPricePromotion extends Resource {
|
|
6801
6947
|
events?: Event[] | null;
|
6802
6948
|
tags?: Tag[] | null;
|
6803
6949
|
versions?: Version[] | null;
|
6950
|
+
event_stores?: EventStore[] | null;
|
6804
6951
|
skus?: Sku[] | null;
|
6805
6952
|
}
|
6806
6953
|
interface FixedPricePromotionCreate extends ResourceCreate {
|
@@ -6945,6 +7092,7 @@ declare class FixedPricePromotions extends ApiResource<FixedPricePromotion> {
|
|
6945
7092
|
events(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
6946
7093
|
tags(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
6947
7094
|
versions(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
7095
|
+
event_stores(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
6948
7096
|
skus(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
6949
7097
|
_disable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
|
6950
7098
|
_enable(id: string | FixedPricePromotion, params?: QueryParamsRetrieve<FixedPricePromotion>, options?: ResourcesConfig): Promise<FixedPricePromotion>;
|
@@ -6994,6 +7142,7 @@ interface CustomPromotionRule extends Resource {
|
|
6994
7142
|
filters?: Record<string, any> | null;
|
6995
7143
|
promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
|
6996
7144
|
versions?: Version[] | null;
|
7145
|
+
event_stores?: EventStore[] | null;
|
6997
7146
|
}
|
6998
7147
|
interface CustomPromotionRuleCreate extends ResourceCreate {
|
6999
7148
|
/**
|
@@ -7017,6 +7166,7 @@ declare class CustomPromotionRules extends ApiResource<CustomPromotionRule> {
|
|
7017
7166
|
update(resource: CustomPromotionRuleUpdate, params?: QueryParamsRetrieve<CustomPromotionRule>, options?: ResourcesConfig): Promise<CustomPromotionRule>;
|
7018
7167
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
7019
7168
|
versions(customPromotionRuleId: string | CustomPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
7169
|
+
event_stores(customPromotionRuleId: string | CustomPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
7020
7170
|
isCustomPromotionRule(resource: any): resource is CustomPromotionRule;
|
7021
7171
|
relationship(id: string | ResourceId | null): CustomPromotionRuleRel$4;
|
7022
7172
|
relationshipToMany(...ids: string[]): CustomPromotionRuleRel$4[];
|
@@ -7128,6 +7278,7 @@ interface FreeGiftPromotion extends Resource {
|
|
7128
7278
|
events?: Event[] | null;
|
7129
7279
|
tags?: Tag[] | null;
|
7130
7280
|
versions?: Version[] | null;
|
7281
|
+
event_stores?: EventStore[] | null;
|
7131
7282
|
skus?: Sku[] | null;
|
7132
7283
|
}
|
7133
7284
|
interface FreeGiftPromotionCreate extends ResourceCreate {
|
@@ -7272,6 +7423,7 @@ declare class FreeGiftPromotions extends ApiResource<FreeGiftPromotion> {
|
|
7272
7423
|
events(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
7273
7424
|
tags(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
7274
7425
|
versions(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
7426
|
+
event_stores(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
7275
7427
|
skus(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
7276
7428
|
_disable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
|
7277
7429
|
_enable(id: string | FreeGiftPromotion, params?: QueryParamsRetrieve<FreeGiftPromotion>, options?: ResourcesConfig): Promise<FreeGiftPromotion>;
|
@@ -7319,6 +7471,7 @@ interface CouponCodesPromotionRule extends Resource {
|
|
7319
7471
|
readonly type: CouponCodesPromotionRuleType;
|
7320
7472
|
promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
|
7321
7473
|
versions?: Version[] | null;
|
7474
|
+
event_stores?: EventStore[] | null;
|
7322
7475
|
coupons?: Coupon[] | null;
|
7323
7476
|
}
|
7324
7477
|
interface CouponCodesPromotionRuleCreate extends ResourceCreate {
|
@@ -7335,6 +7488,7 @@ declare class CouponCodesPromotionRules extends ApiResource<CouponCodesPromotion
|
|
7335
7488
|
update(resource: CouponCodesPromotionRuleUpdate, params?: QueryParamsRetrieve<CouponCodesPromotionRule>, options?: ResourcesConfig): Promise<CouponCodesPromotionRule>;
|
7336
7489
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
7337
7490
|
versions(couponCodesPromotionRuleId: string | CouponCodesPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
7491
|
+
event_stores(couponCodesPromotionRuleId: string | CouponCodesPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
7338
7492
|
coupons(couponCodesPromotionRuleId: string | CouponCodesPromotionRule, params?: QueryParamsList<Coupon>, options?: ResourcesConfig): Promise<ListResponse<Coupon>>;
|
7339
7493
|
isCouponCodesPromotionRule(resource: any): resource is CouponCodesPromotionRule;
|
7340
7494
|
relationship(id: string | ResourceId | null): CouponCodesPromotionRuleRel$3;
|
@@ -7457,6 +7611,7 @@ interface BuyXPayYPromotion extends Resource {
|
|
7457
7611
|
events?: Event[] | null;
|
7458
7612
|
tags?: Tag[] | null;
|
7459
7613
|
versions?: Version[] | null;
|
7614
|
+
event_stores?: EventStore[] | null;
|
7460
7615
|
skus?: Sku[] | null;
|
7461
7616
|
}
|
7462
7617
|
interface BuyXPayYPromotionCreate extends ResourceCreate {
|
@@ -7621,6 +7776,7 @@ declare class BuyXPayYPromotions extends ApiResource<BuyXPayYPromotion> {
|
|
7621
7776
|
events(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
7622
7777
|
tags(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
7623
7778
|
versions(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
7779
|
+
event_stores(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
7624
7780
|
skus(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
7625
7781
|
_disable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
|
7626
7782
|
_enable(id: string | BuyXPayYPromotion, params?: QueryParamsRetrieve<BuyXPayYPromotion>, options?: ResourcesConfig): Promise<BuyXPayYPromotion>;
|
@@ -7678,6 +7834,7 @@ interface SkuListPromotionRule extends Resource {
|
|
7678
7834
|
min_quantity?: number | null;
|
7679
7835
|
promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
|
7680
7836
|
versions?: Version[] | null;
|
7837
|
+
event_stores?: EventStore[] | null;
|
7681
7838
|
sku_list?: SkuList | null;
|
7682
7839
|
skus?: Sku[] | null;
|
7683
7840
|
}
|
@@ -7715,6 +7872,7 @@ declare class SkuListPromotionRules extends ApiResource<SkuListPromotionRule> {
|
|
7715
7872
|
update(resource: SkuListPromotionRuleUpdate, params?: QueryParamsRetrieve<SkuListPromotionRule>, options?: ResourcesConfig): Promise<SkuListPromotionRule>;
|
7716
7873
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
7717
7874
|
versions(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
7875
|
+
event_stores(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
7718
7876
|
sku_list(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsRetrieve<SkuList>, options?: ResourcesConfig): Promise<SkuList>;
|
7719
7877
|
skus(skuListPromotionRuleId: string | SkuListPromotionRule, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
7720
7878
|
isSkuListPromotionRule(resource: any): resource is SkuListPromotionRule;
|
@@ -7823,6 +7981,7 @@ interface FreeShippingPromotion extends Resource {
|
|
7823
7981
|
events?: Event[] | null;
|
7824
7982
|
tags?: Tag[] | null;
|
7825
7983
|
versions?: Version[] | null;
|
7984
|
+
event_stores?: EventStore[] | null;
|
7826
7985
|
}
|
7827
7986
|
interface FreeShippingPromotionCreate extends ResourceCreate {
|
7828
7987
|
/**
|
@@ -7956,6 +8115,7 @@ declare class FreeShippingPromotions extends ApiResource<FreeShippingPromotion>
|
|
7956
8115
|
events(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
7957
8116
|
tags(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
7958
8117
|
versions(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
8118
|
+
event_stores(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
7959
8119
|
_disable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
|
7960
8120
|
_enable(id: string | FreeShippingPromotion, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
|
7961
8121
|
_add_tags(id: string | FreeShippingPromotion, triggerValue: string, params?: QueryParamsRetrieve<FreeShippingPromotion>, options?: ResourcesConfig): Promise<FreeShippingPromotion>;
|
@@ -8019,6 +8179,7 @@ interface OrderAmountPromotionRule extends Resource {
|
|
8019
8179
|
use_subtotal?: boolean | null;
|
8020
8180
|
promotion?: PercentageDiscountPromotion | FreeShippingPromotion | BuyXPayYPromotion | FreeGiftPromotion | FixedPricePromotion | ExternalPromotion | FixedAmountPromotion | FlexPromotion | null;
|
8021
8181
|
versions?: Version[] | null;
|
8182
|
+
event_stores?: EventStore[] | null;
|
8022
8183
|
}
|
8023
8184
|
interface OrderAmountPromotionRuleCreate extends ResourceCreate {
|
8024
8185
|
/**
|
@@ -8052,6 +8213,7 @@ declare class OrderAmountPromotionRules extends ApiResource<OrderAmountPromotion
|
|
8052
8213
|
update(resource: OrderAmountPromotionRuleUpdate, params?: QueryParamsRetrieve<OrderAmountPromotionRule>, options?: ResourcesConfig): Promise<OrderAmountPromotionRule>;
|
8053
8214
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
8054
8215
|
versions(orderAmountPromotionRuleId: string | OrderAmountPromotionRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
8216
|
+
event_stores(orderAmountPromotionRuleId: string | OrderAmountPromotionRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
8055
8217
|
isOrderAmountPromotionRule(resource: any): resource is OrderAmountPromotionRule;
|
8056
8218
|
relationship(id: string | ResourceId | null): OrderAmountPromotionRuleRel$1;
|
8057
8219
|
relationshipToMany(...ids: string[]): OrderAmountPromotionRuleRel$1[];
|
@@ -8163,6 +8325,7 @@ interface PercentageDiscountPromotion extends Resource {
|
|
8163
8325
|
events?: Event[] | null;
|
8164
8326
|
tags?: Tag[] | null;
|
8165
8327
|
versions?: Version[] | null;
|
8328
|
+
event_stores?: EventStore[] | null;
|
8166
8329
|
skus?: Sku[] | null;
|
8167
8330
|
}
|
8168
8331
|
interface PercentageDiscountPromotionCreate extends ResourceCreate {
|
@@ -8307,6 +8470,7 @@ declare class PercentageDiscountPromotions extends ApiResource<PercentageDiscoun
|
|
8307
8470
|
events(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
8308
8471
|
tags(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
8309
8472
|
versions(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
8473
|
+
event_stores(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
8310
8474
|
skus(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
8311
8475
|
_disable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
|
8312
8476
|
_enable(id: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve<PercentageDiscountPromotion>, options?: ResourcesConfig): Promise<PercentageDiscountPromotion>;
|
@@ -8562,6 +8726,7 @@ interface LineItem extends Resource {
|
|
8562
8726
|
notifications?: Notification[] | null;
|
8563
8727
|
events?: Event[] | null;
|
8564
8728
|
tags?: Tag[] | null;
|
8729
|
+
event_stores?: EventStore[] | null;
|
8565
8730
|
}
|
8566
8731
|
interface LineItemCreate extends ResourceCreate {
|
8567
8732
|
/**
|
@@ -8713,6 +8878,7 @@ declare class LineItems extends ApiResource<LineItem> {
|
|
8713
8878
|
notifications(lineItemId: string | LineItem, params?: QueryParamsList<Notification>, options?: ResourcesConfig): Promise<ListResponse<Notification>>;
|
8714
8879
|
events(lineItemId: string | LineItem, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
8715
8880
|
tags(lineItemId: string | LineItem, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
8881
|
+
event_stores(lineItemId: string | LineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
8716
8882
|
_external_price(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8717
8883
|
_reserve_stock(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
8718
8884
|
_reset_circuit(id: string | LineItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
@@ -8794,6 +8960,7 @@ interface OrderSubscriptionItem extends Resource {
|
|
8794
8960
|
bundle?: Bundle | null;
|
8795
8961
|
adjustment?: Adjustment | null;
|
8796
8962
|
source_line_item?: LineItem | null;
|
8963
|
+
event_stores?: EventStore[] | null;
|
8797
8964
|
}
|
8798
8965
|
interface OrderSubscriptionItemCreate extends ResourceCreate {
|
8799
8966
|
/**
|
@@ -8851,6 +9018,7 @@ declare class OrderSubscriptionItems extends ApiResource<OrderSubscriptionItem>
|
|
8851
9018
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
8852
9019
|
order_subscription(orderSubscriptionItemId: string | OrderSubscriptionItem, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
8853
9020
|
source_line_item(orderSubscriptionItemId: string | OrderSubscriptionItem, params?: QueryParamsRetrieve<LineItem>, options?: ResourcesConfig): Promise<LineItem>;
|
9021
|
+
event_stores(orderSubscriptionItemId: string | OrderSubscriptionItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
8854
9022
|
isOrderSubscriptionItem(resource: any): resource is OrderSubscriptionItem;
|
8855
9023
|
relationship(id: string | ResourceId | null): OrderSubscriptionItemRel;
|
8856
9024
|
relationshipToMany(...ids: string[]): OrderSubscriptionItemRel[];
|
@@ -8907,12 +9075,14 @@ interface OrderFactory extends Resource {
|
|
8907
9075
|
source_order?: Order | null;
|
8908
9076
|
target_order?: Order | null;
|
8909
9077
|
events?: Event[] | null;
|
9078
|
+
event_stores?: EventStore[] | null;
|
8910
9079
|
}
|
8911
9080
|
declare class OrderFactories extends ApiResource<OrderFactory> {
|
8912
9081
|
static readonly TYPE: OrderFactoryType;
|
8913
9082
|
source_order(orderFactoryId: string | OrderFactory, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
8914
9083
|
target_order(orderFactoryId: string | OrderFactory, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
8915
9084
|
events(orderFactoryId: string | OrderFactory, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
9085
|
+
event_stores(orderFactoryId: string | OrderFactory, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
8916
9086
|
isOrderFactory(resource: any): resource is OrderFactory;
|
8917
9087
|
relationship(id: string | ResourceId | null): OrderFactoryRel;
|
8918
9088
|
relationshipToMany(...ids: string[]): OrderFactoryRel[];
|
@@ -8975,6 +9145,7 @@ interface RecurringOrderCopy extends Resource {
|
|
8975
9145
|
source_order?: Order | null;
|
8976
9146
|
target_order?: Order | null;
|
8977
9147
|
events?: Event[] | null;
|
9148
|
+
event_stores?: EventStore[] | null;
|
8978
9149
|
order_subscription?: OrderSubscription | null;
|
8979
9150
|
}
|
8980
9151
|
interface RecurringOrderCopyCreate extends ResourceCreate {
|
@@ -9000,6 +9171,7 @@ declare class RecurringOrderCopies extends ApiResource<RecurringOrderCopy> {
|
|
9000
9171
|
source_order(recurringOrderCopyId: string | RecurringOrderCopy, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9001
9172
|
target_order(recurringOrderCopyId: string | RecurringOrderCopy, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9002
9173
|
events(recurringOrderCopyId: string | RecurringOrderCopy, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
9174
|
+
event_stores(recurringOrderCopyId: string | RecurringOrderCopy, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
9003
9175
|
order_subscription(recurringOrderCopyId: string | RecurringOrderCopy, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
9004
9176
|
isRecurringOrderCopy(resource: any): resource is RecurringOrderCopy;
|
9005
9177
|
relationship(id: string | ResourceId | null): RecurringOrderCopyRel;
|
@@ -9108,6 +9280,7 @@ interface OrderSubscription extends Resource {
|
|
9108
9280
|
events?: Event[] | null;
|
9109
9281
|
tags?: Tag[] | null;
|
9110
9282
|
versions?: Version[] | null;
|
9283
|
+
event_stores?: EventStore[] | null;
|
9111
9284
|
}
|
9112
9285
|
interface OrderSubscriptionCreate extends ResourceCreate {
|
9113
9286
|
/**
|
@@ -9223,6 +9396,7 @@ declare class OrderSubscriptions extends ApiResource<OrderSubscription> {
|
|
9223
9396
|
events(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
9224
9397
|
tags(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
9225
9398
|
versions(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
9399
|
+
event_stores(orderSubscriptionId: string | OrderSubscription, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
9226
9400
|
_activate(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
9227
9401
|
_deactivate(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
9228
9402
|
_cancel(id: string | OrderSubscription, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
@@ -9311,6 +9485,7 @@ interface Customer extends Resource {
|
|
9311
9485
|
jwt_customer?: Customer | null;
|
9312
9486
|
jwt_markets?: Market[] | null;
|
9313
9487
|
jwt_stock_locations?: StockLocation[] | null;
|
9488
|
+
event_stores?: EventStore[] | null;
|
9314
9489
|
}
|
9315
9490
|
interface CustomerCreate extends ResourceCreate {
|
9316
9491
|
/**
|
@@ -9407,6 +9582,7 @@ declare class Customers extends ApiResource<Customer> {
|
|
9407
9582
|
jwt_customer(customerId: string | Customer, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
|
9408
9583
|
jwt_markets(customerId: string | Customer, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
|
9409
9584
|
jwt_stock_locations(customerId: string | Customer, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>>;
|
9585
|
+
event_stores(customerId: string | Customer, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
9410
9586
|
_add_tags(id: string | Customer, triggerValue: string, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
|
9411
9587
|
_remove_tags(id: string | Customer, triggerValue: string, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
|
9412
9588
|
_request_anonymization(id: string | Customer, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
|
@@ -9444,6 +9620,7 @@ interface PaymentOption extends Resource {
|
|
9444
9620
|
data: Record<string, any>;
|
9445
9621
|
order?: Order | null;
|
9446
9622
|
attachments?: Attachment[] | null;
|
9623
|
+
event_stores?: EventStore[] | null;
|
9447
9624
|
}
|
9448
9625
|
interface PaymentOptionCreate extends ResourceCreate {
|
9449
9626
|
/**
|
@@ -9483,6 +9660,7 @@ declare class PaymentOptions extends ApiResource<PaymentOption> {
|
|
9483
9660
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
9484
9661
|
order(paymentOptionId: string | PaymentOption, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9485
9662
|
attachments(paymentOptionId: string | PaymentOption, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
9663
|
+
event_stores(paymentOptionId: string | PaymentOption, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
9486
9664
|
isPaymentOption(resource: any): resource is PaymentOption;
|
9487
9665
|
relationship(id: string | ResourceId | null): PaymentOptionRel$1;
|
9488
9666
|
relationshipToMany(...ids: string[]): PaymentOptionRel$1[];
|
@@ -9562,6 +9740,7 @@ interface OrderCopy extends Resource {
|
|
9562
9740
|
source_order?: Order | null;
|
9563
9741
|
target_order?: Order | null;
|
9564
9742
|
events?: Event[] | null;
|
9743
|
+
event_stores?: EventStore[] | null;
|
9565
9744
|
order_subscription?: OrderSubscription | null;
|
9566
9745
|
}
|
9567
9746
|
interface OrderCopyCreate extends ResourceCreate {
|
@@ -9606,6 +9785,7 @@ declare class OrderCopies extends ApiResource<OrderCopy> {
|
|
9606
9785
|
source_order(orderCopyId: string | OrderCopy, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9607
9786
|
target_order(orderCopyId: string | OrderCopy, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
9608
9787
|
events(orderCopyId: string | OrderCopy, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
9788
|
+
event_stores(orderCopyId: string | OrderCopy, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
9609
9789
|
order_subscription(orderCopyId: string | OrderCopy, params?: QueryParamsRetrieve<OrderSubscription>, options?: ResourcesConfig): Promise<OrderSubscription>;
|
9610
9790
|
isOrderCopy(resource: any): resource is OrderCopy;
|
9611
9791
|
relationship(id: string | ResourceId | null): OrderCopyRel;
|
@@ -9665,7 +9845,7 @@ type WireTransferRel = ResourceRel & {
|
|
9665
9845
|
type TagRel$3 = ResourceRel & {
|
9666
9846
|
type: TagType;
|
9667
9847
|
};
|
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;
|
9848
|
+
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
9849
|
interface Order extends Resource {
|
9670
9850
|
readonly type: OrderType;
|
9671
9851
|
/**
|
@@ -10189,6 +10369,16 @@ interface Order extends Resource {
|
|
10189
10369
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
10190
10370
|
*/
|
10191
10371
|
subscription_created_at?: string | null;
|
10372
|
+
/**
|
10373
|
+
* The expiration date/time of this order. Cannot be passed by sales channels.
|
10374
|
+
* @example ```"2018-01-02T12:00:00.000Z"```
|
10375
|
+
*/
|
10376
|
+
expires_at?: string | null;
|
10377
|
+
/**
|
10378
|
+
* The information related to the order expiration, in case expires_at is not null. Cannot be passed by sales channels.
|
10379
|
+
* @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/"}```
|
10380
|
+
*/
|
10381
|
+
expiration_info?: Record<string, any> | null;
|
10192
10382
|
/**
|
10193
10383
|
* 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
10384
|
* @example ```"closed"```
|
@@ -10238,6 +10428,7 @@ interface Order extends Resource {
|
|
10238
10428
|
events?: Event[] | null;
|
10239
10429
|
tags?: Tag[] | null;
|
10240
10430
|
versions?: Version[] | null;
|
10431
|
+
event_stores?: EventStore[] | null;
|
10241
10432
|
}
|
10242
10433
|
interface OrderCreate extends ResourceCreate {
|
10243
10434
|
/**
|
@@ -10334,6 +10525,16 @@ interface OrderCreate extends ResourceCreate {
|
|
10334
10525
|
* @example ```"https://yourdomain.com/privacy"```
|
10335
10526
|
*/
|
10336
10527
|
privacy_url?: string | null;
|
10528
|
+
/**
|
10529
|
+
* The expiration date/time of this order. Cannot be passed by sales channels.
|
10530
|
+
* @example ```"2018-01-02T12:00:00.000Z"```
|
10531
|
+
*/
|
10532
|
+
expires_at?: string | null;
|
10533
|
+
/**
|
10534
|
+
* The information related to the order expiration, in case expires_at is not null. Cannot be passed by sales channels.
|
10535
|
+
* @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/"}```
|
10536
|
+
*/
|
10537
|
+
expiration_info?: Record<string, any> | null;
|
10337
10538
|
market?: MarketRel$5 | null;
|
10338
10539
|
customer?: CustomerRel$2 | null;
|
10339
10540
|
shipping_address?: AddressRel$4 | null;
|
@@ -10587,6 +10788,16 @@ interface OrderUpdate extends ResourceUpdate {
|
|
10587
10788
|
* @example ```true```
|
10588
10789
|
*/
|
10589
10790
|
_stop_editing?: boolean | null;
|
10791
|
+
/**
|
10792
|
+
* The expiration date/time of this order. Cannot be passed by sales channels.
|
10793
|
+
* @example ```"2018-01-02T12:00:00.000Z"```
|
10794
|
+
*/
|
10795
|
+
expires_at?: string | null;
|
10796
|
+
/**
|
10797
|
+
* The information related to the order expiration, in case expires_at is not null. Cannot be passed by sales channels.
|
10798
|
+
* @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/"}```
|
10799
|
+
*/
|
10800
|
+
expiration_info?: Record<string, any> | null;
|
10590
10801
|
/**
|
10591
10802
|
* 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
10803
|
* @example ```true```
|
@@ -10651,6 +10862,7 @@ declare class Orders extends ApiResource<Order> {
|
|
10651
10862
|
events(orderId: string | Order, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
10652
10863
|
tags(orderId: string | Order, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
10653
10864
|
versions(orderId: string | Order, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
10865
|
+
event_stores(orderId: string | Order, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
10654
10866
|
_archive(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
10655
10867
|
_unarchive(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
10656
10868
|
_pending(id: string | Order, params?: QueryParamsRetrieve<Order>, options?: ResourcesConfig): Promise<Order>;
|
@@ -10734,6 +10946,7 @@ interface Package extends Resource {
|
|
10734
10946
|
parcels?: Parcel[] | null;
|
10735
10947
|
attachments?: Attachment[] | null;
|
10736
10948
|
versions?: Version[] | null;
|
10949
|
+
event_stores?: EventStore[] | null;
|
10737
10950
|
}
|
10738
10951
|
interface PackageCreate extends ResourceCreate {
|
10739
10952
|
/**
|
@@ -10810,6 +11023,7 @@ declare class Packages extends ApiResource<Package> {
|
|
10810
11023
|
parcels(packageId: string | Package, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
|
10811
11024
|
attachments(packageId: string | Package, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
10812
11025
|
versions(packageId: string | Package, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
11026
|
+
event_stores(packageId: string | Package, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
10813
11027
|
isPackage(resource: any): resource is Package;
|
10814
11028
|
relationship(id: string | ResourceId | null): PackageRel$2;
|
10815
11029
|
relationshipToMany(...ids: string[]): PackageRel$2[];
|
@@ -10857,6 +11071,7 @@ interface ParcelLineItem extends Resource {
|
|
10857
11071
|
parcel?: Parcel | null;
|
10858
11072
|
stock_line_item?: StockLineItem | null;
|
10859
11073
|
versions?: Version[] | null;
|
11074
|
+
event_stores?: EventStore[] | null;
|
10860
11075
|
}
|
10861
11076
|
interface ParcelLineItemCreate extends ResourceCreate {
|
10862
11077
|
/**
|
@@ -10876,6 +11091,7 @@ declare class ParcelLineItems extends ApiResource<ParcelLineItem> {
|
|
10876
11091
|
parcel(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsRetrieve<Parcel>, options?: ResourcesConfig): Promise<Parcel>;
|
10877
11092
|
stock_line_item(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsRetrieve<StockLineItem>, options?: ResourcesConfig): Promise<StockLineItem>;
|
10878
11093
|
versions(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
11094
|
+
event_stores(parcelLineItemId: string | ParcelLineItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
10879
11095
|
isParcelLineItem(resource: any): resource is ParcelLineItem;
|
10880
11096
|
relationship(id: string | ResourceId | null): ParcelLineItemRel;
|
10881
11097
|
relationshipToMany(...ids: string[]): ParcelLineItemRel[];
|
@@ -11022,6 +11238,7 @@ interface Parcel extends Resource {
|
|
11022
11238
|
attachments?: Attachment[] | null;
|
11023
11239
|
events?: Event[] | null;
|
11024
11240
|
versions?: Version[] | null;
|
11241
|
+
event_stores?: EventStore[] | null;
|
11025
11242
|
}
|
11026
11243
|
interface ParcelCreate extends ResourceCreate {
|
11027
11244
|
/**
|
@@ -11274,6 +11491,7 @@ declare class Parcels extends ApiResource<Parcel> {
|
|
11274
11491
|
attachments(parcelId: string | Parcel, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
11275
11492
|
events(parcelId: string | Parcel, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
11276
11493
|
versions(parcelId: string | Parcel, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
11494
|
+
event_stores(parcelId: string | Parcel, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
11277
11495
|
isParcel(resource: any): resource is Parcel;
|
11278
11496
|
relationship(id: string | ResourceId | null): ParcelRel$1;
|
11279
11497
|
relationshipToMany(...ids: string[]): ParcelRel$1[];
|
@@ -11300,12 +11518,14 @@ interface Pickup extends Resource {
|
|
11300
11518
|
shipment?: Shipment | null;
|
11301
11519
|
parcels?: Parcel[] | null;
|
11302
11520
|
events?: Event[] | null;
|
11521
|
+
event_stores?: EventStore[] | null;
|
11303
11522
|
}
|
11304
11523
|
declare class Pickups extends ApiResource<Pickup> {
|
11305
11524
|
static readonly TYPE: PickupType;
|
11306
11525
|
shipment(pickupId: string | Pickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11307
11526
|
parcels(pickupId: string | Pickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
|
11308
11527
|
events(pickupId: string | Pickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
11528
|
+
event_stores(pickupId: string | Pickup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
11309
11529
|
isPickup(resource: any): resource is Pickup;
|
11310
11530
|
relationship(id: string | ResourceId | null): PickupRel;
|
11311
11531
|
relationshipToMany(...ids: string[]): PickupRel[];
|
@@ -11345,6 +11565,7 @@ interface CarrierAccount extends Resource {
|
|
11345
11565
|
market?: Market | null;
|
11346
11566
|
attachments?: Attachment[] | null;
|
11347
11567
|
versions?: Version[] | null;
|
11568
|
+
event_stores?: EventStore[] | null;
|
11348
11569
|
}
|
11349
11570
|
interface CarrierAccountCreate extends ResourceCreate {
|
11350
11571
|
/**
|
@@ -11390,6 +11611,7 @@ declare class CarrierAccounts extends ApiResource<CarrierAccount> {
|
|
11390
11611
|
market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
11391
11612
|
attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
11392
11613
|
versions(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
11614
|
+
event_stores(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
11393
11615
|
isCarrierAccount(resource: any): resource is CarrierAccount;
|
11394
11616
|
relationship(id: string | ResourceId | null): CarrierAccountRel$1;
|
11395
11617
|
relationshipToMany(...ids: string[]): CarrierAccountRel$1[];
|
@@ -11550,6 +11772,7 @@ interface Shipment extends Resource {
|
|
11550
11772
|
events?: Event[] | null;
|
11551
11773
|
tags?: Tag[] | null;
|
11552
11774
|
versions?: Version[] | null;
|
11775
|
+
event_stores?: EventStore[] | null;
|
11553
11776
|
}
|
11554
11777
|
interface ShipmentCreate extends ResourceCreate {
|
11555
11778
|
order: OrderRel$1;
|
@@ -11673,6 +11896,7 @@ declare class Shipments extends ApiResource<Shipment> {
|
|
11673
11896
|
events(shipmentId: string | Shipment, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
11674
11897
|
tags(shipmentId: string | Shipment, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
11675
11898
|
versions(shipmentId: string | Shipment, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
11899
|
+
event_stores(shipmentId: string | Shipment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
11676
11900
|
_upcoming(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11677
11901
|
_cancel(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11678
11902
|
_on_hold(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
@@ -11767,6 +11991,7 @@ interface StockTransfer extends Resource {
|
|
11767
11991
|
attachments?: Attachment[] | null;
|
11768
11992
|
events?: Event[] | null;
|
11769
11993
|
versions?: Version[] | null;
|
11994
|
+
event_stores?: EventStore[] | null;
|
11770
11995
|
}
|
11771
11996
|
interface StockTransferCreate extends ResourceCreate {
|
11772
11997
|
/**
|
@@ -11856,6 +12081,7 @@ declare class StockTransfers extends ApiResource<StockTransfer> {
|
|
11856
12081
|
attachments(stockTransferId: string | StockTransfer, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
11857
12082
|
events(stockTransferId: string | StockTransfer, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
11858
12083
|
versions(stockTransferId: string | StockTransfer, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
12084
|
+
event_stores(stockTransferId: string | StockTransfer, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
11859
12085
|
_upcoming(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
|
11860
12086
|
_on_hold(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
|
11861
12087
|
_picking(id: string | StockTransfer, params?: QueryParamsRetrieve<StockTransfer>, options?: ResourcesConfig): Promise<StockTransfer>;
|
@@ -11910,6 +12136,7 @@ interface StockLocation extends Resource {
|
|
11910
12136
|
stores?: Store[] | null;
|
11911
12137
|
attachments?: Attachment[] | null;
|
11912
12138
|
versions?: Version[] | null;
|
12139
|
+
event_stores?: EventStore[] | null;
|
11913
12140
|
}
|
11914
12141
|
interface StockLocationCreate extends ResourceCreate {
|
11915
12142
|
/**
|
@@ -11968,6 +12195,7 @@ declare class StockLocations extends ApiResource<StockLocation> {
|
|
11968
12195
|
stores(stockLocationId: string | StockLocation, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>>;
|
11969
12196
|
attachments(stockLocationId: string | StockLocation, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
11970
12197
|
versions(stockLocationId: string | StockLocation, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
12198
|
+
event_stores(stockLocationId: string | StockLocation, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
11971
12199
|
isStockLocation(resource: any): resource is StockLocation;
|
11972
12200
|
relationship(id: string | ResourceId | null): StockLocationRel$2;
|
11973
12201
|
relationshipToMany(...ids: string[]): StockLocationRel$2[];
|
@@ -12003,6 +12231,7 @@ interface StockItem extends Resource {
|
|
12003
12231
|
stock_reservations?: StockReservation[] | null;
|
12004
12232
|
attachments?: Attachment[] | null;
|
12005
12233
|
versions?: Version[] | null;
|
12234
|
+
event_stores?: EventStore[] | null;
|
12006
12235
|
}
|
12007
12236
|
interface StockItemCreate extends ResourceCreate {
|
12008
12237
|
/**
|
@@ -12048,6 +12277,7 @@ declare class StockItems extends ApiResource<StockItem> {
|
|
12048
12277
|
stock_reservations(stockItemId: string | StockItem, params?: QueryParamsList<StockReservation>, options?: ResourcesConfig): Promise<ListResponse<StockReservation>>;
|
12049
12278
|
attachments(stockItemId: string | StockItem, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
12050
12279
|
versions(stockItemId: string | StockItem, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
12280
|
+
event_stores(stockItemId: string | StockItem, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
12051
12281
|
_validate(id: string | StockItem, params?: QueryParamsRetrieve<StockItem>, options?: ResourcesConfig): Promise<StockItem>;
|
12052
12282
|
isStockItem(resource: any): resource is StockItem;
|
12053
12283
|
relationship(id: string | ResourceId | null): StockItemRel$1;
|
@@ -12116,11 +12346,6 @@ interface Sku extends Resource {
|
|
12116
12346
|
* Indicates if the SKU doesn't track the stock inventory.
|
12117
12347
|
*/
|
12118
12348
|
do_not_track?: boolean | null;
|
12119
|
-
/**
|
12120
|
-
* Aggregated information about the SKU's inventory. Returned only when retrieving a single SKU.
|
12121
|
-
* @example ```{"available":true,"quantity":10,"levels":[{"quantity":4,"delivery_lead_times":[{"shipping_method":{"name":"Standard Shipping","reference":null,"price_amount_cents":700,"free_over_amount_cents":9900,"formatted_price_amount":"€7,00","formatted_free_over_amount":"€99,00"},"min":{"hours":72,"days":3},"max":{"hours":120,"days":5}},{"shipping_method":{"name":"Express Delivery","reference":null,"price_amount_cents":1200,"free_over_amount_cents":null,"formatted_price_amount":"€12,00","formatted_free_over_amount":null},"min":{"hours":48,"days":2},"max":{"hours":72,"days":3}}]},{"quantity":6,"delivery_lead_times":[{"shipping_method":{"name":"Standard Shipping","reference":null,"price_amount_cents":700,"free_over_amount_cents":9900,"formatted_price_amount":"€7,00","formatted_free_over_amount":"€99,00"},"min":{"hours":96,"days":4},"max":{"hours":144,"days":6}},{"shipping_method":{"name":"Express Delivery","reference":null,"price_amount_cents":1200,"free_over_amount_cents":null,"formatted_price_amount":"€12,00","formatted_free_over_amount":null},"min":{"hours":72,"days":3},"max":{"hours":96,"days":4}}]}]}```
|
12122
|
-
*/
|
12123
|
-
inventory?: Record<string, any> | null;
|
12124
12349
|
/**
|
12125
12350
|
* The custom_claim attached to the current JWT (if any).
|
12126
12351
|
* @example ```{}```
|
@@ -12142,6 +12367,7 @@ interface Sku extends Resource {
|
|
12142
12367
|
jwt_customer?: Customer | null;
|
12143
12368
|
jwt_markets?: Market[] | null;
|
12144
12369
|
jwt_stock_locations?: StockLocation[] | null;
|
12370
|
+
event_stores?: EventStore[] | null;
|
12145
12371
|
}
|
12146
12372
|
interface SkuCreate extends ResourceCreate {
|
12147
12373
|
/**
|
@@ -12276,6 +12502,7 @@ declare class Skus extends ApiResource<Sku> {
|
|
12276
12502
|
jwt_customer(skuId: string | Sku, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
|
12277
12503
|
jwt_markets(skuId: string | Sku, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
|
12278
12504
|
jwt_stock_locations(skuId: string | Sku, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>>;
|
12505
|
+
event_stores(skuId: string | Sku, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
12279
12506
|
_add_tags(id: string | Sku, triggerValue: string, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
|
12280
12507
|
_remove_tags(id: string | Sku, triggerValue: string, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
|
12281
12508
|
isSku(resource: any): resource is Sku;
|
@@ -12319,12 +12546,14 @@ interface PriceTier extends Resource {
|
|
12319
12546
|
price?: Price | null;
|
12320
12547
|
attachments?: Attachment[] | null;
|
12321
12548
|
versions?: Version[] | null;
|
12549
|
+
event_stores?: EventStore[] | null;
|
12322
12550
|
}
|
12323
12551
|
declare class PriceTiers extends ApiResource<PriceTier> {
|
12324
12552
|
static readonly TYPE: PriceTierType;
|
12325
12553
|
price(priceTierId: string | PriceTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price>;
|
12326
12554
|
attachments(priceTierId: string | PriceTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
12327
12555
|
versions(priceTierId: string | PriceTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
12556
|
+
event_stores(priceTierId: string | PriceTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
12328
12557
|
isPriceTier(resource: any): resource is PriceTier;
|
12329
12558
|
relationship(id: string | ResourceId | null): PriceTierRel$2;
|
12330
12559
|
relationshipToMany(...ids: string[]): PriceTierRel$2[];
|
@@ -12369,6 +12598,7 @@ interface PriceVolumeTier extends Resource {
|
|
12369
12598
|
price?: Price | null;
|
12370
12599
|
attachments?: Attachment[] | null;
|
12371
12600
|
versions?: Version[] | null;
|
12601
|
+
event_stores?: EventStore[] | null;
|
12372
12602
|
events?: Event[] | null;
|
12373
12603
|
}
|
12374
12604
|
interface PriceVolumeTierCreate extends ResourceCreate {
|
@@ -12415,6 +12645,7 @@ declare class PriceVolumeTiers extends ApiResource<PriceVolumeTier> {
|
|
12415
12645
|
price(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price>;
|
12416
12646
|
attachments(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
12417
12647
|
versions(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
12648
|
+
event_stores(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
12418
12649
|
events(priceVolumeTierId: string | PriceVolumeTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
12419
12650
|
isPriceVolumeTier(resource: any): resource is PriceVolumeTier;
|
12420
12651
|
relationship(id: string | ResourceId | null): PriceVolumeTierRel;
|
@@ -12460,6 +12691,7 @@ interface PriceFrequencyTier extends Resource {
|
|
12460
12691
|
price?: Price | null;
|
12461
12692
|
attachments?: Attachment[] | null;
|
12462
12693
|
versions?: Version[] | null;
|
12694
|
+
event_stores?: EventStore[] | null;
|
12463
12695
|
events?: Event[] | null;
|
12464
12696
|
}
|
12465
12697
|
interface PriceFrequencyTierCreate extends ResourceCreate {
|
@@ -12506,6 +12738,7 @@ declare class PriceFrequencyTiers extends ApiResource<PriceFrequencyTier> {
|
|
12506
12738
|
price(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsRetrieve<Price>, options?: ResourcesConfig): Promise<Price>;
|
12507
12739
|
attachments(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
12508
12740
|
versions(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
12741
|
+
event_stores(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
12509
12742
|
events(priceFrequencyTierId: string | PriceFrequencyTier, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
12510
12743
|
isPriceFrequencyTier(resource: any): resource is PriceFrequencyTier;
|
12511
12744
|
relationship(id: string | ResourceId | null): PriceFrequencyTierRel;
|
@@ -12526,7 +12759,7 @@ type SkuRel$3 = ResourceRel & {
|
|
12526
12759
|
type PriceTierRel$1 = ResourceRel & {
|
12527
12760
|
type: PriceTierType;
|
12528
12761
|
};
|
12529
|
-
type PriceSort = Pick<Price, 'id' | '
|
12762
|
+
type PriceSort = Pick<Price, 'id' | 'amount_cents' | 'compare_at_amount_cents'> & ResourceSort;
|
12530
12763
|
interface Price extends Resource {
|
12531
12764
|
readonly type: PriceType;
|
12532
12765
|
/**
|
@@ -12579,26 +12812,11 @@ interface Price extends Resource {
|
|
12579
12812
|
* @example ```"€130,00"```
|
12580
12813
|
*/
|
12581
12814
|
formatted_compare_at_amount?: string | null;
|
12582
|
-
/**
|
12583
|
-
* The rule outcomes.
|
12584
|
-
* @example ```[]```
|
12585
|
-
*/
|
12586
|
-
rule_outcomes?: Record<string, any> | null;
|
12587
12815
|
/**
|
12588
12816
|
* Time at which the resource was processed by API.
|
12589
12817
|
* @example ```"2018-01-01T12:00:00.000Z"```
|
12590
12818
|
*/
|
12591
12819
|
processed_at?: string | null;
|
12592
|
-
/**
|
12593
|
-
* The rules (using Rules Engine) to be applied.
|
12594
|
-
* @example ```{}```
|
12595
|
-
*/
|
12596
|
-
rules?: Record<string, any> | null;
|
12597
|
-
/**
|
12598
|
-
* The payload used to evaluate the rules.
|
12599
|
-
* @example ```{}```
|
12600
|
-
*/
|
12601
|
-
resource_payload?: Record<string, any> | null;
|
12602
12820
|
/**
|
12603
12821
|
* The custom_claim attached to the current JWT (if any).
|
12604
12822
|
* @example ```{}```
|
@@ -12614,6 +12832,7 @@ interface Price extends Resource {
|
|
12614
12832
|
jwt_customer?: Customer | null;
|
12615
12833
|
jwt_markets?: Market[] | null;
|
12616
12834
|
jwt_stock_locations?: StockLocation[] | null;
|
12835
|
+
event_stores?: EventStore[] | null;
|
12617
12836
|
}
|
12618
12837
|
interface PriceCreate extends ResourceCreate {
|
12619
12838
|
/**
|
@@ -12685,6 +12904,7 @@ declare class Prices extends ApiResource<Price> {
|
|
12685
12904
|
jwt_customer(priceId: string | Price, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
|
12686
12905
|
jwt_markets(priceId: string | Price, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
|
12687
12906
|
jwt_stock_locations(priceId: string | Price, params?: QueryParamsList<StockLocation>, options?: ResourcesConfig): Promise<ListResponse<StockLocation>>;
|
12907
|
+
event_stores(priceId: string | Price, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
12688
12908
|
isPrice(resource: any): resource is Price;
|
12689
12909
|
relationship(id: string | ResourceId | null): PriceRel$1;
|
12690
12910
|
relationshipToMany(...ids: string[]): PriceRel$1[];
|
@@ -12738,6 +12958,7 @@ interface PriceListScheduler extends Resource {
|
|
12738
12958
|
price_list?: PriceList | null;
|
12739
12959
|
events?: Event[] | null;
|
12740
12960
|
versions?: Version[] | null;
|
12961
|
+
event_stores?: EventStore[] | null;
|
12741
12962
|
}
|
12742
12963
|
interface PriceListSchedulerCreate extends ResourceCreate {
|
12743
12964
|
/**
|
@@ -12806,6 +13027,7 @@ declare class PriceListSchedulers extends ApiResource<PriceListScheduler> {
|
|
12806
13027
|
price_list(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceList>, options?: ResourcesConfig): Promise<PriceList>;
|
12807
13028
|
events(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
12808
13029
|
versions(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
13030
|
+
event_stores(priceListSchedulerId: string | PriceListScheduler, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
12809
13031
|
_disable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler>;
|
12810
13032
|
_enable(id: string | PriceListScheduler, params?: QueryParamsRetrieve<PriceListScheduler>, options?: ResourcesConfig): Promise<PriceListScheduler>;
|
12811
13033
|
isPriceListScheduler(resource: any): resource is PriceListScheduler;
|
@@ -12841,25 +13063,11 @@ interface PriceList extends Resource {
|
|
12841
13063
|
* @example ```true```
|
12842
13064
|
*/
|
12843
13065
|
tax_included?: boolean | null;
|
12844
|
-
/**
|
12845
|
-
* The rule outcomes.
|
12846
|
-
* @example ```[]```
|
12847
|
-
*/
|
12848
|
-
rule_outcomes?: Record<string, any> | null;
|
12849
|
-
/**
|
12850
|
-
* The rules (using Rules Engine) to be applied.
|
12851
|
-
* @example ```{}```
|
12852
|
-
*/
|
12853
|
-
rules?: Record<string, any> | null;
|
12854
|
-
/**
|
12855
|
-
* The payload used to evaluate the rules.
|
12856
|
-
* @example ```{}```
|
12857
|
-
*/
|
12858
|
-
resource_payload?: Record<string, any> | null;
|
12859
13066
|
prices?: Price[] | null;
|
12860
13067
|
price_list_schedulers?: PriceListScheduler[] | null;
|
12861
13068
|
attachments?: Attachment[] | null;
|
12862
13069
|
versions?: Version[] | null;
|
13070
|
+
event_stores?: EventStore[] | null;
|
12863
13071
|
}
|
12864
13072
|
interface PriceListCreate extends ResourceCreate {
|
12865
13073
|
/**
|
@@ -12924,6 +13132,7 @@ declare class PriceLists extends ApiResource<PriceList> {
|
|
12924
13132
|
price_list_schedulers(priceListId: string | PriceList, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
|
12925
13133
|
attachments(priceListId: string | PriceList, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
12926
13134
|
versions(priceListId: string | PriceList, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
13135
|
+
event_stores(priceListId: string | PriceList, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
12927
13136
|
isPriceList(resource: any): resource is PriceList;
|
12928
13137
|
relationship(id: string | ResourceId | null): PriceListRel$2;
|
12929
13138
|
relationshipToMany(...ids: string[]): PriceListRel$2[];
|
@@ -12996,6 +13205,7 @@ interface Transaction extends Resource {
|
|
12996
13205
|
attachments?: Attachment[] | null;
|
12997
13206
|
events?: Event[] | null;
|
12998
13207
|
versions?: Version[] | null;
|
13208
|
+
event_stores?: EventStore[] | null;
|
12999
13209
|
}
|
13000
13210
|
declare class Transactions extends ApiResource<Transaction> {
|
13001
13211
|
static readonly TYPE: TransactionType;
|
@@ -13003,6 +13213,7 @@ declare class Transactions extends ApiResource<Transaction> {
|
|
13003
13213
|
attachments(transactionId: string | Transaction, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
13004
13214
|
events(transactionId: string | Transaction, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
13005
13215
|
versions(transactionId: string | Transaction, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
13216
|
+
event_stores(transactionId: string | Transaction, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13006
13217
|
isTransaction(resource: any): resource is Transaction;
|
13007
13218
|
relationship(id: string | ResourceId | null): TransactionRel$1;
|
13008
13219
|
relationshipToMany(...ids: string[]): TransactionRel$1[];
|
@@ -13088,6 +13299,7 @@ interface Promotion extends Resource {
|
|
13088
13299
|
events?: Event[] | null;
|
13089
13300
|
tags?: Tag[] | null;
|
13090
13301
|
versions?: Version[] | null;
|
13302
|
+
event_stores?: EventStore[] | null;
|
13091
13303
|
}
|
13092
13304
|
declare class Promotions extends ApiResource<Promotion> {
|
13093
13305
|
static readonly TYPE: PromotionType;
|
@@ -13102,6 +13314,7 @@ declare class Promotions extends ApiResource<Promotion> {
|
|
13102
13314
|
events(promotionId: string | Promotion, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
13103
13315
|
tags(promotionId: string | Promotion, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
13104
13316
|
versions(promotionId: string | Promotion, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
13317
|
+
event_stores(promotionId: string | Promotion, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13105
13318
|
isPromotion(resource: any): resource is Promotion;
|
13106
13319
|
relationship(id: string | ResourceId | null): PromotionRel$1;
|
13107
13320
|
relationshipToMany(...ids: string[]): PromotionRel$1[];
|
@@ -13124,6 +13337,7 @@ interface TaxCalculator extends Resource {
|
|
13124
13337
|
attachments?: Attachment[] | null;
|
13125
13338
|
events?: Event[] | null;
|
13126
13339
|
versions?: Version[] | null;
|
13340
|
+
event_stores?: EventStore[] | null;
|
13127
13341
|
}
|
13128
13342
|
declare class TaxCalculators extends ApiResource<TaxCalculator> {
|
13129
13343
|
static readonly TYPE: TaxCalculatorType;
|
@@ -13131,6 +13345,7 @@ declare class TaxCalculators extends ApiResource<TaxCalculator> {
|
|
13131
13345
|
attachments(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
13132
13346
|
events(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
13133
13347
|
versions(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
13348
|
+
event_stores(taxCalculatorId: string | TaxCalculator, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13134
13349
|
isTaxCalculator(resource: any): resource is TaxCalculator;
|
13135
13350
|
relationship(id: string | ResourceId | null): TaxCalculatorRel$1;
|
13136
13351
|
relationshipToMany(...ids: string[]): TaxCalculatorRel$1[];
|
@@ -13176,6 +13391,7 @@ interface AvalaraAccount extends Resource {
|
|
13176
13391
|
attachments?: Attachment[] | null;
|
13177
13392
|
events?: Event[] | null;
|
13178
13393
|
versions?: Version[] | null;
|
13394
|
+
event_stores?: EventStore[] | null;
|
13179
13395
|
tax_categories?: TaxCategory[] | null;
|
13180
13396
|
}
|
13181
13397
|
interface AvalaraAccountCreate extends ResourceCreate {
|
@@ -13253,6 +13469,7 @@ declare class AvalaraAccounts extends ApiResource<AvalaraAccount> {
|
|
13253
13469
|
attachments(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
13254
13470
|
events(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
13255
13471
|
versions(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
13472
|
+
event_stores(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13256
13473
|
tax_categories(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList<TaxCategory>, options?: ResourcesConfig): Promise<ListResponse<TaxCategory>>;
|
13257
13474
|
isAvalaraAccount(resource: any): resource is AvalaraAccount;
|
13258
13475
|
relationship(id: string | ResourceId | null): AvalaraAccountRel$2;
|
@@ -13284,6 +13501,7 @@ interface StripeTaxAccount extends Resource {
|
|
13284
13501
|
attachments?: Attachment[] | null;
|
13285
13502
|
events?: Event[] | null;
|
13286
13503
|
versions?: Version[] | null;
|
13504
|
+
event_stores?: EventStore[] | null;
|
13287
13505
|
tax_categories?: TaxCategory[] | null;
|
13288
13506
|
}
|
13289
13507
|
interface StripeTaxAccountCreate extends ResourceCreate {
|
@@ -13331,6 +13549,7 @@ declare class StripeTaxAccounts extends ApiResource<StripeTaxAccount> {
|
|
13331
13549
|
attachments(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
13332
13550
|
events(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
13333
13551
|
versions(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
13552
|
+
event_stores(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13334
13553
|
tax_categories(stripeTaxAccountId: string | StripeTaxAccount, params?: QueryParamsList<TaxCategory>, options?: ResourcesConfig): Promise<ListResponse<TaxCategory>>;
|
13335
13554
|
isStripeTaxAccount(resource: any): resource is StripeTaxAccount;
|
13336
13555
|
relationship(id: string | ResourceId | null): StripeTaxAccountRel$2;
|
@@ -13379,6 +13598,7 @@ interface VertexAccount extends Resource {
|
|
13379
13598
|
attachments?: Attachment[] | null;
|
13380
13599
|
events?: Event[] | null;
|
13381
13600
|
versions?: Version[] | null;
|
13601
|
+
event_stores?: EventStore[] | null;
|
13382
13602
|
}
|
13383
13603
|
interface VertexAccountCreate extends ResourceCreate {
|
13384
13604
|
/**
|
@@ -13458,6 +13678,7 @@ declare class VertexAccounts extends ApiResource<VertexAccount> {
|
|
13458
13678
|
attachments(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
13459
13679
|
events(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
13460
13680
|
versions(vertexAccountId: string | VertexAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
13681
|
+
event_stores(vertexAccountId: string | VertexAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13461
13682
|
_refresh_token(id: string | VertexAccount, params?: QueryParamsRetrieve<VertexAccount>, options?: ResourcesConfig): Promise<VertexAccount>;
|
13462
13683
|
isVertexAccount(resource: any): resource is VertexAccount;
|
13463
13684
|
relationship(id: string | ResourceId | null): VertexAccountRel$2;
|
@@ -13484,6 +13705,7 @@ interface TaxjarAccount extends Resource {
|
|
13484
13705
|
attachments?: Attachment[] | null;
|
13485
13706
|
events?: Event[] | null;
|
13486
13707
|
versions?: Version[] | null;
|
13708
|
+
event_stores?: EventStore[] | null;
|
13487
13709
|
tax_categories?: TaxCategory[] | null;
|
13488
13710
|
}
|
13489
13711
|
interface TaxjarAccountCreate extends ResourceCreate {
|
@@ -13521,6 +13743,7 @@ declare class TaxjarAccounts extends ApiResource<TaxjarAccount> {
|
|
13521
13743
|
attachments(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
13522
13744
|
events(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
13523
13745
|
versions(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
13746
|
+
event_stores(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13524
13747
|
tax_categories(taxjarAccountId: string | TaxjarAccount, params?: QueryParamsList<TaxCategory>, options?: ResourcesConfig): Promise<ListResponse<TaxCategory>>;
|
13525
13748
|
isTaxjarAccount(resource: any): resource is TaxjarAccount;
|
13526
13749
|
relationship(id: string | ResourceId | null): TaxjarAccountRel$2;
|
@@ -13601,6 +13824,7 @@ interface TaxRule extends Resource {
|
|
13601
13824
|
not_zip_code_regex?: string | null;
|
13602
13825
|
manual_tax_calculator?: ManualTaxCalculator | null;
|
13603
13826
|
versions?: Version[] | null;
|
13827
|
+
event_stores?: EventStore[] | null;
|
13604
13828
|
}
|
13605
13829
|
interface TaxRuleCreate extends ResourceCreate {
|
13606
13830
|
/**
|
@@ -13727,6 +13951,7 @@ declare class TaxRules extends ApiResource<TaxRule> {
|
|
13727
13951
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
13728
13952
|
manual_tax_calculator(taxRuleId: string | TaxRule, params?: QueryParamsRetrieve<ManualTaxCalculator>, options?: ResourcesConfig): Promise<ManualTaxCalculator>;
|
13729
13953
|
versions(taxRuleId: string | TaxRule, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
13954
|
+
event_stores(taxRuleId: string | TaxRule, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13730
13955
|
isTaxRule(resource: any): resource is TaxRule;
|
13731
13956
|
relationship(id: string | ResourceId | null): TaxRuleRel$1;
|
13732
13957
|
relationshipToMany(...ids: string[]): TaxRuleRel$1[];
|
@@ -13752,6 +13977,7 @@ interface ManualTaxCalculator extends Resource {
|
|
13752
13977
|
attachments?: Attachment[] | null;
|
13753
13978
|
events?: Event[] | null;
|
13754
13979
|
versions?: Version[] | null;
|
13980
|
+
event_stores?: EventStore[] | null;
|
13755
13981
|
tax_rules?: TaxRule[] | null;
|
13756
13982
|
}
|
13757
13983
|
interface ManualTaxCalculatorCreate extends ResourceCreate {
|
@@ -13779,6 +14005,7 @@ declare class ManualTaxCalculators extends ApiResource<ManualTaxCalculator> {
|
|
13779
14005
|
attachments(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
13780
14006
|
events(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
13781
14007
|
versions(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
14008
|
+
event_stores(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13782
14009
|
tax_rules(manualTaxCalculatorId: string | ManualTaxCalculator, params?: QueryParamsList<TaxRule>, options?: ResourcesConfig): Promise<ListResponse<TaxRule>>;
|
13783
14010
|
isManualTaxCalculator(resource: any): resource is ManualTaxCalculator;
|
13784
14011
|
relationship(id: string | ResourceId | null): ManualTaxCalculatorRel$2;
|
@@ -13822,6 +14049,7 @@ interface ExternalTaxCalculator extends Resource {
|
|
13822
14049
|
attachments?: Attachment[] | null;
|
13823
14050
|
events?: Event[] | null;
|
13824
14051
|
versions?: Version[] | null;
|
14052
|
+
event_stores?: EventStore[] | null;
|
13825
14053
|
}
|
13826
14054
|
interface ExternalTaxCalculatorCreate extends ResourceCreate {
|
13827
14055
|
/**
|
@@ -13861,6 +14089,7 @@ declare class ExternalTaxCalculators extends ApiResource<ExternalTaxCalculator>
|
|
13861
14089
|
attachments(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
13862
14090
|
events(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
13863
14091
|
versions(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
14092
|
+
event_stores(externalTaxCalculatorId: string | ExternalTaxCalculator, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13864
14093
|
_reset_circuit(id: string | ExternalTaxCalculator, params?: QueryParamsRetrieve<ExternalTaxCalculator>, options?: ResourcesConfig): Promise<ExternalTaxCalculator>;
|
13865
14094
|
isExternalTaxCalculator(resource: any): resource is ExternalTaxCalculator;
|
13866
14095
|
relationship(id: string | ResourceId | null): ExternalTaxCalculatorRel$2;
|
@@ -13910,6 +14139,7 @@ interface TaxCategory extends Resource {
|
|
13910
14139
|
tax_calculator?: AvalaraAccount | StripeTaxAccount | VertexAccount | TaxjarAccount | ManualTaxCalculator | ExternalTaxCalculator | null;
|
13911
14140
|
attachments?: Attachment[] | null;
|
13912
14141
|
versions?: Version[] | null;
|
14142
|
+
event_stores?: EventStore[] | null;
|
13913
14143
|
}
|
13914
14144
|
interface TaxCategoryCreate extends ResourceCreate {
|
13915
14145
|
/**
|
@@ -13946,6 +14176,7 @@ declare class TaxCategories extends ApiResource<TaxCategory> {
|
|
13946
14176
|
sku(taxCategoryId: string | TaxCategory, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
|
13947
14177
|
attachments(taxCategoryId: string | TaxCategory, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
13948
14178
|
versions(taxCategoryId: string | TaxCategory, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
14179
|
+
event_stores(taxCategoryId: string | TaxCategory, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
13949
14180
|
isTaxCategory(resource: any): resource is TaxCategory;
|
13950
14181
|
relationship(id: string | ResourceId | null): TaxCategoryRel$1;
|
13951
14182
|
relationshipToMany(...ids: string[]): TaxCategoryRel$1[];
|
@@ -14089,6 +14320,7 @@ interface Attachment extends Resource {
|
|
14089
14320
|
*/
|
14090
14321
|
url?: string | null;
|
14091
14322
|
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;
|
14323
|
+
event_stores?: EventStore[] | null;
|
14092
14324
|
}
|
14093
14325
|
interface AttachmentCreate extends ResourceCreate {
|
14094
14326
|
/**
|
@@ -14131,6 +14363,7 @@ declare class Attachments extends ApiResource<Attachment> {
|
|
14131
14363
|
create(resource: AttachmentCreate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment>;
|
14132
14364
|
update(resource: AttachmentUpdate, params?: QueryParamsRetrieve<Attachment>, options?: ResourcesConfig): Promise<Attachment>;
|
14133
14365
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
14366
|
+
event_stores(attachmentId: string | Attachment, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
14134
14367
|
isAttachment(resource: any): resource is Attachment;
|
14135
14368
|
relationship(id: string | ResourceId | null): AttachmentRel;
|
14136
14369
|
relationshipToMany(...ids: string[]): AttachmentRel[];
|
@@ -14155,6 +14388,7 @@ interface Merchant extends Resource {
|
|
14155
14388
|
address?: Address | null;
|
14156
14389
|
attachments?: Attachment[] | null;
|
14157
14390
|
versions?: Version[] | null;
|
14391
|
+
event_stores?: EventStore[] | null;
|
14158
14392
|
}
|
14159
14393
|
interface MerchantCreate extends ResourceCreate {
|
14160
14394
|
/**
|
@@ -14180,6 +14414,7 @@ declare class Merchants extends ApiResource<Merchant> {
|
|
14180
14414
|
address(merchantId: string | Merchant, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
14181
14415
|
attachments(merchantId: string | Merchant, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
14182
14416
|
versions(merchantId: string | Merchant, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
14417
|
+
event_stores(merchantId: string | Merchant, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
14183
14418
|
isMerchant(resource: any): resource is Merchant;
|
14184
14419
|
relationship(id: string | ResourceId | null): MerchantRel$1;
|
14185
14420
|
relationshipToMany(...ids: string[]): MerchantRel$1[];
|
@@ -14308,6 +14543,7 @@ interface Market extends Resource {
|
|
14308
14543
|
price_list_schedulers?: PriceListScheduler[] | null;
|
14309
14544
|
attachments?: Attachment[] | null;
|
14310
14545
|
versions?: Version[] | null;
|
14546
|
+
event_stores?: EventStore[] | null;
|
14311
14547
|
}
|
14312
14548
|
interface MarketCreate extends ResourceCreate {
|
14313
14549
|
/**
|
@@ -14434,7 +14670,6 @@ declare class Markets extends ApiResource<Market> {
|
|
14434
14670
|
inventory_model(marketId: string | Market, params?: QueryParamsRetrieve<InventoryModel>, options?: ResourcesConfig): Promise<InventoryModel>;
|
14435
14671
|
subscription_model(marketId: string | Market, params?: QueryParamsRetrieve<SubscriptionModel>, options?: ResourcesConfig): Promise<SubscriptionModel>;
|
14436
14672
|
discount_engine(marketId: string | Market, params?: QueryParamsRetrieve<DiscountEngine>, options?: ResourcesConfig): Promise<DiscountEngine>;
|
14437
|
-
tax_calculator(marketId: string | Market, params?: QueryParamsRetrieve<TaxCalculator>, options?: ResourcesConfig): Promise<TaxCalculator>;
|
14438
14673
|
customer_group(marketId: string | Market, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup>;
|
14439
14674
|
geocoder(marketId: string | Market, params?: QueryParamsRetrieve<Geocoder>, options?: ResourcesConfig): Promise<Geocoder>;
|
14440
14675
|
default_shipping_method(marketId: string | Market, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
@@ -14443,6 +14678,7 @@ declare class Markets extends ApiResource<Market> {
|
|
14443
14678
|
price_list_schedulers(marketId: string | Market, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
|
14444
14679
|
attachments(marketId: string | Market, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
14445
14680
|
versions(marketId: string | Market, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
14681
|
+
event_stores(marketId: string | Market, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
14446
14682
|
_disable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
14447
14683
|
_enable(id: string | Market, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
14448
14684
|
isMarket(resource: any): resource is Market;
|
@@ -14466,12 +14702,14 @@ interface Geocoder extends Resource {
|
|
14466
14702
|
markets?: Market[] | null;
|
14467
14703
|
addresses?: Address[] | null;
|
14468
14704
|
attachments?: Attachment[] | null;
|
14705
|
+
event_stores?: EventStore[] | null;
|
14469
14706
|
}
|
14470
14707
|
declare class Geocoders extends ApiResource<Geocoder> {
|
14471
14708
|
static readonly TYPE: GeocoderType;
|
14472
14709
|
markets(geocoderId: string | Geocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
|
14473
14710
|
addresses(geocoderId: string | Geocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>>;
|
14474
14711
|
attachments(geocoderId: string | Geocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
14712
|
+
event_stores(geocoderId: string | Geocoder, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
14475
14713
|
isGeocoder(resource: any): resource is Geocoder;
|
14476
14714
|
relationship(id: string | ResourceId | null): GeocoderRel$1;
|
14477
14715
|
relationshipToMany(...ids: string[]): GeocoderRel$1[];
|
@@ -14539,7 +14777,7 @@ interface Address extends Resource {
|
|
14539
14777
|
* State, province or region code.
|
14540
14778
|
* @example ```"NY"```
|
14541
14779
|
*/
|
14542
|
-
state_code
|
14780
|
+
state_code?: string | null;
|
14543
14781
|
/**
|
14544
14782
|
* The international 2-letter country code as defined by the ISO 3166-1 standard.
|
14545
14783
|
* @example ```"US"```
|
@@ -14614,6 +14852,7 @@ interface Address extends Resource {
|
|
14614
14852
|
events?: Event[] | null;
|
14615
14853
|
tags?: Tag[] | null;
|
14616
14854
|
versions?: Version[] | null;
|
14855
|
+
event_stores?: EventStore[] | null;
|
14617
14856
|
}
|
14618
14857
|
interface AddressCreate extends ResourceCreate {
|
14619
14858
|
/**
|
@@ -14659,7 +14898,7 @@ interface AddressCreate extends ResourceCreate {
|
|
14659
14898
|
* State, province or region code.
|
14660
14899
|
* @example ```"NY"```
|
14661
14900
|
*/
|
14662
|
-
state_code
|
14901
|
+
state_code?: string | null;
|
14663
14902
|
/**
|
14664
14903
|
* The international 2-letter country code as defined by the ISO 3166-1 standard.
|
14665
14904
|
* @example ```"US"```
|
@@ -14798,6 +15037,7 @@ declare class Addresses extends ApiResource<Address> {
|
|
14798
15037
|
events(addressId: string | Address, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
14799
15038
|
tags(addressId: string | Address, params?: QueryParamsList<Tag>, options?: ResourcesConfig): Promise<ListResponse<Tag>>;
|
14800
15039
|
versions(addressId: string | Address, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
15040
|
+
event_stores(addressId: string | Address, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
14801
15041
|
_add_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
14802
15042
|
_remove_tags(id: string | Address, triggerValue: string, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
14803
15043
|
isAddress(resource: any): resource is Address;
|
@@ -14857,6 +15097,7 @@ interface AdyenGateway extends Resource {
|
|
14857
15097
|
webhook_endpoint_url?: string | null;
|
14858
15098
|
payment_methods?: PaymentMethod[] | null;
|
14859
15099
|
versions?: Version[] | null;
|
15100
|
+
event_stores?: EventStore[] | null;
|
14860
15101
|
adyen_payments?: AdyenPayment[] | null;
|
14861
15102
|
}
|
14862
15103
|
interface AdyenGatewayCreate extends ResourceCreate {
|
@@ -14970,6 +15211,7 @@ declare class AdyenGateways extends ApiResource<AdyenGateway> {
|
|
14970
15211
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
14971
15212
|
payment_methods(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
14972
15213
|
versions(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
15214
|
+
event_stores(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
14973
15215
|
adyen_payments(adyenGatewayId: string | AdyenGateway, params?: QueryParamsList<AdyenPayment>, options?: ResourcesConfig): Promise<ListResponse<AdyenPayment>>;
|
14974
15216
|
isAdyenGateway(resource: any): resource is AdyenGateway;
|
14975
15217
|
relationship(id: string | ResourceId | null): AdyenGatewayRel;
|
@@ -15046,6 +15288,7 @@ interface AxerveGateway extends Resource {
|
|
15046
15288
|
webhook_endpoint_url?: string | null;
|
15047
15289
|
payment_methods?: PaymentMethod[] | null;
|
15048
15290
|
versions?: Version[] | null;
|
15291
|
+
event_stores?: EventStore[] | null;
|
15049
15292
|
axerve_payments?: AxervePayment[] | null;
|
15050
15293
|
}
|
15051
15294
|
interface AxerveGatewayCreate extends ResourceCreate {
|
@@ -15091,6 +15334,7 @@ declare class AxerveGateways extends ApiResource<AxerveGateway> {
|
|
15091
15334
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
15092
15335
|
payment_methods(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
15093
15336
|
versions(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
15337
|
+
event_stores(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
15094
15338
|
axerve_payments(axerveGatewayId: string | AxerveGateway, params?: QueryParamsList<AxervePayment>, options?: ResourcesConfig): Promise<ListResponse<AxervePayment>>;
|
15095
15339
|
isAxerveGateway(resource: any): resource is AxerveGateway;
|
15096
15340
|
relationship(id: string | ResourceId | null): AxerveGatewayRel;
|
@@ -15113,6 +15357,7 @@ interface BingGeocoder extends Resource {
|
|
15113
15357
|
markets?: Market[] | null;
|
15114
15358
|
addresses?: Address[] | null;
|
15115
15359
|
attachments?: Attachment[] | null;
|
15360
|
+
event_stores?: EventStore[] | null;
|
15116
15361
|
}
|
15117
15362
|
interface BingGeocoderCreate extends ResourceCreate {
|
15118
15363
|
/**
|
@@ -15146,6 +15391,7 @@ declare class BingGeocoders extends ApiResource<BingGeocoder> {
|
|
15146
15391
|
markets(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
|
15147
15392
|
addresses(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>>;
|
15148
15393
|
attachments(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
15394
|
+
event_stores(bingGeocoderId: string | BingGeocoder, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
15149
15395
|
isBingGeocoder(resource: any): resource is BingGeocoder;
|
15150
15396
|
relationship(id: string | ResourceId | null): BingGeocoderRel;
|
15151
15397
|
relationshipToMany(...ids: string[]): BingGeocoderRel[];
|
@@ -15189,6 +15435,7 @@ interface BraintreeGateway extends Resource {
|
|
15189
15435
|
webhook_endpoint_url?: string | null;
|
15190
15436
|
payment_methods?: PaymentMethod[] | null;
|
15191
15437
|
versions?: Version[] | null;
|
15438
|
+
event_stores?: EventStore[] | null;
|
15192
15439
|
braintree_payments?: BraintreePayment[] | null;
|
15193
15440
|
}
|
15194
15441
|
interface BraintreeGatewayCreate extends ResourceCreate {
|
@@ -15284,6 +15531,7 @@ declare class BraintreeGateways extends ApiResource<BraintreeGateway> {
|
|
15284
15531
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
15285
15532
|
payment_methods(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
15286
15533
|
versions(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
15534
|
+
event_stores(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
15287
15535
|
braintree_payments(braintreeGatewayId: string | BraintreeGateway, params?: QueryParamsList<BraintreePayment>, options?: ResourcesConfig): Promise<ListResponse<BraintreePayment>>;
|
15288
15536
|
isBraintreeGateway(resource: any): resource is BraintreeGateway;
|
15289
15537
|
relationship(id: string | ResourceId | null): BraintreeGatewayRel;
|
@@ -15323,6 +15571,7 @@ interface CheckoutComGateway extends Resource {
|
|
15323
15571
|
webhook_endpoint_url?: string | null;
|
15324
15572
|
payment_methods?: PaymentMethod[] | null;
|
15325
15573
|
versions?: Version[] | null;
|
15574
|
+
event_stores?: EventStore[] | null;
|
15326
15575
|
checkout_com_payments?: CheckoutComPayment[] | null;
|
15327
15576
|
}
|
15328
15577
|
interface CheckoutComGatewayCreate extends ResourceCreate {
|
@@ -15368,6 +15617,7 @@ declare class CheckoutComGateways extends ApiResource<CheckoutComGateway> {
|
|
15368
15617
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
15369
15618
|
payment_methods(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
15370
15619
|
versions(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
15620
|
+
event_stores(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
15371
15621
|
checkout_com_payments(checkoutComGatewayId: string | CheckoutComGateway, params?: QueryParamsList<CheckoutComPayment>, options?: ResourcesConfig): Promise<ListResponse<CheckoutComPayment>>;
|
15372
15622
|
isCheckoutComGateway(resource: any): resource is CheckoutComGateway;
|
15373
15623
|
relationship(id: string | ResourceId | null): CheckoutComGatewayRel;
|
@@ -15434,6 +15684,7 @@ interface Cleanup extends Resource {
|
|
15434
15684
|
errors_log?: Record<string, any> | null;
|
15435
15685
|
events?: Event[] | null;
|
15436
15686
|
versions?: Version[] | null;
|
15687
|
+
event_stores?: EventStore[] | null;
|
15437
15688
|
}
|
15438
15689
|
interface CleanupCreate extends ResourceCreate {
|
15439
15690
|
/**
|
@@ -15461,6 +15712,7 @@ declare class Cleanups extends ApiResource<Cleanup> {
|
|
15461
15712
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
15462
15713
|
events(cleanupId: string | Cleanup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
15463
15714
|
versions(cleanupId: string | Cleanup, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
15715
|
+
event_stores(cleanupId: string | Cleanup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
15464
15716
|
_interrupt(id: string | Cleanup, params?: QueryParamsRetrieve<Cleanup>, options?: ResourcesConfig): Promise<Cleanup>;
|
15465
15717
|
isCleanup(resource: any): resource is Cleanup;
|
15466
15718
|
relationship(id: string | ResourceId | null): CleanupRel;
|
@@ -15492,6 +15744,7 @@ interface CustomerPasswordReset extends Resource {
|
|
15492
15744
|
reset_password_at?: string | null;
|
15493
15745
|
customer?: Customer | null;
|
15494
15746
|
events?: Event[] | null;
|
15747
|
+
event_stores?: EventStore[] | null;
|
15495
15748
|
}
|
15496
15749
|
interface CustomerPasswordResetCreate extends ResourceCreate {
|
15497
15750
|
/**
|
@@ -15519,6 +15772,7 @@ declare class CustomerPasswordResets extends ApiResource<CustomerPasswordReset>
|
|
15519
15772
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
15520
15773
|
customer(customerPasswordResetId: string | CustomerPasswordReset, params?: QueryParamsRetrieve<Customer>, options?: ResourcesConfig): Promise<Customer>;
|
15521
15774
|
events(customerPasswordResetId: string | CustomerPasswordReset, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
15775
|
+
event_stores(customerPasswordResetId: string | CustomerPasswordReset, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
15522
15776
|
_reset_password_token(id: string | CustomerPasswordReset, triggerValue: string, params?: QueryParamsRetrieve<CustomerPasswordReset>, options?: ResourcesConfig): Promise<CustomerPasswordReset>;
|
15523
15777
|
isCustomerPasswordReset(resource: any): resource is CustomerPasswordReset;
|
15524
15778
|
relationship(id: string | ResourceId | null): CustomerPasswordResetRel;
|
@@ -15584,6 +15838,7 @@ interface EasypostPickup extends Resource {
|
|
15584
15838
|
shipment?: Shipment | null;
|
15585
15839
|
parcels?: Parcel[] | null;
|
15586
15840
|
events?: Event[] | null;
|
15841
|
+
event_stores?: EventStore[] | null;
|
15587
15842
|
}
|
15588
15843
|
interface EasypostPickupCreate extends ResourceCreate {
|
15589
15844
|
/**
|
@@ -15624,6 +15879,7 @@ declare class EasypostPickups extends ApiResource<EasypostPickup> {
|
|
15624
15879
|
shipment(easypostPickupId: string | EasypostPickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
15625
15880
|
parcels(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
|
15626
15881
|
events(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
15882
|
+
event_stores(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
15627
15883
|
_purchase(id: string | EasypostPickup, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
|
15628
15884
|
isEasypostPickup(resource: any): resource is EasypostPickup;
|
15629
15885
|
relationship(id: string | ResourceId | null): EasypostPickupRel;
|
@@ -15704,6 +15960,7 @@ interface Export extends Resource {
|
|
15704
15960
|
errors_log?: Record<string, any> | null;
|
15705
15961
|
events?: Event[] | null;
|
15706
15962
|
versions?: Version[] | null;
|
15963
|
+
event_stores?: EventStore[] | null;
|
15707
15964
|
}
|
15708
15965
|
interface ExportCreate extends ResourceCreate {
|
15709
15966
|
/**
|
@@ -15750,6 +16007,7 @@ declare class Exports extends ApiResource<Export> {
|
|
15750
16007
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
15751
16008
|
events(exportId: string | Export, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
15752
16009
|
versions(exportId: string | Export, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
16010
|
+
event_stores(exportId: string | Export, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
15753
16011
|
_interrupt(id: string | Export, params?: QueryParamsRetrieve<Export>, options?: ResourcesConfig): Promise<Export>;
|
15754
16012
|
isExport(resource: any): resource is Export;
|
15755
16013
|
relationship(id: string | ResourceId | null): ExportRel;
|
@@ -15811,6 +16069,7 @@ interface ExternalGateway extends Resource {
|
|
15811
16069
|
shared_secret: string;
|
15812
16070
|
payment_methods?: PaymentMethod[] | null;
|
15813
16071
|
versions?: Version[] | null;
|
16072
|
+
event_stores?: EventStore[] | null;
|
15814
16073
|
external_payments?: ExternalPayment[] | null;
|
15815
16074
|
}
|
15816
16075
|
interface ExternalGatewayCreate extends ResourceCreate {
|
@@ -15889,6 +16148,7 @@ declare class ExternalGateways extends ApiResource<ExternalGateway> {
|
|
15889
16148
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
15890
16149
|
payment_methods(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
15891
16150
|
versions(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
16151
|
+
event_stores(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
15892
16152
|
external_payments(externalGatewayId: string | ExternalGateway, params?: QueryParamsList<ExternalPayment>, options?: ResourcesConfig): Promise<ListResponse<ExternalPayment>>;
|
15893
16153
|
_reset_circuit(id: string | ExternalGateway, params?: QueryParamsRetrieve<ExternalGateway>, options?: ResourcesConfig): Promise<ExternalGateway>;
|
15894
16154
|
isExternalGateway(resource: any): resource is ExternalGateway;
|
@@ -15912,6 +16172,7 @@ interface GoogleGeocoder extends Resource {
|
|
15912
16172
|
markets?: Market[] | null;
|
15913
16173
|
addresses?: Address[] | null;
|
15914
16174
|
attachments?: Attachment[] | null;
|
16175
|
+
event_stores?: EventStore[] | null;
|
15915
16176
|
}
|
15916
16177
|
interface GoogleGeocoderCreate extends ResourceCreate {
|
15917
16178
|
/**
|
@@ -15945,6 +16206,7 @@ declare class GoogleGeocoders extends ApiResource<GoogleGeocoder> {
|
|
15945
16206
|
markets(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<Market>, options?: ResourcesConfig): Promise<ListResponse<Market>>;
|
15946
16207
|
addresses(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<Address>, options?: ResourcesConfig): Promise<ListResponse<Address>>;
|
15947
16208
|
attachments(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
16209
|
+
event_stores(googleGeocoderId: string | GoogleGeocoder, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
15948
16210
|
isGoogleGeocoder(resource: any): resource is GoogleGeocoder;
|
15949
16211
|
relationship(id: string | ResourceId | null): GoogleGeocoderRel;
|
15950
16212
|
relationshipToMany(...ids: string[]): GoogleGeocoderRel[];
|
@@ -16034,6 +16296,7 @@ interface Import extends Resource {
|
|
16034
16296
|
*/
|
16035
16297
|
attachment_url?: string | null;
|
16036
16298
|
events?: Event[] | null;
|
16299
|
+
event_stores?: EventStore[] | null;
|
16037
16300
|
}
|
16038
16301
|
interface ImportCreate extends ResourceCreate {
|
16039
16302
|
/**
|
@@ -16070,6 +16333,7 @@ declare class Imports extends ApiResource<Import> {
|
|
16070
16333
|
update(resource: ImportUpdate, params?: QueryParamsRetrieve<Import>, options?: ResourcesConfig): Promise<Import>;
|
16071
16334
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
16072
16335
|
events(importId: string | Import, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
16336
|
+
event_stores(importId: string | Import, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
16073
16337
|
_interrupt(id: string | Import, params?: QueryParamsRetrieve<Import>, options?: ResourcesConfig): Promise<Import>;
|
16074
16338
|
isImport(resource: any): resource is Import;
|
16075
16339
|
relationship(id: string | ResourceId | null): ImportRel;
|
@@ -16118,6 +16382,7 @@ interface InStockSubscription extends Resource {
|
|
16118
16382
|
sku?: Sku | null;
|
16119
16383
|
events?: Event[] | null;
|
16120
16384
|
versions?: Version[] | null;
|
16385
|
+
event_stores?: EventStore[] | null;
|
16121
16386
|
}
|
16122
16387
|
interface InStockSubscriptionCreate extends ResourceCreate {
|
16123
16388
|
/**
|
@@ -16174,6 +16439,7 @@ declare class InStockSubscriptions extends ApiResource<InStockSubscription> {
|
|
16174
16439
|
sku(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsRetrieve<Sku>, options?: ResourcesConfig): Promise<Sku>;
|
16175
16440
|
events(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
16176
16441
|
versions(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
16442
|
+
event_stores(inStockSubscriptionId: string | InStockSubscription, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
16177
16443
|
_activate(id: string | InStockSubscription, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription>;
|
16178
16444
|
_deactivate(id: string | InStockSubscription, params?: QueryParamsRetrieve<InStockSubscription>, options?: ResourcesConfig): Promise<InStockSubscription>;
|
16179
16445
|
isInStockSubscription(resource: any): resource is InStockSubscription;
|
@@ -16199,6 +16465,7 @@ interface KlarnaGateway extends Resource {
|
|
16199
16465
|
name: string;
|
16200
16466
|
payment_methods?: PaymentMethod[] | null;
|
16201
16467
|
versions?: Version[] | null;
|
16468
|
+
event_stores?: EventStore[] | null;
|
16202
16469
|
klarna_payments?: KlarnaPayment[] | null;
|
16203
16470
|
}
|
16204
16471
|
interface KlarnaGatewayCreate extends ResourceCreate {
|
@@ -16254,6 +16521,7 @@ declare class KlarnaGateways extends ApiResource<KlarnaGateway> {
|
|
16254
16521
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
16255
16522
|
payment_methods(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
16256
16523
|
versions(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
16524
|
+
event_stores(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
16257
16525
|
klarna_payments(klarnaGatewayId: string | KlarnaGateway, params?: QueryParamsList<KlarnaPayment>, options?: ResourcesConfig): Promise<ListResponse<KlarnaPayment>>;
|
16258
16526
|
isKlarnaGateway(resource: any): resource is KlarnaGateway;
|
16259
16527
|
relationship(id: string | ResourceId | null): KlarnaGatewayRel;
|
@@ -16275,6 +16543,7 @@ interface ManualGateway extends Resource {
|
|
16275
16543
|
name: string;
|
16276
16544
|
payment_methods?: PaymentMethod[] | null;
|
16277
16545
|
versions?: Version[] | null;
|
16546
|
+
event_stores?: EventStore[] | null;
|
16278
16547
|
}
|
16279
16548
|
interface ManualGatewayCreate extends ResourceCreate {
|
16280
16549
|
/**
|
@@ -16297,6 +16566,7 @@ declare class ManualGateways extends ApiResource<ManualGateway> {
|
|
16297
16566
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
16298
16567
|
payment_methods(manualGatewayId: string | ManualGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
16299
16568
|
versions(manualGatewayId: string | ManualGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
16569
|
+
event_stores(manualGatewayId: string | ManualGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
16300
16570
|
isManualGateway(resource: any): resource is ManualGateway;
|
16301
16571
|
relationship(id: string | ResourceId | null): ManualGatewayRel;
|
16302
16572
|
relationshipToMany(...ids: string[]): ManualGatewayRel[];
|
@@ -16403,6 +16673,11 @@ interface Organization extends Resource {
|
|
16403
16673
|
* @example ```true```
|
16404
16674
|
*/
|
16405
16675
|
addresses_phone_required?: boolean | null;
|
16676
|
+
/**
|
16677
|
+
* Indicates if a sales channel application without customer can read and update just guest orders.
|
16678
|
+
* @example ```true```
|
16679
|
+
*/
|
16680
|
+
orders_sales_channel_guest_only?: boolean | null;
|
16406
16681
|
/**
|
16407
16682
|
* 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
16683
|
*/
|
@@ -16557,9 +16832,11 @@ interface Organization extends Resource {
|
|
16557
16832
|
* Enables raising of API errors in case of external promotion failure, default is false.
|
16558
16833
|
*/
|
16559
16834
|
external_promotions_errors?: boolean | null;
|
16835
|
+
event_stores?: EventStore[] | null;
|
16560
16836
|
}
|
16561
16837
|
declare class Organizations extends ApiSingleton<Organization> {
|
16562
16838
|
static readonly TYPE: OrganizationType;
|
16839
|
+
event_stores(organizationId: string | Organization, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
16563
16840
|
isOrganization(resource: any): resource is Organization;
|
16564
16841
|
relationship(id: string | ResourceId | null): OrganizationRel;
|
16565
16842
|
relationshipToMany(...ids: string[]): OrganizationRel[];
|
@@ -16581,6 +16858,7 @@ interface PaypalGateway extends Resource {
|
|
16581
16858
|
name: string;
|
16582
16859
|
payment_methods?: PaymentMethod[] | null;
|
16583
16860
|
versions?: Version[] | null;
|
16861
|
+
event_stores?: EventStore[] | null;
|
16584
16862
|
paypal_payments?: PaypalPayment[] | null;
|
16585
16863
|
}
|
16586
16864
|
interface PaypalGatewayCreate extends ResourceCreate {
|
@@ -16624,6 +16902,7 @@ declare class PaypalGateways extends ApiResource<PaypalGateway> {
|
|
16624
16902
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
16625
16903
|
payment_methods(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
16626
16904
|
versions(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
16905
|
+
event_stores(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
16627
16906
|
paypal_payments(paypalGatewayId: string | PaypalGateway, params?: QueryParamsList<PaypalPayment>, options?: ResourcesConfig): Promise<ListResponse<PaypalPayment>>;
|
16628
16907
|
isPaypalGateway(resource: any): resource is PaypalGateway;
|
16629
16908
|
relationship(id: string | ResourceId | null): PaypalGatewayRel;
|
@@ -16663,6 +16942,7 @@ interface SatispayGateway extends Resource {
|
|
16663
16942
|
webhook_endpoint_url?: string | null;
|
16664
16943
|
payment_methods?: PaymentMethod[] | null;
|
16665
16944
|
versions?: Version[] | null;
|
16945
|
+
event_stores?: EventStore[] | null;
|
16666
16946
|
satispay_payments?: SatispayPayment[] | null;
|
16667
16947
|
}
|
16668
16948
|
interface SatispayGatewayCreate extends ResourceCreate {
|
@@ -16693,6 +16973,7 @@ declare class SatispayGateways extends ApiResource<SatispayGateway> {
|
|
16693
16973
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
16694
16974
|
payment_methods(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
16695
16975
|
versions(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
16976
|
+
event_stores(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
16696
16977
|
satispay_payments(satispayGatewayId: string | SatispayGateway, params?: QueryParamsList<SatispayPayment>, options?: ResourcesConfig): Promise<ListResponse<SatispayPayment>>;
|
16697
16978
|
isSatispayGateway(resource: any): resource is SatispayGateway;
|
16698
16979
|
relationship(id: string | ResourceId | null): SatispayGatewayRel;
|
@@ -16744,6 +17025,7 @@ interface StripeGateway extends Resource {
|
|
16744
17025
|
webhook_endpoint_url?: string | null;
|
16745
17026
|
payment_methods?: PaymentMethod[] | null;
|
16746
17027
|
versions?: Version[] | null;
|
17028
|
+
event_stores?: EventStore[] | null;
|
16747
17029
|
stripe_payments?: StripePayment[] | null;
|
16748
17030
|
}
|
16749
17031
|
interface StripeGatewayCreate extends ResourceCreate {
|
@@ -16807,6 +17089,7 @@ declare class StripeGateways extends ApiResource<StripeGateway> {
|
|
16807
17089
|
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
16808
17090
|
payment_methods(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
16809
17091
|
versions(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
17092
|
+
event_stores(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
16810
17093
|
stripe_payments(stripeGatewayId: string | StripeGateway, params?: QueryParamsList<StripePayment>, options?: ResourcesConfig): Promise<ListResponse<StripePayment>>;
|
16811
17094
|
isStripeGateway(resource: any): resource is StripeGateway;
|
16812
17095
|
relationship(id: string | ResourceId | null): StripeGatewayRel;
|
@@ -16839,6 +17122,7 @@ interface TalonOneAccount extends Resource {
|
|
16839
17122
|
discount_engine_items?: DiscountEngineItem[] | null;
|
16840
17123
|
attachments?: Attachment[] | null;
|
16841
17124
|
versions?: Version[] | null;
|
17125
|
+
event_stores?: EventStore[] | null;
|
16842
17126
|
}
|
16843
17127
|
interface TalonOneAccountCreate extends ResourceCreate {
|
16844
17128
|
/**
|
@@ -16891,13 +17175,14 @@ declare class TalonOneAccounts extends ApiResource<TalonOneAccount> {
|
|
16891
17175
|
discount_engine_items(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<DiscountEngineItem>, options?: ResourcesConfig): Promise<ListResponse<DiscountEngineItem>>;
|
16892
17176
|
attachments(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
16893
17177
|
versions(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
17178
|
+
event_stores(talonOneAccountId: string | TalonOneAccount, params?: QueryParamsList<EventStore>, options?: ResourcesConfig): Promise<ListResponse<EventStore>>;
|
16894
17179
|
isTalonOneAccount(resource: any): resource is TalonOneAccount;
|
16895
17180
|
relationship(id: string | ResourceId | null): TalonOneAccountRel;
|
16896
17181
|
relationshipToMany(...ids: string[]): TalonOneAccountRel[];
|
16897
17182
|
type(): TalonOneAccountType;
|
16898
17183
|
}
|
16899
17184
|
|
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';
|
17185
|
+
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
17186
|
declare const resourceList: ResourceTypeLock[];
|
16902
17187
|
declare const singletonList: ResourceTypeLock[];
|
16903
17188
|
type RetrievableResourceType = ResourceTypeLock;
|
@@ -16970,6 +17255,7 @@ type ResourceFields = {
|
|
16970
17255
|
discount_engines: DiscountEngine;
|
16971
17256
|
easypost_pickups: EasypostPickup;
|
16972
17257
|
event_callbacks: EventCallback;
|
17258
|
+
event_stores: EventStore;
|
16973
17259
|
events: Event;
|
16974
17260
|
exports: Export;
|
16975
17261
|
external_gateways: ExternalGateway;
|
@@ -17103,6 +17389,7 @@ type ResourceSortFields = {
|
|
17103
17389
|
discount_engines: DiscountEngineSort;
|
17104
17390
|
easypost_pickups: EasypostPickupSort;
|
17105
17391
|
event_callbacks: EventCallbackSort;
|
17392
|
+
event_stores: EventStoreSort;
|
17106
17393
|
events: EventSort;
|
17107
17394
|
exports: ExportSort;
|
17108
17395
|
external_gateways: ExternalGatewaySort;
|
@@ -17238,7 +17525,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
|
17238
17525
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
17239
17526
|
declare class CommerceLayerClient {
|
17240
17527
|
#private;
|
17241
|
-
readonly openApiSchemaVersion = "7.9.
|
17528
|
+
readonly openApiSchemaVersion = "7.9.5";
|
17242
17529
|
constructor(config: CommerceLayerInitConfig);
|
17243
17530
|
get addresses(): Addresses;
|
17244
17531
|
get adjustments(): Adjustments;
|
@@ -17275,6 +17562,7 @@ declare class CommerceLayerClient {
|
|
17275
17562
|
get discount_engines(): DiscountEngines;
|
17276
17563
|
get easypost_pickups(): EasypostPickups;
|
17277
17564
|
get event_callbacks(): EventCallbacks;
|
17565
|
+
get event_stores(): EventStores;
|
17278
17566
|
get events(): Events;
|
17279
17567
|
get exports(): Exports;
|
17280
17568
|
get external_gateways(): ExternalGateways;
|
@@ -17402,4 +17690,4 @@ declare const CommerceLayerStatic: {
|
|
17402
17690
|
readonly schemaVersion: string;
|
17403
17691
|
};
|
17404
17692
|
|
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 };
|
17693
|
+
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 };
|