kb-cloud-client-typescript 2.3.0-alpha.87 → 2.3.0-alpha.88

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.
@@ -1251,10 +1251,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1251
1251
  * @param {string} schema schema or database name
1252
1252
  * @param {string} type object type
1253
1253
  * @param {string} objectName object name
1254
+ * @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
1254
1255
  * @param {*} [options] Override http request option.
1255
1256
  * @throws {RequiredError}
1256
1257
  */
1257
- getObjectInfo: (orgName: string, clusterName: string, id: string, schema: string, type: string, objectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1258
+ getObjectInfo: (orgName: string, clusterName: string, id: string, schema: string, type: string, objectName: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1258
1259
  /**
1259
1260
  *
1260
1261
  * @summary Get a parameter of an organization
@@ -1327,10 +1328,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1327
1328
  * @param {string} orgName name of the Org
1328
1329
  * @param {string} clusterName name of the cluster
1329
1330
  * @param {string} id id of the datasource
1331
+ * @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
1330
1332
  * @param {*} [options] Override http request option.
1331
1333
  * @throws {RequiredError}
1332
1334
  */
1333
- getSchemaList: (orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1335
+ getSchemaList: (orgName: string, clusterName: string, id: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1334
1336
  /**
1335
1337
  * Get statistics summary for slow logs of a cluster
1336
1338
  * @summary Get cluster slow log statistics
@@ -1560,6 +1562,16 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1560
1562
  * @throws {RequiredError}
1561
1563
  */
1562
1564
  listDatabases: (engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1565
+ /**
1566
+ *
1567
+ * @summary list all databases of the datasource
1568
+ * @param {string} orgName name of the Org
1569
+ * @param {string} clusterName name of the cluster
1570
+ * @param {string} id id of the datasource
1571
+ * @param {*} [options] Override http request option.
1572
+ * @throws {RequiredError}
1573
+ */
1574
+ listDmsDatabases: (orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1563
1575
  /**
1564
1576
  *
1565
1577
  * @summary List cluster endpoints
@@ -1716,10 +1728,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1716
1728
  * @param {string} id id of the datasource
1717
1729
  * @param {string} schema schema or database name
1718
1730
  * @param {string} type object type
1731
+ * @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
1719
1732
  * @param {*} [options] Override http request option.
1720
1733
  * @throws {RequiredError}
1721
1734
  */
1722
- listObjectNamesByType: (orgName: string, clusterName: string, id: string, schema: string, type: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1735
+ listObjectNamesByType: (orgName: string, clusterName: string, id: string, schema: string, type: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1723
1736
  /**
1724
1737
  *
1725
1738
  * @summary list the type and number of database objects in the specified database or schema
@@ -1727,10 +1740,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1727
1740
  * @param {string} clusterName name of the cluster
1728
1741
  * @param {string} id id of the datasource
1729
1742
  * @param {string} schema schema or database name
1743
+ * @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
1730
1744
  * @param {*} [options] Override http request option.
1731
1745
  * @throws {RequiredError}
1732
1746
  */
1733
- listObjectTypesInSchema: (orgName: string, clusterName: string, id: string, schema: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1747
+ listObjectTypesInSchema: (orgName: string, clusterName: string, id: string, schema: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1734
1748
  /**
1735
1749
  *
1736
1750
  * @summary List objects tree for selective backup
@@ -3832,10 +3846,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
3832
3846
  * @param {string} schema schema or database name
3833
3847
  * @param {string} type object type
3834
3848
  * @param {string} objectName object name
3849
+ * @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
3835
3850
  * @param {*} [options] Override http request option.
3836
3851
  * @throws {RequiredError}
3837
3852
  */
3838
- getObjectInfo(orgName: string, clusterName: string, id: string, schema: string, type: string, objectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsObjectResponse>>;
3853
+ getObjectInfo(orgName: string, clusterName: string, id: string, schema: string, type: string, objectName: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsObjectResponse>>;
3839
3854
  /**
3840
3855
  *
3841
3856
  * @summary Get a parameter of an organization
@@ -3908,10 +3923,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
3908
3923
  * @param {string} orgName name of the Org
3909
3924
  * @param {string} clusterName name of the cluster
3910
3925
  * @param {string} id id of the datasource
3926
+ * @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
3911
3927
  * @param {*} [options] Override http request option.
3912
3928
  * @throws {RequiredError}
3913
3929
  */
3914
- getSchemaList(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
3930
+ getSchemaList(orgName: string, clusterName: string, id: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
3915
3931
  /**
3916
3932
  * Get statistics summary for slow logs of a cluster
3917
3933
  * @summary Get cluster slow log statistics
@@ -4141,6 +4157,16 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4141
4157
  * @throws {RequiredError}
4142
4158
  */
4143
4159
  listDatabases(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatabaseList>>;
4160
+ /**
4161
+ *
4162
+ * @summary list all databases of the datasource
4163
+ * @param {string} orgName name of the Org
4164
+ * @param {string} clusterName name of the cluster
4165
+ * @param {string} id id of the datasource
4166
+ * @param {*} [options] Override http request option.
4167
+ * @throws {RequiredError}
4168
+ */
4169
+ listDmsDatabases(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
4144
4170
  /**
4145
4171
  *
4146
4172
  * @summary List cluster endpoints
@@ -4297,10 +4323,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4297
4323
  * @param {string} id id of the datasource
4298
4324
  * @param {string} schema schema or database name
4299
4325
  * @param {string} type object type
4326
+ * @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
4300
4327
  * @param {*} [options] Override http request option.
4301
4328
  * @throws {RequiredError}
4302
4329
  */
4303
- listObjectNamesByType(orgName: string, clusterName: string, id: string, schema: string, type: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
4330
+ listObjectNamesByType(orgName: string, clusterName: string, id: string, schema: string, type: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
4304
4331
  /**
4305
4332
  *
4306
4333
  * @summary list the type and number of database objects in the specified database or schema
@@ -4308,10 +4335,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4308
4335
  * @param {string} clusterName name of the cluster
4309
4336
  * @param {string} id id of the datasource
4310
4337
  * @param {string} schema schema or database name
4338
+ * @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
4311
4339
  * @param {*} [options] Override http request option.
4312
4340
  * @throws {RequiredError}
4313
4341
  */
4314
- listObjectTypesInSchema(orgName: string, clusterName: string, id: string, schema: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsObject>>>;
4342
+ listObjectTypesInSchema(orgName: string, clusterName: string, id: string, schema: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsObject>>>;
4315
4343
  /**
4316
4344
  *
4317
4345
  * @summary List objects tree for selective backup
@@ -6400,6 +6428,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
6400
6428
  * @throws {RequiredError}
6401
6429
  */
6402
6430
  listDatabases(requestParameters: SharedApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList>;
6431
+ /**
6432
+ *
6433
+ * @summary list all databases of the datasource
6434
+ * @param {SharedApiListDmsDatabasesRequest} requestParameters Request parameters.
6435
+ * @param {*} [options] Override http request option.
6436
+ * @throws {RequiredError}
6437
+ */
6438
+ listDmsDatabases(requestParameters: SharedApiListDmsDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
6403
6439
  /**
6404
6440
  *
6405
6441
  * @summary List cluster endpoints
@@ -8478,6 +8514,15 @@ export interface SharedApiInterface {
8478
8514
  * @memberof SharedApiInterface
8479
8515
  */
8480
8516
  listDatabases(requestParameters: SharedApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList>;
8517
+ /**
8518
+ *
8519
+ * @summary list all databases of the datasource
8520
+ * @param {SharedApiListDmsDatabasesRequest} requestParameters Request parameters.
8521
+ * @param {*} [options] Override http request option.
8522
+ * @throws {RequiredError}
8523
+ * @memberof SharedApiInterface
8524
+ */
8525
+ listDmsDatabases(requestParameters: SharedApiListDmsDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
8481
8526
  /**
8482
8527
  *
8483
8528
  * @summary List cluster endpoints
@@ -12267,6 +12312,12 @@ export interface SharedApiGetObjectInfoRequest {
12267
12312
  * @memberof SharedApiGetObjectInfo
12268
12313
  */
12269
12314
  readonly objectName: string;
12315
+ /**
12316
+ * database name, used by engines such as MSSQL when reading object metadata inside a schema
12317
+ * @type {string}
12318
+ * @memberof SharedApiGetObjectInfo
12319
+ */
12320
+ readonly database?: string;
12270
12321
  }
12271
12322
  /**
12272
12323
  * Request parameters for getOrgParameter operation in SharedApi.
@@ -12443,6 +12494,12 @@ export interface SharedApiGetSchemaListRequest {
12443
12494
  * @memberof SharedApiGetSchemaList
12444
12495
  */
12445
12496
  readonly id: string;
12497
+ /**
12498
+ * database name, used by engines such as MSSQL when listing schemas inside a database
12499
+ * @type {string}
12500
+ * @memberof SharedApiGetSchemaList
12501
+ */
12502
+ readonly database?: string;
12446
12503
  }
12447
12504
  /**
12448
12505
  * Request parameters for getSlowLogStats operation in SharedApi.
@@ -13118,6 +13175,31 @@ export interface SharedApiListDatabasesRequest {
13118
13175
  */
13119
13176
  readonly clusterName: string;
13120
13177
  }
13178
+ /**
13179
+ * Request parameters for listDmsDatabases operation in SharedApi.
13180
+ * @export
13181
+ * @interface SharedApiListDmsDatabasesRequest
13182
+ */
13183
+ export interface SharedApiListDmsDatabasesRequest {
13184
+ /**
13185
+ * name of the Org
13186
+ * @type {string}
13187
+ * @memberof SharedApiListDmsDatabases
13188
+ */
13189
+ readonly orgName: string;
13190
+ /**
13191
+ * name of the cluster
13192
+ * @type {string}
13193
+ * @memberof SharedApiListDmsDatabases
13194
+ */
13195
+ readonly clusterName: string;
13196
+ /**
13197
+ * id of the datasource
13198
+ * @type {string}
13199
+ * @memberof SharedApiListDmsDatabases
13200
+ */
13201
+ readonly id: string;
13202
+ }
13121
13203
  /**
13122
13204
  * Request parameters for listEndpoints operation in SharedApi.
13123
13205
  * @export
@@ -13510,6 +13592,12 @@ export interface SharedApiListObjectNamesByTypeRequest {
13510
13592
  * @memberof SharedApiListObjectNamesByType
13511
13593
  */
13512
13594
  readonly type: string;
13595
+ /**
13596
+ * database name, used by engines such as MSSQL when listing object names inside a schema
13597
+ * @type {string}
13598
+ * @memberof SharedApiListObjectNamesByType
13599
+ */
13600
+ readonly database?: string;
13513
13601
  }
13514
13602
  /**
13515
13603
  * Request parameters for listObjectTypesInSchema operation in SharedApi.
@@ -13541,6 +13629,12 @@ export interface SharedApiListObjectTypesInSchemaRequest {
13541
13629
  * @memberof SharedApiListObjectTypesInSchema
13542
13630
  */
13543
13631
  readonly schema: string;
13632
+ /**
13633
+ * database name, used by engines such as MSSQL when listing objects inside a schema
13634
+ * @type {string}
13635
+ * @memberof SharedApiListObjectTypesInSchema
13636
+ */
13637
+ readonly database?: string;
13544
13638
  }
13545
13639
  /**
13546
13640
  * Request parameters for listObjectsTreeForSelectiveBackup operation in SharedApi.
@@ -17576,6 +17670,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
17576
17670
  * @memberof SharedApi
17577
17671
  */
17578
17672
  listDatabases(requestParameters: SharedApiListDatabasesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DatabaseList, any, {}>>;
17673
+ /**
17674
+ *
17675
+ * @summary list all databases of the datasource
17676
+ * @param {SharedApiListDmsDatabasesRequest} requestParameters Request parameters.
17677
+ * @param {*} [options] Override http request option.
17678
+ * @throws {RequiredError}
17679
+ * @memberof SharedApi
17680
+ */
17681
+ listDmsDatabases(requestParameters: SharedApiListDmsDatabasesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
17579
17682
  /**
17580
17683
  *
17581
17684
  * @summary List cluster endpoints