@sp-api-sdk/vendor-direct-fulfillment-shipping-api-v1 4.0.0 → 4.0.2
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/vendor-direct-fulfillment-shipping-api.js +0 -24
- package/dist/cjs/api-model/base.js +0 -19
- package/dist/cjs/api-model/common.js +0 -37
- package/dist/cjs/api-model/configuration.js +0 -17
- package/dist/es/api-model/api/vendor-direct-fulfillment-shipping-api.js +0 -24
- package/dist/es/api-model/base.js +0 -19
- package/dist/es/api-model/common.js +0 -37
- package/dist/es/api-model/configuration.js +0 -17
- package/dist/types/api-model/api/vendor-direct-fulfillment-shipping-api.d.ts +0 -90
- package/dist/types/api-model/base.d.ts +0 -24
- package/dist/types/api-model/common.d.ts +0 -37
- package/dist/types/api-model/configuration.d.ts +0 -17
- package/dist/types/api-model/models/address.d.ts +0 -24
- package/dist/types/api-model/models/container.d.ts +0 -32
- package/dist/types/api-model/models/customer-invoice-list.d.ts +0 -9
- package/dist/types/api-model/models/customer-invoice.d.ts +0 -6
- package/dist/types/api-model/models/dimensions.d.ts +0 -10
- package/dist/types/api-model/models/get-customer-invoice-response.d.ts +0 -9
- package/dist/types/api-model/models/get-customer-invoices-response.d.ts +0 -9
- package/dist/types/api-model/models/get-packing-slip-list-response.d.ts +0 -9
- package/dist/types/api-model/models/get-packing-slip-response.d.ts +0 -9
- package/dist/types/api-model/models/get-shipping-label-list-response.d.ts +0 -9
- package/dist/types/api-model/models/get-shipping-label-response.d.ts +0 -9
- package/dist/types/api-model/models/item-quantity.d.ts +0 -6
- package/dist/types/api-model/models/item.d.ts +0 -13
- package/dist/types/api-model/models/label-data.d.ts +0 -12
- package/dist/types/api-model/models/model-error.d.ts +0 -8
- package/dist/types/api-model/models/packed-item.d.ts +0 -13
- package/dist/types/api-model/models/packing-slip-list.d.ts +0 -9
- package/dist/types/api-model/models/packing-slip.d.ts +0 -8
- package/dist/types/api-model/models/pagination.d.ts +0 -4
- package/dist/types/api-model/models/party-identification.d.ts +0 -11
- package/dist/types/api-model/models/shipment-confirmation.d.ts +0 -23
- package/dist/types/api-model/models/shipment-details.d.ts +0 -12
- package/dist/types/api-model/models/shipment-status-update.d.ts +0 -19
- package/dist/types/api-model/models/shipping-label-list.d.ts +0 -9
- package/dist/types/api-model/models/shipping-label-request.d.ts +0 -16
- package/dist/types/api-model/models/shipping-label.d.ts +0 -18
- package/dist/types/api-model/models/status-update-details-shipment-schedule.d.ts +0 -8
- package/dist/types/api-model/models/status-update-details.d.ts +0 -20
- package/dist/types/api-model/models/submit-shipment-confirmations-request.d.ts +0 -4
- package/dist/types/api-model/models/submit-shipment-confirmations-response.d.ts +0 -9
- package/dist/types/api-model/models/submit-shipment-status-updates-request.d.ts +0 -4
- package/dist/types/api-model/models/submit-shipment-status-updates-response.d.ts +0 -9
- package/dist/types/api-model/models/submit-shipping-labels-request.d.ts +0 -4
- package/dist/types/api-model/models/submit-shipping-labels-response.d.ts +0 -9
- package/dist/types/api-model/models/tax-registration-details.d.ts +0 -13
- package/dist/types/api-model/models/transaction-reference.d.ts +0 -4
- package/dist/types/api-model/models/weight.d.ts +0 -6
- package/package.json +25 -4
|
@@ -11,32 +11,22 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Physical dimensional measurements of a container.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Dimensions
|
|
16
14
|
*/
|
|
17
15
|
export interface Dimensions {
|
|
18
16
|
/**
|
|
19
17
|
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\\\d*))(\\\\.\\\\d+)?([eE][+-]?\\\\d+)?$`.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Dimensions
|
|
22
18
|
*/
|
|
23
19
|
'length': string;
|
|
24
20
|
/**
|
|
25
21
|
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\\\d*))(\\\\.\\\\d+)?([eE][+-]?\\\\d+)?$`.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Dimensions
|
|
28
22
|
*/
|
|
29
23
|
'width': string;
|
|
30
24
|
/**
|
|
31
25
|
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\\\d*))(\\\\.\\\\d+)?([eE][+-]?\\\\d+)?$`.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Dimensions
|
|
34
26
|
*/
|
|
35
27
|
'height': string;
|
|
36
28
|
/**
|
|
37
29
|
* The unit of measure for dimensions.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Dimensions
|
|
40
30
|
*/
|
|
41
31
|
'unitOfMeasure': DimensionsUnitOfMeasureEnum;
|
|
42
32
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { CustomerInvoice } from './customer-invoice';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the getCustomerInvoice operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetCustomerInvoiceResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetCustomerInvoiceResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {CustomerInvoice}
|
|
22
|
-
* @memberof GetCustomerInvoiceResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: CustomerInvoice;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetCustomerInvoiceResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { CustomerInvoiceList } from './customer-invoice-list';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the getCustomerInvoices operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetCustomerInvoicesResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetCustomerInvoicesResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {CustomerInvoiceList}
|
|
22
|
-
* @memberof GetCustomerInvoicesResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: CustomerInvoiceList;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetCustomerInvoicesResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { PackingSlipList } from './packing-slip-list';
|
|
13
13
|
/**
|
|
14
14
|
* Response payload with the list of Packing Slips.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetPackingSlipListResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetPackingSlipListResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {PackingSlipList}
|
|
22
|
-
* @memberof GetPackingSlipListResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: PackingSlipList;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetPackingSlipListResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { PackingSlip } from './packing-slip';
|
|
13
13
|
/**
|
|
14
14
|
* Response payload with packing slip.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetPackingSlipResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetPackingSlipResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {PackingSlip}
|
|
22
|
-
* @memberof GetPackingSlipResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: PackingSlip;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetPackingSlipResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { ShippingLabelList } from './shipping-label-list';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the getShippingLabels operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetShippingLabelListResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetShippingLabelListResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {ShippingLabelList}
|
|
22
|
-
* @memberof GetShippingLabelListResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: ShippingLabelList;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetShippingLabelListResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { ShippingLabel } from './shipping-label';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the getShippingLabel operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetShippingLabelResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetShippingLabelResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {ShippingLabel}
|
|
22
|
-
* @memberof GetShippingLabelResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: ShippingLabel;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetShippingLabelResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Details of item quantity.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ItemQuantity
|
|
16
14
|
*/
|
|
17
15
|
export interface ItemQuantity {
|
|
18
16
|
/**
|
|
19
17
|
* Quantity of units shipped for a specific item at a shipment level. If the item is present only in certain packages or pallets within the shipment, please provide this at the appropriate package or pallet level.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ItemQuantity
|
|
22
18
|
*/
|
|
23
19
|
'amount': number;
|
|
24
20
|
/**
|
|
25
21
|
* Unit of measure for the shipped quantity.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ItemQuantity
|
|
28
22
|
*/
|
|
29
23
|
'unitOfMeasure': string;
|
|
30
24
|
}
|
|
@@ -12,32 +12,19 @@
|
|
|
12
12
|
import type { ItemQuantity } from './item-quantity';
|
|
13
13
|
/**
|
|
14
14
|
* Details of the item being shipped.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Item
|
|
17
15
|
*/
|
|
18
16
|
export interface Item {
|
|
19
17
|
/**
|
|
20
18
|
* Item Sequence Number for the item. This must be the same value as sent in order for a given item.
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof Item
|
|
23
19
|
*/
|
|
24
20
|
'itemSequenceNumber': number;
|
|
25
21
|
/**
|
|
26
22
|
* Buyer\'s Standard Identification Number (ASIN) of an item. Either buyerProductIdentifier or vendorProductIdentifier is required.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof Item
|
|
29
23
|
*/
|
|
30
24
|
'buyerProductIdentifier'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* 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 Item
|
|
35
27
|
*/
|
|
36
28
|
'vendorProductIdentifier'?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {ItemQuantity}
|
|
40
|
-
* @memberof Item
|
|
41
|
-
*/
|
|
42
29
|
'shippedQuantity': ItemQuantity;
|
|
43
30
|
}
|
|
@@ -11,38 +11,26 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Details of the shipment label.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface LabelData
|
|
16
14
|
*/
|
|
17
15
|
export interface LabelData {
|
|
18
16
|
/**
|
|
19
17
|
* 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.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof LabelData
|
|
22
18
|
*/
|
|
23
19
|
'packageIdentifier'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* Package tracking identifier from the shipping carrier.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof LabelData
|
|
28
22
|
*/
|
|
29
23
|
'trackingNumber'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* Ship method to be used for shipping the order. Amazon defines Ship Method Codes indicating shipping carrier and shipment service level. Ship Method Codes are case and format sensitive. The same ship method code should returned on the shipment confirmation. Note that the Ship Method Codes are vendor specific and will be provided to each vendor during the implementation.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof LabelData
|
|
34
26
|
*/
|
|
35
27
|
'shipMethod'?: string;
|
|
36
28
|
/**
|
|
37
29
|
* Shipping method name for internal reference.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof LabelData
|
|
40
30
|
*/
|
|
41
31
|
'shipMethodName'?: string;
|
|
42
32
|
/**
|
|
43
33
|
* This field will contain the Base64encoded string of the shipment label content.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof LabelData
|
|
46
34
|
*/
|
|
47
35
|
'content': string;
|
|
48
36
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Error response returned when the request is unsuccessful.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ModelError
|
|
16
14
|
*/
|
|
17
15
|
export interface ModelError {
|
|
18
16
|
/**
|
|
19
17
|
* An error code that identifies the type of error that occurred.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ModelError
|
|
22
18
|
*/
|
|
23
19
|
'code': string;
|
|
24
20
|
/**
|
|
25
21
|
* A message that describes the error condition.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ModelError
|
|
28
22
|
*/
|
|
29
23
|
'message': string;
|
|
30
24
|
/**
|
|
31
25
|
* Additional details that can help the caller understand or fix the issue.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ModelError
|
|
34
26
|
*/
|
|
35
27
|
'details'?: string;
|
|
36
28
|
}
|
|
@@ -12,32 +12,19 @@
|
|
|
12
12
|
import type { ItemQuantity } from './item-quantity';
|
|
13
13
|
/**
|
|
14
14
|
* Represents an item that has been packed into a container for shipping.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PackedItem
|
|
17
15
|
*/
|
|
18
16
|
export interface PackedItem {
|
|
19
17
|
/**
|
|
20
18
|
* 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
19
|
*/
|
|
24
20
|
'itemSequenceNumber': number;
|
|
25
21
|
/**
|
|
26
22
|
* Buyer\'s Standard Identification Number (ASIN) of an item. Either buyerProductIdentifier or vendorProductIdentifier is required.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof PackedItem
|
|
29
23
|
*/
|
|
30
24
|
'buyerProductIdentifier'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* 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
27
|
*/
|
|
36
28
|
'vendorProductIdentifier'?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {ItemQuantity}
|
|
40
|
-
* @memberof PackedItem
|
|
41
|
-
*/
|
|
42
29
|
'packedQuantity': ItemQuantity;
|
|
43
30
|
}
|
|
@@ -13,20 +13,11 @@ import type { PackingSlip } from './packing-slip';
|
|
|
13
13
|
import type { Pagination } from './pagination';
|
|
14
14
|
/**
|
|
15
15
|
* A list of packing slips.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PackingSlipList
|
|
18
16
|
*/
|
|
19
17
|
export interface PackingSlipList {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Pagination}
|
|
23
|
-
* @memberof PackingSlipList
|
|
24
|
-
*/
|
|
25
18
|
'pagination'?: Pagination;
|
|
26
19
|
/**
|
|
27
20
|
* An array of packing slip objects.
|
|
28
|
-
* @type {Array<PackingSlip>}
|
|
29
|
-
* @memberof PackingSlipList
|
|
30
21
|
*/
|
|
31
22
|
'packingSlips'?: Array<PackingSlip>;
|
|
32
23
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Packing slip information.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PackingSlip
|
|
16
14
|
*/
|
|
17
15
|
export interface PackingSlip {
|
|
18
16
|
/**
|
|
19
17
|
* Purchase order number of the shipment that corresponds to the packing slip.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PackingSlip
|
|
22
18
|
*/
|
|
23
19
|
'purchaseOrderNumber': string;
|
|
24
20
|
/**
|
|
25
21
|
* A Base64encoded string of the packing slip PDF.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PackingSlip
|
|
28
22
|
*/
|
|
29
23
|
'content': string;
|
|
30
24
|
/**
|
|
31
25
|
* The format of the file such as PDF, JPEG etc.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PackingSlip
|
|
34
26
|
*/
|
|
35
27
|
'contentType'?: PackingSlipContentTypeEnum;
|
|
36
28
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The pagination elements required to retrieve the remaining data.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Pagination
|
|
16
14
|
*/
|
|
17
15
|
export interface Pagination {
|
|
18
16
|
/**
|
|
19
17
|
* 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
18
|
*/
|
|
23
19
|
'nextToken'?: string;
|
|
24
20
|
}
|
|
@@ -13,26 +13,15 @@ import type { Address } from './address';
|
|
|
13
13
|
import type { TaxRegistrationDetails } from './tax-registration-details';
|
|
14
14
|
/**
|
|
15
15
|
* Name, address and tax details of a party.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PartyIdentification
|
|
18
16
|
*/
|
|
19
17
|
export interface PartyIdentification {
|
|
20
18
|
/**
|
|
21
19
|
* Assigned Identification for the party.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof PartyIdentification
|
|
24
20
|
*/
|
|
25
21
|
'partyId': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Address}
|
|
29
|
-
* @memberof PartyIdentification
|
|
30
|
-
*/
|
|
31
22
|
'address'?: Address;
|
|
32
23
|
/**
|
|
33
24
|
* Tax registration details of the entity.
|
|
34
|
-
* @type {Array<TaxRegistrationDetails>}
|
|
35
|
-
* @memberof PartyIdentification
|
|
36
25
|
*/
|
|
37
26
|
'taxRegistrationDetails'?: Array<TaxRegistrationDetails>;
|
|
38
27
|
}
|
|
@@ -15,44 +15,21 @@ import type { PartyIdentification } from './party-identification';
|
|
|
15
15
|
import type { ShipmentDetails } from './shipment-details';
|
|
16
16
|
/**
|
|
17
17
|
* Represents the confirmation details of a shipment, including the purchase order number and other shipment details.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ShipmentConfirmation
|
|
20
18
|
*/
|
|
21
19
|
export interface ShipmentConfirmation {
|
|
22
20
|
/**
|
|
23
21
|
* Purchase order number corresponding to the shipment.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ShipmentConfirmation
|
|
26
22
|
*/
|
|
27
23
|
'purchaseOrderNumber': string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {ShipmentDetails}
|
|
31
|
-
* @memberof ShipmentConfirmation
|
|
32
|
-
*/
|
|
33
24
|
'shipmentDetails': ShipmentDetails;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {PartyIdentification}
|
|
37
|
-
* @memberof ShipmentConfirmation
|
|
38
|
-
*/
|
|
39
25
|
'sellingParty': PartyIdentification;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {PartyIdentification}
|
|
43
|
-
* @memberof ShipmentConfirmation
|
|
44
|
-
*/
|
|
45
26
|
'shipFromParty': PartyIdentification;
|
|
46
27
|
/**
|
|
47
28
|
* 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
29
|
*/
|
|
51
30
|
'items': Array<Item>;
|
|
52
31
|
/**
|
|
53
32
|
* 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
33
|
*/
|
|
57
34
|
'containers'?: Array<Container>;
|
|
58
35
|
}
|
|
@@ -11,38 +11,26 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Details about a shipment.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ShipmentDetails
|
|
16
14
|
*/
|
|
17
15
|
export interface ShipmentDetails {
|
|
18
16
|
/**
|
|
19
17
|
* 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
18
|
*/
|
|
23
19
|
'shippedDate': string;
|
|
24
20
|
/**
|
|
25
21
|
* Indicate the shipment status.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ShipmentDetails
|
|
28
22
|
*/
|
|
29
23
|
'shipmentStatus': ShipmentDetailsShipmentStatusEnum;
|
|
30
24
|
/**
|
|
31
25
|
* Provide the priority of the shipment.
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof ShipmentDetails
|
|
34
26
|
*/
|
|
35
27
|
'isPriorityShipment'?: boolean;
|
|
36
28
|
/**
|
|
37
29
|
* The vendor order number is a unique identifier generated by a vendor for their reference.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ShipmentDetails
|
|
40
30
|
*/
|
|
41
31
|
'vendorOrderNumber'?: string;
|
|
42
32
|
/**
|
|
43
33
|
* 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
34
|
*/
|
|
47
35
|
'estimatedDeliveryDate'?: string;
|
|
48
36
|
}
|
|
@@ -13,32 +13,13 @@ import type { PartyIdentification } from './party-identification';
|
|
|
13
13
|
import type { StatusUpdateDetails } from './status-update-details';
|
|
14
14
|
/**
|
|
15
15
|
* Represents an update to the status of a shipment.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ShipmentStatusUpdate
|
|
18
16
|
*/
|
|
19
17
|
export interface ShipmentStatusUpdate {
|
|
20
18
|
/**
|
|
21
19
|
* Purchase order number of the shipment for which to update the shipment status.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ShipmentStatusUpdate
|
|
24
20
|
*/
|
|
25
21
|
'purchaseOrderNumber': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PartyIdentification}
|
|
29
|
-
* @memberof ShipmentStatusUpdate
|
|
30
|
-
*/
|
|
31
22
|
'sellingParty': PartyIdentification;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {PartyIdentification}
|
|
35
|
-
* @memberof ShipmentStatusUpdate
|
|
36
|
-
*/
|
|
37
23
|
'shipFromParty': PartyIdentification;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {StatusUpdateDetails}
|
|
41
|
-
* @memberof ShipmentStatusUpdate
|
|
42
|
-
*/
|
|
43
24
|
'statusUpdateDetails': StatusUpdateDetails;
|
|
44
25
|
}
|
|
@@ -13,20 +13,11 @@ import type { Pagination } from './pagination';
|
|
|
13
13
|
import type { ShippingLabel } from './shipping-label';
|
|
14
14
|
/**
|
|
15
15
|
* Response payload with the list of shipping labels
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ShippingLabelList
|
|
18
16
|
*/
|
|
19
17
|
export interface ShippingLabelList {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Pagination}
|
|
23
|
-
* @memberof ShippingLabelList
|
|
24
|
-
*/
|
|
25
18
|
'pagination'?: Pagination;
|
|
26
19
|
/**
|
|
27
20
|
* An array containing the details of the generated shipping labels.
|
|
28
|
-
* @type {Array<ShippingLabel>}
|
|
29
|
-
* @memberof ShippingLabelList
|
|
30
21
|
*/
|
|
31
22
|
'shippingLabels'?: Array<ShippingLabel>;
|
|
32
23
|
}
|
|
@@ -13,32 +13,16 @@ import type { Container } from './container';
|
|
|
13
13
|
import type { PartyIdentification } from './party-identification';
|
|
14
14
|
/**
|
|
15
15
|
* Represents the request payload for creating a shipping label, containing the purchase order number, selling party, ship from party, and a list of containers or packages in the shipment.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ShippingLabelRequest
|
|
18
16
|
*/
|
|
19
17
|
export interface ShippingLabelRequest {
|
|
20
18
|
/**
|
|
21
19
|
* Purchase order number of the order for which to create a shipping label.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ShippingLabelRequest
|
|
24
20
|
*/
|
|
25
21
|
'purchaseOrderNumber': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PartyIdentification}
|
|
29
|
-
* @memberof ShippingLabelRequest
|
|
30
|
-
*/
|
|
31
22
|
'sellingParty': PartyIdentification;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {PartyIdentification}
|
|
35
|
-
* @memberof ShippingLabelRequest
|
|
36
|
-
*/
|
|
37
23
|
'shipFromParty': PartyIdentification;
|
|
38
24
|
/**
|
|
39
25
|
* A list of the packages in this shipment.
|
|
40
|
-
* @type {Array<Container>}
|
|
41
|
-
* @memberof ShippingLabelRequest
|
|
42
26
|
*/
|
|
43
27
|
'containers'?: Array<Container>;
|
|
44
28
|
}
|
|
@@ -13,38 +13,20 @@ import type { LabelData } from './label-data';
|
|
|
13
13
|
import type { PartyIdentification } from './party-identification';
|
|
14
14
|
/**
|
|
15
15
|
* Shipping label information for an order, including the purchase order number, selling party, ship from party, label format, and package details.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ShippingLabel
|
|
18
16
|
*/
|
|
19
17
|
export interface ShippingLabel {
|
|
20
18
|
/**
|
|
21
19
|
* This field will contain the Purchase Order Number for this order.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ShippingLabel
|
|
24
20
|
*/
|
|
25
21
|
'purchaseOrderNumber': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PartyIdentification}
|
|
29
|
-
* @memberof ShippingLabel
|
|
30
|
-
*/
|
|
31
22
|
'sellingParty': PartyIdentification;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {PartyIdentification}
|
|
35
|
-
* @memberof ShippingLabel
|
|
36
|
-
*/
|
|
37
23
|
'shipFromParty': PartyIdentification;
|
|
38
24
|
/**
|
|
39
25
|
* Format of the label.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ShippingLabel
|
|
42
26
|
*/
|
|
43
27
|
'labelFormat': ShippingLabelLabelFormatEnum;
|
|
44
28
|
/**
|
|
45
29
|
* Provides the details of the packages in this shipment.
|
|
46
|
-
* @type {Array<LabelData>}
|
|
47
|
-
* @memberof ShippingLabel
|
|
48
30
|
*/
|
|
49
31
|
'labelData': Array<LabelData>;
|
|
50
32
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Details for the scheduled delivery timeline for a shipment, including the estimated delivery date and time, as well as the start and end times of the appointment window for delivery.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface StatusUpdateDetailsShipmentSchedule
|
|
16
14
|
*/
|
|
17
15
|
export interface StatusUpdateDetailsShipmentSchedule {
|
|
18
16
|
/**
|
|
19
17
|
* Date on which the shipment is expected to reach the customer delivery location. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof StatusUpdateDetailsShipmentSchedule
|
|
22
18
|
*/
|
|
23
19
|
'estimatedDeliveryDateTime'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* This field indicates the date and time at the start of the appointment window scheduled to deliver the shipment. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof StatusUpdateDetailsShipmentSchedule
|
|
28
22
|
*/
|
|
29
23
|
'apptWindowStartDateTime'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* This field indicates the date and time at the end of the appointment window scheduled to deliver the shipment. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof StatusUpdateDetailsShipmentSchedule
|
|
34
26
|
*/
|
|
35
27
|
'apptWindowEndDateTime'?: string;
|
|
36
28
|
}
|