@sp-api-sdk/fba-inbound-eligibility-api-v1 3.0.4 → 4.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.
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.GetItemEligibilityPreviewProgramEnum = exports.FbaInboundApi = exports.FbaInboundApiFactory = exports.FbaInboundApiFp = exports.FbaInboundApiAxiosParamCreator = void 0;
19
+ exports.GetItemEligibilityPreviewProgramEnum = exports.FbaInboundEligibilityApi = exports.FbaInboundEligibilityApiFactory = exports.FbaInboundEligibilityApiFp = exports.FbaInboundEligibilityApiAxiosParamCreator = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -24,10 +24,10 @@ const common_1 = require("../common");
24
24
  // @ts-ignore
25
25
  const base_1 = require("../base");
26
26
  /**
27
- * FbaInboundApi - axios parameter creator
27
+ * FbaInboundEligibilityApi - axios parameter creator
28
28
  * @export
29
29
  */
30
- const FbaInboundApiAxiosParamCreator = function (configuration) {
30
+ const FbaInboundEligibilityApiAxiosParamCreator = function (configuration) {
31
31
  return {
32
32
  /**
33
33
  * 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).
@@ -71,13 +71,13 @@ const FbaInboundApiAxiosParamCreator = function (configuration) {
71
71
  },
72
72
  };
73
73
  };
74
- exports.FbaInboundApiAxiosParamCreator = FbaInboundApiAxiosParamCreator;
74
+ exports.FbaInboundEligibilityApiAxiosParamCreator = FbaInboundEligibilityApiAxiosParamCreator;
75
75
  /**
76
- * FbaInboundApi - functional programming interface
76
+ * FbaInboundEligibilityApi - functional programming interface
77
77
  * @export
78
78
  */
79
- const FbaInboundApiFp = function (configuration) {
80
- const localVarAxiosParamCreator = (0, exports.FbaInboundApiAxiosParamCreator)(configuration);
79
+ const FbaInboundEligibilityApiFp = function (configuration) {
80
+ const localVarAxiosParamCreator = (0, exports.FbaInboundEligibilityApiAxiosParamCreator)(configuration);
81
81
  return {
82
82
  /**
83
83
  * 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).
@@ -90,22 +90,22 @@ const FbaInboundApiFp = function (configuration) {
90
90
  async getItemEligibilityPreview(asin, program, marketplaceIds, options) {
91
91
  const localVarAxiosArgs = await localVarAxiosParamCreator.getItemEligibilityPreview(asin, program, marketplaceIds, options);
92
92
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
93
- const localVarOperationServerBasePath = base_1.operationServerMap['FbaInboundApi.getItemEligibilityPreview']?.[localVarOperationServerIndex]?.url;
93
+ const localVarOperationServerBasePath = base_1.operationServerMap['FbaInboundEligibilityApi.getItemEligibilityPreview']?.[localVarOperationServerIndex]?.url;
94
94
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
95
95
  },
96
96
  };
97
97
  };
98
- exports.FbaInboundApiFp = FbaInboundApiFp;
98
+ exports.FbaInboundEligibilityApiFp = FbaInboundEligibilityApiFp;
99
99
  /**
100
- * FbaInboundApi - factory interface
100
+ * FbaInboundEligibilityApi - factory interface
101
101
  * @export
102
102
  */
103
- const FbaInboundApiFactory = function (configuration, basePath, axios) {
104
- const localVarFp = (0, exports.FbaInboundApiFp)(configuration);
103
+ const FbaInboundEligibilityApiFactory = function (configuration, basePath, axios) {
104
+ const localVarFp = (0, exports.FbaInboundEligibilityApiFp)(configuration);
105
105
  return {
106
106
  /**
107
107
  * 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).
108
- * @param {FbaInboundApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
108
+ * @param {FbaInboundEligibilityApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
109
109
  * @param {*} [options] Override http request option.
110
110
  * @throws {RequiredError}
111
111
  */
@@ -114,26 +114,26 @@ const FbaInboundApiFactory = function (configuration, basePath, axios) {
114
114
  },
115
115
  };
116
116
  };
117
- exports.FbaInboundApiFactory = FbaInboundApiFactory;
117
+ exports.FbaInboundEligibilityApiFactory = FbaInboundEligibilityApiFactory;
118
118
  /**
119
- * FbaInboundApi - object-oriented interface
119
+ * FbaInboundEligibilityApi - object-oriented interface
120
120
  * @export
121
- * @class FbaInboundApi
121
+ * @class FbaInboundEligibilityApi
122
122
  * @extends {BaseAPI}
123
123
  */
124
- class FbaInboundApi extends base_1.BaseAPI {
124
+ class FbaInboundEligibilityApi extends base_1.BaseAPI {
125
125
  /**
126
126
  * 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).
127
- * @param {FbaInboundApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
127
+ * @param {FbaInboundEligibilityApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
128
128
  * @param {*} [options] Override http request option.
129
129
  * @throws {RequiredError}
130
- * @memberof FbaInboundApi
130
+ * @memberof FbaInboundEligibilityApi
131
131
  */
132
132
  getItemEligibilityPreview(requestParameters, options) {
133
- return (0, exports.FbaInboundApiFp)(this.configuration).getItemEligibilityPreview(requestParameters.asin, requestParameters.program, requestParameters.marketplaceIds, options).then((request) => request(this.axios, this.basePath));
133
+ return (0, exports.FbaInboundEligibilityApiFp)(this.configuration).getItemEligibilityPreview(requestParameters.asin, requestParameters.program, requestParameters.marketplaceIds, options).then((request) => request(this.axios, this.basePath));
134
134
  }
135
135
  }
136
- exports.FbaInboundApi = FbaInboundApi;
136
+ exports.FbaInboundEligibilityApi = FbaInboundEligibilityApi;
137
137
  /**
138
138
  * @export
139
139
  */
@@ -27,4 +27,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
- __exportStar(require("./api/fba-inbound-api"), exports);
30
+ __exportStar(require("./api/fba-inbound-eligibility-api"), exports);
@@ -12,7 +12,7 @@ exports.clientRateLimits = [
12
12
  burst: 1,
13
13
  },
14
14
  ];
15
- class FbaInboundEligibilityApiClient extends api_model_1.FbaInboundApi {
15
+ class FbaInboundEligibilityApiClient extends api_model_1.FbaInboundEligibilityApi {
16
16
  constructor(configuration) {
17
17
  const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
18
18
  super(new api_model_1.Configuration(), endpoint, axios);
@@ -18,10 +18,10 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, creat
18
18
  // @ts-ignore
19
19
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from '../base';
20
20
  /**
21
- * FbaInboundApi - axios parameter creator
21
+ * FbaInboundEligibilityApi - axios parameter creator
22
22
  * @export
23
23
  */
24
- export const FbaInboundApiAxiosParamCreator = function (configuration) {
24
+ export const FbaInboundEligibilityApiAxiosParamCreator = function (configuration) {
25
25
  return {
26
26
  /**
27
27
  * 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).
@@ -66,11 +66,11 @@ export const FbaInboundApiAxiosParamCreator = function (configuration) {
66
66
  };
67
67
  };
68
68
  /**
69
- * FbaInboundApi - functional programming interface
69
+ * FbaInboundEligibilityApi - functional programming interface
70
70
  * @export
71
71
  */
72
- export const FbaInboundApiFp = function (configuration) {
73
- const localVarAxiosParamCreator = FbaInboundApiAxiosParamCreator(configuration);
72
+ export const FbaInboundEligibilityApiFp = function (configuration) {
73
+ const localVarAxiosParamCreator = FbaInboundEligibilityApiAxiosParamCreator(configuration);
74
74
  return {
75
75
  /**
76
76
  * 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).
@@ -83,21 +83,21 @@ export const FbaInboundApiFp = function (configuration) {
83
83
  async getItemEligibilityPreview(asin, program, marketplaceIds, options) {
84
84
  const localVarAxiosArgs = await localVarAxiosParamCreator.getItemEligibilityPreview(asin, program, marketplaceIds, options);
85
85
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
86
- const localVarOperationServerBasePath = operationServerMap['FbaInboundApi.getItemEligibilityPreview']?.[localVarOperationServerIndex]?.url;
86
+ const localVarOperationServerBasePath = operationServerMap['FbaInboundEligibilityApi.getItemEligibilityPreview']?.[localVarOperationServerIndex]?.url;
87
87
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
88
88
  },
89
89
  };
90
90
  };
91
91
  /**
92
- * FbaInboundApi - factory interface
92
+ * FbaInboundEligibilityApi - factory interface
93
93
  * @export
94
94
  */
95
- export const FbaInboundApiFactory = function (configuration, basePath, axios) {
96
- const localVarFp = FbaInboundApiFp(configuration);
95
+ export const FbaInboundEligibilityApiFactory = function (configuration, basePath, axios) {
96
+ const localVarFp = FbaInboundEligibilityApiFp(configuration);
97
97
  return {
98
98
  /**
99
99
  * 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).
100
- * @param {FbaInboundApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
100
+ * @param {FbaInboundEligibilityApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
101
101
  * @param {*} [options] Override http request option.
102
102
  * @throws {RequiredError}
103
103
  */
@@ -107,21 +107,21 @@ export const FbaInboundApiFactory = function (configuration, basePath, axios) {
107
107
  };
108
108
  };
109
109
  /**
110
- * FbaInboundApi - object-oriented interface
110
+ * FbaInboundEligibilityApi - object-oriented interface
111
111
  * @export
112
- * @class FbaInboundApi
112
+ * @class FbaInboundEligibilityApi
113
113
  * @extends {BaseAPI}
114
114
  */
115
- export class FbaInboundApi extends BaseAPI {
115
+ export class FbaInboundEligibilityApi extends BaseAPI {
116
116
  /**
117
117
  * 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).
118
- * @param {FbaInboundApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
118
+ * @param {FbaInboundEligibilityApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
119
119
  * @param {*} [options] Override http request option.
120
120
  * @throws {RequiredError}
121
- * @memberof FbaInboundApi
121
+ * @memberof FbaInboundEligibilityApi
122
122
  */
123
123
  getItemEligibilityPreview(requestParameters, options) {
124
- return FbaInboundApiFp(this.configuration).getItemEligibilityPreview(requestParameters.asin, requestParameters.program, requestParameters.marketplaceIds, options).then((request) => request(this.axios, this.basePath));
124
+ return FbaInboundEligibilityApiFp(this.configuration).getItemEligibilityPreview(requestParameters.asin, requestParameters.program, requestParameters.marketplaceIds, options).then((request) => request(this.axios, this.basePath));
125
125
  }
126
126
  }
127
127
  /**
@@ -11,4 +11,4 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export * from './api/fba-inbound-api';
14
+ export * from './api/fba-inbound-eligibility-api';
package/dist/es/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createAxiosInstance } from '@sp-api-sdk/common';
2
- import { Configuration, FbaInboundApi } from './api-model';
2
+ import { Configuration, FbaInboundEligibilityApi } from './api-model';
3
3
  export const clientRateLimits = [
4
4
  {
5
5
  method: 'get',
@@ -9,7 +9,7 @@ export const clientRateLimits = [
9
9
  burst: 1,
10
10
  },
11
11
  ];
12
- export class FbaInboundEligibilityApiClient extends FbaInboundApi {
12
+ export class FbaInboundEligibilityApiClient extends FbaInboundEligibilityApi {
13
13
  constructor(configuration) {
14
14
  const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
15
15
  super(new Configuration(), endpoint, axios);
@@ -15,10 +15,10 @@ import globalAxios from 'axios';
15
15
  import { type RequestArgs, BaseAPI } from '../base';
16
16
  import type { GetItemEligibilityPreviewResponse } from '../models';
17
17
  /**
18
- * FbaInboundApi - axios parameter creator
18
+ * FbaInboundEligibilityApi - axios parameter creator
19
19
  * @export
20
20
  */
21
- export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ export declare const FbaInboundEligibilityApiAxiosParamCreator: (configuration?: Configuration) => {
22
22
  /**
23
23
  * 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).
24
24
  * @param {string} asin The ASIN of the item for which you want an eligibility preview.
@@ -30,10 +30,10 @@ export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configurat
30
30
  getItemEligibilityPreview: (asin: string, program: GetItemEligibilityPreviewProgramEnum, marketplaceIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
31
  };
32
32
  /**
33
- * FbaInboundApi - functional programming interface
33
+ * FbaInboundEligibilityApi - functional programming interface
34
34
  * @export
35
35
  */
36
- export declare const FbaInboundApiFp: (configuration?: Configuration) => {
36
+ export declare const FbaInboundEligibilityApiFp: (configuration?: Configuration) => {
37
37
  /**
38
38
  * 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).
39
39
  * @param {string} asin The ASIN of the item for which you want an eligibility preview.
@@ -45,58 +45,58 @@ export declare const FbaInboundApiFp: (configuration?: Configuration) => {
45
45
  getItemEligibilityPreview(asin: string, program: GetItemEligibilityPreviewProgramEnum, marketplaceIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetItemEligibilityPreviewResponse>>;
46
46
  };
47
47
  /**
48
- * FbaInboundApi - factory interface
48
+ * FbaInboundEligibilityApi - factory interface
49
49
  * @export
50
50
  */
51
- export declare const FbaInboundApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
51
+ export declare const FbaInboundEligibilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
52
52
  /**
53
53
  * 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).
54
- * @param {FbaInboundApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
54
+ * @param {FbaInboundEligibilityApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
55
55
  * @param {*} [options] Override http request option.
56
56
  * @throws {RequiredError}
57
57
  */
58
- getItemEligibilityPreview(requestParameters: FbaInboundApiGetItemEligibilityPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetItemEligibilityPreviewResponse>;
58
+ getItemEligibilityPreview(requestParameters: FbaInboundEligibilityApiGetItemEligibilityPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetItemEligibilityPreviewResponse>;
59
59
  };
60
60
  /**
61
- * Request parameters for getItemEligibilityPreview operation in FbaInboundApi.
61
+ * Request parameters for getItemEligibilityPreview operation in FbaInboundEligibilityApi.
62
62
  * @export
63
- * @interface FbaInboundApiGetItemEligibilityPreviewRequest
63
+ * @interface FbaInboundEligibilityApiGetItemEligibilityPreviewRequest
64
64
  */
65
- export interface FbaInboundApiGetItemEligibilityPreviewRequest {
65
+ export interface FbaInboundEligibilityApiGetItemEligibilityPreviewRequest {
66
66
  /**
67
67
  * The ASIN of the item for which you want an eligibility preview.
68
68
  * @type {string}
69
- * @memberof FbaInboundApiGetItemEligibilityPreview
69
+ * @memberof FbaInboundEligibilityApiGetItemEligibilityPreview
70
70
  */
71
71
  readonly asin: string;
72
72
  /**
73
73
  * The program that you want to check eligibility against.
74
74
  * @type {'INBOUND' | 'COMMINGLING'}
75
- * @memberof FbaInboundApiGetItemEligibilityPreview
75
+ * @memberof FbaInboundEligibilityApiGetItemEligibilityPreview
76
76
  */
77
77
  readonly program: GetItemEligibilityPreviewProgramEnum;
78
78
  /**
79
79
  * The identifier for the marketplace in which you want to determine eligibility. Required only when program&#x3D;INBOUND.
80
80
  * @type {Array<string>}
81
- * @memberof FbaInboundApiGetItemEligibilityPreview
81
+ * @memberof FbaInboundEligibilityApiGetItemEligibilityPreview
82
82
  */
83
83
  readonly marketplaceIds?: Array<string>;
84
84
  }
85
85
  /**
86
- * FbaInboundApi - object-oriented interface
86
+ * FbaInboundEligibilityApi - object-oriented interface
87
87
  * @export
88
- * @class FbaInboundApi
88
+ * @class FbaInboundEligibilityApi
89
89
  * @extends {BaseAPI}
90
90
  */
91
- export declare class FbaInboundApi extends BaseAPI {
91
+ export declare class FbaInboundEligibilityApi extends BaseAPI {
92
92
  /**
93
93
  * 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).
94
- * @param {FbaInboundApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
94
+ * @param {FbaInboundEligibilityApiGetItemEligibilityPreviewRequest} requestParameters Request parameters.
95
95
  * @param {*} [options] Override http request option.
96
96
  * @throws {RequiredError}
97
- * @memberof FbaInboundApi
97
+ * @memberof FbaInboundEligibilityApi
98
98
  */
99
- getItemEligibilityPreview(requestParameters: FbaInboundApiGetItemEligibilityPreviewRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetItemEligibilityPreviewResponse, any>>;
99
+ getItemEligibilityPreview(requestParameters: FbaInboundEligibilityApiGetItemEligibilityPreviewRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetItemEligibilityPreviewResponse, any>>;
100
100
  }
101
101
  /**
102
102
  * @export
@@ -9,4 +9,4 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export * from './api/fba-inbound-api';
12
+ export * from './api/fba-inbound-eligibility-api';
@@ -1,6 +1,6 @@
1
1
  import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
2
- import { FbaInboundApi } from './api-model';
2
+ import { FbaInboundEligibilityApi } from './api-model';
3
3
  export declare const clientRateLimits: RateLimit[];
4
- export declare class FbaInboundEligibilityApiClient extends FbaInboundApi {
4
+ export declare class FbaInboundEligibilityApiClient extends FbaInboundEligibilityApi {
5
5
  constructor(configuration: ClientConfiguration);
6
6
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/fba-inbound-eligibility-api-v1",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "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.",
5
- "version": "3.0.4",
5
+ "version": "4.0.0",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.1.13",
22
- "axios": "^1.8.4"
21
+ "@sp-api-sdk/common": "2.1.14",
22
+ "axios": "^1.9.0"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "fba inbound eligibility api"
42
42
  ],
43
- "gitHead": "287508bdc050a25bac20889ed0afb6d3f6518cd6"
43
+ "gitHead": "773f45c3f4aab28e0bd9f6033045988800d7f258"
44
44
  }