kb-cloud-client-typescript 2.4.0-alpha.147 → 2.4.0-alpha.149
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/dms-api.d.ts +43 -2
- package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
- package/dist/adminapi/apis/dms-api.js +30 -5
- package/dist/adminapi/apis/dms-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +43 -2
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +30 -5
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/component-item-create.d.ts +2 -2
- package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
- package/dist/adminapi/models/dms-audit.d.ts +6 -0
- package/dist/adminapi/models/dms-audit.d.ts.map +1 -1
- package/dist/adminapi/models/engine-option.d.ts +6 -0
- package/dist/adminapi/models/engine-option.d.ts.map +1 -1
- package/dist/adminapi/models/license.d.ts +6 -0
- package/dist/adminapi/models/license.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.d.ts +43 -2
- package/dist/openapi/apis/dms-api.d.ts.map +1 -1
- package/dist/openapi/apis/dms-api.js +30 -5
- package/dist/openapi/apis/dms-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +43 -2
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +30 -5
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/component-item-create.d.ts +2 -2
- package/dist/openapi/models/component-item-create.d.ts.map +1 -1
- package/dist/openapi/models/dms-audit.d.ts +6 -0
- package/dist/openapi/models/dms-audit.d.ts.map +1 -1
- package/dist/openapi/models/engine-option.d.ts +6 -0
- package/dist/openapi/models/engine-option.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/dms-api.ts +72 -5
- package/src/adminapi/apis/shared-api.ts +72 -5
- package/src/adminapi/models/component-item-create.ts +2 -2
- package/src/adminapi/models/dms-audit.ts +6 -0
- package/src/adminapi/models/engine-option.ts +6 -0
- package/src/adminapi/models/license.ts +6 -0
- package/src/adminapi.yaml +37 -8
- package/src/openapi/apis/dms-api.ts +72 -5
- package/src/openapi/apis/shared-api.ts +72 -5
- package/src/openapi/models/component-item-create.ts +2 -2
- package/src/openapi/models/dms-audit.ts +6 -0
- package/src/openapi/models/engine-option.ts +6 -0
- package/src/openapi.yaml +34 -8
|
@@ -158,6 +158,8 @@ import type { DbTDERequest } from '../models';
|
|
|
158
158
|
// @ts-ignore
|
|
159
159
|
import type { DmsAuditList } from '../models';
|
|
160
160
|
// @ts-ignore
|
|
161
|
+
import type { DmsAuditRisk } from '../models';
|
|
162
|
+
// @ts-ignore
|
|
161
163
|
import type { DmsAuditStatus } from '../models';
|
|
162
164
|
// @ts-ignore
|
|
163
165
|
import type { DmsExecutionPlanResult } from '../models';
|
|
@@ -11650,13 +11652,18 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11650
11652
|
* @param {number} [offset]
|
|
11651
11653
|
* @param {number} [limit]
|
|
11652
11654
|
* @param {string} [userName]
|
|
11655
|
+
* @param {string} [databaseUser]
|
|
11656
|
+
* @param {string} [database]
|
|
11657
|
+
* @param {string} [operation]
|
|
11658
|
+
* @param {string} [statement] Literal substring of recorded content.
|
|
11659
|
+
* @param {DmsAuditRisk} [risk]
|
|
11653
11660
|
* @param {DmsAuditStatus} [status]
|
|
11654
11661
|
* @param {string} [from]
|
|
11655
11662
|
* @param {string} [to]
|
|
11656
11663
|
* @param {*} [options] Override http request option.
|
|
11657
11664
|
* @throws {RequiredError}
|
|
11658
11665
|
*/
|
|
11659
|
-
listDMSAudit: async (orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, status?: DmsAuditStatus, from?: string, to?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11666
|
+
listDMSAudit: async (orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, databaseUser?: string, database?: string, operation?: string, statement?: string, risk?: DmsAuditRisk, status?: DmsAuditStatus, from?: string, to?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11660
11667
|
// verify required parameter 'orgName' is not null or undefined
|
|
11661
11668
|
assertParamExists('listDMSAudit', 'orgName', orgName)
|
|
11662
11669
|
// verify required parameter 'clusterName' is not null or undefined
|
|
@@ -11694,6 +11701,26 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
11694
11701
|
localVarQueryParameter['userName'] = userName;
|
|
11695
11702
|
}
|
|
11696
11703
|
|
|
11704
|
+
if (databaseUser !== undefined) {
|
|
11705
|
+
localVarQueryParameter['databaseUser'] = databaseUser;
|
|
11706
|
+
}
|
|
11707
|
+
|
|
11708
|
+
if (database !== undefined) {
|
|
11709
|
+
localVarQueryParameter['database'] = database;
|
|
11710
|
+
}
|
|
11711
|
+
|
|
11712
|
+
if (operation !== undefined) {
|
|
11713
|
+
localVarQueryParameter['operation'] = operation;
|
|
11714
|
+
}
|
|
11715
|
+
|
|
11716
|
+
if (statement !== undefined) {
|
|
11717
|
+
localVarQueryParameter['statement'] = statement;
|
|
11718
|
+
}
|
|
11719
|
+
|
|
11720
|
+
if (risk !== undefined) {
|
|
11721
|
+
localVarQueryParameter['risk'] = risk;
|
|
11722
|
+
}
|
|
11723
|
+
|
|
11697
11724
|
if (status !== undefined) {
|
|
11698
11725
|
localVarQueryParameter['status'] = status;
|
|
11699
11726
|
}
|
|
@@ -24384,14 +24411,19 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
24384
24411
|
* @param {number} [offset]
|
|
24385
24412
|
* @param {number} [limit]
|
|
24386
24413
|
* @param {string} [userName]
|
|
24414
|
+
* @param {string} [databaseUser]
|
|
24415
|
+
* @param {string} [database]
|
|
24416
|
+
* @param {string} [operation]
|
|
24417
|
+
* @param {string} [statement] Literal substring of recorded content.
|
|
24418
|
+
* @param {DmsAuditRisk} [risk]
|
|
24387
24419
|
* @param {DmsAuditStatus} [status]
|
|
24388
24420
|
* @param {string} [from]
|
|
24389
24421
|
* @param {string} [to]
|
|
24390
24422
|
* @param {*} [options] Override http request option.
|
|
24391
24423
|
* @throws {RequiredError}
|
|
24392
24424
|
*/
|
|
24393
|
-
async listDMSAudit(orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, status?: DmsAuditStatus, from?: string, to?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsAuditList>> {
|
|
24394
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listDMSAudit(orgName, clusterName, offset, limit, userName, status, from, to, options);
|
|
24425
|
+
async listDMSAudit(orgName: string, clusterName: string, offset?: number, limit?: number, userName?: string, databaseUser?: string, database?: string, operation?: string, statement?: string, risk?: DmsAuditRisk, status?: DmsAuditStatus, from?: string, to?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsAuditList>> {
|
|
24426
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listDMSAudit(orgName, clusterName, offset, limit, userName, databaseUser, database, operation, statement, risk, status, from, to, options);
|
|
24395
24427
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24396
24428
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listDMSAudit']?.[localVarOperationServerIndex]?.url;
|
|
24397
24429
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -29147,7 +29179,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
29147
29179
|
* @throws {RequiredError}
|
|
29148
29180
|
*/
|
|
29149
29181
|
listDMSAudit(requestParameters: SharedApiListDMSAuditRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsAuditList> {
|
|
29150
|
-
return localVarFp.listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(axios, basePath));
|
|
29182
|
+
return localVarFp.listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.databaseUser, requestParameters.database, requestParameters.operation, requestParameters.statement, requestParameters.risk, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(axios, basePath));
|
|
29151
29183
|
},
|
|
29152
29184
|
/**
|
|
29153
29185
|
*
|
|
@@ -41578,6 +41610,41 @@ export interface SharedApiListDMSAuditRequest {
|
|
|
41578
41610
|
*/
|
|
41579
41611
|
readonly userName?: string
|
|
41580
41612
|
|
|
41613
|
+
/**
|
|
41614
|
+
*
|
|
41615
|
+
* @type {string}
|
|
41616
|
+
* @memberof SharedApiListDMSAudit
|
|
41617
|
+
*/
|
|
41618
|
+
readonly databaseUser?: string
|
|
41619
|
+
|
|
41620
|
+
/**
|
|
41621
|
+
*
|
|
41622
|
+
* @type {string}
|
|
41623
|
+
* @memberof SharedApiListDMSAudit
|
|
41624
|
+
*/
|
|
41625
|
+
readonly database?: string
|
|
41626
|
+
|
|
41627
|
+
/**
|
|
41628
|
+
*
|
|
41629
|
+
* @type {string}
|
|
41630
|
+
* @memberof SharedApiListDMSAudit
|
|
41631
|
+
*/
|
|
41632
|
+
readonly operation?: string
|
|
41633
|
+
|
|
41634
|
+
/**
|
|
41635
|
+
* Literal substring of recorded content.
|
|
41636
|
+
* @type {string}
|
|
41637
|
+
* @memberof SharedApiListDMSAudit
|
|
41638
|
+
*/
|
|
41639
|
+
readonly statement?: string
|
|
41640
|
+
|
|
41641
|
+
/**
|
|
41642
|
+
*
|
|
41643
|
+
* @type {DmsAuditRisk}
|
|
41644
|
+
* @memberof SharedApiListDMSAudit
|
|
41645
|
+
*/
|
|
41646
|
+
readonly risk?: DmsAuditRisk
|
|
41647
|
+
|
|
41581
41648
|
/**
|
|
41582
41649
|
*
|
|
41583
41650
|
* @type {DmsAuditStatus}
|
|
@@ -50015,7 +50082,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
50015
50082
|
* @memberof SharedApi
|
|
50016
50083
|
*/
|
|
50017
50084
|
public listDMSAudit(requestParameters: SharedApiListDMSAuditRequest, options?: RawAxiosRequestConfig) {
|
|
50018
|
-
return SharedApiFp(this.configuration).listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(this.axios, this.basePath));
|
|
50085
|
+
return SharedApiFp(this.configuration).listDMSAudit(requestParameters.orgName, requestParameters.clusterName, requestParameters.offset, requestParameters.limit, requestParameters.userName, requestParameters.databaseUser, requestParameters.database, requestParameters.operation, requestParameters.statement, requestParameters.risk, requestParameters.status, requestParameters.from, requestParameters.to, options).then((request) => request(this.axios, this.basePath));
|
|
50019
50086
|
}
|
|
50020
50087
|
|
|
50021
50088
|
/**
|
|
@@ -66,11 +66,11 @@ export interface ComponentItemCreate {
|
|
|
66
66
|
*/
|
|
67
67
|
'compNum'?: number;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. When instanceTemplates is provided, this must equal the sum of all template replica counts.
|
|
70
70
|
* @type {number}
|
|
71
71
|
* @memberof ComponentItemCreate
|
|
72
72
|
*/
|
|
73
|
-
'replicas'?: number
|
|
73
|
+
'replicas'?: number;
|
|
74
74
|
/**
|
|
75
75
|
* Per-template replicas and optional overlays (env, annotations, labels, availability zone, storage class). Required when the current mode component declares instanceTemplate in engine_options; otherwise omit. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
|
|
76
76
|
* @type {Array<InstanceTemplateCreate>}
|
|
@@ -71,6 +71,12 @@ export interface DmsAudit {
|
|
|
71
71
|
* @memberof DmsAudit
|
|
72
72
|
*/
|
|
73
73
|
'userName': string;
|
|
74
|
+
/**
|
|
75
|
+
* Database connection account captured at operation time. Empty for historical records or connections without a named account.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof DmsAudit
|
|
78
|
+
*/
|
|
79
|
+
'databaseUser'?: string;
|
|
74
80
|
/**
|
|
75
81
|
*
|
|
76
82
|
* @type {string}
|
|
@@ -224,6 +224,12 @@ export interface EngineOption {
|
|
|
224
224
|
* @memberof EngineOption
|
|
225
225
|
*/
|
|
226
226
|
'vscale': Array<ComponentOpsOption>;
|
|
227
|
+
/**
|
|
228
|
+
* Whether the cluster chart consumes the platform license through the standard addon-license.existingSecret name/key values.
|
|
229
|
+
* @type {boolean}
|
|
230
|
+
* @memberof EngineOption
|
|
231
|
+
*/
|
|
232
|
+
'needAddonlicense'?: boolean;
|
|
227
233
|
/**
|
|
228
234
|
*
|
|
229
235
|
* @type {EngineOptionLicense}
|
package/src/openapi.yaml
CHANGED
|
@@ -12975,6 +12975,27 @@ paths:
|
|
|
12975
12975
|
in: query
|
|
12976
12976
|
schema:
|
|
12977
12977
|
type: string
|
|
12978
|
+
- name: databaseUser
|
|
12979
|
+
in: query
|
|
12980
|
+
schema:
|
|
12981
|
+
type: string
|
|
12982
|
+
- name: database
|
|
12983
|
+
in: query
|
|
12984
|
+
schema:
|
|
12985
|
+
type: string
|
|
12986
|
+
- name: operation
|
|
12987
|
+
in: query
|
|
12988
|
+
schema:
|
|
12989
|
+
type: string
|
|
12990
|
+
- name: statement
|
|
12991
|
+
in: query
|
|
12992
|
+
description: Literal substring of recorded content.
|
|
12993
|
+
schema:
|
|
12994
|
+
type: string
|
|
12995
|
+
- name: risk
|
|
12996
|
+
in: query
|
|
12997
|
+
schema:
|
|
12998
|
+
$ref: '#/components/schemas/dmsAuditRisk'
|
|
12978
12999
|
- name: status
|
|
12979
13000
|
in: query
|
|
12980
13001
|
schema:
|
|
@@ -30565,8 +30586,7 @@ components:
|
|
|
30565
30586
|
replicas:
|
|
30566
30587
|
title: Replicas
|
|
30567
30588
|
type: integer
|
|
30568
|
-
|
|
30569
|
-
description: Omit to use the cluster chart default. Set zero to disable the component when its resource constraints allow zero replicas. When instanceTemplates is provided, this must equal the sum of all template replica counts.
|
|
30589
|
+
description: The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. When instanceTemplates is provided, this must equal the sum of all template replica counts.
|
|
30570
30590
|
instanceTemplates:
|
|
30571
30591
|
type: array
|
|
30572
30592
|
minItems: 1
|
|
@@ -41042,6 +41062,9 @@ components:
|
|
|
41042
41062
|
type: array
|
|
41043
41063
|
items:
|
|
41044
41064
|
$ref: '#/components/schemas/componentOpsOption'
|
|
41065
|
+
needAddonlicense:
|
|
41066
|
+
type: boolean
|
|
41067
|
+
description: Whether the cluster chart consumes the platform license through the standard addon-license.existingSecret name/key values.
|
|
41045
41068
|
license:
|
|
41046
41069
|
type: object
|
|
41047
41070
|
required:
|
|
@@ -41501,12 +41524,6 @@ components:
|
|
|
41501
41524
|
$ref: '#/components/schemas/taskSchedule'
|
|
41502
41525
|
description: Scheduled execution configuration
|
|
41503
41526
|
x-nullable: true
|
|
41504
|
-
dmsAuditStatus:
|
|
41505
|
-
type: string
|
|
41506
|
-
enum:
|
|
41507
|
-
- success
|
|
41508
|
-
- failed
|
|
41509
|
-
- unknown
|
|
41510
41527
|
dmsAuditRisk:
|
|
41511
41528
|
type: string
|
|
41512
41529
|
enum:
|
|
@@ -41515,6 +41532,12 @@ components:
|
|
|
41515
41532
|
- ddl
|
|
41516
41533
|
- dml
|
|
41517
41534
|
- high
|
|
41535
|
+
dmsAuditStatus:
|
|
41536
|
+
type: string
|
|
41537
|
+
enum:
|
|
41538
|
+
- success
|
|
41539
|
+
- failed
|
|
41540
|
+
- unknown
|
|
41518
41541
|
dmsAuditStatement:
|
|
41519
41542
|
type: object
|
|
41520
41543
|
required:
|
|
@@ -41586,6 +41609,9 @@ components:
|
|
|
41586
41609
|
description: Absent for migrated history with unknown actor.
|
|
41587
41610
|
userName:
|
|
41588
41611
|
type: string
|
|
41612
|
+
databaseUser:
|
|
41613
|
+
type: string
|
|
41614
|
+
description: Database connection account captured at operation time. Empty for historical records or connections without a named account.
|
|
41589
41615
|
engine:
|
|
41590
41616
|
type: string
|
|
41591
41617
|
database:
|