@commercelayer/sdk 6.32.0 → 6.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.mts CHANGED
@@ -3603,7 +3603,7 @@ type StockLineItemType = 'stock_line_items';
3603
3603
  type StockLineItemRel$1 = ResourceRel & {
3604
3604
  type: StockLineItemType;
3605
3605
  };
3606
- type ShipmentRel$5 = ResourceRel & {
3606
+ type ShipmentRel$6 = ResourceRel & {
3607
3607
  type: ShipmentType;
3608
3608
  };
3609
3609
  type LineItemRel$3 = ResourceRel & {
@@ -3633,6 +3633,16 @@ interface StockLineItem extends Resource {
3633
3633
  * @example ```4```
3634
3634
  */
3635
3635
  quantity: number;
3636
+ /**
3637
+ * The internal name of the associated line item.
3638
+ * @example ```"Men's Black T-shirt with White Logo (XL)"```
3639
+ */
3640
+ name?: string | null;
3641
+ /**
3642
+ * The image_url of the associated line item.
3643
+ * @example ```"https://img.yourdomain.com/skus/xYZkjABcde.png"```
3644
+ */
3645
+ image_url?: string | null;
3636
3646
  shipment?: Shipment | null;
3637
3647
  line_item?: LineItem | null;
3638
3648
  stock_item?: StockItem | null;
@@ -3651,7 +3661,7 @@ interface StockLineItemCreate extends ResourceCreate {
3651
3661
  * @example ```4```
3652
3662
  */
3653
3663
  quantity: number;
3654
- shipment?: ShipmentRel$5 | null;
3664
+ shipment?: ShipmentRel$6 | null;
3655
3665
  line_item?: LineItemRel$3 | null;
3656
3666
  stock_item?: StockItemRel$3 | null;
3657
3667
  sku?: SkuRel$b | null;
@@ -3682,7 +3692,7 @@ interface StockLineItemUpdate extends ResourceUpdate {
3682
3692
  * @example ```true```
3683
3693
  */
3684
3694
  _decrement_stock?: boolean | null;
3685
- shipment?: ShipmentRel$5 | null;
3695
+ shipment?: ShipmentRel$6 | null;
3686
3696
  line_item?: LineItemRel$3 | null;
3687
3697
  stock_item?: StockItemRel$3 | null;
3688
3698
  sku?: SkuRel$b | null;
@@ -8165,7 +8175,7 @@ type BundleRel$2 = ResourceRel & {
8165
8175
  type GiftCardRel$1 = ResourceRel & {
8166
8176
  type: GiftCardType;
8167
8177
  };
8168
- type ShipmentRel$4 = ResourceRel & {
8178
+ type ShipmentRel$5 = ResourceRel & {
8169
8179
  type: ShipmentType;
8170
8180
  };
8171
8181
  type PaymentMethodRel$2 = ResourceRel & {
@@ -8451,7 +8461,7 @@ interface LineItemCreate extends ResourceCreate {
8451
8461
  */
8452
8462
  frequency?: string | null;
8453
8463
  order: OrderRel$7;
8454
- item?: SkuRel$8 | BundleRel$2 | GiftCardRel$1 | ShipmentRel$4 | PaymentMethodRel$2 | AdjustmentRel$1 | DiscountEngineItemRel | PercentageDiscountPromotionRel | FreeShippingPromotionRel | BuyXPayYPromotionRel | FreeGiftPromotionRel | FixedPricePromotionRel | ExternalPromotionRel | FixedAmountPromotionRel | FlexPromotionRel | null;
8464
+ item?: SkuRel$8 | BundleRel$2 | GiftCardRel$1 | ShipmentRel$5 | PaymentMethodRel$2 | AdjustmentRel$1 | DiscountEngineItemRel | PercentageDiscountPromotionRel | FreeShippingPromotionRel | BuyXPayYPromotionRel | FreeGiftPromotionRel | FixedPricePromotionRel | ExternalPromotionRel | FixedAmountPromotionRel | FlexPromotionRel | null;
8455
8465
  tags?: TagRel$6[] | null;
8456
8466
  }
8457
8467
  interface LineItemUpdate extends ResourceUpdate {
@@ -10254,7 +10264,7 @@ interface OrderUpdate extends ResourceUpdate {
10254
10264
  */
10255
10265
  _refund?: boolean | null;
10256
10266
  /**
10257
- * Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered). Cannot be passed by sales channels.
10267
+ * Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered, alternatively order must be approved). Cannot be passed by sales channels.
10258
10268
  * @example ```true```
10259
10269
  */
10260
10270
  _fulfill?: boolean | null;
@@ -10437,90 +10447,6 @@ declare class Orders extends ApiResource<Order> {
10437
10447
  type(): OrderType;
10438
10448
  }
10439
10449
 
10440
- type CarrierAccountType = 'carrier_accounts';
10441
- type CarrierAccountRel$1 = ResourceRel & {
10442
- type: CarrierAccountType;
10443
- };
10444
- type MarketRel$4 = ResourceRel & {
10445
- type: MarketType;
10446
- };
10447
- type CarrierAccountSort = Pick<CarrierAccount, 'id' | 'name'> & ResourceSort;
10448
- interface CarrierAccount extends Resource {
10449
- readonly type: CarrierAccountType;
10450
- /**
10451
- * The carrier account internal name.
10452
- * @example ```"Accurate"```
10453
- */
10454
- name: string;
10455
- /**
10456
- * The Easypost service carrier type.
10457
- * @example ```"AccurateAccount"```
10458
- */
10459
- easypost_type: string;
10460
- /**
10461
- * The Easypost internal reference ID.
10462
- * @example ```"xxxx-yyyy-zzzz"```
10463
- */
10464
- easypost_id?: string | null;
10465
- /**
10466
- * The Easypost carrier accounts credentials fields.
10467
- * @example ```{"username":"xxxx","password":"secret"}```
10468
- */
10469
- credentials: Record<string, any>;
10470
- market?: Market | null;
10471
- attachments?: Attachment[] | null;
10472
- versions?: Version[] | null;
10473
- }
10474
- interface CarrierAccountCreate extends ResourceCreate {
10475
- /**
10476
- * The carrier account internal name.
10477
- * @example ```"Accurate"```
10478
- */
10479
- name: string;
10480
- /**
10481
- * The Easypost service carrier type.
10482
- * @example ```"AccurateAccount"```
10483
- */
10484
- easypost_type: string;
10485
- /**
10486
- * The Easypost carrier accounts credentials fields.
10487
- * @example ```{"username":"xxxx","password":"secret"}```
10488
- */
10489
- credentials: Record<string, any>;
10490
- market?: MarketRel$4 | null;
10491
- }
10492
- interface CarrierAccountUpdate extends ResourceUpdate {
10493
- /**
10494
- * The carrier account internal name.
10495
- * @example ```"Accurate"```
10496
- */
10497
- name?: string | null;
10498
- /**
10499
- * The Easypost service carrier type.
10500
- * @example ```"AccurateAccount"```
10501
- */
10502
- easypost_type?: string | null;
10503
- /**
10504
- * The Easypost carrier accounts credentials fields.
10505
- * @example ```{"username":"xxxx","password":"secret"}```
10506
- */
10507
- credentials?: Record<string, any> | null;
10508
- market?: MarketRel$4 | null;
10509
- }
10510
- declare class CarrierAccounts extends ApiResource<CarrierAccount> {
10511
- static readonly TYPE: CarrierAccountType;
10512
- create(resource: CarrierAccountCreate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
10513
- update(resource: CarrierAccountUpdate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
10514
- delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
10515
- market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
10516
- attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
10517
- versions(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
10518
- isCarrierAccount(resource: any): resource is CarrierAccount;
10519
- relationship(id: string | ResourceId | null): CarrierAccountRel$1;
10520
- relationshipToMany(...ids: string[]): CarrierAccountRel$1[];
10521
- type(): CarrierAccountType;
10522
- }
10523
-
10524
10450
  type PackageType = 'packages';
10525
10451
  type PackageRel$2 = ResourceRel & {
10526
10452
  type: PackageType;
@@ -10679,7 +10605,7 @@ interface ParcelLineItem extends Resource {
10679
10605
  * The internal name of the associated line item.
10680
10606
  * @example ```"Men's Black T-shirt with White Logo (XL)"```
10681
10607
  */
10682
- name: string;
10608
+ name?: string | null;
10683
10609
  /**
10684
10610
  * The image_url of the associated line item.
10685
10611
  * @example ```"https://img.yourdomain.com/skus/xYZkjABcde.png"```
@@ -10717,7 +10643,7 @@ type ParcelType = 'parcels';
10717
10643
  type ParcelRel$1 = ResourceRel & {
10718
10644
  type: ParcelType;
10719
10645
  };
10720
- type ShipmentRel$3 = ResourceRel & {
10646
+ type ShipmentRel$4 = ResourceRel & {
10721
10647
  type: ShipmentType;
10722
10648
  };
10723
10649
  type PackageRel$1 = ResourceRel & {
@@ -10971,7 +10897,7 @@ interface ParcelCreate extends ResourceCreate {
10971
10897
  * @example ```"SIGNATURE"```
10972
10898
  */
10973
10899
  delivery_confirmation?: string | null;
10974
- shipment: ShipmentRel$3;
10900
+ shipment: ShipmentRel$4;
10975
10901
  package: PackageRel$1;
10976
10902
  }
10977
10903
  interface ParcelUpdate extends ResourceUpdate {
@@ -11091,7 +11017,7 @@ interface ParcelUpdate extends ResourceUpdate {
11091
11017
  * @example ```"SIGNATURE"```
11092
11018
  */
11093
11019
  delivery_confirmation?: string | null;
11094
- shipment?: ShipmentRel$3 | null;
11020
+ shipment?: ShipmentRel$4 | null;
11095
11021
  package?: PackageRel$1 | null;
11096
11022
  }
11097
11023
  declare class Parcels extends ApiResource<Parcel> {
@@ -11111,8 +11037,124 @@ declare class Parcels extends ApiResource<Parcel> {
11111
11037
  type(): ParcelType;
11112
11038
  }
11113
11039
 
11040
+ type PickupType = 'pickups';
11041
+ type PickupRel = ResourceRel & {
11042
+ type: PickupType;
11043
+ };
11044
+ type PickupSort = Pick<Pickup, 'id' | 'status'> & ResourceSort;
11045
+ interface Pickup extends Resource {
11046
+ readonly type: PickupType;
11047
+ /**
11048
+ * The pick up status.
11049
+ * @example ```"unknown"```
11050
+ */
11051
+ status?: string | null;
11052
+ /**
11053
+ * The pick up service internal ID.
11054
+ * @example ```"pickup_13e5d7e2a7824432a07975bc553944bc"```
11055
+ */
11056
+ internal_id: string;
11057
+ shipment?: Shipment | null;
11058
+ parcels?: Parcel[] | null;
11059
+ events?: Event[] | null;
11060
+ }
11061
+ declare class Pickups extends ApiResource<Pickup> {
11062
+ static readonly TYPE: PickupType;
11063
+ shipment(pickupId: string | Pickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11064
+ parcels(pickupId: string | Pickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
11065
+ events(pickupId: string | Pickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
11066
+ isPickup(resource: any): resource is Pickup;
11067
+ relationship(id: string | ResourceId | null): PickupRel;
11068
+ relationshipToMany(...ids: string[]): PickupRel[];
11069
+ type(): PickupType;
11070
+ }
11071
+
11072
+ type CarrierAccountType = 'carrier_accounts';
11073
+ type CarrierAccountRel$1 = ResourceRel & {
11074
+ type: CarrierAccountType;
11075
+ };
11076
+ type MarketRel$4 = ResourceRel & {
11077
+ type: MarketType;
11078
+ };
11079
+ type CarrierAccountSort = Pick<CarrierAccount, 'id' | 'name'> & ResourceSort;
11080
+ interface CarrierAccount extends Resource {
11081
+ readonly type: CarrierAccountType;
11082
+ /**
11083
+ * The carrier account internal name.
11084
+ * @example ```"Accurate"```
11085
+ */
11086
+ name: string;
11087
+ /**
11088
+ * The Easypost service carrier type.
11089
+ * @example ```"AccurateAccount"```
11090
+ */
11091
+ easypost_type: string;
11092
+ /**
11093
+ * The Easypost internal reference ID.
11094
+ * @example ```"xxxx-yyyy-zzzz"```
11095
+ */
11096
+ easypost_id?: string | null;
11097
+ /**
11098
+ * The Easypost carrier accounts credentials fields.
11099
+ * @example ```{"username":"xxxx","password":"secret"}```
11100
+ */
11101
+ credentials: Record<string, any>;
11102
+ market?: Market | null;
11103
+ attachments?: Attachment[] | null;
11104
+ versions?: Version[] | null;
11105
+ }
11106
+ interface CarrierAccountCreate extends ResourceCreate {
11107
+ /**
11108
+ * The carrier account internal name.
11109
+ * @example ```"Accurate"```
11110
+ */
11111
+ name: string;
11112
+ /**
11113
+ * The Easypost service carrier type.
11114
+ * @example ```"AccurateAccount"```
11115
+ */
11116
+ easypost_type: string;
11117
+ /**
11118
+ * The Easypost carrier accounts credentials fields.
11119
+ * @example ```{"username":"xxxx","password":"secret"}```
11120
+ */
11121
+ credentials: Record<string, any>;
11122
+ market?: MarketRel$4 | null;
11123
+ }
11124
+ interface CarrierAccountUpdate extends ResourceUpdate {
11125
+ /**
11126
+ * The carrier account internal name.
11127
+ * @example ```"Accurate"```
11128
+ */
11129
+ name?: string | null;
11130
+ /**
11131
+ * The Easypost service carrier type.
11132
+ * @example ```"AccurateAccount"```
11133
+ */
11134
+ easypost_type?: string | null;
11135
+ /**
11136
+ * The Easypost carrier accounts credentials fields.
11137
+ * @example ```{"username":"xxxx","password":"secret"}```
11138
+ */
11139
+ credentials?: Record<string, any> | null;
11140
+ market?: MarketRel$4 | null;
11141
+ }
11142
+ declare class CarrierAccounts extends ApiResource<CarrierAccount> {
11143
+ static readonly TYPE: CarrierAccountType;
11144
+ create(resource: CarrierAccountCreate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
11145
+ update(resource: CarrierAccountUpdate, params?: QueryParamsRetrieve<CarrierAccount>, options?: ResourcesConfig): Promise<CarrierAccount>;
11146
+ delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
11147
+ market(carrierAccountId: string | CarrierAccount, params?: QueryParamsRetrieve<Market>, options?: ResourcesConfig): Promise<Market>;
11148
+ attachments(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Attachment>, options?: ResourcesConfig): Promise<ListResponse<Attachment>>;
11149
+ versions(carrierAccountId: string | CarrierAccount, params?: QueryParamsList<Version>, options?: ResourcesConfig): Promise<ListResponse<Version>>;
11150
+ isCarrierAccount(resource: any): resource is CarrierAccount;
11151
+ relationship(id: string | ResourceId | null): CarrierAccountRel$1;
11152
+ relationshipToMany(...ids: string[]): CarrierAccountRel$1[];
11153
+ type(): CarrierAccountType;
11154
+ }
11155
+
11114
11156
  type ShipmentType = 'shipments';
11115
- type ShipmentRel$2 = ResourceRel & {
11157
+ type ShipmentRel$3 = ResourceRel & {
11116
11158
  type: ShipmentType;
11117
11159
  };
11118
11160
  type OrderRel$1 = ResourceRel & {
@@ -11254,6 +11296,7 @@ interface Shipment extends Resource {
11254
11296
  shipping_address?: Address | null;
11255
11297
  shipping_method?: ShippingMethod | null;
11256
11298
  delivery_lead_time?: DeliveryLeadTime | null;
11299
+ pickup?: Pickup | null;
11257
11300
  stock_line_items?: StockLineItem[] | null;
11258
11301
  stock_transfers?: StockTransfer[] | null;
11259
11302
  line_items?: LineItem[] | null;
@@ -11368,6 +11411,7 @@ declare class Shipments extends ApiResource<Shipment> {
11368
11411
  shipping_address(shipmentId: string | Shipment, params?: QueryParamsRetrieve<Address>, options?: ResourcesConfig): Promise<Address>;
11369
11412
  shipping_method(shipmentId: string | Shipment, params?: QueryParamsRetrieve<ShippingMethod>, options?: ResourcesConfig): Promise<ShippingMethod>;
11370
11413
  delivery_lead_time(shipmentId: string | Shipment, params?: QueryParamsRetrieve<DeliveryLeadTime>, options?: ResourcesConfig): Promise<DeliveryLeadTime>;
11414
+ pickup(shipmentId: string | Shipment, params?: QueryParamsRetrieve<Pickup>, options?: ResourcesConfig): Promise<Pickup>;
11371
11415
  stock_line_items(shipmentId: string | Shipment, params?: QueryParamsList<StockLineItem>, options?: ResourcesConfig): Promise<ListResponse<StockLineItem>>;
11372
11416
  stock_transfers(shipmentId: string | Shipment, params?: QueryParamsList<StockTransfer>, options?: ResourcesConfig): Promise<ListResponse<StockTransfer>>;
11373
11417
  line_items(shipmentId: string | Shipment, params?: QueryParamsList<LineItem>, options?: ResourcesConfig): Promise<ListResponse<LineItem>>;
@@ -11392,8 +11436,8 @@ declare class Shipments extends ApiResource<Shipment> {
11392
11436
  _get_rates(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11393
11437
  _purchase(id: string | Shipment, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
11394
11438
  isShipment(resource: any): resource is Shipment;
11395
- relationship(id: string | ResourceId | null): ShipmentRel$2;
11396
- relationshipToMany(...ids: string[]): ShipmentRel$2[];
11439
+ relationship(id: string | ResourceId | null): ShipmentRel$3;
11440
+ relationshipToMany(...ids: string[]): ShipmentRel$3[];
11397
11441
  type(): ShipmentType;
11398
11442
  }
11399
11443
 
@@ -11407,7 +11451,7 @@ type SkuRel$6 = ResourceRel & {
11407
11451
  type StockLocationRel$3 = ResourceRel & {
11408
11452
  type: StockLocationType;
11409
11453
  };
11410
- type ShipmentRel$1 = ResourceRel & {
11454
+ type ShipmentRel$2 = ResourceRel & {
11411
11455
  type: ShipmentType;
11412
11456
  };
11413
11457
  type LineItemRel = ResourceRel & {
@@ -11490,7 +11534,7 @@ interface StockTransferCreate extends ResourceCreate {
11490
11534
  sku: SkuRel$6;
11491
11535
  origin_stock_location: StockLocationRel$3;
11492
11536
  destination_stock_location: StockLocationRel$3;
11493
- shipment?: ShipmentRel$1 | null;
11537
+ shipment?: ShipmentRel$2 | null;
11494
11538
  line_item?: LineItemRel | null;
11495
11539
  }
11496
11540
  interface StockTransferUpdate extends ResourceUpdate {
@@ -11542,7 +11586,7 @@ interface StockTransferUpdate extends ResourceUpdate {
11542
11586
  sku?: SkuRel$6 | null;
11543
11587
  origin_stock_location?: StockLocationRel$3 | null;
11544
11588
  destination_stock_location?: StockLocationRel$3 | null;
11545
- shipment?: ShipmentRel$1 | null;
11589
+ shipment?: ShipmentRel$2 | null;
11546
11590
  line_item?: LineItemRel | null;
11547
11591
  }
11548
11592
  declare class StockTransfers extends ApiResource<StockTransfer> {
@@ -13713,6 +13757,12 @@ type ShippingMethodRel = ResourceRel & {
13713
13757
  type DiscountEngineRel = ResourceRel & {
13714
13758
  type: DiscountEngineType;
13715
13759
  };
13760
+ type ShipmentRel$1 = ResourceRel & {
13761
+ type: ShipmentType;
13762
+ };
13763
+ type ParcelRel = ResourceRel & {
13764
+ type: ParcelType;
13765
+ };
13716
13766
  type GiftCardRecipientRel = ResourceRel & {
13717
13767
  type: GiftCardRecipientType;
13718
13768
  };
@@ -13734,18 +13784,12 @@ type MerchantRel$2 = ResourceRel & {
13734
13784
  type SubscriptionModelRel$1 = ResourceRel & {
13735
13785
  type: SubscriptionModelType;
13736
13786
  };
13737
- type ShipmentRel = ResourceRel & {
13738
- type: ShipmentType;
13739
- };
13740
13787
  type PaymentOptionRel = ResourceRel & {
13741
13788
  type: PaymentOptionType;
13742
13789
  };
13743
13790
  type PackageRel = ResourceRel & {
13744
13791
  type: PackageType;
13745
13792
  };
13746
- type ParcelRel = ResourceRel & {
13747
- type: ParcelType;
13748
- };
13749
13793
  type PriceRel = ResourceRel & {
13750
13794
  type: PriceType;
13751
13795
  };
@@ -13776,7 +13820,7 @@ interface Attachment extends Resource {
13776
13820
  * @example ```"https://s3.yourdomain.com/attachment.pdf"```
13777
13821
  */
13778
13822
  url?: string | null;
13779
- 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 | Shipment | PaymentOption | Package | Parcel | Price | PriceTier | ShippingMethodTier | ShippingZone | null;
13823
+ attachable?: Geocoder | PriceList | PaymentMethod | Market | CustomerGroup | Order | Transaction | Promotion | TaxCalculator | TaxCategory | Sku | ShippingCategory | Bundle | SkuList | StockItem | StockLocation | Return | CarrierAccount | CouponRecipient | Customer | DeliveryLeadTime | ShippingMethod | DiscountEngine | Shipment | Parcel | GiftCardRecipient | GiftCard | InventoryModel | StockTransfer | SkuOption | Merchant | SubscriptionModel | PaymentOption | Package | Price | PriceTier | ShippingMethodTier | ShippingZone | null;
13780
13824
  }
13781
13825
  interface AttachmentCreate extends ResourceCreate {
13782
13826
  /**
@@ -13794,7 +13838,7 @@ interface AttachmentCreate extends ResourceCreate {
13794
13838
  * @example ```"https://s3.yourdomain.com/attachment.pdf"```
13795
13839
  */
13796
13840
  url?: string | null;
13797
- 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 | ShipmentRel | PaymentOptionRel | PackageRel | ParcelRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel;
13841
+ attachable: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel;
13798
13842
  }
13799
13843
  interface AttachmentUpdate extends ResourceUpdate {
13800
13844
  /**
@@ -13812,7 +13856,7 @@ interface AttachmentUpdate extends ResourceUpdate {
13812
13856
  * @example ```"https://s3.yourdomain.com/attachment.pdf"```
13813
13857
  */
13814
13858
  url?: string | null;
13815
- 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 | ShipmentRel | PaymentOptionRel | PackageRel | ParcelRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null;
13859
+ attachable?: GeocoderRel$3 | PriceListRel$1 | PaymentMethodRel | MarketRel$2 | CustomerGroupRel$1 | OrderRel | TransactionRel | PromotionRel | TaxCalculatorRel | TaxCategoryRel | SkuRel$1 | ShippingCategoryRel | BundleRel | SkuListRel | StockItemRel | StockLocationRel | ReturnRel | CarrierAccountRel | CouponRecipientRel | CustomerRel$1 | DeliveryLeadTimeRel | ShippingMethodRel | DiscountEngineRel | ShipmentRel$1 | ParcelRel | GiftCardRecipientRel | GiftCardRel | InventoryModelRel$1 | StockTransferRel | SkuOptionRel | MerchantRel$2 | SubscriptionModelRel$1 | PaymentOptionRel | PackageRel | PriceRel | PriceTierRel | ShippingMethodTierRel | ShippingZoneRel | null;
13816
13860
  }
13817
13861
  declare class Attachments extends ApiResource<Attachment> {
13818
13862
  static readonly TYPE: AttachmentType;
@@ -15183,6 +15227,111 @@ declare class CustomerPasswordResets extends ApiResource<CustomerPasswordReset>
15183
15227
  type(): CustomerPasswordResetType;
15184
15228
  }
15185
15229
 
15230
+ type EasypostPickupType = 'easypost_pickups';
15231
+ type EasypostPickupRel = ResourceRel & {
15232
+ type: EasypostPickupType;
15233
+ };
15234
+ type ShipmentRel = ResourceRel & {
15235
+ type: ShipmentType;
15236
+ };
15237
+ type EasypostPickupSort = Pick<EasypostPickup, 'id' | 'status' | 'min_datetime' | 'max_datetime' | 'purchase_started_at' | 'purchase_completed_at'> & ResourceSort;
15238
+ interface EasypostPickup extends Resource {
15239
+ readonly type: EasypostPickupType;
15240
+ /**
15241
+ * The pick up status.
15242
+ * @example ```"unknown"```
15243
+ */
15244
+ status?: string | null;
15245
+ /**
15246
+ * The pick up service internal ID.
15247
+ * @example ```"pickup_13e5d7e2a7824432a07975bc553944bc"```
15248
+ */
15249
+ internal_id: string;
15250
+ /**
15251
+ * The selected purchase rate from the available pick up rates.
15252
+ * @example ```"pickuprate_a6cd2647a898410aa5d33febde44e1b2"```
15253
+ */
15254
+ selected_rate_id?: string | null;
15255
+ /**
15256
+ * The available pick up rates.
15257
+ * @example ```[{"id":"pickuprate_a6cd2647a898410aa5d33febde44e1b2","rate":"45.59","carrier":"USPS","service":"NextDay"}]```
15258
+ */
15259
+ rates: Array<Record<string, any>>;
15260
+ /**
15261
+ * Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.
15262
+ * @example ```"Knock loudly"```
15263
+ */
15264
+ instructions?: string | null;
15265
+ /**
15266
+ * The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.
15267
+ * @example ```"2018-01-01T12:00:00.000Z"```
15268
+ */
15269
+ min_datetime: string;
15270
+ /**
15271
+ * The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.
15272
+ * @example ```"2018-01-01T12:00:00.000Z"```
15273
+ */
15274
+ max_datetime: string;
15275
+ /**
15276
+ * Time at which the purchasing of the pick up rate started.
15277
+ * @example ```"2018-01-01T12:00:00.000Z"```
15278
+ */
15279
+ purchase_started_at?: string | null;
15280
+ /**
15281
+ * Time at which the purchasing of the pick up rate completed.
15282
+ * @example ```"2018-01-01T12:00:00.000Z"```
15283
+ */
15284
+ purchase_completed_at?: string | null;
15285
+ shipment?: Shipment | null;
15286
+ parcels?: Parcel[] | null;
15287
+ events?: Event[] | null;
15288
+ }
15289
+ interface EasypostPickupCreate extends ResourceCreate {
15290
+ /**
15291
+ * Additional text to help the driver successfully obtain the package, automatically enriched with parcels and package informations.
15292
+ * @example ```"Knock loudly"```
15293
+ */
15294
+ instructions?: string | null;
15295
+ /**
15296
+ * The earliest time at which the package is available to pick up, must be larger than 2 hours from creation time.
15297
+ * @example ```"2018-01-01T12:00:00.000Z"```
15298
+ */
15299
+ min_datetime: string;
15300
+ /**
15301
+ * The latest time at which the package is available to pick up, must be smaller than 24 hours from creation time.
15302
+ * @example ```"2018-01-01T12:00:00.000Z"```
15303
+ */
15304
+ max_datetime: string;
15305
+ shipment: ShipmentRel;
15306
+ }
15307
+ interface EasypostPickupUpdate extends ResourceUpdate {
15308
+ /**
15309
+ * The selected purchase rate from the available pick up rates.
15310
+ * @example ```"pickuprate_a6cd2647a898410aa5d33febde44e1b2"```
15311
+ */
15312
+ selected_rate_id?: string | null;
15313
+ /**
15314
+ * Send this attribute if you want to purchase this pick up with the selected rate.
15315
+ * @example ```true```
15316
+ */
15317
+ _purchase?: boolean | null;
15318
+ shipment?: ShipmentRel | null;
15319
+ }
15320
+ declare class EasypostPickups extends ApiResource<EasypostPickup> {
15321
+ static readonly TYPE: EasypostPickupType;
15322
+ create(resource: EasypostPickupCreate, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
15323
+ update(resource: EasypostPickupUpdate, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
15324
+ delete(id: string | ResourceId, options?: ResourcesConfig): Promise<void>;
15325
+ shipment(easypostPickupId: string | EasypostPickup, params?: QueryParamsRetrieve<Shipment>, options?: ResourcesConfig): Promise<Shipment>;
15326
+ parcels(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Parcel>, options?: ResourcesConfig): Promise<ListResponse<Parcel>>;
15327
+ events(easypostPickupId: string | EasypostPickup, params?: QueryParamsList<Event>, options?: ResourcesConfig): Promise<ListResponse<Event>>;
15328
+ _purchase(id: string | EasypostPickup, params?: QueryParamsRetrieve<EasypostPickup>, options?: ResourcesConfig): Promise<EasypostPickup>;
15329
+ isEasypostPickup(resource: any): resource is EasypostPickup;
15330
+ relationship(id: string | ResourceId | null): EasypostPickupRel;
15331
+ relationshipToMany(...ids: string[]): EasypostPickupRel[];
15332
+ type(): EasypostPickupType;
15333
+ }
15334
+
15186
15335
  type ExportType = 'exports';
15187
15336
  type ExportRel = ResourceRel & {
15188
15337
  type: ExportType;
@@ -16404,7 +16553,7 @@ declare class TalonOneAccounts extends ApiResource<TalonOneAccount> {
16404
16553
  type(): TalonOneAccountType;
16405
16554
  }
16406
16555
 
16407
- type ResourceTypeLock = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'applications' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'discount_engine_items' | 'discount_engines' | 'event_callbacks' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'geocoders' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_factories' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'organizations' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'recurring_order_copies' | 'refunds' | 'reserved_stocks' | 'resource_errors' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'versions' | 'vertex_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
16556
+ type ResourceTypeLock = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'applications' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'discount_engine_items' | 'discount_engines' | 'easypost_pickups' | 'event_callbacks' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'geocoders' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_factories' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'organizations' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'pickups' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_tiers' | 'price_volume_tiers' | 'prices' | 'promotion_rules' | 'promotions' | 'recurring_order_copies' | 'refunds' | 'reserved_stocks' | 'resource_errors' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_method_tiers' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'versions' | 'vertex_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
16408
16557
  declare const resourceList: ResourceTypeLock[];
16409
16558
  declare const singletonList: ResourceTypeLock[];
16410
16559
  type RetrievableResourceType = ResourceTypeLock;
@@ -16415,15 +16564,15 @@ type ListableResourceType = Exclude<ResourceTypeLock, 'applications' | 'organiza
16415
16564
  type ListableResource = Resource & {
16416
16565
  type: ListableResourceType;
16417
16566
  };
16418
- type CreatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'webhooks' | 'wire_transfers';
16567
+ type CreatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'easypost_pickups' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'webhooks' | 'wire_transfers';
16419
16568
  type CreatableResource = Resource & {
16420
16569
  type: CreatableResourceType;
16421
16570
  };
16422
- type UpdatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'refunds' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
16571
+ type UpdatableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'easypost_pickups' | 'events' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'refunds' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'voids' | 'webhooks' | 'wire_transfers';
16423
16572
  type UpdatableResource = Resource & {
16424
16573
  type: UpdatableResourceType;
16425
16574
  };
16426
- type DeletableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'webhooks' | 'wire_transfers';
16575
+ type DeletableResourceType = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'attachments' | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'buy_x_pay_y_promotions' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'cleanups' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'custom_promotion_rules' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'easypost_pickups' | 'exports' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'flex_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'klarna_gateways' | 'klarna_payments' | 'line_item_options' | 'line_items' | 'links' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' | 'order_subscriptions' | 'orders' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_methods' | 'payment_options' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_frequency_tiers' | 'price_list_schedulers' | 'price_lists' | 'price_volume_tiers' | 'prices' | 'recurring_order_copies' | 'return_line_items' | 'returns' | 'satispay_gateways' | 'satispay_payments' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_weight_tiers' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_reservations' | 'stock_transfers' | 'stores' | 'stripe_gateways' | 'stripe_payments' | 'stripe_tax_accounts' | 'subscription_models' | 'tags' | 'talon_one_accounts' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'vertex_accounts' | 'webhooks' | 'wire_transfers';
16427
16576
  type DeletableResource = Resource & {
16428
16577
  type: DeletableResourceType;
16429
16578
  };
@@ -16475,6 +16624,7 @@ type ResourceFields = {
16475
16624
  delivery_lead_times: DeliveryLeadTime;
16476
16625
  discount_engine_items: DiscountEngineItem;
16477
16626
  discount_engines: DiscountEngine;
16627
+ easypost_pickups: EasypostPickup;
16478
16628
  event_callbacks: EventCallback;
16479
16629
  events: Event;
16480
16630
  exports: Export;
@@ -16522,6 +16672,7 @@ type ResourceFields = {
16522
16672
  paypal_gateways: PaypalGateway;
16523
16673
  paypal_payments: PaypalPayment;
16524
16674
  percentage_discount_promotions: PercentageDiscountPromotion;
16675
+ pickups: Pickup;
16525
16676
  price_frequency_tiers: PriceFrequencyTier;
16526
16677
  price_list_schedulers: PriceListScheduler;
16527
16678
  price_lists: PriceList;
@@ -16606,6 +16757,7 @@ type ResourceSortFields = {
16606
16757
  delivery_lead_times: DeliveryLeadTimeSort;
16607
16758
  discount_engine_items: DiscountEngineItemSort;
16608
16759
  discount_engines: DiscountEngineSort;
16760
+ easypost_pickups: EasypostPickupSort;
16609
16761
  event_callbacks: EventCallbackSort;
16610
16762
  events: EventSort;
16611
16763
  exports: ExportSort;
@@ -16653,6 +16805,7 @@ type ResourceSortFields = {
16653
16805
  paypal_gateways: PaypalGatewaySort;
16654
16806
  paypal_payments: PaypalPaymentSort;
16655
16807
  percentage_discount_promotions: PercentageDiscountPromotionSort;
16808
+ pickups: PickupSort;
16656
16809
  price_frequency_tiers: PriceFrequencyTierSort;
16657
16810
  price_list_schedulers: PriceListSchedulerSort;
16658
16811
  price_lists: PriceListSort;
@@ -16741,7 +16894,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
16741
16894
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
16742
16895
  declare class CommerceLayerClient {
16743
16896
  #private;
16744
- readonly openApiSchemaVersion = "7.7.2";
16897
+ readonly openApiSchemaVersion = "7.8.0";
16745
16898
  constructor(config: CommerceLayerInitConfig);
16746
16899
  get addresses(): Addresses;
16747
16900
  get adjustments(): Adjustments;
@@ -16776,6 +16929,7 @@ declare class CommerceLayerClient {
16776
16929
  get delivery_lead_times(): DeliveryLeadTimes;
16777
16930
  get discount_engine_items(): DiscountEngineItems;
16778
16931
  get discount_engines(): DiscountEngines;
16932
+ get easypost_pickups(): EasypostPickups;
16779
16933
  get event_callbacks(): EventCallbacks;
16780
16934
  get events(): Events;
16781
16935
  get exports(): Exports;
@@ -16823,6 +16977,7 @@ declare class CommerceLayerClient {
16823
16977
  get paypal_gateways(): PaypalGateways;
16824
16978
  get paypal_payments(): PaypalPayments;
16825
16979
  get percentage_discount_promotions(): PercentageDiscountPromotions;
16980
+ get pickups(): Pickups;
16826
16981
  get price_frequency_tiers(): PriceFrequencyTiers;
16827
16982
  get price_list_schedulers(): PriceListSchedulers;
16828
16983
  get price_lists(): PriceLists;
@@ -16903,4 +17058,4 @@ declare const CommerceLayerStatic: {
16903
17058
  readonly schemaVersion: string;
16904
17059
  };
16905
17060
 
16906
- export { type Address, type AddressCreate, type AddressSort, type AddressUpdate, Addresses, type Adjustment, type AdjustmentCreate, type AdjustmentSort, type AdjustmentUpdate, Adjustments, type AdyenGateway, type AdyenGatewayCreate, type AdyenGatewaySort, type AdyenGatewayUpdate, AdyenGateways, type AdyenPayment, type AdyenPaymentCreate, type AdyenPaymentSort, type AdyenPaymentUpdate, AdyenPayments, ApiError, ApiResource, ApiSingleton, type Application, type ApplicationSort, Applications, type Attachment, type AttachmentCreate, type AttachmentSort, type AttachmentUpdate, Attachments, type Authorization, type AuthorizationSort, type AuthorizationUpdate, Authorizations, type AvalaraAccount, type AvalaraAccountCreate, type AvalaraAccountSort, type AvalaraAccountUpdate, AvalaraAccounts, type AxerveGateway, type AxerveGatewayCreate, type AxerveGatewaySort, type AxerveGatewayUpdate, AxerveGateways, type AxervePayment, type AxervePaymentCreate, type AxervePaymentSort, type AxervePaymentUpdate, AxervePayments, type BingGeocoder, type BingGeocoderCreate, type BingGeocoderSort, type BingGeocoderUpdate, BingGeocoders, type BraintreeGateway, type BraintreeGatewayCreate, type BraintreeGatewaySort, type BraintreeGatewayUpdate, BraintreeGateways, type BraintreePayment, type BraintreePaymentCreate, type BraintreePaymentSort, type BraintreePaymentUpdate, BraintreePayments, type Bundle, type BundleCreate, type BundleSort, type BundleUpdate, Bundles, type BuyXPayYPromotion, type BuyXPayYPromotionCreate, type BuyXPayYPromotionSort, type BuyXPayYPromotionUpdate, BuyXPayYPromotions, type Capture, type CaptureSort, type CaptureUpdate, Captures, type CarrierAccount, type CarrierAccountCreate, type CarrierAccountSort, type CarrierAccountUpdate, CarrierAccounts, type CheckoutComGateway, type CheckoutComGatewayCreate, type CheckoutComGatewaySort, type CheckoutComGatewayUpdate, CheckoutComGateways, type CheckoutComPayment, type CheckoutComPaymentCreate, type CheckoutComPaymentSort, type CheckoutComPaymentUpdate, CheckoutComPayments, type Cleanup, type CleanupCreate, type CleanupSort, type CleanupUpdate, Cleanups, CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, CommerceLayerStatic, type Coupon, type CouponCodesPromotionRule, type CouponCodesPromotionRuleCreate, type CouponCodesPromotionRuleSort, type CouponCodesPromotionRuleUpdate, CouponCodesPromotionRules, type CouponCreate, type CouponRecipient, type CouponRecipientCreate, type CouponRecipientSort, type CouponRecipientUpdate, CouponRecipients, type CouponSort, type CouponUpdate, Coupons, type CreatableResource, type CreatableResourceType, type CustomPromotionRule, type CustomPromotionRuleCreate, type CustomPromotionRuleSort, type CustomPromotionRuleUpdate, CustomPromotionRules, type Customer, type CustomerAddress, type CustomerAddressCreate, type CustomerAddressSort, type CustomerAddressUpdate, CustomerAddresses, type CustomerCreate, type CustomerGroup, type CustomerGroupCreate, type CustomerGroupSort, type CustomerGroupUpdate, CustomerGroups, type CustomerPasswordReset, type CustomerPasswordResetCreate, type CustomerPasswordResetSort, type CustomerPasswordResetUpdate, CustomerPasswordResets, type CustomerPaymentSource, type CustomerPaymentSourceCreate, type CustomerPaymentSourceSort, type CustomerPaymentSourceUpdate, CustomerPaymentSources, type CustomerSort, type CustomerSubscription, type CustomerSubscriptionCreate, type CustomerSubscriptionSort, type CustomerSubscriptionUpdate, CustomerSubscriptions, type CustomerUpdate, Customers, type DeletableResource, type DeletableResourceType, type DeliveryLeadTime, type DeliveryLeadTimeCreate, type DeliveryLeadTimeSort, type DeliveryLeadTimeUpdate, DeliveryLeadTimes, type DiscountEngine, type DiscountEngineItem, type DiscountEngineItemSort, DiscountEngineItems, type DiscountEngineSort, DiscountEngines, type ErrorObj, ErrorType, type Event, type EventCallback, type EventCallbackSort, EventCallbacks, type EventSort, type EventUpdate, Events, type Export, type ExportCreate, type ExportSort, type ExportUpdate, Exports, type ExternalGateway, type ExternalGatewayCreate, type ExternalGatewaySort, type ExternalGatewayUpdate, ExternalGateways, type ExternalPayment, type ExternalPaymentCreate, type ExternalPaymentSort, type ExternalPaymentUpdate, ExternalPayments, type ExternalPromotion, type ExternalPromotionCreate, type ExternalPromotionSort, type ExternalPromotionUpdate, ExternalPromotions, type ExternalTaxCalculator, type ExternalTaxCalculatorCreate, type ExternalTaxCalculatorSort, type ExternalTaxCalculatorUpdate, ExternalTaxCalculators, type FixedAmountPromotion, type FixedAmountPromotionCreate, type FixedAmountPromotionSort, type FixedAmountPromotionUpdate, FixedAmountPromotions, type FixedPricePromotion, type FixedPricePromotionCreate, type FixedPricePromotionSort, type FixedPricePromotionUpdate, FixedPricePromotions, type FlexPromotion, type FlexPromotionCreate, type FlexPromotionSort, type FlexPromotionUpdate, FlexPromotions, type FreeGiftPromotion, type FreeGiftPromotionCreate, type FreeGiftPromotionSort, type FreeGiftPromotionUpdate, FreeGiftPromotions, type FreeShippingPromotion, type FreeShippingPromotionCreate, type FreeShippingPromotionSort, type FreeShippingPromotionUpdate, FreeShippingPromotions, type Geocoder, type GeocoderSort, Geocoders, type GiftCard, type GiftCardCreate, type GiftCardRecipient, type GiftCardRecipientCreate, type GiftCardRecipientSort, type GiftCardRecipientUpdate, GiftCardRecipients, type GiftCardSort, type GiftCardUpdate, GiftCards, type GoogleGeocoder, type GoogleGeocoderCreate, type GoogleGeocoderSort, type GoogleGeocoderUpdate, GoogleGeocoders, type HeadersObj, type Import, type ImportCreate, type ImportSort, type ImportUpdate, Imports, type InStockSubscription, type InStockSubscriptionCreate, type InStockSubscriptionSort, type InStockSubscriptionUpdate, InStockSubscriptions, type InventoryModel, type InventoryModelCreate, type InventoryModelSort, type InventoryModelUpdate, InventoryModels, type InventoryReturnLocation, type InventoryReturnLocationCreate, type InventoryReturnLocationSort, type InventoryReturnLocationUpdate, InventoryReturnLocations, type InventoryStockLocation, type InventoryStockLocationCreate, type InventoryStockLocationSort, type InventoryStockLocationUpdate, InventoryStockLocations, type KlarnaGateway, type KlarnaGatewayCreate, type KlarnaGatewaySort, type KlarnaGatewayUpdate, KlarnaGateways, type KlarnaPayment, type KlarnaPaymentCreate, type KlarnaPaymentSort, type KlarnaPaymentUpdate, KlarnaPayments, type LineItem, type LineItemCreate, type LineItemOption, type LineItemOptionCreate, type LineItemOptionSort, type LineItemOptionUpdate, LineItemOptions, type LineItemSort, type LineItemUpdate, LineItems, type Link, type LinkCreate, type LinkSort, type LinkUpdate, Links, type ListMeta, ListResponse, type ListableResource, type ListableResourceType, type ManualGateway, type ManualGatewayCreate, type ManualGatewaySort, type ManualGatewayUpdate, ManualGateways, type ManualTaxCalculator, type ManualTaxCalculatorCreate, type ManualTaxCalculatorSort, type ManualTaxCalculatorUpdate, ManualTaxCalculators, type Market, type MarketCreate, type MarketSort, type MarketUpdate, Markets, type Merchant, type MerchantCreate, type MerchantSort, type MerchantUpdate, Merchants, type Metadata, type Notification, type NotificationCreate, type NotificationSort, type NotificationUpdate, Notifications, type Order, type OrderAmountPromotionRule, type OrderAmountPromotionRuleCreate, type OrderAmountPromotionRuleSort, type OrderAmountPromotionRuleUpdate, OrderAmountPromotionRules, OrderCopies, type OrderCopy, type OrderCopyCreate, type OrderCopySort, type OrderCopyUpdate, type OrderCreate, OrderFactories, type OrderFactory, type OrderFactorySort, type OrderSort, type OrderSubscription, type OrderSubscriptionCreate, type OrderSubscriptionItem, type OrderSubscriptionItemCreate, type OrderSubscriptionItemSort, type OrderSubscriptionItemUpdate, OrderSubscriptionItems, type OrderSubscriptionSort, type OrderSubscriptionUpdate, OrderSubscriptions, type OrderUpdate, Orders, type Organization, type OrganizationSort, Organizations, type Package, type PackageCreate, type PackageSort, type PackageUpdate, Packages, type Parcel, type ParcelCreate, type ParcelLineItem, type ParcelLineItemCreate, type ParcelLineItemSort, type ParcelLineItemUpdate, ParcelLineItems, type ParcelSort, type ParcelUpdate, Parcels, type PaymentGateway, type PaymentGatewaySort, PaymentGateways, type PaymentMethod, type PaymentMethodCreate, type PaymentMethodSort, type PaymentMethodUpdate, PaymentMethods, type PaymentOption, type PaymentOptionCreate, type PaymentOptionSort, type PaymentOptionUpdate, PaymentOptions, type PaypalGateway, type PaypalGatewayCreate, type PaypalGatewaySort, type PaypalGatewayUpdate, PaypalGateways, type PaypalPayment, type PaypalPaymentCreate, type PaypalPaymentSort, type PaypalPaymentUpdate, PaypalPayments, type PercentageDiscountPromotion, type PercentageDiscountPromotionCreate, type PercentageDiscountPromotionSort, type PercentageDiscountPromotionUpdate, PercentageDiscountPromotions, type Price, type PriceCreate, type PriceFrequencyTier, type PriceFrequencyTierCreate, type PriceFrequencyTierSort, type PriceFrequencyTierUpdate, PriceFrequencyTiers, type PriceList, type PriceListCreate, type PriceListScheduler, type PriceListSchedulerCreate, type PriceListSchedulerSort, type PriceListSchedulerUpdate, PriceListSchedulers, type PriceListSort, type PriceListUpdate, PriceLists, type PriceSort, type PriceTier, type PriceTierSort, PriceTiers, type PriceUpdate, type PriceVolumeTier, type PriceVolumeTierCreate, type PriceVolumeTierSort, type PriceVolumeTierUpdate, PriceVolumeTiers, Prices, type Promotion, type PromotionRule, type PromotionRuleSort, PromotionRules, type PromotionSort, Promotions, type QueryArrayFields, type QueryArraySortable, type QueryFields, type QueryFilter, type QueryInclude, type QueryPageNumber, type QueryPageSize, type QueryParams, type QueryParamsList, type QueryParamsRetrieve, type QueryRecordFields, type QueryRecordSortable, type QuerySort, RecurringOrderCopies, type RecurringOrderCopy, type RecurringOrderCopyCreate, type RecurringOrderCopySort, type RecurringOrderCopyUpdate, type Refund, type RefundSort, type RefundUpdate, Refunds, type RequestObj, type ReservedStock, type ReservedStockSort, ReservedStocks, type Resource, ResourceAdapter, type ResourceCreate, type ResourceError, type ResourceErrorSort, ResourceErrors, type ResourceFields, type ResourceFilter, type ResourceId, type ResourceRel, type ResourceSort, type ResourceSortFields, type ResourceType, type ResourceTypeLock, type ResourceUpdate, type ResourcesConfig, type ResourcesInitConfig, type ResponseObj, type RetrievableResource, type RetrievableResourceType, type Return, type ReturnCreate, type ReturnLineItem, type ReturnLineItemCreate, type ReturnLineItemSort, type ReturnLineItemUpdate, ReturnLineItems, type ReturnSort, type ReturnUpdate, Returns, type SatispayGateway, type SatispayGatewayCreate, type SatispayGatewaySort, type SatispayGatewayUpdate, SatispayGateways, type SatispayPayment, type SatispayPaymentCreate, type SatispayPaymentSort, type SatispayPaymentUpdate, SatispayPayments, SdkError, type Shipment, type ShipmentCreate, type ShipmentSort, type ShipmentUpdate, Shipments, ShippingCategories, type ShippingCategory, type ShippingCategoryCreate, type ShippingCategorySort, type ShippingCategoryUpdate, type ShippingMethod, type ShippingMethodCreate, type ShippingMethodSort, type ShippingMethodTier, type ShippingMethodTierSort, ShippingMethodTiers, type ShippingMethodUpdate, ShippingMethods, type ShippingWeightTier, type ShippingWeightTierCreate, type ShippingWeightTierSort, type ShippingWeightTierUpdate, ShippingWeightTiers, type ShippingZone, type ShippingZoneCreate, type ShippingZoneSort, type ShippingZoneUpdate, ShippingZones, type Sku, type SkuCreate, type SkuList, type SkuListCreate, type SkuListItem, type SkuListItemCreate, type SkuListItemSort, type SkuListItemUpdate, SkuListItems, type SkuListPromotionRule, type SkuListPromotionRuleCreate, type SkuListPromotionRuleSort, type SkuListPromotionRuleUpdate, SkuListPromotionRules, type SkuListSort, type SkuListUpdate, SkuLists, type SkuOption, type SkuOptionCreate, type SkuOptionSort, type SkuOptionUpdate, SkuOptions, type SkuSort, type SkuUpdate, Skus, type StockItem, type StockItemCreate, type StockItemSort, type StockItemUpdate, StockItems, type StockLineItem, type StockLineItemCreate, type StockLineItemSort, type StockLineItemUpdate, StockLineItems, type StockLocation, type StockLocationCreate, type StockLocationSort, type StockLocationUpdate, StockLocations, type StockReservation, type StockReservationCreate, type StockReservationSort, type StockReservationUpdate, StockReservations, type StockTransfer, type StockTransferCreate, type StockTransferSort, type StockTransferUpdate, StockTransfers, type Store, type StoreCreate, type StoreSort, type StoreUpdate, Stores, type StripeGateway, type StripeGatewayCreate, type StripeGatewaySort, type StripeGatewayUpdate, StripeGateways, type StripePayment, type StripePaymentCreate, type StripePaymentSort, type StripePaymentUpdate, StripePayments, type StripeTaxAccount, type StripeTaxAccountCreate, type StripeTaxAccountSort, type StripeTaxAccountUpdate, StripeTaxAccounts, type SubscriptionModel, type SubscriptionModelCreate, type SubscriptionModelSort, type SubscriptionModelUpdate, SubscriptionModels, type Tag, type TagCreate, type TagSort, type TagUpdate, type TaggableResource, type TaggableResourceType, Tags, type TalonOneAccount, type TalonOneAccountCreate, type TalonOneAccountSort, type TalonOneAccountUpdate, TalonOneAccounts, type TaxCalculator, type TaxCalculatorSort, TaxCalculators, TaxCategories, type TaxCategory, type TaxCategoryCreate, type TaxCategorySort, type TaxCategoryUpdate, type TaxRule, type TaxRuleCreate, type TaxRuleSort, type TaxRuleUpdate, TaxRules, type TaxjarAccount, type TaxjarAccountCreate, type TaxjarAccountSort, type TaxjarAccountUpdate, TaxjarAccounts, type Transaction, type TransactionSort, Transactions, type UpdatableResource, type UpdatableResourceType, type Version, type VersionSort, type VersionableResource, type VersionableResourceType, Versions, type VertexAccount, type VertexAccountCreate, type VertexAccountSort, type VertexAccountUpdate, VertexAccounts, type Void, type VoidSort, type VoidUpdate, Voids, type Webhook, type WebhookCreate, type WebhookSort, type WebhookUpdate, Webhooks, type WireTransfer, type WireTransferCreate, type WireTransferSort, type WireTransferUpdate, WireTransfers, apiResourceAdapter, CommerceLayer as default, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };
17061
+ export { type Address, type AddressCreate, type AddressSort, type AddressUpdate, Addresses, type Adjustment, type AdjustmentCreate, type AdjustmentSort, type AdjustmentUpdate, Adjustments, type AdyenGateway, type AdyenGatewayCreate, type AdyenGatewaySort, type AdyenGatewayUpdate, AdyenGateways, type AdyenPayment, type AdyenPaymentCreate, type AdyenPaymentSort, type AdyenPaymentUpdate, AdyenPayments, ApiError, ApiResource, ApiSingleton, type Application, type ApplicationSort, Applications, type Attachment, type AttachmentCreate, type AttachmentSort, type AttachmentUpdate, Attachments, type Authorization, type AuthorizationSort, type AuthorizationUpdate, Authorizations, type AvalaraAccount, type AvalaraAccountCreate, type AvalaraAccountSort, type AvalaraAccountUpdate, AvalaraAccounts, type AxerveGateway, type AxerveGatewayCreate, type AxerveGatewaySort, type AxerveGatewayUpdate, AxerveGateways, type AxervePayment, type AxervePaymentCreate, type AxervePaymentSort, type AxervePaymentUpdate, AxervePayments, type BingGeocoder, type BingGeocoderCreate, type BingGeocoderSort, type BingGeocoderUpdate, BingGeocoders, type BraintreeGateway, type BraintreeGatewayCreate, type BraintreeGatewaySort, type BraintreeGatewayUpdate, BraintreeGateways, type BraintreePayment, type BraintreePaymentCreate, type BraintreePaymentSort, type BraintreePaymentUpdate, BraintreePayments, type Bundle, type BundleCreate, type BundleSort, type BundleUpdate, Bundles, type BuyXPayYPromotion, type BuyXPayYPromotionCreate, type BuyXPayYPromotionSort, type BuyXPayYPromotionUpdate, BuyXPayYPromotions, type Capture, type CaptureSort, type CaptureUpdate, Captures, type CarrierAccount, type CarrierAccountCreate, type CarrierAccountSort, type CarrierAccountUpdate, CarrierAccounts, type CheckoutComGateway, type CheckoutComGatewayCreate, type CheckoutComGatewaySort, type CheckoutComGatewayUpdate, CheckoutComGateways, type CheckoutComPayment, type CheckoutComPaymentCreate, type CheckoutComPaymentSort, type CheckoutComPaymentUpdate, CheckoutComPayments, type Cleanup, type CleanupCreate, type CleanupSort, type CleanupUpdate, Cleanups, CommerceLayer, CommerceLayerClient, type CommerceLayerConfig, type CommerceLayerInitConfig, CommerceLayerStatic, type Coupon, type CouponCodesPromotionRule, type CouponCodesPromotionRuleCreate, type CouponCodesPromotionRuleSort, type CouponCodesPromotionRuleUpdate, CouponCodesPromotionRules, type CouponCreate, type CouponRecipient, type CouponRecipientCreate, type CouponRecipientSort, type CouponRecipientUpdate, CouponRecipients, type CouponSort, type CouponUpdate, Coupons, type CreatableResource, type CreatableResourceType, type CustomPromotionRule, type CustomPromotionRuleCreate, type CustomPromotionRuleSort, type CustomPromotionRuleUpdate, CustomPromotionRules, type Customer, type CustomerAddress, type CustomerAddressCreate, type CustomerAddressSort, type CustomerAddressUpdate, CustomerAddresses, type CustomerCreate, type CustomerGroup, type CustomerGroupCreate, type CustomerGroupSort, type CustomerGroupUpdate, CustomerGroups, type CustomerPasswordReset, type CustomerPasswordResetCreate, type CustomerPasswordResetSort, type CustomerPasswordResetUpdate, CustomerPasswordResets, type CustomerPaymentSource, type CustomerPaymentSourceCreate, type CustomerPaymentSourceSort, type CustomerPaymentSourceUpdate, CustomerPaymentSources, type CustomerSort, type CustomerSubscription, type CustomerSubscriptionCreate, type CustomerSubscriptionSort, type CustomerSubscriptionUpdate, CustomerSubscriptions, type CustomerUpdate, Customers, type DeletableResource, type DeletableResourceType, type DeliveryLeadTime, type DeliveryLeadTimeCreate, type DeliveryLeadTimeSort, type DeliveryLeadTimeUpdate, DeliveryLeadTimes, type DiscountEngine, type DiscountEngineItem, type DiscountEngineItemSort, DiscountEngineItems, type DiscountEngineSort, DiscountEngines, type EasypostPickup, type EasypostPickupCreate, type EasypostPickupSort, type EasypostPickupUpdate, EasypostPickups, type ErrorObj, ErrorType, type Event, type EventCallback, type EventCallbackSort, EventCallbacks, type EventSort, type EventUpdate, Events, type Export, type ExportCreate, type ExportSort, type ExportUpdate, Exports, type ExternalGateway, type ExternalGatewayCreate, type ExternalGatewaySort, type ExternalGatewayUpdate, ExternalGateways, type ExternalPayment, type ExternalPaymentCreate, type ExternalPaymentSort, type ExternalPaymentUpdate, ExternalPayments, type ExternalPromotion, type ExternalPromotionCreate, type ExternalPromotionSort, type ExternalPromotionUpdate, ExternalPromotions, type ExternalTaxCalculator, type ExternalTaxCalculatorCreate, type ExternalTaxCalculatorSort, type ExternalTaxCalculatorUpdate, ExternalTaxCalculators, type FixedAmountPromotion, type FixedAmountPromotionCreate, type FixedAmountPromotionSort, type FixedAmountPromotionUpdate, FixedAmountPromotions, type FixedPricePromotion, type FixedPricePromotionCreate, type FixedPricePromotionSort, type FixedPricePromotionUpdate, FixedPricePromotions, type FlexPromotion, type FlexPromotionCreate, type FlexPromotionSort, type FlexPromotionUpdate, FlexPromotions, type FreeGiftPromotion, type FreeGiftPromotionCreate, type FreeGiftPromotionSort, type FreeGiftPromotionUpdate, FreeGiftPromotions, type FreeShippingPromotion, type FreeShippingPromotionCreate, type FreeShippingPromotionSort, type FreeShippingPromotionUpdate, FreeShippingPromotions, type Geocoder, type GeocoderSort, Geocoders, type GiftCard, type GiftCardCreate, type GiftCardRecipient, type GiftCardRecipientCreate, type GiftCardRecipientSort, type GiftCardRecipientUpdate, GiftCardRecipients, type GiftCardSort, type GiftCardUpdate, GiftCards, type GoogleGeocoder, type GoogleGeocoderCreate, type GoogleGeocoderSort, type GoogleGeocoderUpdate, GoogleGeocoders, type HeadersObj, type Import, type ImportCreate, type ImportSort, type ImportUpdate, Imports, type InStockSubscription, type InStockSubscriptionCreate, type InStockSubscriptionSort, type InStockSubscriptionUpdate, InStockSubscriptions, type InventoryModel, type InventoryModelCreate, type InventoryModelSort, type InventoryModelUpdate, InventoryModels, type InventoryReturnLocation, type InventoryReturnLocationCreate, type InventoryReturnLocationSort, type InventoryReturnLocationUpdate, InventoryReturnLocations, type InventoryStockLocation, type InventoryStockLocationCreate, type InventoryStockLocationSort, type InventoryStockLocationUpdate, InventoryStockLocations, type KlarnaGateway, type KlarnaGatewayCreate, type KlarnaGatewaySort, type KlarnaGatewayUpdate, KlarnaGateways, type KlarnaPayment, type KlarnaPaymentCreate, type KlarnaPaymentSort, type KlarnaPaymentUpdate, KlarnaPayments, type LineItem, type LineItemCreate, type LineItemOption, type LineItemOptionCreate, type LineItemOptionSort, type LineItemOptionUpdate, LineItemOptions, type LineItemSort, type LineItemUpdate, LineItems, type Link, type LinkCreate, type LinkSort, type LinkUpdate, Links, type ListMeta, ListResponse, type ListableResource, type ListableResourceType, type ManualGateway, type ManualGatewayCreate, type ManualGatewaySort, type ManualGatewayUpdate, ManualGateways, type ManualTaxCalculator, type ManualTaxCalculatorCreate, type ManualTaxCalculatorSort, type ManualTaxCalculatorUpdate, ManualTaxCalculators, type Market, type MarketCreate, type MarketSort, type MarketUpdate, Markets, type Merchant, type MerchantCreate, type MerchantSort, type MerchantUpdate, Merchants, type Metadata, type Notification, type NotificationCreate, type NotificationSort, type NotificationUpdate, Notifications, type Order, type OrderAmountPromotionRule, type OrderAmountPromotionRuleCreate, type OrderAmountPromotionRuleSort, type OrderAmountPromotionRuleUpdate, OrderAmountPromotionRules, OrderCopies, type OrderCopy, type OrderCopyCreate, type OrderCopySort, type OrderCopyUpdate, type OrderCreate, OrderFactories, type OrderFactory, type OrderFactorySort, type OrderSort, type OrderSubscription, type OrderSubscriptionCreate, type OrderSubscriptionItem, type OrderSubscriptionItemCreate, type OrderSubscriptionItemSort, type OrderSubscriptionItemUpdate, OrderSubscriptionItems, type OrderSubscriptionSort, type OrderSubscriptionUpdate, OrderSubscriptions, type OrderUpdate, Orders, type Organization, type OrganizationSort, Organizations, type Package, type PackageCreate, type PackageSort, type PackageUpdate, Packages, type Parcel, type ParcelCreate, type ParcelLineItem, type ParcelLineItemCreate, type ParcelLineItemSort, type ParcelLineItemUpdate, ParcelLineItems, type ParcelSort, type ParcelUpdate, Parcels, type PaymentGateway, type PaymentGatewaySort, PaymentGateways, type PaymentMethod, type PaymentMethodCreate, type PaymentMethodSort, type PaymentMethodUpdate, PaymentMethods, type PaymentOption, type PaymentOptionCreate, type PaymentOptionSort, type PaymentOptionUpdate, PaymentOptions, type PaypalGateway, type PaypalGatewayCreate, type PaypalGatewaySort, type PaypalGatewayUpdate, PaypalGateways, type PaypalPayment, type PaypalPaymentCreate, type PaypalPaymentSort, type PaypalPaymentUpdate, PaypalPayments, type PercentageDiscountPromotion, type PercentageDiscountPromotionCreate, type PercentageDiscountPromotionSort, type PercentageDiscountPromotionUpdate, PercentageDiscountPromotions, type Pickup, type PickupSort, Pickups, type Price, type PriceCreate, type PriceFrequencyTier, type PriceFrequencyTierCreate, type PriceFrequencyTierSort, type PriceFrequencyTierUpdate, PriceFrequencyTiers, type PriceList, type PriceListCreate, type PriceListScheduler, type PriceListSchedulerCreate, type PriceListSchedulerSort, type PriceListSchedulerUpdate, PriceListSchedulers, type PriceListSort, type PriceListUpdate, PriceLists, type PriceSort, type PriceTier, type PriceTierSort, PriceTiers, type PriceUpdate, type PriceVolumeTier, type PriceVolumeTierCreate, type PriceVolumeTierSort, type PriceVolumeTierUpdate, PriceVolumeTiers, Prices, type Promotion, type PromotionRule, type PromotionRuleSort, PromotionRules, type PromotionSort, Promotions, type QueryArrayFields, type QueryArraySortable, type QueryFields, type QueryFilter, type QueryInclude, type QueryPageNumber, type QueryPageSize, type QueryParams, type QueryParamsList, type QueryParamsRetrieve, type QueryRecordFields, type QueryRecordSortable, type QuerySort, RecurringOrderCopies, type RecurringOrderCopy, type RecurringOrderCopyCreate, type RecurringOrderCopySort, type RecurringOrderCopyUpdate, type Refund, type RefundSort, type RefundUpdate, Refunds, type RequestObj, type ReservedStock, type ReservedStockSort, ReservedStocks, type Resource, ResourceAdapter, type ResourceCreate, type ResourceError, type ResourceErrorSort, ResourceErrors, type ResourceFields, type ResourceFilter, type ResourceId, type ResourceRel, type ResourceSort, type ResourceSortFields, type ResourceType, type ResourceTypeLock, type ResourceUpdate, type ResourcesConfig, type ResourcesInitConfig, type ResponseObj, type RetrievableResource, type RetrievableResourceType, type Return, type ReturnCreate, type ReturnLineItem, type ReturnLineItemCreate, type ReturnLineItemSort, type ReturnLineItemUpdate, ReturnLineItems, type ReturnSort, type ReturnUpdate, Returns, type SatispayGateway, type SatispayGatewayCreate, type SatispayGatewaySort, type SatispayGatewayUpdate, SatispayGateways, type SatispayPayment, type SatispayPaymentCreate, type SatispayPaymentSort, type SatispayPaymentUpdate, SatispayPayments, SdkError, type Shipment, type ShipmentCreate, type ShipmentSort, type ShipmentUpdate, Shipments, ShippingCategories, type ShippingCategory, type ShippingCategoryCreate, type ShippingCategorySort, type ShippingCategoryUpdate, type ShippingMethod, type ShippingMethodCreate, type ShippingMethodSort, type ShippingMethodTier, type ShippingMethodTierSort, ShippingMethodTiers, type ShippingMethodUpdate, ShippingMethods, type ShippingWeightTier, type ShippingWeightTierCreate, type ShippingWeightTierSort, type ShippingWeightTierUpdate, ShippingWeightTiers, type ShippingZone, type ShippingZoneCreate, type ShippingZoneSort, type ShippingZoneUpdate, ShippingZones, type Sku, type SkuCreate, type SkuList, type SkuListCreate, type SkuListItem, type SkuListItemCreate, type SkuListItemSort, type SkuListItemUpdate, SkuListItems, type SkuListPromotionRule, type SkuListPromotionRuleCreate, type SkuListPromotionRuleSort, type SkuListPromotionRuleUpdate, SkuListPromotionRules, type SkuListSort, type SkuListUpdate, SkuLists, type SkuOption, type SkuOptionCreate, type SkuOptionSort, type SkuOptionUpdate, SkuOptions, type SkuSort, type SkuUpdate, Skus, type StockItem, type StockItemCreate, type StockItemSort, type StockItemUpdate, StockItems, type StockLineItem, type StockLineItemCreate, type StockLineItemSort, type StockLineItemUpdate, StockLineItems, type StockLocation, type StockLocationCreate, type StockLocationSort, type StockLocationUpdate, StockLocations, type StockReservation, type StockReservationCreate, type StockReservationSort, type StockReservationUpdate, StockReservations, type StockTransfer, type StockTransferCreate, type StockTransferSort, type StockTransferUpdate, StockTransfers, type Store, type StoreCreate, type StoreSort, type StoreUpdate, Stores, type StripeGateway, type StripeGatewayCreate, type StripeGatewaySort, type StripeGatewayUpdate, StripeGateways, type StripePayment, type StripePaymentCreate, type StripePaymentSort, type StripePaymentUpdate, StripePayments, type StripeTaxAccount, type StripeTaxAccountCreate, type StripeTaxAccountSort, type StripeTaxAccountUpdate, StripeTaxAccounts, type SubscriptionModel, type SubscriptionModelCreate, type SubscriptionModelSort, type SubscriptionModelUpdate, SubscriptionModels, type Tag, type TagCreate, type TagSort, type TagUpdate, type TaggableResource, type TaggableResourceType, Tags, type TalonOneAccount, type TalonOneAccountCreate, type TalonOneAccountSort, type TalonOneAccountUpdate, TalonOneAccounts, type TaxCalculator, type TaxCalculatorSort, TaxCalculators, TaxCategories, type TaxCategory, type TaxCategoryCreate, type TaxCategorySort, type TaxCategoryUpdate, type TaxRule, type TaxRuleCreate, type TaxRuleSort, type TaxRuleUpdate, TaxRules, type TaxjarAccount, type TaxjarAccountCreate, type TaxjarAccountSort, type TaxjarAccountUpdate, TaxjarAccounts, type Transaction, type TransactionSort, Transactions, type UpdatableResource, type UpdatableResourceType, type Version, type VersionSort, type VersionableResource, type VersionableResourceType, Versions, type VertexAccount, type VertexAccountCreate, type VertexAccountSort, type VertexAccountUpdate, VertexAccounts, type Void, type VoidSort, type VoidUpdate, Voids, type Webhook, type WebhookCreate, type WebhookSort, type WebhookUpdate, Webhooks, type WireTransfer, type WireTransferCreate, type WireTransferSort, type WireTransferUpdate, WireTransfers, apiResourceAdapter, CommerceLayer as default, generateQueryStringParams, generateSearchString, isParamsList, resourceList, singletonList };