@sp-api-sdk/vendor-shipments-api-v1 2.6.0 → 3.0.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/dist/cjs/api-model/api/{vendor-shipments-api.js → vendor-shipping-api.js} +137 -32
- package/dist/cjs/api-model/api.js +2 -2
- package/dist/cjs/api-model/base.js +1 -1
- package/dist/cjs/api-model/common.js +1 -1
- package/dist/cjs/api-model/configuration.js +1 -1
- package/dist/cjs/api-model/index.js +1 -1
- package/dist/cjs/api-model/models/address.js +1 -1
- package/dist/cjs/api-model/models/carrier-details.js +1 -1
- package/dist/cjs/api-model/models/carton-reference-details.js +1 -1
- package/dist/cjs/api-model/models/carton.js +1 -1
- package/dist/cjs/api-model/models/collect-freight-pickup-details.js +1 -1
- package/dist/cjs/api-model/models/container-identification.js +1 -1
- package/dist/cjs/api-model/models/container-item.js +1 -1
- package/dist/cjs/api-model/models/container-sequence-numbers.js +1 -1
- package/dist/cjs/api-model/models/containers.js +1 -1
- package/dist/cjs/api-model/models/dimensions.js +1 -1
- package/dist/cjs/api-model/models/duration.js +1 -1
- package/dist/cjs/api-model/models/expiry.js +1 -1
- package/dist/cjs/api-model/models/get-shipment-details-response.js +1 -1
- package/dist/cjs/api-model/models/get-shipment-labels.js +15 -0
- package/dist/cjs/api-model/models/import-details.js +1 -1
- package/dist/cjs/api-model/models/index.js +8 -0
- package/dist/cjs/api-model/models/inner-containers-details.js +1 -1
- package/dist/cjs/api-model/models/item-details.js +1 -1
- package/dist/cjs/api-model/models/item-quantity.js +1 -1
- package/dist/cjs/api-model/models/item.js +1 -1
- package/dist/cjs/api-model/models/label-data.js +19 -0
- package/dist/cjs/api-model/models/location.js +1 -1
- package/dist/cjs/api-model/models/model-error.js +1 -1
- package/dist/cjs/api-model/models/money.js +1 -1
- package/dist/cjs/api-model/models/package-item-details.js +1 -1
- package/dist/cjs/api-model/models/packed-items.js +1 -1
- package/dist/cjs/api-model/models/packed-quantity.js +20 -0
- package/dist/cjs/api-model/models/pagination.js +1 -1
- package/dist/cjs/api-model/models/pallet.js +1 -1
- package/dist/cjs/api-model/models/party-identification.js +1 -1
- package/dist/cjs/api-model/models/purchase-order-item-details.js +15 -0
- package/dist/cjs/api-model/models/purchase-order-items.js +1 -1
- package/dist/cjs/api-model/models/purchase-orders.js +1 -1
- package/dist/cjs/api-model/models/route.js +1 -1
- package/dist/cjs/api-model/models/shipment-confirmation.js +1 -1
- package/dist/cjs/api-model/models/shipment-details.js +1 -1
- package/dist/cjs/api-model/models/shipment-information.js +20 -0
- package/dist/cjs/api-model/models/shipment-measurements.js +1 -1
- package/dist/cjs/api-model/models/shipment-status-details.js +1 -1
- package/dist/cjs/api-model/models/shipment.js +1 -1
- package/dist/cjs/api-model/models/stop.js +1 -1
- package/dist/cjs/api-model/models/submit-shipment-confirmations-request.js +1 -1
- package/dist/cjs/api-model/models/submit-shipment-confirmations-response.js +1 -1
- package/dist/cjs/api-model/models/submit-shipments.js +1 -1
- package/dist/cjs/api-model/models/tax-registration-details.js +1 -1
- package/dist/cjs/api-model/models/total-weight.js +1 -1
- package/dist/cjs/api-model/models/transaction-reference.js +1 -1
- package/dist/cjs/api-model/models/transport-label.js +15 -0
- package/dist/cjs/api-model/models/transport-shipment-measurements.js +1 -1
- package/dist/cjs/api-model/models/transportation-details-for-shipment-confirmation.js +1 -1
- package/dist/cjs/api-model/models/transportation-details.js +1 -1
- package/dist/cjs/api-model/models/transportation-labels.js +15 -0
- package/dist/cjs/api-model/models/vendor-details.js +15 -0
- package/dist/cjs/api-model/models/volume.js +1 -1
- package/dist/cjs/api-model/models/weight.js +1 -1
- package/dist/cjs/client.js +8 -1
- package/dist/es/api-model/api/{vendor-shipments-api.js → vendor-shipping-api.js} +132 -27
- package/dist/es/api-model/api.js +2 -2
- package/dist/es/api-model/base.js +1 -1
- package/dist/es/api-model/common.js +1 -1
- package/dist/es/api-model/configuration.js +1 -1
- package/dist/es/api-model/index.js +1 -1
- package/dist/es/api-model/models/address.js +1 -1
- package/dist/es/api-model/models/carrier-details.js +1 -1
- package/dist/es/api-model/models/carton-reference-details.js +1 -1
- package/dist/es/api-model/models/carton.js +1 -1
- package/dist/es/api-model/models/collect-freight-pickup-details.js +1 -1
- package/dist/es/api-model/models/container-identification.js +1 -1
- package/dist/es/api-model/models/container-item.js +1 -1
- package/dist/es/api-model/models/container-sequence-numbers.js +1 -1
- package/dist/es/api-model/models/containers.js +1 -1
- package/dist/es/api-model/models/dimensions.js +1 -1
- package/dist/es/api-model/models/duration.js +1 -1
- package/dist/es/api-model/models/expiry.js +1 -1
- package/dist/es/api-model/models/get-shipment-details-response.js +1 -1
- package/dist/es/api-model/models/get-shipment-labels.js +14 -0
- package/dist/es/api-model/models/import-details.js +1 -1
- package/dist/es/api-model/models/index.js +8 -0
- package/dist/es/api-model/models/inner-containers-details.js +1 -1
- package/dist/es/api-model/models/item-details.js +1 -1
- package/dist/es/api-model/models/item-quantity.js +1 -1
- package/dist/es/api-model/models/item.js +1 -1
- package/dist/es/api-model/models/label-data.js +16 -0
- package/dist/es/api-model/models/location.js +1 -1
- package/dist/es/api-model/models/model-error.js +1 -1
- package/dist/es/api-model/models/money.js +1 -1
- package/dist/es/api-model/models/package-item-details.js +1 -1
- package/dist/es/api-model/models/packed-items.js +1 -1
- package/dist/es/api-model/models/packed-quantity.js +17 -0
- package/dist/es/api-model/models/pagination.js +1 -1
- package/dist/es/api-model/models/pallet.js +1 -1
- package/dist/es/api-model/models/party-identification.js +1 -1
- package/dist/es/api-model/models/purchase-order-item-details.js +14 -0
- package/dist/es/api-model/models/purchase-order-items.js +1 -1
- package/dist/es/api-model/models/purchase-orders.js +1 -1
- package/dist/es/api-model/models/route.js +1 -1
- package/dist/es/api-model/models/shipment-confirmation.js +1 -1
- package/dist/es/api-model/models/shipment-details.js +1 -1
- package/dist/es/api-model/models/shipment-information.js +17 -0
- package/dist/es/api-model/models/shipment-measurements.js +1 -1
- package/dist/es/api-model/models/shipment-status-details.js +1 -1
- package/dist/es/api-model/models/shipment.js +1 -1
- package/dist/es/api-model/models/stop.js +1 -1
- package/dist/es/api-model/models/submit-shipment-confirmations-request.js +1 -1
- package/dist/es/api-model/models/submit-shipment-confirmations-response.js +1 -1
- package/dist/es/api-model/models/submit-shipments.js +1 -1
- package/dist/es/api-model/models/tax-registration-details.js +1 -1
- package/dist/es/api-model/models/total-weight.js +1 -1
- package/dist/es/api-model/models/transaction-reference.js +1 -1
- package/dist/es/api-model/models/transport-label.js +14 -0
- package/dist/es/api-model/models/transport-shipment-measurements.js +1 -1
- package/dist/es/api-model/models/transportation-details-for-shipment-confirmation.js +1 -1
- package/dist/es/api-model/models/transportation-details.js +1 -1
- package/dist/es/api-model/models/transportation-labels.js +14 -0
- package/dist/es/api-model/models/vendor-details.js +14 -0
- package/dist/es/api-model/models/volume.js +1 -1
- package/dist/es/api-model/models/weight.js +1 -1
- package/dist/es/client.js +9 -2
- package/dist/types/api-model/api/{vendor-shipments-api.d.ts → vendor-shipping-api.d.ts} +167 -60
- package/dist/types/api-model/api.d.ts +2 -2
- package/dist/types/api-model/base.d.ts +1 -1
- package/dist/types/api-model/common.d.ts +1 -1
- package/dist/types/api-model/configuration.d.ts +1 -1
- package/dist/types/api-model/index.d.ts +1 -1
- package/dist/types/api-model/models/address.d.ts +1 -1
- package/dist/types/api-model/models/carrier-details.d.ts +1 -1
- package/dist/types/api-model/models/carton-reference-details.d.ts +1 -1
- package/dist/types/api-model/models/carton.d.ts +1 -1
- package/dist/types/api-model/models/collect-freight-pickup-details.d.ts +1 -1
- package/dist/types/api-model/models/container-identification.d.ts +1 -1
- package/dist/types/api-model/models/container-item.d.ts +1 -1
- package/dist/types/api-model/models/container-sequence-numbers.d.ts +1 -1
- package/dist/types/api-model/models/containers.d.ts +1 -1
- package/dist/types/api-model/models/dimensions.d.ts +1 -1
- package/dist/types/api-model/models/duration.d.ts +1 -1
- package/dist/types/api-model/models/expiry.d.ts +1 -1
- package/dist/types/api-model/models/get-shipment-details-response.d.ts +1 -1
- package/dist/types/api-model/models/get-shipment-labels.d.ts +31 -0
- package/dist/types/api-model/models/import-details.d.ts +1 -1
- package/dist/types/api-model/models/index.d.ts +8 -0
- package/dist/types/api-model/models/inner-containers-details.d.ts +1 -1
- package/dist/types/api-model/models/item-details.d.ts +1 -1
- package/dist/types/api-model/models/item-quantity.d.ts +1 -1
- package/dist/types/api-model/models/item.d.ts +1 -1
- package/dist/types/api-model/models/label-data.d.ts +52 -0
- package/dist/types/api-model/models/location.d.ts +1 -1
- package/dist/types/api-model/models/model-error.d.ts +1 -1
- package/dist/types/api-model/models/money.d.ts +1 -1
- package/dist/types/api-model/models/package-item-details.d.ts +1 -1
- package/dist/types/api-model/models/packed-items.d.ts +1 -1
- package/dist/types/api-model/models/packed-quantity.d.ts +41 -0
- package/dist/types/api-model/models/pagination.d.ts +1 -1
- package/dist/types/api-model/models/pallet.d.ts +1 -1
- package/dist/types/api-model/models/party-identification.d.ts +1 -1
- package/dist/types/api-model/models/purchase-order-item-details.d.ts +25 -0
- package/dist/types/api-model/models/purchase-order-items.d.ts +1 -1
- package/dist/types/api-model/models/purchase-orders.d.ts +1 -1
- package/dist/types/api-model/models/route.d.ts +1 -1
- package/dist/types/api-model/models/shipment-confirmation.d.ts +1 -1
- package/dist/types/api-model/models/shipment-details.d.ts +1 -1
- package/dist/types/api-model/models/shipment-information.d.ts +73 -0
- package/dist/types/api-model/models/shipment-measurements.d.ts +1 -1
- package/dist/types/api-model/models/shipment-status-details.d.ts +1 -1
- package/dist/types/api-model/models/shipment.d.ts +1 -1
- package/dist/types/api-model/models/stop.d.ts +1 -1
- package/dist/types/api-model/models/submit-shipment-confirmations-request.d.ts +1 -1
- package/dist/types/api-model/models/submit-shipment-confirmations-response.d.ts +1 -1
- package/dist/types/api-model/models/submit-shipments.d.ts +1 -1
- package/dist/types/api-model/models/tax-registration-details.d.ts +1 -1
- package/dist/types/api-model/models/total-weight.d.ts +3 -3
- package/dist/types/api-model/models/transaction-reference.d.ts +1 -1
- package/dist/types/api-model/models/transport-label.d.ts +38 -0
- package/dist/types/api-model/models/transport-shipment-measurements.d.ts +1 -1
- package/dist/types/api-model/models/transportation-details-for-shipment-confirmation.d.ts +1 -1
- package/dist/types/api-model/models/transportation-details.d.ts +1 -1
- package/dist/types/api-model/models/transportation-labels.d.ts +32 -0
- package/dist/types/api-model/models/vendor-details.d.ts +31 -0
- package/dist/types/api-model/models/volume.d.ts +1 -1
- package/dist/types/api-model/models/weight.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +3 -3
|
@@ -0,0 +1,31 @@
|
|
|
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 type { TransportationLabels } from './transportation-labels';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the GetShipmentLabels operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetShipmentLabels
|
|
17
|
+
*/
|
|
18
|
+
export interface GetShipmentLabels {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {TransportationLabels}
|
|
22
|
+
* @memberof GetShipmentLabels
|
|
23
|
+
*/
|
|
24
|
+
'payload'?: TransportationLabels;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof GetShipmentLabels
|
|
29
|
+
*/
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -11,25 +11,30 @@ export * from './dimensions';
|
|
|
11
11
|
export * from './duration';
|
|
12
12
|
export * from './expiry';
|
|
13
13
|
export * from './get-shipment-details-response';
|
|
14
|
+
export * from './get-shipment-labels';
|
|
14
15
|
export * from './import-details';
|
|
15
16
|
export * from './inner-containers-details';
|
|
16
17
|
export * from './item';
|
|
17
18
|
export * from './item-details';
|
|
18
19
|
export * from './item-quantity';
|
|
20
|
+
export * from './label-data';
|
|
19
21
|
export * from './location';
|
|
20
22
|
export * from './model-error';
|
|
21
23
|
export * from './money';
|
|
22
24
|
export * from './package-item-details';
|
|
23
25
|
export * from './packed-items';
|
|
26
|
+
export * from './packed-quantity';
|
|
24
27
|
export * from './pagination';
|
|
25
28
|
export * from './pallet';
|
|
26
29
|
export * from './party-identification';
|
|
30
|
+
export * from './purchase-order-item-details';
|
|
27
31
|
export * from './purchase-order-items';
|
|
28
32
|
export * from './purchase-orders';
|
|
29
33
|
export * from './route';
|
|
30
34
|
export * from './shipment';
|
|
31
35
|
export * from './shipment-confirmation';
|
|
32
36
|
export * from './shipment-details';
|
|
37
|
+
export * from './shipment-information';
|
|
33
38
|
export * from './shipment-measurements';
|
|
34
39
|
export * from './shipment-status-details';
|
|
35
40
|
export * from './stop';
|
|
@@ -39,8 +44,11 @@ export * from './submit-shipments';
|
|
|
39
44
|
export * from './tax-registration-details';
|
|
40
45
|
export * from './total-weight';
|
|
41
46
|
export * from './transaction-reference';
|
|
47
|
+
export * from './transport-label';
|
|
42
48
|
export * from './transport-shipment-measurements';
|
|
43
49
|
export * from './transportation-details';
|
|
44
50
|
export * from './transportation-details-for-shipment-confirmation';
|
|
51
|
+
export * from './transportation-labels';
|
|
52
|
+
export * from './vendor-details';
|
|
45
53
|
export * from './volume';
|
|
46
54
|
export * from './weight';
|
|
@@ -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
|
+
* Label details as part of the transport label response
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LabelData
|
|
16
|
+
*/
|
|
17
|
+
export interface LabelData {
|
|
18
|
+
/**
|
|
19
|
+
* A sequential number assigned to each label within a shipment.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof LabelData
|
|
22
|
+
*/
|
|
23
|
+
'labelSequenceNumber'?: number;
|
|
24
|
+
/**
|
|
25
|
+
* The format of the label.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LabelData
|
|
28
|
+
*/
|
|
29
|
+
'labelFormat'?: LabelDataLabelFormatEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identification of the carrier.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LabelData
|
|
34
|
+
*/
|
|
35
|
+
'carrierCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Tracking Id for the transportation.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LabelData
|
|
40
|
+
*/
|
|
41
|
+
'trackingId'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The base-64 encoded string that represents the shipment label.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LabelData
|
|
46
|
+
*/
|
|
47
|
+
'label'?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const LabelDataLabelFormatEnum: {
|
|
50
|
+
readonly Pdf: "PDF";
|
|
51
|
+
};
|
|
52
|
+
export type LabelDataLabelFormatEnum = typeof LabelDataLabelFormatEnum[keyof typeof LabelDataLabelFormatEnum];
|
|
@@ -0,0 +1,41 @@
|
|
|
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 PackedQuantity
|
|
16
|
+
*/
|
|
17
|
+
export interface PackedQuantity {
|
|
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 PackedQuantity
|
|
22
|
+
*/
|
|
23
|
+
'amount': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unit of measure for the shipped quantity.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PackedQuantity
|
|
28
|
+
*/
|
|
29
|
+
'unitOfMeasure': PackedQuantityUnitOfMeasureEnum;
|
|
30
|
+
/**
|
|
31
|
+
* The case size, in the event that we ordered using cases. Otherwise, 1.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PackedQuantity
|
|
34
|
+
*/
|
|
35
|
+
'unitSize'?: number;
|
|
36
|
+
}
|
|
37
|
+
export declare const PackedQuantityUnitOfMeasureEnum: {
|
|
38
|
+
readonly Cases: "Cases";
|
|
39
|
+
readonly Eaches: "Eaches";
|
|
40
|
+
};
|
|
41
|
+
export type PackedQuantityUnitOfMeasureEnum = typeof PackedQuantityUnitOfMeasureEnum[keyof typeof PackedQuantityUnitOfMeasureEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
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 type { Money } from './money';
|
|
13
|
+
/**
|
|
14
|
+
* Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PurchaseOrderItemDetails
|
|
17
|
+
*/
|
|
18
|
+
export interface PurchaseOrderItemDetails {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Money}
|
|
22
|
+
* @memberof PurchaseOrderItemDetails
|
|
23
|
+
*/
|
|
24
|
+
'maximumRetailPrice'?: Money;
|
|
25
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 type { PartyIdentification } from './party-identification';
|
|
13
|
+
import type { VendorDetails } from './vendor-details';
|
|
14
|
+
/**
|
|
15
|
+
* Shipment Information details for Label request.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ShipmentInformation
|
|
18
|
+
*/
|
|
19
|
+
export interface ShipmentInformation {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {VendorDetails}
|
|
23
|
+
* @memberof ShipmentInformation
|
|
24
|
+
*/
|
|
25
|
+
'vendorDetails'?: VendorDetails;
|
|
26
|
+
/**
|
|
27
|
+
* The buyer reference number is a unique identifier generated by the buyer for all Collect and WePay shipments.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ShipmentInformation
|
|
30
|
+
*/
|
|
31
|
+
'buyerReferenceNumber'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {PartyIdentification}
|
|
35
|
+
* @memberof ShipmentInformation
|
|
36
|
+
*/
|
|
37
|
+
'shipToParty'?: PartyIdentification;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {PartyIdentification}
|
|
41
|
+
* @memberof ShipmentInformation
|
|
42
|
+
*/
|
|
43
|
+
'shipFromParty'?: PartyIdentification;
|
|
44
|
+
/**
|
|
45
|
+
* Vendor Warehouse ID from where the shipment is scheduled to be picked up by buyer / Carrier.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ShipmentInformation
|
|
48
|
+
*/
|
|
49
|
+
'warehouseId'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Unique Id with which the shipment can be tracked for Small Parcels.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ShipmentInformation
|
|
54
|
+
*/
|
|
55
|
+
'masterTrackingId'?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Number of Labels that are created as part of this shipment.
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof ShipmentInformation
|
|
60
|
+
*/
|
|
61
|
+
'totalLabelCount'?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Type of shipment whether it is Small Parcel
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ShipmentInformation
|
|
66
|
+
*/
|
|
67
|
+
'shipMode'?: ShipmentInformationShipModeEnum;
|
|
68
|
+
}
|
|
69
|
+
export declare const ShipmentInformationShipModeEnum: {
|
|
70
|
+
readonly SmallParcel: "SmallParcel";
|
|
71
|
+
readonly Ltl: "LTL";
|
|
72
|
+
};
|
|
73
|
+
export type ShipmentInformationShipModeEnum = typeof ShipmentInformationShipModeEnum[keyof typeof ShipmentInformationShipModeEnum];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Selling Partner API for Retail Procurement Shipments
|
|
3
3
|
* The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* The total weight of units that are sold by weight in a shipment.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface TotalWeight
|
|
16
16
|
*/
|
|
17
17
|
export interface TotalWeight {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The unit of measure for the weight of items that are ordered by cases and support pricing by weight.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof TotalWeight
|
|
22
22
|
*/
|
|
@@ -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 type { LabelData } from './label-data';
|
|
13
|
+
import type { ShipmentInformation } from './shipment-information';
|
|
14
|
+
/**
|
|
15
|
+
* A list of one or more ShipmentLabels.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface TransportLabel
|
|
18
|
+
*/
|
|
19
|
+
export interface TransportLabel {
|
|
20
|
+
/**
|
|
21
|
+
* Date on which label is created.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof TransportLabel
|
|
24
|
+
*/
|
|
25
|
+
'labelCreateDateTime'?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ShipmentInformation}
|
|
29
|
+
* @memberof TransportLabel
|
|
30
|
+
*/
|
|
31
|
+
'shipmentInformation'?: ShipmentInformation;
|
|
32
|
+
/**
|
|
33
|
+
* Indicates the label data,format and type associated .
|
|
34
|
+
* @type {Array<LabelData>}
|
|
35
|
+
* @memberof TransportLabel
|
|
36
|
+
*/
|
|
37
|
+
'labelData'?: Array<LabelData>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 type { Pagination } from './pagination';
|
|
13
|
+
import type { TransportLabel } from './transport-label';
|
|
14
|
+
/**
|
|
15
|
+
* The request schema for the GetShipmentLabels operation.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface TransportationLabels
|
|
18
|
+
*/
|
|
19
|
+
export interface TransportationLabels {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof TransportationLabels
|
|
24
|
+
*/
|
|
25
|
+
'pagination'?: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
* A list of one or more ShipmentLabels.
|
|
28
|
+
* @type {Array<TransportLabel>}
|
|
29
|
+
* @memberof TransportationLabels
|
|
30
|
+
*/
|
|
31
|
+
'transportLabels'?: Array<TransportLabel>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 type { PartyIdentification } from './party-identification';
|
|
13
|
+
/**
|
|
14
|
+
* Vendor Details as part of Label response.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface VendorDetails
|
|
17
|
+
*/
|
|
18
|
+
export interface VendorDetails {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {PartyIdentification}
|
|
22
|
+
* @memberof VendorDetails
|
|
23
|
+
*/
|
|
24
|
+
'sellingParty'?: PartyIdentification;
|
|
25
|
+
/**
|
|
26
|
+
* Unique vendor shipment id which is not used in last 365 days
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof VendorDetails
|
|
29
|
+
*/
|
|
30
|
+
'vendorShipmentIdentifier'?: string;
|
|
31
|
+
}
|