@sp-api-sdk/vendor-direct-fulfillment-shipping-api-v1 1.7.1
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 +58 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/src/api-model/api/customer-invoices-api.js +213 -0
- package/dist/cjs/src/api-model/api/vendor-shipping-api.js +329 -0
- package/dist/cjs/src/api-model/api/vendor-shipping-labels-api.js +271 -0
- package/dist/cjs/src/api-model/api.js +19 -0
- package/dist/cjs/src/api-model/base.js +62 -0
- package/dist/cjs/src/api-model/common.js +137 -0
- package/dist/cjs/src/api-model/configuration.js +42 -0
- package/dist/cjs/src/api-model/index.js +19 -0
- package/dist/cjs/src/api-model/models/address.js +15 -0
- package/dist/cjs/src/api-model/models/container.js +25 -0
- package/dist/cjs/src/api-model/models/customer-invoice-list.js +15 -0
- package/dist/cjs/src/api-model/models/customer-invoice.js +15 -0
- package/dist/cjs/src/api-model/models/dimensions.js +25 -0
- package/dist/cjs/src/api-model/models/get-customer-invoice-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-customer-invoices-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-packing-slip-list-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-packing-slip-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-shipping-label-list-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-shipping-label-response.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +40 -0
- package/dist/cjs/src/api-model/models/item-quantity.js +15 -0
- package/dist/cjs/src/api-model/models/item.js +15 -0
- package/dist/cjs/src/api-model/models/label-data.js +15 -0
- package/dist/cjs/src/api-model/models/model-error.js +15 -0
- package/dist/cjs/src/api-model/models/package.js +15 -0
- package/dist/cjs/src/api-model/models/packed-item.js +15 -0
- package/dist/cjs/src/api-model/models/packing-slip-list.js +15 -0
- package/dist/cjs/src/api-model/models/packing-slip.js +24 -0
- package/dist/cjs/src/api-model/models/pagination.js +15 -0
- package/dist/cjs/src/api-model/models/party-identification.js +15 -0
- package/dist/cjs/src/api-model/models/shipment-confirmation.js +15 -0
- package/dist/cjs/src/api-model/models/shipment-details.js +25 -0
- package/dist/cjs/src/api-model/models/shipment-status-update.js +15 -0
- package/dist/cjs/src/api-model/models/shipping-label-list.js +15 -0
- package/dist/cjs/src/api-model/models/shipping-label-request.js +15 -0
- package/dist/cjs/src/api-model/models/shipping-label.js +25 -0
- package/dist/cjs/src/api-model/models/status-update-details-shipment-schedule.js +15 -0
- package/dist/cjs/src/api-model/models/status-update-details.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipment-confirmations-request.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipment-confirmations-response.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipment-status-updates-request.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipment-status-updates-response.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipping-labels-request.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipping-labels-response.js +15 -0
- package/dist/cjs/src/api-model/models/tax-registration-details.js +25 -0
- package/dist/cjs/src/api-model/models/transaction-reference.js +15 -0
- package/dist/cjs/src/api-model/models/weight.js +25 -0
- package/dist/cjs/src/client.js +83 -0
- package/dist/cjs/src/error.js +10 -0
- package/dist/es/index.js +3 -0
- package/dist/es/src/api-model/api/customer-invoices-api.js +205 -0
- package/dist/es/src/api-model/api/vendor-shipping-api.js +321 -0
- package/dist/es/src/api-model/api/vendor-shipping-labels-api.js +263 -0
- package/dist/es/src/api-model/api.js +16 -0
- package/dist/es/src/api-model/base.js +56 -0
- package/dist/es/src/api-model/common.js +125 -0
- package/dist/es/src/api-model/configuration.js +38 -0
- package/dist/es/src/api-model/index.js +16 -0
- package/dist/es/src/api-model/models/address.js +14 -0
- package/dist/es/src/api-model/models/container.js +22 -0
- package/dist/es/src/api-model/models/customer-invoice-list.js +14 -0
- package/dist/es/src/api-model/models/customer-invoice.js +14 -0
- package/dist/es/src/api-model/models/dimensions.js +22 -0
- package/dist/es/src/api-model/models/get-customer-invoice-response.js +14 -0
- package/dist/es/src/api-model/models/get-customer-invoices-response.js +14 -0
- package/dist/es/src/api-model/models/get-packing-slip-list-response.js +14 -0
- package/dist/es/src/api-model/models/get-packing-slip-response.js +14 -0
- package/dist/es/src/api-model/models/get-shipping-label-list-response.js +14 -0
- package/dist/es/src/api-model/models/get-shipping-label-response.js +14 -0
- package/dist/es/src/api-model/models/index.js +37 -0
- package/dist/es/src/api-model/models/item-quantity.js +14 -0
- package/dist/es/src/api-model/models/item.js +14 -0
- package/dist/es/src/api-model/models/label-data.js +14 -0
- package/dist/es/src/api-model/models/model-error.js +14 -0
- package/dist/es/src/api-model/models/package.js +14 -0
- package/dist/es/src/api-model/models/packed-item.js +14 -0
- package/dist/es/src/api-model/models/packing-slip-list.js +14 -0
- package/dist/es/src/api-model/models/packing-slip.js +21 -0
- package/dist/es/src/api-model/models/pagination.js +14 -0
- package/dist/es/src/api-model/models/party-identification.js +14 -0
- package/dist/es/src/api-model/models/shipment-confirmation.js +14 -0
- package/dist/es/src/api-model/models/shipment-details.js +22 -0
- package/dist/es/src/api-model/models/shipment-status-update.js +14 -0
- package/dist/es/src/api-model/models/shipping-label-list.js +14 -0
- package/dist/es/src/api-model/models/shipping-label-request.js +14 -0
- package/dist/es/src/api-model/models/shipping-label.js +22 -0
- package/dist/es/src/api-model/models/status-update-details-shipment-schedule.js +14 -0
- package/dist/es/src/api-model/models/status-update-details.js +14 -0
- package/dist/es/src/api-model/models/submit-shipment-confirmations-request.js +14 -0
- package/dist/es/src/api-model/models/submit-shipment-confirmations-response.js +14 -0
- package/dist/es/src/api-model/models/submit-shipment-status-updates-request.js +14 -0
- package/dist/es/src/api-model/models/submit-shipment-status-updates-response.js +14 -0
- package/dist/es/src/api-model/models/submit-shipping-labels-request.js +14 -0
- package/dist/es/src/api-model/models/submit-shipping-labels-response.js +14 -0
- package/dist/es/src/api-model/models/tax-registration-details.js +22 -0
- package/dist/es/src/api-model/models/transaction-reference.js +14 -0
- package/dist/es/src/api-model/models/weight.js +22 -0
- package/dist/es/src/client.js +79 -0
- package/dist/es/src/error.js +6 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/src/api-model/api/customer-invoices-api.d.ts +171 -0
- package/dist/types/src/api-model/api/vendor-shipping-api.d.ts +259 -0
- package/dist/types/src/api-model/api/vendor-shipping-labels-api.d.ts +215 -0
- package/dist/types/src/api-model/api.d.ts +14 -0
- package/dist/types/src/api-model/base.d.ts +55 -0
- package/dist/types/src/api-model/common.d.ts +65 -0
- package/dist/types/src/api-model/configuration.d.ts +83 -0
- package/dist/types/src/api-model/index.d.ts +14 -0
- package/dist/types/src/api-model/models/address.d.ts +84 -0
- package/dist/types/src/api-model/models/container.d.ts +101 -0
- package/dist/types/src/api-model/models/customer-invoice-list.d.ts +32 -0
- package/dist/types/src/api-model/models/customer-invoice.d.ts +30 -0
- package/dist/types/src/api-model/models/dimensions.d.ts +50 -0
- package/dist/types/src/api-model/models/get-customer-invoice-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-customer-invoices-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-packing-slip-list-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-packing-slip-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-shipping-label-list-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-shipping-label-response.d.ts +31 -0
- package/dist/types/src/api-model/models/index.d.ts +37 -0
- package/dist/types/src/api-model/models/item-quantity.d.ts +30 -0
- package/dist/types/src/api-model/models/item.d.ts +43 -0
- package/dist/types/src/api-model/models/label-data.d.ts +48 -0
- package/dist/types/src/api-model/models/model-error.d.ts +36 -0
- package/dist/types/src/api-model/models/package.d.ts +62 -0
- package/dist/types/src/api-model/models/packed-item.d.ts +43 -0
- package/dist/types/src/api-model/models/packing-slip-list.d.ts +32 -0
- package/dist/types/src/api-model/models/packing-slip.d.ts +43 -0
- package/dist/types/src/api-model/models/pagination.d.ts +24 -0
- package/dist/types/src/api-model/models/party-identification.d.ts +38 -0
- package/dist/types/src/api-model/models/shipment-confirmation.d.ts +58 -0
- package/dist/types/src/api-model/models/shipment-details.d.ts +56 -0
- package/dist/types/src/api-model/models/shipment-status-update.d.ts +44 -0
- package/dist/types/src/api-model/models/shipping-label-list.d.ts +32 -0
- package/dist/types/src/api-model/models/shipping-label-request.d.ts +44 -0
- package/dist/types/src/api-model/models/shipping-label.d.ts +58 -0
- package/dist/types/src/api-model/models/status-update-details-shipment-schedule.d.ts +36 -0
- package/dist/types/src/api-model/models/status-update-details.d.ts +56 -0
- package/dist/types/src/api-model/models/submit-shipment-confirmations-request.d.ts +25 -0
- package/dist/types/src/api-model/models/submit-shipment-confirmations-response.d.ts +31 -0
- package/dist/types/src/api-model/models/submit-shipment-status-updates-request.d.ts +25 -0
- package/dist/types/src/api-model/models/submit-shipment-status-updates-response.d.ts +31 -0
- package/dist/types/src/api-model/models/submit-shipping-labels-request.d.ts +25 -0
- package/dist/types/src/api-model/models/submit-shipping-labels-response.d.ts +31 -0
- package/dist/types/src/api-model/models/tax-registration-details.d.ts +51 -0
- package/dist/types/src/api-model/models/transaction-reference.d.ts +24 -0
- package/dist/types/src/api-model/models/weight.d.ts +38 -0
- package/dist/types/src/client.d.ts +13 -0
- package/dist/types/src/error.d.ts +3 -0
- package/package.json +53 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 { Dimensions } from './dimensions';
|
|
13
|
+
import { Weight } from './weight';
|
|
14
|
+
/**
|
|
15
|
+
* Details of the package being shipped.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Package
|
|
18
|
+
*/
|
|
19
|
+
export interface Package {
|
|
20
|
+
/**
|
|
21
|
+
* Package identifier for the package. The first package will be 001, the second 002, and so on. This number is used as a reference to refer to this package from the pallet level.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof Package
|
|
24
|
+
*/
|
|
25
|
+
packageIdentifier: string;
|
|
26
|
+
/**
|
|
27
|
+
* This is required to be provided for every package in the small parcel shipments.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof Package
|
|
30
|
+
*/
|
|
31
|
+
trackingNumber?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Carrier manifest Id (Applicable for LTL shipments).
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof Package
|
|
36
|
+
*/
|
|
37
|
+
manifestId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Carrier manifest Date (Applicable for LTL shipments).
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof Package
|
|
42
|
+
*/
|
|
43
|
+
manifestDate?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Shipment method.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof Package
|
|
48
|
+
*/
|
|
49
|
+
shipMethod?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Weight}
|
|
53
|
+
* @memberof Package
|
|
54
|
+
*/
|
|
55
|
+
weight: Weight;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Dimensions}
|
|
59
|
+
* @memberof Package
|
|
60
|
+
*/
|
|
61
|
+
dimensions?: Dimensions;
|
|
62
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 { ItemQuantity } from './item-quantity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PackedItem
|
|
17
|
+
*/
|
|
18
|
+
export interface PackedItem {
|
|
19
|
+
/**
|
|
20
|
+
* Item Sequence Number for the item. This must be the same value as sent in the order for a given item.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PackedItem
|
|
23
|
+
*/
|
|
24
|
+
itemSequenceNumber: number;
|
|
25
|
+
/**
|
|
26
|
+
* Buyer\'s Standard Identification Number (ASIN) of an item. Either buyerProductIdentifier or vendorProductIdentifier is required.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PackedItem
|
|
29
|
+
*/
|
|
30
|
+
buyerProductIdentifier?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The vendor selected product identification of the item. Should be the same as was sent in the Purchase Order, like SKU Number.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PackedItem
|
|
35
|
+
*/
|
|
36
|
+
vendorProductIdentifier?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ItemQuantity}
|
|
40
|
+
* @memberof PackedItem
|
|
41
|
+
*/
|
|
42
|
+
packedQuantity: ItemQuantity;
|
|
43
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 { PackingSlip } from './packing-slip';
|
|
13
|
+
import { Pagination } from './pagination';
|
|
14
|
+
/**
|
|
15
|
+
* A list of packing slips.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PackingSlipList
|
|
18
|
+
*/
|
|
19
|
+
export interface PackingSlipList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PackingSlipList
|
|
24
|
+
*/
|
|
25
|
+
pagination?: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<PackingSlip>}
|
|
29
|
+
* @memberof PackingSlipList
|
|
30
|
+
*/
|
|
31
|
+
packingSlips?: Array<PackingSlip>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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
|
+
* Packing slip information.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PackingSlip
|
|
16
|
+
*/
|
|
17
|
+
export interface PackingSlip {
|
|
18
|
+
/**
|
|
19
|
+
* Purchase order number of the shipment that the packing slip is for.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PackingSlip
|
|
22
|
+
*/
|
|
23
|
+
purchaseOrderNumber: string;
|
|
24
|
+
/**
|
|
25
|
+
* A Base64encoded string of the packing slip PDF.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PackingSlip
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
/**
|
|
31
|
+
* The format of the file such as PDF, JPEG etc.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PackingSlip
|
|
34
|
+
*/
|
|
35
|
+
contentType?: PackingSlipContentTypeEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare enum PackingSlipContentTypeEnum {
|
|
42
|
+
ApplicationPdf = "application/pdf"
|
|
43
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Pagination
|
|
16
|
+
*/
|
|
17
|
+
export interface Pagination {
|
|
18
|
+
/**
|
|
19
|
+
* A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more order items to return.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Pagination
|
|
22
|
+
*/
|
|
23
|
+
nextToken?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 { Address } from './address';
|
|
13
|
+
import { TaxRegistrationDetails } from './tax-registration-details';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PartyIdentification
|
|
18
|
+
*/
|
|
19
|
+
export interface PartyIdentification {
|
|
20
|
+
/**
|
|
21
|
+
* Assigned Identification for the party.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof PartyIdentification
|
|
24
|
+
*/
|
|
25
|
+
partyId: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Address}
|
|
29
|
+
* @memberof PartyIdentification
|
|
30
|
+
*/
|
|
31
|
+
address?: Address;
|
|
32
|
+
/**
|
|
33
|
+
* Tax registration details of the entity.
|
|
34
|
+
* @type {Array<TaxRegistrationDetails>}
|
|
35
|
+
* @memberof PartyIdentification
|
|
36
|
+
*/
|
|
37
|
+
taxRegistrationDetails?: Array<TaxRegistrationDetails>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 { Container } from './container';
|
|
13
|
+
import { Item } from './item';
|
|
14
|
+
import { PartyIdentification } from './party-identification';
|
|
15
|
+
import { ShipmentDetails } from './shipment-details';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ShipmentConfirmation
|
|
20
|
+
*/
|
|
21
|
+
export interface ShipmentConfirmation {
|
|
22
|
+
/**
|
|
23
|
+
* Purchase order number corresponding to the shipment.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ShipmentConfirmation
|
|
26
|
+
*/
|
|
27
|
+
purchaseOrderNumber: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {ShipmentDetails}
|
|
31
|
+
* @memberof ShipmentConfirmation
|
|
32
|
+
*/
|
|
33
|
+
shipmentDetails: ShipmentDetails;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {PartyIdentification}
|
|
37
|
+
* @memberof ShipmentConfirmation
|
|
38
|
+
*/
|
|
39
|
+
sellingParty: PartyIdentification;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {PartyIdentification}
|
|
43
|
+
* @memberof ShipmentConfirmation
|
|
44
|
+
*/
|
|
45
|
+
shipFromParty: PartyIdentification;
|
|
46
|
+
/**
|
|
47
|
+
* Provide the details of the items in this shipment. If any of the item details field is common at a package or a pallet level, then provide them at the corresponding package.
|
|
48
|
+
* @type {Array<Item>}
|
|
49
|
+
* @memberof ShipmentConfirmation
|
|
50
|
+
*/
|
|
51
|
+
items: Array<Item>;
|
|
52
|
+
/**
|
|
53
|
+
* Provide the details of the items in this shipment. If any of the item details field is common at a package or a pallet level, then provide them at the corresponding package.
|
|
54
|
+
* @type {Array<Container>}
|
|
55
|
+
* @memberof ShipmentConfirmation
|
|
56
|
+
*/
|
|
57
|
+
containers?: Array<Container>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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
|
+
* Details about a shipment.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ShipmentDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface ShipmentDetails {
|
|
18
|
+
/**
|
|
19
|
+
* This field indicates the date of the departure of the shipment from vendor\'s location. Vendors are requested to send ASNs within 30 minutes of departure from their warehouse/distribution center or at least 6 hours prior to the appointment time at the Amazon destination warehouse, whichever is sooner. Shipped date mentioned in the Shipment Confirmation should not be in the future.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ShipmentDetails
|
|
22
|
+
*/
|
|
23
|
+
shippedDate: string;
|
|
24
|
+
/**
|
|
25
|
+
* Indicate the shipment status.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ShipmentDetails
|
|
28
|
+
*/
|
|
29
|
+
shipmentStatus: ShipmentDetailsShipmentStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Provide the priority of the shipment.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ShipmentDetails
|
|
34
|
+
*/
|
|
35
|
+
isPriorityShipment?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The vendor order number is a unique identifier generated by a vendor for their reference.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ShipmentDetails
|
|
40
|
+
*/
|
|
41
|
+
vendorOrderNumber?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Date on which the shipment is expected to reach the buyer\'s warehouse. It needs to be an estimate based on the average transit time between the ship-from location and the destination. The exact appointment time will be provided by buyer and is potentially not known when creating the shipment confirmation.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ShipmentDetails
|
|
46
|
+
*/
|
|
47
|
+
estimatedDeliveryDate?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
* @enum {string}
|
|
52
|
+
*/
|
|
53
|
+
export declare enum ShipmentDetailsShipmentStatusEnum {
|
|
54
|
+
Shipped = "SHIPPED",
|
|
55
|
+
FloorDenial = "FLOOR_DENIAL"
|
|
56
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 { PartyIdentification } from './party-identification';
|
|
13
|
+
import { StatusUpdateDetails } from './status-update-details';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ShipmentStatusUpdate
|
|
18
|
+
*/
|
|
19
|
+
export interface ShipmentStatusUpdate {
|
|
20
|
+
/**
|
|
21
|
+
* Purchase order number of the shipment for which to update the shipment status.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ShipmentStatusUpdate
|
|
24
|
+
*/
|
|
25
|
+
purchaseOrderNumber: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PartyIdentification}
|
|
29
|
+
* @memberof ShipmentStatusUpdate
|
|
30
|
+
*/
|
|
31
|
+
sellingParty: PartyIdentification;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {PartyIdentification}
|
|
35
|
+
* @memberof ShipmentStatusUpdate
|
|
36
|
+
*/
|
|
37
|
+
shipFromParty: PartyIdentification;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {StatusUpdateDetails}
|
|
41
|
+
* @memberof ShipmentStatusUpdate
|
|
42
|
+
*/
|
|
43
|
+
statusUpdateDetails: StatusUpdateDetails;
|
|
44
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping data.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
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 { Pagination } from './pagination';
|
|
13
|
+
import { ShippingLabel } from './shipping-label';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ShippingLabelList
|
|
18
|
+
*/
|
|
19
|
+
export interface ShippingLabelList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof ShippingLabelList
|
|
24
|
+
*/
|
|
25
|
+
pagination?: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ShippingLabel>}
|
|
29
|
+
* @memberof ShippingLabelList
|
|
30
|
+
*/
|
|
31
|
+
shippingLabels?: Array<ShippingLabel>;
|
|
32
|
+
}
|