@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
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Client Reference Details
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ClientReferenceDetail
|
|
16
14
|
*/
|
|
17
15
|
export interface ClientReferenceDetail {
|
|
18
16
|
/**
|
|
19
17
|
* Client Reference type.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ClientReferenceDetail
|
|
22
18
|
*/
|
|
23
19
|
'clientReferenceType': ClientReferenceDetailClientReferenceTypeEnum;
|
|
24
20
|
/**
|
|
25
21
|
* The Client Reference Id.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ClientReferenceDetail
|
|
28
22
|
*/
|
|
29
23
|
'clientReferenceId': string;
|
|
30
24
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { Currency } from './currency';
|
|
13
13
|
/**
|
|
14
14
|
* The amount to collect on delivery.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CollectOnDelivery
|
|
17
15
|
*/
|
|
18
16
|
export interface CollectOnDelivery {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Currency}
|
|
22
|
-
* @memberof CollectOnDelivery
|
|
23
|
-
*/
|
|
24
17
|
'amount': Currency;
|
|
25
18
|
}
|
|
@@ -13,38 +13,20 @@ import type { Address } from './address';
|
|
|
13
13
|
import type { GenerationStatus } from './generation-status';
|
|
14
14
|
/**
|
|
15
15
|
* Active Account Details
|
|
16
|
-
* @export
|
|
17
|
-
* @interface CollectionFormsHistoryRecord
|
|
18
16
|
*/
|
|
19
17
|
export interface CollectionFormsHistoryRecord {
|
|
20
18
|
/**
|
|
21
19
|
* The carrier name for the offering.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof CollectionFormsHistoryRecord
|
|
24
20
|
*/
|
|
25
21
|
'carrierName'?: string;
|
|
26
22
|
/**
|
|
27
23
|
* Creation Time for this account.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof CollectionFormsHistoryRecord
|
|
30
24
|
*/
|
|
31
25
|
'creationDate'?: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {GenerationStatus}
|
|
35
|
-
* @memberof CollectionFormsHistoryRecord
|
|
36
|
-
*/
|
|
37
26
|
'generationStatus'?: GenerationStatus;
|
|
38
27
|
/**
|
|
39
28
|
* Collection Form Id for Reprint .
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof CollectionFormsHistoryRecord
|
|
42
29
|
*/
|
|
43
30
|
'collectionFormId'?: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {Address}
|
|
47
|
-
* @memberof CollectionFormsHistoryRecord
|
|
48
|
-
*/
|
|
49
31
|
'shipFromAddress'?: Address;
|
|
50
32
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Collection Form Document Details
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CollectionsFormDocument
|
|
16
14
|
*/
|
|
17
15
|
export interface CollectionsFormDocument {
|
|
18
16
|
/**
|
|
19
17
|
* Base64 document Value of Collection.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CollectionsFormDocument
|
|
22
18
|
*/
|
|
23
19
|
'base64EncodedContent'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* Collection Document format is PDF.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CollectionsFormDocument
|
|
28
22
|
*/
|
|
29
23
|
'documentFormat'?: string;
|
|
30
24
|
}
|
|
@@ -14,44 +14,21 @@ import type { Currency } from './currency';
|
|
|
14
14
|
import type { SettlementType } from './settlement-type';
|
|
15
15
|
/**
|
|
16
16
|
* The request schema for the CreateClaim operation
|
|
17
|
-
* @export
|
|
18
|
-
* @interface CreateClaimRequest
|
|
19
17
|
*/
|
|
20
18
|
export interface CreateClaimRequest {
|
|
21
19
|
/**
|
|
22
20
|
* The carrier generated identifier for a package in a purchased shipment.
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof CreateClaimRequest
|
|
25
21
|
*/
|
|
26
22
|
'trackingId': string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {Currency}
|
|
30
|
-
* @memberof CreateClaimRequest
|
|
31
|
-
*/
|
|
32
23
|
'declaredValue'?: Currency;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {ClaimReason}
|
|
36
|
-
* @memberof CreateClaimRequest
|
|
37
|
-
*/
|
|
38
24
|
'claimReason': ClaimReason;
|
|
39
25
|
/**
|
|
40
26
|
* Applicable for only On Amazon shipments to identify if replacement was sent
|
|
41
|
-
* @type {boolean}
|
|
42
|
-
* @memberof CreateClaimRequest
|
|
43
27
|
*/
|
|
44
28
|
'isReplacementPackageSent'?: boolean;
|
|
45
29
|
/**
|
|
46
30
|
* A list of proof URLs for a claim. Basic URL validation will happen for each URLs present in the list
|
|
47
|
-
* @type {Array<string>}
|
|
48
|
-
* @memberof CreateClaimRequest
|
|
49
31
|
*/
|
|
50
32
|
'proofs'?: Array<string>;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {SettlementType}
|
|
54
|
-
* @memberof CreateClaimRequest
|
|
55
|
-
*/
|
|
56
33
|
'settlementType': SettlementType;
|
|
57
34
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The response schema for the createClaim operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CreateClaimResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface CreateClaimResponse {
|
|
18
16
|
/**
|
|
19
17
|
* The claim identifier originally returned by the createClaim operation.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateClaimResponse
|
|
22
18
|
*/
|
|
23
19
|
'claimId'?: string;
|
|
24
20
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The monetary value in the currency indicated, in ISO 4217 standard format.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Currency
|
|
16
14
|
*/
|
|
17
15
|
export interface Currency {
|
|
18
16
|
/**
|
|
19
17
|
* The monetary value.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof Currency
|
|
22
18
|
*/
|
|
23
19
|
'value': number;
|
|
24
20
|
/**
|
|
25
21
|
* The ISO 4217 format 3-character currency code.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Currency
|
|
28
22
|
*/
|
|
29
23
|
'unit': string;
|
|
30
24
|
}
|
|
@@ -11,32 +11,22 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Details related to any dangerous goods/items that are being shipped.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DangerousGoodsDetails
|
|
16
14
|
*/
|
|
17
15
|
export interface DangerousGoodsDetails {
|
|
18
16
|
/**
|
|
19
17
|
* The specific UNID of the item being shipped.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DangerousGoodsDetails
|
|
22
18
|
*/
|
|
23
19
|
'unitedNationsRegulatoryId'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* The specific regulatory class of the item being shipped.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DangerousGoodsDetails
|
|
28
22
|
*/
|
|
29
23
|
'transportationRegulatoryClass'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* The specific packaging group of the item being shipped.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof DangerousGoodsDetails
|
|
34
26
|
*/
|
|
35
27
|
'packingGroup'?: DangerousGoodsDetailsPackingGroupEnum;
|
|
36
28
|
/**
|
|
37
29
|
* The specific packing instruction of the item being shipped.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof DangerousGoodsDetails
|
|
40
30
|
*/
|
|
41
31
|
'packingInstruction'?: DangerousGoodsDetailsPackingInstructionEnum;
|
|
42
32
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Date Range for query the results.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DateRange
|
|
16
14
|
*/
|
|
17
15
|
export interface DateRange {
|
|
18
16
|
/**
|
|
19
17
|
* Start Date for query .
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DateRange
|
|
22
18
|
*/
|
|
23
19
|
'startDate'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* end date for query.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DateRange
|
|
28
22
|
*/
|
|
29
23
|
'endDate'?: string;
|
|
30
24
|
}
|
|
@@ -11,32 +11,22 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A set of measurements for a three-dimensional object.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Dimensions
|
|
16
14
|
*/
|
|
17
15
|
export interface Dimensions {
|
|
18
16
|
/**
|
|
19
17
|
* The length of the package.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof Dimensions
|
|
22
18
|
*/
|
|
23
19
|
'length': number;
|
|
24
20
|
/**
|
|
25
21
|
* The width of the package.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof Dimensions
|
|
28
22
|
*/
|
|
29
23
|
'width': number;
|
|
30
24
|
/**
|
|
31
25
|
* The height of the package.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof Dimensions
|
|
34
26
|
*/
|
|
35
27
|
'height': number;
|
|
36
28
|
/**
|
|
37
29
|
* The unit of measurement.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Dimensions
|
|
40
30
|
*/
|
|
41
31
|
'unit': DimensionsUnitEnum;
|
|
42
32
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Item identifiers for an item in a direct fulfillment shipment.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DirectFulfillmentItemIdentifiers
|
|
16
14
|
*/
|
|
17
15
|
export interface DirectFulfillmentItemIdentifiers {
|
|
18
16
|
/**
|
|
19
17
|
* A unique identifier for an item provided by the client for a direct fulfillment shipment. This is only populated for direct fulfillment multi-piece shipments. It is required if a vendor wants to change the configuration of the packages in which the purchase order is shipped.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DirectFulfillmentItemIdentifiers
|
|
22
18
|
*/
|
|
23
19
|
'lineItemID': string;
|
|
24
20
|
/**
|
|
25
21
|
* A unique identifier for an item provided by the client for a direct fulfillment shipment. This is only populated if a single line item has multiple pieces. Defaults to 1.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DirectFulfillmentItemIdentifiers
|
|
28
22
|
*/
|
|
29
23
|
'pieceNumber'?: string;
|
|
30
24
|
}
|
|
@@ -15,44 +15,15 @@ import type { Package } from './package';
|
|
|
15
15
|
import type { RequestedDocumentSpecification } from './requested-document-specification';
|
|
16
16
|
/**
|
|
17
17
|
* The request schema for the directPurchaseShipment operation. When the channel type is Amazon, the shipTo address is not required and will be ignored.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface DirectPurchaseRequest
|
|
20
18
|
*/
|
|
21
19
|
export interface DirectPurchaseRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {Address}
|
|
25
|
-
* @memberof DirectPurchaseRequest
|
|
26
|
-
*/
|
|
27
20
|
'shipTo'?: Address;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {Address}
|
|
31
|
-
* @memberof DirectPurchaseRequest
|
|
32
|
-
*/
|
|
33
21
|
'shipFrom'?: Address;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {Address}
|
|
37
|
-
* @memberof DirectPurchaseRequest
|
|
38
|
-
*/
|
|
39
22
|
'returnTo'?: Address;
|
|
40
23
|
/**
|
|
41
24
|
* A list of packages to be shipped through a shipping service offering.
|
|
42
|
-
* @type {Array<Package>}
|
|
43
|
-
* @memberof DirectPurchaseRequest
|
|
44
25
|
*/
|
|
45
26
|
'packages'?: Array<Package>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {ChannelDetails}
|
|
49
|
-
* @memberof DirectPurchaseRequest
|
|
50
|
-
*/
|
|
51
27
|
'channelDetails': ChannelDetails;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {RequestedDocumentSpecification}
|
|
55
|
-
* @memberof DirectPurchaseRequest
|
|
56
|
-
*/
|
|
57
28
|
'labelSpecifications'?: RequestedDocumentSpecification;
|
|
58
29
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { DirectPurchaseResult } from './direct-purchase-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the directPurchaseShipment operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DirectPurchaseResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface DirectPurchaseResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {DirectPurchaseResult}
|
|
22
|
-
* @memberof DirectPurchaseResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: DirectPurchaseResult;
|
|
25
18
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { PackageDocumentDetail } from './package-document-detail';
|
|
13
13
|
/**
|
|
14
14
|
* The payload for the directPurchaseShipment operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DirectPurchaseResult
|
|
17
15
|
*/
|
|
18
16
|
export interface DirectPurchaseResult {
|
|
19
17
|
/**
|
|
20
18
|
* The unique shipment identifier provided by a shipping service.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof DirectPurchaseResult
|
|
23
19
|
*/
|
|
24
20
|
'shipmentId': string;
|
|
25
21
|
/**
|
|
26
22
|
* A list of post-purchase details about a package that will be shipped using a shipping service.
|
|
27
|
-
* @type {Array<PackageDocumentDetail>}
|
|
28
|
-
* @memberof DirectPurchaseResult
|
|
29
23
|
*/
|
|
30
24
|
'packageDocumentDetailList'?: Array<PackageDocumentDetail>;
|
|
31
25
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The size dimensions of the label.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DocumentSize
|
|
16
14
|
*/
|
|
17
15
|
export interface DocumentSize {
|
|
18
16
|
/**
|
|
19
17
|
* The width of the document measured in the units specified.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DocumentSize
|
|
22
18
|
*/
|
|
23
19
|
'width': number;
|
|
24
20
|
/**
|
|
25
21
|
* The length of the document measured in the units specified.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof DocumentSize
|
|
28
22
|
*/
|
|
29
23
|
'length': number;
|
|
30
24
|
/**
|
|
31
25
|
* The unit of measurement.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof DocumentSize
|
|
34
26
|
*/
|
|
35
27
|
'unit': DocumentSizeUnitEnum;
|
|
36
28
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A list of error responses returned when a request is unsuccessful.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ErrorList
|
|
16
14
|
*/
|
|
17
15
|
export interface ErrorList {
|
|
18
16
|
/**
|
|
19
17
|
* Array of Errors
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof ErrorList
|
|
22
18
|
*/
|
|
23
19
|
'errors': Array<Error>;
|
|
24
20
|
}
|
|
@@ -14,32 +14,13 @@ import type { Location } from './location';
|
|
|
14
14
|
import type { ShipmentType } from './shipment-type';
|
|
15
15
|
/**
|
|
16
16
|
* A tracking event.
|
|
17
|
-
* @export
|
|
18
|
-
* @interface Event
|
|
19
17
|
*/
|
|
20
18
|
export interface Event {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {EventCode}
|
|
24
|
-
* @memberof Event
|
|
25
|
-
*/
|
|
26
19
|
'eventCode': EventCode;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {Location}
|
|
30
|
-
* @memberof Event
|
|
31
|
-
*/
|
|
32
20
|
'location'?: Location;
|
|
33
21
|
/**
|
|
34
22
|
* The ISO 8601 formatted timestamp of the event.
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof Event
|
|
37
23
|
*/
|
|
38
24
|
'eventTime': string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {ShipmentType}
|
|
42
|
-
* @memberof Event
|
|
43
|
-
*/
|
|
44
25
|
'shipmentType'?: ShipmentType;
|
|
45
26
|
}
|
|
@@ -13,20 +13,8 @@ import type { DateRange } from './date-range';
|
|
|
13
13
|
import type { OperatingHours } from './operating-hours';
|
|
14
14
|
/**
|
|
15
15
|
* Defines exceptions to standard operating hours for certain date ranges.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ExceptionOperatingHours
|
|
18
16
|
*/
|
|
19
17
|
export interface ExceptionOperatingHours {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {DateRange}
|
|
23
|
-
* @memberof ExceptionOperatingHours
|
|
24
|
-
*/
|
|
25
18
|
'dateRange'?: DateRange;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {OperatingHours}
|
|
29
|
-
* @memberof ExceptionOperatingHours
|
|
30
|
-
*/
|
|
31
19
|
'operatingHours'?: OperatingHours;
|
|
32
20
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Object representing a benefit that is excluded for a shipping offer or rate.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ExcludedBenefit
|
|
16
14
|
*/
|
|
17
15
|
export interface ExcludedBenefit {
|
|
18
16
|
/**
|
|
19
17
|
* benefit
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ExcludedBenefit
|
|
22
18
|
*/
|
|
23
19
|
'benefit': string;
|
|
24
20
|
/**
|
|
25
21
|
* List of reasons (eg. LATE_DELIVERY_RISK, etc.) indicating why a benefit is excluded for a shipping offer.
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof ExcludedBenefit
|
|
28
22
|
*/
|
|
29
23
|
'reasonCodes'?: Array<string>;
|
|
30
24
|
}
|
|
@@ -13,26 +13,15 @@ import type { Address } from './address';
|
|
|
13
13
|
import type { ClientReferenceDetail } from './client-reference-detail';
|
|
14
14
|
/**
|
|
15
15
|
* The request schema Call to generate the collection form.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GenerateCollectionFormRequest
|
|
18
16
|
*/
|
|
19
17
|
export interface GenerateCollectionFormRequest {
|
|
20
18
|
/**
|
|
21
19
|
* Object to pass additional information about the MCI Integrator shipperType: List of ClientReferenceDetail
|
|
22
|
-
* @type {Array<ClientReferenceDetail>}
|
|
23
|
-
* @memberof GenerateCollectionFormRequest
|
|
24
20
|
*/
|
|
25
21
|
'clientReferenceDetails'?: Array<ClientReferenceDetail>;
|
|
26
22
|
/**
|
|
27
23
|
* The carrier identifier for the offering, provided by the carrier.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof GenerateCollectionFormRequest
|
|
30
24
|
*/
|
|
31
25
|
'carrierId': string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Address}
|
|
35
|
-
* @memberof GenerateCollectionFormRequest
|
|
36
|
-
*/
|
|
37
26
|
'shipFromAddress'?: Address;
|
|
38
27
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { CollectionsFormDocument } from './collections-form-document';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GenerateCollectionFormResponse operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GenerateCollectionFormResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GenerateCollectionFormResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {CollectionsFormDocument}
|
|
22
|
-
* @memberof GenerateCollectionFormResponse
|
|
23
|
-
*/
|
|
24
17
|
'collectionsFormDocument'?: CollectionsFormDocument;
|
|
25
18
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Defines the latitude and longitude of the access point.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Geocode
|
|
16
14
|
*/
|
|
17
15
|
export interface Geocode {
|
|
18
16
|
/**
|
|
19
17
|
* The latitude of access point.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Geocode
|
|
22
18
|
*/
|
|
23
19
|
'latitude'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* The longitude of access point.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Geocode
|
|
28
22
|
*/
|
|
29
23
|
'longitude'?: string;
|
|
30
24
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { GetAccessPointsResult } from './get-access-points-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the GetAccessPoints operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetAccessPointsResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetAccessPointsResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetAccessPointsResult}
|
|
22
|
-
* @memberof GetAccessPointsResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetAccessPointsResult;
|
|
25
18
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { AccessPoint } from './access-point';
|
|
13
13
|
/**
|
|
14
14
|
* The payload for the GetAccessPoints API.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetAccessPointsResult
|
|
17
15
|
*/
|
|
18
16
|
export interface GetAccessPointsResult {
|
|
19
17
|
/**
|
|
20
18
|
* Map of type of access point to list of access points
|
|
21
|
-
* @type {{ [key: string]: Array<AccessPoint>; }}
|
|
22
|
-
* @memberof GetAccessPointsResult
|
|
23
19
|
*/
|
|
24
20
|
'accessPointsMap': {
|
|
25
21
|
[key: string]: Array<AccessPoint>;
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The response schema for the getAdditionalInputs operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface GetAdditionalInputsResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface GetAdditionalInputsResponse {
|
|
18
16
|
/**
|
|
19
17
|
* The JSON schema to use to provide additional inputs when required to purchase a shipping offering.
|
|
20
|
-
* @type {{ [key: string]: object; }}
|
|
21
|
-
* @memberof GetAdditionalInputsResponse
|
|
22
18
|
*/
|
|
23
19
|
'payload'?: {
|
|
24
20
|
[key: string]: object;
|