@sp-api-sdk/vendor-shipments-api-v1 1.6.15
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/vendor-shipping-api.js +119 -0
- package/dist/cjs/src/api-model/api.js +17 -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/carton-reference-details.js +15 -0
- package/dist/cjs/src/api-model/models/carton.js +15 -0
- package/dist/cjs/src/api-model/models/container-identification.js +28 -0
- package/dist/cjs/src/api-model/models/container-item.js +15 -0
- package/dist/cjs/src/api-model/models/dimensions.js +27 -0
- package/dist/cjs/src/api-model/models/duration.js +25 -0
- package/dist/cjs/src/api-model/models/expiry.js +15 -0
- package/dist/cjs/src/api-model/models/import-details.js +29 -0
- package/dist/cjs/src/api-model/models/index.js +31 -0
- package/dist/cjs/src/api-model/models/item-details.js +27 -0
- package/dist/cjs/src/api-model/models/item-quantity.js +25 -0
- package/dist/cjs/src/api-model/models/item.js +15 -0
- package/dist/cjs/src/api-model/models/location.js +15 -0
- package/dist/cjs/src/api-model/models/model-error.js +15 -0
- package/dist/cjs/src/api-model/models/money.js +15 -0
- package/dist/cjs/src/api-model/models/pallet.js +15 -0
- package/dist/cjs/src/api-model/models/party-identification.js +15 -0
- package/dist/cjs/src/api-model/models/route.js +15 -0
- package/dist/cjs/src/api-model/models/shipment-confirmation.js +49 -0
- package/dist/cjs/src/api-model/models/shipment-measurements.js +15 -0
- package/dist/cjs/src/api-model/models/stop.js +26 -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/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/transportation-details.js +26 -0
- package/dist/cjs/src/api-model/models/volume.js +27 -0
- package/dist/cjs/src/api-model/models/weight.js +27 -0
- package/dist/cjs/src/client.js +35 -0
- package/dist/cjs/src/error.js +10 -0
- package/dist/es/index.js +3 -0
- package/dist/es/src/api-model/api/vendor-shipping-api.js +111 -0
- package/dist/es/src/api-model/api.js +14 -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/carton-reference-details.js +14 -0
- package/dist/es/src/api-model/models/carton.js +14 -0
- package/dist/es/src/api-model/models/container-identification.js +25 -0
- package/dist/es/src/api-model/models/container-item.js +14 -0
- package/dist/es/src/api-model/models/dimensions.js +24 -0
- package/dist/es/src/api-model/models/duration.js +22 -0
- package/dist/es/src/api-model/models/expiry.js +14 -0
- package/dist/es/src/api-model/models/import-details.js +26 -0
- package/dist/es/src/api-model/models/index.js +28 -0
- package/dist/es/src/api-model/models/item-details.js +24 -0
- package/dist/es/src/api-model/models/item-quantity.js +22 -0
- package/dist/es/src/api-model/models/item.js +14 -0
- package/dist/es/src/api-model/models/location.js +14 -0
- package/dist/es/src/api-model/models/model-error.js +14 -0
- package/dist/es/src/api-model/models/money.js +14 -0
- package/dist/es/src/api-model/models/pallet.js +14 -0
- package/dist/es/src/api-model/models/party-identification.js +14 -0
- package/dist/es/src/api-model/models/route.js +14 -0
- package/dist/es/src/api-model/models/shipment-confirmation.js +46 -0
- package/dist/es/src/api-model/models/shipment-measurements.js +14 -0
- package/dist/es/src/api-model/models/stop.js +23 -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/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/transportation-details.js +23 -0
- package/dist/es/src/api-model/models/volume.js +24 -0
- package/dist/es/src/api-model/models/weight.js +24 -0
- package/dist/es/src/client.js +31 -0
- package/dist/es/src/error.js +6 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/src/api-model/api/vendor-shipping-api.d.ts +84 -0
- package/dist/types/src/api-model/api.d.ts +12 -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/carton-reference-details.d.ts +30 -0
- package/dist/types/src/api-model/models/carton.d.ts +58 -0
- package/dist/types/src/api-model/models/container-identification.d.ts +41 -0
- package/dist/types/src/api-model/models/container-item.d.ts +38 -0
- package/dist/types/src/api-model/models/dimensions.d.ts +52 -0
- package/dist/types/src/api-model/models/duration.d.ts +38 -0
- package/dist/types/src/api-model/models/expiry.d.ts +37 -0
- package/dist/types/src/api-model/models/import-details.d.ts +68 -0
- package/dist/types/src/api-model/models/index.d.ts +28 -0
- package/dist/types/src/api-model/models/item-details.d.ts +60 -0
- package/dist/types/src/api-model/models/item-quantity.d.ts +44 -0
- package/dist/types/src/api-model/models/item.d.ts +50 -0
- package/dist/types/src/api-model/models/location.d.ts +36 -0
- package/dist/types/src/api-model/models/model-error.d.ts +36 -0
- package/dist/types/src/api-model/models/money.d.ts +30 -0
- package/dist/types/src/api-model/models/pallet.d.ts +65 -0
- package/dist/types/src/api-model/models/party-identification.d.ts +38 -0
- package/dist/types/src/api-model/models/route.d.ts +25 -0
- package/dist/types/src/api-model/models/shipment-confirmation.d.ts +157 -0
- package/dist/types/src/api-model/models/shipment-measurements.d.ts +44 -0
- package/dist/types/src/api-model/models/stop.d.ts +52 -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/tax-registration-details.d.ts +38 -0
- package/dist/types/src/api-model/models/transaction-reference.d.ts +24 -0
- package/dist/types/src/api-model/models/transportation-details.d.ts +51 -0
- package/dist/types/src/api-model/models/volume.d.ts +40 -0
- package/dist/types/src/api-model/models/weight.d.ts +40 -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,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Retail Procurement Shipments
|
|
3
|
+
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
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 { ItemDetails } from './item-details';
|
|
13
|
+
import { ItemQuantity } from './item-quantity';
|
|
14
|
+
/**
|
|
15
|
+
* Carton/Pallet level details for the item.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ContainerItem
|
|
18
|
+
*/
|
|
19
|
+
export interface ContainerItem {
|
|
20
|
+
/**
|
|
21
|
+
* The reference number for the item. Please provide the itemSequenceNumber from the \'items\' segment to refer to that item\'s details here.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ContainerItem
|
|
24
|
+
*/
|
|
25
|
+
itemReference: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ItemQuantity}
|
|
29
|
+
* @memberof ContainerItem
|
|
30
|
+
*/
|
|
31
|
+
shippedQuantity: ItemQuantity;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ItemDetails}
|
|
35
|
+
* @memberof ContainerItem
|
|
36
|
+
*/
|
|
37
|
+
itemDetails?: ItemDetails;
|
|
38
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Retail Procurement Shipments
|
|
3
|
+
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
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
|
+
* Physical dimensional measurements of a container.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Dimensions
|
|
16
|
+
*/
|
|
17
|
+
export interface Dimensions {
|
|
18
|
+
/**
|
|
19
|
+
* 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
|
+
*/
|
|
23
|
+
length: string;
|
|
24
|
+
/**
|
|
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+)?$`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Dimensions
|
|
28
|
+
*/
|
|
29
|
+
width: string;
|
|
30
|
+
/**
|
|
31
|
+
* 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
|
+
*/
|
|
35
|
+
height: string;
|
|
36
|
+
/**
|
|
37
|
+
* The unit of measure for dimensions.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Dimensions
|
|
40
|
+
*/
|
|
41
|
+
unitOfMeasure: DimensionsUnitOfMeasureEnum;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
export declare enum DimensionsUnitOfMeasureEnum {
|
|
48
|
+
In = "In",
|
|
49
|
+
Ft = "Ft",
|
|
50
|
+
Meter = "Meter",
|
|
51
|
+
Yard = "Yard"
|
|
52
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Retail Procurement Shipments
|
|
3
|
+
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
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 Duration
|
|
16
|
+
*/
|
|
17
|
+
export interface Duration {
|
|
18
|
+
/**
|
|
19
|
+
* Unit for duration.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Duration
|
|
22
|
+
*/
|
|
23
|
+
durationUnit: DurationDurationUnitEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Value for the duration in terms of the durationUnit.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Duration
|
|
28
|
+
*/
|
|
29
|
+
durationValue: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
* @enum {string}
|
|
34
|
+
*/
|
|
35
|
+
export declare enum DurationDurationUnitEnum {
|
|
36
|
+
Days = "Days",
|
|
37
|
+
Months = "Months"
|
|
38
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Retail Procurement Shipments
|
|
3
|
+
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
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 { Duration } from './duration';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Expiry
|
|
17
|
+
*/
|
|
18
|
+
export interface Expiry {
|
|
19
|
+
/**
|
|
20
|
+
* Production, packaging or assembly date determined by the manufacturer. Its meaning is determined based on the trade item context.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Expiry
|
|
23
|
+
*/
|
|
24
|
+
manufacturerDate?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The date that determines the limit of consumption or use of a product. Its meaning is determined based on the trade item context.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Expiry
|
|
29
|
+
*/
|
|
30
|
+
expiryDate?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Duration}
|
|
34
|
+
* @memberof Expiry
|
|
35
|
+
*/
|
|
36
|
+
expiryAfterDuration?: Duration;
|
|
37
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Retail Procurement Shipments
|
|
3
|
+
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
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 { Route } from './route';
|
|
13
|
+
import { Weight } from './weight';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ImportDetails
|
|
18
|
+
*/
|
|
19
|
+
export interface ImportDetails {
|
|
20
|
+
/**
|
|
21
|
+
* This is used for import purchase orders only. If the recipient requests, this field will contain the shipment method of payment.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ImportDetails
|
|
24
|
+
*/
|
|
25
|
+
methodOfPayment?: ImportDetailsMethodOfPaymentEnum;
|
|
26
|
+
/**
|
|
27
|
+
* The container\'s seal number.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ImportDetails
|
|
30
|
+
*/
|
|
31
|
+
sealNumber?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Route}
|
|
35
|
+
* @memberof ImportDetails
|
|
36
|
+
*/
|
|
37
|
+
route?: Route;
|
|
38
|
+
/**
|
|
39
|
+
* Types and numbers of container(s) for import purchase orders. Can be a comma-separated list if shipment has multiple containers.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ImportDetails
|
|
42
|
+
*/
|
|
43
|
+
importContainers?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Weight}
|
|
47
|
+
* @memberof ImportDetails
|
|
48
|
+
*/
|
|
49
|
+
billableWeight?: Weight;
|
|
50
|
+
/**
|
|
51
|
+
* Date on which the shipment is expected to be shipped. This value should not be in the past and not more than 60 days out in the future.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ImportDetails
|
|
54
|
+
*/
|
|
55
|
+
estimatedShipByDate?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @export
|
|
59
|
+
* @enum {string}
|
|
60
|
+
*/
|
|
61
|
+
export declare enum ImportDetailsMethodOfPaymentEnum {
|
|
62
|
+
PaidByBuyer = "PaidByBuyer",
|
|
63
|
+
CollectOnDelivery = "CollectOnDelivery",
|
|
64
|
+
DefinedByBuyerAndSeller = "DefinedByBuyerAndSeller",
|
|
65
|
+
FobPortOfCall = "FOBPortOfCall",
|
|
66
|
+
PrepaidBySeller = "PrepaidBySeller",
|
|
67
|
+
PaidBySeller = "PaidBySeller"
|
|
68
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from './address';
|
|
2
|
+
export * from './carton';
|
|
3
|
+
export * from './carton-reference-details';
|
|
4
|
+
export * from './container-identification';
|
|
5
|
+
export * from './container-item';
|
|
6
|
+
export * from './dimensions';
|
|
7
|
+
export * from './duration';
|
|
8
|
+
export * from './expiry';
|
|
9
|
+
export * from './import-details';
|
|
10
|
+
export * from './item';
|
|
11
|
+
export * from './item-details';
|
|
12
|
+
export * from './item-quantity';
|
|
13
|
+
export * from './location';
|
|
14
|
+
export * from './model-error';
|
|
15
|
+
export * from './money';
|
|
16
|
+
export * from './pallet';
|
|
17
|
+
export * from './party-identification';
|
|
18
|
+
export * from './route';
|
|
19
|
+
export * from './shipment-confirmation';
|
|
20
|
+
export * from './shipment-measurements';
|
|
21
|
+
export * from './stop';
|
|
22
|
+
export * from './submit-shipment-confirmations-request';
|
|
23
|
+
export * from './submit-shipment-confirmations-response';
|
|
24
|
+
export * from './tax-registration-details';
|
|
25
|
+
export * from './transaction-reference';
|
|
26
|
+
export * from './transportation-details';
|
|
27
|
+
export * from './volume';
|
|
28
|
+
export * from './weight';
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Retail Procurement Shipments
|
|
3
|
+
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
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 { Expiry } from './expiry';
|
|
13
|
+
import { Money } from './money';
|
|
14
|
+
/**
|
|
15
|
+
* Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ItemDetails
|
|
18
|
+
*/
|
|
19
|
+
export interface ItemDetails {
|
|
20
|
+
/**
|
|
21
|
+
* The Amazon purchase order number for the shipment being confirmed. If the items in this shipment belong to multiple purchase order numbers that are in particular carton or pallet within the shipment, then provide the purchaseOrderNumber at the appropriate carton or pallet level. Formatting Notes: 8-character alpha-numeric code.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ItemDetails
|
|
24
|
+
*/
|
|
25
|
+
purchaseOrderNumber?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The batch or lot number associates an item with information the manufacturer considers relevant for traceability of the trade item to which the Element String is applied. The data may refer to the trade item itself or to items contained. This field is mandatory for all perishable items.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ItemDetails
|
|
30
|
+
*/
|
|
31
|
+
lotNumber?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Expiry}
|
|
35
|
+
* @memberof ItemDetails
|
|
36
|
+
*/
|
|
37
|
+
expiry?: Expiry;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Money}
|
|
41
|
+
* @memberof ItemDetails
|
|
42
|
+
*/
|
|
43
|
+
maximumRetailPrice?: Money;
|
|
44
|
+
/**
|
|
45
|
+
* Identification of the instructions on how specified item/carton/pallet should be handled.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ItemDetails
|
|
48
|
+
*/
|
|
49
|
+
handlingCode?: ItemDetailsHandlingCodeEnum;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
* @enum {string}
|
|
54
|
+
*/
|
|
55
|
+
export declare enum ItemDetailsHandlingCodeEnum {
|
|
56
|
+
Oversized = "Oversized",
|
|
57
|
+
Fragile = "Fragile",
|
|
58
|
+
Food = "Food",
|
|
59
|
+
HandleWithCare = "HandleWithCare"
|
|
60
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Retail Procurement Shipments
|
|
3
|
+
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
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 of item quantity.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ItemQuantity
|
|
16
|
+
*/
|
|
17
|
+
export interface ItemQuantity {
|
|
18
|
+
/**
|
|
19
|
+
* Amount of units shipped for a specific item at a shipment level. If the item is present only in certain cartons or pallets within the shipment, please provide this at the appropriate carton or pallet level.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ItemQuantity
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Unit of measure for the shipped quantity.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ItemQuantity
|
|
28
|
+
*/
|
|
29
|
+
unitOfMeasure: ItemQuantityUnitOfMeasureEnum;
|
|
30
|
+
/**
|
|
31
|
+
* The case size, in the event that we ordered using cases. Otherwise, 1.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ItemQuantity
|
|
34
|
+
*/
|
|
35
|
+
unitSize?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare enum ItemQuantityUnitOfMeasureEnum {
|
|
42
|
+
Cases = "Cases",
|
|
43
|
+
Eaches = "Eaches"
|
|
44
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Retail Procurement Shipments
|
|
3
|
+
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
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 { ItemDetails } from './item-details';
|
|
13
|
+
import { ItemQuantity } from './item-quantity';
|
|
14
|
+
/**
|
|
15
|
+
* Details of the item being shipped.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Item
|
|
18
|
+
*/
|
|
19
|
+
export interface Item {
|
|
20
|
+
/**
|
|
21
|
+
* Item sequence number for the item. The first item will be 001, the second 002, and so on. This number is used as a reference to refer to this item from the carton or pallet level.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof Item
|
|
24
|
+
*/
|
|
25
|
+
itemSequenceNumber: string;
|
|
26
|
+
/**
|
|
27
|
+
* Amazon Standard Identification Number (ASIN) of an item.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof Item
|
|
30
|
+
*/
|
|
31
|
+
amazonProductIdentifier?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The vendor selected product identification of the item. Should be the same as was sent in the purchase order.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof Item
|
|
36
|
+
*/
|
|
37
|
+
vendorProductIdentifier?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ItemQuantity}
|
|
41
|
+
* @memberof Item
|
|
42
|
+
*/
|
|
43
|
+
shippedQuantity: ItemQuantity;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {ItemDetails}
|
|
47
|
+
* @memberof Item
|
|
48
|
+
*/
|
|
49
|
+
itemDetails?: ItemDetails;
|
|
50
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Retail Procurement Shipments
|
|
3
|
+
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
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
|
+
* Location identifier.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Location
|
|
16
|
+
*/
|
|
17
|
+
export interface Location {
|
|
18
|
+
/**
|
|
19
|
+
* Type of location identification.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Location
|
|
22
|
+
*/
|
|
23
|
+
type?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Location code.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Location
|
|
28
|
+
*/
|
|
29
|
+
locationCode?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The two digit country code. In ISO 3166-1 alpha-2 format.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Location
|
|
34
|
+
*/
|
|
35
|
+
countryCode?: string;
|
|
36
|
+
}
|