@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.0.0 → 4.0.2
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 +0 -20
- 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/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 +0 -2
- package/dist/cjs/api-model/models/fulfillment-return-item-status.js +0 -2
- 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/es/api-model/api/fulfillment-outbound-api.js +0 -20
- 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/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 +0 -2
- package/dist/es/api-model/models/fulfillment-return-item-status.js +0 -2
- 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/types/api-model/api/fulfillment-outbound-api.d.ts +0 -100
- 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 +0 -29
- package/dist/types/api-model/models/create-fulfillment-order-request.d.ts +0 -57
- 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 +0 -4
- 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 +0 -8
- package/dist/types/api-model/models/create-return-item.d.ts +0 -12
- 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 +0 -6
- package/dist/types/api-model/models/delivery-offer.d.ts +0 -14
- 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-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 +0 -6
- 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 +0 -2
- 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 +0 -20
- package/dist/types/api-model/models/fulfillment-shipment.d.ts +0 -18
- 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 +0 -12
- package/dist/types/api-model/models/get-delivery-offers-response.d.ts +0 -9
- 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 +0 -10
- 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 +0 -15
- 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 +0 -17
- 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 +0 -19
- 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/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 +0 -11
- 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 +0 -6
- 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 +0 -4
- 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 +0 -44
- 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 +0 -8
- package/dist/types/api-model/models/return-authorization.d.ts +0 -15
- package/dist/types/api-model/models/return-item-disposition.d.ts +0 -2
- package/dist/types/api-model/models/return-item.d.ts +0 -30
- 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 +0 -31
- 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
|
@@ -11,44 +11,30 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Item information for a shipment in a fulfillment order.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface FulfillmentShipmentItem
|
|
16
14
|
*/
|
|
17
15
|
export interface FulfillmentShipmentItem {
|
|
18
16
|
/**
|
|
19
17
|
* The seller SKU of the item.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FulfillmentShipmentItem
|
|
22
18
|
*/
|
|
23
19
|
'sellerSku': string;
|
|
24
20
|
/**
|
|
25
21
|
* The fulfillment order item identifier that the seller created and submitted with a call to the `createFulfillmentOrder` operation.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FulfillmentShipmentItem
|
|
28
22
|
*/
|
|
29
23
|
'sellerFulfillmentOrderItemId': string;
|
|
30
24
|
/**
|
|
31
25
|
* The item quantity.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof FulfillmentShipmentItem
|
|
34
26
|
*/
|
|
35
27
|
'quantity': number;
|
|
36
28
|
/**
|
|
37
29
|
* An identifier for the package that contains the item quantity.
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof FulfillmentShipmentItem
|
|
40
30
|
*/
|
|
41
31
|
'packageNumber'?: number;
|
|
42
32
|
/**
|
|
43
33
|
* The serial number of the shipped item.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof FulfillmentShipmentItem
|
|
46
34
|
*/
|
|
47
35
|
'serialNumber'?: string;
|
|
48
36
|
/**
|
|
49
37
|
* String list
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof FulfillmentShipmentItem
|
|
52
38
|
*/
|
|
53
39
|
'manufacturerLotCodes'?: Array<string>;
|
|
54
40
|
}
|
|
@@ -13,44 +13,24 @@ import type { DeliveryInformation } from './delivery-information';
|
|
|
13
13
|
import type { LockerDetails } from './locker-details';
|
|
14
14
|
/**
|
|
15
15
|
* Package information for a shipment in a fulfillment order.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface FulfillmentShipmentPackage
|
|
18
16
|
*/
|
|
19
17
|
export interface FulfillmentShipmentPackage {
|
|
20
18
|
/**
|
|
21
19
|
* Identifies a package in a shipment.
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof FulfillmentShipmentPackage
|
|
24
20
|
*/
|
|
25
21
|
'packageNumber': number;
|
|
26
22
|
/**
|
|
27
23
|
* Identifies the carrier who will deliver the shipment to the recipient.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof FulfillmentShipmentPackage
|
|
30
24
|
*/
|
|
31
25
|
'carrierCode': string;
|
|
32
26
|
/**
|
|
33
27
|
* The tracking number, if provided, can be used to obtain tracking and delivery information.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof FulfillmentShipmentPackage
|
|
36
28
|
*/
|
|
37
29
|
'trackingNumber'?: string;
|
|
38
30
|
/**
|
|
39
31
|
* Date timestamp
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof FulfillmentShipmentPackage
|
|
42
32
|
*/
|
|
43
33
|
'estimatedArrivalDate'?: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {LockerDetails}
|
|
47
|
-
* @memberof FulfillmentShipmentPackage
|
|
48
|
-
*/
|
|
49
34
|
'lockerDetails'?: LockerDetails;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {DeliveryInformation}
|
|
53
|
-
* @memberof FulfillmentShipmentPackage
|
|
54
|
-
*/
|
|
55
35
|
'deliveryInformation'?: DeliveryInformation;
|
|
56
36
|
}
|
|
@@ -13,56 +13,38 @@ import type { FulfillmentShipmentItem } from './fulfillment-shipment-item';
|
|
|
13
13
|
import type { FulfillmentShipmentPackage } from './fulfillment-shipment-package';
|
|
14
14
|
/**
|
|
15
15
|
* Delivery and item information for a shipment in a fulfillment order.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface FulfillmentShipment
|
|
18
16
|
*/
|
|
19
17
|
export interface FulfillmentShipment {
|
|
20
18
|
/**
|
|
21
19
|
* A shipment identifier assigned by Amazon.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof FulfillmentShipment
|
|
24
20
|
*/
|
|
25
21
|
'amazonShipmentId': string;
|
|
26
22
|
/**
|
|
27
23
|
* An identifier for the fulfillment center that the shipment will be sent from.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof FulfillmentShipment
|
|
30
24
|
*/
|
|
31
25
|
'fulfillmentCenterId': string;
|
|
32
26
|
/**
|
|
33
27
|
* The current status of the shipment.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof FulfillmentShipment
|
|
36
28
|
*/
|
|
37
29
|
'fulfillmentShipmentStatus': FulfillmentShipmentFulfillmentShipmentStatusEnum;
|
|
38
30
|
/**
|
|
39
31
|
* Date timestamp
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof FulfillmentShipment
|
|
42
32
|
*/
|
|
43
33
|
'shippingDate'?: string;
|
|
44
34
|
/**
|
|
45
35
|
* Date timestamp
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof FulfillmentShipment
|
|
48
36
|
*/
|
|
49
37
|
'estimatedArrivalDate'?: string;
|
|
50
38
|
/**
|
|
51
39
|
* Provides additional insight into shipment timeline. Primairly used to communicate that actual delivery dates aren\'t available.
|
|
52
|
-
* @type {Array<string>}
|
|
53
|
-
* @memberof FulfillmentShipment
|
|
54
40
|
*/
|
|
55
41
|
'shippingNotes'?: Array<string>;
|
|
56
42
|
/**
|
|
57
43
|
* An array of fulfillment shipment item information.
|
|
58
|
-
* @type {Array<FulfillmentShipmentItem>}
|
|
59
|
-
* @memberof FulfillmentShipment
|
|
60
44
|
*/
|
|
61
45
|
'fulfillmentShipmentItem': Array<FulfillmentShipmentItem>;
|
|
62
46
|
/**
|
|
63
47
|
* An array of fulfillment shipment package information.
|
|
64
|
-
* @type {Array<FulfillmentShipmentPackage>}
|
|
65
|
-
* @memberof FulfillmentShipment
|
|
66
48
|
*/
|
|
67
49
|
'fulfillmentShipmentPackage'?: Array<FulfillmentShipmentPackage>;
|
|
68
50
|
}
|
|
@@ -13,20 +13,8 @@ import type { Amount } from './amount';
|
|
|
13
13
|
import type { ProductIdentifier } from './product-identifier';
|
|
14
14
|
/**
|
|
15
15
|
* The product details for the delivery offer.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetDeliveryOffersProduct
|
|
18
16
|
*/
|
|
19
17
|
export interface GetDeliveryOffersProduct {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {ProductIdentifier}
|
|
23
|
-
* @memberof GetDeliveryOffersProduct
|
|
24
|
-
*/
|
|
25
18
|
'productIdentifier': ProductIdentifier;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Amount}
|
|
29
|
-
* @memberof GetDeliveryOffersProduct
|
|
30
|
-
*/
|
|
31
19
|
'amount'?: Amount;
|
|
32
20
|
}
|
|
@@ -13,20 +13,8 @@ import type { GetDeliveryOffersProduct } from './get-delivery-offers-product';
|
|
|
13
13
|
import type { GetDeliveryOffersTerms } from './get-delivery-offers-terms';
|
|
14
14
|
/**
|
|
15
15
|
* The request body schema for the getDeliveryOffers operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetDeliveryOffersRequest
|
|
18
16
|
*/
|
|
19
17
|
export interface GetDeliveryOffersRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {GetDeliveryOffersProduct}
|
|
23
|
-
* @memberof GetDeliveryOffersRequest
|
|
24
|
-
*/
|
|
25
18
|
'product': GetDeliveryOffersProduct;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {GetDeliveryOffersTerms}
|
|
29
|
-
* @memberof GetDeliveryOffersRequest
|
|
30
|
-
*/
|
|
31
19
|
'terms': GetDeliveryOffersTerms;
|
|
32
20
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetDeliveryOffersResult } from './get-delivery-offers-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the getDeliveryOffers operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetDeliveryOffersResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetDeliveryOffersResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetDeliveryOffersResult}
|
|
22
|
-
* @memberof GetDeliveryOffersResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetDeliveryOffersResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetDeliveryOffersResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { DeliveryOffer } from './delivery-offer';
|
|
13
13
|
/**
|
|
14
14
|
* A list of delivery offers, including offer expiration, earliest and latest date and time range, and the delivery offer policy.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetDeliveryOffersResult
|
|
17
15
|
*/
|
|
18
16
|
export interface GetDeliveryOffersResult {
|
|
19
17
|
/**
|
|
20
18
|
* An array of delivery offer information.
|
|
21
|
-
* @type {Array<DeliveryOffer>}
|
|
22
|
-
* @memberof GetDeliveryOffersResult
|
|
23
19
|
*/
|
|
24
20
|
'deliveryOffers'?: Array<DeliveryOffer>;
|
|
25
21
|
}
|
|
@@ -13,20 +13,8 @@ import type { Destination } from './destination';
|
|
|
13
13
|
import type { Origin } from './origin';
|
|
14
14
|
/**
|
|
15
15
|
* The delivery terms for the delivery offer.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetDeliveryOffersTerms
|
|
18
16
|
*/
|
|
19
17
|
export interface GetDeliveryOffersTerms {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Origin}
|
|
23
|
-
* @memberof GetDeliveryOffersTerms
|
|
24
|
-
*/
|
|
25
18
|
'origin': Origin;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Destination}
|
|
29
|
-
* @memberof GetDeliveryOffersTerms
|
|
30
|
-
*/
|
|
31
19
|
'destination': Destination;
|
|
32
20
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetFeatureInventoryResult } from './get-feature-inventory-result';
|
|
13
13
|
/**
|
|
14
14
|
* The breakdown of eligibility inventory by feature.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeatureInventoryResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeatureInventoryResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetFeatureInventoryResult}
|
|
22
|
-
* @memberof GetFeatureInventoryResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetFeatureInventoryResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetFeatureInventoryResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,32 +12,22 @@
|
|
|
12
12
|
import type { FeatureSku } from './feature-sku';
|
|
13
13
|
/**
|
|
14
14
|
* The payload for the `getEligibileInventory` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeatureInventoryResult
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeatureInventoryResult {
|
|
19
17
|
/**
|
|
20
18
|
* The requested marketplace.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof GetFeatureInventoryResult
|
|
23
19
|
*/
|
|
24
20
|
'marketplaceId': string;
|
|
25
21
|
/**
|
|
26
22
|
* The name of the feature.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof GetFeatureInventoryResult
|
|
29
23
|
*/
|
|
30
24
|
'featureName': string;
|
|
31
25
|
/**
|
|
32
26
|
* When present and not empty, pass this string token in the next request to return the next response page.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof GetFeatureInventoryResult
|
|
35
27
|
*/
|
|
36
28
|
'nextToken'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* An array of SKUs eligible for this feature and the quantity available.
|
|
39
|
-
* @type {Array<FeatureSku>}
|
|
40
|
-
* @memberof GetFeatureInventoryResult
|
|
41
31
|
*/
|
|
42
32
|
'featureSkus'?: Array<FeatureSku>;
|
|
43
33
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetFeatureSkuResult } from './get-feature-sku-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getFeatureSKU` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeatureSkuResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeatureSkuResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetFeatureSkuResult}
|
|
22
|
-
* @memberof GetFeatureSkuResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetFeatureSkuResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetFeatureSkuResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,38 +12,23 @@
|
|
|
12
12
|
import type { FeatureSku } from './feature-sku';
|
|
13
13
|
/**
|
|
14
14
|
* The payload for the `getFeatureSKU` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeatureSkuResult
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeatureSkuResult {
|
|
19
17
|
/**
|
|
20
18
|
* The requested marketplace.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof GetFeatureSkuResult
|
|
23
19
|
*/
|
|
24
20
|
'marketplaceId': string;
|
|
25
21
|
/**
|
|
26
22
|
* The name of the feature.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof GetFeatureSkuResult
|
|
29
23
|
*/
|
|
30
24
|
'featureName': string;
|
|
31
25
|
/**
|
|
32
26
|
* When true, the seller SKU is eligible for the requested feature.
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @memberof GetFeatureSkuResult
|
|
35
27
|
*/
|
|
36
28
|
'isEligible': boolean;
|
|
37
29
|
/**
|
|
38
30
|
* A list of one or more reasons that the seller SKU is ineligibile for the feature. Possible values: * `MERCHANT_NOT_ENROLLED` - The merchant isn\'t enrolled for the feature. * `SKU_NOT_ELIGIBLE` - The SKU doesn\'t reside in a warehouse that supports the feature. * `INVALID_SKU` - There is an issue with the SKU provided.
|
|
39
|
-
* @type {Array<string>}
|
|
40
|
-
* @memberof GetFeatureSkuResult
|
|
41
31
|
*/
|
|
42
32
|
'ineligibleReasons'?: Array<string>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {FeatureSku}
|
|
46
|
-
* @memberof GetFeatureSkuResult
|
|
47
|
-
*/
|
|
48
33
|
'skuInfo'?: FeatureSku;
|
|
49
34
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetFeaturesResult } from './get-features-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getFeatures` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeaturesResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeaturesResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetFeaturesResult}
|
|
22
|
-
* @memberof GetFeaturesResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetFeaturesResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetFeaturesResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { Feature } from './feature';
|
|
13
13
|
/**
|
|
14
14
|
* The payload for the `getFeatures` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeaturesResult
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeaturesResult {
|
|
19
17
|
/**
|
|
20
18
|
* An array of features.
|
|
21
|
-
* @type {Array<Feature>}
|
|
22
|
-
* @memberof GetFeaturesResult
|
|
23
19
|
*/
|
|
24
20
|
'features': Array<Feature>;
|
|
25
21
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetFulfillmentOrderResult } from './get-fulfillment-order-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getFulfillmentOrder` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFulfillmentOrderResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFulfillmentOrderResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetFulfillmentOrderResult}
|
|
22
|
-
* @memberof GetFulfillmentOrderResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetFulfillmentOrderResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetFulfillmentOrderResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -17,44 +17,27 @@ import type { ReturnAuthorization } from './return-authorization';
|
|
|
17
17
|
import type { ReturnItem } from './return-item';
|
|
18
18
|
/**
|
|
19
19
|
* The request for the getFulfillmentOrder operation.
|
|
20
|
-
* @export
|
|
21
|
-
* @interface GetFulfillmentOrderResult
|
|
22
20
|
*/
|
|
23
21
|
export interface GetFulfillmentOrderResult {
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {FulfillmentOrder}
|
|
27
|
-
* @memberof GetFulfillmentOrderResult
|
|
28
|
-
*/
|
|
29
22
|
'fulfillmentOrder': FulfillmentOrder;
|
|
30
23
|
/**
|
|
31
24
|
* An array of fulfillment order item information.
|
|
32
|
-
* @type {Array<FulfillmentOrderItem>}
|
|
33
|
-
* @memberof GetFulfillmentOrderResult
|
|
34
25
|
*/
|
|
35
26
|
'fulfillmentOrderItems': Array<FulfillmentOrderItem>;
|
|
36
27
|
/**
|
|
37
28
|
* An array of fulfillment shipment information.
|
|
38
|
-
* @type {Array<FulfillmentShipment>}
|
|
39
|
-
* @memberof GetFulfillmentOrderResult
|
|
40
29
|
*/
|
|
41
30
|
'fulfillmentShipments'?: Array<FulfillmentShipment>;
|
|
42
31
|
/**
|
|
43
32
|
* An array of items that Amazon accepted for return. Returns empty if no items were accepted for return.
|
|
44
|
-
* @type {Array<ReturnItem>}
|
|
45
|
-
* @memberof GetFulfillmentOrderResult
|
|
46
33
|
*/
|
|
47
34
|
'returnItems': Array<ReturnItem>;
|
|
48
35
|
/**
|
|
49
36
|
* An array of return authorization information.
|
|
50
|
-
* @type {Array<ReturnAuthorization>}
|
|
51
|
-
* @memberof GetFulfillmentOrderResult
|
|
52
37
|
*/
|
|
53
38
|
'returnAuthorizations': Array<ReturnAuthorization>;
|
|
54
39
|
/**
|
|
55
40
|
* An array of various payment attributes related to this fulfillment order.
|
|
56
|
-
* @type {Array<PaymentInformation>}
|
|
57
|
-
* @memberof GetFulfillmentOrderResult
|
|
58
41
|
*/
|
|
59
42
|
'paymentInformation'?: Array<PaymentInformation>;
|
|
60
43
|
}
|
|
@@ -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
30
|
* ShippingSpeedCategory List
|
|
42
|
-
* @type {Array<ShippingSpeedCategory>}
|
|
43
|
-
* @memberof GetFulfillmentPreviewRequest
|
|
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
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` = `ScheduledDelivery`.
|
|
54
|
-
* @type {boolean}
|
|
55
|
-
* @memberof GetFulfillmentPreviewRequest
|
|
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
|
}
|
|
@@ -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
18
|
* An identifier assigned by the seller to the return item.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof InvalidReturnItem
|
|
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
|
}
|