kb-cloud-client-typescript 0.0.0-bugfix-pg-param-unit.20260615.406 → 0.0.0-bugfix-list-database-parameters-e2e.20260616.802

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.
Files changed (34) hide show
  1. package/dist/adminapi/apis/cluster-log-api.d.ts +154 -2
  2. package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-log-api.js +100 -5
  4. package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
  5. package/dist/adminapi/apis/database-parameters-api.d.ts +11 -11
  6. package/dist/adminapi/apis/database-parameters-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/database-parameters-api.js +10 -6
  8. package/dist/adminapi/apis/database-parameters-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +154 -2
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +100 -5
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/account-option.d.ts +7 -1
  14. package/dist/adminapi/models/account-option.d.ts.map +1 -1
  15. package/dist/openapi/apis/cluster-log-api.d.ts +154 -2
  16. package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
  17. package/dist/openapi/apis/cluster-log-api.js +100 -5
  18. package/dist/openapi/apis/cluster-log-api.js.map +1 -1
  19. package/dist/openapi/apis/shared-api.d.ts +154 -2
  20. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  21. package/dist/openapi/apis/shared-api.js +100 -5
  22. package/dist/openapi/apis/shared-api.js.map +1 -1
  23. package/dist/openapi/models/account-option.d.ts +7 -1
  24. package/dist/openapi/models/account-option.d.ts.map +1 -1
  25. package/package.json +1 -6
  26. package/src/adminapi/apis/cluster-log-api.ts +252 -5
  27. package/src/adminapi/apis/database-parameters-api.ts +15 -11
  28. package/src/adminapi/apis/shared-api.ts +252 -5
  29. package/src/adminapi/models/account-option.ts +7 -1
  30. package/src/adminapi.yaml +96 -1
  31. package/src/openapi/apis/cluster-log-api.ts +252 -5
  32. package/src/openapi/apis/shared-api.ts +252 -5
  33. package/src/openapi/models/account-option.ts +7 -1
  34. package/src/openapi.yaml +94 -1
@@ -452,10 +452,29 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
452
452
  * @param {SortType} [sortType]
453
453
  * @param {string} [groupBy]
454
454
  * @param {number} [topN]
455
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
456
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
457
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
458
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
459
+ * @param {number} [minRowsExamined]
460
+ * @param {number} [maxRowsExamined]
461
+ * @param {number} [minRowsSent]
462
+ * @param {number} [maxRowsSent]
463
+ * @param {string} [dbName]
464
+ * @param {string} [dbNameContains]
465
+ * @param {string} [userName]
466
+ * @param {string} [userNameContains]
467
+ * @param {string} [clientIp]
468
+ * @param {string} [clientIpContains]
469
+ * @param {string} [clientIpCIDR]
470
+ * @param {string} [appName]
471
+ * @param {string} [appNameContains]
472
+ * @param {string} [templateId]
473
+ * @param {boolean} [unclassifiedOnly]
455
474
  * @param {*} [options] Override http request option.
456
475
  * @throws {RequiredError}
457
476
  */
458
- aggregateSlowLogs: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
477
+ aggregateSlowLogs: async (orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
459
478
  // verify required parameter 'orgName' is not null or undefined
460
479
  assertParamExists('aggregateSlowLogs', 'orgName', orgName)
461
480
  // verify required parameter 'clusterName' is not null or undefined
@@ -521,6 +540,82 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
521
540
  localVarQueryParameter['topN'] = topN;
522
541
  }
523
542
 
543
+ if (minExecutionTime !== undefined) {
544
+ localVarQueryParameter['minExecutionTime'] = minExecutionTime;
545
+ }
546
+
547
+ if (maxExecutionTime !== undefined) {
548
+ localVarQueryParameter['maxExecutionTime'] = maxExecutionTime;
549
+ }
550
+
551
+ if (minLockTime !== undefined) {
552
+ localVarQueryParameter['minLockTime'] = minLockTime;
553
+ }
554
+
555
+ if (maxLockTime !== undefined) {
556
+ localVarQueryParameter['maxLockTime'] = maxLockTime;
557
+ }
558
+
559
+ if (minRowsExamined !== undefined) {
560
+ localVarQueryParameter['minRowsExamined'] = minRowsExamined;
561
+ }
562
+
563
+ if (maxRowsExamined !== undefined) {
564
+ localVarQueryParameter['maxRowsExamined'] = maxRowsExamined;
565
+ }
566
+
567
+ if (minRowsSent !== undefined) {
568
+ localVarQueryParameter['minRowsSent'] = minRowsSent;
569
+ }
570
+
571
+ if (maxRowsSent !== undefined) {
572
+ localVarQueryParameter['maxRowsSent'] = maxRowsSent;
573
+ }
574
+
575
+ if (dbName !== undefined) {
576
+ localVarQueryParameter['dbName'] = dbName;
577
+ }
578
+
579
+ if (dbNameContains !== undefined) {
580
+ localVarQueryParameter['dbNameContains'] = dbNameContains;
581
+ }
582
+
583
+ if (userName !== undefined) {
584
+ localVarQueryParameter['userName'] = userName;
585
+ }
586
+
587
+ if (userNameContains !== undefined) {
588
+ localVarQueryParameter['userNameContains'] = userNameContains;
589
+ }
590
+
591
+ if (clientIp !== undefined) {
592
+ localVarQueryParameter['clientIp'] = clientIp;
593
+ }
594
+
595
+ if (clientIpContains !== undefined) {
596
+ localVarQueryParameter['clientIpContains'] = clientIpContains;
597
+ }
598
+
599
+ if (clientIpCIDR !== undefined) {
600
+ localVarQueryParameter['clientIpCIDR'] = clientIpCIDR;
601
+ }
602
+
603
+ if (appName !== undefined) {
604
+ localVarQueryParameter['appName'] = appName;
605
+ }
606
+
607
+ if (appNameContains !== undefined) {
608
+ localVarQueryParameter['appNameContains'] = appNameContains;
609
+ }
610
+
611
+ if (templateId !== undefined) {
612
+ localVarQueryParameter['templateId'] = templateId;
613
+ }
614
+
615
+ if (unclassifiedOnly !== undefined) {
616
+ localVarQueryParameter['unclassifiedOnly'] = unclassifiedOnly;
617
+ }
618
+
524
619
 
525
620
 
526
621
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13445,11 +13540,30 @@ export const SharedApiFp = function(configuration?: Configuration) {
13445
13540
  * @param {SortType} [sortType]
13446
13541
  * @param {string} [groupBy]
13447
13542
  * @param {number} [topN]
13543
+ * @param {number} [minExecutionTime] Minimum execution time in seconds. Decimal values are supported, for example 0.5.
13544
+ * @param {number} [maxExecutionTime] Maximum execution time in seconds. Decimal values are supported, for example 0.5.
13545
+ * @param {number} [minLockTime] Minimum lock time in seconds. Decimal values are supported, for example 0.001.
13546
+ * @param {number} [maxLockTime] Maximum lock time in seconds. Decimal values are supported, for example 0.001.
13547
+ * @param {number} [minRowsExamined]
13548
+ * @param {number} [maxRowsExamined]
13549
+ * @param {number} [minRowsSent]
13550
+ * @param {number} [maxRowsSent]
13551
+ * @param {string} [dbName]
13552
+ * @param {string} [dbNameContains]
13553
+ * @param {string} [userName]
13554
+ * @param {string} [userNameContains]
13555
+ * @param {string} [clientIp]
13556
+ * @param {string} [clientIpContains]
13557
+ * @param {string} [clientIpCIDR]
13558
+ * @param {string} [appName]
13559
+ * @param {string} [appNameContains]
13560
+ * @param {string} [templateId]
13561
+ * @param {boolean} [unclassifiedOnly]
13448
13562
  * @param {*} [options] Override http request option.
13449
13563
  * @throws {RequiredError}
13450
13564
  */
13451
- async aggregateSlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLogAggregateResponse>> {
13452
- const localVarAxiosArgs = await localVarAxiosParamCreator.aggregateSlowLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, groupBy, topN, options);
13565
+ async aggregateSlowLogs(orgName: string, clusterName: string, startTime: string, endTime: string, componentName?: string, instanceName?: string, query?: string, limit?: string, sortType?: SortType, groupBy?: string, topN?: number, minExecutionTime?: number, maxExecutionTime?: number, minLockTime?: number, maxLockTime?: number, minRowsExamined?: number, maxRowsExamined?: number, minRowsSent?: number, maxRowsSent?: number, dbName?: string, dbNameContains?: string, userName?: string, userNameContains?: string, clientIp?: string, clientIpContains?: string, clientIpCIDR?: string, appName?: string, appNameContains?: string, templateId?: string, unclassifiedOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterExecutionLogAggregateResponse>> {
13566
+ const localVarAxiosArgs = await localVarAxiosParamCreator.aggregateSlowLogs(orgName, clusterName, startTime, endTime, componentName, instanceName, query, limit, sortType, groupBy, topN, minExecutionTime, maxExecutionTime, minLockTime, maxLockTime, minRowsExamined, maxRowsExamined, minRowsSent, maxRowsSent, dbName, dbNameContains, userName, userNameContains, clientIp, clientIpContains, clientIpCIDR, appName, appNameContains, templateId, unclassifiedOnly, options);
13453
13567
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13454
13568
  const localVarOperationServerBasePath = operationServerMap['SharedApi.aggregateSlowLogs']?.[localVarOperationServerIndex]?.url;
13455
13569
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17223,7 +17337,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
17223
17337
  * @throws {RequiredError}
17224
17338
  */
17225
17339
  aggregateSlowLogs(requestParameters: SharedApiAggregateSlowLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterExecutionLogAggregateResponse> {
17226
- return localVarFp.aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, options).then((request) => request(axios, basePath));
17340
+ return localVarFp.aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(axios, basePath));
17227
17341
  },
17228
17342
  /**
17229
17343
  * alert statistic
@@ -22107,6 +22221,139 @@ export interface SharedApiAggregateSlowLogsRequest {
22107
22221
  * @memberof SharedApiAggregateSlowLogs
22108
22222
  */
22109
22223
  readonly topN?: number
22224
+
22225
+ /**
22226
+ * Minimum execution time in seconds. Decimal values are supported, for example 0.5.
22227
+ * @type {number}
22228
+ * @memberof SharedApiAggregateSlowLogs
22229
+ */
22230
+ readonly minExecutionTime?: number
22231
+
22232
+ /**
22233
+ * Maximum execution time in seconds. Decimal values are supported, for example 0.5.
22234
+ * @type {number}
22235
+ * @memberof SharedApiAggregateSlowLogs
22236
+ */
22237
+ readonly maxExecutionTime?: number
22238
+
22239
+ /**
22240
+ * Minimum lock time in seconds. Decimal values are supported, for example 0.001.
22241
+ * @type {number}
22242
+ * @memberof SharedApiAggregateSlowLogs
22243
+ */
22244
+ readonly minLockTime?: number
22245
+
22246
+ /**
22247
+ * Maximum lock time in seconds. Decimal values are supported, for example 0.001.
22248
+ * @type {number}
22249
+ * @memberof SharedApiAggregateSlowLogs
22250
+ */
22251
+ readonly maxLockTime?: number
22252
+
22253
+ /**
22254
+ *
22255
+ * @type {number}
22256
+ * @memberof SharedApiAggregateSlowLogs
22257
+ */
22258
+ readonly minRowsExamined?: number
22259
+
22260
+ /**
22261
+ *
22262
+ * @type {number}
22263
+ * @memberof SharedApiAggregateSlowLogs
22264
+ */
22265
+ readonly maxRowsExamined?: number
22266
+
22267
+ /**
22268
+ *
22269
+ * @type {number}
22270
+ * @memberof SharedApiAggregateSlowLogs
22271
+ */
22272
+ readonly minRowsSent?: number
22273
+
22274
+ /**
22275
+ *
22276
+ * @type {number}
22277
+ * @memberof SharedApiAggregateSlowLogs
22278
+ */
22279
+ readonly maxRowsSent?: number
22280
+
22281
+ /**
22282
+ *
22283
+ * @type {string}
22284
+ * @memberof SharedApiAggregateSlowLogs
22285
+ */
22286
+ readonly dbName?: string
22287
+
22288
+ /**
22289
+ *
22290
+ * @type {string}
22291
+ * @memberof SharedApiAggregateSlowLogs
22292
+ */
22293
+ readonly dbNameContains?: string
22294
+
22295
+ /**
22296
+ *
22297
+ * @type {string}
22298
+ * @memberof SharedApiAggregateSlowLogs
22299
+ */
22300
+ readonly userName?: string
22301
+
22302
+ /**
22303
+ *
22304
+ * @type {string}
22305
+ * @memberof SharedApiAggregateSlowLogs
22306
+ */
22307
+ readonly userNameContains?: string
22308
+
22309
+ /**
22310
+ *
22311
+ * @type {string}
22312
+ * @memberof SharedApiAggregateSlowLogs
22313
+ */
22314
+ readonly clientIp?: string
22315
+
22316
+ /**
22317
+ *
22318
+ * @type {string}
22319
+ * @memberof SharedApiAggregateSlowLogs
22320
+ */
22321
+ readonly clientIpContains?: string
22322
+
22323
+ /**
22324
+ *
22325
+ * @type {string}
22326
+ * @memberof SharedApiAggregateSlowLogs
22327
+ */
22328
+ readonly clientIpCIDR?: string
22329
+
22330
+ /**
22331
+ *
22332
+ * @type {string}
22333
+ * @memberof SharedApiAggregateSlowLogs
22334
+ */
22335
+ readonly appName?: string
22336
+
22337
+ /**
22338
+ *
22339
+ * @type {string}
22340
+ * @memberof SharedApiAggregateSlowLogs
22341
+ */
22342
+ readonly appNameContains?: string
22343
+
22344
+ /**
22345
+ *
22346
+ * @type {string}
22347
+ * @memberof SharedApiAggregateSlowLogs
22348
+ */
22349
+ readonly templateId?: string
22350
+
22351
+ /**
22352
+ *
22353
+ * @type {boolean}
22354
+ * @memberof SharedApiAggregateSlowLogs
22355
+ */
22356
+ readonly unclassifiedOnly?: boolean
22110
22357
  }
22111
22358
 
22112
22359
  /**
@@ -29942,7 +30189,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
29942
30189
  * @memberof SharedApi
29943
30190
  */
29944
30191
  public aggregateSlowLogs(requestParameters: SharedApiAggregateSlowLogsRequest, options?: RawAxiosRequestConfig) {
29945
- return SharedApiFp(this.configuration).aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, options).then((request) => request(this.axios, this.basePath));
30192
+ return SharedApiFp(this.configuration).aggregateSlowLogs(requestParameters.orgName, requestParameters.clusterName, requestParameters.startTime, requestParameters.endTime, requestParameters.componentName, requestParameters.instanceName, requestParameters.query, requestParameters.limit, requestParameters.sortType, requestParameters.groupBy, requestParameters.topN, requestParameters.minExecutionTime, requestParameters.maxExecutionTime, requestParameters.minLockTime, requestParameters.maxLockTime, requestParameters.minRowsExamined, requestParameters.maxRowsExamined, requestParameters.minRowsSent, requestParameters.maxRowsSent, requestParameters.dbName, requestParameters.dbNameContains, requestParameters.userName, requestParameters.userNameContains, requestParameters.clientIp, requestParameters.clientIpContains, requestParameters.clientIpCIDR, requestParameters.appName, requestParameters.appNameContains, requestParameters.templateId, requestParameters.unclassifiedOnly, options).then((request) => request(this.axios, this.basePath));
29946
30193
  }
29947
30194
 
29948
30195
  /**
@@ -79,7 +79,13 @@ export interface AccountOption {
79
79
  * @type {boolean}
80
80
  * @memberof AccountOption
81
81
  */
82
- 'lock'?: boolean;
82
+ 'supportLock'?: boolean;
83
+ /**
84
+ * Account names that are protected from update, delete, lock, and unlock actions.
85
+ * @type {Array<string>}
86
+ * @memberof AccountOption
87
+ */
88
+ 'protectedAccounts'?: Array<string>;
83
89
  /**
84
90
  *
85
91
  * @type {boolean}
package/src/adminapi.yaml CHANGED
@@ -4382,11 +4382,13 @@ paths:
4382
4382
  - description: engine Name
4383
4383
  in: query
4384
4384
  name: engineName
4385
+ required: true
4385
4386
  schema:
4386
4387
  type: string
4387
4388
  - description: component type
4388
4389
  in: query
4389
4390
  name: component
4391
+ required: true
4390
4392
  schema:
4391
4393
  type: string
4392
4394
  responses:
@@ -7320,6 +7322,94 @@ paths:
7320
7322
  schema:
7321
7323
  type: integer
7322
7324
  format: int32
7325
+ - in: query
7326
+ name: minExecutionTime
7327
+ description: Minimum execution time in seconds. Decimal values are supported, for example 0.5.
7328
+ schema:
7329
+ type: number
7330
+ format: double
7331
+ - in: query
7332
+ name: maxExecutionTime
7333
+ description: Maximum execution time in seconds. Decimal values are supported, for example 0.5.
7334
+ schema:
7335
+ type: number
7336
+ format: double
7337
+ - in: query
7338
+ name: minLockTime
7339
+ description: Minimum lock time in seconds. Decimal values are supported, for example 0.001.
7340
+ schema:
7341
+ type: number
7342
+ format: double
7343
+ - in: query
7344
+ name: maxLockTime
7345
+ description: Maximum lock time in seconds. Decimal values are supported, for example 0.001.
7346
+ schema:
7347
+ type: number
7348
+ format: double
7349
+ - in: query
7350
+ name: minRowsExamined
7351
+ schema:
7352
+ type: integer
7353
+ format: int64
7354
+ - in: query
7355
+ name: maxRowsExamined
7356
+ schema:
7357
+ type: integer
7358
+ format: int64
7359
+ - in: query
7360
+ name: minRowsSent
7361
+ schema:
7362
+ type: integer
7363
+ format: int64
7364
+ - in: query
7365
+ name: maxRowsSent
7366
+ schema:
7367
+ type: integer
7368
+ format: int64
7369
+ - in: query
7370
+ name: dbName
7371
+ schema:
7372
+ type: string
7373
+ - in: query
7374
+ name: dbNameContains
7375
+ schema:
7376
+ type: string
7377
+ - in: query
7378
+ name: userName
7379
+ schema:
7380
+ type: string
7381
+ - in: query
7382
+ name: userNameContains
7383
+ schema:
7384
+ type: string
7385
+ - in: query
7386
+ name: clientIp
7387
+ schema:
7388
+ type: string
7389
+ - in: query
7390
+ name: clientIpContains
7391
+ schema:
7392
+ type: string
7393
+ - in: query
7394
+ name: clientIpCIDR
7395
+ schema:
7396
+ type: string
7397
+ - in: query
7398
+ name: appName
7399
+ schema:
7400
+ type: string
7401
+ - in: query
7402
+ name: appNameContains
7403
+ schema:
7404
+ type: string
7405
+ - in: query
7406
+ name: templateId
7407
+ schema:
7408
+ type: string
7409
+ - in: query
7410
+ name: unclassifiedOnly
7411
+ schema:
7412
+ type: boolean
7323
7413
  responses:
7324
7414
  '200':
7325
7415
  content:
@@ -29974,9 +30064,14 @@ components:
29974
30064
  type: boolean
29975
30065
  delete:
29976
30066
  type: boolean
29977
- lock:
30067
+ supportLock:
29978
30068
  type: boolean
29979
30069
  description: Whether the engine supports account lock and unlock actions.
30070
+ protectedAccounts:
30071
+ type: array
30072
+ description: Account names that are protected from update, delete, lock, and unlock actions.
30073
+ items:
30074
+ type: string
29980
30075
  displayRootAccount:
29981
30076
  type: boolean
29982
30077
  x-omitempty: false