-
Notifications
You must be signed in to change notification settings - Fork 7
/
shipment-confirmation.ts
173 lines (164 loc) · 6.34 KB
/
shipment-confirmation.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
/* tslint:disable */
/* eslint-disable */
/**
* Selling Partner API for Retail Procurement Shipments
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import { Carton } from './carton';
// May contain unused imports in some cases
// @ts-ignore
import { ImportDetails } from './import-details';
// May contain unused imports in some cases
// @ts-ignore
import { Item } from './item';
// May contain unused imports in some cases
// @ts-ignore
import { Pallet } from './pallet';
// May contain unused imports in some cases
// @ts-ignore
import { PartyIdentification } from './party-identification';
// May contain unused imports in some cases
// @ts-ignore
import { ShipmentMeasurements } from './shipment-measurements';
// May contain unused imports in some cases
// @ts-ignore
import { TransportationDetailsForShipmentConfirmation } from './transportation-details-for-shipment-confirmation';
/**
* A list of one or more shipment confirmations.
* @export
* @interface ShipmentConfirmation
*/
export interface ShipmentConfirmation {
/**
* Unique shipment ID (not used over the last 365 days).
* @type {string}
* @memberof ShipmentConfirmation
*/
'shipmentIdentifier': string;
/**
* Indicates if this shipment confirmation is the initial confirmation, or intended to replace an already posted shipment confirmation. If replacing an existing shipment confirmation, be sure to provide the identical shipmentIdentifier and sellingParty information as in the previous confirmation.
* @type {string}
* @memberof ShipmentConfirmation
*/
'shipmentConfirmationType': ShipmentConfirmationShipmentConfirmationTypeEnum;
/**
* The type of shipment.
* @type {string}
* @memberof ShipmentConfirmation
*/
'shipmentType'?: ShipmentConfirmationShipmentTypeEnum;
/**
* Shipment hierarchical structure.
* @type {string}
* @memberof ShipmentConfirmation
*/
'shipmentStructure'?: ShipmentConfirmationShipmentStructureEnum;
/**
*
* @type {TransportationDetailsForShipmentConfirmation}
* @memberof ShipmentConfirmation
*/
'transportationDetails'?: TransportationDetailsForShipmentConfirmation;
/**
* The Amazon Reference Number is a unique identifier generated by Amazon for all Collect/WePay shipments when you submit a routing request. This field is mandatory for Collect/WePay shipments.
* @type {string}
* @memberof ShipmentConfirmation
*/
'amazonReferenceNumber'?: string;
/**
* Date on which the shipment confirmation was submitted.
* @type {string}
* @memberof ShipmentConfirmation
*/
'shipmentConfirmationDate': string;
/**
* The date and time of the departure of the shipment from the 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 buyer destination warehouse, whichever is sooner. Shipped date mentioned in the shipment confirmation should not be in the future.
* @type {string}
* @memberof ShipmentConfirmation
*/
'shippedDate'?: string;
/**
* The date and time on which the shipment is estimated to reach buyer\'s warehouse. It needs to be an estimate based on the average transit time between ship from location and the destination. The exact appointment time will be provided by the buyer and is potentially not known when creating the shipment confirmation.
* @type {string}
* @memberof ShipmentConfirmation
*/
'estimatedDeliveryDate'?: string;
/**
*
* @type {PartyIdentification}
* @memberof ShipmentConfirmation
*/
'sellingParty': PartyIdentification;
/**
*
* @type {PartyIdentification}
* @memberof ShipmentConfirmation
*/
'shipFromParty': PartyIdentification;
/**
*
* @type {PartyIdentification}
* @memberof ShipmentConfirmation
*/
'shipToParty': PartyIdentification;
/**
*
* @type {ShipmentMeasurements}
* @memberof ShipmentConfirmation
*/
'shipmentMeasurements'?: ShipmentMeasurements;
/**
*
* @type {ImportDetails}
* @memberof ShipmentConfirmation
*/
'importDetails'?: ImportDetails;
/**
* A list of the items in this shipment and their associated details. If any of the item detail fields are common at a carton or a pallet level, provide them at the corresponding carton or pallet level.
* @type {Array<Item>}
* @memberof ShipmentConfirmation
*/
'shippedItems': Array<Item>;
/**
* A list of the cartons in this shipment.
* @type {Array<Carton>}
* @memberof ShipmentConfirmation
*/
'cartons'?: Array<Carton>;
/**
* A list of the pallets in this shipment.
* @type {Array<Pallet>}
* @memberof ShipmentConfirmation
*/
'pallets'?: Array<Pallet>;
}
export const ShipmentConfirmationShipmentConfirmationTypeEnum = {
Original: 'Original',
Replace: 'Replace'
} as const;
export type ShipmentConfirmationShipmentConfirmationTypeEnum = typeof ShipmentConfirmationShipmentConfirmationTypeEnum[keyof typeof ShipmentConfirmationShipmentConfirmationTypeEnum];
export const ShipmentConfirmationShipmentTypeEnum = {
TruckLoad: 'TruckLoad',
LessThanTruckLoad: 'LessThanTruckLoad',
SmallParcel: 'SmallParcel'
} as const;
export type ShipmentConfirmationShipmentTypeEnum = typeof ShipmentConfirmationShipmentTypeEnum[keyof typeof ShipmentConfirmationShipmentTypeEnum];
export const ShipmentConfirmationShipmentStructureEnum = {
PalletizedAssortmentCase: 'PalletizedAssortmentCase',
LooseAssortmentCase: 'LooseAssortmentCase',
PalletOfItems: 'PalletOfItems',
PalletizedStandardCase: 'PalletizedStandardCase',
LooseStandardCase: 'LooseStandardCase',
MasterPallet: 'MasterPallet',
MasterCase: 'MasterCase'
} as const;
export type ShipmentConfirmationShipmentStructureEnum = typeof ShipmentConfirmationShipmentStructureEnum[keyof typeof ShipmentConfirmationShipmentStructureEnum];