@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
|
@@ -12,25 +12,16 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { RequiredError } from "./base";
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export const DUMMY_BASE_URL = 'https://example.com';
|
|
20
16
|
/**
|
|
21
17
|
*
|
|
22
18
|
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
19
|
*/
|
|
25
20
|
export const assertParamExists = function (functionName, paramName, paramValue) {
|
|
26
21
|
if (paramValue === null || paramValue === undefined) {
|
|
27
22
|
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
28
23
|
}
|
|
29
24
|
};
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
25
|
export const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
35
26
|
if (configuration && configuration.apiKey) {
|
|
36
27
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -39,19 +30,11 @@ export const setApiKeyToObject = async function (object, keyParamName, configura
|
|
|
39
30
|
object[keyParamName] = localVarApiKeyValue;
|
|
40
31
|
}
|
|
41
32
|
};
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
33
|
export const setBasicAuthToObject = function (object, configuration) {
|
|
47
34
|
if (configuration && (configuration.username || configuration.password)) {
|
|
48
35
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
49
36
|
}
|
|
50
37
|
};
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
38
|
export const setBearerAuthToObject = async function (object, configuration) {
|
|
56
39
|
if (configuration && configuration.accessToken) {
|
|
57
40
|
const accessToken = typeof configuration.accessToken === 'function'
|
|
@@ -60,10 +43,6 @@ export const setBearerAuthToObject = async function (object, configuration) {
|
|
|
60
43
|
object["Authorization"] = "Bearer " + accessToken;
|
|
61
44
|
}
|
|
62
45
|
};
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @export
|
|
66
|
-
*/
|
|
67
46
|
export const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
68
47
|
if (configuration && configuration.accessToken) {
|
|
69
48
|
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
@@ -92,19 +71,11 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
|
92
71
|
}
|
|
93
72
|
}
|
|
94
73
|
}
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @export
|
|
98
|
-
*/
|
|
99
74
|
export const setSearchParams = function (url, ...objects) {
|
|
100
75
|
const searchParams = new URLSearchParams(url.search);
|
|
101
76
|
setFlattenedQueryParams(searchParams, objects);
|
|
102
77
|
url.search = searchParams.toString();
|
|
103
78
|
};
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @export
|
|
107
|
-
*/
|
|
108
79
|
export const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
109
80
|
const nonString = typeof value !== 'string';
|
|
110
81
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
@@ -114,17 +85,9 @@ export const serializeDataIfNeeded = function (value, requestOptions, configurat
|
|
|
114
85
|
? JSON.stringify(value !== undefined ? value : {})
|
|
115
86
|
: (value || "");
|
|
116
87
|
};
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @export
|
|
120
|
-
*/
|
|
121
88
|
export const toPathString = function (url) {
|
|
122
89
|
return url.pathname + url.search + url.hash;
|
|
123
90
|
};
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @export
|
|
127
|
-
*/
|
|
128
91
|
export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
129
92
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
130
93
|
const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
|
|
@@ -15,49 +15,32 @@ export class Configuration {
|
|
|
15
15
|
/**
|
|
16
16
|
* parameter for apiKey security
|
|
17
17
|
* @param name security name
|
|
18
|
-
* @memberof Configuration
|
|
19
18
|
*/
|
|
20
19
|
apiKey;
|
|
21
20
|
/**
|
|
22
21
|
* parameter for basic security
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Configuration
|
|
26
22
|
*/
|
|
27
23
|
username;
|
|
28
24
|
/**
|
|
29
25
|
* parameter for basic security
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof Configuration
|
|
33
26
|
*/
|
|
34
27
|
password;
|
|
35
28
|
/**
|
|
36
29
|
* parameter for oauth2 security
|
|
37
30
|
* @param name security name
|
|
38
31
|
* @param scopes oauth2 scope
|
|
39
|
-
* @memberof Configuration
|
|
40
32
|
*/
|
|
41
33
|
accessToken;
|
|
42
34
|
/**
|
|
43
35
|
* override base path
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof Configuration
|
|
47
36
|
*/
|
|
48
37
|
basePath;
|
|
49
38
|
/**
|
|
50
39
|
* override server index
|
|
51
|
-
*
|
|
52
|
-
* @type {number}
|
|
53
|
-
* @memberof Configuration
|
|
54
40
|
*/
|
|
55
41
|
serverIndex;
|
|
56
42
|
/**
|
|
57
43
|
* base options for axios calls
|
|
58
|
-
*
|
|
59
|
-
* @type {any}
|
|
60
|
-
* @memberof Configuration
|
|
61
44
|
*/
|
|
62
45
|
baseOptions;
|
|
63
46
|
/**
|
|
@@ -13,8 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* 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.
|
|
16
|
-
* @export
|
|
17
|
-
* @enum {string}
|
|
18
16
|
*/
|
|
19
17
|
export const ShippingSpeedCategory = {
|
|
20
18
|
Standard: 'Standard',
|
|
@@ -35,7 +35,6 @@ import type { UpdateFulfillmentOrderRequest } from '../models';
|
|
|
35
35
|
import type { UpdateFulfillmentOrderResponse } from '../models';
|
|
36
36
|
/**
|
|
37
37
|
* FulfillmentOutboundApi - axios parameter creator
|
|
38
|
-
* @export
|
|
39
38
|
*/
|
|
40
39
|
export declare const FulfillmentOutboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
41
40
|
/**
|
|
@@ -151,7 +150,6 @@ export declare const FulfillmentOutboundApiAxiosParamCreator: (configuration?: C
|
|
|
151
150
|
};
|
|
152
151
|
/**
|
|
153
152
|
* FulfillmentOutboundApi - functional programming interface
|
|
154
|
-
* @export
|
|
155
153
|
*/
|
|
156
154
|
export declare const FulfillmentOutboundApiFp: (configuration?: Configuration) => {
|
|
157
155
|
/**
|
|
@@ -267,7 +265,6 @@ export declare const FulfillmentOutboundApiFp: (configuration?: Configuration) =
|
|
|
267
265
|
};
|
|
268
266
|
/**
|
|
269
267
|
* FulfillmentOutboundApi - factory interface
|
|
270
|
-
* @export
|
|
271
268
|
*/
|
|
272
269
|
export declare const FulfillmentOutboundApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
273
270
|
/**
|
|
@@ -371,263 +368,180 @@ export declare const FulfillmentOutboundApiFactory: (configuration?: Configurati
|
|
|
371
368
|
};
|
|
372
369
|
/**
|
|
373
370
|
* Request parameters for cancelFulfillmentOrder operation in FulfillmentOutboundApi.
|
|
374
|
-
* @export
|
|
375
|
-
* @interface FulfillmentOutboundApiCancelFulfillmentOrderRequest
|
|
376
371
|
*/
|
|
377
372
|
export interface FulfillmentOutboundApiCancelFulfillmentOrderRequest {
|
|
378
373
|
/**
|
|
379
374
|
* The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
380
|
-
* @type {string}
|
|
381
|
-
* @memberof FulfillmentOutboundApiCancelFulfillmentOrder
|
|
382
375
|
*/
|
|
383
376
|
readonly sellerFulfillmentOrderId: string;
|
|
384
377
|
}
|
|
385
378
|
/**
|
|
386
379
|
* Request parameters for createFulfillmentOrder operation in FulfillmentOutboundApi.
|
|
387
|
-
* @export
|
|
388
|
-
* @interface FulfillmentOutboundApiCreateFulfillmentOrderRequest
|
|
389
380
|
*/
|
|
390
381
|
export interface FulfillmentOutboundApiCreateFulfillmentOrderRequest {
|
|
391
382
|
/**
|
|
392
383
|
* CreateFulfillmentOrderRequest parameter
|
|
393
|
-
* @type {CreateFulfillmentOrderRequest}
|
|
394
|
-
* @memberof FulfillmentOutboundApiCreateFulfillmentOrder
|
|
395
384
|
*/
|
|
396
385
|
readonly body: CreateFulfillmentOrderRequest;
|
|
397
386
|
}
|
|
398
387
|
/**
|
|
399
388
|
* Request parameters for createFulfillmentReturn operation in FulfillmentOutboundApi.
|
|
400
|
-
* @export
|
|
401
|
-
* @interface FulfillmentOutboundApiCreateFulfillmentReturnRequest
|
|
402
389
|
*/
|
|
403
390
|
export interface FulfillmentOutboundApiCreateFulfillmentReturnRequest {
|
|
404
391
|
/**
|
|
405
392
|
* An identifier assigned by the seller to the fulfillment order at the time it was created. The seller uses their own records to find the correct `SellerFulfillmentOrderId` value based on the buyer\'s request to return items.
|
|
406
|
-
* @type {string}
|
|
407
|
-
* @memberof FulfillmentOutboundApiCreateFulfillmentReturn
|
|
408
393
|
*/
|
|
409
394
|
readonly sellerFulfillmentOrderId: string;
|
|
410
395
|
/**
|
|
411
396
|
* CreateFulfillmentReturnRequest parameter
|
|
412
|
-
* @type {CreateFulfillmentReturnRequest}
|
|
413
|
-
* @memberof FulfillmentOutboundApiCreateFulfillmentReturn
|
|
414
397
|
*/
|
|
415
398
|
readonly body: CreateFulfillmentReturnRequest;
|
|
416
399
|
}
|
|
417
400
|
/**
|
|
418
401
|
* Request parameters for deliveryOffers operation in FulfillmentOutboundApi.
|
|
419
|
-
* @export
|
|
420
|
-
* @interface FulfillmentOutboundApiDeliveryOffersRequest
|
|
421
402
|
*/
|
|
422
403
|
export interface FulfillmentOutboundApiDeliveryOffersRequest {
|
|
423
404
|
/**
|
|
424
405
|
* GetDeliveryOffersRequest parameter
|
|
425
|
-
* @type {GetDeliveryOffersRequest}
|
|
426
|
-
* @memberof FulfillmentOutboundApiDeliveryOffers
|
|
427
406
|
*/
|
|
428
407
|
readonly body: GetDeliveryOffersRequest;
|
|
429
408
|
}
|
|
430
409
|
/**
|
|
431
410
|
* Request parameters for getFeatureInventory operation in FulfillmentOutboundApi.
|
|
432
|
-
* @export
|
|
433
|
-
* @interface FulfillmentOutboundApiGetFeatureInventoryRequest
|
|
434
411
|
*/
|
|
435
412
|
export interface FulfillmentOutboundApiGetFeatureInventoryRequest {
|
|
436
413
|
/**
|
|
437
414
|
* The marketplace for which to return a list of the inventory that is eligible for the specified feature.
|
|
438
|
-
* @type {string}
|
|
439
|
-
* @memberof FulfillmentOutboundApiGetFeatureInventory
|
|
440
415
|
*/
|
|
441
416
|
readonly marketplaceId: string;
|
|
442
417
|
/**
|
|
443
418
|
* The name of the feature for which to return a list of eligible inventory.
|
|
444
|
-
* @type {string}
|
|
445
|
-
* @memberof FulfillmentOutboundApiGetFeatureInventory
|
|
446
419
|
*/
|
|
447
420
|
readonly featureName: string;
|
|
448
421
|
/**
|
|
449
422
|
* A string token returned in the response to your previous request that is used to return the next response page. A value of null will return the first page.
|
|
450
|
-
* @type {string}
|
|
451
|
-
* @memberof FulfillmentOutboundApiGetFeatureInventory
|
|
452
423
|
*/
|
|
453
424
|
readonly nextToken?: string;
|
|
454
425
|
/**
|
|
455
426
|
* A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format yyyy-MM-ddTHH:mm:ss.sssZ
|
|
456
|
-
* @type {string}
|
|
457
|
-
* @memberof FulfillmentOutboundApiGetFeatureInventory
|
|
458
427
|
*/
|
|
459
428
|
readonly queryStartDate?: string;
|
|
460
429
|
}
|
|
461
430
|
/**
|
|
462
431
|
* Request parameters for getFeatureSKU operation in FulfillmentOutboundApi.
|
|
463
|
-
* @export
|
|
464
|
-
* @interface FulfillmentOutboundApiGetFeatureSKURequest
|
|
465
432
|
*/
|
|
466
433
|
export interface FulfillmentOutboundApiGetFeatureSKURequest {
|
|
467
434
|
/**
|
|
468
435
|
* The marketplace for which to return the count.
|
|
469
|
-
* @type {string}
|
|
470
|
-
* @memberof FulfillmentOutboundApiGetFeatureSKU
|
|
471
436
|
*/
|
|
472
437
|
readonly marketplaceId: string;
|
|
473
438
|
/**
|
|
474
439
|
* The name of the feature.
|
|
475
|
-
* @type {string}
|
|
476
|
-
* @memberof FulfillmentOutboundApiGetFeatureSKU
|
|
477
440
|
*/
|
|
478
441
|
readonly featureName: string;
|
|
479
442
|
/**
|
|
480
443
|
* Used to identify an item in the given marketplace. `SellerSKU` is qualified by the seller\'s `SellerId`, which is included with every operation that you submit.
|
|
481
|
-
* @type {string}
|
|
482
|
-
* @memberof FulfillmentOutboundApiGetFeatureSKU
|
|
483
444
|
*/
|
|
484
445
|
readonly sellerSku: string;
|
|
485
446
|
}
|
|
486
447
|
/**
|
|
487
448
|
* Request parameters for getFeatures operation in FulfillmentOutboundApi.
|
|
488
|
-
* @export
|
|
489
|
-
* @interface FulfillmentOutboundApiGetFeaturesRequest
|
|
490
449
|
*/
|
|
491
450
|
export interface FulfillmentOutboundApiGetFeaturesRequest {
|
|
492
451
|
/**
|
|
493
452
|
* The marketplace for which to return the list of features.
|
|
494
|
-
* @type {string}
|
|
495
|
-
* @memberof FulfillmentOutboundApiGetFeatures
|
|
496
453
|
*/
|
|
497
454
|
readonly marketplaceId: string;
|
|
498
455
|
}
|
|
499
456
|
/**
|
|
500
457
|
* Request parameters for getFulfillmentOrder operation in FulfillmentOutboundApi.
|
|
501
|
-
* @export
|
|
502
|
-
* @interface FulfillmentOutboundApiGetFulfillmentOrderRequest
|
|
503
458
|
*/
|
|
504
459
|
export interface FulfillmentOutboundApiGetFulfillmentOrderRequest {
|
|
505
460
|
/**
|
|
506
461
|
* The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
507
|
-
* @type {string}
|
|
508
|
-
* @memberof FulfillmentOutboundApiGetFulfillmentOrder
|
|
509
462
|
*/
|
|
510
463
|
readonly sellerFulfillmentOrderId: string;
|
|
511
464
|
}
|
|
512
465
|
/**
|
|
513
466
|
* Request parameters for getFulfillmentPreview operation in FulfillmentOutboundApi.
|
|
514
|
-
* @export
|
|
515
|
-
* @interface FulfillmentOutboundApiGetFulfillmentPreviewRequest
|
|
516
467
|
*/
|
|
517
468
|
export interface FulfillmentOutboundApiGetFulfillmentPreviewRequest {
|
|
518
469
|
/**
|
|
519
470
|
* GetFulfillmentPreviewRequest parameter
|
|
520
|
-
* @type {GetFulfillmentPreviewRequest}
|
|
521
|
-
* @memberof FulfillmentOutboundApiGetFulfillmentPreview
|
|
522
471
|
*/
|
|
523
472
|
readonly body: GetFulfillmentPreviewRequest;
|
|
524
473
|
}
|
|
525
474
|
/**
|
|
526
475
|
* Request parameters for getPackageTrackingDetails operation in FulfillmentOutboundApi.
|
|
527
|
-
* @export
|
|
528
|
-
* @interface FulfillmentOutboundApiGetPackageTrackingDetailsRequest
|
|
529
476
|
*/
|
|
530
477
|
export interface FulfillmentOutboundApiGetPackageTrackingDetailsRequest {
|
|
531
478
|
/**
|
|
532
479
|
* The unencrypted package identifier returned by the `getFulfillmentOrder` operation.
|
|
533
|
-
* @type {number}
|
|
534
|
-
* @memberof FulfillmentOutboundApiGetPackageTrackingDetails
|
|
535
480
|
*/
|
|
536
481
|
readonly packageNumber: number;
|
|
537
482
|
}
|
|
538
483
|
/**
|
|
539
484
|
* Request parameters for listAllFulfillmentOrders operation in FulfillmentOutboundApi.
|
|
540
|
-
* @export
|
|
541
|
-
* @interface FulfillmentOutboundApiListAllFulfillmentOrdersRequest
|
|
542
485
|
*/
|
|
543
486
|
export interface FulfillmentOutboundApiListAllFulfillmentOrdersRequest {
|
|
544
487
|
/**
|
|
545
488
|
* A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
|
|
546
|
-
* @type {string}
|
|
547
|
-
* @memberof FulfillmentOutboundApiListAllFulfillmentOrders
|
|
548
489
|
*/
|
|
549
490
|
readonly queryStartDate?: string;
|
|
550
491
|
/**
|
|
551
492
|
* A string token returned in the response to your previous request.
|
|
552
|
-
* @type {string}
|
|
553
|
-
* @memberof FulfillmentOutboundApiListAllFulfillmentOrders
|
|
554
493
|
*/
|
|
555
494
|
readonly nextToken?: string;
|
|
556
495
|
}
|
|
557
496
|
/**
|
|
558
497
|
* Request parameters for listReturnReasonCodes operation in FulfillmentOutboundApi.
|
|
559
|
-
* @export
|
|
560
|
-
* @interface FulfillmentOutboundApiListReturnReasonCodesRequest
|
|
561
498
|
*/
|
|
562
499
|
export interface FulfillmentOutboundApiListReturnReasonCodesRequest {
|
|
563
500
|
/**
|
|
564
501
|
* The seller SKU for which return reason codes are required.
|
|
565
|
-
* @type {string}
|
|
566
|
-
* @memberof FulfillmentOutboundApiListReturnReasonCodes
|
|
567
502
|
*/
|
|
568
503
|
readonly sellerSku: string;
|
|
569
504
|
/**
|
|
570
505
|
* The marketplace for which the seller wants return reason codes.
|
|
571
|
-
* @type {string}
|
|
572
|
-
* @memberof FulfillmentOutboundApiListReturnReasonCodes
|
|
573
506
|
*/
|
|
574
507
|
readonly marketplaceId?: string;
|
|
575
508
|
/**
|
|
576
509
|
* The identifier assigned to the item by the seller when the fulfillment order was created. The service uses this value to determine the marketplace for which the seller wants return reason codes.
|
|
577
|
-
* @type {string}
|
|
578
|
-
* @memberof FulfillmentOutboundApiListReturnReasonCodes
|
|
579
510
|
*/
|
|
580
511
|
readonly sellerFulfillmentOrderId?: string;
|
|
581
512
|
/**
|
|
582
513
|
* The language that the `TranslatedDescription` property of the `ReasonCodeDetails` response object should be translated into.
|
|
583
|
-
* @type {string}
|
|
584
|
-
* @memberof FulfillmentOutboundApiListReturnReasonCodes
|
|
585
514
|
*/
|
|
586
515
|
readonly language?: string;
|
|
587
516
|
}
|
|
588
517
|
/**
|
|
589
518
|
* Request parameters for submitFulfillmentOrderStatusUpdate operation in FulfillmentOutboundApi.
|
|
590
|
-
* @export
|
|
591
|
-
* @interface FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest
|
|
592
519
|
*/
|
|
593
520
|
export interface FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest {
|
|
594
521
|
/**
|
|
595
522
|
* The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
596
|
-
* @type {string}
|
|
597
|
-
* @memberof FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdate
|
|
598
523
|
*/
|
|
599
524
|
readonly sellerFulfillmentOrderId: string;
|
|
600
525
|
/**
|
|
601
526
|
* The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
602
|
-
* @type {SubmitFulfillmentOrderStatusUpdateRequest}
|
|
603
|
-
* @memberof FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdate
|
|
604
527
|
*/
|
|
605
528
|
readonly body: SubmitFulfillmentOrderStatusUpdateRequest;
|
|
606
529
|
}
|
|
607
530
|
/**
|
|
608
531
|
* Request parameters for updateFulfillmentOrder operation in FulfillmentOutboundApi.
|
|
609
|
-
* @export
|
|
610
|
-
* @interface FulfillmentOutboundApiUpdateFulfillmentOrderRequest
|
|
611
532
|
*/
|
|
612
533
|
export interface FulfillmentOutboundApiUpdateFulfillmentOrderRequest {
|
|
613
534
|
/**
|
|
614
535
|
* The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
615
|
-
* @type {string}
|
|
616
|
-
* @memberof FulfillmentOutboundApiUpdateFulfillmentOrder
|
|
617
536
|
*/
|
|
618
537
|
readonly sellerFulfillmentOrderId: string;
|
|
619
538
|
/**
|
|
620
539
|
* UpdateFulfillmentOrderRequest parameter
|
|
621
|
-
* @type {UpdateFulfillmentOrderRequest}
|
|
622
|
-
* @memberof FulfillmentOutboundApiUpdateFulfillmentOrder
|
|
623
540
|
*/
|
|
624
541
|
readonly body: UpdateFulfillmentOrderRequest;
|
|
625
542
|
}
|
|
626
543
|
/**
|
|
627
544
|
* FulfillmentOutboundApi - object-oriented interface
|
|
628
|
-
* @export
|
|
629
|
-
* @class FulfillmentOutboundApi
|
|
630
|
-
* @extends {BaseAPI}
|
|
631
545
|
*/
|
|
632
546
|
export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
633
547
|
/**
|
|
@@ -635,7 +549,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
635
549
|
* @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
|
|
636
550
|
* @param {*} [options] Override http request option.
|
|
637
551
|
* @throws {RequiredError}
|
|
638
|
-
* @memberof FulfillmentOutboundApi
|
|
639
552
|
*/
|
|
640
553
|
cancelFulfillmentOrder(requestParameters: FulfillmentOutboundApiCancelFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelFulfillmentOrderResponse, any>>;
|
|
641
554
|
/**
|
|
@@ -643,7 +556,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
643
556
|
* @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
|
|
644
557
|
* @param {*} [options] Override http request option.
|
|
645
558
|
* @throws {RequiredError}
|
|
646
|
-
* @memberof FulfillmentOutboundApi
|
|
647
559
|
*/
|
|
648
560
|
createFulfillmentOrder(requestParameters: FulfillmentOutboundApiCreateFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFulfillmentOrderResponse, any>>;
|
|
649
561
|
/**
|
|
@@ -651,7 +563,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
651
563
|
* @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
|
|
652
564
|
* @param {*} [options] Override http request option.
|
|
653
565
|
* @throws {RequiredError}
|
|
654
|
-
* @memberof FulfillmentOutboundApi
|
|
655
566
|
*/
|
|
656
567
|
createFulfillmentReturn(requestParameters: FulfillmentOutboundApiCreateFulfillmentReturnRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFulfillmentReturnResponse, any>>;
|
|
657
568
|
/**
|
|
@@ -659,7 +570,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
659
570
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
660
571
|
* @param {*} [options] Override http request option.
|
|
661
572
|
* @throws {RequiredError}
|
|
662
|
-
* @memberof FulfillmentOutboundApi
|
|
663
573
|
*/
|
|
664
574
|
deliveryOffers(requestParameters: FulfillmentOutboundApiDeliveryOffersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDeliveryOffersResponse, any>>;
|
|
665
575
|
/**
|
|
@@ -667,7 +577,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
667
577
|
* @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
|
|
668
578
|
* @param {*} [options] Override http request option.
|
|
669
579
|
* @throws {RequiredError}
|
|
670
|
-
* @memberof FulfillmentOutboundApi
|
|
671
580
|
*/
|
|
672
581
|
getFeatureInventory(requestParameters: FulfillmentOutboundApiGetFeatureInventoryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeatureInventoryResponse, any>>;
|
|
673
582
|
/**
|
|
@@ -675,7 +584,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
675
584
|
* @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
|
|
676
585
|
* @param {*} [options] Override http request option.
|
|
677
586
|
* @throws {RequiredError}
|
|
678
|
-
* @memberof FulfillmentOutboundApi
|
|
679
587
|
*/
|
|
680
588
|
getFeatureSKU(requestParameters: FulfillmentOutboundApiGetFeatureSKURequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeatureSkuResponse, any>>;
|
|
681
589
|
/**
|
|
@@ -683,7 +591,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
683
591
|
* @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
|
|
684
592
|
* @param {*} [options] Override http request option.
|
|
685
593
|
* @throws {RequiredError}
|
|
686
|
-
* @memberof FulfillmentOutboundApi
|
|
687
594
|
*/
|
|
688
595
|
getFeatures(requestParameters: FulfillmentOutboundApiGetFeaturesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeaturesResponse, any>>;
|
|
689
596
|
/**
|
|
@@ -691,7 +598,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
691
598
|
* @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
|
|
692
599
|
* @param {*} [options] Override http request option.
|
|
693
600
|
* @throws {RequiredError}
|
|
694
|
-
* @memberof FulfillmentOutboundApi
|
|
695
601
|
*/
|
|
696
602
|
getFulfillmentOrder(requestParameters: FulfillmentOutboundApiGetFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFulfillmentOrderResponse, any>>;
|
|
697
603
|
/**
|
|
@@ -699,7 +605,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
699
605
|
* @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
|
|
700
606
|
* @param {*} [options] Override http request option.
|
|
701
607
|
* @throws {RequiredError}
|
|
702
|
-
* @memberof FulfillmentOutboundApi
|
|
703
608
|
*/
|
|
704
609
|
getFulfillmentPreview(requestParameters: FulfillmentOutboundApiGetFulfillmentPreviewRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFulfillmentPreviewResponse, any>>;
|
|
705
610
|
/**
|
|
@@ -707,7 +612,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
707
612
|
* @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
|
|
708
613
|
* @param {*} [options] Override http request option.
|
|
709
614
|
* @throws {RequiredError}
|
|
710
|
-
* @memberof FulfillmentOutboundApi
|
|
711
615
|
*/
|
|
712
616
|
getPackageTrackingDetails(requestParameters: FulfillmentOutboundApiGetPackageTrackingDetailsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPackageTrackingDetailsResponse, any>>;
|
|
713
617
|
/**
|
|
@@ -715,7 +619,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
715
619
|
* @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
|
|
716
620
|
* @param {*} [options] Override http request option.
|
|
717
621
|
* @throws {RequiredError}
|
|
718
|
-
* @memberof FulfillmentOutboundApi
|
|
719
622
|
*/
|
|
720
623
|
listAllFulfillmentOrders(requestParameters?: FulfillmentOutboundApiListAllFulfillmentOrdersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListAllFulfillmentOrdersResponse, any>>;
|
|
721
624
|
/**
|
|
@@ -723,7 +626,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
723
626
|
* @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
|
|
724
627
|
* @param {*} [options] Override http request option.
|
|
725
628
|
* @throws {RequiredError}
|
|
726
|
-
* @memberof FulfillmentOutboundApi
|
|
727
629
|
*/
|
|
728
630
|
listReturnReasonCodes(requestParameters: FulfillmentOutboundApiListReturnReasonCodesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListReturnReasonCodesResponse, any>>;
|
|
729
631
|
/**
|
|
@@ -731,7 +633,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
731
633
|
* @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
|
|
732
634
|
* @param {*} [options] Override http request option.
|
|
733
635
|
* @throws {RequiredError}
|
|
734
|
-
* @memberof FulfillmentOutboundApi
|
|
735
636
|
*/
|
|
736
637
|
submitFulfillmentOrderStatusUpdate(requestParameters: FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitFulfillmentOrderStatusUpdateResponse, any>>;
|
|
737
638
|
/**
|
|
@@ -739,7 +640,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
739
640
|
* @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
|
|
740
641
|
* @param {*} [options] Override http request option.
|
|
741
642
|
* @throws {RequiredError}
|
|
742
|
-
* @memberof FulfillmentOutboundApi
|
|
743
643
|
*/
|
|
744
644
|
updateFulfillmentOrder(requestParameters: FulfillmentOutboundApiUpdateFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateFulfillmentOrderResponse, any>>;
|
|
745
645
|
}
|