@commercelayer/sdk 6.33.0 → 6.34.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 +258 -113
- package/lib/index.d.ts +258 -113
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +3 -3
package/lib/index.d.mts
CHANGED
@@ -3603,7 +3603,7 @@ type StockLineItemType = 'stock_line_items';
|
|
3603
3603
|
type StockLineItemRel$1 = ResourceRel & {
|
3604
3604
|
type: StockLineItemType;
|
3605
3605
|
};
|
3606
|
-
type ShipmentRel$
|
3606
|
+
type ShipmentRel$6 = ResourceRel & {
|
3607
3607
|
type: ShipmentType;
|
3608
3608
|
};
|
3609
3609
|
type LineItemRel$3 = ResourceRel & {
|
@@ -3661,7 +3661,7 @@ interface StockLineItemCreate extends ResourceCreate {
|
|
3661
3661
|
* @example ```4```
|
3662
3662
|
*/
|
3663
3663
|
quantity: number;
|
3664
|
-
shipment?: ShipmentRel$
|
3664
|
+
shipment?: ShipmentRel$6 | null;
|
3665
3665
|
line_item?: LineItemRel$3 | null;
|
3666
3666
|
stock_item?: StockItemRel$3 | null;
|
3667
3667
|
sku?: SkuRel$b | null;
|
@@ -3692,7 +3692,7 @@ interface StockLineItemUpdate extends ResourceUpdate {
|
|
3692
3692
|
* @example ```true```
|
3693
3693
|
*/
|
3694
3694
|
_decrement_stock?: boolean | null;
|
3695
|
-
shipment?: ShipmentRel$
|
3695
|
+
shipment?: ShipmentRel$6 | null;
|
3696
3696
|
line_item?: LineItemRel$3 | null;
|
3697
3697
|
stock_item?: StockItemRel$3 | null;
|
3698
3698
|
sku?: SkuRel$b | null;
|
@@ -8175,7 +8175,7 @@ type BundleRel$2 = ResourceRel & {
|
|
8175
8175
|
type GiftCardRel$1 = ResourceRel & {
|
8176
8176
|
type: GiftCardType;
|
8177
8177
|
};
|
8178
|
-
type ShipmentRel$
|
8178
|
+
type ShipmentRel$5 = ResourceRel & {
|
8179
8179
|
type: ShipmentType;
|
8180
8180
|
};
|
8181
8181
|
type PaymentMethodRel$2 = ResourceRel & {
|
@@ -8461,7 +8461,7 @@ interface LineItemCreate extends ResourceCreate {
|
|
8461
8461
|
*/
|
8462
8462
|
frequency?: string | null;
|
8463
8463
|
order: OrderRel$7;
|
8464
|
-
item?: SkuRel$8 | BundleRel$2 | GiftCardRel$1 | ShipmentRel$
|
8464
|
+
item?: SkuRel$8 | BundleRel$2 | GiftCardRel$1 | ShipmentRel$5 | PaymentMethodRel$2 | AdjustmentRel$1 | DiscountEngineItemRel | PercentageDiscountPromotionRel | FreeShippingPromotionRel | BuyXPayYPromotionRel | FreeGiftPromotionRel | FixedPricePromotionRel | ExternalPromotionRel | FixedAmountPromotionRel | FlexPromotionRel | null;
|
8465
8465
|
tags?: TagRel$6[] | null;
|
8466
8466
|
}
|
8467
8467
|
interface LineItemUpdate extends ResourceUpdate {
|
@@ -10447,90 +10447,6 @@ declare class Orders extends ApiResource<Order> {
|
|
10447
10447
|
type(): OrderType;
|
10448
10448
|
}
|
10449
10449
|
|
10450
|
-
type CarrierAccountType = 'carrier_accounts';
|
10451
|
-
type CarrierAccountRel$1 = ResourceRel & {
|
10452
|
-
type: CarrierAccountType;
|
10453
|
-
};
|
10454
|
-
type MarketRel$4 = ResourceRel & {
|
10455
|
-
type: MarketType;
|
10456
|
-
};
|
10457
|
-
type CarrierAccountSort = Pick<CarrierAccount, 'id' | 'name'> & ResourceSort;
|
10458
|
-
interface CarrierAccount extends Resource {
|
10459
|
-
readonly type: CarrierAccountType;
|
10460
|
-
/**
|
10461
|
-
* The carrier account internal name.
|
10462
|
-
* @example ```"Accurate"```
|
10463
|
-
*/
|
10464
|
-
name: string;
|
10465
|
-
/**
|
10466
|
-
* The Easypost service carrier type.
|
10467
|
-
* @example ```"AccurateAccount"```
|
10468
|
-
*/
|
10469
|
-
easypost_type: string;
|
10470
|
-
/**
|
10471
|
-
* The Easypost internal reference ID.
|
10472
|
-
* @example ```"xxxx-yyyy-zzzz"```
|
10473
|
-
*/
|
10474
|
-
easypost_id?: string | null;
|
10475
|
-
/**
|
10476
|
-
* The Easypost carrier accounts credentials fields.
|
10477
|
-
* @example ```{"username":"xxxx","password":"secret"}```
|
10478
|
-
*/
|
10479
|
-
credentials: Record<string, any>;
|
10480
|
-
market?: Market | null;
|
10481
|
-
attachments?: Attachment[] | null;
|
10482
|
-
versions?: Version[] | null;
|
10483
|
-
}
|
10484
|
-
interface CarrierAccountCreate extends ResourceCreate {
|
10485
|
-
/**
|
10486
|
-
* The carrier account internal name.
|
10487
|
-
* @example ```"Accurate"```
|
10488
|
-
*/
|
10489
|
-
name: string;
|
10490
|
-
/**
|
10491
|
-
* The Easypost service carrier type.
|
10492
|
-
* @example ```"AccurateAccount"```
|
10493
|
-
*/
|
10494
|
-
easypost_type: string;
|
10495
|
-
/**
|
10496
|
-
* The Easypost carrier accounts credentials fields.
|
10497
|
-
* @example ```{"username":"xxxx","password":"secret"}```
|
10498
|
-
*/
|
10499
|
-
credentials: Record<string, any>;
|
10500
|
-
market?: MarketRel$4 | null;
|
10501
|
-
}
|
10502
|
-
interface CarrierAccountUpdate extends ResourceUpdate {
|
10503
|
-
/**
|
10504
|
-
* The carrier account internal name.
|
10505
|
-
* @example ```"Accurate"```
|
10506
|
-
*/
|
10507
|
-
name?: string | null;
|
10508
|
-
/**
|
10509
|
-
* The Easypost service carrier type.
|
10510
|
-
* @example ```"AccurateAccount"```
|
10511
|
-
*/
|
10512
|
-
easypost_type?: string | null;
|
10513
|
-
/**
|
10514
|
-
* The Easypost carrier accounts credentials fields.
|
10515
|
-
* @example ```{"username":"xxxx","password":"secret"}```
|
10516
|
-
*/
|
10517
|
-
credentials?: Record<string, any> | null;
|
10518
|
-
market?: MarketRel$4 | null;
|
10519
|
-
}
|
10520
|
-
declare class CarrierAccounts extends ApiResource<CarrierAccount> {
|
10521
|
-
static readonly TYPE: CarrierAccountType;
|
10522
|
-
create(resource: CarrierAccountCreate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
|
10523
|
-
update(resource: CarrierAccountUpdate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
|
10524
|
-
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
10525
|
-
market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
10526
|
-
attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
10527
|
-
versions(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
10528
|
-
isCarrierAccount(resource: any): resource is CarrierAccount;
|
10529
|
-
relationship(id: string | ResourceId | null): CarrierAccountRel$1;
|
10530
|
-
relationshipToMany(...ids: string[]): CarrierAccountRel$1[];
|
10531
|
-
type(): CarrierAccountType;
|
10532
|
-
}
|
10533
|
-
|
10534
10450
|
type PackageType = 'packages';
|
10535
10451
|
type PackageRel$2 = ResourceRel & {
|
10536
10452
|
type: PackageType;
|
@@ -10727,7 +10643,7 @@ type ParcelType = 'parcels';
|
|
10727
10643
|
type ParcelRel$1 = ResourceRel & {
|
10728
10644
|
type: ParcelType;
|
10729
10645
|
};
|
10730
|
-
type ShipmentRel$
|
10646
|
+
type ShipmentRel$4 = ResourceRel & {
|
10731
10647
|
type: ShipmentType;
|
10732
10648
|
};
|
10733
10649
|
type PackageRel$1 = ResourceRel & {
|
@@ -10981,7 +10897,7 @@ interface ParcelCreate extends ResourceCreate {
|
|
10981
10897
|
* @example ```"SIGNATURE"```
|
10982
10898
|
*/
|
10983
10899
|
delivery_confirmation?: string | null;
|
10984
|
-
shipment: ShipmentRel$
|
10900
|
+
shipment: ShipmentRel$4;
|
10985
10901
|
package: PackageRel$1;
|
10986
10902
|
}
|
10987
10903
|
interface ParcelUpdate extends ResourceUpdate {
|
@@ -11101,7 +11017,7 @@ interface ParcelUpdate extends ResourceUpdate {
|
|
11101
11017
|
* @example ```"SIGNATURE"```
|
11102
11018
|
*/
|
11103
11019
|
delivery_confirmation?: string | null;
|
11104
|
-
shipment?: ShipmentRel$
|
11020
|
+
shipment?: ShipmentRel$4 | null;
|
11105
11021
|
package?: PackageRel$1 | null;
|
11106
11022
|
}
|
11107
11023
|
declare class Parcels extends ApiResource<Parcel> {
|
@@ -11121,8 +11037,124 @@ declare class Parcels extends ApiResource<Parcel> {
|
|
11121
11037
|
type(): ParcelType;
|
11122
11038
|
}
|
11123
11039
|
|
11040
|
+
type PickupType = 'pickups';
|
11041
|
+
type PickupRel = ResourceRel & {
|
11042
|
+
type: PickupType;
|
11043
|
+
};
|
11044
|
+
type PickupSort = Pick<Pickup, 'id' | 'status'> & ResourceSort;
|
11045
|
+
interface Pickup extends Resource {
|
11046
|
+
readonly type: PickupType;
|
11047
|
+
/**
|
11048
|
+
* The pick up status.
|
11049
|
+
* @example ```"unknown"```
|
11050
|
+
*/
|
11051
|
+
status?: string | null;
|
11052
|
+
/**
|
11053
|
+
* The pick up service internal ID.
|
11054
|
+
* @example ```"pickup_13e5d7e2a7824432a07975bc553944bc"```
|
11055
|
+
*/
|
11056
|
+
internal_id: string;
|
11057
|
+
shipment?: Shipment | null;
|
11058
|
+
parcels?: Parcel[] | null;
|
11059
|
+
events?: Event[] | null;
|
11060
|
+
}
|
11061
|
+
declare class Pickups extends ApiResource<Pickup> {
|
11062
|
+
static readonly TYPE: PickupType;
|
11063
|
+
shipment(pickupId: string | Pickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11064
|
+
parcels(pickupId: string | Pickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
|
11065
|
+
events(pickupId: string | Pickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
11066
|
+
isPickup(resource: any): resource is Pickup;
|
11067
|
+
relationship(id: string | ResourceId | null): PickupRel;
|
11068
|
+
relationshipToMany(...ids: string[]): PickupRel[];
|
11069
|
+
type(): PickupType;
|
11070
|
+
}
|
11071
|
+
|
11072
|
+
type CarrierAccountType = 'carrier_accounts';
|
11073
|
+
type CarrierAccountRel$1 = ResourceRel & {
|
11074
|
+
type: CarrierAccountType;
|
11075
|
+
};
|
11076
|
+
type MarketRel$4 = ResourceRel & {
|
11077
|
+
type: MarketType;
|
11078
|
+
};
|
11079
|
+
type CarrierAccountSort = Pick<CarrierAccount, 'id' | 'name'> & ResourceSort;
|
11080
|
+
interface CarrierAccount extends Resource {
|
11081
|
+
readonly type: CarrierAccountType;
|
11082
|
+
/**
|
11083
|
+
* The carrier account internal name.
|
11084
|
+
* @example ```"Accurate"```
|
11085
|
+
*/
|
11086
|
+
name: string;
|
11087
|
+
/**
|
11088
|
+
* The Easypost service carrier type.
|
11089
|
+
* @example ```"AccurateAccount"```
|
11090
|
+
*/
|
11091
|
+
easypost_type: string;
|
11092
|
+
/**
|
11093
|
+
* The Easypost internal reference ID.
|
11094
|
+
* @example ```"xxxx-yyyy-zzzz"```
|
11095
|
+
*/
|
11096
|
+
easypost_id?: string | null;
|
11097
|
+
/**
|
11098
|
+
* The Easypost carrier accounts credentials fields.
|
11099
|
+
* @example ```{"username":"xxxx","password":"secret"}```
|
11100
|
+
*/
|
11101
|
+
credentials: Record<string, any>;
|
11102
|
+
market?: Market | null;
|
11103
|
+
attachments?: Attachment[] | null;
|
11104
|
+
versions?: Version[] | null;
|
11105
|
+
}
|
11106
|
+
interface CarrierAccountCreate extends ResourceCreate {
|
11107
|
+
/**
|
11108
|
+
* The carrier account internal name.
|
11109
|
+
* @example ```"Accurate"```
|
11110
|
+
*/
|
11111
|
+
name: string;
|
11112
|
+
/**
|
11113
|
+
* The Easypost service carrier type.
|
11114
|
+
* @example ```"AccurateAccount"```
|
11115
|
+
*/
|
11116
|
+
easypost_type: string;
|
11117
|
+
/**
|
11118
|
+
* The Easypost carrier accounts credentials fields.
|
11119
|
+
* @example ```{"username":"xxxx","password":"secret"}```
|
11120
|
+
*/
|
11121
|
+
credentials: Record<string, any>;
|
11122
|
+
market?: MarketRel$4 | null;
|
11123
|
+
}
|
11124
|
+
interface CarrierAccountUpdate extends ResourceUpdate {
|
11125
|
+
/**
|
11126
|
+
* The carrier account internal name.
|
11127
|
+
* @example ```"Accurate"```
|
11128
|
+
*/
|
11129
|
+
name?: string | null;
|
11130
|
+
/**
|
11131
|
+
* The Easypost service carrier type.
|
11132
|
+
* @example ```"AccurateAccount"```
|
11133
|
+
*/
|
11134
|
+
easypost_type?: string | null;
|
11135
|
+
/**
|
11136
|
+
* The Easypost carrier accounts credentials fields.
|
11137
|
+
* @example ```{"username":"xxxx","password":"secret"}```
|
11138
|
+
*/
|
11139
|
+
credentials?: Record<string, any> | null;
|
11140
|
+
market?: MarketRel$4 | null;
|
11141
|
+
}
|
11142
|
+
declare class CarrierAccounts extends ApiResource<CarrierAccount> {
|
11143
|
+
static readonly TYPE: CarrierAccountType;
|
11144
|
+
create(resource: CarrierAccountCreate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
|
11145
|
+
update(resource: CarrierAccountUpdate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
|
11146
|
+
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
11147
|
+
market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
11148
|
+
attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
11149
|
+
versions(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
11150
|
+
isCarrierAccount(resource: any): resource is CarrierAccount;
|
11151
|
+
relationship(id: string | ResourceId | null): CarrierAccountRel$1;
|
11152
|
+
relationshipToMany(...ids: string[]): CarrierAccountRel$1[];
|
11153
|
+
type(): CarrierAccountType;
|
11154
|
+
}
|
11155
|
+
|
11124
11156
|
type ShipmentType = 'shipments';
|
11125
|
-
type ShipmentRel$
|
11157
|
+
type ShipmentRel$3 = ResourceRel & {
|
11126
11158
|
type: ShipmentType;
|
11127
11159
|
};
|
11128
11160
|
type OrderRel$1 = ResourceRel & {
|
@@ -11264,6 +11296,7 @@ interface Shipment extends Resource {
|
|
11264
11296
|
shipping_address?: Address | null;
|
11265
11297
|
shipping_method?: ShippingMethod | null;
|
11266
11298
|
delivery_lead_time?: DeliveryLeadTime | null;
|
11299
|
+
pickup?: Pickup | null;
|
11267
11300
|
stock_line_items?: StockLineItem[] | null;
|
11268
11301
|
stock_transfers?: StockTransfer[] | null;
|
11269
11302
|
line_items?: LineItem[] | null;
|
@@ -11378,6 +11411,7 @@ declare class Shipments extends ApiResource<Shipment> {
|
|
11378
11411
|
shipping_address(shipmentId: string | Shipment, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
11379
11412
|
shipping_method(shipmentId: string | Shipment, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
11380
11413
|
delivery_lead_time(shipmentId: string | Shipment, params?: QueryParamsRetrieve<DeliveryLeadTime>, options?: ResourcesConfig): Promise<DeliveryLeadTime>;
|
11414
|
+
pickup(shipmentId: string | Shipment, params?: QueryParamsRetrieve<Pickup>, options?: ResourcesConfig): Promise<Pickup>;
|
11381
11415
|
stock_line_items(shipmentId: string | Shipment, params?: QueryParamsList<StockLineItem>, options?: ResourcesConfig): Promise<ListResponse<StockLineItem>>;
|
11382
11416
|
stock_transfers(shipmentId: string | Shipment, params?: QueryParamsList<StockTransfer>, options?: ResourcesConfig): Promise<ListResponse<StockTransfer>>;
|
11383
11417
|
line_items(shipmentId: string | Shipment, params?: QueryParamsList<LineItem>, options?: ResourcesConfig): Promise<ListResponse<LineItem>>;
|
@@ -11402,8 +11436,8 @@ declare class Shipments extends ApiResource<Shipment> {
|
|
11402
11436
|
_get_rates(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11403
11437
|
_purchase(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11404
11438
|
isShipment(resource: any): resource is Shipment;
|
11405
|
-
relationship(id: string | ResourceId | null): ShipmentRel$
|
11406
|
-
relationshipToMany(...ids: string[]): ShipmentRel$
|
11439
|
+
relationship(id: string | ResourceId | null): ShipmentRel$3;
|
11440
|
+
relationshipToMany(...ids: string[]): ShipmentRel$3[];
|
11407
11441
|
type(): ShipmentType;
|
11408
11442
|
}
|
11409
11443
|
|
@@ -11417,7 +11451,7 @@ type SkuRel$6 = ResourceRel & {
|
|
11417
11451
|
type StockLocationRel$3 = ResourceRel & {
|
11418
11452
|
type: StockLocationType;
|
11419
11453
|
};
|
11420
|
-
type ShipmentRel$
|
11454
|
+
type ShipmentRel$2 = ResourceRel & {
|
11421
11455
|
type: ShipmentType;
|
11422
11456
|
};
|
11423
11457
|
type LineItemRel = ResourceRel & {
|
@@ -11500,7 +11534,7 @@ interface StockTransferCreate extends ResourceCreate {
|
|
11500
11534
|
sku: SkuRel$6;
|
11501
11535
|
origin_stock_location: StockLocationRel$3;
|
11502
11536
|
destination_stock_location: StockLocationRel$3;
|
11503
|
-
shipment?: ShipmentRel$
|
11537
|
+
shipment?: ShipmentRel$2 | null;
|
11504
11538
|
line_item?: LineItemRel | null;
|
11505
11539
|
}
|
11506
11540
|
interface StockTransferUpdate extends ResourceUpdate {
|
@@ -11552,7 +11586,7 @@ interface StockTransferUpdate extends ResourceUpdate {
|
|
11552
11586
|
sku?: SkuRel$6 | null;
|
11553
11587
|
origin_stock_location?: StockLocationRel$3 | null;
|
11554
11588
|
destination_stock_location?: StockLocationRel$3 | null;
|
11555
|
-
shipment?: ShipmentRel$
|
11589
|
+
shipment?: ShipmentRel$2 | null;
|
11556
11590
|
line_item?: LineItemRel | null;
|
11557
11591
|
}
|
11558
11592
|
declare class StockTransfers extends ApiResource<StockTransfer> {
|
@@ -13723,6 +13757,12 @@ type ShippingMethodRel = ResourceRel & {
|
|
13723
13757
|
type DiscountEngineRel = ResourceRel & {
|
13724
13758
|
type: DiscountEngineType;
|
13725
13759
|
};
|
13760
|
+
type ShipmentRel$1 = ResourceRel & {
|
13761
|
+
type: ShipmentType;
|
13762
|
+
};
|
13763
|
+
type ParcelRel = ResourceRel & {
|
13764
|
+
type: ParcelType;
|
13765
|
+
};
|
13726
13766
|
type GiftCardRecipientRel = ResourceRel & {
|
13727
13767
|
type: GiftCardRecipientType;
|
13728
13768
|
};
|
@@ -13744,18 +13784,12 @@ type MerchantRel$2 = ResourceRel & {
|
|
13744
13784
|
type SubscriptionModelRel$1 = ResourceRel & {
|
13745
13785
|
type: SubscriptionModelType;
|
13746
13786
|
};
|
13747
|
-
type ShipmentRel = ResourceRel & {
|
13748
|
-
type: ShipmentType;
|
13749
|
-
};
|
13750
13787
|
type PaymentOptionRel = ResourceRel & {
|
13751
13788
|
type: PaymentOptionType;
|
13752
13789
|
};
|
13753
13790
|
type PackageRel = ResourceRel & {
|
13754
13791
|
type: PackageType;
|
13755
13792
|
};
|
13756
|
-
type ParcelRel = ResourceRel & {
|
13757
|
-
type: ParcelType;
|
13758
|
-
};
|
13759
13793
|
type PriceRel = ResourceRel & {
|
13760
13794
|
type: PriceType;
|
13761
13795
|
};
|
@@ -13786,7 +13820,7 @@ interface Attachment extends Resource {
|
|
13786
13820
|
* @example ```"https://s3.yourdomain.com/attachment.pdf"```
|
13787
13821
|
*/
|
13788
13822
|
url?: string | null;
|
13789
|
-
attachable?: Geocoder | PriceList | PaymentMethod | Market | CustomerGroup | Order | Transaction | Promotion | TaxCalculator | TaxCategory | Sku | ShippingCategory | Bundle | SkuList | StockItem | StockLocation | Return | CarrierAccount | CouponRecipient | Customer | DeliveryLeadTime | ShippingMethod | DiscountEngine | GiftCardRecipient | GiftCard | InventoryModel | StockTransfer | SkuOption | Merchant | SubscriptionModel |
|
13823
|
+
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;
|
13790
13824
|
}
|
13791
13825
|
interface AttachmentCreate extends ResourceCreate {
|
13792
13826
|
/**
|
@@ -13804,7 +13838,7 @@ interface AttachmentCreate extends ResourceCreate {
|
|
13804
13838
|
* @example ```"https://s3.yourdomain.com/attachment.pdf"```
|
13805
13839
|
*/
|
13806
13840
|
url?: string | null;
|
13807
|
-
attachable: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 |
|
13841
|
+
attachable: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel;
|
13808
13842
|
}
|
13809
13843
|
interface AttachmentUpdate extends ResourceUpdate {
|
13810
13844
|
/**
|
@@ -13822,7 +13856,7 @@ interface AttachmentUpdate extends ResourceUpdate {
|
|
13822
13856
|
* @example ```"https://s3.yourdomain.com/attachment.pdf"```
|
13823
13857
|
*/
|
13824
13858
|
url?: string | null;
|
13825
|
-
attachable?: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 |
|
13859
|
+
attachable?: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null;
|
13826
13860
|
}
|
13827
13861
|
declare class Attachments extends ApiResource<Attachment> {
|
13828
13862
|
static readonly TYPE: AttachmentType;
|
@@ -15193,6 +15227,111 @@ declare class CustomerPasswordResets extends ApiResource<CustomerPasswordReset>
|
|
15193
15227
|
type(): CustomerPasswordResetType;
|
15194
15228
|
}
|
15195
15229
|
|
15230
|
+
type EasypostPickupType = 'easypost_pickups';
|
15231
|
+
type EasypostPickupRel = ResourceRel & {
|
15232
|
+
type: EasypostPickupType;
|
15233
|
+
};
|
15234
|
+
type ShipmentRel = ResourceRel & {
|
15235
|
+
type: ShipmentType;
|
15236
|
+
};
|
15237
|
+
type EasypostPickupSort = Pick<EasypostPickup, 'id' | 'status' | 'min_datetime' | 'max_datetime' | 'purchase_started_at' | 'purchase_completed_at'> & ResourceSort;
|
15238
|
+
interface EasypostPickup extends Resource {
|
15239
|
+
readonly type: EasypostPickupType;
|
15240
|
+
/**
|
15241
|
+
* The pick up status.
|
15242
|
+
* @example ```"unknown"```
|
15243
|
+
*/
|
15244
|
+
status?: string | null;
|
15245
|
+
/**
|
15246
|
+
* The pick up service internal ID.
|
15247
|
+
* @example ```"pickup_13e5d7e2a7824432a07975bc553944bc"```
|
15248
|
+
*/
|
15249
|
+
internal_id: string;
|
15250
|
+
/**
|
15251
|
+
* The selected purchase rate from the available pick up rates.
|
15252
|
+
* @example ```"pickuprate_a6cd2647a898410aa5d33febde44e1b2"```
|
15253
|
+
*/
|
15254
|
+
selected_rate_id?: string | null;
|
15255
|
+
/**
|
15256
|
+
* The available pick up rates.
|
15257
|
+
* @example ```[{"id":"pickuprate_a6cd2647a898410aa5d33febde44e1b2","rate":"45.59","carrier":"USPS","service":"NextDay"}]```
|
15258
|
+
*/
|
15259
|
+
rates: Array<Record<string, any>>;
|
15260
|
+
/**
|
15261
|
+
* Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.
|
15262
|
+
* @example ```"Knock loudly"```
|
15263
|
+
*/
|
15264
|
+
instructions?: string | null;
|
15265
|
+
/**
|
15266
|
+
* The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.
|
15267
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15268
|
+
*/
|
15269
|
+
min_datetime: string;
|
15270
|
+
/**
|
15271
|
+
* The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.
|
15272
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15273
|
+
*/
|
15274
|
+
max_datetime: string;
|
15275
|
+
/**
|
15276
|
+
* Time at which the purchasing of the pick up rate started.
|
15277
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15278
|
+
*/
|
15279
|
+
purchase_started_at?: string | null;
|
15280
|
+
/**
|
15281
|
+
* Time at which the purchasing of the pick up rate completed.
|
15282
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15283
|
+
*/
|
15284
|
+
purchase_completed_at?: string | null;
|
15285
|
+
shipment?: Shipment | null;
|
15286
|
+
parcels?: Parcel[] | null;
|
15287
|
+
events?: Event[] | null;
|
15288
|
+
}
|
15289
|
+
interface EasypostPickupCreate extends ResourceCreate {
|
15290
|
+
/**
|
15291
|
+
* Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.
|
15292
|
+
* @example ```"Knock loudly"```
|
15293
|
+
*/
|
15294
|
+
instructions?: string | null;
|
15295
|
+
/**
|
15296
|
+
* The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.
|
15297
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15298
|
+
*/
|
15299
|
+
min_datetime: string;
|
15300
|
+
/**
|
15301
|
+
* The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.
|
15302
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15303
|
+
*/
|
15304
|
+
max_datetime: string;
|
15305
|
+
shipment: ShipmentRel;
|
15306
|
+
}
|
15307
|
+
interface EasypostPickupUpdate extends ResourceUpdate {
|
15308
|
+
/**
|
15309
|
+
* The selected purchase rate from the available pick up rates.
|
15310
|
+
* @example ```"pickuprate_a6cd2647a898410aa5d33febde44e1b2"```
|
15311
|
+
*/
|
15312
|
+
selected_rate_id?: string | null;
|
15313
|
+
/**
|
15314
|
+
* Send this attribute if you want to purchase this pick up with the selected rate.
|
15315
|
+
* @example ```true```
|
15316
|
+
*/
|
15317
|
+
_purchase?: boolean | null;
|
15318
|
+
shipment?: ShipmentRel | null;
|
15319
|
+
}
|
15320
|
+
declare class EasypostPickups extends ApiResource<EasypostPickup> {
|
15321
|
+
static readonly TYPE: EasypostPickupType;
|
15322
|
+
create(resource: EasypostPickupCreate, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
|
15323
|
+
update(resource: EasypostPickupUpdate, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
|
15324
|
+
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
15325
|
+
shipment(easypostPickupId: string | EasypostPickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
15326
|
+
parcels(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
|
15327
|
+
events(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
15328
|
+
_purchase(id: string | EasypostPickup, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
|
15329
|
+
isEasypostPickup(resource: any): resource is EasypostPickup;
|
15330
|
+
relationship(id: string | ResourceId | null): EasypostPickupRel;
|
15331
|
+
relationshipToMany(...ids: string[]): EasypostPickupRel[];
|
15332
|
+
type(): EasypostPickupType;
|
15333
|
+
}
|
15334
|
+
|
15196
15335
|
type ExportType = 'exports';
|
15197
15336
|
type ExportRel = ResourceRel & {
|
15198
15337
|
type: ExportType;
|
@@ -16414,7 +16553,7 @@ declare class TalonOneAccounts extends ApiResource<TalonOneAccount> {
|
|
16414
16553
|
type(): TalonOneAccountType;
|
16415
16554
|
}
|
16416
16555
|
|
16417
|
-
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' | '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' | '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';
|
16556
|
+
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';
|
16418
16557
|
declare const resourceList: ResourceTypeLock[];
|
16419
16558
|
declare const singletonList: ResourceTypeLock[];
|
16420
16559
|
type RetrievableResourceType = ResourceTypeLock;
|
@@ -16425,15 +16564,15 @@ type ListableResourceType = Exclude<ResourceTypeLock, 'applications' | 'organiza
|
|
16425
16564
|
type ListableResource = Resource & {
|
16426
16565
|
type: ListableResourceType;
|
16427
16566
|
};
|
16428
|
-
type CreatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | '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' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | '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_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'webhooks' | 'wire_transfers';
|
16567
|
+
type CreatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | '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' | 'easypost_pickups' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | '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_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'webhooks' | 'wire_transfers';
|
16429
16568
|
type CreatableResource = Resource & {
|
16430
16569
|
type: CreatableResourceType;
|
16431
16570
|
};
|
16432
|
-
type UpdatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | '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' | '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' | '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_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'refunds' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
|
16571
|
+
type UpdatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | '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' | 'easypost_pickups' | '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' | '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_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'refunds' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
|
16433
16572
|
type UpdatableResource = Resource & {
|
16434
16573
|
type: UpdatableResourceType;
|
16435
16574
|
};
|
16436
|
-
type DeletableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | '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' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | '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_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'webhooks' | 'wire_transfers';
|
16575
|
+
type DeletableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | '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' | 'easypost_pickups' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | '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_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'webhooks' | 'wire_transfers';
|
16437
16576
|
type DeletableResource = Resource & {
|
16438
16577
|
type: DeletableResourceType;
|
16439
16578
|
};
|
@@ -16485,6 +16624,7 @@ type ResourceFields = {
|
|
16485
16624
|
delivery_lead_times: DeliveryLeadTime;
|
16486
16625
|
discount_engine_items: DiscountEngineItem;
|
16487
16626
|
discount_engines: DiscountEngine;
|
16627
|
+
easypost_pickups: EasypostPickup;
|
16488
16628
|
event_callbacks: EventCallback;
|
16489
16629
|
events: Event;
|
16490
16630
|
exports: Export;
|
@@ -16532,6 +16672,7 @@ type ResourceFields = {
|
|
16532
16672
|
paypal_gateways: PaypalGateway;
|
16533
16673
|
paypal_payments: PaypalPayment;
|
16534
16674
|
percentage_discount_promotions: PercentageDiscountPromotion;
|
16675
|
+
pickups: Pickup;
|
16535
16676
|
price_frequency_tiers: PriceFrequencyTier;
|
16536
16677
|
price_list_schedulers: PriceListScheduler;
|
16537
16678
|
price_lists: PriceList;
|
@@ -16616,6 +16757,7 @@ type ResourceSortFields = {
|
|
16616
16757
|
delivery_lead_times: DeliveryLeadTimeSort;
|
16617
16758
|
discount_engine_items: DiscountEngineItemSort;
|
16618
16759
|
discount_engines: DiscountEngineSort;
|
16760
|
+
easypost_pickups: EasypostPickupSort;
|
16619
16761
|
event_callbacks: EventCallbackSort;
|
16620
16762
|
events: EventSort;
|
16621
16763
|
exports: ExportSort;
|
@@ -16663,6 +16805,7 @@ type ResourceSortFields = {
|
|
16663
16805
|
paypal_gateways: PaypalGatewaySort;
|
16664
16806
|
paypal_payments: PaypalPaymentSort;
|
16665
16807
|
percentage_discount_promotions: PercentageDiscountPromotionSort;
|
16808
|
+
pickups: PickupSort;
|
16666
16809
|
price_frequency_tiers: PriceFrequencyTierSort;
|
16667
16810
|
price_list_schedulers: PriceListSchedulerSort;
|
16668
16811
|
price_lists: PriceListSort;
|
@@ -16751,7 +16894,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
|
16751
16894
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
16752
16895
|
declare class CommerceLayerClient {
|
16753
16896
|
#private;
|
16754
|
-
readonly openApiSchemaVersion = "7.
|
16897
|
+
readonly openApiSchemaVersion = "7.8.0";
|
16755
16898
|
constructor(config: CommerceLayerInitConfig);
|
16756
16899
|
get addresses(): Addresses;
|
16757
16900
|
get adjustments(): Adjustments;
|
@@ -16786,6 +16929,7 @@ declare class CommerceLayerClient {
|
|
16786
16929
|
get delivery_lead_times(): DeliveryLeadTimes;
|
16787
16930
|
get discount_engine_items(): DiscountEngineItems;
|
16788
16931
|
get discount_engines(): DiscountEngines;
|
16932
|
+
get easypost_pickups(): EasypostPickups;
|
16789
16933
|
get event_callbacks(): EventCallbacks;
|
16790
16934
|
get events(): Events;
|
16791
16935
|
get exports(): Exports;
|
@@ -16833,6 +16977,7 @@ declare class CommerceLayerClient {
|
|
16833
16977
|
get paypal_gateways(): PaypalGateways;
|
16834
16978
|
get paypal_payments(): PaypalPayments;
|
16835
16979
|
get percentage_discount_promotions(): PercentageDiscountPromotions;
|
16980
|
+
get pickups(): Pickups;
|
16836
16981
|
get price_frequency_tiers(): PriceFrequencyTiers;
|
16837
16982
|
get price_list_schedulers(): PriceListSchedulers;
|
16838
16983
|
get price_lists(): PriceLists;
|
@@ -16913,4 +17058,4 @@ declare const CommerceLayerStatic: {
|
|
16913
17058
|
readonly schemaVersion: string;
|
16914
17059
|
};
|
16915
17060
|
|
16916
|
-
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 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 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 };
|
17061
|
+
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 };
|