@commercelayer/sdk 6.33.0 → 6.35.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 +303 -140
- package/lib/index.d.ts +303 -140
- package/lib/index.js +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +4 -4
package/lib/index.d.mts
CHANGED
@@ -1012,7 +1012,7 @@ declare class Stores extends ApiResource<Store> {
|
|
1012
1012
|
}
|
1013
1013
|
|
1014
1014
|
type PaymentMethodType = 'payment_methods';
|
1015
|
-
type PaymentMethodRel$
|
1015
|
+
type PaymentMethodRel$5 = ResourceRel & {
|
1016
1016
|
type: PaymentMethodType;
|
1017
1017
|
};
|
1018
1018
|
type MarketRel$i = ResourceRel & {
|
@@ -1224,8 +1224,8 @@ declare class PaymentMethods extends ApiResource<PaymentMethod> {
|
|
1224
1224
|
_disable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
|
1225
1225
|
_enable(id: string | PaymentMethod, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
|
1226
1226
|
isPaymentMethod(resource: any): resource is PaymentMethod;
|
1227
|
-
relationship(id: string | ResourceId | null): PaymentMethodRel$
|
1228
|
-
relationshipToMany(...ids: string[]): PaymentMethodRel$
|
1227
|
+
relationship(id: string | ResourceId | null): PaymentMethodRel$5;
|
1228
|
+
relationshipToMany(...ids: string[]): PaymentMethodRel$5[];
|
1229
1229
|
type(): PaymentMethodType;
|
1230
1230
|
}
|
1231
1231
|
|
@@ -2194,7 +2194,7 @@ type CustomerPaymentSourceRel$1 = ResourceRel & {
|
|
2194
2194
|
type CustomerRel$7 = ResourceRel & {
|
2195
2195
|
type: CustomerType;
|
2196
2196
|
};
|
2197
|
-
type PaymentMethodRel$
|
2197
|
+
type PaymentMethodRel$4 = ResourceRel & {
|
2198
2198
|
type: PaymentMethodType;
|
2199
2199
|
};
|
2200
2200
|
type AdyenPaymentRel$2 = ResourceRel & {
|
@@ -2262,7 +2262,7 @@ interface CustomerPaymentSourceCreate extends ResourceCreate {
|
|
2262
2262
|
*/
|
2263
2263
|
payment_source_token?: string | null;
|
2264
2264
|
customer: CustomerRel$7;
|
2265
|
-
payment_method?: PaymentMethodRel$
|
2265
|
+
payment_method?: PaymentMethodRel$4 | null;
|
2266
2266
|
payment_source?: AdyenPaymentRel$2 | AxervePaymentRel$2 | BraintreePaymentRel$2 | CheckoutComPaymentRel$2 | ExternalPaymentRel$1 | KlarnaPaymentRel$2 | PaypalPaymentRel$1 | SatispayPaymentRel$2 | StripePaymentRel$1 | WireTransferRel$1 | null;
|
2267
2267
|
}
|
2268
2268
|
interface CustomerPaymentSourceUpdate extends ResourceUpdate {
|
@@ -2277,7 +2277,7 @@ interface CustomerPaymentSourceUpdate extends ResourceUpdate {
|
|
2277
2277
|
*/
|
2278
2278
|
payment_source_token?: string | null;
|
2279
2279
|
customer?: CustomerRel$7 | null;
|
2280
|
-
payment_method?: PaymentMethodRel$
|
2280
|
+
payment_method?: PaymentMethodRel$4 | null;
|
2281
2281
|
payment_source?: AdyenPaymentRel$2 | AxervePaymentRel$2 | BraintreePaymentRel$2 | CheckoutComPaymentRel$2 | ExternalPaymentRel$1 | KlarnaPaymentRel$2 | PaypalPaymentRel$1 | SatispayPaymentRel$2 | StripePaymentRel$1 | WireTransferRel$1 | null;
|
2282
2282
|
}
|
2283
2283
|
declare class CustomerPaymentSources extends ApiResource<CustomerPaymentSource> {
|
@@ -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;
|
@@ -3957,7 +3957,7 @@ type DeliveryLeadTimeRel$1 = ResourceRel & {
|
|
3957
3957
|
type StockLocationRel$6 = ResourceRel & {
|
3958
3958
|
type: StockLocationType;
|
3959
3959
|
};
|
3960
|
-
type ShippingMethodRel$
|
3960
|
+
type ShippingMethodRel$6 = ResourceRel & {
|
3961
3961
|
type: ShippingMethodType;
|
3962
3962
|
};
|
3963
3963
|
type DeliveryLeadTimeSort = Pick<DeliveryLeadTime, 'id' | 'min_hours' | 'max_hours' | 'min_days'> & ResourceSort;
|
@@ -4000,7 +4000,7 @@ interface DeliveryLeadTimeCreate extends ResourceCreate {
|
|
4000
4000
|
*/
|
4001
4001
|
max_hours: number;
|
4002
4002
|
stock_location: StockLocationRel$6;
|
4003
|
-
shipping_method: ShippingMethodRel$
|
4003
|
+
shipping_method: ShippingMethodRel$6;
|
4004
4004
|
}
|
4005
4005
|
interface DeliveryLeadTimeUpdate extends ResourceUpdate {
|
4006
4006
|
/**
|
@@ -4014,7 +4014,7 @@ interface DeliveryLeadTimeUpdate extends ResourceUpdate {
|
|
4014
4014
|
*/
|
4015
4015
|
max_hours?: number | null;
|
4016
4016
|
stock_location?: StockLocationRel$6 | null;
|
4017
|
-
shipping_method?: ShippingMethodRel$
|
4017
|
+
shipping_method?: ShippingMethodRel$6 | null;
|
4018
4018
|
}
|
4019
4019
|
declare class DeliveryLeadTimes extends ApiResource<DeliveryLeadTime> {
|
4020
4020
|
static readonly TYPE: DeliveryLeadTimeType;
|
@@ -4082,7 +4082,7 @@ type ShippingWeightTierType = 'shipping_weight_tiers';
|
|
4082
4082
|
type ShippingWeightTierRel = ResourceRel & {
|
4083
4083
|
type: ShippingWeightTierType;
|
4084
4084
|
};
|
4085
|
-
type ShippingMethodRel$
|
4085
|
+
type ShippingMethodRel$5 = ResourceRel & {
|
4086
4086
|
type: ShippingMethodType;
|
4087
4087
|
};
|
4088
4088
|
type ShippingWeightTierSort = Pick<ShippingWeightTier, 'id' | 'name' | 'up_to' | 'price_amount_cents'> & ResourceSort;
|
@@ -4133,7 +4133,7 @@ interface ShippingWeightTierCreate extends ResourceCreate {
|
|
4133
4133
|
* @example ```1000```
|
4134
4134
|
*/
|
4135
4135
|
price_amount_cents: number;
|
4136
|
-
shipping_method: ShippingMethodRel$
|
4136
|
+
shipping_method: ShippingMethodRel$5;
|
4137
4137
|
}
|
4138
4138
|
interface ShippingWeightTierUpdate extends ResourceUpdate {
|
4139
4139
|
/**
|
@@ -4151,7 +4151,7 @@ interface ShippingWeightTierUpdate extends ResourceUpdate {
|
|
4151
4151
|
* @example ```1000```
|
4152
4152
|
*/
|
4153
4153
|
price_amount_cents?: number | null;
|
4154
|
-
shipping_method?: ShippingMethodRel$
|
4154
|
+
shipping_method?: ShippingMethodRel$5 | null;
|
4155
4155
|
}
|
4156
4156
|
declare class ShippingWeightTiers extends ApiResource<ShippingWeightTier> {
|
4157
4157
|
static readonly TYPE: ShippingWeightTierType;
|
@@ -4168,7 +4168,7 @@ declare class ShippingWeightTiers extends ApiResource<ShippingWeightTier> {
|
|
4168
4168
|
}
|
4169
4169
|
|
4170
4170
|
type ShippingMethodType = 'shipping_methods';
|
4171
|
-
type ShippingMethodRel$
|
4171
|
+
type ShippingMethodRel$4 = ResourceRel & {
|
4172
4172
|
type: ShippingMethodType;
|
4173
4173
|
};
|
4174
4174
|
type MarketRel$g = ResourceRel & {
|
@@ -4471,8 +4471,8 @@ declare class ShippingMethods extends ApiResource<ShippingMethod> {
|
|
4471
4471
|
_enable(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
4472
4472
|
_reset_circuit(id: string | ShippingMethod, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
4473
4473
|
isShippingMethod(resource: any): resource is ShippingMethod;
|
4474
|
-
relationship(id: string | ResourceId | null): ShippingMethodRel$
|
4475
|
-
relationshipToMany(...ids: string[]): ShippingMethodRel$
|
4474
|
+
relationship(id: string | ResourceId | null): ShippingMethodRel$4;
|
4475
|
+
relationshipToMany(...ids: string[]): ShippingMethodRel$4[];
|
4476
4476
|
type(): ShippingMethodType;
|
4477
4477
|
}
|
4478
4478
|
|
@@ -4486,7 +4486,7 @@ type OrderRel$9 = ResourceRel & {
|
|
4486
4486
|
type LineItemRel$2 = ResourceRel & {
|
4487
4487
|
type: LineItemType;
|
4488
4488
|
};
|
4489
|
-
type ShippingMethodRel$
|
4489
|
+
type ShippingMethodRel$3 = ResourceRel & {
|
4490
4490
|
type: ShippingMethodType;
|
4491
4491
|
};
|
4492
4492
|
type NotificationSort = Pick<Notification, 'id' | 'name' | 'flash'> & ResourceSort;
|
@@ -4523,7 +4523,7 @@ interface NotificationCreate extends ResourceCreate {
|
|
4523
4523
|
* @example ```{"sku":"REDHANDBAG","name":"Enjoy your free item"}```
|
4524
4524
|
*/
|
4525
4525
|
body?: Record<string, any> | null;
|
4526
|
-
notifiable: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$
|
4526
|
+
notifiable: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$3;
|
4527
4527
|
}
|
4528
4528
|
interface NotificationUpdate extends ResourceUpdate {
|
4529
4529
|
/**
|
@@ -4540,7 +4540,7 @@ interface NotificationUpdate extends ResourceUpdate {
|
|
4540
4540
|
* @example ```{"sku":"REDHANDBAG","name":"Enjoy your free item"}```
|
4541
4541
|
*/
|
4542
4542
|
body?: Record<string, any> | null;
|
4543
|
-
notifiable?: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$
|
4543
|
+
notifiable?: OrderRel$9 | LineItemRel$2 | ShippingMethodRel$3 | null;
|
4544
4544
|
}
|
4545
4545
|
declare class Notifications extends ApiResource<Notification> {
|
4546
4546
|
static readonly TYPE: NotificationType;
|
@@ -8175,10 +8175,10 @@ 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
|
-
type PaymentMethodRel$
|
8181
|
+
type PaymentMethodRel$3 = ResourceRel & {
|
8182
8182
|
type: PaymentMethodType;
|
8183
8183
|
};
|
8184
8184
|
type AdjustmentRel$1 = 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$3 | 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 {
|
@@ -9402,7 +9402,7 @@ type AddressRel$4 = ResourceRel & {
|
|
9402
9402
|
type StoreRel = ResourceRel & {
|
9403
9403
|
type: StoreType;
|
9404
9404
|
};
|
9405
|
-
type PaymentMethodRel$
|
9405
|
+
type PaymentMethodRel$2 = ResourceRel & {
|
9406
9406
|
type: PaymentMethodType;
|
9407
9407
|
};
|
9408
9408
|
type AdyenPaymentRel$1 = ResourceRel & {
|
@@ -9977,6 +9977,8 @@ interface Order extends Resource {
|
|
9977
9977
|
shipping_address?: Address | null;
|
9978
9978
|
billing_address?: Address | null;
|
9979
9979
|
store?: Store | null;
|
9980
|
+
default_shipping_method?: ShippingMethod | null;
|
9981
|
+
default_payment_method?: PaymentMethod | null;
|
9980
9982
|
available_payment_methods?: PaymentMethod[] | null;
|
9981
9983
|
available_customer_payment_sources?: CustomerPaymentSource[] | null;
|
9982
9984
|
available_free_skus?: Sku[] | null;
|
@@ -10109,7 +10111,7 @@ interface OrderCreate extends ResourceCreate {
|
|
10109
10111
|
shipping_address?: AddressRel$4 | null;
|
10110
10112
|
billing_address?: AddressRel$4 | null;
|
10111
10113
|
store?: StoreRel | null;
|
10112
|
-
payment_method?: PaymentMethodRel$
|
10114
|
+
payment_method?: PaymentMethodRel$2 | null;
|
10113
10115
|
payment_source?: AdyenPaymentRel$1 | AxervePaymentRel$1 | BraintreePaymentRel$1 | CheckoutComPaymentRel$1 | ExternalPaymentRel | KlarnaPaymentRel$1 | PaypalPaymentRel | SatispayPaymentRel$1 | StripePaymentRel | WireTransferRel | null;
|
10114
10116
|
tags?: TagRel$3[] | null;
|
10115
10117
|
}
|
@@ -10367,7 +10369,7 @@ interface OrderUpdate extends ResourceUpdate {
|
|
10367
10369
|
shipping_address?: AddressRel$4 | null;
|
10368
10370
|
billing_address?: AddressRel$4 | null;
|
10369
10371
|
store?: StoreRel | null;
|
10370
|
-
payment_method?: PaymentMethodRel$
|
10372
|
+
payment_method?: PaymentMethodRel$2 | null;
|
10371
10373
|
payment_source?: AdyenPaymentRel$1 | AxervePaymentRel$1 | BraintreePaymentRel$1 | CheckoutComPaymentRel$1 | ExternalPaymentRel | KlarnaPaymentRel$1 | PaypalPaymentRel | SatispayPaymentRel$1 | StripePaymentRel | WireTransferRel | null;
|
10372
10374
|
tags?: TagRel$3[] | null;
|
10373
10375
|
}
|
@@ -10381,6 +10383,8 @@ declare class Orders extends ApiResource<Order> {
|
|
10381
10383
|
shipping_address(orderId: string | Order, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
10382
10384
|
billing_address(orderId: string | Order, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
10383
10385
|
store(orderId: string | Order, params?: QueryParamsRetrieve<Store>, options?: ResourcesConfig): Promise<Store>;
|
10386
|
+
default_shipping_method(orderId: string | Order, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
10387
|
+
default_payment_method(orderId: string | Order, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
|
10384
10388
|
available_payment_methods(orderId: string | Order, params?: QueryParamsList<PaymentMethod>, options?: ResourcesConfig): Promise<ListResponse<PaymentMethod>>;
|
10385
10389
|
available_customer_payment_sources(orderId: string | Order, params?: QueryParamsList<CustomerPaymentSource>, options?: ResourcesConfig): Promise<ListResponse<CustomerPaymentSource>>;
|
10386
10390
|
available_free_skus(orderId: string | Order, params?: QueryParamsList<Sku>, options?: ResourcesConfig): Promise<ListResponse<Sku>>;
|
@@ -10447,90 +10451,6 @@ declare class Orders extends ApiResource<Order> {
|
|
10447
10451
|
type(): OrderType;
|
10448
10452
|
}
|
10449
10453
|
|
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
10454
|
type PackageType = 'packages';
|
10535
10455
|
type PackageRel$2 = ResourceRel & {
|
10536
10456
|
type: PackageType;
|
@@ -10727,7 +10647,7 @@ type ParcelType = 'parcels';
|
|
10727
10647
|
type ParcelRel$1 = ResourceRel & {
|
10728
10648
|
type: ParcelType;
|
10729
10649
|
};
|
10730
|
-
type ShipmentRel$
|
10650
|
+
type ShipmentRel$4 = ResourceRel & {
|
10731
10651
|
type: ShipmentType;
|
10732
10652
|
};
|
10733
10653
|
type PackageRel$1 = ResourceRel & {
|
@@ -10981,7 +10901,7 @@ interface ParcelCreate extends ResourceCreate {
|
|
10981
10901
|
* @example ```"SIGNATURE"```
|
10982
10902
|
*/
|
10983
10903
|
delivery_confirmation?: string | null;
|
10984
|
-
shipment: ShipmentRel$
|
10904
|
+
shipment: ShipmentRel$4;
|
10985
10905
|
package: PackageRel$1;
|
10986
10906
|
}
|
10987
10907
|
interface ParcelUpdate extends ResourceUpdate {
|
@@ -11101,7 +11021,7 @@ interface ParcelUpdate extends ResourceUpdate {
|
|
11101
11021
|
* @example ```"SIGNATURE"```
|
11102
11022
|
*/
|
11103
11023
|
delivery_confirmation?: string | null;
|
11104
|
-
shipment?: ShipmentRel$
|
11024
|
+
shipment?: ShipmentRel$4 | null;
|
11105
11025
|
package?: PackageRel$1 | null;
|
11106
11026
|
}
|
11107
11027
|
declare class Parcels extends ApiResource<Parcel> {
|
@@ -11121,8 +11041,124 @@ declare class Parcels extends ApiResource<Parcel> {
|
|
11121
11041
|
type(): ParcelType;
|
11122
11042
|
}
|
11123
11043
|
|
11044
|
+
type PickupType = 'pickups';
|
11045
|
+
type PickupRel = ResourceRel & {
|
11046
|
+
type: PickupType;
|
11047
|
+
};
|
11048
|
+
type PickupSort = Pick<Pickup, 'id' | 'status'> & ResourceSort;
|
11049
|
+
interface Pickup extends Resource {
|
11050
|
+
readonly type: PickupType;
|
11051
|
+
/**
|
11052
|
+
* The pick up status.
|
11053
|
+
* @example ```"unknown"```
|
11054
|
+
*/
|
11055
|
+
status?: string | null;
|
11056
|
+
/**
|
11057
|
+
* The pick up service internal ID.
|
11058
|
+
* @example ```"pickup_13e5d7e2a7824432a07975bc553944bc"```
|
11059
|
+
*/
|
11060
|
+
internal_id: string;
|
11061
|
+
shipment?: Shipment | null;
|
11062
|
+
parcels?: Parcel[] | null;
|
11063
|
+
events?: Event[] | null;
|
11064
|
+
}
|
11065
|
+
declare class Pickups extends ApiResource<Pickup> {
|
11066
|
+
static readonly TYPE: PickupType;
|
11067
|
+
shipment(pickupId: string | Pickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11068
|
+
parcels(pickupId: string | Pickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
|
11069
|
+
events(pickupId: string | Pickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
11070
|
+
isPickup(resource: any): resource is Pickup;
|
11071
|
+
relationship(id: string | ResourceId | null): PickupRel;
|
11072
|
+
relationshipToMany(...ids: string[]): PickupRel[];
|
11073
|
+
type(): PickupType;
|
11074
|
+
}
|
11075
|
+
|
11076
|
+
type CarrierAccountType = 'carrier_accounts';
|
11077
|
+
type CarrierAccountRel$1 = ResourceRel & {
|
11078
|
+
type: CarrierAccountType;
|
11079
|
+
};
|
11080
|
+
type MarketRel$4 = ResourceRel & {
|
11081
|
+
type: MarketType;
|
11082
|
+
};
|
11083
|
+
type CarrierAccountSort = Pick<CarrierAccount, 'id' | 'name'> & ResourceSort;
|
11084
|
+
interface CarrierAccount extends Resource {
|
11085
|
+
readonly type: CarrierAccountType;
|
11086
|
+
/**
|
11087
|
+
* The carrier account internal name.
|
11088
|
+
* @example ```"Accurate"```
|
11089
|
+
*/
|
11090
|
+
name: string;
|
11091
|
+
/**
|
11092
|
+
* The Easypost service carrier type.
|
11093
|
+
* @example ```"AccurateAccount"```
|
11094
|
+
*/
|
11095
|
+
easypost_type: string;
|
11096
|
+
/**
|
11097
|
+
* The Easypost internal reference ID.
|
11098
|
+
* @example ```"xxxx-yyyy-zzzz"```
|
11099
|
+
*/
|
11100
|
+
easypost_id?: string | null;
|
11101
|
+
/**
|
11102
|
+
* The Easypost carrier accounts credentials fields.
|
11103
|
+
* @example ```{"username":"xxxx","password":"secret"}```
|
11104
|
+
*/
|
11105
|
+
credentials: Record<string, any>;
|
11106
|
+
market?: Market | null;
|
11107
|
+
attachments?: Attachment[] | null;
|
11108
|
+
versions?: Version[] | null;
|
11109
|
+
}
|
11110
|
+
interface CarrierAccountCreate extends ResourceCreate {
|
11111
|
+
/**
|
11112
|
+
* The carrier account internal name.
|
11113
|
+
* @example ```"Accurate"```
|
11114
|
+
*/
|
11115
|
+
name: string;
|
11116
|
+
/**
|
11117
|
+
* The Easypost service carrier type.
|
11118
|
+
* @example ```"AccurateAccount"```
|
11119
|
+
*/
|
11120
|
+
easypost_type: string;
|
11121
|
+
/**
|
11122
|
+
* The Easypost carrier accounts credentials fields.
|
11123
|
+
* @example ```{"username":"xxxx","password":"secret"}```
|
11124
|
+
*/
|
11125
|
+
credentials: Record<string, any>;
|
11126
|
+
market?: MarketRel$4 | null;
|
11127
|
+
}
|
11128
|
+
interface CarrierAccountUpdate extends ResourceUpdate {
|
11129
|
+
/**
|
11130
|
+
* The carrier account internal name.
|
11131
|
+
* @example ```"Accurate"```
|
11132
|
+
*/
|
11133
|
+
name?: string | null;
|
11134
|
+
/**
|
11135
|
+
* The Easypost service carrier type.
|
11136
|
+
* @example ```"AccurateAccount"```
|
11137
|
+
*/
|
11138
|
+
easypost_type?: string | null;
|
11139
|
+
/**
|
11140
|
+
* The Easypost carrier accounts credentials fields.
|
11141
|
+
* @example ```{"username":"xxxx","password":"secret"}```
|
11142
|
+
*/
|
11143
|
+
credentials?: Record<string, any> | null;
|
11144
|
+
market?: MarketRel$4 | null;
|
11145
|
+
}
|
11146
|
+
declare class CarrierAccounts extends ApiResource<CarrierAccount> {
|
11147
|
+
static readonly TYPE: CarrierAccountType;
|
11148
|
+
create(resource: CarrierAccountCreate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
|
11149
|
+
update(resource: CarrierAccountUpdate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
|
11150
|
+
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
11151
|
+
market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
|
11152
|
+
attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
11153
|
+
versions(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
|
11154
|
+
isCarrierAccount(resource: any): resource is CarrierAccount;
|
11155
|
+
relationship(id: string | ResourceId | null): CarrierAccountRel$1;
|
11156
|
+
relationshipToMany(...ids: string[]): CarrierAccountRel$1[];
|
11157
|
+
type(): CarrierAccountType;
|
11158
|
+
}
|
11159
|
+
|
11124
11160
|
type ShipmentType = 'shipments';
|
11125
|
-
type ShipmentRel$
|
11161
|
+
type ShipmentRel$3 = ResourceRel & {
|
11126
11162
|
type: ShipmentType;
|
11127
11163
|
};
|
11128
11164
|
type OrderRel$1 = ResourceRel & {
|
@@ -11137,7 +11173,7 @@ type InventoryStockLocationRel = ResourceRel & {
|
|
11137
11173
|
type AddressRel$3 = ResourceRel & {
|
11138
11174
|
type: AddressType;
|
11139
11175
|
};
|
11140
|
-
type ShippingMethodRel$
|
11176
|
+
type ShippingMethodRel$2 = ResourceRel & {
|
11141
11177
|
type: ShippingMethodType;
|
11142
11178
|
};
|
11143
11179
|
type TagRel$2 = ResourceRel & {
|
@@ -11264,6 +11300,7 @@ interface Shipment extends Resource {
|
|
11264
11300
|
shipping_address?: Address | null;
|
11265
11301
|
shipping_method?: ShippingMethod | null;
|
11266
11302
|
delivery_lead_time?: DeliveryLeadTime | null;
|
11303
|
+
pickup?: Pickup | null;
|
11267
11304
|
stock_line_items?: StockLineItem[] | null;
|
11268
11305
|
stock_transfers?: StockTransfer[] | null;
|
11269
11306
|
line_items?: LineItem[] | null;
|
@@ -11280,7 +11317,7 @@ interface ShipmentCreate extends ResourceCreate {
|
|
11280
11317
|
shipping_category?: ShippingCategoryRel$2 | null;
|
11281
11318
|
inventory_stock_location: InventoryStockLocationRel;
|
11282
11319
|
shipping_address?: AddressRel$3 | null;
|
11283
|
-
shipping_method?: ShippingMethodRel$
|
11320
|
+
shipping_method?: ShippingMethodRel$2 | null;
|
11284
11321
|
tags?: TagRel$2[] | null;
|
11285
11322
|
}
|
11286
11323
|
interface ShipmentUpdate extends ResourceUpdate {
|
@@ -11362,7 +11399,7 @@ interface ShipmentUpdate extends ResourceUpdate {
|
|
11362
11399
|
shipping_category?: ShippingCategoryRel$2 | null;
|
11363
11400
|
inventory_stock_location?: InventoryStockLocationRel | null;
|
11364
11401
|
shipping_address?: AddressRel$3 | null;
|
11365
|
-
shipping_method?: ShippingMethodRel$
|
11402
|
+
shipping_method?: ShippingMethodRel$2 | null;
|
11366
11403
|
tags?: TagRel$2[] | null;
|
11367
11404
|
}
|
11368
11405
|
declare class Shipments extends ApiResource<Shipment> {
|
@@ -11378,6 +11415,7 @@ declare class Shipments extends ApiResource<Shipment> {
|
|
11378
11415
|
shipping_address(shipmentId: string | Shipment, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
|
11379
11416
|
shipping_method(shipmentId: string | Shipment, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
11380
11417
|
delivery_lead_time(shipmentId: string | Shipment, params?: QueryParamsRetrieve<DeliveryLeadTime>, options?: ResourcesConfig): Promise<DeliveryLeadTime>;
|
11418
|
+
pickup(shipmentId: string | Shipment, params?: QueryParamsRetrieve<Pickup>, options?: ResourcesConfig): Promise<Pickup>;
|
11381
11419
|
stock_line_items(shipmentId: string | Shipment, params?: QueryParamsList<StockLineItem>, options?: ResourcesConfig): Promise<ListResponse<StockLineItem>>;
|
11382
11420
|
stock_transfers(shipmentId: string | Shipment, params?: QueryParamsList<StockTransfer>, options?: ResourcesConfig): Promise<ListResponse<StockTransfer>>;
|
11383
11421
|
line_items(shipmentId: string | Shipment, params?: QueryParamsList<LineItem>, options?: ResourcesConfig): Promise<ListResponse<LineItem>>;
|
@@ -11402,8 +11440,8 @@ declare class Shipments extends ApiResource<Shipment> {
|
|
11402
11440
|
_get_rates(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11403
11441
|
_purchase(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
11404
11442
|
isShipment(resource: any): resource is Shipment;
|
11405
|
-
relationship(id: string | ResourceId | null): ShipmentRel$
|
11406
|
-
relationshipToMany(...ids: string[]): ShipmentRel$
|
11443
|
+
relationship(id: string | ResourceId | null): ShipmentRel$3;
|
11444
|
+
relationshipToMany(...ids: string[]): ShipmentRel$3[];
|
11407
11445
|
type(): ShipmentType;
|
11408
11446
|
}
|
11409
11447
|
|
@@ -11417,7 +11455,7 @@ type SkuRel$6 = ResourceRel & {
|
|
11417
11455
|
type StockLocationRel$3 = ResourceRel & {
|
11418
11456
|
type: StockLocationType;
|
11419
11457
|
};
|
11420
|
-
type ShipmentRel$
|
11458
|
+
type ShipmentRel$2 = ResourceRel & {
|
11421
11459
|
type: ShipmentType;
|
11422
11460
|
};
|
11423
11461
|
type LineItemRel = ResourceRel & {
|
@@ -11500,7 +11538,7 @@ interface StockTransferCreate extends ResourceCreate {
|
|
11500
11538
|
sku: SkuRel$6;
|
11501
11539
|
origin_stock_location: StockLocationRel$3;
|
11502
11540
|
destination_stock_location: StockLocationRel$3;
|
11503
|
-
shipment?: ShipmentRel$
|
11541
|
+
shipment?: ShipmentRel$2 | null;
|
11504
11542
|
line_item?: LineItemRel | null;
|
11505
11543
|
}
|
11506
11544
|
interface StockTransferUpdate extends ResourceUpdate {
|
@@ -11552,7 +11590,7 @@ interface StockTransferUpdate extends ResourceUpdate {
|
|
11552
11590
|
sku?: SkuRel$6 | null;
|
11553
11591
|
origin_stock_location?: StockLocationRel$3 | null;
|
11554
11592
|
destination_stock_location?: StockLocationRel$3 | null;
|
11555
|
-
shipment?: ShipmentRel$
|
11593
|
+
shipment?: ShipmentRel$2 | null;
|
11556
11594
|
line_item?: LineItemRel | null;
|
11557
11595
|
}
|
11558
11596
|
declare class StockTransfers extends ApiResource<StockTransfer> {
|
@@ -13660,7 +13698,7 @@ type GeocoderRel$3 = ResourceRel & {
|
|
13660
13698
|
type PriceListRel$1 = ResourceRel & {
|
13661
13699
|
type: PriceListType;
|
13662
13700
|
};
|
13663
|
-
type PaymentMethodRel = ResourceRel & {
|
13701
|
+
type PaymentMethodRel$1 = ResourceRel & {
|
13664
13702
|
type: PaymentMethodType;
|
13665
13703
|
};
|
13666
13704
|
type MarketRel$2 = ResourceRel & {
|
@@ -13717,12 +13755,18 @@ type CustomerRel$1 = ResourceRel & {
|
|
13717
13755
|
type DeliveryLeadTimeRel = ResourceRel & {
|
13718
13756
|
type: DeliveryLeadTimeType;
|
13719
13757
|
};
|
13720
|
-
type ShippingMethodRel = ResourceRel & {
|
13758
|
+
type ShippingMethodRel$1 = ResourceRel & {
|
13721
13759
|
type: ShippingMethodType;
|
13722
13760
|
};
|
13723
13761
|
type DiscountEngineRel = ResourceRel & {
|
13724
13762
|
type: DiscountEngineType;
|
13725
13763
|
};
|
13764
|
+
type ShipmentRel$1 = ResourceRel & {
|
13765
|
+
type: ShipmentType;
|
13766
|
+
};
|
13767
|
+
type ParcelRel = ResourceRel & {
|
13768
|
+
type: ParcelType;
|
13769
|
+
};
|
13726
13770
|
type GiftCardRecipientRel = ResourceRel & {
|
13727
13771
|
type: GiftCardRecipientType;
|
13728
13772
|
};
|
@@ -13744,18 +13788,12 @@ type MerchantRel$2 = ResourceRel & {
|
|
13744
13788
|
type SubscriptionModelRel$1 = ResourceRel & {
|
13745
13789
|
type: SubscriptionModelType;
|
13746
13790
|
};
|
13747
|
-
type ShipmentRel = ResourceRel & {
|
13748
|
-
type: ShipmentType;
|
13749
|
-
};
|
13750
13791
|
type PaymentOptionRel = ResourceRel & {
|
13751
13792
|
type: PaymentOptionType;
|
13752
13793
|
};
|
13753
13794
|
type PackageRel = ResourceRel & {
|
13754
13795
|
type: PackageType;
|
13755
13796
|
};
|
13756
|
-
type ParcelRel = ResourceRel & {
|
13757
|
-
type: ParcelType;
|
13758
|
-
};
|
13759
13797
|
type PriceRel = ResourceRel & {
|
13760
13798
|
type: PriceType;
|
13761
13799
|
};
|
@@ -13786,7 +13824,7 @@ interface Attachment extends Resource {
|
|
13786
13824
|
* @example ```"https://s3.yourdomain.com/attachment.pdf"```
|
13787
13825
|
*/
|
13788
13826
|
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 |
|
13827
|
+
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
13828
|
}
|
13791
13829
|
interface AttachmentCreate extends ResourceCreate {
|
13792
13830
|
/**
|
@@ -13804,7 +13842,7 @@ interface AttachmentCreate extends ResourceCreate {
|
|
13804
13842
|
* @example ```"https://s3.yourdomain.com/attachment.pdf"```
|
13805
13843
|
*/
|
13806
13844
|
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 |
|
13845
|
+
attachable: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel$1 | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel$1 | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel;
|
13808
13846
|
}
|
13809
13847
|
interface AttachmentUpdate extends ResourceUpdate {
|
13810
13848
|
/**
|
@@ -13822,7 +13860,7 @@ interface AttachmentUpdate extends ResourceUpdate {
|
|
13822
13860
|
* @example ```"https://s3.yourdomain.com/attachment.pdf"```
|
13823
13861
|
*/
|
13824
13862
|
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 |
|
13863
|
+
attachable?: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel$1 | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel$1 | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null;
|
13826
13864
|
}
|
13827
13865
|
declare class Attachments extends ApiResource<Attachment> {
|
13828
13866
|
static readonly TYPE: AttachmentType;
|
@@ -13924,6 +13962,12 @@ type CustomerGroupRel = ResourceRel & {
|
|
13924
13962
|
type GeocoderRel$2 = ResourceRel & {
|
13925
13963
|
type: GeocoderType;
|
13926
13964
|
};
|
13965
|
+
type ShippingMethodRel = ResourceRel & {
|
13966
|
+
type: ShippingMethodType;
|
13967
|
+
};
|
13968
|
+
type PaymentMethodRel = ResourceRel & {
|
13969
|
+
type: PaymentMethodType;
|
13970
|
+
};
|
13927
13971
|
type MarketSort = Pick<Market, 'id' | 'name' | 'code' | 'disabled_at'> & ResourceSort;
|
13928
13972
|
interface Market extends Resource {
|
13929
13973
|
readonly type: MarketType;
|
@@ -13990,6 +14034,8 @@ interface Market extends Resource {
|
|
13990
14034
|
tax_calculator?: AvalaraAccount | StripeTaxAccount | VertexAccount | TaxjarAccount | ManualTaxCalculator | ExternalTaxCalculator | null;
|
13991
14035
|
customer_group?: CustomerGroup | null;
|
13992
14036
|
geocoder?: Geocoder | null;
|
14037
|
+
default_shipping_method?: ShippingMethod | null;
|
14038
|
+
default_payment_method?: PaymentMethod | null;
|
13993
14039
|
stores?: Store[] | null;
|
13994
14040
|
price_list_schedulers?: PriceListScheduler[] | null;
|
13995
14041
|
attachments?: Attachment[] | null;
|
@@ -14048,6 +14094,8 @@ interface MarketCreate extends ResourceCreate {
|
|
14048
14094
|
tax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null;
|
14049
14095
|
customer_group?: CustomerGroupRel | null;
|
14050
14096
|
geocoder?: GeocoderRel$2 | null;
|
14097
|
+
default_shipping_method?: ShippingMethodRel | null;
|
14098
|
+
default_payment_method?: PaymentMethodRel | null;
|
14051
14099
|
}
|
14052
14100
|
interface MarketUpdate extends ResourceUpdate {
|
14053
14101
|
/**
|
@@ -14102,6 +14150,8 @@ interface MarketUpdate extends ResourceUpdate {
|
|
14102
14150
|
tax_calculator?: AvalaraAccountRel | StripeTaxAccountRel | VertexAccountRel | TaxjarAccountRel | ManualTaxCalculatorRel | ExternalTaxCalculatorRel | null;
|
14103
14151
|
customer_group?: CustomerGroupRel | null;
|
14104
14152
|
geocoder?: GeocoderRel$2 | null;
|
14153
|
+
default_shipping_method?: ShippingMethodRel | null;
|
14154
|
+
default_payment_method?: PaymentMethodRel | null;
|
14105
14155
|
}
|
14106
14156
|
declare class Markets extends ApiResource<Market> {
|
14107
14157
|
static readonly TYPE: MarketType;
|
@@ -14116,6 +14166,8 @@ declare class Markets extends ApiResource<Market> {
|
|
14116
14166
|
tax_calculator(marketId: string | Market, params?: QueryParamsRetrieve<TaxCalculator>, options?: ResourcesConfig): Promise<TaxCalculator>;
|
14117
14167
|
customer_group(marketId: string | Market, params?: QueryParamsRetrieve<CustomerGroup>, options?: ResourcesConfig): Promise<CustomerGroup>;
|
14118
14168
|
geocoder(marketId: string | Market, params?: QueryParamsRetrieve<Geocoder>, options?: ResourcesConfig): Promise<Geocoder>;
|
14169
|
+
default_shipping_method(marketId: string | Market, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
|
14170
|
+
default_payment_method(marketId: string | Market, params?: QueryParamsRetrieve<PaymentMethod>, options?: ResourcesConfig): Promise<PaymentMethod>;
|
14119
14171
|
stores(marketId: string | Market, params?: QueryParamsList<Store>, options?: ResourcesConfig): Promise<ListResponse<Store>>;
|
14120
14172
|
price_list_schedulers(marketId: string | Market, params?: QueryParamsList<PriceListScheduler>, options?: ResourcesConfig): Promise<ListResponse<PriceListScheduler>>;
|
14121
14173
|
attachments(marketId: string | Market, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
|
@@ -15193,6 +15245,111 @@ declare class CustomerPasswordResets extends ApiResource<CustomerPasswordReset>
|
|
15193
15245
|
type(): CustomerPasswordResetType;
|
15194
15246
|
}
|
15195
15247
|
|
15248
|
+
type EasypostPickupType = 'easypost_pickups';
|
15249
|
+
type EasypostPickupRel = ResourceRel & {
|
15250
|
+
type: EasypostPickupType;
|
15251
|
+
};
|
15252
|
+
type ShipmentRel = ResourceRel & {
|
15253
|
+
type: ShipmentType;
|
15254
|
+
};
|
15255
|
+
type EasypostPickupSort = Pick<EasypostPickup, 'id' | 'status' | 'min_datetime' | 'max_datetime' | 'purchase_started_at' | 'purchase_completed_at'> & ResourceSort;
|
15256
|
+
interface EasypostPickup extends Resource {
|
15257
|
+
readonly type: EasypostPickupType;
|
15258
|
+
/**
|
15259
|
+
* The pick up status.
|
15260
|
+
* @example ```"unknown"```
|
15261
|
+
*/
|
15262
|
+
status?: string | null;
|
15263
|
+
/**
|
15264
|
+
* The pick up service internal ID.
|
15265
|
+
* @example ```"pickup_13e5d7e2a7824432a07975bc553944bc"```
|
15266
|
+
*/
|
15267
|
+
internal_id: string;
|
15268
|
+
/**
|
15269
|
+
* The selected purchase rate from the available pick up rates.
|
15270
|
+
* @example ```"pickuprate_a6cd2647a898410aa5d33febde44e1b2"```
|
15271
|
+
*/
|
15272
|
+
selected_rate_id?: string | null;
|
15273
|
+
/**
|
15274
|
+
* The available pick up rates.
|
15275
|
+
* @example ```[{"id":"pickuprate_a6cd2647a898410aa5d33febde44e1b2","rate":"45.59","carrier":"USPS","service":"NextDay"}]```
|
15276
|
+
*/
|
15277
|
+
rates: Array<Record<string, any>>;
|
15278
|
+
/**
|
15279
|
+
* Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.
|
15280
|
+
* @example ```"Knock loudly"```
|
15281
|
+
*/
|
15282
|
+
instructions?: string | null;
|
15283
|
+
/**
|
15284
|
+
* The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.
|
15285
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15286
|
+
*/
|
15287
|
+
min_datetime: string;
|
15288
|
+
/**
|
15289
|
+
* The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.
|
15290
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15291
|
+
*/
|
15292
|
+
max_datetime: string;
|
15293
|
+
/**
|
15294
|
+
* Time at which the purchasing of the pick up rate started.
|
15295
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15296
|
+
*/
|
15297
|
+
purchase_started_at?: string | null;
|
15298
|
+
/**
|
15299
|
+
* Time at which the purchasing of the pick up rate completed.
|
15300
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15301
|
+
*/
|
15302
|
+
purchase_completed_at?: string | null;
|
15303
|
+
shipment?: Shipment | null;
|
15304
|
+
parcels?: Parcel[] | null;
|
15305
|
+
events?: Event[] | null;
|
15306
|
+
}
|
15307
|
+
interface EasypostPickupCreate extends ResourceCreate {
|
15308
|
+
/**
|
15309
|
+
* Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.
|
15310
|
+
* @example ```"Knock loudly"```
|
15311
|
+
*/
|
15312
|
+
instructions?: string | null;
|
15313
|
+
/**
|
15314
|
+
* The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.
|
15315
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15316
|
+
*/
|
15317
|
+
min_datetime: string;
|
15318
|
+
/**
|
15319
|
+
* The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.
|
15320
|
+
* @example ```"2018-01-01T12:00:00.000Z"```
|
15321
|
+
*/
|
15322
|
+
max_datetime: string;
|
15323
|
+
shipment: ShipmentRel;
|
15324
|
+
}
|
15325
|
+
interface EasypostPickupUpdate extends ResourceUpdate {
|
15326
|
+
/**
|
15327
|
+
* The selected purchase rate from the available pick up rates.
|
15328
|
+
* @example ```"pickuprate_a6cd2647a898410aa5d33febde44e1b2"```
|
15329
|
+
*/
|
15330
|
+
selected_rate_id?: string | null;
|
15331
|
+
/**
|
15332
|
+
* Send this attribute if you want to purchase this pick up with the selected rate.
|
15333
|
+
* @example ```true```
|
15334
|
+
*/
|
15335
|
+
_purchase?: boolean | null;
|
15336
|
+
shipment?: ShipmentRel | null;
|
15337
|
+
}
|
15338
|
+
declare class EasypostPickups extends ApiResource<EasypostPickup> {
|
15339
|
+
static readonly TYPE: EasypostPickupType;
|
15340
|
+
create(resource: EasypostPickupCreate, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
|
15341
|
+
update(resource: EasypostPickupUpdate, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
|
15342
|
+
delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
|
15343
|
+
shipment(easypostPickupId: string | EasypostPickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
|
15344
|
+
parcels(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
|
15345
|
+
events(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
|
15346
|
+
_purchase(id: string | EasypostPickup, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
|
15347
|
+
isEasypostPickup(resource: any): resource is EasypostPickup;
|
15348
|
+
relationship(id: string | ResourceId | null): EasypostPickupRel;
|
15349
|
+
relationshipToMany(...ids: string[]): EasypostPickupRel[];
|
15350
|
+
type(): EasypostPickupType;
|
15351
|
+
}
|
15352
|
+
|
15196
15353
|
type ExportType = 'exports';
|
15197
15354
|
type ExportRel = ResourceRel & {
|
15198
15355
|
type: ExportType;
|
@@ -16414,7 +16571,7 @@ declare class TalonOneAccounts extends ApiResource<TalonOneAccount> {
|
|
16414
16571
|
type(): TalonOneAccountType;
|
16415
16572
|
}
|
16416
16573
|
|
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';
|
16574
|
+
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
16575
|
declare const resourceList: ResourceTypeLock[];
|
16419
16576
|
declare const singletonList: ResourceTypeLock[];
|
16420
16577
|
type RetrievableResourceType = ResourceTypeLock;
|
@@ -16425,15 +16582,15 @@ type ListableResourceType = Exclude<ResourceTypeLock, 'applications' | 'organiza
|
|
16425
16582
|
type ListableResource = Resource & {
|
16426
16583
|
type: ListableResourceType;
|
16427
16584
|
};
|
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';
|
16585
|
+
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
16586
|
type CreatableResource = Resource & {
|
16430
16587
|
type: CreatableResourceType;
|
16431
16588
|
};
|
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';
|
16589
|
+
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
16590
|
type UpdatableResource = Resource & {
|
16434
16591
|
type: UpdatableResourceType;
|
16435
16592
|
};
|
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';
|
16593
|
+
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
16594
|
type DeletableResource = Resource & {
|
16438
16595
|
type: DeletableResourceType;
|
16439
16596
|
};
|
@@ -16485,6 +16642,7 @@ type ResourceFields = {
|
|
16485
16642
|
delivery_lead_times: DeliveryLeadTime;
|
16486
16643
|
discount_engine_items: DiscountEngineItem;
|
16487
16644
|
discount_engines: DiscountEngine;
|
16645
|
+
easypost_pickups: EasypostPickup;
|
16488
16646
|
event_callbacks: EventCallback;
|
16489
16647
|
events: Event;
|
16490
16648
|
exports: Export;
|
@@ -16532,6 +16690,7 @@ type ResourceFields = {
|
|
16532
16690
|
paypal_gateways: PaypalGateway;
|
16533
16691
|
paypal_payments: PaypalPayment;
|
16534
16692
|
percentage_discount_promotions: PercentageDiscountPromotion;
|
16693
|
+
pickups: Pickup;
|
16535
16694
|
price_frequency_tiers: PriceFrequencyTier;
|
16536
16695
|
price_list_schedulers: PriceListScheduler;
|
16537
16696
|
price_lists: PriceList;
|
@@ -16616,6 +16775,7 @@ type ResourceSortFields = {
|
|
16616
16775
|
delivery_lead_times: DeliveryLeadTimeSort;
|
16617
16776
|
discount_engine_items: DiscountEngineItemSort;
|
16618
16777
|
discount_engines: DiscountEngineSort;
|
16778
|
+
easypost_pickups: EasypostPickupSort;
|
16619
16779
|
event_callbacks: EventCallbackSort;
|
16620
16780
|
events: EventSort;
|
16621
16781
|
exports: ExportSort;
|
@@ -16663,6 +16823,7 @@ type ResourceSortFields = {
|
|
16663
16823
|
paypal_gateways: PaypalGatewaySort;
|
16664
16824
|
paypal_payments: PaypalPaymentSort;
|
16665
16825
|
percentage_discount_promotions: PercentageDiscountPromotionSort;
|
16826
|
+
pickups: PickupSort;
|
16666
16827
|
price_frequency_tiers: PriceFrequencyTierSort;
|
16667
16828
|
price_list_schedulers: PriceListSchedulerSort;
|
16668
16829
|
price_lists: PriceListSort;
|
@@ -16751,7 +16912,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
|
|
16751
16912
|
type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
|
16752
16913
|
declare class CommerceLayerClient {
|
16753
16914
|
#private;
|
16754
|
-
readonly openApiSchemaVersion = "7.
|
16915
|
+
readonly openApiSchemaVersion = "7.8.1";
|
16755
16916
|
constructor(config: CommerceLayerInitConfig);
|
16756
16917
|
get addresses(): Addresses;
|
16757
16918
|
get adjustments(): Adjustments;
|
@@ -16786,6 +16947,7 @@ declare class CommerceLayerClient {
|
|
16786
16947
|
get delivery_lead_times(): DeliveryLeadTimes;
|
16787
16948
|
get discount_engine_items(): DiscountEngineItems;
|
16788
16949
|
get discount_engines(): DiscountEngines;
|
16950
|
+
get easypost_pickups(): EasypostPickups;
|
16789
16951
|
get event_callbacks(): EventCallbacks;
|
16790
16952
|
get events(): Events;
|
16791
16953
|
get exports(): Exports;
|
@@ -16833,6 +16995,7 @@ declare class CommerceLayerClient {
|
|
16833
16995
|
get paypal_gateways(): PaypalGateways;
|
16834
16996
|
get paypal_payments(): PaypalPayments;
|
16835
16997
|
get percentage_discount_promotions(): PercentageDiscountPromotions;
|
16998
|
+
get pickups(): Pickups;
|
16836
16999
|
get price_frequency_tiers(): PriceFrequencyTiers;
|
16837
17000
|
get price_list_schedulers(): PriceListSchedulers;
|
16838
17001
|
get price_lists(): PriceLists;
|
@@ -16913,4 +17076,4 @@ declare const CommerceLayerStatic: {
|
|
16913
17076
|
readonly schemaVersion: string;
|
16914
17077
|
};
|
16915
17078
|
|
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 };
|
17079
|
+
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 };
|