@sp-api-sdk/fba-inbound-eligibility-api-v1 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import { ClientConfiguration, RateLimit } from '@sp-api-sdk/common';
2
- import * as axios from 'axios';
3
- import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
4
-
1
+ import { ClientConfiguration, RateLimit } from "@sp-api-sdk/common";
2
+ import { AxiosInstance, AxiosPromise, RawAxiosRequestConfig } from "axios";
3
+ //#region src/api-model/configuration.d.ts
5
4
  /**
6
5
  * Selling Partner API for FBA Inbound Eligibilty
7
6
  * With the FBA Inbound Eligibility API, you can build applications that let sellers get eligibility previews for items before shipping them to Amazon\'s fulfillment centers. With this API you can find out if an item is eligible for inbound shipment to Amazon\'s fulfillment centers in a specific marketplace. You can also find out if an item is eligible for using the manufacturer barcode for FBA inventory tracking. Sellers can use this information to inform their decisions about which items to ship Amazon\'s fulfillment centers.
@@ -14,115 +13,105 @@ import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
14
13
  * Do not edit the class manually.
15
14
  */
16
15
  interface AWSv4Configuration {
17
- options?: {
18
- region?: string;
19
- service?: string;
20
- };
21
- credentials?: {
22
- accessKeyId?: string;
23
- secretAccessKey?: string;
24
- sessionToken?: string;
25
- };
16
+ options?: {
17
+ region?: string;
18
+ service?: string;
19
+ };
20
+ credentials?: {
21
+ accessKeyId?: string;
22
+ secretAccessKey?: string;
23
+ sessionToken?: string;
24
+ };
26
25
  }
27
26
  interface ConfigurationParameters {
28
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
- username?: string;
30
- password?: string;
31
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
32
- awsv4?: AWSv4Configuration;
33
- basePath?: string;
34
- serverIndex?: number;
35
- baseOptions?: any;
36
- formDataCtor?: new () => any;
27
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
28
+ username?: string;
29
+ password?: string;
30
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
31
+ awsv4?: AWSv4Configuration;
32
+ basePath?: string;
33
+ serverIndex?: number;
34
+ baseOptions?: any;
35
+ formDataCtor?: new () => any;
37
36
  }
38
37
  declare class Configuration {
39
- /**
40
- * parameter for apiKey security
41
- * @param name security name
42
- */
43
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
44
- /**
45
- * parameter for basic security
46
- */
47
- username?: string;
48
- /**
49
- * parameter for basic security
50
- */
51
- password?: string;
52
- /**
53
- * parameter for oauth2 security
54
- * @param name security name
55
- * @param scopes oauth2 scope
56
- */
57
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
58
- /**
59
- * parameter for aws4 signature security
60
- * @param {Object} AWS4Signature - AWS4 Signature security
61
- * @param {string} options.region - aws region
62
- * @param {string} options.service - name of the service.
63
- * @param {string} credentials.accessKeyId - aws access key id
64
- * @param {string} credentials.secretAccessKey - aws access key
65
- * @param {string} credentials.sessionToken - aws session token
66
- * @memberof Configuration
67
- */
68
- awsv4?: AWSv4Configuration;
69
- /**
70
- * override base path
71
- */
72
- basePath?: string;
73
- /**
74
- * override server index
75
- */
76
- serverIndex?: number;
77
- /**
78
- * base options for axios calls
79
- */
80
- baseOptions?: any;
81
- /**
82
- * The FormData constructor that will be used to create multipart form data
83
- * requests. You can inject this here so that execution environments that
84
- * do not support the FormData class can still run the generated client.
85
- *
86
- * @type {new () => FormData}
87
- */
88
- formDataCtor?: new () => any;
89
- constructor(param?: ConfigurationParameters);
90
- /**
91
- * Check if the given MIME is a JSON MIME.
92
- * JSON MIME examples:
93
- * application/json
94
- * application/json; charset=UTF8
95
- * APPLICATION/JSON
96
- * application/vnd.company+json
97
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
98
- * @return True if the given MIME is JSON, false otherwise.
99
- */
100
- isJsonMime(mime: string): boolean;
38
+ /**
39
+ * parameter for apiKey security
40
+ * @param name security name
41
+ */
42
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
43
+ /**
44
+ * parameter for basic security
45
+ */
46
+ username?: string;
47
+ /**
48
+ * parameter for basic security
49
+ */
50
+ password?: string;
51
+ /**
52
+ * parameter for oauth2 security
53
+ * @param name security name
54
+ * @param scopes oauth2 scope
55
+ */
56
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
57
+ /**
58
+ * parameter for aws4 signature security
59
+ * @param {Object} AWS4Signature - AWS4 Signature security
60
+ * @param {string} options.region - aws region
61
+ * @param {string} options.service - name of the service.
62
+ * @param {string} credentials.accessKeyId - aws access key id
63
+ * @param {string} credentials.secretAccessKey - aws access key
64
+ * @param {string} credentials.sessionToken - aws session token
65
+ * @memberof Configuration
66
+ */
67
+ awsv4?: AWSv4Configuration;
68
+ /**
69
+ * override base path
70
+ */
71
+ basePath?: string;
72
+ /**
73
+ * override server index
74
+ */
75
+ serverIndex?: number;
76
+ /**
77
+ * base options for axios calls
78
+ */
79
+ baseOptions?: any;
80
+ /**
81
+ * The FormData constructor that will be used to create multipart form data
82
+ * requests. You can inject this here so that execution environments that
83
+ * do not support the FormData class can still run the generated client.
84
+ *
85
+ * @type {new () => FormData}
86
+ */
87
+ formDataCtor?: new () => any;
88
+ constructor(param?: ConfigurationParameters);
89
+ /**
90
+ * Check if the given MIME is a JSON MIME.
91
+ * JSON MIME examples:
92
+ * application/json
93
+ * application/json; charset=UTF8
94
+ * APPLICATION/JSON
95
+ * application/vnd.company+json
96
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
97
+ * @return True if the given MIME is JSON, false otherwise.
98
+ */
99
+ isJsonMime(mime: string): boolean;
101
100
  }
102
-
103
- /**
104
- * Selling Partner API for FBA Inbound Eligibilty
105
- * With the FBA Inbound Eligibility API, you can build applications that let sellers get eligibility previews for items before shipping them to Amazon\'s fulfillment centers. With this API you can find out if an item is eligible for inbound shipment to Amazon\'s fulfillment centers in a specific marketplace. You can also find out if an item is eligible for using the manufacturer barcode for FBA inventory tracking. Sellers can use this information to inform their decisions about which items to ship Amazon\'s fulfillment centers.
106
- *
107
- * The version of the OpenAPI document: v1
108
- *
109
- *
110
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
111
- * https://openapi-generator.tech
112
- * Do not edit the class manually.
113
- */
114
-
101
+ //#endregion
102
+ //#region src/api-model/base.d.ts
115
103
  interface RequestArgs {
116
- url: string;
117
- options: RawAxiosRequestConfig;
104
+ url: string;
105
+ options: RawAxiosRequestConfig;
118
106
  }
119
107
  declare class BaseAPI {
120
- protected basePath: string;
121
- protected axios: AxiosInstance;
122
- protected configuration: Configuration | undefined;
123
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
108
+ protected basePath: string;
109
+ protected axios: AxiosInstance;
110
+ protected configuration: Configuration | undefined;
111
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
124
112
  }
125
-
113
+ //#endregion
114
+ //#region src/api-model/models/item-eligibility-preview.d.ts
126
115
  /**
127
116
  * Selling Partner API for FBA Inbound Eligibilty
128
117
  * With the FBA Inbound Eligibility API, you can build applications that let sellers get eligibility previews for items before shipping them to Amazon\'s fulfillment centers. With this API you can find out if an item is eligible for inbound shipment to Amazon\'s fulfillment centers in a specific marketplace. You can also find out if an item is eligible for using the manufacturer barcode for FBA inventory tracking. Sellers can use this information to inform their decisions about which items to ship Amazon\'s fulfillment centers.
@@ -138,100 +127,90 @@ declare class BaseAPI {
138
127
  * The response object which contains the ASIN, marketplaceId if required, eligibility program, the eligibility status (boolean), and a list of ineligibility reason codes.
139
128
  */
140
129
  interface ItemEligibilityPreview {
141
- /**
142
- * The ASIN for which eligibility was determined.
143
- */
144
- 'asin': string;
145
- /**
146
- * The marketplace for which eligibility was determined.
147
- */
148
- 'marketplaceId'?: string;
149
- /**
150
- * The program for which eligibility was determined.
151
- */
152
- 'program': ItemEligibilityPreviewProgramEnum;
153
- /**
154
- * Indicates if the item is eligible for the program.
155
- */
156
- 'isEligibleForProgram': boolean;
157
- /**
158
- * Potential Ineligibility Reason Codes.
159
- */
160
- 'ineligibilityReasonList'?: Array<ItemEligibilityPreviewIneligibilityReasonListEnum>;
130
+ /**
131
+ * The ASIN for which eligibility was determined.
132
+ */
133
+ 'asin': string;
134
+ /**
135
+ * The marketplace for which eligibility was determined.
136
+ */
137
+ 'marketplaceId'?: string;
138
+ /**
139
+ * The program for which eligibility was determined.
140
+ */
141
+ 'program': ItemEligibilityPreviewProgramEnum;
142
+ /**
143
+ * Indicates if the item is eligible for the program.
144
+ */
145
+ 'isEligibleForProgram': boolean;
146
+ /**
147
+ * Potential Ineligibility Reason Codes.
148
+ */
149
+ 'ineligibilityReasonList'?: Array<ItemEligibilityPreviewIneligibilityReasonListEnum>;
161
150
  }
162
151
  declare const ItemEligibilityPreviewProgramEnum: {
163
- readonly Inbound: "INBOUND";
164
- readonly Commingling: "COMMINGLING";
152
+ readonly Inbound: "INBOUND";
153
+ readonly Commingling: "COMMINGLING";
165
154
  };
166
155
  type ItemEligibilityPreviewProgramEnum = typeof ItemEligibilityPreviewProgramEnum[keyof typeof ItemEligibilityPreviewProgramEnum];
167
156
  declare const ItemEligibilityPreviewIneligibilityReasonListEnum: {
168
- readonly FbaInb0004: "FBA_INB_0004";
169
- readonly FbaInb0006: "FBA_INB_0006";
170
- readonly FbaInb0007: "FBA_INB_0007";
171
- readonly FbaInb0008: "FBA_INB_0008";
172
- readonly FbaInb0009: "FBA_INB_0009";
173
- readonly FbaInb0010: "FBA_INB_0010";
174
- readonly FbaInb0011: "FBA_INB_0011";
175
- readonly FbaInb0012: "FBA_INB_0012";
176
- readonly FbaInb0013: "FBA_INB_0013";
177
- readonly FbaInb0014: "FBA_INB_0014";
178
- readonly FbaInb0015: "FBA_INB_0015";
179
- readonly FbaInb0016: "FBA_INB_0016";
180
- readonly FbaInb0017: "FBA_INB_0017";
181
- readonly FbaInb0018: "FBA_INB_0018";
182
- readonly FbaInb0019: "FBA_INB_0019";
183
- readonly FbaInb0034: "FBA_INB_0034";
184
- readonly FbaInb0035: "FBA_INB_0035";
185
- readonly FbaInb0036: "FBA_INB_0036";
186
- readonly FbaInb0037: "FBA_INB_0037";
187
- readonly FbaInb0038: "FBA_INB_0038";
188
- readonly FbaInb0050: "FBA_INB_0050";
189
- readonly FbaInb0051: "FBA_INB_0051";
190
- readonly FbaInb0053: "FBA_INB_0053";
191
- readonly FbaInb0055: "FBA_INB_0055";
192
- readonly FbaInb0056: "FBA_INB_0056";
193
- readonly FbaInb0059: "FBA_INB_0059";
194
- readonly FbaInb0065: "FBA_INB_0065";
195
- readonly FbaInb0066: "FBA_INB_0066";
196
- readonly FbaInb0067: "FBA_INB_0067";
197
- readonly FbaInb0068: "FBA_INB_0068";
198
- readonly FbaInb0095: "FBA_INB_0095";
199
- readonly FbaInb0097: "FBA_INB_0097";
200
- readonly FbaInb0098: "FBA_INB_0098";
201
- readonly FbaInb0099: "FBA_INB_0099";
202
- readonly FbaInb0100: "FBA_INB_0100";
203
- readonly FbaInb0103: "FBA_INB_0103";
204
- readonly FbaInb0104: "FBA_INB_0104";
205
- readonly FbaInb0197: "FBA_INB_0197";
206
- readonly FbaInb0342: "FBA_INB_0342";
207
- readonly FbaInb0465: "FBA_INB_0465";
208
- readonly UnknownInbErrorCode: "UNKNOWN_INB_ERROR_CODE";
157
+ readonly FbaInb0004: "FBA_INB_0004";
158
+ readonly FbaInb0006: "FBA_INB_0006";
159
+ readonly FbaInb0007: "FBA_INB_0007";
160
+ readonly FbaInb0008: "FBA_INB_0008";
161
+ readonly FbaInb0009: "FBA_INB_0009";
162
+ readonly FbaInb0010: "FBA_INB_0010";
163
+ readonly FbaInb0011: "FBA_INB_0011";
164
+ readonly FbaInb0012: "FBA_INB_0012";
165
+ readonly FbaInb0013: "FBA_INB_0013";
166
+ readonly FbaInb0014: "FBA_INB_0014";
167
+ readonly FbaInb0015: "FBA_INB_0015";
168
+ readonly FbaInb0016: "FBA_INB_0016";
169
+ readonly FbaInb0017: "FBA_INB_0017";
170
+ readonly FbaInb0018: "FBA_INB_0018";
171
+ readonly FbaInb0019: "FBA_INB_0019";
172
+ readonly FbaInb0034: "FBA_INB_0034";
173
+ readonly FbaInb0035: "FBA_INB_0035";
174
+ readonly FbaInb0036: "FBA_INB_0036";
175
+ readonly FbaInb0037: "FBA_INB_0037";
176
+ readonly FbaInb0038: "FBA_INB_0038";
177
+ readonly FbaInb0050: "FBA_INB_0050";
178
+ readonly FbaInb0051: "FBA_INB_0051";
179
+ readonly FbaInb0053: "FBA_INB_0053";
180
+ readonly FbaInb0055: "FBA_INB_0055";
181
+ readonly FbaInb0056: "FBA_INB_0056";
182
+ readonly FbaInb0059: "FBA_INB_0059";
183
+ readonly FbaInb0065: "FBA_INB_0065";
184
+ readonly FbaInb0066: "FBA_INB_0066";
185
+ readonly FbaInb0067: "FBA_INB_0067";
186
+ readonly FbaInb0068: "FBA_INB_0068";
187
+ readonly FbaInb0095: "FBA_INB_0095";
188
+ readonly FbaInb0097: "FBA_INB_0097";
189
+ readonly FbaInb0098: "FBA_INB_0098";
190
+ readonly FbaInb0099: "FBA_INB_0099";
191
+ readonly FbaInb0100: "FBA_INB_0100";
192
+ readonly FbaInb0103: "FBA_INB_0103";
193
+ readonly FbaInb0104: "FBA_INB_0104";
194
+ readonly FbaInb0197: "FBA_INB_0197";
195
+ readonly FbaInb0342: "FBA_INB_0342";
196
+ readonly FbaInb0465: "FBA_INB_0465";
197
+ readonly UnknownInbErrorCode: "UNKNOWN_INB_ERROR_CODE";
209
198
  };
210
199
  type ItemEligibilityPreviewIneligibilityReasonListEnum = typeof ItemEligibilityPreviewIneligibilityReasonListEnum[keyof typeof ItemEligibilityPreviewIneligibilityReasonListEnum];
211
-
212
- /**
213
- * Selling Partner API for FBA Inbound Eligibilty
214
- * With the FBA Inbound Eligibility API, you can build applications that let sellers get eligibility previews for items before shipping them to Amazon\'s fulfillment centers. With this API you can find out if an item is eligible for inbound shipment to Amazon\'s fulfillment centers in a specific marketplace. You can also find out if an item is eligible for using the manufacturer barcode for FBA inventory tracking. Sellers can use this information to inform their decisions about which items to ship Amazon\'s fulfillment centers.
215
- *
216
- * The version of the OpenAPI document: v1
217
- *
218
- *
219
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
220
- * https://openapi-generator.tech
221
- * Do not edit the class manually.
222
- */
223
-
200
+ //#endregion
201
+ //#region src/api-model/models/get-item-eligibility-preview-response.d.ts
224
202
  /**
225
203
  * The response schema for the getItemEligibilityPreview operation.
226
204
  */
227
205
  interface GetItemEligibilityPreviewResponse {
228
- 'payload'?: ItemEligibilityPreview;
229
- /**
230
- * A list of error responses returned when a request is unsuccessful.
231
- */
232
- 'errors'?: Array<Error>;
206
+ 'payload'?: ItemEligibilityPreview;
207
+ /**
208
+ * A list of error responses returned when a request is unsuccessful.
209
+ */
210
+ 'errors'?: Array<Error>;
233
211
  }
234
-
212
+ //#endregion
213
+ //#region src/api-model/models/model-error.d.ts
235
214
  /**
236
215
  * Selling Partner API for FBA Inbound Eligibilty
237
216
  * With the FBA Inbound Eligibility API, you can build applications that let sellers get eligibility previews for items before shipping them to Amazon\'s fulfillment centers. With this API you can find out if an item is eligible for inbound shipment to Amazon\'s fulfillment centers in a specific marketplace. You can also find out if an item is eligible for using the manufacturer barcode for FBA inventory tracking. Sellers can use this information to inform their decisions about which items to ship Amazon\'s fulfillment centers.
@@ -247,98 +226,101 @@ interface GetItemEligibilityPreviewResponse {
247
226
  * Error response returned when the request is unsuccessful.
248
227
  */
249
228
  interface ModelError {
250
- /**
251
- * An error code that identifies the type of error that occurred.
252
- */
253
- 'code': string;
254
- /**
255
- * A message that describes the error condition in a human-readable form.
256
- */
257
- 'message'?: string;
258
- /**
259
- * Additional information that can help the caller understand or fix the issue.
260
- */
261
- 'details'?: string;
229
+ /**
230
+ * An error code that identifies the type of error that occurred.
231
+ */
232
+ 'code': string;
233
+ /**
234
+ * A message that describes the error condition in a human-readable form.
235
+ */
236
+ 'message'?: string;
237
+ /**
238
+ * Additional information that can help the caller understand or fix the issue.
239
+ */
240
+ 'details'?: string;
262
241
  }
263
-
242
+ //#endregion
243
+ //#region src/api-model/api/fba-inbound-eligibility-api.d.ts
264
244
  /**
265
245
  * FbaInboundEligibilityApi - axios parameter creator
266
246
  */
267
247
  declare const FbaInboundEligibilityApiAxiosParamCreator: (configuration?: Configuration) => {
268
- /**
269
- * This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item\'s eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
270
- * @param {string} asin The ASIN of the item for which you want an eligibility preview.
271
- * @param {GetItemEligibilityPreviewProgramEnum} program The program that you want to check eligibility against.
272
- * @param {Array<string>} [marketplaceIds] The identifier for the marketplace in which you want to determine eligibility. Required only when program&#x3D;INBOUND.
273
- * @param {*} [options] Override http request option.
274
- * @throws {RequiredError}
275
- */
276
- getItemEligibilityPreview: (asin: string, program: GetItemEligibilityPreviewProgramEnum, marketplaceIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
248
+ /**
249
+ * This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item\'s eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
250
+ * @param {string} asin The ASIN of the item for which you want an eligibility preview.
251
+ * @param {GetItemEligibilityPreviewProgramEnum} program The program that you want to check eligibility against.
252
+ * @param {Array<string>} [marketplaceIds] The identifier for the marketplace in which you want to determine eligibility. Required only when program&#x3D;INBOUND.
253
+ * @param {*} [options] Override http request option.
254
+ * @throws {RequiredError}
255
+ */
256
+ getItemEligibilityPreview: (asin: string, program: GetItemEligibilityPreviewProgramEnum, marketplaceIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
277
257
  };
278
258
  /**
279
259
  * FbaInboundEligibilityApi - functional programming interface
280
260
  */
281
261
  declare const FbaInboundEligibilityApiFp: (configuration?: Configuration) => {
282
- /**
283
- * This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item\'s eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
284
- * @param {string} asin The ASIN of the item for which you want an eligibility preview.
285
- * @param {GetItemEligibilityPreviewProgramEnum} program The program that you want to check eligibility against.
286
- * @param {Array<string>} [marketplaceIds] The identifier for the marketplace in which you want to determine eligibility. Required only when program&#x3D;INBOUND.
287
- * @param {*} [options] Override http request option.
288
- * @throws {RequiredError}
289
- */
290
- getItemEligibilityPreview(asin: string, program: GetItemEligibilityPreviewProgramEnum, marketplaceIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetItemEligibilityPreviewResponse>>;
262
+ /**
263
+ * This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item\'s eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
264
+ * @param {string} asin The ASIN of the item for which you want an eligibility preview.
265
+ * @param {GetItemEligibilityPreviewProgramEnum} program The program that you want to check eligibility against.
266
+ * @param {Array<string>} [marketplaceIds] The identifier for the marketplace in which you want to determine eligibility. Required only when program&#x3D;INBOUND.
267
+ * @param {*} [options] Override http request option.
268
+ * @throws {RequiredError}
269
+ */
270
+ getItemEligibilityPreview(asin: string, program: GetItemEligibilityPreviewProgramEnum, marketplaceIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetItemEligibilityPreviewResponse>>;
291
271
  };
292
272
  /**
293
273
  * FbaInboundEligibilityApi - factory interface
294
274
  */
295
275
  declare const FbaInboundEligibilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
296
- /**
297
- * This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item\'s eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
298
- * @param {FbaInboundEligibilityApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
299
- * @param {*} [options] Override http request option.
300
- * @throws {RequiredError}
301
- */
302
- getItemEligibilityPreview(requestParameters: FbaInboundEligibilityApiGetItemEligibilityPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetItemEligibilityPreviewResponse>;
276
+ /**
277
+ * This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item\'s eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
278
+ * @param {FbaInboundEligibilityApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
279
+ * @param {*} [options] Override http request option.
280
+ * @throws {RequiredError}
281
+ */
282
+ getItemEligibilityPreview(requestParameters: FbaInboundEligibilityApiGetItemEligibilityPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetItemEligibilityPreviewResponse>;
303
283
  };
304
284
  /**
305
285
  * Request parameters for getItemEligibilityPreview operation in FbaInboundEligibilityApi.
306
286
  */
307
287
  interface FbaInboundEligibilityApiGetItemEligibilityPreviewRequest {
308
- /**
309
- * The ASIN of the item for which you want an eligibility preview.
310
- */
311
- readonly asin: string;
312
- /**
313
- * The program that you want to check eligibility against.
314
- */
315
- readonly program: GetItemEligibilityPreviewProgramEnum;
316
- /**
317
- * The identifier for the marketplace in which you want to determine eligibility. Required only when program&#x3D;INBOUND.
318
- */
319
- readonly marketplaceIds?: Array<string>;
288
+ /**
289
+ * The ASIN of the item for which you want an eligibility preview.
290
+ */
291
+ readonly asin: string;
292
+ /**
293
+ * The program that you want to check eligibility against.
294
+ */
295
+ readonly program: GetItemEligibilityPreviewProgramEnum;
296
+ /**
297
+ * The identifier for the marketplace in which you want to determine eligibility. Required only when program&#x3D;INBOUND.
298
+ */
299
+ readonly marketplaceIds?: Array<string>;
320
300
  }
321
301
  /**
322
302
  * FbaInboundEligibilityApi - object-oriented interface
323
303
  */
324
304
  declare class FbaInboundEligibilityApi extends BaseAPI {
325
- /**
326
- * This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item\'s eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
327
- * @param {FbaInboundEligibilityApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
328
- * @param {*} [options] Override http request option.
329
- * @throws {RequiredError}
330
- */
331
- getItemEligibilityPreview(requestParameters: FbaInboundEligibilityApiGetItemEligibilityPreviewRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetItemEligibilityPreviewResponse, any, {}>>;
305
+ /**
306
+ * This operation gets an eligibility preview for an item that you specify. You can specify the type of eligibility preview that you want (INBOUND or COMMINGLING). For INBOUND previews, you can specify the marketplace in which you want to determine the item\'s eligibility. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
307
+ * @param {FbaInboundEligibilityApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
308
+ * @param {*} [options] Override http request option.
309
+ * @throws {RequiredError}
310
+ */
311
+ getItemEligibilityPreview(requestParameters: FbaInboundEligibilityApiGetItemEligibilityPreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetItemEligibilityPreviewResponse, any, {}>>;
332
312
  }
333
313
  declare const GetItemEligibilityPreviewProgramEnum: {
334
- readonly Inbound: "INBOUND";
335
- readonly Commingling: "COMMINGLING";
314
+ readonly Inbound: "INBOUND";
315
+ readonly Commingling: "COMMINGLING";
336
316
  };
337
317
  type GetItemEligibilityPreviewProgramEnum = typeof GetItemEligibilityPreviewProgramEnum[keyof typeof GetItemEligibilityPreviewProgramEnum];
338
-
318
+ //#endregion
319
+ //#region src/client.d.ts
339
320
  declare const clientRateLimits: RateLimit[];
340
321
  declare class FbaInboundEligibilityApiClient extends FbaInboundEligibilityApi {
341
- constructor(configuration: ClientConfiguration);
322
+ constructor(configuration: ClientConfiguration);
342
323
  }
343
-
344
- export { FbaInboundEligibilityApi, FbaInboundEligibilityApiAxiosParamCreator, FbaInboundEligibilityApiClient, FbaInboundEligibilityApiFactory, FbaInboundEligibilityApiFp, type FbaInboundEligibilityApiGetItemEligibilityPreviewRequest, GetItemEligibilityPreviewProgramEnum, type GetItemEligibilityPreviewResponse, type ItemEligibilityPreview, ItemEligibilityPreviewIneligibilityReasonListEnum, ItemEligibilityPreviewProgramEnum, type ModelError, clientRateLimits };
324
+ //#endregion
325
+ export { FbaInboundEligibilityApi, FbaInboundEligibilityApiAxiosParamCreator, FbaInboundEligibilityApiClient, FbaInboundEligibilityApiFactory, FbaInboundEligibilityApiFp, FbaInboundEligibilityApiGetItemEligibilityPreviewRequest, GetItemEligibilityPreviewProgramEnum, GetItemEligibilityPreviewResponse, ItemEligibilityPreview, ItemEligibilityPreviewIneligibilityReasonListEnum, ItemEligibilityPreviewProgramEnum, ModelError, clientRateLimits };
326
+ //# sourceMappingURL=index.d.ts.map