@sp-api-sdk/external-fulfillment-returns-api-2024-09-11 1.1.12 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.cjs +461 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +707 -0
- package/dist/index.d.ts +707 -0
- package/dist/index.js +414 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/external-fulfillment-returns-api.js +0 -259
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -28
- package/dist/cjs/api-model/models/invoice-information.js +0 -15
- package/dist/cjs/api-model/models/marketplace-channel-details.js +0 -15
- package/dist/cjs/api-model/models/marketplace-channel.js +0 -15
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/otp-details.js +0 -15
- package/dist/cjs/api-model/models/replanning-details.js +0 -15
- package/dist/cjs/api-model/models/return-metadata.js +0 -15
- package/dist/cjs/api-model/models/return-shipping-info.js +0 -15
- package/dist/cjs/api-model/models/return.js +0 -46
- package/dist/cjs/api-model/models/returns-response.js +0 -15
- package/dist/cjs/api-model/models/tracking-info.js +0 -15
- package/dist/cjs/client.js +0 -13
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/external-fulfillment-returns-api.js +0 -249
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/index.js +0 -12
- package/dist/es/api-model/models/invoice-information.js +0 -14
- package/dist/es/api-model/models/marketplace-channel-details.js +0 -14
- package/dist/es/api-model/models/marketplace-channel.js +0 -14
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/otp-details.js +0 -14
- package/dist/es/api-model/models/replanning-details.js +0 -14
- package/dist/es/api-model/models/return-metadata.js +0 -14
- package/dist/es/api-model/models/return-shipping-info.js +0 -14
- package/dist/es/api-model/models/return.js +0 -43
- package/dist/es/api-model/models/returns-response.js +0 -14
- package/dist/es/api-model/models/tracking-info.js +0 -14
- package/dist/es/client.js +0 -9
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api/external-fulfillment-returns-api.d.ts +0 -195
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/index.d.ts +0 -12
- package/dist/types/api-model/models/invoice-information.d.ts +0 -20
- package/dist/types/api-model/models/marketplace-channel-details.d.ts +0 -42
- package/dist/types/api-model/models/marketplace-channel.d.ts +0 -24
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/otp-details.d.ts +0 -24
- package/dist/types/api-model/models/replanning-details.d.ts +0 -21
- package/dist/types/api-model/models/return-metadata.d.ts +0 -30
- package/dist/types/api-model/models/return-shipping-info.d.ts +0 -27
- package/dist/types/api-model/models/return.d.ts +0 -104
- package/dist/types/api-model/models/returns-response.d.ts +0 -25
- package/dist/types/api-model/models/tracking-info.d.ts +0 -24
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
interface AWSv4Configuration {
|
|
13
|
-
options?: {
|
|
14
|
-
region?: string;
|
|
15
|
-
service?: string;
|
|
16
|
-
};
|
|
17
|
-
credentials?: {
|
|
18
|
-
accessKeyId?: string;
|
|
19
|
-
secretAccessKey?: string;
|
|
20
|
-
sessionToken?: string;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export interface ConfigurationParameters {
|
|
24
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
25
|
-
username?: string;
|
|
26
|
-
password?: string;
|
|
27
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
-
awsv4?: AWSv4Configuration;
|
|
29
|
-
basePath?: string;
|
|
30
|
-
serverIndex?: number;
|
|
31
|
-
baseOptions?: any;
|
|
32
|
-
formDataCtor?: new () => any;
|
|
33
|
-
}
|
|
34
|
-
export declare class Configuration {
|
|
35
|
-
/**
|
|
36
|
-
* parameter for apiKey security
|
|
37
|
-
* @param name security name
|
|
38
|
-
*/
|
|
39
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
40
|
-
/**
|
|
41
|
-
* parameter for basic security
|
|
42
|
-
*/
|
|
43
|
-
username?: string;
|
|
44
|
-
/**
|
|
45
|
-
* parameter for basic security
|
|
46
|
-
*/
|
|
47
|
-
password?: string;
|
|
48
|
-
/**
|
|
49
|
-
* parameter for oauth2 security
|
|
50
|
-
* @param name security name
|
|
51
|
-
* @param scopes oauth2 scope
|
|
52
|
-
*/
|
|
53
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
54
|
-
/**
|
|
55
|
-
* parameter for aws4 signature security
|
|
56
|
-
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
-
* @param {string} options.region - aws region
|
|
58
|
-
* @param {string} options.service - name of the service.
|
|
59
|
-
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
-
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
-
* @param {string} credentials.sessionToken - aws session token
|
|
62
|
-
* @memberof Configuration
|
|
63
|
-
*/
|
|
64
|
-
awsv4?: AWSv4Configuration;
|
|
65
|
-
/**
|
|
66
|
-
* override base path
|
|
67
|
-
*/
|
|
68
|
-
basePath?: string;
|
|
69
|
-
/**
|
|
70
|
-
* override server index
|
|
71
|
-
*/
|
|
72
|
-
serverIndex?: number;
|
|
73
|
-
/**
|
|
74
|
-
* base options for axios calls
|
|
75
|
-
*/
|
|
76
|
-
baseOptions?: any;
|
|
77
|
-
/**
|
|
78
|
-
* The FormData constructor that will be used to create multipart form data
|
|
79
|
-
* requests. You can inject this here so that execution environments that
|
|
80
|
-
* do not support the FormData class can still run the generated client.
|
|
81
|
-
*
|
|
82
|
-
* @type {new () => FormData}
|
|
83
|
-
*/
|
|
84
|
-
formDataCtor?: new () => any;
|
|
85
|
-
constructor(param?: ConfigurationParameters);
|
|
86
|
-
/**
|
|
87
|
-
* Check if the given MIME is a JSON MIME.
|
|
88
|
-
* JSON MIME examples:
|
|
89
|
-
* application/json
|
|
90
|
-
* application/json; charset=UTF8
|
|
91
|
-
* APPLICATION/JSON
|
|
92
|
-
* application/vnd.company+json
|
|
93
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
94
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
95
|
-
*/
|
|
96
|
-
isJsonMime(mime: string): boolean;
|
|
97
|
-
}
|
|
98
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export * from "./api";
|
|
13
|
-
export * from "./configuration";
|
|
14
|
-
export * from "./models";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* An object containing a list of error responses returned when a request is unsuccessful.
|
|
14
|
-
*/
|
|
15
|
-
export interface ErrorList {
|
|
16
|
-
/**
|
|
17
|
-
* A list of error responses returned when a request is unsuccessful.
|
|
18
|
-
*/
|
|
19
|
-
'errors': Array<Error>;
|
|
20
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from './error-list';
|
|
2
|
-
export * from './invoice-information';
|
|
3
|
-
export * from './marketplace-channel';
|
|
4
|
-
export * from './marketplace-channel-details';
|
|
5
|
-
export * from './model-error';
|
|
6
|
-
export * from './otp-details';
|
|
7
|
-
export * from './replanning-details';
|
|
8
|
-
export * from './return';
|
|
9
|
-
export * from './return-metadata';
|
|
10
|
-
export * from './return-shipping-info';
|
|
11
|
-
export * from './returns-response';
|
|
12
|
-
export * from './tracking-info';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Invoice-related information for the return created for Amazon SmartConnect.
|
|
14
|
-
*/
|
|
15
|
-
export interface InvoiceInformation {
|
|
16
|
-
/**
|
|
17
|
-
* The unique ID of the invoice that corresponds to the return.
|
|
18
|
-
*/
|
|
19
|
-
'id': string;
|
|
20
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { MarketplaceChannel } from './marketplace-channel';
|
|
13
|
-
/**
|
|
14
|
-
* Marketplace channel-specific attributes for the return. These attributes are not mandatory and each channel can provide them differently.
|
|
15
|
-
*/
|
|
16
|
-
export interface MarketplaceChannelDetails {
|
|
17
|
-
'marketplaceChannel'?: MarketplaceChannel;
|
|
18
|
-
/**
|
|
19
|
-
* The ID of the merchant or seller to whom this return is created in the marketplace.
|
|
20
|
-
*/
|
|
21
|
-
'merchantId'?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The marketplace-specific shipment ID.
|
|
24
|
-
*/
|
|
25
|
-
'shipmentId'?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The marketplace-specific customer order ID.
|
|
28
|
-
*/
|
|
29
|
-
'customerOrderId'?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The Amazon SmartConnect ID of the location to which this return is created.
|
|
32
|
-
*/
|
|
33
|
-
'returnLocationId'?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The Amazon SmartConnect SKU of the channel.
|
|
36
|
-
*/
|
|
37
|
-
'channelSku'?: string;
|
|
38
|
-
/**
|
|
39
|
-
* The Amazon SmartConnect ID of the exchange order.
|
|
40
|
-
*/
|
|
41
|
-
'exchangeOrderId'?: string;
|
|
42
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* The marketplace and channel name.
|
|
14
|
-
*/
|
|
15
|
-
export interface MarketplaceChannel {
|
|
16
|
-
/**
|
|
17
|
-
* The name of the marketplace.
|
|
18
|
-
*/
|
|
19
|
-
'marketplaceName'?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The name of the channel within the marketplace.
|
|
22
|
-
*/
|
|
23
|
-
'channelName'?: string;
|
|
24
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Error response returned when the request is unsuccessful.
|
|
14
|
-
*/
|
|
15
|
-
export interface ModelError {
|
|
16
|
-
/**
|
|
17
|
-
* An error code that identifies the type of error that occurred.
|
|
18
|
-
*/
|
|
19
|
-
'code': string;
|
|
20
|
-
/**
|
|
21
|
-
* A message that describes the error condition.
|
|
22
|
-
*/
|
|
23
|
-
'message': string;
|
|
24
|
-
/**
|
|
25
|
-
* Additional details that can help the caller understand or fix the issue.
|
|
26
|
-
*/
|
|
27
|
-
'details'?: string;
|
|
28
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* One-time password (OTP) details of the return item.
|
|
14
|
-
*/
|
|
15
|
-
export interface OtpDetails {
|
|
16
|
-
/**
|
|
17
|
-
* One-time password to validate the return delivered to the seller.
|
|
18
|
-
*/
|
|
19
|
-
'otp': string;
|
|
20
|
-
/**
|
|
21
|
-
* The UNIX timestamp of when the verification code expires.
|
|
22
|
-
*/
|
|
23
|
-
'validTill': number;
|
|
24
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { TrackingInfo } from './tracking-info';
|
|
13
|
-
/**
|
|
14
|
-
* Provides details about the replanned returns.
|
|
15
|
-
*/
|
|
16
|
-
export interface ReplanningDetails {
|
|
17
|
-
/**
|
|
18
|
-
* A list of all the previous tracking information for the return.
|
|
19
|
-
*/
|
|
20
|
-
'previousTrackingInfo'?: Array<TrackingInfo>;
|
|
21
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { InvoiceInformation } from './invoice-information';
|
|
13
|
-
/**
|
|
14
|
-
* Metadata about the return item.
|
|
15
|
-
*/
|
|
16
|
-
export interface ReturnMetadata {
|
|
17
|
-
/**
|
|
18
|
-
* The reason for the return.
|
|
19
|
-
*/
|
|
20
|
-
'returnReason': string;
|
|
21
|
-
/**
|
|
22
|
-
* The RMA ID of the return.
|
|
23
|
-
*/
|
|
24
|
-
'rmaId'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The SmartConnect ID of the fulfillment order for which the return was placed.
|
|
27
|
-
*/
|
|
28
|
-
'fulfillmentOrderId'?: string;
|
|
29
|
-
'invoiceInformation'?: InvoiceInformation;
|
|
30
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { TrackingInfo } from './tracking-info';
|
|
13
|
-
/**
|
|
14
|
-
* Information about the shipping of the return packages.
|
|
15
|
-
*/
|
|
16
|
-
export interface ReturnShippingInfo {
|
|
17
|
-
/**
|
|
18
|
-
* A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
19
|
-
*/
|
|
20
|
-
'deliveryDateTime'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
23
|
-
*/
|
|
24
|
-
'pickupDateTime'?: string;
|
|
25
|
-
'forwardTrackingInfo'?: TrackingInfo;
|
|
26
|
-
'reverseTrackingInfo'?: TrackingInfo;
|
|
27
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { MarketplaceChannelDetails } from './marketplace-channel-details';
|
|
13
|
-
import type { OtpDetails } from './otp-details';
|
|
14
|
-
import type { ReplanningDetails } from './replanning-details';
|
|
15
|
-
import type { ReturnMetadata } from './return-metadata';
|
|
16
|
-
import type { ReturnShippingInfo } from './return-shipping-info';
|
|
17
|
-
/**
|
|
18
|
-
* Information about the return item.
|
|
19
|
-
*/
|
|
20
|
-
export interface Return {
|
|
21
|
-
/**
|
|
22
|
-
* The return item\'s ID.
|
|
23
|
-
*/
|
|
24
|
-
'id': string;
|
|
25
|
-
/**
|
|
26
|
-
* The SmartConnect identifier for where the return item was dropped for delivery.
|
|
27
|
-
*/
|
|
28
|
-
'returnLocationId'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The seller\'s identifier for the SKU.
|
|
31
|
-
*/
|
|
32
|
-
'merchantSku'?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The type of return.
|
|
35
|
-
*/
|
|
36
|
-
'returnType': ReturnReturnTypeEnum;
|
|
37
|
-
/**
|
|
38
|
-
* The sub-type of return.
|
|
39
|
-
*/
|
|
40
|
-
'returnSubType'?: ReturnReturnSubTypeEnum;
|
|
41
|
-
/**
|
|
42
|
-
* The total number of units in the return.
|
|
43
|
-
*/
|
|
44
|
-
'numberOfUnits'?: number;
|
|
45
|
-
/**
|
|
46
|
-
* The current status of the return.
|
|
47
|
-
*/
|
|
48
|
-
'status': ReturnStatusEnum;
|
|
49
|
-
/**
|
|
50
|
-
* The ID of the location that fulfilled the order.
|
|
51
|
-
*/
|
|
52
|
-
'fulfillmentLocationId': string;
|
|
53
|
-
/**
|
|
54
|
-
* A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
55
|
-
*/
|
|
56
|
-
'creationDateTime'?: string;
|
|
57
|
-
/**
|
|
58
|
-
* A date and time in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
|
|
59
|
-
*/
|
|
60
|
-
'lastUpdatedDateTime': string;
|
|
61
|
-
'returnMetadata': ReturnMetadata;
|
|
62
|
-
'returnShippingInfo': ReturnShippingInfo;
|
|
63
|
-
'marketplaceChannelDetails': MarketplaceChannelDetails;
|
|
64
|
-
'otpDetails'?: OtpDetails;
|
|
65
|
-
/**
|
|
66
|
-
* The package delivery mode. This indicates whether the return was delivered to the seller with or without a one-time password (OTP).
|
|
67
|
-
*/
|
|
68
|
-
'packageDeliveryMode'?: ReturnPackageDeliveryModeEnum;
|
|
69
|
-
'replanningDetails'?: ReplanningDetails;
|
|
70
|
-
}
|
|
71
|
-
export declare const ReturnReturnTypeEnum: {
|
|
72
|
-
readonly Customer: "CUSTOMER";
|
|
73
|
-
readonly Reject: "REJECT";
|
|
74
|
-
};
|
|
75
|
-
export type ReturnReturnTypeEnum = typeof ReturnReturnTypeEnum[keyof typeof ReturnReturnTypeEnum];
|
|
76
|
-
export declare const ReturnReturnSubTypeEnum: {
|
|
77
|
-
readonly Normal: "NORMAL";
|
|
78
|
-
readonly Replacement: "REPLACEMENT";
|
|
79
|
-
readonly Exchange: "EXCHANGE";
|
|
80
|
-
};
|
|
81
|
-
export type ReturnReturnSubTypeEnum = typeof ReturnReturnSubTypeEnum[keyof typeof ReturnReturnSubTypeEnum];
|
|
82
|
-
export declare const ReturnStatusEnum: {
|
|
83
|
-
readonly Created: "CREATED";
|
|
84
|
-
readonly CarrierNotifiedToPickUpFromCustomer: "CARRIER_NOTIFIED_TO_PICK_UP_FROM_CUSTOMER";
|
|
85
|
-
readonly CarrierOutForPickUpFromCustomer: "CARRIER_OUT_FOR_PICK_UP_FROM_CUSTOMER";
|
|
86
|
-
readonly CustomerCancelledPickUp: "CUSTOMER_CANCELLED_PICK_UP";
|
|
87
|
-
readonly CustomerRescheduledPickUp: "CUSTOMER_RESCHEDULED_PICK_UP";
|
|
88
|
-
readonly PickedFromCustomer: "PICKED_FROM_CUSTOMER";
|
|
89
|
-
readonly InTransit: "IN_TRANSIT";
|
|
90
|
-
readonly OutForDelivery: "OUT_FOR_DELIVERY";
|
|
91
|
-
readonly Delivered: "DELIVERED";
|
|
92
|
-
readonly Replanned: "REPLANNED";
|
|
93
|
-
readonly CustomerDroppedOff: "CUSTOMER_DROPPED_OFF";
|
|
94
|
-
readonly PartiallyProcessed: "PARTIALLY_PROCESSED";
|
|
95
|
-
readonly Processed: "PROCESSED";
|
|
96
|
-
readonly Rejected: "REJECTED";
|
|
97
|
-
readonly Cancelled: "CANCELLED";
|
|
98
|
-
};
|
|
99
|
-
export type ReturnStatusEnum = typeof ReturnStatusEnum[keyof typeof ReturnStatusEnum];
|
|
100
|
-
export declare const ReturnPackageDeliveryModeEnum: {
|
|
101
|
-
readonly WithOtp: "WITH_OTP";
|
|
102
|
-
readonly WithoutOtp: "WITHOUT_OTP";
|
|
103
|
-
};
|
|
104
|
-
export type ReturnPackageDeliveryModeEnum = typeof ReturnPackageDeliveryModeEnum[keyof typeof ReturnPackageDeliveryModeEnum];
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Return } from './return';
|
|
13
|
-
/**
|
|
14
|
-
* The response to the `listReturns` operation.
|
|
15
|
-
*/
|
|
16
|
-
export interface ReturnsResponse {
|
|
17
|
-
/**
|
|
18
|
-
* A list of returns.
|
|
19
|
-
*/
|
|
20
|
-
'returns'?: Array<Return>;
|
|
21
|
-
/**
|
|
22
|
-
* A token that you use to retrieve the next page of results. The response includes `nextToken` when there are multiple pages of results. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
23
|
-
*/
|
|
24
|
-
'nextToken'?: string;
|
|
25
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Amazon External Fulfillment Return Item Processing
|
|
3
|
-
* You can use the Amazon External Fulfillment Return Item Processing API to retrieve, track, and process return items through Amazon\'s External Fulfillment returns management system.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-09-11
|
|
6
|
-
* Contact: marketplaceapitest@amazon.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Information for tracking a return.
|
|
14
|
-
*/
|
|
15
|
-
export interface TrackingInfo {
|
|
16
|
-
/**
|
|
17
|
-
* The name of the third party courier service used to ship the return package.
|
|
18
|
-
*/
|
|
19
|
-
'carrierName': string;
|
|
20
|
-
/**
|
|
21
|
-
* The tracking ID of the return package.
|
|
22
|
-
*/
|
|
23
|
-
'trackingId': string;
|
|
24
|
-
}
|
package/dist/types/client.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
-
import { ExternalFulfillmentReturnsApi } from './api-model';
|
|
3
|
-
export declare const clientRateLimits: RateLimit[];
|
|
4
|
-
export declare class ExternalFulfillmentReturnsApiClient extends ExternalFulfillmentReturnsApi {
|
|
5
|
-
constructor(configuration: ClientConfiguration);
|
|
6
|
-
}
|
package/dist/types/index.d.ts
DELETED