kb-cloud-client-typescript 2.4.0-alpha.25 → 2.4.0-alpha.27

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 (94) hide show
  1. package/dist/adminapi/api.d.ts +0 -1
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +0 -1
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/alert-object-api.d.ts +10 -2
  6. package/dist/adminapi/apis/alert-object-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/alert-object-api.js +10 -5
  8. package/dist/adminapi/apis/alert-object-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +0 -69
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +0 -78
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/disaster-recovery-task.d.ts +0 -6
  14. package/dist/adminapi/models/disaster-recovery-task.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.d.ts +1 -1
  16. package/dist/adminapi/models/index.d.ts.map +1 -1
  17. package/dist/adminapi/models/index.js +1 -1
  18. package/dist/adminapi/models/index.js.map +1 -1
  19. package/dist/adminapi/models/ops-request-name.d.ts +0 -6
  20. package/dist/adminapi/models/ops-request-name.d.ts.map +1 -1
  21. package/dist/adminapi/models/redis-info-response.d.ts +6 -0
  22. package/dist/adminapi/models/redis-info-response.d.ts.map +1 -1
  23. package/dist/adminapi/models/redis-key-scan-progress.d.ts +49 -0
  24. package/dist/adminapi/models/redis-key-scan-progress.d.ts.map +1 -0
  25. package/dist/adminapi/models/{autohealing-list-inner.js → redis-key-scan-progress.js} +1 -1
  26. package/dist/adminapi/models/redis-key-scan-progress.js.map +1 -0
  27. package/dist/adminapi/models/redis-key-summary-list.d.ts +7 -0
  28. package/dist/adminapi/models/redis-key-summary-list.d.ts.map +1 -1
  29. package/dist/openapi/api.d.ts +0 -1
  30. package/dist/openapi/api.d.ts.map +1 -1
  31. package/dist/openapi/api.js +0 -1
  32. package/dist/openapi/api.js.map +1 -1
  33. package/dist/openapi/apis/shared-api.d.ts +0 -69
  34. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  35. package/dist/openapi/apis/shared-api.js +0 -78
  36. package/dist/openapi/apis/shared-api.js.map +1 -1
  37. package/dist/openapi/models/data-check-detail-item.d.ts +2 -2
  38. package/dist/openapi/models/disaster-recovery-task.d.ts +0 -6
  39. package/dist/openapi/models/disaster-recovery-task.d.ts.map +1 -1
  40. package/dist/openapi/models/index.d.ts +1 -1
  41. package/dist/openapi/models/index.d.ts.map +1 -1
  42. package/dist/openapi/models/index.js +1 -1
  43. package/dist/openapi/models/index.js.map +1 -1
  44. package/dist/openapi/models/ops-request-name.d.ts +0 -6
  45. package/dist/openapi/models/ops-request-name.d.ts.map +1 -1
  46. package/dist/openapi/models/redis-info-response.d.ts +6 -0
  47. package/dist/openapi/models/redis-info-response.d.ts.map +1 -1
  48. package/dist/openapi/models/redis-key-scan-progress.d.ts +49 -0
  49. package/dist/openapi/models/redis-key-scan-progress.d.ts.map +1 -0
  50. package/dist/openapi/models/{autohealing-list-inner.js → redis-key-scan-progress.js} +1 -1
  51. package/dist/openapi/models/redis-key-scan-progress.js.map +1 -0
  52. package/dist/openapi/models/redis-key-summary-list.d.ts +7 -0
  53. package/dist/openapi/models/redis-key-summary-list.d.ts.map +1 -1
  54. package/package.json +1 -1
  55. package/src/adminapi/.openapi-generator/FILES +1 -2
  56. package/src/adminapi/api.ts +0 -1
  57. package/src/adminapi/apis/alert-object-api.ts +18 -5
  58. package/src/adminapi/apis/shared-api.ts +0 -119
  59. package/src/adminapi/models/disaster-recovery-task.ts +0 -6
  60. package/src/adminapi/models/index.ts +1 -1
  61. package/src/adminapi/models/ops-request-name.ts +0 -6
  62. package/src/adminapi/models/redis-info-response.ts +6 -0
  63. package/src/adminapi/models/redis-key-scan-progress.ts +54 -0
  64. package/src/adminapi/models/redis-key-summary-list.ts +9 -0
  65. package/src/adminapi.yaml +39 -75
  66. package/src/openapi/.openapi-generator/FILES +1 -2
  67. package/src/openapi/api.ts +0 -1
  68. package/src/openapi/apis/shared-api.ts +0 -119
  69. package/src/openapi/models/data-check-detail-item.ts +2 -2
  70. package/src/openapi/models/disaster-recovery-task.ts +0 -6
  71. package/src/openapi/models/index.ts +1 -1
  72. package/src/openapi/models/ops-request-name.ts +0 -6
  73. package/src/openapi/models/redis-info-response.ts +6 -0
  74. package/src/openapi/models/redis-key-scan-progress.ts +54 -0
  75. package/src/openapi/models/redis-key-summary-list.ts +9 -0
  76. package/src/openapi.yaml +35 -77
  77. package/dist/adminapi/apis/autohealing-api.d.ts +0 -117
  78. package/dist/adminapi/apis/autohealing-api.d.ts.map +0 -1
  79. package/dist/adminapi/apis/autohealing-api.js +0 -142
  80. package/dist/adminapi/apis/autohealing-api.js.map +0 -1
  81. package/dist/adminapi/models/autohealing-list-inner.d.ts +0 -97
  82. package/dist/adminapi/models/autohealing-list-inner.d.ts.map +0 -1
  83. package/dist/adminapi/models/autohealing-list-inner.js.map +0 -1
  84. package/dist/openapi/apis/autohealing-api.d.ts +0 -117
  85. package/dist/openapi/apis/autohealing-api.d.ts.map +0 -1
  86. package/dist/openapi/apis/autohealing-api.js +0 -142
  87. package/dist/openapi/apis/autohealing-api.js.map +0 -1
  88. package/dist/openapi/models/autohealing-list-inner.d.ts +0 -97
  89. package/dist/openapi/models/autohealing-list-inner.d.ts.map +0 -1
  90. package/dist/openapi/models/autohealing-list-inner.js.map +0 -1
  91. package/src/adminapi/apis/autohealing-api.ts +0 -187
  92. package/src/adminapi/models/autohealing-list-inner.ts +0 -102
  93. package/src/openapi/apis/autohealing-api.ts +0 -187
  94. package/src/openapi/models/autohealing-list-inner.ts +0 -102
package/src/openapi.yaml CHANGED
@@ -4742,34 +4742,6 @@ paths:
4742
4742
  $ref: '#/components/responses/404'
4743
4743
  '500':
4744
4744
  $ref: '#/components/responses/500'
4745
- /api/v1/organizations/{orgName}/clusters/{clusterName}/autohealing:
4746
- get:
4747
- operationId: getAutohealing
4748
- summary: list autohealing job
4749
- deprecated: true
4750
- parameters:
4751
- - description: name of the Org
4752
- in: path
4753
- name: orgName
4754
- required: true
4755
- schema:
4756
- type: string
4757
- - description: name of the Cluster
4758
- in: path
4759
- name: clusterName
4760
- required: true
4761
- schema:
4762
- type: string
4763
- responses:
4764
- '200':
4765
- description: Get autohealing job list
4766
- content:
4767
- application/json:
4768
- schema:
4769
- $ref: '#/components/schemas/autohealingList'
4770
- tags:
4771
- - autohealing
4772
- - shared
4773
4745
  /api/v1/organizations/{orgName}/clusterTags:
4774
4746
  get:
4775
4747
  tags:
@@ -24240,8 +24212,6 @@ components:
24240
24212
  properties:
24241
24213
  opsRequestName:
24242
24214
  type: string
24243
- clusterTaskId:
24244
- type: string
24245
24215
  taskId:
24246
24216
  type: string
24247
24217
  required:
@@ -25308,47 +25278,6 @@ components:
25308
25278
  - volumes
25309
25279
  - component
25310
25280
  type: object
25311
- autohealingList:
25312
- description: An Autohealing object in k8s
25313
- type: array
25314
- items:
25315
- type: object
25316
- properties:
25317
- name:
25318
- type: string
25319
- createdAt:
25320
- type: string
25321
- format: date-time
25322
- updatedAt:
25323
- type: string
25324
- format: date-time
25325
- componentName:
25326
- description: component to be rebuilt
25327
- type: string
25328
- podName:
25329
- description: pod to be rebuilt
25330
- type: string
25331
- startTime:
25332
- description: rebuild start time
25333
- type: string
25334
- format: date-time
25335
- phase:
25336
- description: current phase of rebuild job
25337
- type: string
25338
- started:
25339
- description: whether the job is started
25340
- type: boolean
25341
- startMessage:
25342
- type: string
25343
- finished:
25344
- description: whether the job is finished
25345
- type: boolean
25346
- finishMessage:
25347
- type: string
25348
- backupName:
25349
- type: string
25350
- rebuildInstanceOpsRequestName:
25351
- type: string
25352
25281
  clusterTags:
25353
25282
  properties:
25354
25283
  clusterId:
@@ -32823,6 +32752,33 @@ components:
32823
32752
  aclAccess:
32824
32753
  type: string
32825
32754
  description: datasource ACL access result for this key
32755
+ RedisKeyScanProgress:
32756
+ type: object
32757
+ description: Redis key browser scan progress for the current page.
32758
+ properties:
32759
+ scope:
32760
+ type: string
32761
+ description: Scan scope, either node or cluster.
32762
+ x-omitempty: false
32763
+ total:
32764
+ type: integer
32765
+ format: int64
32766
+ description: Total keys in the scan scope when available.
32767
+ x-omitempty: false
32768
+ scanned:
32769
+ type: integer
32770
+ format: int64
32771
+ description: Number of key names returned by SCAN in this page before type filtering.
32772
+ x-omitempty: false
32773
+ loaded:
32774
+ type: integer
32775
+ format: int64
32776
+ description: Number of key summaries loaded in this page after filtering and metadata lookup.
32777
+ x-omitempty: false
32778
+ complete:
32779
+ type: boolean
32780
+ description: Whether the scan cursor is complete after this page.
32781
+ x-omitempty: false
32826
32782
  RedisKeySummaryList:
32827
32783
  type: object
32828
32784
  properties:
@@ -32837,6 +32793,8 @@ components:
32837
32793
  type: boolean
32838
32794
  description: Whether another key page should be requested.
32839
32795
  x-omitempty: false
32796
+ progress:
32797
+ $ref: '#/components/schemas/RedisKeyScanProgress'
32840
32798
  RedisAnalysisFilter:
32841
32799
  type: object
32842
32800
  properties:
@@ -33341,6 +33299,10 @@ components:
33341
33299
  RedisInfoResponse:
33342
33300
  type: object
33343
33301
  properties:
33302
+ scope:
33303
+ type: string
33304
+ description: INFO scope, either node or cluster.
33305
+ x-omitempty: false
33344
33306
  section:
33345
33307
  type: string
33346
33308
  nodeId:
@@ -34547,10 +34509,6 @@ components:
34547
34509
  description: Task ID
34548
34510
  type: string
34549
34511
  nullable: true
34550
- clusterTaskId:
34551
- description: Cluster task ID
34552
- type: string
34553
- nullable: true
34554
34512
  required:
34555
34513
  - taskId
34556
34514
  type: object
@@ -37482,10 +37440,10 @@ components:
37482
37440
  description: Struct check object key. Present for struct details; omitted for snapshot row details.
37483
37441
  schema:
37484
37442
  type: string
37485
- description: Source schema or database. Present for snapshot details; omitted for struct details.
37443
+ description: Source schema or database from the requested detail scope.
37486
37444
  tb:
37487
37445
  type: string
37488
- description: Source table. Present for snapshot details; omitted for struct details.
37446
+ description: Source table from the requested detail scope.
37489
37447
  target_schema:
37490
37448
  type: string
37491
37449
  nullable: true
@@ -1,117 +0,0 @@
1
- /**
2
- * Admin API
3
- * The Admin API is used to manage the ApeCloud platform.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: support@apecloud.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import { type RequestArgs, BaseAPI } from '../base';
15
- import type { AutohealingListInner } from '../models';
16
- /**
17
- * AutohealingApi - axios parameter creator
18
- * @export
19
- */
20
- export declare const AutohealingApiAxiosParamCreator: (configuration?: Configuration) => {
21
- /**
22
- *
23
- * @summary list autohealing job
24
- * @param {string} orgName name of the Org
25
- * @param {string} clusterName name of the Cluster
26
- * @param {*} [options] Override http request option.
27
- * @deprecated
28
- * @throws {RequiredError}
29
- */
30
- getAutohealing: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
- };
32
- /**
33
- * AutohealingApi - functional programming interface
34
- * @export
35
- */
36
- export declare const AutohealingApiFp: (configuration?: Configuration) => {
37
- /**
38
- *
39
- * @summary list autohealing job
40
- * @param {string} orgName name of the Org
41
- * @param {string} clusterName name of the Cluster
42
- * @param {*} [options] Override http request option.
43
- * @deprecated
44
- * @throws {RequiredError}
45
- */
46
- getAutohealing(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AutohealingListInner>>>;
47
- };
48
- /**
49
- * AutohealingApi - factory interface
50
- * @export
51
- */
52
- export declare const AutohealingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
53
- /**
54
- *
55
- * @summary list autohealing job
56
- * @param {AutohealingApiGetAutohealingRequest} requestParameters Request parameters.
57
- * @param {*} [options] Override http request option.
58
- * @deprecated
59
- * @throws {RequiredError}
60
- */
61
- getAutohealing(requestParameters: AutohealingApiGetAutohealingRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutohealingListInner>>;
62
- };
63
- /**
64
- * AutohealingApi - interface
65
- * @export
66
- * @interface AutohealingApi
67
- */
68
- export interface AutohealingApiInterface {
69
- /**
70
- *
71
- * @summary list autohealing job
72
- * @param {AutohealingApiGetAutohealingRequest} requestParameters Request parameters.
73
- * @param {*} [options] Override http request option.
74
- * @deprecated
75
- * @throws {RequiredError}
76
- * @memberof AutohealingApiInterface
77
- */
78
- getAutohealing(requestParameters: AutohealingApiGetAutohealingRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutohealingListInner>>;
79
- }
80
- /**
81
- * Request parameters for getAutohealing operation in AutohealingApi.
82
- * @export
83
- * @interface AutohealingApiGetAutohealingRequest
84
- */
85
- export interface AutohealingApiGetAutohealingRequest {
86
- /**
87
- * name of the Org
88
- * @type {string}
89
- * @memberof AutohealingApiGetAutohealing
90
- */
91
- readonly orgName: string;
92
- /**
93
- * name of the Cluster
94
- * @type {string}
95
- * @memberof AutohealingApiGetAutohealing
96
- */
97
- readonly clusterName: string;
98
- }
99
- /**
100
- * AutohealingApi - object-oriented interface
101
- * @export
102
- * @class AutohealingApi
103
- * @extends {BaseAPI}
104
- */
105
- export declare class AutohealingApi extends BaseAPI implements AutohealingApiInterface {
106
- /**
107
- *
108
- * @summary list autohealing job
109
- * @param {AutohealingApiGetAutohealingRequest} requestParameters Request parameters.
110
- * @param {*} [options] Override http request option.
111
- * @deprecated
112
- * @throws {RequiredError}
113
- * @memberof AutohealingApi
114
- */
115
- getAutohealing(requestParameters: AutohealingApiGetAutohealingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutohealingListInner[], any, {}>>;
116
- }
117
- //# sourceMappingURL=autohealing-api.d.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AC,CAAC;CAEtJ;AAED;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IAExB;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAC/B;AAED;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,OAAQ,YAAW,uBAAuB;IAC1E;;;;;;;;OAQG;IACI,cAAc,CAAC,iBAAiB,EAAE,mCAAmC,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGhH"}
@@ -1,142 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Admin API
6
- * The Admin API is used to manage the ApeCloud platform.
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: support@apecloud.com
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- var __importDefault = (this && this.__importDefault) || function (mod) {
16
- return (mod && mod.__esModule) ? mod : { "default": mod };
17
- };
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.AutohealingApi = exports.AutohealingApiFactory = exports.AutohealingApiFp = exports.AutohealingApiAxiosParamCreator = void 0;
20
- const axios_1 = __importDefault(require("axios"));
21
- // Some imports not used depending on template conditions
22
- // @ts-ignore
23
- const common_1 = require("../common");
24
- // @ts-ignore
25
- const base_1 = require("../base");
26
- /**
27
- * AutohealingApi - axios parameter creator
28
- * @export
29
- */
30
- const AutohealingApiAxiosParamCreator = function (configuration) {
31
- return {
32
- /**
33
- *
34
- * @summary list autohealing job
35
- * @param {string} orgName name of the Org
36
- * @param {string} clusterName name of the Cluster
37
- * @param {*} [options] Override http request option.
38
- * @deprecated
39
- * @throws {RequiredError}
40
- */
41
- getAutohealing: async (orgName, clusterName, options = {}) => {
42
- // verify required parameter 'orgName' is not null or undefined
43
- (0, common_1.assertParamExists)('getAutohealing', 'orgName', orgName);
44
- // verify required parameter 'clusterName' is not null or undefined
45
- (0, common_1.assertParamExists)('getAutohealing', 'clusterName', clusterName);
46
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/autohealing`
47
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
48
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
49
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
51
- let baseOptions;
52
- if (configuration) {
53
- baseOptions = configuration.baseOptions;
54
- }
55
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
56
- const localVarHeaderParameter = {};
57
- const localVarQueryParameter = {};
58
- // authentication BearerToken required
59
- // http bearer authentication required
60
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
61
- // authentication DigestAuth required
62
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
63
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
64
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
66
- return {
67
- url: (0, common_1.toPathString)(localVarUrlObj),
68
- options: localVarRequestOptions,
69
- };
70
- },
71
- };
72
- };
73
- exports.AutohealingApiAxiosParamCreator = AutohealingApiAxiosParamCreator;
74
- /**
75
- * AutohealingApi - functional programming interface
76
- * @export
77
- */
78
- const AutohealingApiFp = function (configuration) {
79
- const localVarAxiosParamCreator = (0, exports.AutohealingApiAxiosParamCreator)(configuration);
80
- return {
81
- /**
82
- *
83
- * @summary list autohealing job
84
- * @param {string} orgName name of the Org
85
- * @param {string} clusterName name of the Cluster
86
- * @param {*} [options] Override http request option.
87
- * @deprecated
88
- * @throws {RequiredError}
89
- */
90
- async getAutohealing(orgName, clusterName, options) {
91
- var _a, _b, _c;
92
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAutohealing(orgName, clusterName, options);
93
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
94
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AutohealingApi.getAutohealing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
95
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
96
- },
97
- };
98
- };
99
- exports.AutohealingApiFp = AutohealingApiFp;
100
- /**
101
- * AutohealingApi - factory interface
102
- * @export
103
- */
104
- const AutohealingApiFactory = function (configuration, basePath, axios) {
105
- const localVarFp = (0, exports.AutohealingApiFp)(configuration);
106
- return {
107
- /**
108
- *
109
- * @summary list autohealing job
110
- * @param {AutohealingApiGetAutohealingRequest} requestParameters Request parameters.
111
- * @param {*} [options] Override http request option.
112
- * @deprecated
113
- * @throws {RequiredError}
114
- */
115
- getAutohealing(requestParameters, options) {
116
- return localVarFp.getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
117
- },
118
- };
119
- };
120
- exports.AutohealingApiFactory = AutohealingApiFactory;
121
- /**
122
- * AutohealingApi - object-oriented interface
123
- * @export
124
- * @class AutohealingApi
125
- * @extends {BaseAPI}
126
- */
127
- class AutohealingApi extends base_1.BaseAPI {
128
- /**
129
- *
130
- * @summary list autohealing job
131
- * @param {AutohealingApiGetAutohealingRequest} requestParameters Request parameters.
132
- * @param {*} [options] Override http request option.
133
- * @deprecated
134
- * @throws {RequiredError}
135
- * @memberof AutohealingApi
136
- */
137
- getAutohealing(requestParameters, options) {
138
- return (0, exports.AutohealingApiFp)(this.configuration).getAutohealing(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
139
- }
140
- }
141
- exports.AutohealingApi = AutohealingApi;
142
- //# sourceMappingURL=autohealing-api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"autohealing-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/autohealing-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAGtH;;;GAGG;AACI,MAAM,+BAA+B,GAAG,UAAU,aAA6B;IAClF,OAAO;QACH;;;;;;;;WAQG;QACH,cAAc,EAAE,KAAK,EAAE,OAAe,EAAE,WAAmB,EAAE,UAAiC,EAAE,EAAwB,EAAE;YACtH,+DAA+D;YAC/D,IAAA,0BAAiB,EAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;YACvD,mEAAmE;YACnE,IAAA,0BAAiB,EAAC,gBAAgB,EAAE,aAAa,EAAE,WAAW,CAAC,CAAA;YAC/D,MAAM,YAAY,GAAG,sEAAsE;iBACtF,OAAO,CAAC,IAAI,SAAS,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;iBAC9D,OAAO,CAAC,IAAI,aAAa,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC5E,oFAAoF;YACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YAC7D,IAAI,WAAW,CAAC;YAChB,IAAI,aAAa,EAAE,CAAC;gBAChB,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;YAC5C,CAAC;YAED,MAAM,sBAAsB,iCAAK,MAAM,EAAE,KAAK,IAAK,WAAW,GAAK,OAAO,CAAC,CAAC;YAC5E,MAAM,uBAAuB,GAAG,EAAS,CAAC;YAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;YAEzC,sCA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eAAW,EAAE,gBAAS,EAAE,aAAa,CAAC,CAAC,KAAK,EAAE,+BAA+B,IAAI,QAAQ,CAAC,CAAC;QACpK,CAAC;KACJ,CAAA;AACL,CAAC,CAAC;AAnBW,QAAA,gBAAgB,oBAmB3B;AAEF;;;GAGG;AACI,MAAM,qBAAqB,GAAG,UAAU,aAA6B,EAAE,QAAiB,EAAE,KAAqB;IAClH,MAAM,UAAU,GAAG,IAAA,wBAAgB,EAAC,aAAa,CAAC,CAAA;IAClD,OAAO;QACH;;;;;;;WAOG;QACH,cAAc,CAAC,iBAAsD,EAAE,OAA+B;YAClG,OAAO,UAAU,CAAC,cAAc,CAAC,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;QACpJ,CAAC;KACJ,CAAC;AACN,CAAC,CAAC;AAfW,QAAA,qBAAqB,yBAehC;AA0CF;;;;;GAKG;AACH,MAAa,cAAe,SAAQ,cAAO;IACvC;;;;;;;;OAQG;IACI,cAAc,CAAC,iBAAsD,EAAE,OAA+B;QACzG,OAAO,IAAA,wBAAgB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,cAAc,CAAC,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxL,CAAC;CACJ;AAbD,wCAaC"}
@@ -1,97 +0,0 @@
1
- /**
2
- * Admin API
3
- * The Admin API is used to manage the ApeCloud platform.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: support@apecloud.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface AutohealingListInner
16
- */
17
- export interface AutohealingListInner {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AutohealingListInner
22
- */
23
- 'name'?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof AutohealingListInner
28
- */
29
- 'createdAt'?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof AutohealingListInner
34
- */
35
- 'updatedAt'?: string;
36
- /**
37
- * component to be rebuilt
38
- * @type {string}
39
- * @memberof AutohealingListInner
40
- */
41
- 'componentName'?: string;
42
- /**
43
- * pod to be rebuilt
44
- * @type {string}
45
- * @memberof AutohealingListInner
46
- */
47
- 'podName'?: string;
48
- /**
49
- * rebuild start time
50
- * @type {string}
51
- * @memberof AutohealingListInner
52
- */
53
- 'startTime'?: string;
54
- /**
55
- * current phase of rebuild job
56
- * @type {string}
57
- * @memberof AutohealingListInner
58
- */
59
- 'phase'?: string;
60
- /**
61
- * whether the job is started
62
- * @type {boolean}
63
- * @memberof AutohealingListInner
64
- */
65
- 'started'?: boolean;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof AutohealingListInner
70
- */
71
- 'startMessage'?: string;
72
- /**
73
- * whether the job is finished
74
- * @type {boolean}
75
- * @memberof AutohealingListInner
76
- */
77
- 'finished'?: boolean;
78
- /**
79
- *
80
- * @type {string}
81
- * @memberof AutohealingListInner
82
- */
83
- 'finishMessage'?: string;
84
- /**
85
- *
86
- * @type {string}
87
- * @memberof AutohealingListInner
88
- */
89
- 'backupName'?: string;
90
- /**
91
- *
92
- * @type {string}
93
- * @memberof AutohealingListInner
94
- */
95
- 'rebuildInstanceOpsRequestName'?: string;
96
- }
97
- //# sourceMappingURL=autohealing-list-inner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"autohealing-list-inner.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/autohealing-list-inner.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC5C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"autohealing-list-inner.js","sourceRoot":"","sources":["../../../src/adminapi/models/autohealing-list-inner.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -1,117 +0,0 @@
1
- /**
2
- * KubeBlocks Cloud API
3
- * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: support@apecloud.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import { type RequestArgs, BaseAPI } from '../base';
15
- import type { AutohealingListInner } from '../models';
16
- /**
17
- * AutohealingApi - axios parameter creator
18
- * @export
19
- */
20
- export declare const AutohealingApiAxiosParamCreator: (configuration?: Configuration) => {
21
- /**
22
- *
23
- * @summary list autohealing job
24
- * @param {string} orgName name of the Org
25
- * @param {string} clusterName name of the Cluster
26
- * @param {*} [options] Override http request option.
27
- * @deprecated
28
- * @throws {RequiredError}
29
- */
30
- getAutohealing: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
- };
32
- /**
33
- * AutohealingApi - functional programming interface
34
- * @export
35
- */
36
- export declare const AutohealingApiFp: (configuration?: Configuration) => {
37
- /**
38
- *
39
- * @summary list autohealing job
40
- * @param {string} orgName name of the Org
41
- * @param {string} clusterName name of the Cluster
42
- * @param {*} [options] Override http request option.
43
- * @deprecated
44
- * @throws {RequiredError}
45
- */
46
- getAutohealing(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AutohealingListInner>>>;
47
- };
48
- /**
49
- * AutohealingApi - factory interface
50
- * @export
51
- */
52
- export declare const AutohealingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
53
- /**
54
- *
55
- * @summary list autohealing job
56
- * @param {AutohealingApiGetAutohealingRequest} requestParameters Request parameters.
57
- * @param {*} [options] Override http request option.
58
- * @deprecated
59
- * @throws {RequiredError}
60
- */
61
- getAutohealing(requestParameters: AutohealingApiGetAutohealingRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutohealingListInner>>;
62
- };
63
- /**
64
- * AutohealingApi - interface
65
- * @export
66
- * @interface AutohealingApi
67
- */
68
- export interface AutohealingApiInterface {
69
- /**
70
- *
71
- * @summary list autohealing job
72
- * @param {AutohealingApiGetAutohealingRequest} requestParameters Request parameters.
73
- * @param {*} [options] Override http request option.
74
- * @deprecated
75
- * @throws {RequiredError}
76
- * @memberof AutohealingApiInterface
77
- */
78
- getAutohealing(requestParameters: AutohealingApiGetAutohealingRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AutohealingListInner>>;
79
- }
80
- /**
81
- * Request parameters for getAutohealing operation in AutohealingApi.
82
- * @export
83
- * @interface AutohealingApiGetAutohealingRequest
84
- */
85
- export interface AutohealingApiGetAutohealingRequest {
86
- /**
87
- * name of the Org
88
- * @type {string}
89
- * @memberof AutohealingApiGetAutohealing
90
- */
91
- readonly orgName: string;
92
- /**
93
- * name of the Cluster
94
- * @type {string}
95
- * @memberof AutohealingApiGetAutohealing
96
- */
97
- readonly clusterName: string;
98
- }
99
- /**
100
- * AutohealingApi - object-oriented interface
101
- * @export
102
- * @class AutohealingApi
103
- * @extends {BaseAPI}
104
- */
105
- export declare class AutohealingApi extends BaseAPI implements AutohealingApiInterface {
106
- /**
107
- *
108
- * @summary list autohealing job
109
- * @param {AutohealingApiGetAutohealingRequest} requestParameters Request parameters.
110
- * @param {*} [options] Override http request option.
111
- * @deprecated
112
- * @throws {RequiredError}
113
- * @memberof AutohealingApi
114
- */
115
- getAutohealing(requestParameters: AutohealingApiGetAutohealingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutohealingListInner[], any, {}>>;
116
- }
117
- //# sourceMappingURL=autohealing-api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"autohealing-api.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/autohealing-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAA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