@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
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { LinkableCarrier } from './linkable-carrier';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GetCarrierAccountFormInputsResponse operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetCarrierAccountFormInputsResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetCarrierAccountFormInputsResponse {
|
|
19
17
|
/**
|
|
20
18
|
* A list of LinkableCarrier
|
|
21
|
-
* @type {Array<LinkableCarrier>}
|
|
22
|
-
* @memberof GetCarrierAccountFormInputsResponse
|
|
23
19
|
*/
|
|
24
20
|
'linkableCarriersList'?: Array<LinkableCarrier>;
|
|
25
21
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { ClientReferenceDetail } from './client-reference-detail';
|
|
13
13
|
/**
|
|
14
14
|
* The request schema for the GetCarrierAccounts operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetCarrierAccountsRequest
|
|
17
15
|
*/
|
|
18
16
|
export interface GetCarrierAccountsRequest {
|
|
19
17
|
/**
|
|
20
18
|
* Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
|
|
21
|
-
* @type {Array<ClientReferenceDetail>}
|
|
22
|
-
* @memberof GetCarrierAccountsRequest
|
|
23
19
|
*/
|
|
24
20
|
'clientReferenceDetails'?: Array<ClientReferenceDetail>;
|
|
25
21
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { ActiveAccount } from './active-account';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GetCarrierAccountsResponse operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetCarrierAccountsResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetCarrierAccountsResponse {
|
|
19
17
|
/**
|
|
20
18
|
* A list of ActiveAccount
|
|
21
|
-
* @type {Array<ActiveAccount>}
|
|
22
|
-
* @memberof GetCarrierAccountsResponse
|
|
23
19
|
*/
|
|
24
20
|
'activeAccounts': Array<ActiveAccount>;
|
|
25
21
|
}
|
|
@@ -14,38 +14,20 @@ import type { ClientReferenceDetail } from './client-reference-detail';
|
|
|
14
14
|
import type { DateRange } from './date-range';
|
|
15
15
|
/**
|
|
16
16
|
* The request schema to get query collections form history API .
|
|
17
|
-
* @export
|
|
18
|
-
* @interface GetCollectionFormHistoryRequest
|
|
19
17
|
*/
|
|
20
18
|
export interface GetCollectionFormHistoryRequest {
|
|
21
19
|
/**
|
|
22
20
|
* Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
|
|
23
|
-
* @type {Array<ClientReferenceDetail>}
|
|
24
|
-
* @memberof GetCollectionFormHistoryRequest
|
|
25
21
|
*/
|
|
26
22
|
'clientReferenceDetails'?: Array<ClientReferenceDetail>;
|
|
27
23
|
/**
|
|
28
24
|
* max Number of Results for query .
|
|
29
|
-
* @type {number}
|
|
30
|
-
* @memberof GetCollectionFormHistoryRequest
|
|
31
25
|
*/
|
|
32
26
|
'maxResults'?: number;
|
|
33
27
|
/**
|
|
34
28
|
* The carrier identifier for the offering, provided by the carrier.
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof GetCollectionFormHistoryRequest
|
|
37
29
|
*/
|
|
38
30
|
'carrierId'?: string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {Address}
|
|
42
|
-
* @memberof GetCollectionFormHistoryRequest
|
|
43
|
-
*/
|
|
44
31
|
'shipFromAddress'?: Address;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {DateRange}
|
|
48
|
-
* @memberof GetCollectionFormHistoryRequest
|
|
49
|
-
*/
|
|
50
32
|
'dateRange'?: DateRange;
|
|
51
33
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { CollectionFormsHistoryRecord } from './collection-forms-history-record';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GetCollectionFormHistoryResponse operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetCollectionFormHistoryResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetCollectionFormHistoryResponse {
|
|
19
17
|
/**
|
|
20
18
|
* A list of CollectionFormsHistoryRecord
|
|
21
|
-
* @type {Array<CollectionFormsHistoryRecord>}
|
|
22
|
-
* @memberof GetCollectionFormHistoryResponse
|
|
23
19
|
*/
|
|
24
20
|
'collectionFormsHistoryRecordList'?: Array<CollectionFormsHistoryRecord>;
|
|
25
21
|
/**
|
|
26
22
|
* Last Refereshed Date of collection
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof GetCollectionFormHistoryResponse
|
|
29
23
|
*/
|
|
30
24
|
'lastRefreshedDate'?: string;
|
|
31
25
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { CollectionsFormDocument } from './collections-form-document';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GetCollectionFormResponse operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetCollectionFormResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetCollectionFormResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {CollectionsFormDocument}
|
|
22
|
-
* @memberof GetCollectionFormResponse
|
|
23
|
-
*/
|
|
24
17
|
'collectionsFormDocument'?: CollectionsFormDocument;
|
|
25
18
|
}
|
|
@@ -21,86 +21,34 @@ import type { TaxDetail } from './tax-detail';
|
|
|
21
21
|
import type { ValueAddedServiceDetails } from './value-added-service-details';
|
|
22
22
|
/**
|
|
23
23
|
* The request schema for the getRates operation. When the channelType is Amazon, the shipTo address is not required and will be ignored.
|
|
24
|
-
* @export
|
|
25
|
-
* @interface GetRatesRequest
|
|
26
24
|
*/
|
|
27
25
|
export interface GetRatesRequest {
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {Address}
|
|
31
|
-
* @memberof GetRatesRequest
|
|
32
|
-
*/
|
|
33
26
|
'shipTo'?: Address;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {Address}
|
|
37
|
-
* @memberof GetRatesRequest
|
|
38
|
-
*/
|
|
39
27
|
'shipFrom': Address;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {Address}
|
|
43
|
-
* @memberof GetRatesRequest
|
|
44
|
-
*/
|
|
45
28
|
'returnTo'?: Address;
|
|
46
29
|
/**
|
|
47
30
|
* The ship date and time (the requested pickup). This defaults to the current date and time.
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof GetRatesRequest
|
|
50
31
|
*/
|
|
51
32
|
'shipDate'?: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {ShipperInstruction}
|
|
55
|
-
* @memberof GetRatesRequest
|
|
56
|
-
*/
|
|
57
33
|
'shipperInstruction'?: ShipperInstruction;
|
|
58
34
|
/**
|
|
59
35
|
* A list of packages to be shipped through a shipping service offering.
|
|
60
|
-
* @type {Array<Package>}
|
|
61
|
-
* @memberof GetRatesRequest
|
|
62
36
|
*/
|
|
63
37
|
'packages': Array<Package>;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {ValueAddedServiceDetails}
|
|
67
|
-
* @memberof GetRatesRequest
|
|
68
|
-
*/
|
|
69
38
|
'valueAddedServices'?: ValueAddedServiceDetails;
|
|
70
39
|
/**
|
|
71
40
|
* A list of tax detail information.
|
|
72
|
-
* @type {Array<TaxDetail>}
|
|
73
|
-
* @memberof GetRatesRequest
|
|
74
41
|
*/
|
|
75
42
|
'taxDetails'?: Array<TaxDetail>;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {ChannelDetails}
|
|
79
|
-
* @memberof GetRatesRequest
|
|
80
|
-
*/
|
|
81
43
|
'channelDetails': ChannelDetails;
|
|
82
44
|
/**
|
|
83
45
|
* Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
|
|
84
|
-
* @type {Array<ClientReferenceDetail>}
|
|
85
|
-
* @memberof GetRatesRequest
|
|
86
46
|
*/
|
|
87
47
|
'clientReferenceDetails'?: Array<ClientReferenceDetail>;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {ShipmentType}
|
|
91
|
-
* @memberof GetRatesRequest
|
|
92
|
-
*/
|
|
93
48
|
'shipmentType'?: ShipmentType;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {AccessPointDetails}
|
|
97
|
-
* @memberof GetRatesRequest
|
|
98
|
-
*/
|
|
99
49
|
'destinationAccessPointDetails'?: AccessPointDetails;
|
|
100
50
|
/**
|
|
101
51
|
* A list of CarrierAccounts
|
|
102
|
-
* @type {Array<CarrierAccount>}
|
|
103
|
-
* @memberof GetRatesRequest
|
|
104
52
|
*/
|
|
105
53
|
'carrierAccounts'?: Array<CarrierAccount>;
|
|
106
54
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { GetRatesResult } from './get-rates-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the getRates operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetRatesResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetRatesResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetRatesResult}
|
|
22
|
-
* @memberof GetRatesResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetRatesResult;
|
|
25
18
|
}
|
|
@@ -13,26 +13,18 @@ import type { IneligibleRate } from './ineligible-rate';
|
|
|
13
13
|
import type { Rate } from './rate';
|
|
14
14
|
/**
|
|
15
15
|
* The payload for the getRates operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetRatesResult
|
|
18
16
|
*/
|
|
19
17
|
export interface GetRatesResult {
|
|
20
18
|
/**
|
|
21
19
|
* A unique token generated to identify a getRates operation.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof GetRatesResult
|
|
24
20
|
*/
|
|
25
21
|
'requestToken': string;
|
|
26
22
|
/**
|
|
27
23
|
* A list of eligible shipping service offerings.
|
|
28
|
-
* @type {Array<Rate>}
|
|
29
|
-
* @memberof GetRatesResult
|
|
30
24
|
*/
|
|
31
25
|
'rates': Array<Rate>;
|
|
32
26
|
/**
|
|
33
27
|
* A list of ineligible shipping service offerings.
|
|
34
|
-
* @type {Array<IneligibleRate>}
|
|
35
|
-
* @memberof GetRatesResult
|
|
36
28
|
*/
|
|
37
29
|
'ineligibleRates'?: Array<IneligibleRate>;
|
|
38
30
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { GetShipmentDocumentsResult } from './get-shipment-documents-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the the getShipmentDocuments operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetShipmentDocumentsResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetShipmentDocumentsResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetShipmentDocumentsResult}
|
|
22
|
-
* @memberof GetShipmentDocumentsResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetShipmentDocumentsResult;
|
|
25
18
|
}
|
|
@@ -13,26 +13,12 @@ import type { Benefits } from './benefits';
|
|
|
13
13
|
import type { PackageDocumentDetail } from './package-document-detail';
|
|
14
14
|
/**
|
|
15
15
|
* The payload for the getShipmentDocuments operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetShipmentDocumentsResult
|
|
18
16
|
*/
|
|
19
17
|
export interface GetShipmentDocumentsResult {
|
|
20
18
|
/**
|
|
21
19
|
* The unique shipment identifier provided by a shipping service.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof GetShipmentDocumentsResult
|
|
24
20
|
*/
|
|
25
21
|
'shipmentId': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PackageDocumentDetail}
|
|
29
|
-
* @memberof GetShipmentDocumentsResult
|
|
30
|
-
*/
|
|
31
22
|
'packageDocumentDetail': PackageDocumentDetail;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Benefits}
|
|
35
|
-
* @memberof GetShipmentDocumentsResult
|
|
36
|
-
*/
|
|
37
23
|
'benefits'?: Benefits;
|
|
38
24
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { GetTrackingResult } from './get-tracking-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the getTracking operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetTrackingResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetTrackingResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetTrackingResult}
|
|
22
|
-
* @memberof GetTrackingResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetTrackingResult;
|
|
25
18
|
}
|
|
@@ -13,38 +13,23 @@ import type { Event } from './event';
|
|
|
13
13
|
import type { TrackingSummary } from './tracking-summary';
|
|
14
14
|
/**
|
|
15
15
|
* The payload for the getTracking operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetTrackingResult
|
|
18
16
|
*/
|
|
19
17
|
export interface GetTrackingResult {
|
|
20
18
|
/**
|
|
21
19
|
* The carrier generated identifier for a package in a purchased shipment.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof GetTrackingResult
|
|
24
20
|
*/
|
|
25
21
|
'trackingId': string;
|
|
26
22
|
/**
|
|
27
23
|
* The carrier generated reverse identifier for a returned package in a purchased shipment.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof GetTrackingResult
|
|
30
24
|
*/
|
|
31
25
|
'alternateLegTrackingId': string;
|
|
32
26
|
/**
|
|
33
27
|
* A list of tracking events.
|
|
34
|
-
* @type {Array<Event>}
|
|
35
|
-
* @memberof GetTrackingResult
|
|
36
28
|
*/
|
|
37
29
|
'eventHistory': Array<Event>;
|
|
38
30
|
/**
|
|
39
31
|
* The date and time by which the shipment is promised to be delivered.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof GetTrackingResult
|
|
42
32
|
*/
|
|
43
33
|
'promisedDeliveryDate': string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {TrackingSummary}
|
|
47
|
-
* @memberof GetTrackingResult
|
|
48
|
-
*/
|
|
49
34
|
'summary': TrackingSummary;
|
|
50
35
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { ClientReferenceDetail } from './client-reference-detail';
|
|
13
13
|
/**
|
|
14
14
|
* The request schema for the GetUnmanifestedShipmentsRequest operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetUnmanifestedShipmentsRequest
|
|
17
15
|
*/
|
|
18
16
|
export interface GetUnmanifestedShipmentsRequest {
|
|
19
17
|
/**
|
|
20
18
|
* Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
|
|
21
|
-
* @type {Array<ClientReferenceDetail>}
|
|
22
|
-
* @memberof GetUnmanifestedShipmentsRequest
|
|
23
19
|
*/
|
|
24
20
|
'clientReferenceDetails'?: Array<ClientReferenceDetail>;
|
|
25
21
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { UnmanifestedCarrierInformation } from './unmanifested-carrier-information';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GetUnmanifestedShipmentsResponse operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetUnmanifestedShipmentsResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetUnmanifestedShipmentsResponse {
|
|
19
17
|
/**
|
|
20
18
|
* A list of UnmanifestedCarrierInformation
|
|
21
|
-
* @type {Array<UnmanifestedCarrierInformation>}
|
|
22
|
-
* @memberof GetUnmanifestedShipmentsResponse
|
|
23
19
|
*/
|
|
24
20
|
'unmanifestedCarrierInformationList'?: Array<UnmanifestedCarrierInformation>;
|
|
25
21
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The seller owning the goods before handing them over to the carrier
|
|
14
|
-
* @export
|
|
15
|
-
* @interface GoodsOwner
|
|
16
14
|
*/
|
|
17
15
|
export interface GoodsOwner {
|
|
18
16
|
/**
|
|
19
17
|
* merchant Id of provided merchant
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof GoodsOwner
|
|
22
18
|
*/
|
|
23
19
|
'merchantId': string;
|
|
24
20
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { IneligibilityReasonCode } from './ineligibility-reason-code';
|
|
13
13
|
/**
|
|
14
14
|
* The reason why a shipping service offering is ineligible.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface IneligibilityReason
|
|
17
15
|
*/
|
|
18
16
|
export interface IneligibilityReason {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {IneligibilityReasonCode}
|
|
22
|
-
* @memberof IneligibilityReason
|
|
23
|
-
*/
|
|
24
17
|
'code': IneligibilityReasonCode;
|
|
25
18
|
/**
|
|
26
19
|
* The ineligibility reason.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof IneligibilityReason
|
|
29
20
|
*/
|
|
30
21
|
'message': string;
|
|
31
22
|
}
|
|
@@ -12,38 +12,26 @@
|
|
|
12
12
|
import type { IneligibilityReason } from './ineligibility-reason';
|
|
13
13
|
/**
|
|
14
14
|
* Detailed information for an ineligible shipping service offering.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface IneligibleRate
|
|
17
15
|
*/
|
|
18
16
|
export interface IneligibleRate {
|
|
19
17
|
/**
|
|
20
18
|
* An identifier for the shipping service.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof IneligibleRate
|
|
23
19
|
*/
|
|
24
20
|
'serviceId': string;
|
|
25
21
|
/**
|
|
26
22
|
* The name of the shipping service.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof IneligibleRate
|
|
29
23
|
*/
|
|
30
24
|
'serviceName': string;
|
|
31
25
|
/**
|
|
32
26
|
* The carrier name for the offering.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof IneligibleRate
|
|
35
27
|
*/
|
|
36
28
|
'carrierName': string;
|
|
37
29
|
/**
|
|
38
30
|
* The carrier identifier for the offering, provided by the carrier.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof IneligibleRate
|
|
41
31
|
*/
|
|
42
32
|
'carrierId': string;
|
|
43
33
|
/**
|
|
44
34
|
* A list of reasons why a shipping service offering is ineligible.
|
|
45
|
-
* @type {Array<IneligibilityReason>}
|
|
46
|
-
* @memberof IneligibleRate
|
|
47
35
|
*/
|
|
48
36
|
'ineligibilityReasons': Array<IneligibilityReason>;
|
|
49
37
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The invoice details for charges associated with the goods in the package. Only applies to certain regions.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface InvoiceDetails
|
|
16
14
|
*/
|
|
17
15
|
export interface InvoiceDetails {
|
|
18
16
|
/**
|
|
19
17
|
* The invoice number of the item.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof InvoiceDetails
|
|
22
18
|
*/
|
|
23
19
|
'invoiceNumber'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* The invoice date of the item in ISO 8061 format.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof InvoiceDetails
|
|
28
22
|
*/
|
|
29
23
|
'invoiceDate'?: string;
|
|
30
24
|
}
|
|
@@ -17,80 +17,36 @@ import type { LiquidVolume } from './liquid-volume';
|
|
|
17
17
|
import type { Weight } from './weight';
|
|
18
18
|
/**
|
|
19
19
|
* An item in a package.
|
|
20
|
-
* @export
|
|
21
|
-
* @interface Item
|
|
22
20
|
*/
|
|
23
21
|
export interface Item {
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Currency}
|
|
27
|
-
* @memberof Item
|
|
28
|
-
*/
|
|
29
22
|
'itemValue'?: Currency;
|
|
30
23
|
/**
|
|
31
24
|
* The product description of the item.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Item
|
|
34
25
|
*/
|
|
35
26
|
'description'?: string;
|
|
36
27
|
/**
|
|
37
28
|
* A unique identifier for an item provided by the client.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Item
|
|
40
29
|
*/
|
|
41
30
|
'itemIdentifier'?: string;
|
|
42
31
|
/**
|
|
43
32
|
* The number of units. This value is required.
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof Item
|
|
46
33
|
*/
|
|
47
34
|
'quantity': number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {Weight}
|
|
51
|
-
* @memberof Item
|
|
52
|
-
*/
|
|
53
35
|
'weight'?: Weight;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {LiquidVolume}
|
|
57
|
-
* @memberof Item
|
|
58
|
-
*/
|
|
59
36
|
'liquidVolume'?: LiquidVolume;
|
|
60
37
|
/**
|
|
61
38
|
* When true, the item qualifies as hazardous materials (hazmat). Defaults to false.
|
|
62
|
-
* @type {boolean}
|
|
63
|
-
* @memberof Item
|
|
64
39
|
*/
|
|
65
40
|
'isHazmat'?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {DangerousGoodsDetails}
|
|
69
|
-
* @memberof Item
|
|
70
|
-
*/
|
|
71
41
|
'dangerousGoodsDetails'?: DangerousGoodsDetails;
|
|
72
42
|
/**
|
|
73
43
|
* The product type of the item.
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof Item
|
|
76
44
|
*/
|
|
77
45
|
'productType'?: string;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {InvoiceDetails}
|
|
81
|
-
* @memberof Item
|
|
82
|
-
*/
|
|
83
46
|
'invoiceDetails'?: InvoiceDetails;
|
|
84
47
|
/**
|
|
85
48
|
* A list of unique serial numbers in an Amazon package that can be used to guarantee non-fraudulent items. The number of serial numbers in the list must be less than or equal to the quantity of items being shipped. Only applicable when channel source is Amazon.
|
|
86
|
-
* @type {Array<string>}
|
|
87
|
-
* @memberof Item
|
|
88
49
|
*/
|
|
89
50
|
'serialNumbers'?: Array<string>;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {DirectFulfillmentItemIdentifiers}
|
|
93
|
-
* @memberof Item
|
|
94
|
-
*/
|
|
95
51
|
'directFulfillmentItemIdentifiers'?: DirectFulfillmentItemIdentifiers;
|
|
96
52
|
}
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Enumerates the attributes supported to be printed on a shipping label. The values for these attributes are retrieved from GetRates/OneClickShipment request
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
14
|
*/
|
|
17
15
|
export declare const LabelAttribute: {
|
|
18
16
|
readonly PackageClientReferenceId: "PACKAGE_CLIENT_REFERENCE_ID";
|
|
@@ -13,32 +13,22 @@ import type { CarrierAccountAttribute } from './carrier-account-attribute';
|
|
|
13
13
|
import type { ClientReferenceDetail } from './client-reference-detail';
|
|
14
14
|
/**
|
|
15
15
|
* The request schema for verify and add the merchant\'s account with a certain carrier.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface LinkCarrierAccountRequest
|
|
18
16
|
*/
|
|
19
17
|
export interface LinkCarrierAccountRequest {
|
|
20
18
|
/**
|
|
21
19
|
* Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
|
|
22
|
-
* @type {Array<ClientReferenceDetail>}
|
|
23
|
-
* @memberof LinkCarrierAccountRequest
|
|
24
20
|
*/
|
|
25
21
|
'clientReferenceDetails'?: Array<ClientReferenceDetail>;
|
|
26
22
|
/**
|
|
27
23
|
* CarrierAccountType associated with account.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof LinkCarrierAccountRequest
|
|
30
24
|
*/
|
|
31
25
|
'carrierAccountType': string;
|
|
32
26
|
/**
|
|
33
27
|
* A list of all attributes required by the carrier in order to successfully link the merchant\'s account
|
|
34
|
-
* @type {Array<CarrierAccountAttribute>}
|
|
35
|
-
* @memberof LinkCarrierAccountRequest
|
|
36
28
|
*/
|
|
37
29
|
'carrierAccountAttributes': Array<CarrierAccountAttribute>;
|
|
38
30
|
/**
|
|
39
31
|
* A list of all attributes required by the carrier in order to successfully link the merchant\'s account
|
|
40
|
-
* @type {Array<CarrierAccountAttribute>}
|
|
41
|
-
* @memberof LinkCarrierAccountRequest
|
|
42
32
|
*/
|
|
43
33
|
'encryptedCarrierAccountAttributes'?: Array<CarrierAccountAttribute>;
|
|
44
34
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { AccountStatus } from './account-status';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the LinkCarrierAccount operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface LinkCarrierAccountResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface LinkCarrierAccountResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {AccountStatus}
|
|
22
|
-
* @memberof LinkCarrierAccountResponse
|
|
23
|
-
*/
|
|
24
17
|
'registrationStatus'?: AccountStatus;
|
|
25
18
|
/**
|
|
26
19
|
* Identifier for the seller\'s carrier account.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof LinkCarrierAccountResponse
|
|
29
20
|
*/
|
|
30
21
|
'accountId'?: string;
|
|
31
22
|
}
|
|
@@ -13,20 +13,11 @@ import type { AccountType } from './account-type';
|
|
|
13
13
|
import type { CarrierAccountInput } from './carrier-account-input';
|
|
14
14
|
/**
|
|
15
15
|
* Info About Linkable Account Type
|
|
16
|
-
* @export
|
|
17
|
-
* @interface LinkableAccountType
|
|
18
16
|
*/
|
|
19
17
|
export interface LinkableAccountType {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {AccountType}
|
|
23
|
-
* @memberof LinkableAccountType
|
|
24
|
-
*/
|
|
25
18
|
'accountType'?: AccountType;
|
|
26
19
|
/**
|
|
27
20
|
* A list of CarrierAccountInput
|
|
28
|
-
* @type {Array<CarrierAccountInput>}
|
|
29
|
-
* @memberof LinkableAccountType
|
|
30
21
|
*/
|
|
31
22
|
'carrierAccountInputs'?: Array<CarrierAccountInput>;
|
|
32
23
|
}
|