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.
@@ -1154,10 +1154,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1154
1154
  * @param {string} schema schema or database name
1155
1155
  * @param {string} type object type
1156
1156
  * @param {string} objectName object name
1157
+ * @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
1157
1158
  * @param {*} [options] Override http request option.
1158
1159
  * @throws {RequiredError}
1159
1160
  */
1160
- getObjectInfo: (orgName: string, clusterName: string, id: string, schema: string, type: string, objectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1161
+ getObjectInfo: (orgName: string, clusterName: string, id: string, schema: string, type: string, objectName: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1161
1162
  /**
1162
1163
  *
1163
1164
  * @summary Get a parameter of an organization
@@ -1230,10 +1231,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1230
1231
  * @param {string} orgName name of the Org
1231
1232
  * @param {string} clusterName name of the cluster
1232
1233
  * @param {string} id id of the datasource
1234
+ * @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
1233
1235
  * @param {*} [options] Override http request option.
1234
1236
  * @throws {RequiredError}
1235
1237
  */
1236
- getSchemaList: (orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1238
+ getSchemaList: (orgName: string, clusterName: string, id: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1237
1239
  /**
1238
1240
  * Get statistics summary for slow logs of a cluster
1239
1241
  * @summary Get cluster slow log statistics
@@ -1488,6 +1490,16 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1488
1490
  * @throws {RequiredError}
1489
1491
  */
1490
1492
  listDatabases: (engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1493
+ /**
1494
+ *
1495
+ * @summary list all databases of the datasource
1496
+ * @param {string} orgName name of the Org
1497
+ * @param {string} clusterName name of the cluster
1498
+ * @param {string} id id of the datasource
1499
+ * @param {*} [options] Override http request option.
1500
+ * @throws {RequiredError}
1501
+ */
1502
+ listDmsDatabases: (orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1491
1503
  /**
1492
1504
  *
1493
1505
  * @summary List cluster endpoints
@@ -1669,10 +1681,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1669
1681
  * @param {string} id id of the datasource
1670
1682
  * @param {string} schema schema or database name
1671
1683
  * @param {string} type object type
1684
+ * @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
1672
1685
  * @param {*} [options] Override http request option.
1673
1686
  * @throws {RequiredError}
1674
1687
  */
1675
- listObjectNamesByType: (orgName: string, clusterName: string, id: string, schema: string, type: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1688
+ listObjectNamesByType: (orgName: string, clusterName: string, id: string, schema: string, type: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1676
1689
  /**
1677
1690
  *
1678
1691
  * @summary list the type and number of database objects in the specified database or schema
@@ -1680,10 +1693,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1680
1693
  * @param {string} clusterName name of the cluster
1681
1694
  * @param {string} id id of the datasource
1682
1695
  * @param {string} schema schema or database name
1696
+ * @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
1683
1697
  * @param {*} [options] Override http request option.
1684
1698
  * @throws {RequiredError}
1685
1699
  */
1686
- listObjectTypesInSchema: (orgName: string, clusterName: string, id: string, schema: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1700
+ listObjectTypesInSchema: (orgName: string, clusterName: string, id: string, schema: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1687
1701
  /**
1688
1702
  *
1689
1703
  * @summary List objects tree for selective backup
@@ -3621,10 +3635,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
3621
3635
  * @param {string} schema schema or database name
3622
3636
  * @param {string} type object type
3623
3637
  * @param {string} objectName object name
3638
+ * @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
3624
3639
  * @param {*} [options] Override http request option.
3625
3640
  * @throws {RequiredError}
3626
3641
  */
3627
- getObjectInfo(orgName: string, clusterName: string, id: string, schema: string, type: string, objectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsObjectResponse>>;
3642
+ getObjectInfo(orgName: string, clusterName: string, id: string, schema: string, type: string, objectName: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsObjectResponse>>;
3628
3643
  /**
3629
3644
  *
3630
3645
  * @summary Get a parameter of an organization
@@ -3697,10 +3712,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
3697
3712
  * @param {string} orgName name of the Org
3698
3713
  * @param {string} clusterName name of the cluster
3699
3714
  * @param {string} id id of the datasource
3715
+ * @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
3700
3716
  * @param {*} [options] Override http request option.
3701
3717
  * @throws {RequiredError}
3702
3718
  */
3703
- getSchemaList(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
3719
+ getSchemaList(orgName: string, clusterName: string, id: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
3704
3720
  /**
3705
3721
  * Get statistics summary for slow logs of a cluster
3706
3722
  * @summary Get cluster slow log statistics
@@ -3955,6 +3971,16 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
3955
3971
  * @throws {RequiredError}
3956
3972
  */
3957
3973
  listDatabases(engineName: string, orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatabaseList>>;
3974
+ /**
3975
+ *
3976
+ * @summary list all databases of the datasource
3977
+ * @param {string} orgName name of the Org
3978
+ * @param {string} clusterName name of the cluster
3979
+ * @param {string} id id of the datasource
3980
+ * @param {*} [options] Override http request option.
3981
+ * @throws {RequiredError}
3982
+ */
3983
+ listDmsDatabases(orgName: string, clusterName: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
3958
3984
  /**
3959
3985
  *
3960
3986
  * @summary List cluster endpoints
@@ -4136,10 +4162,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4136
4162
  * @param {string} id id of the datasource
4137
4163
  * @param {string} schema schema or database name
4138
4164
  * @param {string} type object type
4165
+ * @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
4139
4166
  * @param {*} [options] Override http request option.
4140
4167
  * @throws {RequiredError}
4141
4168
  */
4142
- listObjectNamesByType(orgName: string, clusterName: string, id: string, schema: string, type: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
4169
+ listObjectNamesByType(orgName: string, clusterName: string, id: string, schema: string, type: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
4143
4170
  /**
4144
4171
  *
4145
4172
  * @summary list the type and number of database objects in the specified database or schema
@@ -4147,10 +4174,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
4147
4174
  * @param {string} clusterName name of the cluster
4148
4175
  * @param {string} id id of the datasource
4149
4176
  * @param {string} schema schema or database name
4177
+ * @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
4150
4178
  * @param {*} [options] Override http request option.
4151
4179
  * @throws {RequiredError}
4152
4180
  */
4153
- listObjectTypesInSchema(orgName: string, clusterName: string, id: string, schema: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsObject>>>;
4181
+ listObjectTypesInSchema(orgName: string, clusterName: string, id: string, schema: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsObject>>>;
4154
4182
  /**
4155
4183
  *
4156
4184
  * @summary List objects tree for selective backup
@@ -6137,6 +6165,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
6137
6165
  * @throws {RequiredError}
6138
6166
  */
6139
6167
  listDatabases(requestParameters: SharedApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList>;
6168
+ /**
6169
+ *
6170
+ * @summary list all databases of the datasource
6171
+ * @param {SharedApiListDmsDatabasesRequest} requestParameters Request parameters.
6172
+ * @param {*} [options] Override http request option.
6173
+ * @throws {RequiredError}
6174
+ */
6175
+ listDmsDatabases(requestParameters: SharedApiListDmsDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
6140
6176
  /**
6141
6177
  *
6142
6178
  * @summary List cluster endpoints
@@ -8144,6 +8180,15 @@ export interface SharedApiInterface {
8144
8180
  * @memberof SharedApiInterface
8145
8181
  */
8146
8182
  listDatabases(requestParameters: SharedApiListDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatabaseList>;
8183
+ /**
8184
+ *
8185
+ * @summary list all databases of the datasource
8186
+ * @param {SharedApiListDmsDatabasesRequest} requestParameters Request parameters.
8187
+ * @param {*} [options] Override http request option.
8188
+ * @throws {RequiredError}
8189
+ * @memberof SharedApiInterface
8190
+ */
8191
+ listDmsDatabases(requestParameters: SharedApiListDmsDatabasesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
8147
8192
  /**
8148
8193
  *
8149
8194
  * @summary List cluster endpoints
@@ -11554,6 +11599,12 @@ export interface SharedApiGetObjectInfoRequest {
11554
11599
  * @memberof SharedApiGetObjectInfo
11555
11600
  */
11556
11601
  readonly objectName: string;
11602
+ /**
11603
+ * database name, used by engines such as MSSQL when reading object metadata inside a schema
11604
+ * @type {string}
11605
+ * @memberof SharedApiGetObjectInfo
11606
+ */
11607
+ readonly database?: string;
11557
11608
  }
11558
11609
  /**
11559
11610
  * Request parameters for getOrgParameter operation in SharedApi.
@@ -11730,6 +11781,12 @@ export interface SharedApiGetSchemaListRequest {
11730
11781
  * @memberof SharedApiGetSchemaList
11731
11782
  */
11732
11783
  readonly id: string;
11784
+ /**
11785
+ * database name, used by engines such as MSSQL when listing schemas inside a database
11786
+ * @type {string}
11787
+ * @memberof SharedApiGetSchemaList
11788
+ */
11789
+ readonly database?: string;
11733
11790
  }
11734
11791
  /**
11735
11792
  * Request parameters for getSlowLogStats operation in SharedApi.
@@ -12443,6 +12500,31 @@ export interface SharedApiListDatabasesRequest {
12443
12500
  */
12444
12501
  readonly clusterName: string;
12445
12502
  }
12503
+ /**
12504
+ * Request parameters for listDmsDatabases operation in SharedApi.
12505
+ * @export
12506
+ * @interface SharedApiListDmsDatabasesRequest
12507
+ */
12508
+ export interface SharedApiListDmsDatabasesRequest {
12509
+ /**
12510
+ * name of the Org
12511
+ * @type {string}
12512
+ * @memberof SharedApiListDmsDatabases
12513
+ */
12514
+ readonly orgName: string;
12515
+ /**
12516
+ * name of the cluster
12517
+ * @type {string}
12518
+ * @memberof SharedApiListDmsDatabases
12519
+ */
12520
+ readonly clusterName: string;
12521
+ /**
12522
+ * id of the datasource
12523
+ * @type {string}
12524
+ * @memberof SharedApiListDmsDatabases
12525
+ */
12526
+ readonly id: string;
12527
+ }
12446
12528
  /**
12447
12529
  * Request parameters for listEndpoints operation in SharedApi.
12448
12530
  * @export
@@ -12873,6 +12955,12 @@ export interface SharedApiListObjectNamesByTypeRequest {
12873
12955
  * @memberof SharedApiListObjectNamesByType
12874
12956
  */
12875
12957
  readonly type: string;
12958
+ /**
12959
+ * database name, used by engines such as MSSQL when listing object names inside a schema
12960
+ * @type {string}
12961
+ * @memberof SharedApiListObjectNamesByType
12962
+ */
12963
+ readonly database?: string;
12876
12964
  }
12877
12965
  /**
12878
12966
  * Request parameters for listObjectTypesInSchema operation in SharedApi.
@@ -12904,6 +12992,12 @@ export interface SharedApiListObjectTypesInSchemaRequest {
12904
12992
  * @memberof SharedApiListObjectTypesInSchema
12905
12993
  */
12906
12994
  readonly schema: string;
12995
+ /**
12996
+ * database name, used by engines such as MSSQL when listing objects inside a schema
12997
+ * @type {string}
12998
+ * @memberof SharedApiListObjectTypesInSchema
12999
+ */
13000
+ readonly database?: string;
12907
13001
  }
12908
13002
  /**
12909
13003
  * Request parameters for listObjectsTreeForSelectiveBackup operation in SharedApi.
@@ -16737,6 +16831,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
16737
16831
  * @memberof SharedApi
16738
16832
  */
16739
16833
  listDatabases(requestParameters: SharedApiListDatabasesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DatabaseList, any, {}>>;
16834
+ /**
16835
+ *
16836
+ * @summary list all databases of the datasource
16837
+ * @param {SharedApiListDmsDatabasesRequest} requestParameters Request parameters.
16838
+ * @param {*} [options] Override http request option.
16839
+ * @throws {RequiredError}
16840
+ * @memberof SharedApi
16841
+ */
16842
+ listDmsDatabases(requestParameters: SharedApiListDmsDatabasesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
16740
16843
  /**
16741
16844
  *
16742
16845
  * @summary List cluster endpoints