kb-cloud-client-typescript 2.2.107 → 2.2.109
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/adminapi/apis/account-api.d.ts +7 -7
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +10 -10
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/rabbit-mqapi.d.ts +7 -7
- package/dist/adminapi/apis/rabbit-mqapi.d.ts.map +1 -1
- package/dist/adminapi/apis/rabbit-mqapi.js +10 -10
- package/dist/adminapi/apis/rabbit-mqapi.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +7 -7
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +10 -10
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +1 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +1 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/rbmq-password-update-request.d.ts +25 -0
- package/dist/adminapi/models/rbmq-password-update-request.d.ts.map +1 -0
- package/dist/adminapi/models/rbmq-password-update-request.js +16 -0
- package/dist/adminapi/models/rbmq-password-update-request.js.map +1 -0
- package/dist/openapi/apis/account-api.d.ts +7 -7
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +10 -10
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/rabbit-mqapi.d.ts +7 -7
- package/dist/openapi/apis/rabbit-mqapi.d.ts.map +1 -1
- package/dist/openapi/apis/rabbit-mqapi.js +10 -10
- package/dist/openapi/apis/rabbit-mqapi.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +7 -7
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +10 -10
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/rbmq-password-update-request.d.ts +25 -0
- package/dist/openapi/models/rbmq-password-update-request.d.ts.map +1 -0
- package/dist/openapi/models/rbmq-password-update-request.js +16 -0
- package/dist/openapi/models/rbmq-password-update-request.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +1 -0
- package/src/adminapi/apis/account-api.ts +14 -14
- package/src/adminapi/apis/rabbit-mqapi.ts +14 -14
- package/src/adminapi/apis/shared-api.ts +14 -14
- package/src/adminapi/models/index.ts +1 -0
- package/src/adminapi/models/rbmq-password-update-request.ts +30 -0
- package/src/adminapi.yaml +10 -1
- package/src/openapi/.openapi-generator/FILES +1 -0
- package/src/openapi/apis/account-api.ts +14 -14
- package/src/openapi/apis/rabbit-mqapi.ts +14 -14
- package/src/openapi/apis/shared-api.ts +14 -14
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi/models/rbmq-password-update-request.ts +30 -0
- package/src/openapi.yaml +10 -1
|
@@ -50,9 +50,9 @@ import type { RbmqAccountRequest } from '../models';
|
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { RbmqAccountsList } from '../models';
|
|
52
52
|
// @ts-ignore
|
|
53
|
-
import type {
|
|
53
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
54
54
|
// @ts-ignore
|
|
55
|
-
import type {
|
|
55
|
+
import type { RbmqPermission } from '../models';
|
|
56
56
|
/**
|
|
57
57
|
* AccountApi - axios parameter creator
|
|
58
58
|
* @export
|
|
@@ -1715,19 +1715,19 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1715
1715
|
* @param {string} orgName name of the Org
|
|
1716
1716
|
* @param {string} clusterName name of the Cluster
|
|
1717
1717
|
* @param {string} accountName name of the Account
|
|
1718
|
-
* @param {
|
|
1718
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
1719
1719
|
* @param {*} [options] Override http request option.
|
|
1720
1720
|
* @throws {RequiredError}
|
|
1721
1721
|
*/
|
|
1722
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
1722
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1723
1723
|
// verify required parameter 'orgName' is not null or undefined
|
|
1724
1724
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
1725
1725
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1726
1726
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
1727
1727
|
// verify required parameter 'accountName' is not null or undefined
|
|
1728
1728
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
1729
|
-
// verify required parameter '
|
|
1730
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
1729
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
1730
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
1731
1731
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
1732
1732
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1733
1733
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -1757,7 +1757,7 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1757
1757
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1758
1758
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1759
1759
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1760
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1760
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
1761
1761
|
|
|
1762
1762
|
return {
|
|
1763
1763
|
url: toPathString(localVarUrlObj),
|
|
@@ -2386,12 +2386,12 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2386
2386
|
* @param {string} orgName name of the Org
|
|
2387
2387
|
* @param {string} clusterName name of the Cluster
|
|
2388
2388
|
* @param {string} accountName name of the Account
|
|
2389
|
-
* @param {
|
|
2389
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
2390
2390
|
* @param {*} [options] Override http request option.
|
|
2391
2391
|
* @throws {RequiredError}
|
|
2392
2392
|
*/
|
|
2393
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
2394
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
2393
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
2395
2395
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2396
2396
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
2397
2397
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2767,7 +2767,7 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
2767
2767
|
* @throws {RequiredError}
|
|
2768
2768
|
*/
|
|
2769
2769
|
updateRabbitAccountPassword(requestParameters: AccountApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2770
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
2770
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
2771
2771
|
},
|
|
2772
2772
|
/**
|
|
2773
2773
|
* Update a RabbitMQ account privileges
|
|
@@ -4159,10 +4159,10 @@ export interface AccountApiUpdateRabbitAccountPasswordRequest {
|
|
|
4159
4159
|
|
|
4160
4160
|
/**
|
|
4161
4161
|
*
|
|
4162
|
-
* @type {
|
|
4162
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
4163
4163
|
* @memberof AccountApiUpdateRabbitAccountPassword
|
|
4164
4164
|
*/
|
|
4165
|
-
readonly
|
|
4165
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
4166
4166
|
}
|
|
4167
4167
|
|
|
4168
4168
|
/**
|
|
@@ -4642,7 +4642,7 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
4642
4642
|
* @memberof AccountApi
|
|
4643
4643
|
*/
|
|
4644
4644
|
public updateRabbitAccountPassword(requestParameters: AccountApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
4645
|
-
return AccountApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
4645
|
+
return AccountApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4646
4646
|
}
|
|
4647
4647
|
|
|
4648
4648
|
/**
|
|
@@ -30,9 +30,9 @@ import type { RbmqAccountsList } from '../models';
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
import type { RbmqExchange } from '../models';
|
|
32
32
|
// @ts-ignore
|
|
33
|
-
import type {
|
|
33
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
34
34
|
// @ts-ignore
|
|
35
|
-
import type {
|
|
35
|
+
import type { RbmqPermission } from '../models';
|
|
36
36
|
// @ts-ignore
|
|
37
37
|
import type { RbmqVHost } from '../models';
|
|
38
38
|
/**
|
|
@@ -282,19 +282,19 @@ export const RabbitMQApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
282
282
|
* @param {string} orgName name of the Org
|
|
283
283
|
* @param {string} clusterName name of the Cluster
|
|
284
284
|
* @param {string} accountName name of the Account
|
|
285
|
-
* @param {
|
|
285
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
286
286
|
* @param {*} [options] Override http request option.
|
|
287
287
|
* @throws {RequiredError}
|
|
288
288
|
*/
|
|
289
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
289
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
290
290
|
// verify required parameter 'orgName' is not null or undefined
|
|
291
291
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
292
292
|
// verify required parameter 'clusterName' is not null or undefined
|
|
293
293
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
294
294
|
// verify required parameter 'accountName' is not null or undefined
|
|
295
295
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
296
|
-
// verify required parameter '
|
|
297
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
296
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
297
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
298
298
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
299
299
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
300
300
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -324,7 +324,7 @@ export const RabbitMQApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
324
324
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
325
325
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
326
326
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
327
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
327
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
328
328
|
|
|
329
329
|
return {
|
|
330
330
|
url: toPathString(localVarUrlObj),
|
|
@@ -474,12 +474,12 @@ export const RabbitMQApiFp = function(configuration?: Configuration) {
|
|
|
474
474
|
* @param {string} orgName name of the Org
|
|
475
475
|
* @param {string} clusterName name of the Cluster
|
|
476
476
|
* @param {string} accountName name of the Account
|
|
477
|
-
* @param {
|
|
477
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
478
478
|
* @param {*} [options] Override http request option.
|
|
479
479
|
* @throws {RequiredError}
|
|
480
480
|
*/
|
|
481
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
482
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
481
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
482
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
483
483
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
484
484
|
const localVarOperationServerBasePath = operationServerMap['RabbitMQApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
485
485
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -568,7 +568,7 @@ export const RabbitMQApiFactory = function (configuration?: Configuration, baseP
|
|
|
568
568
|
* @throws {RequiredError}
|
|
569
569
|
*/
|
|
570
570
|
updateRabbitAccountPassword(requestParameters: RabbitMQApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
571
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
571
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
572
572
|
},
|
|
573
573
|
/**
|
|
574
574
|
* Update a RabbitMQ account privileges
|
|
@@ -809,10 +809,10 @@ export interface RabbitMQApiUpdateRabbitAccountPasswordRequest {
|
|
|
809
809
|
|
|
810
810
|
/**
|
|
811
811
|
*
|
|
812
|
-
* @type {
|
|
812
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
813
813
|
* @memberof RabbitMQApiUpdateRabbitAccountPassword
|
|
814
814
|
*/
|
|
815
|
-
readonly
|
|
815
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
816
816
|
}
|
|
817
817
|
|
|
818
818
|
/**
|
|
@@ -926,7 +926,7 @@ export class RabbitMQApi extends BaseAPI implements RabbitMQApiInterface {
|
|
|
926
926
|
* @memberof RabbitMQApi
|
|
927
927
|
*/
|
|
928
928
|
public updateRabbitAccountPassword(requestParameters: RabbitMQApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
929
|
-
return RabbitMQApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
929
|
+
return RabbitMQApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
930
930
|
}
|
|
931
931
|
|
|
932
932
|
/**
|
|
@@ -314,9 +314,9 @@ import type { RbmqAccountsList } from '../models';
|
|
|
314
314
|
// @ts-ignore
|
|
315
315
|
import type { RbmqExchange } from '../models';
|
|
316
316
|
// @ts-ignore
|
|
317
|
-
import type {
|
|
317
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
318
318
|
// @ts-ignore
|
|
319
|
-
import type {
|
|
319
|
+
import type { RbmqPermission } from '../models';
|
|
320
320
|
// @ts-ignore
|
|
321
321
|
import type { RbmqVHost } from '../models';
|
|
322
322
|
// @ts-ignore
|
|
@@ -13538,19 +13538,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13538
13538
|
* @param {string} orgName name of the Org
|
|
13539
13539
|
* @param {string} clusterName name of the Cluster
|
|
13540
13540
|
* @param {string} accountName name of the Account
|
|
13541
|
-
* @param {
|
|
13541
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
13542
13542
|
* @param {*} [options] Override http request option.
|
|
13543
13543
|
* @throws {RequiredError}
|
|
13544
13544
|
*/
|
|
13545
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
13545
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13546
13546
|
// verify required parameter 'orgName' is not null or undefined
|
|
13547
13547
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
13548
13548
|
// verify required parameter 'clusterName' is not null or undefined
|
|
13549
13549
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
13550
13550
|
// verify required parameter 'accountName' is not null or undefined
|
|
13551
13551
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
13552
|
-
// verify required parameter '
|
|
13553
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
13552
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
13553
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
13554
13554
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
13555
13555
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13556
13556
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -13580,7 +13580,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13580
13580
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13581
13581
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13582
13582
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13583
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
13583
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
13584
13584
|
|
|
13585
13585
|
return {
|
|
13586
13586
|
url: toPathString(localVarUrlObj),
|
|
@@ -18004,12 +18004,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18004
18004
|
* @param {string} orgName name of the Org
|
|
18005
18005
|
* @param {string} clusterName name of the Cluster
|
|
18006
18006
|
* @param {string} accountName name of the Account
|
|
18007
|
-
* @param {
|
|
18007
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
18008
18008
|
* @param {*} [options] Override http request option.
|
|
18009
18009
|
* @throws {RequiredError}
|
|
18010
18010
|
*/
|
|
18011
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
18012
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
18011
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18012
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
18013
18013
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18014
18014
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
18015
18015
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20712,7 +20712,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20712
20712
|
* @throws {RequiredError}
|
|
20713
20713
|
*/
|
|
20714
20714
|
updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20715
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
20715
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
20716
20716
|
},
|
|
20717
20717
|
/**
|
|
20718
20718
|
* Update a RabbitMQ account privileges
|
|
@@ -31112,10 +31112,10 @@ export interface SharedApiUpdateRabbitAccountPasswordRequest {
|
|
|
31112
31112
|
|
|
31113
31113
|
/**
|
|
31114
31114
|
*
|
|
31115
|
-
* @type {
|
|
31115
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
31116
31116
|
* @memberof SharedApiUpdateRabbitAccountPassword
|
|
31117
31117
|
*/
|
|
31118
|
-
readonly
|
|
31118
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
31119
31119
|
}
|
|
31120
31120
|
|
|
31121
31121
|
/**
|
|
@@ -34475,7 +34475,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34475
34475
|
* @memberof SharedApi
|
|
34476
34476
|
*/
|
|
34477
34477
|
public updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
34478
|
-
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
34478
|
+
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34479
34479
|
}
|
|
34480
34480
|
|
|
34481
34481
|
/**
|
|
@@ -541,6 +541,7 @@ export * from './rbmq-accounts-list';
|
|
|
541
541
|
export * from './rbmq-accounts-list-items-inner';
|
|
542
542
|
export * from './rbmq-exchange';
|
|
543
543
|
export * from './rbmq-message-stats';
|
|
544
|
+
export * from './rbmq-password-update-request';
|
|
544
545
|
export * from './rbmq-permission';
|
|
545
546
|
export * from './rbmq-topic-permission';
|
|
546
547
|
export * from './rbmq-user';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* KubeBlocks Cloud API
|
|
5
|
+
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* RabbitMQ account password update request.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface RbmqPasswordUpdateRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface RbmqPasswordUpdateRequest {
|
|
23
|
+
/**
|
|
24
|
+
* New RabbitMQ account password.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RbmqPasswordUpdateRequest
|
|
27
|
+
*/
|
|
28
|
+
'password': string;
|
|
29
|
+
}
|
|
30
|
+
|
package/src/openapi.yaml
CHANGED
|
@@ -13098,7 +13098,7 @@ paths:
|
|
|
13098
13098
|
content:
|
|
13099
13099
|
application/json:
|
|
13100
13100
|
schema:
|
|
13101
|
-
$ref: '#/components/schemas/
|
|
13101
|
+
$ref: '#/components/schemas/RbmqPasswordUpdateRequest'
|
|
13102
13102
|
responses:
|
|
13103
13103
|
'204':
|
|
13104
13104
|
description: A successful response.
|
|
@@ -26839,6 +26839,15 @@ components:
|
|
|
26839
26839
|
userPermission:
|
|
26840
26840
|
$ref: '#/components/schemas/RbmqPermission'
|
|
26841
26841
|
description: RabbitMQ user permissions
|
|
26842
|
+
RbmqPasswordUpdateRequest:
|
|
26843
|
+
type: object
|
|
26844
|
+
description: RabbitMQ account password update request.
|
|
26845
|
+
required:
|
|
26846
|
+
- password
|
|
26847
|
+
properties:
|
|
26848
|
+
password:
|
|
26849
|
+
type: string
|
|
26850
|
+
description: New RabbitMQ account password.
|
|
26842
26851
|
RbmqVHost:
|
|
26843
26852
|
type: object
|
|
26844
26853
|
properties:
|