@sp-api-sdk/shipping-api-v2 2.1.4 → 2.1.6
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/shipping-api.js +0 -89
- 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/cjs/api-model/models/access-point-type.js +0 -2
- package/dist/cjs/api-model/models/account-status.js +0 -2
- package/dist/cjs/api-model/models/account-type.js +0 -2
- package/dist/cjs/api-model/models/channel-type.js +0 -2
- package/dist/cjs/api-model/models/claim-reason.js +0 -2
- package/dist/cjs/api-model/models/detail-codes.js +0 -2
- package/dist/cjs/api-model/models/document-format.js +0 -2
- package/dist/cjs/api-model/models/document-type.js +0 -2
- package/dist/cjs/api-model/models/event-code.js +0 -2
- package/dist/cjs/api-model/models/generation-status.js +0 -2
- package/dist/cjs/api-model/models/ineligibility-reason-code.js +0 -2
- package/dist/cjs/api-model/models/input-type.js +0 -2
- package/dist/cjs/api-model/models/label-attribute.js +0 -2
- package/dist/cjs/api-model/models/ndr-action.js +0 -2
- package/dist/cjs/api-model/models/payment-type.js +0 -2
- package/dist/cjs/api-model/models/rate-item-id.js +0 -2
- package/dist/cjs/api-model/models/rate-item-type.js +0 -2
- package/dist/cjs/api-model/models/settlement-type.js +0 -2
- package/dist/cjs/api-model/models/shipment-type.js +0 -2
- package/dist/cjs/api-model/models/status.js +0 -2
- package/dist/cjs/api-model/models/tax-type.js +0 -2
- package/dist/es/api-model/api/shipping-api.js +0 -89
- 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/es/api-model/models/access-point-type.js +0 -2
- package/dist/es/api-model/models/account-status.js +0 -2
- package/dist/es/api-model/models/account-type.js +0 -2
- package/dist/es/api-model/models/channel-type.js +0 -2
- package/dist/es/api-model/models/claim-reason.js +0 -2
- package/dist/es/api-model/models/detail-codes.js +0 -2
- package/dist/es/api-model/models/document-format.js +0 -2
- package/dist/es/api-model/models/document-type.js +0 -2
- package/dist/es/api-model/models/event-code.js +0 -2
- package/dist/es/api-model/models/generation-status.js +0 -2
- package/dist/es/api-model/models/ineligibility-reason-code.js +0 -2
- package/dist/es/api-model/models/input-type.js +0 -2
- package/dist/es/api-model/models/label-attribute.js +0 -2
- package/dist/es/api-model/models/ndr-action.js +0 -2
- package/dist/es/api-model/models/payment-type.js +0 -2
- package/dist/es/api-model/models/rate-item-id.js +0 -2
- package/dist/es/api-model/models/rate-item-type.js +0 -2
- package/dist/es/api-model/models/settlement-type.js +0 -2
- package/dist/es/api-model/models/shipment-type.js +0 -2
- package/dist/es/api-model/models/status.js +0 -2
- package/dist/es/api-model/models/tax-type.js +0 -2
- package/dist/types/api-model/api/shipping-api.d.ts +0 -235
- 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/access-point-details.d.ts +0 -4
- package/dist/types/api-model/models/access-point-type.d.ts +0 -2
- package/dist/types/api-model/models/access-point.d.ts +0 -31
- package/dist/types/api-model/models/accessibility-attributes.d.ts +0 -6
- package/dist/types/api-model/models/account-status.d.ts +0 -2
- package/dist/types/api-model/models/account-type.d.ts +0 -2
- package/dist/types/api-model/models/active-account.d.ts +0 -6
- package/dist/types/api-model/models/address.d.ts +0 -29
- package/dist/types/api-model/models/amazon-order-details.d.ts +0 -4
- package/dist/types/api-model/models/amazon-shipment-details.d.ts +0 -4
- package/dist/types/api-model/models/available-value-added-service-group.d.ts +0 -10
- package/dist/types/api-model/models/benefits.d.ts +0 -6
- package/dist/types/api-model/models/cancel-shipment-response.d.ts +0 -4
- package/dist/types/api-model/models/carrier-account-attribute.d.ts +0 -8
- package/dist/types/api-model/models/carrier-account-input.d.ts +0 -21
- package/dist/types/api-model/models/carrier-account.d.ts +0 -6
- package/dist/types/api-model/models/carrier.d.ts +0 -6
- package/dist/types/api-model/models/channel-details.d.ts +0 -17
- package/dist/types/api-model/models/channel-type.d.ts +0 -2
- package/dist/types/api-model/models/charge-component.d.ts +0 -9
- package/dist/types/api-model/models/claim-reason.d.ts +0 -2
- package/dist/types/api-model/models/client-reference-detail.d.ts +0 -6
- package/dist/types/api-model/models/collect-on-delivery.d.ts +0 -7
- package/dist/types/api-model/models/collection-forms-history-record.d.ts +0 -18
- package/dist/types/api-model/models/collections-form-document.d.ts +0 -6
- package/dist/types/api-model/models/create-claim-request.d.ts +0 -23
- package/dist/types/api-model/models/create-claim-response.d.ts +0 -4
- package/dist/types/api-model/models/currency.d.ts +0 -6
- package/dist/types/api-model/models/dangerous-goods-details.d.ts +0 -10
- package/dist/types/api-model/models/date-range.d.ts +0 -6
- package/dist/types/api-model/models/detail-codes.d.ts +0 -2
- package/dist/types/api-model/models/dimensions.d.ts +0 -10
- package/dist/types/api-model/models/direct-fulfillment-item-identifiers.d.ts +0 -6
- package/dist/types/api-model/models/direct-purchase-request.d.ts +0 -29
- package/dist/types/api-model/models/direct-purchase-response.d.ts +0 -7
- package/dist/types/api-model/models/direct-purchase-result.d.ts +0 -6
- package/dist/types/api-model/models/document-format.d.ts +0 -2
- package/dist/types/api-model/models/document-size.d.ts +0 -8
- package/dist/types/api-model/models/document-type.d.ts +0 -2
- package/dist/types/api-model/models/error-list.d.ts +0 -4
- package/dist/types/api-model/models/event-code.d.ts +0 -2
- package/dist/types/api-model/models/event.d.ts +0 -19
- package/dist/types/api-model/models/exception-operating-hours.d.ts +0 -12
- package/dist/types/api-model/models/excluded-benefit.d.ts +0 -6
- package/dist/types/api-model/models/generate-collection-form-request.d.ts +0 -11
- package/dist/types/api-model/models/generate-collection-form-response.d.ts +0 -7
- package/dist/types/api-model/models/generation-status.d.ts +0 -2
- package/dist/types/api-model/models/geocode.d.ts +0 -6
- package/dist/types/api-model/models/get-access-points-response.d.ts +0 -7
- package/dist/types/api-model/models/get-access-points-result.d.ts +0 -4
- package/dist/types/api-model/models/get-additional-inputs-response.d.ts +0 -4
- package/dist/types/api-model/models/get-carrier-account-form-inputs-response.d.ts +0 -4
- package/dist/types/api-model/models/get-carrier-accounts-request.d.ts +0 -4
- package/dist/types/api-model/models/get-carrier-accounts-response.d.ts +0 -4
- package/dist/types/api-model/models/get-collection-form-history-request.d.ts +0 -18
- package/dist/types/api-model/models/get-collection-form-history-response.d.ts +0 -6
- package/dist/types/api-model/models/get-collection-form-response.d.ts +0 -7
- package/dist/types/api-model/models/get-rates-request.d.ts +0 -52
- package/dist/types/api-model/models/get-rates-response.d.ts +0 -7
- package/dist/types/api-model/models/get-rates-result.d.ts +0 -8
- package/dist/types/api-model/models/get-shipment-documents-response.d.ts +0 -7
- package/dist/types/api-model/models/get-shipment-documents-result.d.ts +0 -14
- package/dist/types/api-model/models/get-tracking-response.d.ts +0 -7
- package/dist/types/api-model/models/get-tracking-result.d.ts +0 -15
- package/dist/types/api-model/models/get-unmanifested-shipments-request.d.ts +0 -4
- package/dist/types/api-model/models/get-unmanifested-shipments-response.d.ts +0 -4
- package/dist/types/api-model/models/goods-owner.d.ts +0 -4
- package/dist/types/api-model/models/ineligibility-reason-code.d.ts +0 -2
- package/dist/types/api-model/models/ineligibility-reason.d.ts +0 -9
- package/dist/types/api-model/models/ineligible-rate.d.ts +0 -12
- package/dist/types/api-model/models/input-type.d.ts +0 -2
- package/dist/types/api-model/models/invoice-details.d.ts +0 -6
- package/dist/types/api-model/models/item.d.ts +0 -44
- package/dist/types/api-model/models/label-attribute.d.ts +0 -2
- package/dist/types/api-model/models/link-carrier-account-request.d.ts +0 -10
- package/dist/types/api-model/models/link-carrier-account-response.d.ts +0 -9
- package/dist/types/api-model/models/linkable-account-type.d.ts +0 -9
- package/dist/types/api-model/models/linkable-carrier.d.ts +0 -6
- package/dist/types/api-model/models/liquid-volume.d.ts +0 -6
- package/dist/types/api-model/models/location.d.ts +0 -10
- package/dist/types/api-model/models/model-error.d.ts +0 -8
- package/dist/types/api-model/models/ndr-action.d.ts +0 -2
- package/dist/types/api-model/models/ndr-request-data.d.ts +0 -6
- package/dist/types/api-model/models/one-click-shipment-request.d.ts +0 -55
- package/dist/types/api-model/models/one-click-shipment-response.d.ts +0 -7
- package/dist/types/api-model/models/one-click-shipment-result.d.ts +0 -26
- package/dist/types/api-model/models/one-click-shipment-value-added-service.d.ts +0 -9
- package/dist/types/api-model/models/operating-hours.d.ts +0 -14
- package/dist/types/api-model/models/package-document-detail.d.ts +0 -8
- package/dist/types/api-model/models/package-document.d.ts +0 -14
- package/dist/types/api-model/models/package.d.ts +0 -27
- package/dist/types/api-model/models/payment-type.d.ts +0 -2
- package/dist/types/api-model/models/print-option.d.ts +0 -10
- package/dist/types/api-model/models/promise.d.ts +0 -12
- package/dist/types/api-model/models/purchase-shipment-request.d.ts +0 -15
- package/dist/types/api-model/models/purchase-shipment-response.d.ts +0 -7
- package/dist/types/api-model/models/purchase-shipment-result.d.ts +0 -16
- package/dist/types/api-model/models/rate-item-id.d.ts +0 -2
- package/dist/types/api-model/models/rate-item-type.d.ts +0 -2
- package/dist/types/api-model/models/rate-item.d.ts +0 -19
- package/dist/types/api-model/models/rate.d.ts +0 -45
- package/dist/types/api-model/models/requested-document-specification.d.ts +0 -25
- package/dist/types/api-model/models/requested-label-customization.d.ts +0 -4
- package/dist/types/api-model/models/requested-value-added-service.d.ts +0 -4
- package/dist/types/api-model/models/service-selection.d.ts +0 -4
- package/dist/types/api-model/models/service.d.ts +0 -6
- package/dist/types/api-model/models/settlement-type.d.ts +0 -2
- package/dist/types/api-model/models/shipment-type.d.ts +0 -2
- package/dist/types/api-model/models/shipper-instruction.d.ts +0 -4
- package/dist/types/api-model/models/status.d.ts +0 -2
- package/dist/types/api-model/models/submit-ndr-feedback-request.d.ts +0 -14
- package/dist/types/api-model/models/supported-document-detail.d.ts +0 -9
- package/dist/types/api-model/models/supported-document-specification.d.ts +0 -14
- package/dist/types/api-model/models/tax-detail.d.ts +0 -9
- package/dist/types/api-model/models/tax-type.d.ts +0 -2
- package/dist/types/api-model/models/time-of-day.d.ts +0 -8
- package/dist/types/api-model/models/time-window.d.ts +0 -6
- package/dist/types/api-model/models/tracking-detail-codes.d.ts +0 -6
- package/dist/types/api-model/models/tracking-summary.d.ts +0 -12
- package/dist/types/api-model/models/unlink-carrier-account-request.d.ts +0 -6
- package/dist/types/api-model/models/unlink-carrier-account-response.d.ts +0 -4
- package/dist/types/api-model/models/unmanifested-carrier-information.d.ts +0 -8
- package/dist/types/api-model/models/unmanifested-shipment-location.d.ts +0 -9
- package/dist/types/api-model/models/validation-metadata.d.ts +0 -8
- package/dist/types/api-model/models/value-added-service-details.d.ts +0 -7
- package/dist/types/api-model/models/value-added-service.d.ts +0 -11
- package/dist/types/api-model/models/weight.d.ts +0 -6
- package/package.json +25 -4
|
@@ -19,92 +19,47 @@ import type { SupportedDocumentSpecification } from './supported-document-specif
|
|
|
19
19
|
import type { Weight } from './weight';
|
|
20
20
|
/**
|
|
21
21
|
* The details of a shipping service offering.
|
|
22
|
-
* @export
|
|
23
|
-
* @interface Rate
|
|
24
22
|
*/
|
|
25
23
|
export interface Rate {
|
|
26
24
|
/**
|
|
27
25
|
* An identifier for the rate (shipment offering) provided by a shipping service provider.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof Rate
|
|
30
26
|
*/
|
|
31
27
|
'rateId': string;
|
|
32
28
|
/**
|
|
33
29
|
* The carrier identifier for the offering, provided by the carrier.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof Rate
|
|
36
30
|
*/
|
|
37
31
|
'carrierId': string;
|
|
38
32
|
/**
|
|
39
33
|
* The carrier name for the offering.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof Rate
|
|
42
34
|
*/
|
|
43
35
|
'carrierName': string;
|
|
44
36
|
/**
|
|
45
37
|
* An identifier for the shipping service.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof Rate
|
|
48
38
|
*/
|
|
49
39
|
'serviceId': string;
|
|
50
40
|
/**
|
|
51
41
|
* The name of the shipping service.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof Rate
|
|
54
42
|
*/
|
|
55
43
|
'serviceName': string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {Weight}
|
|
59
|
-
* @memberof Rate
|
|
60
|
-
*/
|
|
61
44
|
'billedWeight'?: Weight;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {Currency}
|
|
65
|
-
* @memberof Rate
|
|
66
|
-
*/
|
|
67
45
|
'totalCharge': Currency;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {Promise}
|
|
71
|
-
* @memberof Rate
|
|
72
|
-
*/
|
|
73
46
|
'promise': Promise;
|
|
74
47
|
/**
|
|
75
48
|
* A list of the document specifications supported for a shipment service offering.
|
|
76
|
-
* @type {Array<SupportedDocumentSpecification>}
|
|
77
|
-
* @memberof Rate
|
|
78
49
|
*/
|
|
79
50
|
'supportedDocumentSpecifications': Array<SupportedDocumentSpecification>;
|
|
80
51
|
/**
|
|
81
52
|
* A list of value-added services available for a shipping service offering.
|
|
82
|
-
* @type {Array<AvailableValueAddedServiceGroup>}
|
|
83
|
-
* @memberof Rate
|
|
84
53
|
*/
|
|
85
54
|
'availableValueAddedServiceGroups'?: Array<AvailableValueAddedServiceGroup>;
|
|
86
55
|
/**
|
|
87
56
|
* When true, indicates that additional inputs are required to purchase this shipment service. You must then call the getAdditionalInputs operation to return the JSON schema to use when providing the additional inputs to the purchaseShipment operation.
|
|
88
|
-
* @type {boolean}
|
|
89
|
-
* @memberof Rate
|
|
90
57
|
*/
|
|
91
58
|
'requiresAdditionalInputs': boolean;
|
|
92
59
|
/**
|
|
93
60
|
* A list of RateItem
|
|
94
|
-
* @type {Array<RateItem>}
|
|
95
|
-
* @memberof Rate
|
|
96
61
|
*/
|
|
97
62
|
'rateItemList'?: Array<RateItem>;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {PaymentType}
|
|
101
|
-
* @memberof Rate
|
|
102
|
-
*/
|
|
103
63
|
'paymentType'?: PaymentType;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {Benefits}
|
|
107
|
-
* @memberof Rate
|
|
108
|
-
*/
|
|
109
64
|
'benefits'?: Benefits;
|
|
110
65
|
}
|
|
@@ -15,50 +15,25 @@ import type { DocumentType } from './document-type';
|
|
|
15
15
|
import type { RequestedLabelCustomization } from './requested-label-customization';
|
|
16
16
|
/**
|
|
17
17
|
* The document specifications requested. For calls to the purchaseShipment operation, the shipment purchase fails if the specified document specifications are not among those returned in the response to the getRates operation.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface RequestedDocumentSpecification
|
|
20
18
|
*/
|
|
21
19
|
export interface RequestedDocumentSpecification {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {DocumentFormat}
|
|
25
|
-
* @memberof RequestedDocumentSpecification
|
|
26
|
-
*/
|
|
27
20
|
'format': DocumentFormat;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {DocumentSize}
|
|
31
|
-
* @memberof RequestedDocumentSpecification
|
|
32
|
-
*/
|
|
33
21
|
'size': DocumentSize;
|
|
34
22
|
/**
|
|
35
23
|
* The dots per inch (DPI) value used in printing. This value represents a measure of the resolution of the document.
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof RequestedDocumentSpecification
|
|
38
24
|
*/
|
|
39
25
|
'dpi'?: number;
|
|
40
26
|
/**
|
|
41
27
|
* Indicates the position of the label on the paper. Should be the same value as returned in getRates response.
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof RequestedDocumentSpecification
|
|
44
28
|
*/
|
|
45
29
|
'pageLayout'?: string;
|
|
46
30
|
/**
|
|
47
31
|
* When true, files should be stitched together. Otherwise, files should be returned separately. Defaults to false.
|
|
48
|
-
* @type {boolean}
|
|
49
|
-
* @memberof RequestedDocumentSpecification
|
|
50
32
|
*/
|
|
51
33
|
'needFileJoining': boolean;
|
|
52
34
|
/**
|
|
53
35
|
* A list of the document types requested.
|
|
54
|
-
* @type {Array<DocumentType>}
|
|
55
|
-
* @memberof RequestedDocumentSpecification
|
|
56
36
|
*/
|
|
57
37
|
'requestedDocumentTypes': Array<DocumentType>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {RequestedLabelCustomization}
|
|
61
|
-
* @memberof RequestedDocumentSpecification
|
|
62
|
-
*/
|
|
63
38
|
'requestedLabelCustomization'?: RequestedLabelCustomization;
|
|
64
39
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { LabelAttribute } from './label-attribute';
|
|
13
13
|
/**
|
|
14
14
|
* Object contains customised data requested by a shipper to be printed on a shipping label.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RequestedLabelCustomization
|
|
17
15
|
*/
|
|
18
16
|
export interface RequestedLabelCustomization {
|
|
19
17
|
/**
|
|
20
18
|
* Specify the type of attributes to be added on a label.
|
|
21
|
-
* @type {Array<LabelAttribute>}
|
|
22
|
-
* @memberof RequestedLabelCustomization
|
|
23
19
|
*/
|
|
24
20
|
'requestAttributes'?: Array<LabelAttribute>;
|
|
25
21
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A value-added service to be applied to a shipping service purchase.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface RequestedValueAddedService
|
|
16
14
|
*/
|
|
17
15
|
export interface RequestedValueAddedService {
|
|
18
16
|
/**
|
|
19
17
|
* The identifier of the selected value-added service. Must be among those returned in the response to the getRates operation.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof RequestedValueAddedService
|
|
22
18
|
*/
|
|
23
19
|
'id': string;
|
|
24
20
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Service Selection Criteria.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ServiceSelection
|
|
16
14
|
*/
|
|
17
15
|
export interface ServiceSelection {
|
|
18
16
|
/**
|
|
19
17
|
* A list of ServiceId.
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof ServiceSelection
|
|
22
18
|
*/
|
|
23
19
|
'serviceId': Array<string>;
|
|
24
20
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Service Related Info
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Service
|
|
16
14
|
*/
|
|
17
15
|
export interface Service {
|
|
18
16
|
/**
|
|
19
17
|
* An identifier for the shipping service.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Service
|
|
22
18
|
*/
|
|
23
19
|
'id': string;
|
|
24
20
|
/**
|
|
25
21
|
* The name of the shipping service.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Service
|
|
28
22
|
*/
|
|
29
23
|
'name': string;
|
|
30
24
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The shipper instruction.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ShipperInstruction
|
|
16
14
|
*/
|
|
17
15
|
export interface ShipperInstruction {
|
|
18
16
|
/**
|
|
19
17
|
* The delivery notes for the shipment
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ShipperInstruction
|
|
22
18
|
*/
|
|
23
19
|
'deliveryNotes'?: string;
|
|
24
20
|
}
|
|
@@ -13,26 +13,12 @@ import type { NdrAction } from './ndr-action';
|
|
|
13
13
|
import type { NdrRequestData } from './ndr-request-data';
|
|
14
14
|
/**
|
|
15
15
|
* The request schema for the NdrFeedback operation
|
|
16
|
-
* @export
|
|
17
|
-
* @interface SubmitNdrFeedbackRequest
|
|
18
16
|
*/
|
|
19
17
|
export interface SubmitNdrFeedbackRequest {
|
|
20
18
|
/**
|
|
21
19
|
* The carrier generated identifier for a package in a purchased shipment.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof SubmitNdrFeedbackRequest
|
|
24
20
|
*/
|
|
25
21
|
'trackingId': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {NdrAction}
|
|
29
|
-
* @memberof SubmitNdrFeedbackRequest
|
|
30
|
-
*/
|
|
31
22
|
'ndrAction': NdrAction;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {NdrRequestData}
|
|
35
|
-
* @memberof SubmitNdrFeedbackRequest
|
|
36
|
-
*/
|
|
37
23
|
'ndrRequestData'?: NdrRequestData;
|
|
38
24
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { DocumentType } from './document-type';
|
|
13
13
|
/**
|
|
14
14
|
* The supported document types for a service offering.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SupportedDocumentDetail
|
|
17
15
|
*/
|
|
18
16
|
export interface SupportedDocumentDetail {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {DocumentType}
|
|
22
|
-
* @memberof SupportedDocumentDetail
|
|
23
|
-
*/
|
|
24
17
|
'name': DocumentType;
|
|
25
18
|
/**
|
|
26
19
|
* When true, the supported document type is required.
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof SupportedDocumentDetail
|
|
29
20
|
*/
|
|
30
21
|
'isMandatory': boolean;
|
|
31
22
|
}
|
|
@@ -14,26 +14,12 @@ import type { DocumentSize } from './document-size';
|
|
|
14
14
|
import type { PrintOption } from './print-option';
|
|
15
15
|
/**
|
|
16
16
|
* Document specification that is supported for a service offering.
|
|
17
|
-
* @export
|
|
18
|
-
* @interface SupportedDocumentSpecification
|
|
19
17
|
*/
|
|
20
18
|
export interface SupportedDocumentSpecification {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {DocumentFormat}
|
|
24
|
-
* @memberof SupportedDocumentSpecification
|
|
25
|
-
*/
|
|
26
19
|
'format': DocumentFormat;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {DocumentSize}
|
|
30
|
-
* @memberof SupportedDocumentSpecification
|
|
31
|
-
*/
|
|
32
20
|
'size': DocumentSize;
|
|
33
21
|
/**
|
|
34
22
|
* A list of the format options for a label.
|
|
35
|
-
* @type {Array<PrintOption>}
|
|
36
|
-
* @memberof SupportedDocumentSpecification
|
|
37
23
|
*/
|
|
38
24
|
'printOptions': Array<PrintOption>;
|
|
39
25
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { TaxType } from './tax-type';
|
|
13
13
|
/**
|
|
14
14
|
* Indicates the tax specifications associated with the shipment for customs compliance purposes in certain regions.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TaxDetail
|
|
17
15
|
*/
|
|
18
16
|
export interface TaxDetail {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {TaxType}
|
|
22
|
-
* @memberof TaxDetail
|
|
23
|
-
*/
|
|
24
17
|
'taxType': TaxType;
|
|
25
18
|
/**
|
|
26
19
|
* The shipper\'s tax registration number associated with the shipment for customs compliance purposes in certain regions.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof TaxDetail
|
|
29
20
|
*/
|
|
30
21
|
'taxRegistrationNumber': string;
|
|
31
22
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Denotes time of the day, used for defining opening or closing time of access points
|
|
14
|
-
* @export
|
|
15
|
-
* @interface TimeOfDay
|
|
16
14
|
*/
|
|
17
15
|
export interface TimeOfDay {
|
|
18
16
|
/**
|
|
19
17
|
* Denotes hour of the day, used for defining opening or closing time of access points
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof TimeOfDay
|
|
22
18
|
*/
|
|
23
19
|
'hourOfDay'?: number;
|
|
24
20
|
/**
|
|
25
21
|
* Denotes minute of the hour, used for defining opening or closing time of access points
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof TimeOfDay
|
|
28
22
|
*/
|
|
29
23
|
'minuteOfHour'?: number;
|
|
30
24
|
/**
|
|
31
25
|
* Denotes second of the minute, used for defining opening or closing time of access points
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof TimeOfDay
|
|
34
26
|
*/
|
|
35
27
|
'secondOfMinute'?: number;
|
|
36
28
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The start and end time that specifies the time interval of an event.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface TimeWindow
|
|
16
14
|
*/
|
|
17
15
|
export interface TimeWindow {
|
|
18
16
|
/**
|
|
19
17
|
* The start time of the time window.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TimeWindow
|
|
22
18
|
*/
|
|
23
19
|
'start'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* The end time of the time window.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TimeWindow
|
|
28
22
|
*/
|
|
29
23
|
'end'?: string;
|
|
30
24
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { DetailCodes } from './detail-codes';
|
|
13
13
|
/**
|
|
14
14
|
* Contains detail codes that provide additional details related to the forward and return leg of the shipment.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TrackingDetailCodes
|
|
17
15
|
*/
|
|
18
16
|
export interface TrackingDetailCodes {
|
|
19
17
|
/**
|
|
20
18
|
* Contains detail codes that provide additional details related to the forward leg of the shipment.
|
|
21
|
-
* @type {Array<DetailCodes>}
|
|
22
|
-
* @memberof TrackingDetailCodes
|
|
23
19
|
*/
|
|
24
20
|
'forward': Array<DetailCodes>;
|
|
25
21
|
/**
|
|
26
22
|
* Contains detail codes that provide additional details related to the return leg of the shipment.
|
|
27
|
-
* @type {Array<DetailCodes>}
|
|
28
|
-
* @memberof TrackingDetailCodes
|
|
29
23
|
*/
|
|
30
24
|
'returns': Array<DetailCodes>;
|
|
31
25
|
}
|
|
@@ -13,20 +13,8 @@ import type { Status } from './status';
|
|
|
13
13
|
import type { TrackingDetailCodes } from './tracking-detail-codes';
|
|
14
14
|
/**
|
|
15
15
|
* A package status summary.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface TrackingSummary
|
|
18
16
|
*/
|
|
19
17
|
export interface TrackingSummary {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Status}
|
|
23
|
-
* @memberof TrackingSummary
|
|
24
|
-
*/
|
|
25
18
|
'status'?: Status;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {TrackingDetailCodes}
|
|
29
|
-
* @memberof TrackingSummary
|
|
30
|
-
*/
|
|
31
19
|
'trackingDetailCodes'?: TrackingDetailCodes;
|
|
32
20
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { ClientReferenceDetail } from './client-reference-detail';
|
|
13
13
|
/**
|
|
14
14
|
* The request schema for remove the Carrier Account associated with the provided merchant.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UnlinkCarrierAccountRequest
|
|
17
15
|
*/
|
|
18
16
|
export interface UnlinkCarrierAccountRequest {
|
|
19
17
|
/**
|
|
20
18
|
* Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
|
|
21
|
-
* @type {Array<ClientReferenceDetail>}
|
|
22
|
-
* @memberof UnlinkCarrierAccountRequest
|
|
23
19
|
*/
|
|
24
20
|
'clientReferenceDetails'?: Array<ClientReferenceDetail>;
|
|
25
21
|
/**
|
|
26
22
|
* Identifier for the seller\'s carrier account.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof UnlinkCarrierAccountRequest
|
|
29
23
|
*/
|
|
30
24
|
'accountId'?: string;
|
|
31
25
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The Response for the UnlinkCarrierAccountResponse operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UnlinkCarrierAccountResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface UnlinkCarrierAccountResponse {
|
|
18
16
|
/**
|
|
19
17
|
* Is Carrier unlinked from Merchant
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof UnlinkCarrierAccountResponse
|
|
22
18
|
*/
|
|
23
19
|
'isUnlinked'?: boolean;
|
|
24
20
|
}
|
|
@@ -12,26 +12,18 @@
|
|
|
12
12
|
import type { UnmanifestedShipmentLocation } from './unmanifested-shipment-location';
|
|
13
13
|
/**
|
|
14
14
|
* UnmanifestedCarrierInformation like carrierId CarrierName and Location
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UnmanifestedCarrierInformation
|
|
17
15
|
*/
|
|
18
16
|
export interface UnmanifestedCarrierInformation {
|
|
19
17
|
/**
|
|
20
18
|
* The carrier identifier for the offering, provided by the carrier.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof UnmanifestedCarrierInformation
|
|
23
19
|
*/
|
|
24
20
|
'carrierId'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* The carrier name for the offering.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof UnmanifestedCarrierInformation
|
|
29
23
|
*/
|
|
30
24
|
'carrierName'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* A list of UnmanifestedShipmentLocation
|
|
33
|
-
* @type {Array<UnmanifestedShipmentLocation>}
|
|
34
|
-
* @memberof UnmanifestedCarrierInformation
|
|
35
27
|
*/
|
|
36
28
|
'unmanifestedShipmentLocationList'?: Array<UnmanifestedShipmentLocation>;
|
|
37
29
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { Address } from './address';
|
|
13
13
|
/**
|
|
14
14
|
* UnmanifestedShipmentLocation info
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UnmanifestedShipmentLocation
|
|
17
15
|
*/
|
|
18
16
|
export interface UnmanifestedShipmentLocation {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Address}
|
|
22
|
-
* @memberof UnmanifestedShipmentLocation
|
|
23
|
-
*/
|
|
24
17
|
'address'?: Address;
|
|
25
18
|
/**
|
|
26
19
|
* Its Last Manifest Date.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof UnmanifestedShipmentLocation
|
|
29
20
|
*/
|
|
30
21
|
'lastManifestDate'?: string;
|
|
31
22
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* ValidationMetadata Details
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ValidationMetadata
|
|
16
14
|
*/
|
|
17
15
|
export interface ValidationMetadata {
|
|
18
16
|
/**
|
|
19
17
|
* errorMessage for the error.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ValidationMetadata
|
|
22
18
|
*/
|
|
23
19
|
'errorMessage'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* validationStrategy for the error.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ValidationMetadata
|
|
28
22
|
*/
|
|
29
23
|
'validationStrategy'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* Value.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ValidationMetadata
|
|
34
26
|
*/
|
|
35
27
|
'value'?: string;
|
|
36
28
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { CollectOnDelivery } from './collect-on-delivery';
|
|
13
13
|
/**
|
|
14
14
|
* A collection of supported value-added services.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ValueAddedServiceDetails
|
|
17
15
|
*/
|
|
18
16
|
export interface ValueAddedServiceDetails {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {CollectOnDelivery}
|
|
22
|
-
* @memberof ValueAddedServiceDetails
|
|
23
|
-
*/
|
|
24
17
|
'collectOnDelivery'?: CollectOnDelivery;
|
|
25
18
|
}
|
|
@@ -12,26 +12,15 @@
|
|
|
12
12
|
import type { Currency } from './currency';
|
|
13
13
|
/**
|
|
14
14
|
* A value-added service available for purchase with a shipment service offering.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ValueAddedService
|
|
17
15
|
*/
|
|
18
16
|
export interface ValueAddedService {
|
|
19
17
|
/**
|
|
20
18
|
* The identifier for the value-added service.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ValueAddedService
|
|
23
19
|
*/
|
|
24
20
|
'id': string;
|
|
25
21
|
/**
|
|
26
22
|
* The name of the value-added service.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ValueAddedService
|
|
29
23
|
*/
|
|
30
24
|
'name': string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Currency}
|
|
34
|
-
* @memberof ValueAddedService
|
|
35
|
-
*/
|
|
36
25
|
'cost': Currency;
|
|
37
26
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The weight in the units indicated.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Weight
|
|
16
14
|
*/
|
|
17
15
|
export interface Weight {
|
|
18
16
|
/**
|
|
19
17
|
* The unit of measurement.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Weight
|
|
22
18
|
*/
|
|
23
19
|
'unit': WeightUnitEnum;
|
|
24
20
|
/**
|
|
25
21
|
* The measurement value.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof Weight
|
|
28
22
|
*/
|
|
29
23
|
'value': number;
|
|
30
24
|
}
|