@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.0.1 → 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
|
@@ -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
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { FulfillmentOrder } from './fulfillment-order';
|
|
13
13
|
/**
|
|
14
14
|
* The request for the listAllFulfillmentOrders operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ListAllFulfillmentOrdersResult
|
|
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
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { ReasonCodeDetails } from './reason-code-details';
|
|
13
13
|
/**
|
|
14
14
|
* The request for the listReturnReasonCodes operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ListReturnReasonCodesResult
|
|
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
56
|
* Description corresponding to the CurrentStatus value.
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof PackageTrackingDetails
|
|
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
25
|
* A translation of the description. The translation is in the language specified in the Language request parameter.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ReasonCodeDetails
|
|
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
22
|
* An identifier for the Amazon fulfillment center that the return items should be sent to.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ReturnAuthorization
|
|
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
|
}
|
|
@@ -13,74 +13,44 @@ import type { FulfillmentReturnItemStatus } from './fulfillment-return-item-stat
|
|
|
13
13
|
import type { ReturnItemDisposition } from './return-item-disposition';
|
|
14
14
|
/**
|
|
15
15
|
* An item that Amazon accepted for return.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ReturnItem
|
|
18
16
|
*/
|
|
19
17
|
export interface ReturnItem {
|
|
20
18
|
/**
|
|
21
19
|
* An identifier assigned by the seller to the return item.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ReturnItem
|
|
24
20
|
*/
|
|
25
21
|
'sellerReturnItemId': string;
|
|
26
22
|
/**
|
|
27
23
|
* The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ReturnItem
|
|
30
24
|
*/
|
|
31
25
|
'sellerFulfillmentOrderItemId': string;
|
|
32
26
|
/**
|
|
33
27
|
* The identifier for the shipment that is associated with the return item.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ReturnItem
|
|
36
28
|
*/
|
|
37
29
|
'amazonShipmentId': string;
|
|
38
30
|
/**
|
|
39
31
|
* The return reason code assigned to the return item by the seller.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ReturnItem
|
|
42
32
|
*/
|
|
43
33
|
'sellerReturnReasonCode': string;
|
|
44
34
|
/**
|
|
45
35
|
* An optional comment about the return item.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof ReturnItem
|
|
48
36
|
*/
|
|
49
37
|
'returnComment'?: string;
|
|
50
38
|
/**
|
|
51
39
|
* The return reason code that the Amazon fulfillment center assigned to the return item.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof ReturnItem
|
|
54
40
|
*/
|
|
55
41
|
'amazonReturnReasonCode'?: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {FulfillmentReturnItemStatus}
|
|
59
|
-
* @memberof ReturnItem
|
|
60
|
-
*/
|
|
61
42
|
'status': FulfillmentReturnItemStatus;
|
|
62
43
|
/**
|
|
63
44
|
* Date timestamp
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof ReturnItem
|
|
66
45
|
*/
|
|
67
46
|
'statusChangedDate': string;
|
|
68
47
|
/**
|
|
69
48
|
* Identifies the return authorization used to return this item. Refer to `ReturnAuthorization`.
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof ReturnItem
|
|
72
49
|
*/
|
|
73
50
|
'returnAuthorizationId'?: string;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {ReturnItemDisposition}
|
|
77
|
-
* @memberof ReturnItem
|
|
78
|
-
*/
|
|
79
51
|
'returnReceivedCondition'?: ReturnItemDisposition;
|
|
80
52
|
/**
|
|
81
53
|
* The identifier for the Amazon fulfillment center that processed the return item.
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof ReturnItem
|
|
84
54
|
*/
|
|
85
55
|
'fulfillmentCenterId'?: string;
|
|
86
56
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { DeliveryWindow } from './delivery-window';
|
|
13
13
|
/**
|
|
14
14
|
* Delivery information for a scheduled delivery. This is only available in the JP marketplace.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ScheduledDeliveryInfo
|
|
17
15
|
*/
|
|
18
16
|
export interface ScheduledDeliveryInfo {
|
|
19
17
|
/**
|
|
20
18
|
* The time zone of the destination address for the fulfillment order preview. Must be an IANA time zone name. Example: Asia/Tokyo.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ScheduledDeliveryInfo
|
|
23
19
|
*/
|
|
24
20
|
'deliveryTimeZone': string;
|
|
25
21
|
/**
|
|
26
22
|
* An array of delivery windows.
|
|
27
|
-
* @type {Array<DeliveryWindow>}
|
|
28
|
-
* @memberof ScheduledDeliveryInfo
|
|
29
23
|
*/
|
|
30
24
|
'deliveryWindows': Array<DeliveryWindow>;
|
|
31
25
|
}
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The shipping method used for the fulfillment order. When this value is `ScheduledDelivery`, choose `Ship` for the `fulfillmentAction`. `Hold` is not a valid `fulfillmentAction` value when the `shippingSpeedCategory` value is `ScheduledDelivery`. Note: Shipping method service level agreements vary by marketplace. Sellers should refer to the [Seller Central](https://developer-docs.amazon.com/sp-api/docs/seller-central-urls) website in their marketplace for shipping method service level agreements and fulfillment fees.
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
14
|
*/
|
|
17
15
|
export declare const ShippingSpeedCategory: {
|
|
18
16
|
readonly Standard: "Standard";
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { FulfillmentOrderStatus } from './fulfillment-order-status';
|
|
13
13
|
/**
|
|
14
14
|
* The request body schema for the `submitFulfillmentOrderStatusUpdate` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SubmitFulfillmentOrderStatusUpdateRequest
|
|
17
15
|
*/
|
|
18
16
|
export interface SubmitFulfillmentOrderStatusUpdateRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {FulfillmentOrderStatus}
|
|
22
|
-
* @memberof SubmitFulfillmentOrderStatusUpdateRequest
|
|
23
|
-
*/
|
|
24
17
|
'fulfillmentOrderStatus'?: FulfillmentOrderStatus;
|
|
25
18
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The response schema for the `SubmitFulfillmentOrderStatusUpdate` operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SubmitFulfillmentOrderStatusUpdateResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface SubmitFulfillmentOrderStatusUpdateResponse {
|
|
18
16
|
/**
|
|
19
17
|
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof SubmitFulfillmentOrderStatusUpdateResponse
|
|
22
18
|
*/
|
|
23
19
|
'errors'?: Array<Error>;
|
|
24
20
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Address information for tracking the package.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface TrackingAddress
|
|
16
14
|
*/
|
|
17
15
|
export interface TrackingAddress {
|
|
18
16
|
/**
|
|
19
17
|
* The city.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TrackingAddress
|
|
22
18
|
*/
|
|
23
19
|
'city': string;
|
|
24
20
|
/**
|
|
25
21
|
* The state.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TrackingAddress
|
|
28
22
|
*/
|
|
29
23
|
'state': string;
|
|
30
24
|
/**
|
|
31
25
|
* The country.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof TrackingAddress
|
|
34
26
|
*/
|
|
35
27
|
'country': string;
|
|
36
28
|
}
|
|
@@ -13,32 +13,16 @@ import type { EventCode } from './event-code';
|
|
|
13
13
|
import type { TrackingAddress } from './tracking-address';
|
|
14
14
|
/**
|
|
15
15
|
* Information for tracking package deliveries.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface TrackingEvent
|
|
18
16
|
*/
|
|
19
17
|
export interface TrackingEvent {
|
|
20
18
|
/**
|
|
21
19
|
* Date timestamp
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof TrackingEvent
|
|
24
20
|
*/
|
|
25
21
|
'eventDate': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {TrackingAddress}
|
|
29
|
-
* @memberof TrackingEvent
|
|
30
|
-
*/
|
|
31
22
|
'eventAddress': TrackingAddress;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {EventCode}
|
|
35
|
-
* @memberof TrackingEvent
|
|
36
|
-
*/
|
|
37
23
|
'eventCode': EventCode;
|
|
38
24
|
/**
|
|
39
25
|
* A description for the corresponding event code.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof TrackingEvent
|
|
42
26
|
*/
|
|
43
27
|
'eventDescription': string;
|
|
44
28
|
}
|
|
@@ -11,32 +11,22 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Information about unfulfillable items in a fulfillment order preview.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UnfulfillablePreviewItem
|
|
16
14
|
*/
|
|
17
15
|
export interface UnfulfillablePreviewItem {
|
|
18
16
|
/**
|
|
19
17
|
* The seller SKU of the item.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UnfulfillablePreviewItem
|
|
22
18
|
*/
|
|
23
19
|
'sellerSku': string;
|
|
24
20
|
/**
|
|
25
21
|
* The item quantity.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof UnfulfillablePreviewItem
|
|
28
22
|
*/
|
|
29
23
|
'quantity': number;
|
|
30
24
|
/**
|
|
31
25
|
* A fulfillment order item identifier created with a call to the `getFulfillmentPreview` operation.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UnfulfillablePreviewItem
|
|
34
26
|
*/
|
|
35
27
|
'sellerFulfillmentOrderItemId': string;
|
|
36
28
|
/**
|
|
37
29
|
* String list
|
|
38
|
-
* @type {Array<string>}
|
|
39
|
-
* @memberof UnfulfillablePreviewItem
|
|
40
30
|
*/
|
|
41
31
|
'itemUnfulfillableReasons'?: Array<string>;
|
|
42
32
|
}
|