@sp-api-sdk/shipping-api-v2 1.1.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/api-model/api/shipping-api.js +356 -54
- package/dist/cjs/src/api-model/base.js +7 -2
- package/dist/cjs/src/api-model/common.js +1 -1
- package/dist/cjs/src/api-model/configuration.js +8 -0
- package/dist/es/src/api-model/api/shipping-api.js +356 -54
- package/dist/es/src/api-model/base.js +6 -1
- package/dist/es/src/api-model/common.js +1 -1
- package/dist/es/src/api-model/configuration.js +8 -0
- package/dist/types/src/api-model/api/shipping-api.d.ts +437 -151
- package/dist/types/src/api-model/base.d.ts +14 -2
- package/dist/types/src/api-model/configuration.d.ts +8 -0
- package/dist/types/src/api-model/models/access-point.d.ts +5 -5
- package/dist/types/src/api-model/models/address.d.ts +1 -1
- package/dist/types/src/api-model/models/available-value-added-service-group.d.ts +1 -1
- package/dist/types/src/api-model/models/benefits.d.ts +1 -1
- package/dist/types/src/api-model/models/carrier-account-input.d.ts +2 -2
- package/dist/types/src/api-model/models/channel-details.d.ts +3 -3
- package/dist/types/src/api-model/models/charge-component.d.ts +1 -1
- package/dist/types/src/api-model/models/collect-on-delivery.d.ts +1 -1
- package/dist/types/src/api-model/models/collection-forms-history-record.d.ts +2 -2
- package/dist/types/src/api-model/models/direct-purchase-request.d.ts +4 -4
- package/dist/types/src/api-model/models/direct-purchase-response.d.ts +1 -1
- package/dist/types/src/api-model/models/direct-purchase-result.d.ts +1 -1
- package/dist/types/src/api-model/models/event.d.ts +2 -2
- package/dist/types/src/api-model/models/exception-operating-hours.d.ts +2 -2
- package/dist/types/src/api-model/models/generate-collection-form-request.d.ts +2 -2
- package/dist/types/src/api-model/models/generate-collection-form-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-access-points-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-access-points-result.d.ts +1 -1
- package/dist/types/src/api-model/models/get-carrier-account-form-inputs-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-carrier-accounts-request.d.ts +1 -1
- package/dist/types/src/api-model/models/get-carrier-accounts-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-collection-form-history-request.d.ts +3 -3
- package/dist/types/src/api-model/models/get-collection-form-history-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-collection-form-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-rates-request.d.ts +9 -9
- package/dist/types/src/api-model/models/get-rates-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-rates-result.d.ts +2 -2
- package/dist/types/src/api-model/models/get-shipment-documents-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-shipment-documents-result.d.ts +1 -1
- package/dist/types/src/api-model/models/get-tracking-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-tracking-result.d.ts +2 -2
- package/dist/types/src/api-model/models/get-unmanifested-shipments-request.d.ts +1 -1
- package/dist/types/src/api-model/models/get-unmanifested-shipments-response.d.ts +1 -1
- package/dist/types/src/api-model/models/ineligibility-reason.d.ts +1 -1
- package/dist/types/src/api-model/models/ineligible-rate.d.ts +1 -1
- package/dist/types/src/api-model/models/item.d.ts +6 -6
- package/dist/types/src/api-model/models/link-carrier-account-request.d.ts +2 -2
- package/dist/types/src/api-model/models/link-carrier-account-response.d.ts +1 -1
- package/dist/types/src/api-model/models/linkable-account-type.d.ts +2 -2
- package/dist/types/src/api-model/models/linkable-carrier.d.ts +1 -1
- package/dist/types/src/api-model/models/one-click-shipment-request.d.ts +9 -9
- package/dist/types/src/api-model/models/one-click-shipment-response.d.ts +1 -1
- package/dist/types/src/api-model/models/one-click-shipment-result.d.ts +5 -5
- package/dist/types/src/api-model/models/one-click-shipment-value-added-service.d.ts +1 -1
- package/dist/types/src/api-model/models/operating-hours.d.ts +1 -1
- package/dist/types/src/api-model/models/package-document-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/package-document.d.ts +2 -2
- package/dist/types/src/api-model/models/package.d.ts +5 -5
- package/dist/types/src/api-model/models/print-option.d.ts +1 -1
- package/dist/types/src/api-model/models/promise.d.ts +1 -1
- package/dist/types/src/api-model/models/purchase-shipment-request.d.ts +2 -2
- package/dist/types/src/api-model/models/purchase-shipment-response.d.ts +1 -1
- package/dist/types/src/api-model/models/purchase-shipment-result.d.ts +2 -2
- package/dist/types/src/api-model/models/rate-item.d.ts +3 -3
- package/dist/types/src/api-model/models/rate.d.ts +8 -8
- package/dist/types/src/api-model/models/requested-document-specification.d.ts +3 -3
- package/dist/types/src/api-model/models/supported-document-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/supported-document-specification.d.ts +3 -3
- package/dist/types/src/api-model/models/tax-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/tracking-summary.d.ts +1 -1
- package/dist/types/src/api-model/models/unlink-carrier-account-request.d.ts +1 -1
- package/dist/types/src/api-model/models/unmanifested-carrier-information.d.ts +1 -1
- package/dist/types/src/api-model/models/unmanifested-shipment-location.d.ts +1 -1
- package/dist/types/src/api-model/models/value-added-service-details.d.ts +1 -1
- package/dist/types/src/api-model/models/value-added-service.d.ts +1 -1
- package/package.json +5 -5
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
|
-
import type { AxiosInstance,
|
|
13
|
+
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
29
29
|
*/
|
|
30
30
|
export interface RequestArgs {
|
|
31
31
|
url: string;
|
|
32
|
-
options:
|
|
32
|
+
options: RawAxiosRequestConfig;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -52,3 +52,15 @@ export declare class RequiredError extends Error {
|
|
|
52
52
|
field: string;
|
|
53
53
|
constructor(field: string, msg?: string);
|
|
54
54
|
}
|
|
55
|
+
interface ServerMap {
|
|
56
|
+
[key: string]: {
|
|
57
|
+
url: string;
|
|
58
|
+
description: string;
|
|
59
|
+
}[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const operationServerMap: ServerMap;
|
|
66
|
+
export {};
|
|
@@ -15,6 +15,7 @@ export interface ConfigurationParameters {
|
|
|
15
15
|
password?: string;
|
|
16
16
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
17
|
basePath?: string;
|
|
18
|
+
serverIndex?: number;
|
|
18
19
|
baseOptions?: any;
|
|
19
20
|
formDataCtor?: new () => any;
|
|
20
21
|
}
|
|
@@ -53,6 +54,13 @@ export declare class Configuration {
|
|
|
53
54
|
* @memberof Configuration
|
|
54
55
|
*/
|
|
55
56
|
basePath?: string;
|
|
57
|
+
/**
|
|
58
|
+
* override server index
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof Configuration
|
|
62
|
+
*/
|
|
63
|
+
serverIndex?: number;
|
|
56
64
|
/**
|
|
57
65
|
* base options for axios calls
|
|
58
66
|
*
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AccessPointType } from './access-point-type';
|
|
13
|
-
import { AccessibilityAttributes } from './accessibility-attributes';
|
|
14
|
-
import { Address } from './address';
|
|
15
|
-
import { ExceptionOperatingHours } from './exception-operating-hours';
|
|
16
|
-
import { OperatingHours } from './operating-hours';
|
|
12
|
+
import type { AccessPointType } from './access-point-type';
|
|
13
|
+
import type { AccessibilityAttributes } from './accessibility-attributes';
|
|
14
|
+
import type { Address } from './address';
|
|
15
|
+
import type { ExceptionOperatingHours } from './exception-operating-hours';
|
|
16
|
+
import type { OperatingHours } from './operating-hours';
|
|
17
17
|
/**
|
|
18
18
|
* Access point details
|
|
19
19
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ValueAddedService } from './value-added-service';
|
|
12
|
+
import type { ValueAddedService } from './value-added-service';
|
|
13
13
|
/**
|
|
14
14
|
* The value-added services available for purchase with a shipping service offering.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ExcludedBenefit } from './excluded-benefit';
|
|
12
|
+
import type { ExcludedBenefit } from './excluded-benefit';
|
|
13
13
|
/**
|
|
14
14
|
* Representing the included/excluded benefits that we offer for each ShippingOffering/Rate. Benefits being services provided by Amazon when sellers purchase shipping through Amazon.
|
|
15
15
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { InputType } from './input-type';
|
|
13
|
-
import { ValidationMetadata } from './validation-metadata';
|
|
12
|
+
import type { InputType } from './input-type';
|
|
13
|
+
import type { ValidationMetadata } from './validation-metadata';
|
|
14
14
|
/**
|
|
15
15
|
* Info About CarrierAccountInput
|
|
16
16
|
* @export
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AmazonOrderDetails } from './amazon-order-details';
|
|
13
|
-
import { AmazonShipmentDetails } from './amazon-shipment-details';
|
|
14
|
-
import { ChannelType } from './channel-type';
|
|
12
|
+
import type { AmazonOrderDetails } from './amazon-order-details';
|
|
13
|
+
import type { AmazonShipmentDetails } from './amazon-shipment-details';
|
|
14
|
+
import type { ChannelType } from './channel-type';
|
|
15
15
|
/**
|
|
16
16
|
* Shipment source channel related information.
|
|
17
17
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Address } from './address';
|
|
13
|
-
import { GenerationStatus } from './generation-status';
|
|
12
|
+
import type { Address } from './address';
|
|
13
|
+
import type { GenerationStatus } from './generation-status';
|
|
14
14
|
/**
|
|
15
15
|
* Active Account Details
|
|
16
16
|
* @export
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Address } from './address';
|
|
13
|
-
import { ChannelDetails } from './channel-details';
|
|
14
|
-
import { Package } from './package';
|
|
15
|
-
import { RequestedDocumentSpecification } from './requested-document-specification';
|
|
12
|
+
import type { Address } from './address';
|
|
13
|
+
import type { ChannelDetails } from './channel-details';
|
|
14
|
+
import type { Package } from './package';
|
|
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
18
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { DirectPurchaseResult } from './direct-purchase-result';
|
|
12
|
+
import type { DirectPurchaseResult } from './direct-purchase-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the directPurchaseShipment operation.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { PackageDocumentDetail } from './package-document-detail';
|
|
12
|
+
import type { PackageDocumentDetail } from './package-document-detail';
|
|
13
13
|
/**
|
|
14
14
|
* The payload for the directPurchaseShipment operation.
|
|
15
15
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { EventCode } from './event-code';
|
|
13
|
-
import { Location } from './location';
|
|
12
|
+
import type { EventCode } from './event-code';
|
|
13
|
+
import type { Location } from './location';
|
|
14
14
|
/**
|
|
15
15
|
* A tracking event.
|
|
16
16
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { DateRange } from './date-range';
|
|
13
|
-
import { OperatingHours } from './operating-hours';
|
|
12
|
+
import type { DateRange } from './date-range';
|
|
13
|
+
import type { OperatingHours } from './operating-hours';
|
|
14
14
|
/**
|
|
15
15
|
* Defines exceptions to standard operating hours for certain date ranges.
|
|
16
16
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Address } from './address';
|
|
13
|
-
import { ClientReferenceDetail } from './client-reference-detail';
|
|
12
|
+
import type { Address } from './address';
|
|
13
|
+
import type { ClientReferenceDetail } from './client-reference-detail';
|
|
14
14
|
/**
|
|
15
15
|
* The request schema Call to generate the collection form.
|
|
16
16
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CollectionsFormDocument } from './collections-form-document';
|
|
12
|
+
import type { CollectionsFormDocument } from './collections-form-document';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GenerateCollectionFormResponse operation.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { GetAccessPointsResult } from './get-access-points-result';
|
|
12
|
+
import type { GetAccessPointsResult } from './get-access-points-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the GetAccessPoints operation.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LinkableCarrier } from './linkable-carrier';
|
|
12
|
+
import type { LinkableCarrier } from './linkable-carrier';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GetCarrierAccountFormInputsResponse operation.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ClientReferenceDetail } from './client-reference-detail';
|
|
12
|
+
import type { ClientReferenceDetail } from './client-reference-detail';
|
|
13
13
|
/**
|
|
14
14
|
* The request schema for the GetCarrierAccounts operation.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ActiveAccount } from './active-account';
|
|
12
|
+
import type { ActiveAccount } from './active-account';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GetCarrierAccountsResponse operation.
|
|
15
15
|
* @export
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Address } from './address';
|
|
13
|
-
import { ClientReferenceDetail } from './client-reference-detail';
|
|
14
|
-
import { DateRange } from './date-range';
|
|
12
|
+
import type { Address } from './address';
|
|
13
|
+
import type { ClientReferenceDetail } from './client-reference-detail';
|
|
14
|
+
import type { DateRange } from './date-range';
|
|
15
15
|
/**
|
|
16
16
|
* The request schema to get query collections form history API .
|
|
17
17
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CollectionFormsHistoryRecord } from './collection-forms-history-record';
|
|
12
|
+
import type { CollectionFormsHistoryRecord } from './collection-forms-history-record';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GetCollectionFormHistoryResponse operation.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CollectionsFormDocument } from './collections-form-document';
|
|
12
|
+
import type { CollectionsFormDocument } from './collections-form-document';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GetCollectionFormResponse operation.
|
|
15
15
|
* @export
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AccessPointDetails } from './access-point-details';
|
|
13
|
-
import { Address } from './address';
|
|
14
|
-
import { ChannelDetails } from './channel-details';
|
|
15
|
-
import { ClientReferenceDetail } from './client-reference-detail';
|
|
16
|
-
import { Package } from './package';
|
|
17
|
-
import { ShipmentType } from './shipment-type';
|
|
18
|
-
import { ShipperInstruction } from './shipper-instruction';
|
|
19
|
-
import { TaxDetail } from './tax-detail';
|
|
20
|
-
import { ValueAddedServiceDetails } from './value-added-service-details';
|
|
12
|
+
import type { AccessPointDetails } from './access-point-details';
|
|
13
|
+
import type { Address } from './address';
|
|
14
|
+
import type { ChannelDetails } from './channel-details';
|
|
15
|
+
import type { ClientReferenceDetail } from './client-reference-detail';
|
|
16
|
+
import type { Package } from './package';
|
|
17
|
+
import type { ShipmentType } from './shipment-type';
|
|
18
|
+
import type { ShipperInstruction } from './shipper-instruction';
|
|
19
|
+
import type { TaxDetail } from './tax-detail';
|
|
20
|
+
import type { ValueAddedServiceDetails } from './value-added-service-details';
|
|
21
21
|
/**
|
|
22
22
|
* The request schema for the getRates operation. When the channelType is Amazon, the shipTo address is not required and will be ignored.
|
|
23
23
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { GetRatesResult } from './get-rates-result';
|
|
12
|
+
import type { GetRatesResult } from './get-rates-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the getRates operation.
|
|
15
15
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { IneligibleRate } from './ineligible-rate';
|
|
13
|
-
import { Rate } from './rate';
|
|
12
|
+
import type { IneligibleRate } from './ineligible-rate';
|
|
13
|
+
import type { Rate } from './rate';
|
|
14
14
|
/**
|
|
15
15
|
* The payload for the getRates operation.
|
|
16
16
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { GetShipmentDocumentsResult } from './get-shipment-documents-result';
|
|
12
|
+
import type { GetShipmentDocumentsResult } from './get-shipment-documents-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the the getShipmentDocuments operation.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { PackageDocumentDetail } from './package-document-detail';
|
|
12
|
+
import type { PackageDocumentDetail } from './package-document-detail';
|
|
13
13
|
/**
|
|
14
14
|
* The payload for the getShipmentDocuments operation.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { GetTrackingResult } from './get-tracking-result';
|
|
12
|
+
import type { GetTrackingResult } from './get-tracking-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the getTracking operation.
|
|
15
15
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Event } from './event';
|
|
13
|
-
import { TrackingSummary } from './tracking-summary';
|
|
12
|
+
import type { Event } from './event';
|
|
13
|
+
import type { TrackingSummary } from './tracking-summary';
|
|
14
14
|
/**
|
|
15
15
|
* The payload for the getTracking operation.
|
|
16
16
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ClientReferenceDetail } from './client-reference-detail';
|
|
12
|
+
import type { ClientReferenceDetail } from './client-reference-detail';
|
|
13
13
|
/**
|
|
14
14
|
* The request schema for the GetUnmanifestedShipmentsRequest operation.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { UnmanifestedCarrierInformation } from './unmanifested-carrier-information';
|
|
12
|
+
import type { UnmanifestedCarrierInformation } from './unmanifested-carrier-information';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the GetUnmanifestedShipmentsResponse operation.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { IneligibilityReasonCode } from './ineligibility-reason-code';
|
|
12
|
+
import type { IneligibilityReasonCode } from './ineligibility-reason-code';
|
|
13
13
|
/**
|
|
14
14
|
* The reason why a shipping service offering is ineligible.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { IneligibilityReason } from './ineligibility-reason';
|
|
12
|
+
import type { IneligibilityReason } from './ineligibility-reason';
|
|
13
13
|
/**
|
|
14
14
|
* Detailed information for an ineligible shipping service offering.
|
|
15
15
|
* @export
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Currency } from './currency';
|
|
13
|
-
import { DangerousGoodsDetails } from './dangerous-goods-details';
|
|
14
|
-
import { DirectFulfillmentItemIdentifiers } from './direct-fulfillment-item-identifiers';
|
|
15
|
-
import { InvoiceDetails } from './invoice-details';
|
|
16
|
-
import { LiquidVolume } from './liquid-volume';
|
|
17
|
-
import { Weight } from './weight';
|
|
12
|
+
import type { Currency } from './currency';
|
|
13
|
+
import type { DangerousGoodsDetails } from './dangerous-goods-details';
|
|
14
|
+
import type { DirectFulfillmentItemIdentifiers } from './direct-fulfillment-item-identifiers';
|
|
15
|
+
import type { InvoiceDetails } from './invoice-details';
|
|
16
|
+
import type { LiquidVolume } from './liquid-volume';
|
|
17
|
+
import type { Weight } from './weight';
|
|
18
18
|
/**
|
|
19
19
|
* An item in a package.
|
|
20
20
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CarrierAccountAttribute } from './carrier-account-attribute';
|
|
13
|
-
import { ClientReferenceDetail } from './client-reference-detail';
|
|
12
|
+
import type { CarrierAccountAttribute } from './carrier-account-attribute';
|
|
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
16
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AccountStatus } from './account-status';
|
|
12
|
+
import type { AccountStatus } from './account-status';
|
|
13
13
|
/**
|
|
14
14
|
* The Response for the LinkCarrierAccount operation.
|
|
15
15
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AccountType } from './account-type';
|
|
13
|
-
import { CarrierAccountInput } from './carrier-account-input';
|
|
12
|
+
import type { AccountType } from './account-type';
|
|
13
|
+
import type { CarrierAccountInput } from './carrier-account-input';
|
|
14
14
|
/**
|
|
15
15
|
* Info About Linkable Account Type
|
|
16
16
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LinkableAccountType } from './linkable-account-type';
|
|
12
|
+
import type { LinkableAccountType } from './linkable-account-type';
|
|
13
13
|
/**
|
|
14
14
|
* Info About Linkable Carrier
|
|
15
15
|
* @export
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AccessPointDetails } from './access-point-details';
|
|
13
|
-
import { Address } from './address';
|
|
14
|
-
import { ChannelDetails } from './channel-details';
|
|
15
|
-
import { OneClickShipmentValueAddedService } from './one-click-shipment-value-added-service';
|
|
16
|
-
import { Package } from './package';
|
|
17
|
-
import { RequestedDocumentSpecification } from './requested-document-specification';
|
|
18
|
-
import { ServiceSelection } from './service-selection';
|
|
19
|
-
import { ShipperInstruction } from './shipper-instruction';
|
|
20
|
-
import { TaxDetail } from './tax-detail';
|
|
12
|
+
import type { AccessPointDetails } from './access-point-details';
|
|
13
|
+
import type { Address } from './address';
|
|
14
|
+
import type { ChannelDetails } from './channel-details';
|
|
15
|
+
import type { OneClickShipmentValueAddedService } from './one-click-shipment-value-added-service';
|
|
16
|
+
import type { Package } from './package';
|
|
17
|
+
import type { RequestedDocumentSpecification } from './requested-document-specification';
|
|
18
|
+
import type { ServiceSelection } from './service-selection';
|
|
19
|
+
import type { ShipperInstruction } from './shipper-instruction';
|
|
20
|
+
import type { TaxDetail } from './tax-detail';
|
|
21
21
|
/**
|
|
22
22
|
* The request schema for the OneClickShipment operation. When the channelType is not Amazon, shipTo is required and when channelType is Amazon shipTo is ignored.
|
|
23
23
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { OneClickShipmentResult } from './one-click-shipment-result';
|
|
12
|
+
import type { OneClickShipmentResult } from './one-click-shipment-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the OneClickShipment operation.
|
|
15
15
|
* @export
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Carrier } from './carrier';
|
|
13
|
-
import { Currency } from './currency';
|
|
14
|
-
import { PackageDocumentDetail } from './package-document-detail';
|
|
15
|
-
import { Promise } from './promise';
|
|
16
|
-
import { Service } from './service';
|
|
12
|
+
import type { Carrier } from './carrier';
|
|
13
|
+
import type { Currency } from './currency';
|
|
14
|
+
import type { PackageDocumentDetail } from './package-document-detail';
|
|
15
|
+
import type { Promise } from './promise';
|
|
16
|
+
import type { Service } from './service';
|
|
17
17
|
/**
|
|
18
18
|
* The payload for the OneClickShipment API.
|
|
19
19
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { PackageDocument } from './package-document';
|
|
12
|
+
import type { PackageDocument } from './package-document';
|
|
13
13
|
/**
|
|
14
14
|
* The post-purchase details of a package that will be shipped using a shipping service.
|
|
15
15
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { DocumentFormat } from './document-format';
|
|
13
|
-
import { DocumentType } from './document-type';
|
|
12
|
+
import type { DocumentFormat } from './document-format';
|
|
13
|
+
import type { DocumentType } from './document-type';
|
|
14
14
|
/**
|
|
15
15
|
* A document related to a package.
|
|
16
16
|
* @export
|