@sp-api-sdk/application-management-api-2023-11-30 2.0.3 → 3.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/dist/cjs/api-model/api/{applications-api.js → application-management-api.js} +19 -19
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/client.js +1 -1
- package/dist/es/api-model/api/{applications-api.js → application-management-api.js} +14 -14
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/client.js +2 -2
- package/dist/types/api-model/api/{applications-api.d.ts → application-management-api.d.ts} +10 -10
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +4 -4
|
@@ -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.
|
|
19
|
+
exports.ApplicationManagementApi = exports.ApplicationManagementApiFactory = exports.ApplicationManagementApiFp = exports.ApplicationManagementApiAxiosParamCreator = 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
|
-
*
|
|
27
|
+
* ApplicationManagementApi - axios parameter creator
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const ApplicationManagementApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
33
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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).
|
|
@@ -55,13 +55,13 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
55
55
|
},
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
-
exports.
|
|
58
|
+
exports.ApplicationManagementApiAxiosParamCreator = ApplicationManagementApiAxiosParamCreator;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* ApplicationManagementApi - functional programming interface
|
|
61
61
|
* @export
|
|
62
62
|
*/
|
|
63
|
-
const
|
|
64
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
63
|
+
const ApplicationManagementApiFp = function (configuration) {
|
|
64
|
+
const localVarAxiosParamCreator = (0, exports.ApplicationManagementApiAxiosParamCreator)(configuration);
|
|
65
65
|
return {
|
|
66
66
|
/**
|
|
67
67
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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,18 +71,18 @@ const ApplicationsApiFp = function (configuration) {
|
|
|
71
71
|
async rotateApplicationClientSecret(options) {
|
|
72
72
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rotateApplicationClientSecret(options);
|
|
73
73
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
74
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
74
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ApplicationManagementApi.rotateApplicationClientSecret']?.[localVarOperationServerIndex]?.url;
|
|
75
75
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
76
76
|
},
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
-
exports.
|
|
79
|
+
exports.ApplicationManagementApiFp = ApplicationManagementApiFp;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* ApplicationManagementApi - factory interface
|
|
82
82
|
* @export
|
|
83
83
|
*/
|
|
84
|
-
const
|
|
85
|
-
const localVarFp = (0, exports.
|
|
84
|
+
const ApplicationManagementApiFactory = function (configuration, basePath, axios) {
|
|
85
|
+
const localVarFp = (0, exports.ApplicationManagementApiFp)(configuration);
|
|
86
86
|
return {
|
|
87
87
|
/**
|
|
88
88
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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,22 +94,22 @@ const ApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
94
94
|
},
|
|
95
95
|
};
|
|
96
96
|
};
|
|
97
|
-
exports.
|
|
97
|
+
exports.ApplicationManagementApiFactory = ApplicationManagementApiFactory;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* ApplicationManagementApi - object-oriented interface
|
|
100
100
|
* @export
|
|
101
|
-
* @class
|
|
101
|
+
* @class ApplicationManagementApi
|
|
102
102
|
* @extends {BaseAPI}
|
|
103
103
|
*/
|
|
104
|
-
class
|
|
104
|
+
class ApplicationManagementApi extends base_1.BaseAPI {
|
|
105
105
|
/**
|
|
106
106
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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).
|
|
107
107
|
* @param {*} [options] Override http request option.
|
|
108
108
|
* @throws {RequiredError}
|
|
109
|
-
* @memberof
|
|
109
|
+
* @memberof ApplicationManagementApi
|
|
110
110
|
*/
|
|
111
111
|
rotateApplicationClientSecret(options) {
|
|
112
|
-
return (0, exports.
|
|
112
|
+
return (0, exports.ApplicationManagementApiFp)(this.configuration).rotateApplicationClientSecret(options).then((request) => request(this.axios, this.basePath));
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
exports.
|
|
115
|
+
exports.ApplicationManagementApi = ApplicationManagementApi;
|
|
@@ -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/
|
|
30
|
+
__exportStar(require("./api/application-management-api"), exports);
|
package/dist/cjs/client.js
CHANGED
|
@@ -12,7 +12,7 @@ exports.clientRateLimits = [
|
|
|
12
12
|
burst: 1,
|
|
13
13
|
},
|
|
14
14
|
];
|
|
15
|
-
class ApplicationManagementApiClient extends api_model_1.
|
|
15
|
+
class ApplicationManagementApiClient extends api_model_1.ApplicationManagementApi {
|
|
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, setSearchParams, toPathString, createRequestFunction }
|
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* ApplicationManagementApi - axios parameter creator
|
|
22
22
|
* @export
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const ApplicationManagementApiAxiosParamCreator = function (configuration) {
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
27
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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).
|
|
@@ -50,11 +50,11 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* ApplicationManagementApi - functional programming interface
|
|
54
54
|
* @export
|
|
55
55
|
*/
|
|
56
|
-
export const
|
|
57
|
-
const localVarAxiosParamCreator =
|
|
56
|
+
export const ApplicationManagementApiFp = function (configuration) {
|
|
57
|
+
const localVarAxiosParamCreator = ApplicationManagementApiAxiosParamCreator(configuration);
|
|
58
58
|
return {
|
|
59
59
|
/**
|
|
60
60
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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).
|
|
@@ -64,17 +64,17 @@ export const ApplicationsApiFp = function (configuration) {
|
|
|
64
64
|
async rotateApplicationClientSecret(options) {
|
|
65
65
|
const localVarAxiosArgs = await localVarAxiosParamCreator.rotateApplicationClientSecret(options);
|
|
66
66
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
67
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
67
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationManagementApi.rotateApplicationClientSecret']?.[localVarOperationServerIndex]?.url;
|
|
68
68
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69
69
|
},
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* ApplicationManagementApi - factory interface
|
|
74
74
|
* @export
|
|
75
75
|
*/
|
|
76
|
-
export const
|
|
77
|
-
const localVarFp =
|
|
76
|
+
export const ApplicationManagementApiFactory = function (configuration, basePath, axios) {
|
|
77
|
+
const localVarFp = ApplicationManagementApiFp(configuration);
|
|
78
78
|
return {
|
|
79
79
|
/**
|
|
80
80
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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).
|
|
@@ -87,19 +87,19 @@ export const ApplicationsApiFactory = function (configuration, basePath, axios)
|
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* ApplicationManagementApi - object-oriented interface
|
|
91
91
|
* @export
|
|
92
|
-
* @class
|
|
92
|
+
* @class ApplicationManagementApi
|
|
93
93
|
* @extends {BaseAPI}
|
|
94
94
|
*/
|
|
95
|
-
export class
|
|
95
|
+
export class ApplicationManagementApi extends BaseAPI {
|
|
96
96
|
/**
|
|
97
97
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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).
|
|
98
98
|
* @param {*} [options] Override http request option.
|
|
99
99
|
* @throws {RequiredError}
|
|
100
|
-
* @memberof
|
|
100
|
+
* @memberof ApplicationManagementApi
|
|
101
101
|
*/
|
|
102
102
|
rotateApplicationClientSecret(options) {
|
|
103
|
-
return
|
|
103
|
+
return ApplicationManagementApiFp(this.configuration).rotateApplicationClientSecret(options).then((request) => request(this.axios, this.basePath));
|
|
104
104
|
}
|
|
105
105
|
}
|
package/dist/es/api-model/api.js
CHANGED
package/dist/es/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
-
import {
|
|
2
|
+
import { ApplicationManagementApi, Configuration } from './api-model';
|
|
3
3
|
export const clientRateLimits = [
|
|
4
4
|
{
|
|
5
5
|
method: 'post',
|
|
@@ -9,7 +9,7 @@ export const clientRateLimits = [
|
|
|
9
9
|
burst: 1,
|
|
10
10
|
},
|
|
11
11
|
];
|
|
12
|
-
export class ApplicationManagementApiClient extends
|
|
12
|
+
export class ApplicationManagementApiClient extends ApplicationManagementApi {
|
|
13
13
|
constructor(configuration) {
|
|
14
14
|
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
15
15
|
super(new Configuration(), endpoint, axios);
|
|
@@ -14,10 +14,10 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* ApplicationManagementApi - axios parameter creator
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const ApplicationManagementApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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).
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
@@ -26,10 +26,10 @@ export declare const ApplicationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
26
26
|
rotateApplicationClientSecret: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* ApplicationManagementApi - functional programming interface
|
|
30
30
|
* @export
|
|
31
31
|
*/
|
|
32
|
-
export declare const
|
|
32
|
+
export declare const ApplicationManagementApiFp: (configuration?: Configuration) => {
|
|
33
33
|
/**
|
|
34
34
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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).
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
@@ -38,10 +38,10 @@ export declare const ApplicationsApiFp: (configuration?: Configuration) => {
|
|
|
38
38
|
rotateApplicationClientSecret(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* ApplicationManagementApi - factory interface
|
|
42
42
|
* @export
|
|
43
43
|
*/
|
|
44
|
-
export declare const
|
|
44
|
+
export declare const ApplicationManagementApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
45
45
|
/**
|
|
46
46
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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).
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
@@ -50,17 +50,17 @@ export declare const ApplicationsApiFactory: (configuration?: Configuration, bas
|
|
|
50
50
|
rotateApplicationClientSecret(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* ApplicationManagementApi - object-oriented interface
|
|
54
54
|
* @export
|
|
55
|
-
* @class
|
|
55
|
+
* @class ApplicationManagementApi
|
|
56
56
|
* @extends {BaseAPI}
|
|
57
57
|
*/
|
|
58
|
-
export declare class
|
|
58
|
+
export declare class ApplicationManagementApi extends BaseAPI {
|
|
59
59
|
/**
|
|
60
60
|
* Rotates application client secrets for a developer application. Developers must register a destination queue in the developer console before calling this operation. When this operation is called a new client secret is generated and sent to the developer-registered queue. For more information, refer to [Rotate your application client secret](https://developer-docs.amazon.com/sp-api/v0/docs/application-management-api-v2023-11-30-use-case-guide#tutorial-rotate-your-applications-client-secret). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 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, refer to [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).
|
|
61
61
|
* @param {*} [options] Override http request option.
|
|
62
62
|
* @throws {RequiredError}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof ApplicationManagementApi
|
|
64
64
|
*/
|
|
65
65
|
rotateApplicationClientSecret(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
|
|
66
66
|
}
|
package/dist/types/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
-
import {
|
|
2
|
+
import { ApplicationManagementApi } from './api-model';
|
|
3
3
|
export declare const clientRateLimits: RateLimit[];
|
|
4
|
-
export declare class ApplicationManagementApiClient extends
|
|
4
|
+
export declare class ApplicationManagementApiClient extends ApplicationManagementApi {
|
|
5
5
|
constructor(configuration: ClientConfiguration);
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/application-management-api-2023-11-30",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Application Management lets you programmatically update the client secret on registered applications.",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "3.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.
|
|
22
|
-
"axios": "^1.
|
|
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
|
"application management api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "773f45c3f4aab28e0bd9f6033045988800d7f258"
|
|
44
44
|
}
|