kb-cloud-client-typescript 2.3.0-beta.16 → 2.3.0-beta.17
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
|
@@ -52,9 +52,9 @@ import type { RbmqAccountRequest } from '../models';
|
|
|
52
52
|
// @ts-ignore
|
|
53
53
|
import type { RbmqAccountsList } from '../models';
|
|
54
54
|
// @ts-ignore
|
|
55
|
-
import type {
|
|
55
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
56
56
|
// @ts-ignore
|
|
57
|
-
import type {
|
|
57
|
+
import type { RbmqPermission } from '../models';
|
|
58
58
|
/**
|
|
59
59
|
* AccountApi - axios parameter creator
|
|
60
60
|
* @export
|
|
@@ -1874,19 +1874,19 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1874
1874
|
* @param {string} orgName name of the Org
|
|
1875
1875
|
* @param {string} clusterName name of the Cluster
|
|
1876
1876
|
* @param {string} accountName name of the Account
|
|
1877
|
-
* @param {
|
|
1877
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
1878
1878
|
* @param {*} [options] Override http request option.
|
|
1879
1879
|
* @throws {RequiredError}
|
|
1880
1880
|
*/
|
|
1881
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
1881
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1882
1882
|
// verify required parameter 'orgName' is not null or undefined
|
|
1883
1883
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
1884
1884
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1885
1885
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
1886
1886
|
// verify required parameter 'accountName' is not null or undefined
|
|
1887
1887
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
1888
|
-
// verify required parameter '
|
|
1889
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
1888
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
1889
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
1890
1890
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
1891
1891
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1892
1892
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -1916,7 +1916,7 @@ export const AccountApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1916
1916
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1917
1917
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1918
1918
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1919
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1919
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
1920
1920
|
|
|
1921
1921
|
return {
|
|
1922
1922
|
url: toPathString(localVarUrlObj),
|
|
@@ -2592,12 +2592,12 @@ export const AccountApiFp = function(configuration?: Configuration) {
|
|
|
2592
2592
|
* @param {string} orgName name of the Org
|
|
2593
2593
|
* @param {string} clusterName name of the Cluster
|
|
2594
2594
|
* @param {string} accountName name of the Account
|
|
2595
|
-
* @param {
|
|
2595
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
2596
2596
|
* @param {*} [options] Override http request option.
|
|
2597
2597
|
* @throws {RequiredError}
|
|
2598
2598
|
*/
|
|
2599
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
2600
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
2599
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
2601
2601
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2602
2602
|
const localVarOperationServerBasePath = operationServerMap['AccountApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
2603
2603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3003,7 +3003,7 @@ export const AccountApiFactory = function (configuration?: Configuration, basePa
|
|
|
3003
3003
|
* @throws {RequiredError}
|
|
3004
3004
|
*/
|
|
3005
3005
|
updateRabbitAccountPassword(requestParameters: AccountApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3006
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
3006
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
3007
3007
|
},
|
|
3008
3008
|
/**
|
|
3009
3009
|
* Update a RabbitMQ account privileges
|
|
@@ -4523,10 +4523,10 @@ export interface AccountApiUpdateRabbitAccountPasswordRequest {
|
|
|
4523
4523
|
|
|
4524
4524
|
/**
|
|
4525
4525
|
*
|
|
4526
|
-
* @type {
|
|
4526
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
4527
4527
|
* @memberof AccountApiUpdateRabbitAccountPassword
|
|
4528
4528
|
*/
|
|
4529
|
-
readonly
|
|
4529
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
4530
4530
|
}
|
|
4531
4531
|
|
|
4532
4532
|
/**
|
|
@@ -5042,7 +5042,7 @@ export class AccountApi extends BaseAPI implements AccountApiInterface {
|
|
|
5042
5042
|
* @memberof AccountApi
|
|
5043
5043
|
*/
|
|
5044
5044
|
public updateRabbitAccountPassword(requestParameters: AccountApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
5045
|
-
return AccountApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
5045
|
+
return AccountApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5046
5046
|
}
|
|
5047
5047
|
|
|
5048
5048
|
/**
|
|
@@ -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
|
/**
|
|
@@ -338,9 +338,9 @@ import type { RbmqAccountsList } from '../models';
|
|
|
338
338
|
// @ts-ignore
|
|
339
339
|
import type { RbmqExchange } from '../models';
|
|
340
340
|
// @ts-ignore
|
|
341
|
-
import type {
|
|
341
|
+
import type { RbmqPasswordUpdateRequest } from '../models';
|
|
342
342
|
// @ts-ignore
|
|
343
|
-
import type {
|
|
343
|
+
import type { RbmqPermission } from '../models';
|
|
344
344
|
// @ts-ignore
|
|
345
345
|
import type { RbmqVHost } from '../models';
|
|
346
346
|
// @ts-ignore
|
|
@@ -16157,19 +16157,19 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16157
16157
|
* @param {string} orgName name of the Org
|
|
16158
16158
|
* @param {string} clusterName name of the Cluster
|
|
16159
16159
|
* @param {string} accountName name of the Account
|
|
16160
|
-
* @param {
|
|
16160
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
16161
16161
|
* @param {*} [options] Override http request option.
|
|
16162
16162
|
* @throws {RequiredError}
|
|
16163
16163
|
*/
|
|
16164
|
-
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string,
|
|
16164
|
+
updateRabbitAccountPassword: async (orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16165
16165
|
// verify required parameter 'orgName' is not null or undefined
|
|
16166
16166
|
assertParamExists('updateRabbitAccountPassword', 'orgName', orgName)
|
|
16167
16167
|
// verify required parameter 'clusterName' is not null or undefined
|
|
16168
16168
|
assertParamExists('updateRabbitAccountPassword', 'clusterName', clusterName)
|
|
16169
16169
|
// verify required parameter 'accountName' is not null or undefined
|
|
16170
16170
|
assertParamExists('updateRabbitAccountPassword', 'accountName', accountName)
|
|
16171
|
-
// verify required parameter '
|
|
16172
|
-
assertParamExists('updateRabbitAccountPassword', '
|
|
16171
|
+
// verify required parameter 'rbmqPasswordUpdateRequest' is not null or undefined
|
|
16172
|
+
assertParamExists('updateRabbitAccountPassword', 'rbmqPasswordUpdateRequest', rbmqPasswordUpdateRequest)
|
|
16173
16173
|
const localVarPath = `/api/v1/data/rabbitmq/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
16174
16174
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
16175
16175
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
@@ -16199,7 +16199,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16199
16199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16200
16200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16201
16201
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16202
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
16202
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rbmqPasswordUpdateRequest, localVarRequestOptions, configuration)
|
|
16203
16203
|
|
|
16204
16204
|
return {
|
|
16205
16205
|
url: toPathString(localVarUrlObj),
|
|
@@ -21393,12 +21393,12 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
21393
21393
|
* @param {string} orgName name of the Org
|
|
21394
21394
|
* @param {string} clusterName name of the Cluster
|
|
21395
21395
|
* @param {string} accountName name of the Account
|
|
21396
|
-
* @param {
|
|
21396
|
+
* @param {RbmqPasswordUpdateRequest} rbmqPasswordUpdateRequest
|
|
21397
21397
|
* @param {*} [options] Override http request option.
|
|
21398
21398
|
* @throws {RequiredError}
|
|
21399
21399
|
*/
|
|
21400
|
-
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string,
|
|
21401
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName,
|
|
21400
|
+
async updateRabbitAccountPassword(orgName: string, clusterName: string, accountName: string, rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRabbitAccountPassword(orgName, clusterName, accountName, rbmqPasswordUpdateRequest, options);
|
|
21402
21402
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21403
21403
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRabbitAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
21404
21404
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -24442,7 +24442,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
24442
24442
|
* @throws {RequiredError}
|
|
24443
24443
|
*/
|
|
24444
24444
|
updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24445
|
-
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
24445
|
+
return localVarFp.updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(axios, basePath));
|
|
24446
24446
|
},
|
|
24447
24447
|
/**
|
|
24448
24448
|
* Update a RabbitMQ account privileges
|
|
@@ -37453,10 +37453,10 @@ export interface SharedApiUpdateRabbitAccountPasswordRequest {
|
|
|
37453
37453
|
|
|
37454
37454
|
/**
|
|
37455
37455
|
*
|
|
37456
|
-
* @type {
|
|
37456
|
+
* @type {RbmqPasswordUpdateRequest}
|
|
37457
37457
|
* @memberof SharedApiUpdateRabbitAccountPassword
|
|
37458
37458
|
*/
|
|
37459
|
-
readonly
|
|
37459
|
+
readonly rbmqPasswordUpdateRequest: RbmqPasswordUpdateRequest
|
|
37460
37460
|
}
|
|
37461
37461
|
|
|
37462
37462
|
/**
|
|
@@ -41251,7 +41251,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
41251
41251
|
* @memberof SharedApi
|
|
41252
41252
|
*/
|
|
41253
41253
|
public updateRabbitAccountPassword(requestParameters: SharedApiUpdateRabbitAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
41254
|
-
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.
|
|
41254
|
+
return SharedApiFp(this.configuration).updateRabbitAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.rbmqPasswordUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41255
41255
|
}
|
|
41256
41256
|
|
|
41257
41257
|
/**
|
|
@@ -709,6 +709,7 @@ export * from './rbmq-accounts-list';
|
|
|
709
709
|
export * from './rbmq-accounts-list-items-inner';
|
|
710
710
|
export * from './rbmq-exchange';
|
|
711
711
|
export * from './rbmq-message-stats';
|
|
712
|
+
export * from './rbmq-password-update-request';
|
|
712
713
|
export * from './rbmq-permission';
|
|
713
714
|
export * from './rbmq-topic-permission';
|
|
714
715
|
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
|
@@ -18134,7 +18134,7 @@ paths:
|
|
|
18134
18134
|
content:
|
|
18135
18135
|
application/json:
|
|
18136
18136
|
schema:
|
|
18137
|
-
$ref: '#/components/schemas/
|
|
18137
|
+
$ref: '#/components/schemas/RbmqPasswordUpdateRequest'
|
|
18138
18138
|
responses:
|
|
18139
18139
|
'204':
|
|
18140
18140
|
description: A successful response.
|
|
@@ -36229,6 +36229,15 @@ components:
|
|
|
36229
36229
|
userPermission:
|
|
36230
36230
|
$ref: '#/components/schemas/RbmqPermission'
|
|
36231
36231
|
description: RabbitMQ user permissions
|
|
36232
|
+
RbmqPasswordUpdateRequest:
|
|
36233
|
+
type: object
|
|
36234
|
+
description: RabbitMQ account password update request.
|
|
36235
|
+
required:
|
|
36236
|
+
- password
|
|
36237
|
+
properties:
|
|
36238
|
+
password:
|
|
36239
|
+
type: string
|
|
36240
|
+
description: New RabbitMQ account password.
|
|
36232
36241
|
RbmqVHost:
|
|
36233
36242
|
type: object
|
|
36234
36243
|
properties:
|