@sp-api-sdk/fulfillment-inbound-api-v0 1.8.5 → 1.8.6

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.
@@ -34,7 +34,7 @@ import { VoidTransportResponse } from '../models';
34
34
  * FbaInboundApi - axios parameter creator
35
35
  * @export
36
36
  */
37
- export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
37
+ export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configuration) => {
38
38
  /**
39
39
  * Returns information needed to confirm a shipment for pre-order. Call this operation after calling the getPreorderInfo operation to get the NeedByDate value and other pre-order information about the shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
40
40
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -88,7 +88,7 @@ export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configurat
88
88
  * @param {*} [options] Override http request option.
89
89
  * @throws {RequiredError}
90
90
  */
91
- getInboundGuidance: (marketplaceId: string, sellerSKUList?: string[] | undefined, aSINList?: string[] | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
91
+ getInboundGuidance: (marketplaceId: string, sellerSKUList?: Array<string>, aSINList?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
92
92
  /**
93
93
  * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
94
94
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -102,7 +102,7 @@ export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configurat
102
102
  * @param {*} [options] Override http request option.
103
103
  * @throws {RequiredError}
104
104
  */
105
- getLabels: (shipmentId: string, pageType: 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation', labelType: 'BARCODE_2D' | 'UNIQUE' | 'PALLET', numberOfPackages?: number | undefined, packageLabelsToPrint?: string[] | undefined, numberOfPallets?: number | undefined, pageSize?: number | undefined, pageStartIndex?: number | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
105
+ getLabels: (shipmentId: string, pageType: 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation', labelType: 'BARCODE_2D' | 'UNIQUE' | 'PALLET', numberOfPackages?: number, packageLabelsToPrint?: Array<string>, numberOfPallets?: number, pageSize?: number, pageStartIndex?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
106
106
  /**
107
107
  * Returns pre-order information, including dates, that a seller needs before confirming a shipment for pre-order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
108
108
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -119,7 +119,7 @@ export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configurat
119
119
  * @param {*} [options] Override http request option.
120
120
  * @throws {RequiredError}
121
121
  */
122
- getPrepInstructions: (shipToCountryCode: string, sellerSKUList?: string[] | undefined, aSINList?: string[] | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
122
+ getPrepInstructions: (shipToCountryCode: string, sellerSKUList?: Array<string>, aSINList?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
123
123
  /**
124
124
  * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
125
125
  * @param {'DATE_RANGE' | 'NEXT_TOKEN'} queryType Indicates whether items are returned using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or using NextToken, which continues returning items specified in a previous request.
@@ -130,7 +130,7 @@ export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configurat
130
130
  * @param {*} [options] Override http request option.
131
131
  * @throws {RequiredError}
132
132
  */
133
- getShipmentItems: (queryType: 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, lastUpdatedAfter?: string | undefined, lastUpdatedBefore?: string | undefined, nextToken?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
133
+ getShipmentItems: (queryType: 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
134
134
  /**
135
135
  * Returns a list of items in a specified inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
136
136
  * @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
@@ -151,7 +151,7 @@ export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configurat
151
151
  * @param {*} [options] Override http request option.
152
152
  * @throws {RequiredError}
153
153
  */
154
- getShipments: (queryType: 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, shipmentStatusList?: ("WORKING" | "ERROR" | "SHIPPED" | "RECEIVING" | "CANCELLED" | "DELETED" | "CLOSED" | "IN_TRANSIT" | "DELIVERED" | "CHECKED_IN")[] | undefined, shipmentIdList?: string[] | undefined, lastUpdatedAfter?: string | undefined, lastUpdatedBefore?: string | undefined, nextToken?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
154
+ getShipments: (queryType: 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, shipmentStatusList?: Array<'WORKING' | 'SHIPPED' | 'RECEIVING' | 'CANCELLED' | 'DELETED' | 'CLOSED' | 'ERROR' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN'>, shipmentIdList?: Array<string>, lastUpdatedAfter?: string, lastUpdatedBefore?: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
155
155
  /**
156
156
  * Returns current transportation information about an inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
157
157
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -187,7 +187,7 @@ export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configurat
187
187
  * FbaInboundApi - functional programming interface
188
188
  * @export
189
189
  */
190
- export declare const FbaInboundApiFp: (configuration?: Configuration | undefined) => {
190
+ export declare const FbaInboundApiFp: (configuration?: Configuration) => {
191
191
  /**
192
192
  * Returns information needed to confirm a shipment for pre-order. Call this operation after calling the getPreorderInfo operation to get the NeedByDate value and other pre-order information about the shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
193
193
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -196,14 +196,14 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
196
196
  * @param {*} [options] Override http request option.
197
197
  * @throws {RequiredError}
198
198
  */
199
- confirmPreorder(shipmentId: string, needByDate: string, marketplaceId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ConfirmPreorderResponse>>;
199
+ confirmPreorder(shipmentId: string, needByDate: string, marketplaceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPreorderResponse>>;
200
200
  /**
201
201
  * Confirms that the seller accepts the Amazon-partnered shipping estimate, agrees to allow Amazon to charge their account for the shipping cost, and requests that the Amazon-partnered carrier ship the inbound shipment. Prior to calling the confirmTransport operation, you should call the getTransportDetails operation to get the Amazon-partnered shipping estimate. Important: After confirming the transportation request, if the seller decides that they do not want the Amazon-partnered carrier to ship the inbound shipment, you can call the voidTransport operation to cancel the transportation request. Note that for a Small Parcel shipment, the seller has 24 hours after confirming a transportation request to void the transportation request. For a Less Than Truckload/Full Truckload (LTL/FTL) shipment, the seller has one hour after confirming a transportation request to void it. After the grace period has expired the seller\'s account will be charged for the shipping cost. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
202
202
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
203
203
  * @param {*} [options] Override http request option.
204
204
  * @throws {RequiredError}
205
205
  */
206
- confirmTransport(shipmentId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ConfirmTransportResponse>>;
206
+ confirmTransport(shipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmTransportResponse>>;
207
207
  /**
208
208
  * Returns a new inbound shipment based on the specified shipmentId that was returned by the createInboundShipmentPlan operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
209
209
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -211,28 +211,28 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
211
211
  * @param {*} [options] Override http request option.
212
212
  * @throws {RequiredError}
213
213
  */
214
- createInboundShipment(shipmentId: string, body: InboundShipmentRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<InboundShipmentResponse>>;
214
+ createInboundShipment(shipmentId: string, body: InboundShipmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InboundShipmentResponse>>;
215
215
  /**
216
216
  * Returns one or more inbound shipment plans, which provide the information you need to create one or more inbound shipments for a set of items that you specify. Multiple inbound shipment plans might be required so that items can be optimally placed in Amazon\'s fulfillment network—for example, positioning inventory closer to the customer. Alternatively, two inbound shipment plans might be created with the same Amazon fulfillment center destination if the two shipment plans require different processing—for example, items that require labels must be shipped separately from stickerless, commingled inventory. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
217
217
  * @param {CreateInboundShipmentPlanRequest} body
218
218
  * @param {*} [options] Override http request option.
219
219
  * @throws {RequiredError}
220
220
  */
221
- createInboundShipmentPlan(body: CreateInboundShipmentPlanRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CreateInboundShipmentPlanResponse>>;
221
+ createInboundShipmentPlan(body: CreateInboundShipmentPlanRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInboundShipmentPlanResponse>>;
222
222
  /**
223
223
  * Initiates the process of estimating the shipping cost for an inbound shipment by an Amazon-partnered carrier. Prior to calling the estimateTransport operation, you must call the putTransportDetails operation to provide Amazon with the transportation information for the inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
224
224
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
225
225
  * @param {*} [options] Override http request option.
226
226
  * @throws {RequiredError}
227
227
  */
228
- estimateTransport(shipmentId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<EstimateTransportResponse>>;
228
+ estimateTransport(shipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateTransportResponse>>;
229
229
  /**
230
230
  * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
231
231
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
232
232
  * @param {*} [options] Override http request option.
233
233
  * @throws {RequiredError}
234
234
  */
235
- getBillOfLading(shipmentId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetBillOfLadingResponse>>;
235
+ getBillOfLading(shipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBillOfLadingResponse>>;
236
236
  /**
237
237
  * Returns information that lets a seller know if Amazon recommends sending an item to a given marketplace. In some cases, Amazon provides guidance for why a given SellerSKU or ASIN is not recommended for shipment to Amazon\'s fulfillment network. Sellers may still ship items that are not recommended, at their discretion. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
238
238
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.
@@ -241,7 +241,7 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
241
241
  * @param {*} [options] Override http request option.
242
242
  * @throws {RequiredError}
243
243
  */
244
- getInboundGuidance(marketplaceId: string, sellerSKUList?: string[] | undefined, aSINList?: string[] | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetInboundGuidanceResponse>>;
244
+ getInboundGuidance(marketplaceId: string, sellerSKUList?: Array<string>, aSINList?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInboundGuidanceResponse>>;
245
245
  /**
246
246
  * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
247
247
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -255,7 +255,7 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
257
257
  */
258
- getLabels(shipmentId: string, pageType: 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation', labelType: 'BARCODE_2D' | 'UNIQUE' | 'PALLET', numberOfPackages?: number | undefined, packageLabelsToPrint?: string[] | undefined, numberOfPallets?: number | undefined, pageSize?: number | undefined, pageStartIndex?: number | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetLabelsResponse>>;
258
+ getLabels(shipmentId: string, pageType: 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation', labelType: 'BARCODE_2D' | 'UNIQUE' | 'PALLET', numberOfPackages?: number, packageLabelsToPrint?: Array<string>, numberOfPallets?: number, pageSize?: number, pageStartIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLabelsResponse>>;
259
259
  /**
260
260
  * Returns pre-order information, including dates, that a seller needs before confirming a shipment for pre-order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
261
261
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -263,7 +263,7 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
263
263
  * @param {*} [options] Override http request option.
264
264
  * @throws {RequiredError}
265
265
  */
266
- getPreorderInfo(shipmentId: string, marketplaceId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetPreorderInfoResponse>>;
266
+ getPreorderInfo(shipmentId: string, marketplaceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPreorderInfoResponse>>;
267
267
  /**
268
268
  * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\'s fulfillment network. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
269
269
  * @param {string} shipToCountryCode The country code of the country to which the items will be shipped. Note that labeling requirements and item preparation instructions can vary by country.
@@ -272,7 +272,7 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
272
272
  * @param {*} [options] Override http request option.
273
273
  * @throws {RequiredError}
274
274
  */
275
- getPrepInstructions(shipToCountryCode: string, sellerSKUList?: string[] | undefined, aSINList?: string[] | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetPrepInstructionsResponse>>;
275
+ getPrepInstructions(shipToCountryCode: string, sellerSKUList?: Array<string>, aSINList?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPrepInstructionsResponse>>;
276
276
  /**
277
277
  * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
278
278
  * @param {'DATE_RANGE' | 'NEXT_TOKEN'} queryType Indicates whether items are returned using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or using NextToken, which continues returning items specified in a previous request.
@@ -283,7 +283,7 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
283
283
  * @param {*} [options] Override http request option.
284
284
  * @throws {RequiredError}
285
285
  */
286
- getShipmentItems(queryType: 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, lastUpdatedAfter?: string | undefined, lastUpdatedBefore?: string | undefined, nextToken?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetShipmentItemsResponse>>;
286
+ getShipmentItems(queryType: 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentItemsResponse>>;
287
287
  /**
288
288
  * Returns a list of items in a specified inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
289
289
  * @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
@@ -291,7 +291,7 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
291
291
  * @param {*} [options] Override http request option.
292
292
  * @throws {RequiredError}
293
293
  */
294
- getShipmentItemsByShipmentId(shipmentId: string, marketplaceId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetShipmentItemsResponse>>;
294
+ getShipmentItemsByShipmentId(shipmentId: string, marketplaceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentItemsResponse>>;
295
295
  /**
296
296
  * Returns a list of inbound shipments based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
297
297
  * @param {'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN'} queryType Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.
@@ -304,14 +304,14 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
304
304
  * @param {*} [options] Override http request option.
305
305
  * @throws {RequiredError}
306
306
  */
307
- getShipments(queryType: 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, shipmentStatusList?: ("WORKING" | "ERROR" | "SHIPPED" | "RECEIVING" | "CANCELLED" | "DELETED" | "CLOSED" | "IN_TRANSIT" | "DELIVERED" | "CHECKED_IN")[] | undefined, shipmentIdList?: string[] | undefined, lastUpdatedAfter?: string | undefined, lastUpdatedBefore?: string | undefined, nextToken?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetShipmentsResponse>>;
307
+ getShipments(queryType: 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, shipmentStatusList?: Array<'WORKING' | 'SHIPPED' | 'RECEIVING' | 'CANCELLED' | 'DELETED' | 'CLOSED' | 'ERROR' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN'>, shipmentIdList?: Array<string>, lastUpdatedAfter?: string, lastUpdatedBefore?: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentsResponse>>;
308
308
  /**
309
309
  * Returns current transportation information about an inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
310
310
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
311
311
  * @param {*} [options] Override http request option.
312
312
  * @throws {RequiredError}
313
313
  */
314
- getTransportDetails(shipmentId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetTransportDetailsResponse>>;
314
+ getTransportDetails(shipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTransportDetailsResponse>>;
315
315
  /**
316
316
  * Sends transportation information to Amazon about an inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
317
317
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -319,7 +319,7 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
319
319
  * @param {*} [options] Override http request option.
320
320
  * @throws {RequiredError}
321
321
  */
322
- putTransportDetails(shipmentId: string, body: PutTransportDetailsRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PutTransportDetailsResponse>>;
322
+ putTransportDetails(shipmentId: string, body: PutTransportDetailsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PutTransportDetailsResponse>>;
323
323
  /**
324
324
  * Updates or removes items from the inbound shipment identified by the specified shipment identifier. Adding new items is not supported. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
325
325
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -327,20 +327,20 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
327
327
  * @param {*} [options] Override http request option.
328
328
  * @throws {RequiredError}
329
329
  */
330
- updateInboundShipment(shipmentId: string, body: InboundShipmentRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<InboundShipmentResponse>>;
330
+ updateInboundShipment(shipmentId: string, body: InboundShipmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InboundShipmentResponse>>;
331
331
  /**
332
332
  * Cancels a previously-confirmed request to ship an inbound shipment using an Amazon-partnered carrier. To be successful, you must call this operation before the VoidDeadline date that is returned by the getTransportDetails operation. Important: The VoidDeadline date is 24 hours after you confirm a Small Parcel shipment transportation request or one hour after you confirm a Less Than Truckload/Full Truckload (LTL/FTL) shipment transportation request. After the void deadline passes, your account will be charged for the shipping cost. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
333
333
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
334
334
  * @param {*} [options] Override http request option.
335
335
  * @throws {RequiredError}
336
336
  */
337
- voidTransport(shipmentId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<VoidTransportResponse>>;
337
+ voidTransport(shipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VoidTransportResponse>>;
338
338
  };
339
339
  /**
340
340
  * FbaInboundApi - factory interface
341
341
  * @export
342
342
  */
343
- export declare const FbaInboundApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
343
+ export declare const FbaInboundApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
344
344
  /**
345
345
  * Returns information needed to confirm a shipment for pre-order. Call this operation after calling the getPreorderInfo operation to get the NeedByDate value and other pre-order information about the shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
346
346
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -394,7 +394,7 @@ export declare const FbaInboundApiFactory: (configuration?: Configuration | unde
394
394
  * @param {*} [options] Override http request option.
395
395
  * @throws {RequiredError}
396
396
  */
397
- getInboundGuidance(marketplaceId: string, sellerSKUList?: string[] | undefined, aSINList?: string[] | undefined, options?: any): AxiosPromise<GetInboundGuidanceResponse>;
397
+ getInboundGuidance(marketplaceId: string, sellerSKUList?: Array<string>, aSINList?: Array<string>, options?: any): AxiosPromise<GetInboundGuidanceResponse>;
398
398
  /**
399
399
  * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
400
400
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -408,7 +408,7 @@ export declare const FbaInboundApiFactory: (configuration?: Configuration | unde
408
408
  * @param {*} [options] Override http request option.
409
409
  * @throws {RequiredError}
410
410
  */
411
- getLabels(shipmentId: string, pageType: 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation', labelType: 'BARCODE_2D' | 'UNIQUE' | 'PALLET', numberOfPackages?: number | undefined, packageLabelsToPrint?: string[] | undefined, numberOfPallets?: number | undefined, pageSize?: number | undefined, pageStartIndex?: number | undefined, options?: any): AxiosPromise<GetLabelsResponse>;
411
+ getLabels(shipmentId: string, pageType: 'PackageLabel_Letter_2' | 'PackageLabel_Letter_4' | 'PackageLabel_Letter_6' | 'PackageLabel_Letter_6_CarrierLeft' | 'PackageLabel_A4_2' | 'PackageLabel_A4_4' | 'PackageLabel_Plain_Paper' | 'PackageLabel_Plain_Paper_CarrierBottom' | 'PackageLabel_Thermal' | 'PackageLabel_Thermal_Unified' | 'PackageLabel_Thermal_NonPCP' | 'PackageLabel_Thermal_No_Carrier_Rotation', labelType: 'BARCODE_2D' | 'UNIQUE' | 'PALLET', numberOfPackages?: number, packageLabelsToPrint?: Array<string>, numberOfPallets?: number, pageSize?: number, pageStartIndex?: number, options?: any): AxiosPromise<GetLabelsResponse>;
412
412
  /**
413
413
  * Returns pre-order information, including dates, that a seller needs before confirming a shipment for pre-order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
414
414
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -425,7 +425,7 @@ export declare const FbaInboundApiFactory: (configuration?: Configuration | unde
425
425
  * @param {*} [options] Override http request option.
426
426
  * @throws {RequiredError}
427
427
  */
428
- getPrepInstructions(shipToCountryCode: string, sellerSKUList?: string[] | undefined, aSINList?: string[] | undefined, options?: any): AxiosPromise<GetPrepInstructionsResponse>;
428
+ getPrepInstructions(shipToCountryCode: string, sellerSKUList?: Array<string>, aSINList?: Array<string>, options?: any): AxiosPromise<GetPrepInstructionsResponse>;
429
429
  /**
430
430
  * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
431
431
  * @param {'DATE_RANGE' | 'NEXT_TOKEN'} queryType Indicates whether items are returned using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or using NextToken, which continues returning items specified in a previous request.
@@ -436,7 +436,7 @@ export declare const FbaInboundApiFactory: (configuration?: Configuration | unde
436
436
  * @param {*} [options] Override http request option.
437
437
  * @throws {RequiredError}
438
438
  */
439
- getShipmentItems(queryType: 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, lastUpdatedAfter?: string | undefined, lastUpdatedBefore?: string | undefined, nextToken?: string | undefined, options?: any): AxiosPromise<GetShipmentItemsResponse>;
439
+ getShipmentItems(queryType: 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, nextToken?: string, options?: any): AxiosPromise<GetShipmentItemsResponse>;
440
440
  /**
441
441
  * Returns a list of items in a specified inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
442
442
  * @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
@@ -457,7 +457,7 @@ export declare const FbaInboundApiFactory: (configuration?: Configuration | unde
457
457
  * @param {*} [options] Override http request option.
458
458
  * @throws {RequiredError}
459
459
  */
460
- getShipments(queryType: 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, shipmentStatusList?: ("WORKING" | "ERROR" | "SHIPPED" | "RECEIVING" | "CANCELLED" | "DELETED" | "CLOSED" | "IN_TRANSIT" | "DELIVERED" | "CHECKED_IN")[] | undefined, shipmentIdList?: string[] | undefined, lastUpdatedAfter?: string | undefined, lastUpdatedBefore?: string | undefined, nextToken?: string | undefined, options?: any): AxiosPromise<GetShipmentsResponse>;
460
+ getShipments(queryType: 'SHIPMENT' | 'DATE_RANGE' | 'NEXT_TOKEN', marketplaceId: string, shipmentStatusList?: Array<'WORKING' | 'SHIPPED' | 'RECEIVING' | 'CANCELLED' | 'DELETED' | 'CLOSED' | 'ERROR' | 'IN_TRANSIT' | 'DELIVERED' | 'CHECKED_IN'>, shipmentIdList?: Array<string>, lastUpdatedAfter?: string, lastUpdatedBefore?: string, nextToken?: string, options?: any): AxiosPromise<GetShipmentsResponse>;
461
461
  /**
462
462
  * Returns current transportation information about an inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
463
463
  * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
@@ -27,22 +27,22 @@ export declare const assertParamExists: (functionName: string, paramName: string
27
27
  *
28
28
  * @export
29
29
  */
30
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration | undefined) => Promise<void>;
30
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
31
  /**
32
32
  *
33
33
  * @export
34
34
  */
35
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration | undefined) => void;
35
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
36
  /**
37
37
  *
38
38
  * @export
39
39
  */
40
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration | undefined) => Promise<void>;
40
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
41
  /**
42
42
  *
43
43
  * @export
44
44
  */
45
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration | undefined) => Promise<void>;
45
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
46
  /**
47
47
  *
48
48
  * @export
@@ -52,7 +52,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
52
52
  *
53
53
  * @export
54
54
  */
55
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration | undefined) => any;
55
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
56
  /**
57
57
  *
58
58
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/fulfillment-inbound-api-v0",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.",
5
- "version": "1.8.5",
5
+ "version": "1.8.6",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -27,8 +27,8 @@
27
27
  "test": "jest"
28
28
  },
29
29
  "dependencies": {
30
- "@sp-api-sdk/auth": "^1.9.17",
31
- "@sp-api-sdk/common": "^1.9.3",
30
+ "@sp-api-sdk/auth": "^1.9.18",
31
+ "@sp-api-sdk/common": "^1.9.4",
32
32
  "axios": "^0.27.2"
33
33
  },
34
34
  "repository": {
@@ -50,5 +50,5 @@
50
50
  "sp sdk",
51
51
  "fulfillment inbound api"
52
52
  ],
53
- "gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c"
53
+ "gitHead": "18efdada205f63f94bd5c11e163e758adbb93257"
54
54
  }