@sp-api-sdk/external-fulfillment-shipments-api-2024-09-11 1.2.9 → 1.3.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/dist/cjs/api-model/api/external-fulfillment-shipments-api.js +17 -17
- package/dist/cjs/api-model/configuration.js +2 -2
- package/dist/cjs/api-model/models/cancellation.js +1 -1
- package/dist/cjs/api-model/models/charge.js +1 -1
- package/dist/cjs/api-model/models/custom-attribute-type.js +1 -1
- package/dist/cjs/api-model/models/dimension.js +2 -1
- package/dist/cjs/api-model/models/distance.js +20 -0
- package/dist/cjs/api-model/models/document.js +1 -1
- package/dist/cjs/api-model/models/geocodes.js +15 -0
- package/dist/cjs/api-model/models/handover-location.js +15 -0
- package/dist/cjs/api-model/models/index.js +3 -0
- package/dist/cjs/api-model/models/invoice-requirement.js +2 -2
- package/dist/cjs/api-model/models/line-item-with-reason.js +1 -1
- package/dist/cjs/api-model/models/marketplace-attributes.js +1 -1
- package/dist/cjs/api-model/models/package-status.js +1 -1
- package/dist/cjs/api-model/models/package-sub-status.js +1 -1
- package/dist/cjs/api-model/models/package.js +2 -2
- package/dist/cjs/api-model/models/packing-slip-requirement.js +2 -2
- package/dist/cjs/api-model/models/party-identification-info.js +1 -1
- package/dist/cjs/api-model/models/piece-type.js +1 -1
- package/dist/cjs/api-model/models/presence-status.js +1 -1
- package/dist/cjs/api-model/models/priority.js +1 -1
- package/dist/cjs/api-model/models/requirement-level.js +1 -1
- package/dist/cjs/api-model/models/shipment-info.js +7 -3
- package/dist/cjs/api-model/models/shipment.js +2 -2
- package/dist/cjs/api-model/models/shipping-info.js +1 -1
- package/dist/cjs/api-model/models/shipping-options.js +1 -1
- package/dist/cjs/api-model/models/status.js +1 -1
- package/dist/cjs/api-model/models/tax-registration-info.js +1 -1
- package/dist/cjs/api-model/models/tax.js +1 -1
- package/dist/cjs/api-model/models/time-window.js +1 -1
- package/dist/cjs/api-model/models/weight.js +3 -1
- package/dist/es/api-model/api/external-fulfillment-shipments-api.js +17 -17
- package/dist/es/api-model/configuration.js +2 -2
- package/dist/es/api-model/models/cancellation.js +1 -1
- package/dist/es/api-model/models/charge.js +1 -1
- package/dist/es/api-model/models/custom-attribute-type.js +1 -1
- package/dist/es/api-model/models/dimension.js +2 -1
- package/dist/es/api-model/models/distance.js +17 -0
- package/dist/es/api-model/models/document.js +1 -1
- package/dist/es/api-model/models/geocodes.js +14 -0
- package/dist/es/api-model/models/handover-location.js +14 -0
- package/dist/es/api-model/models/index.js +3 -0
- package/dist/es/api-model/models/invoice-requirement.js +2 -2
- package/dist/es/api-model/models/line-item-with-reason.js +1 -1
- package/dist/es/api-model/models/marketplace-attributes.js +1 -1
- package/dist/es/api-model/models/package-status.js +1 -1
- package/dist/es/api-model/models/package-sub-status.js +1 -1
- package/dist/es/api-model/models/package.js +2 -2
- package/dist/es/api-model/models/packing-slip-requirement.js +2 -2
- package/dist/es/api-model/models/party-identification-info.js +1 -1
- package/dist/es/api-model/models/piece-type.js +1 -1
- package/dist/es/api-model/models/presence-status.js +1 -1
- package/dist/es/api-model/models/priority.js +1 -1
- package/dist/es/api-model/models/requirement-level.js +1 -1
- package/dist/es/api-model/models/shipment-info.js +6 -2
- package/dist/es/api-model/models/shipment.js +2 -2
- package/dist/es/api-model/models/shipping-info.js +1 -1
- package/dist/es/api-model/models/shipping-options.js +1 -1
- package/dist/es/api-model/models/status.js +1 -1
- package/dist/es/api-model/models/tax-registration-info.js +1 -1
- package/dist/es/api-model/models/tax.js +1 -1
- package/dist/es/api-model/models/time-window.js +1 -1
- package/dist/es/api-model/models/weight.js +3 -1
- package/dist/types/api-model/api/external-fulfillment-shipments-api.d.ts +3 -3
- package/dist/types/api-model/models/address.d.ts +3 -1
- package/dist/types/api-model/models/dimension.d.ts +1 -0
- package/dist/types/api-model/models/distance.d.ts +29 -0
- package/dist/types/api-model/models/geocodes.d.ts +28 -0
- package/dist/types/api-model/models/handover-location.d.ts +24 -0
- package/dist/types/api-model/models/index.d.ts +3 -0
- package/dist/types/api-model/models/ship-label-metadata.d.ts +2 -0
- package/dist/types/api-model/models/shipment-info.d.ts +9 -0
- package/dist/types/api-model/models/shipping-options.d.ts +2 -0
- package/dist/types/api-model/models/weight.d.ts +2 -0
- package/package.json +4 -4
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
5
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
8
|
+
* Contact: marketplaceapitest@amazon.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export const DistanceDistanceUnitEnum = {
|
|
15
|
+
Mi: 'MI',
|
|
16
|
+
Km: 'KM',
|
|
17
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
5
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
8
|
+
* Contact: marketplaceapitest@amazon.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
5
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
8
|
+
* Contact: marketplaceapitest@amazon.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -8,10 +8,13 @@ export * from './courier-supported-attributes';
|
|
|
8
8
|
export * from './custom-attribute';
|
|
9
9
|
export * from './custom-attribute-type';
|
|
10
10
|
export * from './dimension';
|
|
11
|
+
export * from './distance';
|
|
11
12
|
export * from './document';
|
|
12
13
|
export * from './document-v2';
|
|
13
14
|
export * from './error-list';
|
|
15
|
+
export * from './geocodes';
|
|
14
16
|
export * from './gift-attributes';
|
|
17
|
+
export * from './handover-location';
|
|
15
18
|
export * from './invoice-info';
|
|
16
19
|
export * from './invoice-requirement';
|
|
17
20
|
export * from './invoice-response';
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
*/
|
|
14
14
|
export const InvoiceRequirementRequirementEnum = {
|
|
15
15
|
Required: 'REQUIRED',
|
|
16
|
-
NotRequired: 'NOT_REQUIRED'
|
|
16
|
+
NotRequired: 'NOT_REQUIRED',
|
|
17
17
|
};
|
|
18
18
|
export const InvoiceRequirementStatusEnum = {
|
|
19
19
|
Pending: 'PENDING',
|
|
20
20
|
Available: 'AVAILABLE',
|
|
21
|
-
NotAvailable: 'NOT_AVAILABLE'
|
|
21
|
+
NotAvailable: 'NOT_AVAILABLE',
|
|
22
22
|
};
|
|
@@ -18,9 +18,9 @@ export const PackageStatusEnum = {
|
|
|
18
18
|
ShiplabelGenerated: 'SHIPLABEL_GENERATED',
|
|
19
19
|
Shipped: 'SHIPPED',
|
|
20
20
|
Delivered: 'DELIVERED',
|
|
21
|
-
Cancelled: 'CANCELLED'
|
|
21
|
+
Cancelled: 'CANCELLED',
|
|
22
22
|
};
|
|
23
23
|
export const PackagePackageHandlingRequirementsEnum = {
|
|
24
24
|
Normal: 'NORMAL',
|
|
25
|
-
Fragile: 'FRAGILE'
|
|
25
|
+
Fragile: 'FRAGILE',
|
|
26
26
|
};
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
export const PackingSlipRequirementRequirementEnum = {
|
|
15
15
|
Required: 'REQUIRED',
|
|
16
|
-
NotRequired: 'NOT_REQUIRED'
|
|
16
|
+
NotRequired: 'NOT_REQUIRED',
|
|
17
17
|
};
|
|
18
18
|
export const PackingSlipRequirementStatusEnum = {
|
|
19
19
|
Generated: 'GENERATED',
|
|
20
|
-
NotGenerated: 'NOT_GENERATED'
|
|
20
|
+
NotGenerated: 'NOT_GENERATED',
|
|
21
21
|
};
|
|
@@ -14,9 +14,13 @@
|
|
|
14
14
|
export const ShipmentInfoShipmentTypeEnum = {
|
|
15
15
|
New: 'NEW',
|
|
16
16
|
Exchange: 'EXCHANGE',
|
|
17
|
-
Replacement: 'REPLACEMENT'
|
|
17
|
+
Replacement: 'REPLACEMENT',
|
|
18
18
|
};
|
|
19
19
|
export const ShipmentInfoProcessingSourceEnum = {
|
|
20
20
|
ExternalPlatform: 'EXTERNAL_PLATFORM',
|
|
21
|
-
InternalPlatform: 'INTERNAL_PLATFORM'
|
|
21
|
+
InternalPlatform: 'INTERNAL_PLATFORM',
|
|
22
|
+
};
|
|
23
|
+
export const ShipmentInfoPaymentMethodEnum = {
|
|
24
|
+
CashOnDelivery: 'CASH_ON_DELIVERY',
|
|
25
|
+
Prepaid: 'PREPAID',
|
|
22
26
|
};
|
|
@@ -21,7 +21,7 @@ export const ShipmentStatusEnum = {
|
|
|
21
21
|
ShiplabelGenerated: 'SHIPLABEL_GENERATED',
|
|
22
22
|
Cancelled: 'CANCELLED',
|
|
23
23
|
Shipped: 'SHIPPED',
|
|
24
|
-
Delivered: 'DELIVERED'
|
|
24
|
+
Delivered: 'DELIVERED',
|
|
25
25
|
};
|
|
26
26
|
export const ShipmentSubStatusEnum = {
|
|
27
27
|
PendingSchedule: 'PENDING_SCHEDULE',
|
|
@@ -37,5 +37,5 @@ export const ShipmentSubStatusEnum = {
|
|
|
37
37
|
Undeliverable: 'UNDELIVERABLE',
|
|
38
38
|
Lost: 'LOST',
|
|
39
39
|
OutForDelivery: 'OUT_FOR_DELIVERY',
|
|
40
|
-
Damaged: 'DAMAGED'
|
|
40
|
+
Damaged: 'DAMAGED',
|
|
41
41
|
};
|
|
@@ -61,7 +61,7 @@ export declare const ExternalFulfillmentShipmentsApiAxiosParamCreator: (configur
|
|
|
61
61
|
getShipment: (shipmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
62
|
/**
|
|
63
63
|
* Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\' last update.
|
|
64
|
-
* @param {GetShipmentsStatusEnum} status The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `ACCEPTED`.
|
|
64
|
+
* @param {GetShipmentsStatusEnum} status The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `CREATED` or `ACCEPTED`.
|
|
65
65
|
* @param {string} [locationId] The Amazon channel location identifier for the shipments you want to retrieve.
|
|
66
66
|
* @param {string} [marketplaceId] The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
67
67
|
* @param {string} [channelName] The channel name associated with the location.
|
|
@@ -155,7 +155,7 @@ export declare const ExternalFulfillmentShipmentsApiFp: (configuration?: Configu
|
|
|
155
155
|
getShipment(shipmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Shipment>>;
|
|
156
156
|
/**
|
|
157
157
|
* Get a list of shipments created for the seller in the status you specify. Shipments can be further filtered based on the fulfillment node or the time of the shipments\' last update.
|
|
158
|
-
* @param {GetShipmentsStatusEnum} status The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `ACCEPTED`.
|
|
158
|
+
* @param {GetShipmentsStatusEnum} status The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `CREATED` or `ACCEPTED`.
|
|
159
159
|
* @param {string} [locationId] The Amazon channel location identifier for the shipments you want to retrieve.
|
|
160
160
|
* @param {string} [marketplaceId] The marketplace ID associated with the location. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
161
161
|
* @param {string} [channelName] The channel name associated with the location.
|
|
@@ -343,7 +343,7 @@ export interface ExternalFulfillmentShipmentsApiGetShipmentRequest {
|
|
|
343
343
|
*/
|
|
344
344
|
export interface ExternalFulfillmentShipmentsApiGetShipmentsRequest {
|
|
345
345
|
/**
|
|
346
|
-
* The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `ACCEPTED`.
|
|
346
|
+
* The status of shipment you want to include in the response. To retrieve all new shipments, set this value to `CREATED` or `ACCEPTED`.
|
|
347
347
|
*/
|
|
348
348
|
readonly status: GetShipmentsStatusEnum;
|
|
349
349
|
/**
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { Geocodes } from './geocodes';
|
|
12
13
|
/**
|
|
13
14
|
* The address.
|
|
14
15
|
*/
|
|
@@ -34,7 +35,7 @@ export interface Address {
|
|
|
34
35
|
*/
|
|
35
36
|
'district'?: string;
|
|
36
37
|
/**
|
|
37
|
-
* The
|
|
38
|
+
* The municipality where the person, business, or institution is located.
|
|
38
39
|
*/
|
|
39
40
|
'municipality'?: string;
|
|
40
41
|
/**
|
|
@@ -69,4 +70,5 @@ export interface Address {
|
|
|
69
70
|
* The type of address.
|
|
70
71
|
*/
|
|
71
72
|
'addressType'?: string;
|
|
73
|
+
'geocodes'?: Geocodes;
|
|
72
74
|
}
|
|
@@ -25,5 +25,6 @@ export interface Dimension {
|
|
|
25
25
|
export declare const DimensionDimensionUnitEnum: {
|
|
26
26
|
readonly Cm: "CM";
|
|
27
27
|
readonly M: "M";
|
|
28
|
+
readonly In: "IN";
|
|
28
29
|
};
|
|
29
30
|
export type DimensionDimensionUnitEnum = typeof DimensionDimensionUnitEnum[keyof typeof DimensionDimensionUnitEnum];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
3
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
+
* Contact: marketplaceapitest@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* A distance measurement.
|
|
14
|
+
*/
|
|
15
|
+
export interface Distance {
|
|
16
|
+
/**
|
|
17
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.
|
|
18
|
+
*/
|
|
19
|
+
'value': string;
|
|
20
|
+
/**
|
|
21
|
+
* The unit of measurement of the distance.
|
|
22
|
+
*/
|
|
23
|
+
'distanceUnit': DistanceDistanceUnitEnum;
|
|
24
|
+
}
|
|
25
|
+
export declare const DistanceDistanceUnitEnum: {
|
|
26
|
+
readonly Mi: "MI";
|
|
27
|
+
readonly Km: "KM";
|
|
28
|
+
};
|
|
29
|
+
export type DistanceDistanceUnitEnum = typeof DistanceDistanceUnitEnum[keyof typeof DistanceDistanceUnitEnum];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
3
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
+
* Contact: marketplaceapitest@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Geographic coordinates.
|
|
14
|
+
*/
|
|
15
|
+
export interface Geocodes {
|
|
16
|
+
/**
|
|
17
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.
|
|
18
|
+
*/
|
|
19
|
+
'latitude': string;
|
|
20
|
+
/**
|
|
21
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.
|
|
22
|
+
*/
|
|
23
|
+
'longitude': string;
|
|
24
|
+
/**
|
|
25
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.
|
|
26
|
+
*/
|
|
27
|
+
'elevation'?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
3
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
+
* Contact: marketplaceapitest@amazon.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Address } from './address';
|
|
13
|
+
import type { Distance } from './distance';
|
|
14
|
+
/**
|
|
15
|
+
* The drop-off location details for package handover.
|
|
16
|
+
*/
|
|
17
|
+
export interface HandoverLocation {
|
|
18
|
+
'address'?: Address;
|
|
19
|
+
'distance'?: Distance;
|
|
20
|
+
/**
|
|
21
|
+
* URL to the map that shows the drop-off location.
|
|
22
|
+
*/
|
|
23
|
+
'mapUrl'?: string;
|
|
24
|
+
}
|
|
@@ -8,10 +8,13 @@ export * from './courier-supported-attributes';
|
|
|
8
8
|
export * from './custom-attribute';
|
|
9
9
|
export * from './custom-attribute-type';
|
|
10
10
|
export * from './dimension';
|
|
11
|
+
export * from './distance';
|
|
11
12
|
export * from './document';
|
|
12
13
|
export * from './document-v2';
|
|
13
14
|
export * from './error-list';
|
|
15
|
+
export * from './geocodes';
|
|
14
16
|
export * from './gift-attributes';
|
|
17
|
+
export * from './handover-location';
|
|
15
18
|
export * from './invoice-info';
|
|
16
19
|
export * from './invoice-requirement';
|
|
17
20
|
export * from './invoice-response';
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { HandoverLocation } from './handover-location';
|
|
12
13
|
import type { TimeWindow } from './time-window';
|
|
13
14
|
/**
|
|
14
15
|
* Metadata for a ship label document.
|
|
@@ -28,4 +29,5 @@ export interface ShipLabelMetadata {
|
|
|
28
29
|
'trackingId': string;
|
|
29
30
|
'pickupWindow'?: TimeWindow;
|
|
30
31
|
'timeSlot'?: TimeWindow;
|
|
32
|
+
'handoverLocation'?: HandoverLocation;
|
|
31
33
|
}
|
|
@@ -41,6 +41,10 @@ export interface ShipmentInfo {
|
|
|
41
41
|
* The source of the order operation.
|
|
42
42
|
*/
|
|
43
43
|
'processingSource'?: ShipmentInfoProcessingSourceEnum;
|
|
44
|
+
/**
|
|
45
|
+
* The payment method for the shipment.
|
|
46
|
+
*/
|
|
47
|
+
'paymentMethod'?: ShipmentInfoPaymentMethodEnum;
|
|
44
48
|
}
|
|
45
49
|
export declare const ShipmentInfoShipmentTypeEnum: {
|
|
46
50
|
readonly New: "NEW";
|
|
@@ -53,3 +57,8 @@ export declare const ShipmentInfoProcessingSourceEnum: {
|
|
|
53
57
|
readonly InternalPlatform: "INTERNAL_PLATFORM";
|
|
54
58
|
};
|
|
55
59
|
export type ShipmentInfoProcessingSourceEnum = typeof ShipmentInfoProcessingSourceEnum[keyof typeof ShipmentInfoProcessingSourceEnum];
|
|
60
|
+
export declare const ShipmentInfoPaymentMethodEnum: {
|
|
61
|
+
readonly CashOnDelivery: "CASH_ON_DELIVERY";
|
|
62
|
+
readonly Prepaid: "PREPAID";
|
|
63
|
+
};
|
|
64
|
+
export type ShipmentInfoPaymentMethodEnum = typeof ShipmentInfoPaymentMethodEnum[keyof typeof ShipmentInfoPaymentMethodEnum];
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { HandoverLocation } from './handover-location';
|
|
12
13
|
import type { TimeWindow } from './time-window';
|
|
13
14
|
/**
|
|
14
15
|
* Shipping options for a single package.
|
|
@@ -28,6 +29,7 @@ export interface ShippingOptions {
|
|
|
28
29
|
'carrierName'?: string;
|
|
29
30
|
'pickupWindow'?: TimeWindow;
|
|
30
31
|
'timeSlot'?: TimeWindow;
|
|
32
|
+
'handoverLocation'?: HandoverLocation;
|
|
31
33
|
}
|
|
32
34
|
export declare const ShippingOptionsShipByEnum: {
|
|
33
35
|
readonly Marketplace: "MARKETPLACE";
|
|
@@ -25,5 +25,7 @@ export interface Weight {
|
|
|
25
25
|
export declare const WeightWeightUnitEnum: {
|
|
26
26
|
readonly G: "G";
|
|
27
27
|
readonly Kg: "KG";
|
|
28
|
+
readonly Lb: "LB";
|
|
29
|
+
readonly Oz: "OZ";
|
|
28
30
|
};
|
|
29
31
|
export type WeightWeightUnitEnum = typeof WeightWeightUnitEnum[keyof typeof WeightWeightUnitEnum];
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/external-fulfillment-shipments-api-2024-09-11",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon's external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.3.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.31",
|
|
22
|
+
"axios": "^1.15.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"external fulfillment shipments api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "cc3ed7e58346bf7a4110ed8f1353aae840f294e2"
|
|
44
44
|
}
|