kb-cloud-client-typescript 2.4.0-alpha.73 → 2.4.0-alpha.75

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 (66) hide show
  1. package/dist/adminapi/apis/dms-api.d.ts +0 -152
  2. package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/dms-api.js +0 -165
  4. package/dist/adminapi/apis/dms-api.js.map +1 -1
  5. package/dist/adminapi/apis/shared-api.d.ts +0 -152
  6. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/shared-api.js +0 -165
  8. package/dist/adminapi/apis/shared-api.js.map +1 -1
  9. package/dist/adminapi/models/data-import200-response.d.ts +7 -1
  10. package/dist/adminapi/models/data-import200-response.d.ts.map +1 -1
  11. package/dist/adminapi/models/index.d.ts +1 -2
  12. package/dist/adminapi/models/index.d.ts.map +1 -1
  13. package/dist/adminapi/models/index.js +1 -2
  14. package/dist/adminapi/models/index.js.map +1 -1
  15. package/dist/adminapi/models/provision-config.d.ts +3 -2
  16. package/dist/adminapi/models/provision-config.d.ts.map +1 -1
  17. package/dist/adminapi/models/{dms-task-info.js → victoria-logs-config.d.ts} +7 -5
  18. package/dist/adminapi/models/victoria-logs-config.d.ts.map +1 -0
  19. package/dist/adminapi/models/{dms-task-list.js → victoria-logs-config.js} +1 -1
  20. package/dist/adminapi/models/victoria-logs-config.js.map +1 -0
  21. package/dist/openapi/apis/dms-api.d.ts +0 -152
  22. package/dist/openapi/apis/dms-api.d.ts.map +1 -1
  23. package/dist/openapi/apis/dms-api.js +0 -165
  24. package/dist/openapi/apis/dms-api.js.map +1 -1
  25. package/dist/openapi/apis/shared-api.d.ts +0 -152
  26. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  27. package/dist/openapi/apis/shared-api.js +0 -165
  28. package/dist/openapi/apis/shared-api.js.map +1 -1
  29. package/dist/openapi/models/data-import200-response.d.ts +7 -1
  30. package/dist/openapi/models/data-import200-response.d.ts.map +1 -1
  31. package/dist/openapi/models/index.d.ts +0 -2
  32. package/dist/openapi/models/index.d.ts.map +1 -1
  33. package/dist/openapi/models/index.js +0 -2
  34. package/dist/openapi/models/index.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/adminapi/.openapi-generator/FILES +1 -2
  37. package/src/adminapi/apis/dms-api.ts +0 -267
  38. package/src/adminapi/apis/shared-api.ts +0 -267
  39. package/src/adminapi/models/data-import200-response.ts +7 -1
  40. package/src/adminapi/models/index.ts +1 -2
  41. package/src/adminapi/models/provision-config.ts +5 -2
  42. package/src/adminapi/models/{dms-task-list.ts → victoria-logs-config.ts} +4 -11
  43. package/src/adminapi.yaml +24 -119
  44. package/src/openapi/.openapi-generator/FILES +0 -2
  45. package/src/openapi/apis/dms-api.ts +0 -267
  46. package/src/openapi/apis/shared-api.ts +0 -267
  47. package/src/openapi/models/data-import200-response.ts +7 -1
  48. package/src/openapi/models/index.ts +0 -2
  49. package/src/openapi.yaml +4 -117
  50. package/dist/adminapi/models/dms-task-info.d.ts +0 -61
  51. package/dist/adminapi/models/dms-task-info.d.ts.map +0 -1
  52. package/dist/adminapi/models/dms-task-info.js.map +0 -1
  53. package/dist/adminapi/models/dms-task-list.d.ts +0 -26
  54. package/dist/adminapi/models/dms-task-list.d.ts.map +0 -1
  55. package/dist/adminapi/models/dms-task-list.js.map +0 -1
  56. package/dist/openapi/models/dms-task-info.d.ts +0 -61
  57. package/dist/openapi/models/dms-task-info.d.ts.map +0 -1
  58. package/dist/openapi/models/dms-task-info.js +0 -16
  59. package/dist/openapi/models/dms-task-info.js.map +0 -1
  60. package/dist/openapi/models/dms-task-list.d.ts +0 -26
  61. package/dist/openapi/models/dms-task-list.d.ts.map +0 -1
  62. package/dist/openapi/models/dms-task-list.js +0 -16
  63. package/dist/openapi/models/dms-task-list.js.map +0 -1
  64. package/src/adminapi/models/dms-task-info.ts +0 -66
  65. package/src/openapi/models/dms-task-info.ts +0 -66
  66. package/src/openapi/models/dms-task-list.ts +0 -33
@@ -1131,96 +1131,6 @@ const DmsApiAxiosParamCreator = function (configuration) {
1131
1131
  options: localVarRequestOptions,
1132
1132
  };
1133
1133
  },
1134
- /**
1135
- *
1136
- * @summary Get the task list
1137
- * @param {string} orgName name of the Org
1138
- * @param {string} clusterName name of the cluster
1139
- * @param {string} id id of the datasource
1140
- * @param {*} [options] Override http request option.
1141
- * @throws {RequiredError}
1142
- */
1143
- getTaskList: async (orgName, clusterName, id, options = {}) => {
1144
- // verify required parameter 'orgName' is not null or undefined
1145
- (0, common_1.assertParamExists)('getTaskList', 'orgName', orgName);
1146
- // verify required parameter 'clusterName' is not null or undefined
1147
- (0, common_1.assertParamExists)('getTaskList', 'clusterName', clusterName);
1148
- // verify required parameter 'id' is not null or undefined
1149
- (0, common_1.assertParamExists)('getTaskList', 'id', id);
1150
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/tasks`
1151
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1152
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1153
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1154
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1155
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1156
- let baseOptions;
1157
- if (configuration) {
1158
- baseOptions = configuration.baseOptions;
1159
- }
1160
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1161
- const localVarHeaderParameter = {};
1162
- const localVarQueryParameter = {};
1163
- // authentication BearerToken required
1164
- // http bearer authentication required
1165
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1166
- // authentication DigestAuth required
1167
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1168
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1169
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1170
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1171
- return {
1172
- url: (0, common_1.toPathString)(localVarUrlObj),
1173
- options: localVarRequestOptions,
1174
- };
1175
- },
1176
- /**
1177
- *
1178
- * @summary Get the task progress
1179
- * @param {string} orgName name of the Org
1180
- * @param {string} clusterName name of the cluster
1181
- * @param {string} id id of the datasource
1182
- * @param {string} taskId the task id
1183
- * @param {*} [options] Override http request option.
1184
- * @throws {RequiredError}
1185
- */
1186
- getTaskProgress: async (orgName, clusterName, id, taskId, options = {}) => {
1187
- // verify required parameter 'orgName' is not null or undefined
1188
- (0, common_1.assertParamExists)('getTaskProgress', 'orgName', orgName);
1189
- // verify required parameter 'clusterName' is not null or undefined
1190
- (0, common_1.assertParamExists)('getTaskProgress', 'clusterName', clusterName);
1191
- // verify required parameter 'id' is not null or undefined
1192
- (0, common_1.assertParamExists)('getTaskProgress', 'id', id);
1193
- // verify required parameter 'taskId' is not null or undefined
1194
- (0, common_1.assertParamExists)('getTaskProgress', 'taskId', taskId);
1195
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/task`
1196
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1197
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1198
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1199
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1200
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1201
- let baseOptions;
1202
- if (configuration) {
1203
- baseOptions = configuration.baseOptions;
1204
- }
1205
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1206
- const localVarHeaderParameter = {};
1207
- const localVarQueryParameter = {};
1208
- // authentication BearerToken required
1209
- // http bearer authentication required
1210
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1211
- // authentication DigestAuth required
1212
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1213
- if (taskId !== undefined) {
1214
- localVarQueryParameter['taskId'] = taskId;
1215
- }
1216
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1217
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1218
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1219
- return {
1220
- url: (0, common_1.toPathString)(localVarUrlObj),
1221
- options: localVarRequestOptions,
1222
- };
1223
- },
1224
1134
  /**
1225
1135
  *
1226
1136
  * @summary list the datasource of a cluster
@@ -3817,39 +3727,6 @@ const DmsApiFp = function (configuration) {
3817
3727
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getSchemaList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3818
3728
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3819
3729
  },
3820
- /**
3821
- *
3822
- * @summary Get the task list
3823
- * @param {string} orgName name of the Org
3824
- * @param {string} clusterName name of the cluster
3825
- * @param {string} id id of the datasource
3826
- * @param {*} [options] Override http request option.
3827
- * @throws {RequiredError}
3828
- */
3829
- async getTaskList(orgName, clusterName, id, options) {
3830
- var _a, _b, _c;
3831
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskList(orgName, clusterName, id, options);
3832
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3833
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getTaskList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3834
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3835
- },
3836
- /**
3837
- *
3838
- * @summary Get the task progress
3839
- * @param {string} orgName name of the Org
3840
- * @param {string} clusterName name of the cluster
3841
- * @param {string} id id of the datasource
3842
- * @param {string} taskId the task id
3843
- * @param {*} [options] Override http request option.
3844
- * @throws {RequiredError}
3845
- */
3846
- async getTaskProgress(orgName, clusterName, id, taskId, options) {
3847
- var _a, _b, _c;
3848
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskProgress(orgName, clusterName, id, taskId, options);
3849
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3850
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getTaskProgress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3851
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3852
- },
3853
3730
  /**
3854
3731
  *
3855
3732
  * @summary list the datasource of a cluster
@@ -4875,26 +4752,6 @@ const DmsApiFactory = function (configuration, basePath, axios) {
4875
4752
  getSchemaList(requestParameters, options) {
4876
4753
  return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
4877
4754
  },
4878
- /**
4879
- *
4880
- * @summary Get the task list
4881
- * @param {DmsApiGetTaskListRequest} requestParameters Request parameters.
4882
- * @param {*} [options] Override http request option.
4883
- * @throws {RequiredError}
4884
- */
4885
- getTaskList(requestParameters, options) {
4886
- return localVarFp.getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
4887
- },
4888
- /**
4889
- *
4890
- * @summary Get the task progress
4891
- * @param {DmsApiGetTaskProgressRequest} requestParameters Request parameters.
4892
- * @param {*} [options] Override http request option.
4893
- * @throws {RequiredError}
4894
- */
4895
- getTaskProgress(requestParameters, options) {
4896
- return localVarFp.getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(axios, basePath));
4897
- },
4898
4755
  /**
4899
4756
  *
4900
4757
  * @summary list the datasource of a cluster
@@ -5600,28 +5457,6 @@ class DmsApi extends base_1.BaseAPI {
5600
5457
  getSchemaList(requestParameters, options) {
5601
5458
  return (0, exports.DmsApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
5602
5459
  }
5603
- /**
5604
- *
5605
- * @summary Get the task list
5606
- * @param {DmsApiGetTaskListRequest} requestParameters Request parameters.
5607
- * @param {*} [options] Override http request option.
5608
- * @throws {RequiredError}
5609
- * @memberof DmsApi
5610
- */
5611
- getTaskList(requestParameters, options) {
5612
- return (0, exports.DmsApiFp)(this.configuration).getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5613
- }
5614
- /**
5615
- *
5616
- * @summary Get the task progress
5617
- * @param {DmsApiGetTaskProgressRequest} requestParameters Request parameters.
5618
- * @param {*} [options] Override http request option.
5619
- * @throws {RequiredError}
5620
- * @memberof DmsApi
5621
- */
5622
- getTaskProgress(requestParameters, options) {
5623
- return (0, exports.DmsApiFp)(this.configuration).getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(this.axios, this.basePath));
5624
- }
5625
5460
  /**
5626
5461
  *
5627
5462
  * @summary list the datasource of a cluster