@sp-api-sdk/external-fulfillment-shipments-api-2024-09-11 1.1.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/LICENSE +21 -0
- package/README.md +99 -0
- package/dist/cjs/api-model/api/external-fulfillment-shipments-api.js +766 -0
- package/dist/cjs/api-model/api.js +30 -0
- package/dist/cjs/api-model/base.js +52 -0
- package/dist/cjs/api-model/common.js +108 -0
- package/dist/cjs/api-model/configuration.js +87 -0
- package/dist/cjs/api-model/index.js +32 -0
- package/dist/cjs/api-model/models/address.js +15 -0
- package/dist/cjs/api-model/models/amount.js +15 -0
- package/dist/cjs/api-model/models/cancellation.js +21 -0
- package/dist/cjs/api-model/models/charge-breakup.js +15 -0
- package/dist/cjs/api-model/models/charge.js +23 -0
- package/dist/cjs/api-model/models/compliance-attributes.js +15 -0
- package/dist/cjs/api-model/models/courier-supported-attributes.js +15 -0
- package/dist/cjs/api-model/models/custom-attribute-type.js +26 -0
- package/dist/cjs/api-model/models/custom-attribute.js +15 -0
- package/dist/cjs/api-model/models/dimension.js +20 -0
- package/dist/cjs/api-model/models/document-v2.js +15 -0
- package/dist/cjs/api-model/models/document.js +22 -0
- package/dist/cjs/api-model/models/error-list.js +15 -0
- package/dist/cjs/api-model/models/gift-attributes.js +15 -0
- package/dist/cjs/api-model/models/index.js +73 -0
- package/dist/cjs/api-model/models/invoice-info.js +15 -0
- package/dist/cjs/api-model/models/invoice-requirement.js +25 -0
- package/dist/cjs/api-model/models/invoice-response.js +15 -0
- package/dist/cjs/api-model/models/line-item-with-reason.js +20 -0
- package/dist/cjs/api-model/models/line-item.js +15 -0
- package/dist/cjs/api-model/models/marketplace-attributes.js +20 -0
- package/dist/cjs/api-model/models/model-error.js +15 -0
- package/dist/cjs/api-model/models/original-line-item.js +15 -0
- package/dist/cjs/api-model/models/package-delivery-status.js +15 -0
- package/dist/cjs/api-model/models/package-dimensions.js +15 -0
- package/dist/cjs/api-model/models/package-line-item.js +15 -0
- package/dist/cjs/api-model/models/package-ship-label.js +15 -0
- package/dist/cjs/api-model/models/package-status.js +27 -0
- package/dist/cjs/api-model/models/package-sub-status.js +25 -0
- package/dist/cjs/api-model/models/package.js +29 -0
- package/dist/cjs/api-model/models/packages.js +15 -0
- package/dist/cjs/api-model/models/packing-slip-requirement.js +24 -0
- package/dist/cjs/api-model/models/pagination.js +15 -0
- package/dist/cjs/api-model/models/party-identification-info.js +22 -0
- package/dist/cjs/api-model/models/piece-type.js +23 -0
- package/dist/cjs/api-model/models/presence-status.js +23 -0
- package/dist/cjs/api-model/models/priority.js +23 -0
- package/dist/cjs/api-model/models/recommended-package-line-item.js +15 -0
- package/dist/cjs/api-model/models/recommended-package.js +15 -0
- package/dist/cjs/api-model/models/replaced-shipment-info.js +15 -0
- package/dist/cjs/api-model/models/requirement-level.js +23 -0
- package/dist/cjs/api-model/models/ship-label-metadata.js +15 -0
- package/dist/cjs/api-model/models/ship-labels-input.js +15 -0
- package/dist/cjs/api-model/models/ship-labels-response.js +15 -0
- package/dist/cjs/api-model/models/shipment-acknowledgement-request.js +15 -0
- package/dist/cjs/api-model/models/shipment-info.js +25 -0
- package/dist/cjs/api-model/models/shipment-line-item.js +15 -0
- package/dist/cjs/api-model/models/shipment-requirements.js +15 -0
- package/dist/cjs/api-model/models/shipment.js +44 -0
- package/dist/cjs/api-model/models/shipments-response.js +15 -0
- package/dist/cjs/api-model/models/shipping-info.js +20 -0
- package/dist/cjs/api-model/models/shipping-options-response.js +15 -0
- package/dist/cjs/api-model/models/shipping-options.js +22 -0
- package/dist/cjs/api-model/models/status.js +23 -0
- package/dist/cjs/api-model/models/tax-registration-info.js +20 -0
- package/dist/cjs/api-model/models/tax.js +27 -0
- package/dist/cjs/api-model/models/time-window.js +20 -0
- package/dist/cjs/api-model/models/weight.js +20 -0
- package/dist/cjs/client.js +13 -0
- package/dist/cjs/index.js +19 -0
- package/dist/es/api-model/api/external-fulfillment-shipments-api.js +756 -0
- package/dist/es/api-model/api.js +14 -0
- package/dist/es/api-model/base.js +44 -0
- package/dist/es/api-model/common.js +96 -0
- package/dist/es/api-model/configuration.js +83 -0
- package/dist/es/api-model/index.js +16 -0
- package/dist/es/api-model/models/address.js +14 -0
- package/dist/es/api-model/models/amount.js +14 -0
- package/dist/es/api-model/models/cancellation.js +18 -0
- package/dist/es/api-model/models/charge-breakup.js +14 -0
- package/dist/es/api-model/models/charge.js +20 -0
- package/dist/es/api-model/models/compliance-attributes.js +14 -0
- package/dist/es/api-model/models/courier-supported-attributes.js +14 -0
- package/dist/es/api-model/models/custom-attribute-type.js +23 -0
- package/dist/es/api-model/models/custom-attribute.js +14 -0
- package/dist/es/api-model/models/dimension.js +17 -0
- package/dist/es/api-model/models/document-v2.js +14 -0
- package/dist/es/api-model/models/document.js +19 -0
- package/dist/es/api-model/models/error-list.js +14 -0
- package/dist/es/api-model/models/gift-attributes.js +14 -0
- package/dist/es/api-model/models/index.js +57 -0
- package/dist/es/api-model/models/invoice-info.js +14 -0
- package/dist/es/api-model/models/invoice-requirement.js +22 -0
- package/dist/es/api-model/models/invoice-response.js +14 -0
- package/dist/es/api-model/models/line-item-with-reason.js +17 -0
- package/dist/es/api-model/models/line-item.js +14 -0
- package/dist/es/api-model/models/marketplace-attributes.js +17 -0
- package/dist/es/api-model/models/model-error.js +14 -0
- package/dist/es/api-model/models/original-line-item.js +14 -0
- package/dist/es/api-model/models/package-delivery-status.js +14 -0
- package/dist/es/api-model/models/package-dimensions.js +14 -0
- package/dist/es/api-model/models/package-line-item.js +14 -0
- package/dist/es/api-model/models/package-ship-label.js +14 -0
- package/dist/es/api-model/models/package-status.js +24 -0
- package/dist/es/api-model/models/package-sub-status.js +22 -0
- package/dist/es/api-model/models/package.js +26 -0
- package/dist/es/api-model/models/packages.js +14 -0
- package/dist/es/api-model/models/packing-slip-requirement.js +21 -0
- package/dist/es/api-model/models/pagination.js +14 -0
- package/dist/es/api-model/models/party-identification-info.js +19 -0
- package/dist/es/api-model/models/piece-type.js +20 -0
- package/dist/es/api-model/models/presence-status.js +20 -0
- package/dist/es/api-model/models/priority.js +20 -0
- package/dist/es/api-model/models/recommended-package-line-item.js +14 -0
- package/dist/es/api-model/models/recommended-package.js +14 -0
- package/dist/es/api-model/models/replaced-shipment-info.js +14 -0
- package/dist/es/api-model/models/requirement-level.js +20 -0
- package/dist/es/api-model/models/ship-label-metadata.js +14 -0
- package/dist/es/api-model/models/ship-labels-input.js +14 -0
- package/dist/es/api-model/models/ship-labels-response.js +14 -0
- package/dist/es/api-model/models/shipment-acknowledgement-request.js +14 -0
- package/dist/es/api-model/models/shipment-info.js +22 -0
- package/dist/es/api-model/models/shipment-line-item.js +14 -0
- package/dist/es/api-model/models/shipment-requirements.js +14 -0
- package/dist/es/api-model/models/shipment.js +41 -0
- package/dist/es/api-model/models/shipments-response.js +14 -0
- package/dist/es/api-model/models/shipping-info.js +17 -0
- package/dist/es/api-model/models/shipping-options-response.js +14 -0
- package/dist/es/api-model/models/shipping-options.js +19 -0
- package/dist/es/api-model/models/status.js +20 -0
- package/dist/es/api-model/models/tax-registration-info.js +17 -0
- package/dist/es/api-model/models/tax.js +24 -0
- package/dist/es/api-model/models/time-window.js +17 -0
- package/dist/es/api-model/models/weight.js +17 -0
- package/dist/es/client.js +9 -0
- package/dist/es/index.js +3 -0
- package/dist/types/api-model/api/external-fulfillment-shipments-api.d.ts +556 -0
- package/dist/types/api-model/api.d.ts +12 -0
- package/dist/types/api-model/base.d.ts +42 -0
- package/dist/types/api-model/common.d.ts +28 -0
- package/dist/types/api-model/configuration.d.ts +74 -0
- package/dist/types/api-model/index.d.ts +14 -0
- package/dist/types/api-model/models/address.d.ts +72 -0
- package/dist/types/api-model/models/amount.d.ts +24 -0
- package/dist/types/api-model/models/cancellation.d.ts +38 -0
- package/dist/types/api-model/models/charge-breakup.d.ts +20 -0
- package/dist/types/api-model/models/charge.d.ts +37 -0
- package/dist/types/api-model/models/compliance-attributes.d.ts +21 -0
- package/dist/types/api-model/models/courier-supported-attributes.d.ts +24 -0
- package/dist/types/api-model/models/custom-attribute-type.d.ts +22 -0
- package/dist/types/api-model/models/custom-attribute.d.ts +26 -0
- package/dist/types/api-model/models/dimension.d.ts +29 -0
- package/dist/types/api-model/models/document-v2.d.ts +20 -0
- package/dist/types/api-model/models/document.d.ts +31 -0
- package/dist/types/api-model/models/error-list.d.ts +20 -0
- package/dist/types/api-model/models/gift-attributes.d.ts +26 -0
- package/dist/types/api-model/models/index.d.ts +57 -0
- package/dist/types/api-model/models/invoice-info.d.ts +24 -0
- package/dist/types/api-model/models/invoice-requirement.d.ts +35 -0
- package/dist/types/api-model/models/invoice-response.d.ts +18 -0
- package/dist/types/api-model/models/line-item-with-reason.d.ts +27 -0
- package/dist/types/api-model/models/line-item.d.ts +24 -0
- package/dist/types/api-model/models/marketplace-attributes.d.ts +37 -0
- package/dist/types/api-model/models/model-error.d.ts +28 -0
- package/dist/types/api-model/models/original-line-item.d.ts +29 -0
- package/dist/types/api-model/models/package-delivery-status.d.ts +24 -0
- package/dist/types/api-model/models/package-dimensions.d.ts +20 -0
- package/dist/types/api-model/models/package-line-item.d.ts +38 -0
- package/dist/types/api-model/models/package-ship-label.d.ts +27 -0
- package/dist/types/api-model/models/package-status.d.ts +23 -0
- package/dist/types/api-model/models/package-sub-status.d.ts +21 -0
- package/dist/types/api-model/models/package.d.ts +56 -0
- package/dist/types/api-model/models/packages.d.ts +21 -0
- package/dist/types/api-model/models/packing-slip-requirement.d.ts +34 -0
- package/dist/types/api-model/models/pagination.d.ts +20 -0
- package/dist/types/api-model/models/party-identification-info.d.ts +35 -0
- package/dist/types/api-model/models/piece-type.d.ts +19 -0
- package/dist/types/api-model/models/presence-status.d.ts +19 -0
- package/dist/types/api-model/models/priority.d.ts +19 -0
- package/dist/types/api-model/models/recommended-package-line-item.d.ts +20 -0
- package/dist/types/api-model/models/recommended-package.d.ts +25 -0
- package/dist/types/api-model/models/replaced-shipment-info.d.ts +31 -0
- package/dist/types/api-model/models/requirement-level.d.ts +19 -0
- package/dist/types/api-model/models/ship-label-metadata.d.ts +31 -0
- package/dist/types/api-model/models/ship-labels-input.d.ts +22 -0
- package/dist/types/api-model/models/ship-labels-response.d.ts +21 -0
- package/dist/types/api-model/models/shipment-acknowledgement-request.d.ts +25 -0
- package/dist/types/api-model/models/shipment-info.d.ts +55 -0
- package/dist/types/api-model/models/shipment-line-item.d.ts +75 -0
- package/dist/types/api-model/models/shipment-requirements.d.ts +20 -0
- package/dist/types/api-model/models/shipment.d.ts +104 -0
- package/dist/types/api-model/models/shipments-response.d.ts +23 -0
- package/dist/types/api-model/models/shipping-info.d.ts +40 -0
- package/dist/types/api-model/models/shipping-options-response.d.ts +22 -0
- package/dist/types/api-model/models/shipping-options.d.ts +38 -0
- package/dist/types/api-model/models/status.d.ts +19 -0
- package/dist/types/api-model/models/tax-registration-info.d.ts +35 -0
- package/dist/types/api-model/models/tax.d.ts +38 -0
- package/dist/types/api-model/models/time-window.d.ts +33 -0
- package/dist/types/api-model/models/weight.d.ts +29 -0
- package/dist/types/client.d.ts +6 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +44 -0
|
@@ -0,0 +1,25 @@
|
|
|
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 { PackageDimensions } from './package-dimensions';
|
|
13
|
+
import type { RecommendedPackageLineItem } from './recommended-package-line-item';
|
|
14
|
+
import type { Weight } from './weight';
|
|
15
|
+
/**
|
|
16
|
+
* Recommendations for a package
|
|
17
|
+
*/
|
|
18
|
+
export interface RecommendedPackage {
|
|
19
|
+
'dimensions': PackageDimensions;
|
|
20
|
+
'weight': Weight;
|
|
21
|
+
/**
|
|
22
|
+
* A list of line items to be contained in a recommended package. This attribute is only for orders that come with specific recommendations for line-item distribution.
|
|
23
|
+
*/
|
|
24
|
+
'lineItems': Array<RecommendedPackageLineItem>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { MarketplaceAttributes } from './marketplace-attributes';
|
|
13
|
+
import type { OriginalLineItem } from './original-line-item';
|
|
14
|
+
/**
|
|
15
|
+
* Details of the original shipment if `shipmentType` is either `REPLACEMENT` or `EXCHANGE`.
|
|
16
|
+
*/
|
|
17
|
+
export interface ReplacedShipmentInfo {
|
|
18
|
+
/**
|
|
19
|
+
* The original shipment\'s ID.
|
|
20
|
+
*/
|
|
21
|
+
'id': string;
|
|
22
|
+
/**
|
|
23
|
+
* The original shipment\'s location ID.
|
|
24
|
+
*/
|
|
25
|
+
'locationId': string;
|
|
26
|
+
'marketplaceAttributes': MarketplaceAttributes;
|
|
27
|
+
/**
|
|
28
|
+
* The line items from the original shipment that corresponds to this shipment.
|
|
29
|
+
*/
|
|
30
|
+
'originalLineItems'?: Array<OriginalLineItem>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
* The requirement level for this field.
|
|
14
|
+
*/
|
|
15
|
+
export declare const RequirementLevel: {
|
|
16
|
+
readonly Required: "REQUIRED";
|
|
17
|
+
readonly Disallowed: "DISALLOWED";
|
|
18
|
+
};
|
|
19
|
+
export type RequirementLevel = typeof RequirementLevel[keyof typeof RequirementLevel];
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { TimeWindow } from './time-window';
|
|
13
|
+
/**
|
|
14
|
+
* Metadata for a ship label document.
|
|
15
|
+
*/
|
|
16
|
+
export interface ShipLabelMetadata {
|
|
17
|
+
/**
|
|
18
|
+
* The selected slot for the ship label.
|
|
19
|
+
*/
|
|
20
|
+
'shippingOptionId'?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The name of the carrier.
|
|
23
|
+
*/
|
|
24
|
+
'carrierName': string;
|
|
25
|
+
/**
|
|
26
|
+
* The tracking number of the package.
|
|
27
|
+
*/
|
|
28
|
+
'trackingId': string;
|
|
29
|
+
'pickupWindow'?: TimeWindow;
|
|
30
|
+
'timeSlot'?: TimeWindow;
|
|
31
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { CourierSupportedAttributes } from './courier-supported-attributes';
|
|
13
|
+
/**
|
|
14
|
+
* Tracking details for multiple packages.
|
|
15
|
+
*/
|
|
16
|
+
export interface ShipLabelsInput {
|
|
17
|
+
/**
|
|
18
|
+
* The subset of package IDs used to generate a label.
|
|
19
|
+
*/
|
|
20
|
+
'packageIds': Array<string>;
|
|
21
|
+
'courierSupportedAttributes'?: CourierSupportedAttributes;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { PackageShipLabel } from './package-ship-label';
|
|
13
|
+
/**
|
|
14
|
+
* The response to the `generateShipLabels` operation.
|
|
15
|
+
*/
|
|
16
|
+
export interface ShipLabelsResponse {
|
|
17
|
+
/**
|
|
18
|
+
* A list of label documents for each package specified in the request. In case of partial failures when generating labels, the `isErrored` and `errorDetails` attributes detail the cause of failure.
|
|
19
|
+
*/
|
|
20
|
+
'packageShipLabelList': Array<PackageShipLabel>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { LineItemWithReason } from './line-item-with-reason';
|
|
13
|
+
/**
|
|
14
|
+
* Information about the shipment and its line items, used to confirm or reject line items.
|
|
15
|
+
*/
|
|
16
|
+
export interface ShipmentAcknowledgementRequest {
|
|
17
|
+
/**
|
|
18
|
+
* A unique identifier for every shipment rejection.
|
|
19
|
+
*/
|
|
20
|
+
'referenceId'?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Details about the line items from the shipment that are being confirmed or rejected by the seller.
|
|
23
|
+
*/
|
|
24
|
+
'lineItems': Array<LineItemWithReason>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { Priority } from './priority';
|
|
13
|
+
import type { ReplacedShipmentInfo } from './replaced-shipment-info';
|
|
14
|
+
/**
|
|
15
|
+
* High-level details of the shipment.
|
|
16
|
+
*/
|
|
17
|
+
export interface ShipmentInfo {
|
|
18
|
+
/**
|
|
19
|
+
* The type of shipment.
|
|
20
|
+
*/
|
|
21
|
+
'shipmentType': ShipmentInfoShipmentTypeEnum;
|
|
22
|
+
'originalShipmentInfo'?: ReplacedShipmentInfo;
|
|
23
|
+
/**
|
|
24
|
+
* Total number of units in the shipment.
|
|
25
|
+
*/
|
|
26
|
+
'numberOfUnits': number;
|
|
27
|
+
'priority': Priority;
|
|
28
|
+
/**
|
|
29
|
+
* The buyer\'s order ID.
|
|
30
|
+
*/
|
|
31
|
+
'buyerOrderId': string;
|
|
32
|
+
/**
|
|
33
|
+
* A list of order statuses for which the marketplace allows order rejection (seller cancellation). If the order has a status that does not belong to this list, then seller cancellation is not possible.
|
|
34
|
+
*/
|
|
35
|
+
'orderStatesEligibleForRejection'?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The timestamp of when the order was placed, in UTC
|
|
38
|
+
*/
|
|
39
|
+
'orderPlacedTimestamp'?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The source of the order operation.
|
|
42
|
+
*/
|
|
43
|
+
'processingSource'?: ShipmentInfoProcessingSourceEnum;
|
|
44
|
+
}
|
|
45
|
+
export declare const ShipmentInfoShipmentTypeEnum: {
|
|
46
|
+
readonly New: "NEW";
|
|
47
|
+
readonly Exchange: "EXCHANGE";
|
|
48
|
+
readonly Replacement: "REPLACEMENT";
|
|
49
|
+
};
|
|
50
|
+
export type ShipmentInfoShipmentTypeEnum = typeof ShipmentInfoShipmentTypeEnum[keyof typeof ShipmentInfoShipmentTypeEnum];
|
|
51
|
+
export declare const ShipmentInfoProcessingSourceEnum: {
|
|
52
|
+
readonly ExternalPlatform: "EXTERNAL_PLATFORM";
|
|
53
|
+
readonly InternalPlatform: "INTERNAL_PLATFORM";
|
|
54
|
+
};
|
|
55
|
+
export type ShipmentInfoProcessingSourceEnum = typeof ShipmentInfoProcessingSourceEnum[keyof typeof ShipmentInfoProcessingSourceEnum];
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { Amount } from './amount';
|
|
13
|
+
import type { Cancellation } from './cancellation';
|
|
14
|
+
import type { Charge } from './charge';
|
|
15
|
+
import type { ComplianceAttributes } from './compliance-attributes';
|
|
16
|
+
import type { CustomAttribute } from './custom-attribute';
|
|
17
|
+
import type { GiftAttributes } from './gift-attributes';
|
|
18
|
+
import type { PieceType } from './piece-type';
|
|
19
|
+
/**
|
|
20
|
+
* Information about a line item in a shipment.
|
|
21
|
+
*/
|
|
22
|
+
export interface ShipmentLineItem {
|
|
23
|
+
/**
|
|
24
|
+
* An identifier for a shipment\'s line item. This identifier is guaranteed to be unique within the scope of its containing shipment.
|
|
25
|
+
*/
|
|
26
|
+
'shipmentLineItemId': string;
|
|
27
|
+
/**
|
|
28
|
+
* The seller SKU of a product (catalog item). A unique number assigned by the seller when listing an item.
|
|
29
|
+
*/
|
|
30
|
+
'merchantSku': string;
|
|
31
|
+
/**
|
|
32
|
+
* The number of items of the SKU in this line item.
|
|
33
|
+
*/
|
|
34
|
+
'numberOfUnits': number;
|
|
35
|
+
/**
|
|
36
|
+
* The serial numbers for each item in this line item.
|
|
37
|
+
*/
|
|
38
|
+
'serialNumbers'?: Array<string>;
|
|
39
|
+
'pieceType'?: PieceType;
|
|
40
|
+
/**
|
|
41
|
+
* A list of HAZMAT label identifiers that must be applied to the packages for this line item.
|
|
42
|
+
*/
|
|
43
|
+
'hazmatLabels'?: Array<string>;
|
|
44
|
+
'giftAttributes'?: GiftAttributes;
|
|
45
|
+
/**
|
|
46
|
+
* The charges associated with the shipment.
|
|
47
|
+
*/
|
|
48
|
+
'charges': Array<Charge>;
|
|
49
|
+
/**
|
|
50
|
+
* A list of cancellations for the given line item. **Note:** Currently, SmartConnect does not support partial cancellation of a shipment or its line items. This list will contain a single value with all the cancellation details.
|
|
51
|
+
*/
|
|
52
|
+
'cancellations'?: Array<Cancellation>;
|
|
53
|
+
/**
|
|
54
|
+
* The HSN code of SKU in this line item.
|
|
55
|
+
*/
|
|
56
|
+
'hsnCode'?: string;
|
|
57
|
+
/**
|
|
58
|
+
* A two-letter country code, as defined by the ISO-3166 alpha-2 standard.
|
|
59
|
+
*/
|
|
60
|
+
'recommendedCountryOfOrigin'?: string;
|
|
61
|
+
/**
|
|
62
|
+
* A two-letter country code, as defined by the ISO-3166 alpha-2 standard.
|
|
63
|
+
*/
|
|
64
|
+
'countryOfOrigin'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The three digit currency code of the currency recommended by the marketplace, in ISO 4217 format.
|
|
67
|
+
*/
|
|
68
|
+
'recommendedCurrencyCode'?: string;
|
|
69
|
+
'itemValue'?: Amount;
|
|
70
|
+
'complianceAttributes': ComplianceAttributes;
|
|
71
|
+
/**
|
|
72
|
+
* A list of custom passthrough attributes. For details on these attributes, reach out to your respective program teams at Amazon.
|
|
73
|
+
*/
|
|
74
|
+
'customAttributes'?: Array<CustomAttribute>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { InvoiceRequirement } from './invoice-requirement';
|
|
13
|
+
import type { PackingSlipRequirement } from './packing-slip-requirement';
|
|
14
|
+
/**
|
|
15
|
+
* Whether specific capabilities are enabled or required for the shipment.
|
|
16
|
+
*/
|
|
17
|
+
export interface ShipmentRequirements {
|
|
18
|
+
'pSlip': PackingSlipRequirement;
|
|
19
|
+
'invoice': InvoiceRequirement;
|
|
20
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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 { Charge } from './charge';
|
|
13
|
+
import type { InvoiceInfo } from './invoice-info';
|
|
14
|
+
import type { MarketplaceAttributes } from './marketplace-attributes';
|
|
15
|
+
import type { Package } from './package';
|
|
16
|
+
import type { PartyIdentificationInfo } from './party-identification-info';
|
|
17
|
+
import type { ShipmentInfo } from './shipment-info';
|
|
18
|
+
import type { ShipmentLineItem } from './shipment-line-item';
|
|
19
|
+
import type { ShipmentRequirements } from './shipment-requirements';
|
|
20
|
+
import type { ShippingInfo } from './shipping-info';
|
|
21
|
+
/**
|
|
22
|
+
* Information about a shipment.
|
|
23
|
+
*/
|
|
24
|
+
export interface Shipment {
|
|
25
|
+
/**
|
|
26
|
+
* The shipment\'s ID.
|
|
27
|
+
*/
|
|
28
|
+
'id': string;
|
|
29
|
+
/**
|
|
30
|
+
* The location identifier of the seller\'s location in the marketplace channel to which the shipment has been created for fulfillment.
|
|
31
|
+
*/
|
|
32
|
+
'locationId': string;
|
|
33
|
+
'marketplaceAttributes': MarketplaceAttributes;
|
|
34
|
+
'shipmentInfo': ShipmentInfo;
|
|
35
|
+
'invoiceInfo'?: InvoiceInfo;
|
|
36
|
+
/**
|
|
37
|
+
* All involved party identification and metadata for the vendor, buyer, and seller. Applicable for direct-fulfillment sellers.
|
|
38
|
+
*/
|
|
39
|
+
'partyInfoList'?: Array<PartyIdentificationInfo>;
|
|
40
|
+
'shipmentRequirements': ShipmentRequirements;
|
|
41
|
+
/**
|
|
42
|
+
* The charges associated with the shipment.
|
|
43
|
+
*/
|
|
44
|
+
'charges': Array<Charge>;
|
|
45
|
+
/**
|
|
46
|
+
* The current status of the shipment.
|
|
47
|
+
*/
|
|
48
|
+
'status': ShipmentStatusEnum;
|
|
49
|
+
/**
|
|
50
|
+
* The sub status of the shipment.
|
|
51
|
+
*/
|
|
52
|
+
'subStatus'?: ShipmentSubStatusEnum;
|
|
53
|
+
/**
|
|
54
|
+
* The line items in the shipment.
|
|
55
|
+
*/
|
|
56
|
+
'lineItems': Array<ShipmentLineItem>;
|
|
57
|
+
'shippingInfo': ShippingInfo;
|
|
58
|
+
/**
|
|
59
|
+
* The list of packages in the shipment.
|
|
60
|
+
*/
|
|
61
|
+
'packages'?: Array<Package>;
|
|
62
|
+
/**
|
|
63
|
+
* A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
64
|
+
*/
|
|
65
|
+
'creationDateTime': string;
|
|
66
|
+
/**
|
|
67
|
+
* A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
68
|
+
*/
|
|
69
|
+
'lastUpdatedDateTime': string;
|
|
70
|
+
/**
|
|
71
|
+
* A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
72
|
+
*/
|
|
73
|
+
'earliestPackDateTime'?: string;
|
|
74
|
+
}
|
|
75
|
+
export declare const ShipmentStatusEnum: {
|
|
76
|
+
readonly Created: "CREATED";
|
|
77
|
+
readonly Accepted: "ACCEPTED";
|
|
78
|
+
readonly Confirmed: "CONFIRMED";
|
|
79
|
+
readonly PackageCreated: "PACKAGE_CREATED";
|
|
80
|
+
readonly PickupSlotRetrieved: "PICKUP_SLOT_RETRIEVED";
|
|
81
|
+
readonly InvoiceGenerated: "INVOICE_GENERATED";
|
|
82
|
+
readonly ShiplabelGenerated: "SHIPLABEL_GENERATED";
|
|
83
|
+
readonly Cancelled: "CANCELLED";
|
|
84
|
+
readonly Shipped: "SHIPPED";
|
|
85
|
+
readonly Delivered: "DELIVERED";
|
|
86
|
+
};
|
|
87
|
+
export type ShipmentStatusEnum = typeof ShipmentStatusEnum[keyof typeof ShipmentStatusEnum];
|
|
88
|
+
export declare const ShipmentSubStatusEnum: {
|
|
89
|
+
readonly PendingSchedule: "PENDING_SCHEDULE";
|
|
90
|
+
readonly PendingPickup: "PENDING_PICKUP";
|
|
91
|
+
readonly PendingDropOff: "PENDING_DROP_OFF";
|
|
92
|
+
readonly LabelCanceled: "LABEL_CANCELED";
|
|
93
|
+
readonly PickedUp: "PICKED_UP";
|
|
94
|
+
readonly DroppedOff: "DROPPED_OFF";
|
|
95
|
+
readonly AtOriginFc: "AT_ORIGIN_FC";
|
|
96
|
+
readonly AtDestinationFc: "AT_DESTINATION_FC";
|
|
97
|
+
readonly Delivered: "DELIVERED";
|
|
98
|
+
readonly NotDelivered: "NOT_DELIVERED";
|
|
99
|
+
readonly Undeliverable: "UNDELIVERABLE";
|
|
100
|
+
readonly Lost: "LOST";
|
|
101
|
+
readonly OutForDelivery: "OUT_FOR_DELIVERY";
|
|
102
|
+
readonly Damaged: "DAMAGED";
|
|
103
|
+
};
|
|
104
|
+
export type ShipmentSubStatusEnum = typeof ShipmentSubStatusEnum[keyof typeof ShipmentSubStatusEnum];
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { Pagination } from './pagination';
|
|
13
|
+
import type { Shipment } from './shipment';
|
|
14
|
+
/**
|
|
15
|
+
* The response of the `getShipments` operation.
|
|
16
|
+
*/
|
|
17
|
+
export interface ShipmentsResponse {
|
|
18
|
+
/**
|
|
19
|
+
* A list of shipments.
|
|
20
|
+
*/
|
|
21
|
+
'shipments'?: Array<Shipment>;
|
|
22
|
+
'pagination'?: Pagination;
|
|
23
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { RecommendedPackage } from './recommended-package';
|
|
14
|
+
/**
|
|
15
|
+
* Shipping information for the packages in a shipment.
|
|
16
|
+
*/
|
|
17
|
+
export interface ShippingInfo {
|
|
18
|
+
/**
|
|
19
|
+
* The ship method recommended by the Amazon Fulfillment Network for the packages in this shipment.
|
|
20
|
+
*/
|
|
21
|
+
'recommendedShipMethod'?: string;
|
|
22
|
+
/**
|
|
23
|
+
* A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
24
|
+
*/
|
|
25
|
+
'expectedShippingDateTimeInUTC': string;
|
|
26
|
+
'shipToAddress'?: Address;
|
|
27
|
+
/**
|
|
28
|
+
* The type of shipping that the seller uses to deliver a customer order.
|
|
29
|
+
*/
|
|
30
|
+
'shippingType'?: ShippingInfoShippingTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* Recommendations for the packages in an order.
|
|
33
|
+
*/
|
|
34
|
+
'recommendedPackages'?: Array<RecommendedPackage>;
|
|
35
|
+
}
|
|
36
|
+
export declare const ShippingInfoShippingTypeEnum: {
|
|
37
|
+
readonly Marketplace: "MARKETPLACE";
|
|
38
|
+
readonly Self: "SELF";
|
|
39
|
+
};
|
|
40
|
+
export type ShippingInfoShippingTypeEnum = typeof ShippingInfoShippingTypeEnum[keyof typeof ShippingInfoShippingTypeEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { ShippingOptions } from './shipping-options';
|
|
13
|
+
/**
|
|
14
|
+
* The response to the `retrieveShippingOptions` operation. The response contains shipping options on a per-package basis from which the seller has to select one shipping option while they retrieve the shipping label. If the particular marketplace channel does not support scheduled shipping options, then this response will be empty.
|
|
15
|
+
*/
|
|
16
|
+
export interface ShippingOptionsResponse {
|
|
17
|
+
/**
|
|
18
|
+
* A list of shipping options.
|
|
19
|
+
*/
|
|
20
|
+
'shippingOptions'?: Array<ShippingOptions>;
|
|
21
|
+
'recommendedShippingOption'?: ShippingOptions;
|
|
22
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { TimeWindow } from './time-window';
|
|
13
|
+
/**
|
|
14
|
+
* Shipping options for a single package.
|
|
15
|
+
*/
|
|
16
|
+
export interface ShippingOptions {
|
|
17
|
+
/**
|
|
18
|
+
* An identifier for the shipping option.
|
|
19
|
+
*/
|
|
20
|
+
'shippingOptionId': string;
|
|
21
|
+
/**
|
|
22
|
+
* The shipper type.
|
|
23
|
+
*/
|
|
24
|
+
'shipBy': ShippingOptionsShipByEnum;
|
|
25
|
+
/**
|
|
26
|
+
* The carrier name for the offering.
|
|
27
|
+
*/
|
|
28
|
+
'carrierName'?: string;
|
|
29
|
+
'pickupWindow'?: TimeWindow;
|
|
30
|
+
'timeSlot'?: TimeWindow;
|
|
31
|
+
}
|
|
32
|
+
export declare const ShippingOptionsShipByEnum: {
|
|
33
|
+
readonly Marketplace: "MARKETPLACE";
|
|
34
|
+
readonly Seller: "SELLER";
|
|
35
|
+
readonly ThirdPartyCarrier: "THIRD_PARTY_CARRIER";
|
|
36
|
+
readonly Other: "OTHER";
|
|
37
|
+
};
|
|
38
|
+
export type ShippingOptionsShipByEnum = typeof ShippingOptionsShipByEnum[keyof typeof ShippingOptionsShipByEnum];
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
* The outcome of the operation.
|
|
14
|
+
*/
|
|
15
|
+
export declare const Status: {
|
|
16
|
+
readonly Success: "SUCCESS";
|
|
17
|
+
readonly Failure: "FAILURE";
|
|
18
|
+
};
|
|
19
|
+
export type Status = typeof Status[keyof typeof Status];
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
/**
|
|
14
|
+
* Tax registration details of the entity. Applicable to direct fulfillment shipments.
|
|
15
|
+
*/
|
|
16
|
+
export interface TaxRegistrationInfo {
|
|
17
|
+
/**
|
|
18
|
+
* Tax registration type for the entity
|
|
19
|
+
*/
|
|
20
|
+
'type'?: TaxRegistrationInfoTypeEnum;
|
|
21
|
+
/**
|
|
22
|
+
* The tax registration number for the party. For example, their VAT ID.
|
|
23
|
+
*/
|
|
24
|
+
'number'?: string;
|
|
25
|
+
'address'?: Address;
|
|
26
|
+
/**
|
|
27
|
+
* Tax registration message that can be used for additional tax related details.
|
|
28
|
+
*/
|
|
29
|
+
'messages'?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare const TaxRegistrationInfoTypeEnum: {
|
|
32
|
+
readonly Vat: "VAT";
|
|
33
|
+
readonly Gst: "GST";
|
|
34
|
+
};
|
|
35
|
+
export type TaxRegistrationInfoTypeEnum = typeof TaxRegistrationInfoTypeEnum[keyof typeof TaxRegistrationInfoTypeEnum];
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { ChargeBreakup } from './charge-breakup';
|
|
13
|
+
/**
|
|
14
|
+
* Information about taxes.
|
|
15
|
+
*/
|
|
16
|
+
export interface Tax {
|
|
17
|
+
/**
|
|
18
|
+
* The type of tax.
|
|
19
|
+
*/
|
|
20
|
+
'type'?: TaxTypeEnum;
|
|
21
|
+
/**
|
|
22
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies.
|
|
23
|
+
*/
|
|
24
|
+
'rate'?: string;
|
|
25
|
+
'charge': ChargeBreakup;
|
|
26
|
+
}
|
|
27
|
+
export declare const TaxTypeEnum: {
|
|
28
|
+
readonly Vat: "VAT";
|
|
29
|
+
readonly Cst: "CST";
|
|
30
|
+
readonly Igst: "IGST";
|
|
31
|
+
readonly Sgst: "SGST";
|
|
32
|
+
readonly Cgst: "CGST";
|
|
33
|
+
readonly Utgst: "UTGST";
|
|
34
|
+
readonly Cess: "CESS";
|
|
35
|
+
readonly Other: "OTHER";
|
|
36
|
+
readonly Total: "TOTAL";
|
|
37
|
+
};
|
|
38
|
+
export type TaxTypeEnum = typeof TaxTypeEnum[keyof typeof TaxTypeEnum];
|