@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/fulfillment-outbound-api.js +93 -51
- 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/additional-location-info.js +0 -2
- package/dist/cjs/api-model/models/current-status.js +0 -2
- package/dist/cjs/api-model/models/delivery-offering.js +15 -0
- package/dist/cjs/api-model/models/delivery-quantity.js +19 -0
- package/dist/cjs/api-model/models/event-code.js +0 -2
- package/dist/cjs/api-model/models/fulfillment-action.js +0 -2
- package/dist/cjs/api-model/models/fulfillment-order-status.js +0 -2
- package/dist/cjs/api-model/models/fulfillment-policy.js +1 -3
- package/dist/cjs/api-model/models/fulfillment-return-item-status.js +0 -2
- package/dist/cjs/api-model/models/get-delivery-offerings-request.js +15 -0
- package/dist/cjs/api-model/models/get-delivery-offerings-response.js +15 -0
- package/dist/cjs/api-model/models/get-delivery-offerings-result.js +15 -0
- package/dist/cjs/api-model/models/index.js +5 -0
- package/dist/cjs/api-model/models/invalid-item-reason-code.js +0 -2
- package/dist/cjs/api-model/models/return-item-disposition.js +0 -2
- package/dist/cjs/api-model/models/shipping-speed-category.js +0 -2
- package/dist/cjs/client.js +7 -0
- package/dist/es/api-model/api/fulfillment-outbound-api.js +93 -51
- 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/additional-location-info.js +0 -2
- package/dist/es/api-model/models/current-status.js +0 -2
- package/dist/es/api-model/models/delivery-offering.js +14 -0
- package/dist/es/api-model/models/delivery-quantity.js +16 -0
- package/dist/es/api-model/models/event-code.js +0 -2
- package/dist/es/api-model/models/fulfillment-action.js +0 -2
- package/dist/es/api-model/models/fulfillment-order-status.js +0 -2
- package/dist/es/api-model/models/fulfillment-policy.js +1 -3
- package/dist/es/api-model/models/fulfillment-return-item-status.js +0 -2
- package/dist/es/api-model/models/get-delivery-offerings-request.js +14 -0
- package/dist/es/api-model/models/get-delivery-offerings-response.js +14 -0
- package/dist/es/api-model/models/get-delivery-offerings-result.js +14 -0
- package/dist/es/api-model/models/index.js +5 -0
- package/dist/es/api-model/models/invalid-item-reason-code.js +0 -2
- package/dist/es/api-model/models/return-item-disposition.js +0 -2
- package/dist/es/api-model/models/shipping-speed-category.js +0 -2
- package/dist/es/client.js +7 -0
- package/dist/types/api-model/api/fulfillment-outbound-api.d.ts +79 -134
- 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/additional-location-info.d.ts +0 -2
- package/dist/types/api-model/models/address.d.ts +0 -22
- package/dist/types/api-model/models/amount.d.ts +0 -6
- package/dist/types/api-model/models/cancel-fulfillment-order-response.d.ts +0 -4
- package/dist/types/api-model/models/codsettings.d.ts +0 -24
- package/dist/types/api-model/models/create-fulfillment-order-item.d.ts +1 -30
- package/dist/types/api-model/models/create-fulfillment-order-request.d.ts +2 -59
- package/dist/types/api-model/models/create-fulfillment-order-response.d.ts +0 -4
- package/dist/types/api-model/models/create-fulfillment-return-request.d.ts +1 -5
- package/dist/types/api-model/models/create-fulfillment-return-response.d.ts +0 -9
- package/dist/types/api-model/models/create-fulfillment-return-result.d.ts +1 -9
- package/dist/types/api-model/models/create-return-item.d.ts +1 -13
- package/dist/types/api-model/models/current-status.d.ts +0 -2
- package/dist/types/api-model/models/date-range.d.ts +0 -6
- package/dist/types/api-model/models/delivery-document.d.ts +0 -6
- package/dist/types/api-model/models/delivery-information.d.ts +0 -9
- package/dist/types/api-model/models/delivery-message.d.ts +1 -7
- package/dist/types/api-model/models/delivery-offer.d.ts +0 -14
- package/dist/types/api-model/models/delivery-offering.d.ts +24 -0
- package/dist/types/api-model/models/delivery-policy.d.ts +0 -7
- package/dist/types/api-model/models/delivery-preferences.d.ts +0 -9
- package/dist/types/api-model/models/delivery-quantity.d.ts +28 -0
- package/dist/types/api-model/models/delivery-window.d.ts +0 -6
- package/dist/types/api-model/models/destination.d.ts +0 -9
- package/dist/types/api-model/models/drop-off-location.d.ts +0 -6
- package/dist/types/api-model/models/event-code.d.ts +0 -2
- package/dist/types/api-model/models/feature-settings.d.ts +1 -7
- package/dist/types/api-model/models/feature-sku.d.ts +0 -12
- package/dist/types/api-model/models/feature.d.ts +0 -8
- package/dist/types/api-model/models/fee.d.ts +0 -9
- package/dist/types/api-model/models/fulfillment-action.d.ts +0 -2
- package/dist/types/api-model/models/fulfillment-order-item.d.ts +0 -39
- package/dist/types/api-model/models/fulfillment-order-status.d.ts +0 -2
- package/dist/types/api-model/models/fulfillment-order.d.ts +0 -55
- package/dist/types/api-model/models/fulfillment-policy.d.ts +1 -3
- package/dist/types/api-model/models/fulfillment-preview-item.d.ts +0 -15
- package/dist/types/api-model/models/fulfillment-preview-shipment.d.ts +0 -14
- package/dist/types/api-model/models/fulfillment-preview.d.ts +0 -33
- package/dist/types/api-model/models/fulfillment-return-item-status.d.ts +0 -2
- package/dist/types/api-model/models/fulfillment-shipment-item.d.ts +0 -14
- package/dist/types/api-model/models/fulfillment-shipment-package.d.ts +4 -20
- package/dist/types/api-model/models/fulfillment-shipment.d.ts +2 -20
- package/dist/types/api-model/models/get-delivery-offerings-request.d.ts +28 -0
- package/dist/types/api-model/models/get-delivery-offerings-response.d.ts +22 -0
- package/dist/types/api-model/models/get-delivery-offerings-result.d.ts +21 -0
- package/dist/types/api-model/models/get-delivery-offers-product.d.ts +0 -12
- package/dist/types/api-model/models/get-delivery-offers-request.d.ts +1 -13
- package/dist/types/api-model/models/get-delivery-offers-response.d.ts +1 -10
- package/dist/types/api-model/models/get-delivery-offers-result.d.ts +0 -4
- package/dist/types/api-model/models/get-delivery-offers-terms.d.ts +0 -12
- package/dist/types/api-model/models/get-feature-inventory-response.d.ts +0 -9
- package/dist/types/api-model/models/get-feature-inventory-result.d.ts +1 -11
- package/dist/types/api-model/models/get-feature-sku-response.d.ts +0 -9
- package/dist/types/api-model/models/get-feature-sku-result.d.ts +1 -16
- package/dist/types/api-model/models/get-features-response.d.ts +0 -9
- package/dist/types/api-model/models/get-features-result.d.ts +0 -4
- package/dist/types/api-model/models/get-fulfillment-order-response.d.ts +0 -9
- package/dist/types/api-model/models/get-fulfillment-order-result.d.ts +1 -18
- package/dist/types/api-model/models/get-fulfillment-preview-item.d.ts +0 -13
- package/dist/types/api-model/models/get-fulfillment-preview-request.d.ts +2 -21
- package/dist/types/api-model/models/get-fulfillment-preview-response.d.ts +0 -9
- package/dist/types/api-model/models/get-fulfillment-preview-result.d.ts +0 -4
- package/dist/types/api-model/models/get-package-tracking-details-response.d.ts +0 -9
- package/dist/types/api-model/models/index.d.ts +5 -0
- package/dist/types/api-model/models/invalid-item-reason-code.d.ts +0 -2
- package/dist/types/api-model/models/invalid-item-reason.d.ts +0 -9
- package/dist/types/api-model/models/invalid-return-item.d.ts +1 -12
- package/dist/types/api-model/models/list-all-fulfillment-orders-response.d.ts +0 -9
- package/dist/types/api-model/models/list-all-fulfillment-orders-result.d.ts +1 -7
- package/dist/types/api-model/models/list-return-reason-codes-response.d.ts +0 -9
- package/dist/types/api-model/models/list-return-reason-codes-result.d.ts +1 -5
- package/dist/types/api-model/models/locker-details.d.ts +0 -6
- package/dist/types/api-model/models/model-error.d.ts +0 -8
- package/dist/types/api-model/models/money.d.ts +0 -6
- package/dist/types/api-model/models/origin.d.ts +0 -4
- package/dist/types/api-model/models/package-tracking-details.d.ts +1 -45
- package/dist/types/api-model/models/payment-information.d.ts +0 -8
- package/dist/types/api-model/models/product-identifier.d.ts +0 -4
- package/dist/types/api-model/models/reason-code-details.d.ts +1 -9
- package/dist/types/api-model/models/return-authorization.d.ts +1 -16
- package/dist/types/api-model/models/return-item-disposition.d.ts +0 -2
- package/dist/types/api-model/models/return-item.d.ts +1 -31
- package/dist/types/api-model/models/scheduled-delivery-info.d.ts +0 -6
- package/dist/types/api-model/models/shipping-speed-category.d.ts +0 -2
- package/dist/types/api-model/models/submit-fulfillment-order-status-update-request.d.ts +0 -7
- package/dist/types/api-model/models/submit-fulfillment-order-status-update-response.d.ts +0 -4
- package/dist/types/api-model/models/tracking-address.d.ts +0 -8
- package/dist/types/api-model/models/tracking-event.d.ts +0 -16
- package/dist/types/api-model/models/unfulfillable-preview-item.d.ts +0 -10
- package/dist/types/api-model/models/update-fulfillment-order-item.d.ts +1 -32
- package/dist/types/api-model/models/update-fulfillment-order-request.d.ts +0 -38
- package/dist/types/api-model/models/update-fulfillment-order-response.d.ts +0 -4
- package/dist/types/api-model/models/variable-precision-address.d.ts +0 -18
- package/dist/types/api-model/models/weight.d.ts +0 -6
- package/package.json +25 -4
|
@@ -12,32 +12,19 @@
|
|
|
12
12
|
import type { Money } from './money';
|
|
13
13
|
/**
|
|
14
14
|
* Item information for a fulfillment order preview.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFulfillmentPreviewItem
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFulfillmentPreviewItem {
|
|
19
17
|
/**
|
|
20
18
|
* The seller SKU of the item.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof GetFulfillmentPreviewItem
|
|
23
19
|
*/
|
|
24
20
|
'sellerSku': string;
|
|
25
21
|
/**
|
|
26
22
|
* The item quantity.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof GetFulfillmentPreviewItem
|
|
29
23
|
*/
|
|
30
24
|
'quantity': number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Money}
|
|
34
|
-
* @memberof GetFulfillmentPreviewItem
|
|
35
|
-
*/
|
|
36
25
|
'perUnitDeclaredValue'?: Money;
|
|
37
26
|
/**
|
|
38
27
|
* A fulfillment order item identifier that the seller creates to track items in the fulfillment preview.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof GetFulfillmentPreviewItem
|
|
41
28
|
*/
|
|
42
29
|
'sellerFulfillmentOrderItemId': string;
|
|
43
30
|
}
|
|
@@ -15,50 +15,31 @@ import type { GetFulfillmentPreviewItem } from './get-fulfillment-preview-item';
|
|
|
15
15
|
import type { ShippingSpeedCategory } from './shipping-speed-category';
|
|
16
16
|
/**
|
|
17
17
|
* The request body schema for the `getFulfillmentPreview` operation.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface GetFulfillmentPreviewRequest
|
|
20
18
|
*/
|
|
21
19
|
export interface GetFulfillmentPreviewRequest {
|
|
22
20
|
/**
|
|
23
21
|
* The marketplace the fulfillment order is placed against.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof GetFulfillmentPreviewRequest
|
|
26
22
|
*/
|
|
27
23
|
'marketplaceId'?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {Address}
|
|
31
|
-
* @memberof GetFulfillmentPreviewRequest
|
|
32
|
-
*/
|
|
33
24
|
'address': Address;
|
|
34
25
|
/**
|
|
35
26
|
* An array of fulfillment preview item information.
|
|
36
|
-
* @type {Array<GetFulfillmentPreviewItem>}
|
|
37
|
-
* @memberof GetFulfillmentPreviewRequest
|
|
38
27
|
*/
|
|
39
28
|
'items': Array<GetFulfillmentPreviewItem>;
|
|
40
29
|
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {Array<ShippingSpeedCategory>}
|
|
43
|
-
* @memberof GetFulfillmentPreviewRequest
|
|
30
|
+
* List of shipping speed categories.
|
|
44
31
|
*/
|
|
45
32
|
'shippingSpeedCategories'?: Array<ShippingSpeedCategory>;
|
|
46
33
|
/**
|
|
47
34
|
* When true, returns all fulfillment order previews both for COD and not for COD. Otherwise, returns only fulfillment order previews that are not for COD.
|
|
48
|
-
* @type {boolean}
|
|
49
|
-
* @memberof GetFulfillmentPreviewRequest
|
|
50
35
|
*/
|
|
51
36
|
'includeCODFulfillmentPreview'?: boolean;
|
|
52
37
|
/**
|
|
53
|
-
* When true, returns the `ScheduledDeliveryInfo` response object, which contains the available delivery windows for a Scheduled Delivery. The `ScheduledDeliveryInfo` response object can only be returned for fulfillment order previews with `ShippingSpeedCategories`
|
|
54
|
-
* @type {boolean}
|
|
55
|
-
* @memberof GetFulfillmentPreviewRequest
|
|
38
|
+
* When true, returns the `ScheduledDeliveryInfo` response object, which contains the available delivery windows for a Scheduled Delivery. The `ScheduledDeliveryInfo` response object can only be returned for fulfillment order previews with `ShippingSpeedCategories` equal to `ScheduledDelivery`.
|
|
56
39
|
*/
|
|
57
40
|
'includeDeliveryWindows'?: boolean;
|
|
58
41
|
/**
|
|
59
42
|
* A list of features and their fulfillment policies to apply to the order.
|
|
60
|
-
* @type {Array<FeatureSettings>}
|
|
61
|
-
* @memberof GetFulfillmentPreviewRequest
|
|
62
43
|
*/
|
|
63
44
|
'featureConstraints'?: Array<FeatureSettings>;
|
|
64
45
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetFulfillmentPreviewResult } from './get-fulfillment-preview-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getFulfillmentPreview` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFulfillmentPreviewResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFulfillmentPreviewResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetFulfillmentPreviewResult}
|
|
22
|
-
* @memberof GetFulfillmentPreviewResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetFulfillmentPreviewResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetFulfillmentPreviewResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { FulfillmentPreview } from './fulfillment-preview';
|
|
13
13
|
/**
|
|
14
14
|
* A list of fulfillment order previews, including estimated shipping weights, estimated shipping fees, and estimated ship dates and arrival dates.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFulfillmentPreviewResult
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFulfillmentPreviewResult {
|
|
19
17
|
/**
|
|
20
18
|
* An array of fulfillment preview information.
|
|
21
|
-
* @type {Array<FulfillmentPreview>}
|
|
22
|
-
* @memberof GetFulfillmentPreviewResult
|
|
23
19
|
*/
|
|
24
20
|
'fulfillmentPreviews'?: Array<FulfillmentPreview>;
|
|
25
21
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { PackageTrackingDetails } from './package-tracking-details';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getPackageTrackingDetails` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetPackageTrackingDetailsResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetPackageTrackingDetailsResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {PackageTrackingDetails}
|
|
22
|
-
* @memberof GetPackageTrackingDetailsResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: PackageTrackingDetails;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetPackageTrackingDetailsResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -16,8 +16,10 @@ export * from './delivery-document';
|
|
|
16
16
|
export * from './delivery-information';
|
|
17
17
|
export * from './delivery-message';
|
|
18
18
|
export * from './delivery-offer';
|
|
19
|
+
export * from './delivery-offering';
|
|
19
20
|
export * from './delivery-policy';
|
|
20
21
|
export * from './delivery-preferences';
|
|
22
|
+
export * from './delivery-quantity';
|
|
21
23
|
export * from './delivery-window';
|
|
22
24
|
export * from './destination';
|
|
23
25
|
export * from './drop-off-location';
|
|
@@ -38,6 +40,9 @@ export * from './fulfillment-return-item-status';
|
|
|
38
40
|
export * from './fulfillment-shipment';
|
|
39
41
|
export * from './fulfillment-shipment-item';
|
|
40
42
|
export * from './fulfillment-shipment-package';
|
|
43
|
+
export * from './get-delivery-offerings-request';
|
|
44
|
+
export * from './get-delivery-offerings-response';
|
|
45
|
+
export * from './get-delivery-offerings-result';
|
|
41
46
|
export * from './get-delivery-offers-product';
|
|
42
47
|
export * from './get-delivery-offers-request';
|
|
43
48
|
export * from './get-delivery-offers-response';
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { InvalidItemReasonCode } from './invalid-item-reason-code';
|
|
13
13
|
/**
|
|
14
14
|
* The reason that the item is invalid for return.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface InvalidItemReason
|
|
17
15
|
*/
|
|
18
16
|
export interface InvalidItemReason {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {InvalidItemReasonCode}
|
|
22
|
-
* @memberof InvalidItemReason
|
|
23
|
-
*/
|
|
24
17
|
'invalidItemReasonCode': InvalidItemReasonCode;
|
|
25
18
|
/**
|
|
26
19
|
* A human readable description of the invalid item reason code.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof InvalidItemReason
|
|
29
20
|
*/
|
|
30
21
|
'description': string;
|
|
31
22
|
}
|
|
@@ -12,26 +12,15 @@
|
|
|
12
12
|
import type { InvalidItemReason } from './invalid-item-reason';
|
|
13
13
|
/**
|
|
14
14
|
* An item that is invalid for return.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface InvalidReturnItem
|
|
17
15
|
*/
|
|
18
16
|
export interface InvalidReturnItem {
|
|
19
17
|
/**
|
|
20
|
-
* An identifier
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof InvalidReturnItem
|
|
18
|
+
* An identifier the seller assigns to the return item.
|
|
23
19
|
*/
|
|
24
20
|
'sellerReturnItemId': string;
|
|
25
21
|
/**
|
|
26
22
|
* The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof InvalidReturnItem
|
|
29
23
|
*/
|
|
30
24
|
'sellerFulfillmentOrderItemId': string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {InvalidItemReason}
|
|
34
|
-
* @memberof InvalidReturnItem
|
|
35
|
-
*/
|
|
36
25
|
'invalidItemReason': InvalidItemReason;
|
|
37
26
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { ListAllFulfillmentOrdersResult } from './list-all-fulfillment-orders-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `listAllFulfillmentOrders` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ListAllFulfillmentOrdersResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface ListAllFulfillmentOrdersResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {ListAllFulfillmentOrdersResult}
|
|
22
|
-
* @memberof ListAllFulfillmentOrdersResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: ListAllFulfillmentOrdersResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof ListAllFulfillmentOrdersResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -11,21 +11,15 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { FulfillmentOrder } from './fulfillment-order';
|
|
13
13
|
/**
|
|
14
|
-
* The request for the listAllFulfillmentOrders operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ListAllFulfillmentOrdersResult
|
|
14
|
+
* The request for the `listAllFulfillmentOrders` operation.
|
|
17
15
|
*/
|
|
18
16
|
export interface ListAllFulfillmentOrdersResult {
|
|
19
17
|
/**
|
|
20
18
|
* When present and not empty, pass this string token in the next request to return the next response page.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ListAllFulfillmentOrdersResult
|
|
23
19
|
*/
|
|
24
20
|
'nextToken'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* An array of fulfillment order information.
|
|
27
|
-
* @type {Array<FulfillmentOrder>}
|
|
28
|
-
* @memberof ListAllFulfillmentOrdersResult
|
|
29
23
|
*/
|
|
30
24
|
'fulfillmentOrders'?: Array<FulfillmentOrder>;
|
|
31
25
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { ListReturnReasonCodesResult } from './list-return-reason-codes-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `listReturnReasonCodes` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ListReturnReasonCodesResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface ListReturnReasonCodesResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {ListReturnReasonCodesResult}
|
|
22
|
-
* @memberof ListReturnReasonCodesResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: ListReturnReasonCodesResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof ListReturnReasonCodesResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -11,15 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ReasonCodeDetails } from './reason-code-details';
|
|
13
13
|
/**
|
|
14
|
-
* The request for the listReturnReasonCodes operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ListReturnReasonCodesResult
|
|
14
|
+
* The request for the `listReturnReasonCodes` operation.
|
|
17
15
|
*/
|
|
18
16
|
export interface ListReturnReasonCodesResult {
|
|
19
17
|
/**
|
|
20
18
|
* An array of return reason code details.
|
|
21
|
-
* @type {Array<ReasonCodeDetails>}
|
|
22
|
-
* @memberof ListReturnReasonCodesResult
|
|
23
19
|
*/
|
|
24
20
|
'reasonCodeDetails'?: Array<ReasonCodeDetails>;
|
|
25
21
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The locker details, which you can use to access the locker delivery box.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface LockerDetails
|
|
16
14
|
*/
|
|
17
15
|
export interface LockerDetails {
|
|
18
16
|
/**
|
|
19
17
|
* Indicates the locker number
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof LockerDetails
|
|
22
18
|
*/
|
|
23
19
|
'lockerNumber'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* Indicates the locker access code
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof LockerDetails
|
|
28
22
|
*/
|
|
29
23
|
'lockerAccessCode'?: string;
|
|
30
24
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Error response returned when the request is unsuccessful.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ModelError
|
|
16
14
|
*/
|
|
17
15
|
export interface ModelError {
|
|
18
16
|
/**
|
|
19
17
|
* An error code that identifies the type of error that occurred.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ModelError
|
|
22
18
|
*/
|
|
23
19
|
'code': string;
|
|
24
20
|
/**
|
|
25
21
|
* A message that describes the error condition.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ModelError
|
|
28
22
|
*/
|
|
29
23
|
'message': string;
|
|
30
24
|
/**
|
|
31
25
|
* Additional details that can help the caller understand or fix the issue.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ModelError
|
|
34
26
|
*/
|
|
35
27
|
'details'?: string;
|
|
36
28
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* An amount of money, including units in the form of currency.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Money
|
|
16
14
|
*/
|
|
17
15
|
export interface Money {
|
|
18
16
|
/**
|
|
19
17
|
* Three digit currency code in ISO 4217 format.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Money
|
|
22
18
|
*/
|
|
23
19
|
'currencyCode': string;
|
|
24
20
|
/**
|
|
25
21
|
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Money
|
|
28
22
|
*/
|
|
29
23
|
'value': string;
|
|
30
24
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The origin for the delivery offer.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Origin
|
|
16
14
|
*/
|
|
17
15
|
export interface Origin {
|
|
18
16
|
/**
|
|
19
17
|
* The two digit country code the items should ship from. In ISO 3166-1 alpha-2 format.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Origin
|
|
22
18
|
*/
|
|
23
19
|
'countryCode': string;
|
|
24
20
|
}
|
|
@@ -16,98 +16,54 @@ import type { TrackingAddress } from './tracking-address';
|
|
|
16
16
|
import type { TrackingEvent } from './tracking-event';
|
|
17
17
|
/**
|
|
18
18
|
* Tracking details of package
|
|
19
|
-
* @export
|
|
20
|
-
* @interface PackageTrackingDetails
|
|
21
19
|
*/
|
|
22
20
|
export interface PackageTrackingDetails {
|
|
23
21
|
/**
|
|
24
22
|
* The package identifier.
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof PackageTrackingDetails
|
|
27
23
|
*/
|
|
28
24
|
'packageNumber': number;
|
|
29
25
|
/**
|
|
30
26
|
* The tracking number for the package.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof PackageTrackingDetails
|
|
33
27
|
*/
|
|
34
28
|
'trackingNumber'?: string;
|
|
35
29
|
/**
|
|
36
30
|
* Link on swiship.com that allows customers to track the package.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof PackageTrackingDetails
|
|
39
31
|
*/
|
|
40
32
|
'customerTrackingLink'?: string;
|
|
41
33
|
/**
|
|
42
34
|
* The name of the carrier.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof PackageTrackingDetails
|
|
45
35
|
*/
|
|
46
36
|
'carrierCode'?: string;
|
|
47
37
|
/**
|
|
48
38
|
* The phone number of the carrier.
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof PackageTrackingDetails
|
|
51
39
|
*/
|
|
52
40
|
'carrierPhoneNumber'?: string;
|
|
53
41
|
/**
|
|
54
42
|
* The URL of the carrier\'s website.
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof PackageTrackingDetails
|
|
57
43
|
*/
|
|
58
44
|
'carrierURL'?: string;
|
|
59
45
|
/**
|
|
60
46
|
* Date timestamp
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof PackageTrackingDetails
|
|
63
47
|
*/
|
|
64
48
|
'shipDate'?: string;
|
|
65
49
|
/**
|
|
66
50
|
* Date timestamp
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof PackageTrackingDetails
|
|
69
51
|
*/
|
|
70
52
|
'estimatedArrivalDate'?: string;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {TrackingAddress}
|
|
74
|
-
* @memberof PackageTrackingDetails
|
|
75
|
-
*/
|
|
76
53
|
'shipToAddress'?: TrackingAddress;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {CurrentStatus}
|
|
80
|
-
* @memberof PackageTrackingDetails
|
|
81
|
-
*/
|
|
82
54
|
'currentStatus'?: CurrentStatus;
|
|
83
55
|
/**
|
|
84
|
-
* Description corresponding to the CurrentStatus value.
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof PackageTrackingDetails
|
|
56
|
+
* Description corresponding to the `CurrentStatus` value.
|
|
87
57
|
*/
|
|
88
58
|
'currentStatusDescription'?: string;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {DateRange}
|
|
92
|
-
* @memberof PackageTrackingDetails
|
|
93
|
-
*/
|
|
94
59
|
'deliveryWindow'?: DateRange;
|
|
95
60
|
/**
|
|
96
61
|
* The name of the person who signed for the package.
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof PackageTrackingDetails
|
|
99
62
|
*/
|
|
100
63
|
'signedForBy'?: string;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {AdditionalLocationInfo}
|
|
104
|
-
* @memberof PackageTrackingDetails
|
|
105
|
-
*/
|
|
106
64
|
'additionalLocationInfo'?: AdditionalLocationInfo;
|
|
107
65
|
/**
|
|
108
66
|
* An array of tracking event information.
|
|
109
|
-
* @type {Array<TrackingEvent>}
|
|
110
|
-
* @memberof PackageTrackingDetails
|
|
111
67
|
*/
|
|
112
68
|
'trackingEvents'?: Array<TrackingEvent>;
|
|
113
69
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The attributes related to the payment made from customer to seller for this order.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PaymentInformation
|
|
16
14
|
*/
|
|
17
15
|
export interface PaymentInformation {
|
|
18
16
|
/**
|
|
19
17
|
* The transaction identifier of this payment.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PaymentInformation
|
|
22
18
|
*/
|
|
23
19
|
'paymentTransactionId': string;
|
|
24
20
|
/**
|
|
25
21
|
* The transaction mode of this payment.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PaymentInformation
|
|
28
22
|
*/
|
|
29
23
|
'paymentMode': string;
|
|
30
24
|
/**
|
|
31
25
|
* Date timestamp
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PaymentInformation
|
|
34
26
|
*/
|
|
35
27
|
'paymentDate': string;
|
|
36
28
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Product identifier input that locates a product for MCF.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ProductIdentifier
|
|
16
14
|
*/
|
|
17
15
|
export interface ProductIdentifier {
|
|
18
16
|
/**
|
|
19
17
|
* The merchant SKU for the product.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ProductIdentifier
|
|
22
18
|
*/
|
|
23
19
|
'merchantSku': string;
|
|
24
20
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A return reason code, a description, and an optional description translation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ReasonCodeDetails
|
|
16
14
|
*/
|
|
17
15
|
export interface ReasonCodeDetails {
|
|
18
16
|
/**
|
|
19
17
|
* A code that indicates a valid return reason.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ReasonCodeDetails
|
|
22
18
|
*/
|
|
23
19
|
'returnReasonCode': string;
|
|
24
20
|
/**
|
|
25
21
|
* A human readable description of the return reason code.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ReasonCodeDetails
|
|
28
22
|
*/
|
|
29
23
|
'description': string;
|
|
30
24
|
/**
|
|
31
|
-
* A translation of the description. The translation is in the language specified in the
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ReasonCodeDetails
|
|
25
|
+
* A translation of the description. The translation is in the language specified in the `language` request parameter.
|
|
34
26
|
*/
|
|
35
27
|
'translatedDescription'?: string;
|
|
36
28
|
}
|
|
@@ -12,38 +12,23 @@
|
|
|
12
12
|
import type { Address } from './address';
|
|
13
13
|
/**
|
|
14
14
|
* Return authorization information for items accepted for return.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ReturnAuthorization
|
|
17
15
|
*/
|
|
18
16
|
export interface ReturnAuthorization {
|
|
19
17
|
/**
|
|
20
18
|
* An identifier for the return authorization. This identifier associates return items with the return authorization used to return them.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ReturnAuthorization
|
|
23
19
|
*/
|
|
24
20
|
'returnAuthorizationId': string;
|
|
25
21
|
/**
|
|
26
|
-
* An identifier for the Amazon fulfillment center
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ReturnAuthorization
|
|
22
|
+
* An identifier for the Amazon fulfillment center to which the return items should be sent.
|
|
29
23
|
*/
|
|
30
24
|
'fulfillmentCenterId': string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Address}
|
|
34
|
-
* @memberof ReturnAuthorization
|
|
35
|
-
*/
|
|
36
25
|
'returnToAddress': Address;
|
|
37
26
|
/**
|
|
38
27
|
* The return merchandise authorization (RMA) that Amazon needs to process the return.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ReturnAuthorization
|
|
41
28
|
*/
|
|
42
29
|
'amazonRmaId': string;
|
|
43
30
|
/**
|
|
44
31
|
* A URL for a web page that contains the return authorization barcode and the mailing label. This does not include pre-paid shipping.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ReturnAuthorization
|
|
47
32
|
*/
|
|
48
33
|
'rmaPageURL': string;
|
|
49
34
|
}
|