kb-cloud-client-typescript 2.4.0-alpha.69 → 2.4.0-alpha.70
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.
- package/dist/adminapi/apis/cluster-jar-api.d.ts +0 -79
- package/dist/adminapi/apis/cluster-jar-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-jar-api.js +0 -84
- package/dist/adminapi/apis/cluster-jar-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +0 -79
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +0 -84
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/cluster-jar-package.d.ts +0 -6
- package/dist/adminapi/models/cluster-jar-package.d.ts.map +1 -1
- package/dist/adminapi/models/dms-pagination.d.ts +36 -0
- package/dist/adminapi/models/dms-pagination.d.ts.map +1 -1
- package/dist/adminapi/models/show-data-request.d.ts +13 -1
- package/dist/adminapi/models/show-data-request.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-jar-api.d.ts +0 -79
- package/dist/openapi/apis/cluster-jar-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-jar-api.js +0 -84
- package/dist/openapi/apis/cluster-jar-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +0 -79
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +0 -84
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/cluster-jar-package.d.ts +0 -6
- package/dist/openapi/models/cluster-jar-package.d.ts.map +1 -1
- package/dist/openapi/models/dms-pagination.d.ts +36 -0
- package/dist/openapi/models/dms-pagination.d.ts.map +1 -1
- package/dist/openapi/models/show-data-request.d.ts +13 -1
- package/dist/openapi/models/show-data-request.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/cluster-jar-api.ts +0 -136
- package/src/adminapi/apis/shared-api.ts +0 -136
- package/src/adminapi/models/cluster-jar-package.ts +0 -6
- package/src/adminapi/models/dms-pagination.ts +36 -0
- package/src/adminapi/models/show-data-request.ts +13 -1
- package/src/adminapi.yaml +40 -48
- package/src/openapi/apis/cluster-jar-api.ts +0 -136
- package/src/openapi/apis/shared-api.ts +0 -136
- package/src/openapi/models/cluster-jar-package.ts +0 -6
- package/src/openapi/models/dms-pagination.ts +36 -0
- package/src/openapi/models/show-data-request.ts +13 -1
- package/src/openapi.yaml +40 -48
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-jar-package.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/cluster-jar-package.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,cAAc,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"cluster-jar-package.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/cluster-jar-package.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,cAAc,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACzC"}
|
|
@@ -15,6 +15,42 @@
|
|
|
15
15
|
* @interface DmsPagination
|
|
16
16
|
*/
|
|
17
17
|
export interface DmsPagination {
|
|
18
|
+
/**
|
|
19
|
+
* Zero-based offset of this showData page.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DmsPagination
|
|
22
|
+
*/
|
|
23
|
+
'offset'?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof DmsPagination
|
|
28
|
+
*/
|
|
29
|
+
'limit'?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Whether another showData page exists; determined by reading one extra row.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof DmsPagination
|
|
34
|
+
*/
|
|
35
|
+
'hasMore'?: boolean | null;
|
|
36
|
+
/**
|
|
37
|
+
* Present only when hasMore is true.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof DmsPagination
|
|
40
|
+
*/
|
|
41
|
+
'nextOffset'?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* Exact count returned only by countOnly requests (including zero).
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof DmsPagination
|
|
46
|
+
*/
|
|
47
|
+
'totalRows'?: number | null;
|
|
48
|
+
/**
|
|
49
|
+
* Primary-key columns used for ordering; empty means ordering is not guaranteed. Pages are not a fixed snapshot.
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof DmsPagination
|
|
52
|
+
*/
|
|
53
|
+
'orderColumns'?: Array<string>;
|
|
18
54
|
/**
|
|
19
55
|
*
|
|
20
56
|
* @type {number}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dms-pagination.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/dms-pagination.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
1
|
+
{"version":3,"file":"dms-pagination.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/dms-pagination.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -28,10 +28,22 @@ export interface ShowDataRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
'table'?: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Rows per batch, from 1 to 2000; defaults to 200.
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof ShowDataRequest
|
|
34
34
|
*/
|
|
35
35
|
'limit'?: number | null;
|
|
36
|
+
/**
|
|
37
|
+
* Zero-based offset. Include 0 for the first paged request; omit for legacy data plus total-count behavior. Paged requests do not count the table.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ShowDataRequest
|
|
40
|
+
*/
|
|
41
|
+
'offset'?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* Only return pagination.totalRows, without loading data.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof ShowDataRequest
|
|
46
|
+
*/
|
|
47
|
+
'countOnly'?: boolean;
|
|
36
48
|
}
|
|
37
49
|
//# sourceMappingURL=show-data-request.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show-data-request.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/show-data-request.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"show-data-request.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/show-data-request.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
package/package.json
CHANGED
|
@@ -41,59 +41,6 @@ import type { ClusterJarTask } from '../models';
|
|
|
41
41
|
*/
|
|
42
42
|
export const ClusterJarApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
43
43
|
return {
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
47
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
48
|
-
* @param {string} orgName
|
|
49
|
-
* @param {string} clusterName
|
|
50
|
-
* @param {string} jarId
|
|
51
|
-
* @param {*} [options] Override http request option.
|
|
52
|
-
* @throws {RequiredError}
|
|
53
|
-
*/
|
|
54
|
-
archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
55
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
56
|
-
assertParamExists('archiveClusterJar', 'engineName', engineName)
|
|
57
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
58
|
-
assertParamExists('archiveClusterJar', 'orgName', orgName)
|
|
59
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
60
|
-
assertParamExists('archiveClusterJar', 'clusterName', clusterName)
|
|
61
|
-
// verify required parameter 'jarId' is not null or undefined
|
|
62
|
-
assertParamExists('archiveClusterJar', 'jarId', jarId)
|
|
63
|
-
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
64
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
65
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
66
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
67
|
-
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
68
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70
|
-
let baseOptions;
|
|
71
|
-
if (configuration) {
|
|
72
|
-
baseOptions = configuration.baseOptions;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
76
|
-
const localVarHeaderParameter = {} as any;
|
|
77
|
-
const localVarQueryParameter = {} as any;
|
|
78
|
-
|
|
79
|
-
// authentication BearerToken required
|
|
80
|
-
// http bearer authentication required
|
|
81
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
82
|
-
|
|
83
|
-
// authentication DigestAuth required
|
|
84
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
89
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
91
|
-
|
|
92
|
-
return {
|
|
93
|
-
url: toPathString(localVarUrlObj),
|
|
94
|
-
options: localVarRequestOptions,
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
44
|
/**
|
|
98
45
|
*
|
|
99
46
|
* @summary Delete an unpublished JAR version
|
|
@@ -500,22 +447,6 @@ export const ClusterJarApiAxiosParamCreator = function (configuration?: Configur
|
|
|
500
447
|
export const ClusterJarApiFp = function(configuration?: Configuration) {
|
|
501
448
|
const localVarAxiosParamCreator = ClusterJarApiAxiosParamCreator(configuration)
|
|
502
449
|
return {
|
|
503
|
-
/**
|
|
504
|
-
*
|
|
505
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
506
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
507
|
-
* @param {string} orgName
|
|
508
|
-
* @param {string} clusterName
|
|
509
|
-
* @param {string} jarId
|
|
510
|
-
* @param {*} [options] Override http request option.
|
|
511
|
-
* @throws {RequiredError}
|
|
512
|
-
*/
|
|
513
|
-
async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
514
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
515
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
516
|
-
const localVarOperationServerBasePath = operationServerMap['ClusterJarApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
517
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
518
|
-
},
|
|
519
450
|
/**
|
|
520
451
|
*
|
|
521
452
|
* @summary Delete an unpublished JAR version
|
|
@@ -640,16 +571,6 @@ export const ClusterJarApiFp = function(configuration?: Configuration) {
|
|
|
640
571
|
export const ClusterJarApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
641
572
|
const localVarFp = ClusterJarApiFp(configuration)
|
|
642
573
|
return {
|
|
643
|
-
/**
|
|
644
|
-
*
|
|
645
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
646
|
-
* @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
647
|
-
* @param {*} [options] Override http request option.
|
|
648
|
-
* @throws {RequiredError}
|
|
649
|
-
*/
|
|
650
|
-
archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
651
|
-
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
652
|
-
},
|
|
653
574
|
/**
|
|
654
575
|
*
|
|
655
576
|
* @summary Delete an unpublished JAR version
|
|
@@ -729,16 +650,6 @@ export const ClusterJarApiFactory = function (configuration?: Configuration, bas
|
|
|
729
650
|
* @interface ClusterJarApi
|
|
730
651
|
*/
|
|
731
652
|
export interface ClusterJarApiInterface {
|
|
732
|
-
/**
|
|
733
|
-
*
|
|
734
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
735
|
-
* @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
736
|
-
* @param {*} [options] Override http request option.
|
|
737
|
-
* @throws {RequiredError}
|
|
738
|
-
* @memberof ClusterJarApiInterface
|
|
739
|
-
*/
|
|
740
|
-
archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
741
|
-
|
|
742
653
|
/**
|
|
743
654
|
*
|
|
744
655
|
* @summary Delete an unpublished JAR version
|
|
@@ -811,41 +722,6 @@ export interface ClusterJarApiInterface {
|
|
|
811
722
|
|
|
812
723
|
}
|
|
813
724
|
|
|
814
|
-
/**
|
|
815
|
-
* Request parameters for archiveClusterJar operation in ClusterJarApi.
|
|
816
|
-
* @export
|
|
817
|
-
* @interface ClusterJarApiArchiveClusterJarRequest
|
|
818
|
-
*/
|
|
819
|
-
export interface ClusterJarApiArchiveClusterJarRequest {
|
|
820
|
-
/**
|
|
821
|
-
* Doris or SelectDB engine of the target cluster.
|
|
822
|
-
* @type {string}
|
|
823
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
824
|
-
*/
|
|
825
|
-
readonly engineName: string
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
*
|
|
829
|
-
* @type {string}
|
|
830
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
831
|
-
*/
|
|
832
|
-
readonly orgName: string
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
*
|
|
836
|
-
* @type {string}
|
|
837
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
838
|
-
*/
|
|
839
|
-
readonly clusterName: string
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
*
|
|
843
|
-
* @type {string}
|
|
844
|
-
* @memberof ClusterJarApiArchiveClusterJar
|
|
845
|
-
*/
|
|
846
|
-
readonly jarId: string
|
|
847
|
-
}
|
|
848
|
-
|
|
849
725
|
/**
|
|
850
726
|
* Request parameters for deleteClusterJar operation in ClusterJarApi.
|
|
851
727
|
* @export
|
|
@@ -1112,18 +988,6 @@ export interface ClusterJarApiUploadClusterJarRequest {
|
|
|
1112
988
|
* @extends {BaseAPI}
|
|
1113
989
|
*/
|
|
1114
990
|
export class ClusterJarApi extends BaseAPI implements ClusterJarApiInterface {
|
|
1115
|
-
/**
|
|
1116
|
-
*
|
|
1117
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
1118
|
-
* @param {ClusterJarApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
1119
|
-
* @param {*} [options] Override http request option.
|
|
1120
|
-
* @throws {RequiredError}
|
|
1121
|
-
* @memberof ClusterJarApi
|
|
1122
|
-
*/
|
|
1123
|
-
public archiveClusterJar(requestParameters: ClusterJarApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
1124
|
-
return ClusterJarApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
991
|
/**
|
|
1128
992
|
*
|
|
1129
993
|
* @summary Delete an unpublished JAR version
|
|
@@ -762,59 +762,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
762
762
|
options: localVarRequestOptions,
|
|
763
763
|
};
|
|
764
764
|
},
|
|
765
|
-
/**
|
|
766
|
-
*
|
|
767
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
768
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
769
|
-
* @param {string} orgName
|
|
770
|
-
* @param {string} clusterName
|
|
771
|
-
* @param {string} jarId
|
|
772
|
-
* @param {*} [options] Override http request option.
|
|
773
|
-
* @throws {RequiredError}
|
|
774
|
-
*/
|
|
775
|
-
archiveClusterJar: async (engineName: string, orgName: string, clusterName: string, jarId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
776
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
777
|
-
assertParamExists('archiveClusterJar', 'engineName', engineName)
|
|
778
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
779
|
-
assertParamExists('archiveClusterJar', 'orgName', orgName)
|
|
780
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
781
|
-
assertParamExists('archiveClusterJar', 'clusterName', clusterName)
|
|
782
|
-
// verify required parameter 'jarId' is not null or undefined
|
|
783
|
-
assertParamExists('archiveClusterJar', 'jarId', jarId)
|
|
784
|
-
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive`
|
|
785
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
786
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
787
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
788
|
-
.replace(`{${"jarId"}}`, encodeURIComponent(String(jarId)));
|
|
789
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
790
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
791
|
-
let baseOptions;
|
|
792
|
-
if (configuration) {
|
|
793
|
-
baseOptions = configuration.baseOptions;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
797
|
-
const localVarHeaderParameter = {} as any;
|
|
798
|
-
const localVarQueryParameter = {} as any;
|
|
799
|
-
|
|
800
|
-
// authentication BearerToken required
|
|
801
|
-
// http bearer authentication required
|
|
802
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
803
|
-
|
|
804
|
-
// authentication DigestAuth required
|
|
805
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
810
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
811
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
812
|
-
|
|
813
|
-
return {
|
|
814
|
-
url: toPathString(localVarUrlObj),
|
|
815
|
-
options: localVarRequestOptions,
|
|
816
|
-
};
|
|
817
|
-
},
|
|
818
765
|
/**
|
|
819
766
|
* list the service version of the engine
|
|
820
767
|
* @summary list the service version of the engine
|
|
@@ -17901,22 +17848,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17901
17848
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.alterParameter']?.[localVarOperationServerIndex]?.url;
|
|
17902
17849
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17903
17850
|
},
|
|
17904
|
-
/**
|
|
17905
|
-
*
|
|
17906
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
17907
|
-
* @param {string} engineName Doris or SelectDB engine of the target cluster.
|
|
17908
|
-
* @param {string} orgName
|
|
17909
|
-
* @param {string} clusterName
|
|
17910
|
-
* @param {string} jarId
|
|
17911
|
-
* @param {*} [options] Override http request option.
|
|
17912
|
-
* @throws {RequiredError}
|
|
17913
|
-
*/
|
|
17914
|
-
async archiveClusterJar(engineName: string, orgName: string, clusterName: string, jarId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17915
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.archiveClusterJar(engineName, orgName, clusterName, jarId, options);
|
|
17916
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17917
|
-
const localVarOperationServerBasePath = operationServerMap['SharedApi.archiveClusterJar']?.[localVarOperationServerIndex]?.url;
|
|
17918
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17919
|
-
},
|
|
17920
17851
|
/**
|
|
17921
17852
|
* list the service version of the engine
|
|
17922
17853
|
* @summary list the service version of the engine
|
|
@@ -22904,16 +22835,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
22904
22835
|
alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
22905
22836
|
return localVarFp.alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(axios, basePath));
|
|
22906
22837
|
},
|
|
22907
|
-
/**
|
|
22908
|
-
*
|
|
22909
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
22910
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
22911
|
-
* @param {*} [options] Override http request option.
|
|
22912
|
-
* @throws {RequiredError}
|
|
22913
|
-
*/
|
|
22914
|
-
archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
22915
|
-
return localVarFp.archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(axios, basePath));
|
|
22916
|
-
},
|
|
22917
22838
|
/**
|
|
22918
22839
|
* list the service version of the engine
|
|
22919
22840
|
* @summary list the service version of the engine
|
|
@@ -26086,16 +26007,6 @@ export interface SharedApiInterface {
|
|
|
26086
26007
|
*/
|
|
26087
26008
|
alterParameter(requestParameters: SharedApiAlterParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
26088
26009
|
|
|
26089
|
-
/**
|
|
26090
|
-
*
|
|
26091
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
26092
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
26093
|
-
* @param {*} [options] Override http request option.
|
|
26094
|
-
* @throws {RequiredError}
|
|
26095
|
-
* @memberof SharedApiInterface
|
|
26096
|
-
*/
|
|
26097
|
-
archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
26098
|
-
|
|
26099
26010
|
/**
|
|
26100
26011
|
* list the service version of the engine
|
|
26101
26012
|
* @summary list the service version of the engine
|
|
@@ -29460,41 +29371,6 @@ export interface SharedApiAlterParameterRequest {
|
|
|
29460
29371
|
readonly dmsObAlterParameter: DmsObAlterParameter
|
|
29461
29372
|
}
|
|
29462
29373
|
|
|
29463
|
-
/**
|
|
29464
|
-
* Request parameters for archiveClusterJar operation in SharedApi.
|
|
29465
|
-
* @export
|
|
29466
|
-
* @interface SharedApiArchiveClusterJarRequest
|
|
29467
|
-
*/
|
|
29468
|
-
export interface SharedApiArchiveClusterJarRequest {
|
|
29469
|
-
/**
|
|
29470
|
-
* Doris or SelectDB engine of the target cluster.
|
|
29471
|
-
* @type {string}
|
|
29472
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29473
|
-
*/
|
|
29474
|
-
readonly engineName: string
|
|
29475
|
-
|
|
29476
|
-
/**
|
|
29477
|
-
*
|
|
29478
|
-
* @type {string}
|
|
29479
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29480
|
-
*/
|
|
29481
|
-
readonly orgName: string
|
|
29482
|
-
|
|
29483
|
-
/**
|
|
29484
|
-
*
|
|
29485
|
-
* @type {string}
|
|
29486
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29487
|
-
*/
|
|
29488
|
-
readonly clusterName: string
|
|
29489
|
-
|
|
29490
|
-
/**
|
|
29491
|
-
*
|
|
29492
|
-
* @type {string}
|
|
29493
|
-
* @memberof SharedApiArchiveClusterJar
|
|
29494
|
-
*/
|
|
29495
|
-
readonly jarId: string
|
|
29496
|
-
}
|
|
29497
|
-
|
|
29498
29374
|
/**
|
|
29499
29375
|
* Request parameters for availableServiceVersion operation in SharedApi.
|
|
29500
29376
|
* @export
|
|
@@ -39972,18 +39848,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
39972
39848
|
return SharedApiFp(this.configuration).alterParameter(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.dmsObAlterParameter, options).then((request) => request(this.axios, this.basePath));
|
|
39973
39849
|
}
|
|
39974
39850
|
|
|
39975
|
-
/**
|
|
39976
|
-
*
|
|
39977
|
-
* @summary Archive a JAR while retaining published files and startup synchronization
|
|
39978
|
-
* @param {SharedApiArchiveClusterJarRequest} requestParameters Request parameters.
|
|
39979
|
-
* @param {*} [options] Override http request option.
|
|
39980
|
-
* @throws {RequiredError}
|
|
39981
|
-
* @memberof SharedApi
|
|
39982
|
-
*/
|
|
39983
|
-
public archiveClusterJar(requestParameters: SharedApiArchiveClusterJarRequest, options?: RawAxiosRequestConfig) {
|
|
39984
|
-
return SharedApiFp(this.configuration).archiveClusterJar(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.jarId, options).then((request) => request(this.axios, this.basePath));
|
|
39985
|
-
}
|
|
39986
|
-
|
|
39987
39851
|
/**
|
|
39988
39852
|
* list the service version of the engine
|
|
39989
39853
|
* @summary list the service version of the engine
|
|
@@ -20,6 +20,42 @@
|
|
|
20
20
|
* @interface DmsPagination
|
|
21
21
|
*/
|
|
22
22
|
export interface DmsPagination {
|
|
23
|
+
/**
|
|
24
|
+
* Zero-based offset of this showData page.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DmsPagination
|
|
27
|
+
*/
|
|
28
|
+
'offset'?: number | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof DmsPagination
|
|
33
|
+
*/
|
|
34
|
+
'limit'?: number | null;
|
|
35
|
+
/**
|
|
36
|
+
* Whether another showData page exists; determined by reading one extra row.
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof DmsPagination
|
|
39
|
+
*/
|
|
40
|
+
'hasMore'?: boolean | null;
|
|
41
|
+
/**
|
|
42
|
+
* Present only when hasMore is true.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof DmsPagination
|
|
45
|
+
*/
|
|
46
|
+
'nextOffset'?: number | null;
|
|
47
|
+
/**
|
|
48
|
+
* Exact count returned only by countOnly requests (including zero).
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof DmsPagination
|
|
51
|
+
*/
|
|
52
|
+
'totalRows'?: number | null;
|
|
53
|
+
/**
|
|
54
|
+
* Primary-key columns used for ordering; empty means ordering is not guaranteed. Pages are not a fixed snapshot.
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof DmsPagination
|
|
57
|
+
*/
|
|
58
|
+
'orderColumns'?: Array<string>;
|
|
23
59
|
/**
|
|
24
60
|
*
|
|
25
61
|
* @type {number}
|
|
@@ -33,10 +33,22 @@ export interface ShowDataRequest {
|
|
|
33
33
|
*/
|
|
34
34
|
'table'?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Rows per batch, from 1 to 2000; defaults to 200.
|
|
37
37
|
* @type {number}
|
|
38
38
|
* @memberof ShowDataRequest
|
|
39
39
|
*/
|
|
40
40
|
'limit'?: number | null;
|
|
41
|
+
/**
|
|
42
|
+
* Zero-based offset. Include 0 for the first paged request; omit for legacy data plus total-count behavior. Paged requests do not count the table.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof ShowDataRequest
|
|
45
|
+
*/
|
|
46
|
+
'offset'?: number | null;
|
|
47
|
+
/**
|
|
48
|
+
* Only return pagination.totalRows, without loading data.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof ShowDataRequest
|
|
51
|
+
*/
|
|
52
|
+
'countOnly'?: boolean;
|
|
41
53
|
}
|
|
42
54
|
|
package/src/adminapi.yaml
CHANGED
|
@@ -428,50 +428,6 @@ paths:
|
|
|
428
428
|
$ref: '#/components/responses/409'
|
|
429
429
|
'500':
|
|
430
430
|
$ref: '#/components/responses/500'
|
|
431
|
-
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/jars/{jarId}/archive:
|
|
432
|
-
post:
|
|
433
|
-
operationId: archiveClusterJar
|
|
434
|
-
summary: Archive a JAR while retaining published files and startup synchronization
|
|
435
|
-
tags:
|
|
436
|
-
- clusterJar
|
|
437
|
-
- shared
|
|
438
|
-
parameters:
|
|
439
|
-
- name: engineName
|
|
440
|
-
in: path
|
|
441
|
-
required: true
|
|
442
|
-
description: Doris or SelectDB engine of the target cluster.
|
|
443
|
-
schema:
|
|
444
|
-
type: string
|
|
445
|
-
- name: orgName
|
|
446
|
-
in: path
|
|
447
|
-
required: true
|
|
448
|
-
schema:
|
|
449
|
-
type: string
|
|
450
|
-
- name: clusterName
|
|
451
|
-
in: path
|
|
452
|
-
required: true
|
|
453
|
-
schema:
|
|
454
|
-
type: string
|
|
455
|
-
- name: jarId
|
|
456
|
-
in: path
|
|
457
|
-
required: true
|
|
458
|
-
schema:
|
|
459
|
-
type: string
|
|
460
|
-
responses:
|
|
461
|
-
'204':
|
|
462
|
-
description: Success
|
|
463
|
-
'400':
|
|
464
|
-
$ref: '#/components/responses/400'
|
|
465
|
-
'401':
|
|
466
|
-
$ref: '#/components/responses/401'
|
|
467
|
-
'403':
|
|
468
|
-
$ref: '#/components/responses/403'
|
|
469
|
-
'404':
|
|
470
|
-
$ref: '#/components/responses/404'
|
|
471
|
-
'409':
|
|
472
|
-
$ref: '#/components/responses/409'
|
|
473
|
-
'500':
|
|
474
|
-
$ref: '#/components/responses/500'
|
|
475
431
|
/admin/v1/user:
|
|
476
432
|
get:
|
|
477
433
|
description: Get authenticated login user info
|
|
@@ -28681,8 +28637,6 @@ components:
|
|
|
28681
28637
|
type: string
|
|
28682
28638
|
published:
|
|
28683
28639
|
type: boolean
|
|
28684
|
-
archived:
|
|
28685
|
-
type: boolean
|
|
28686
28640
|
status:
|
|
28687
28641
|
type: string
|
|
28688
28642
|
synced:
|
|
@@ -28709,7 +28663,6 @@ components:
|
|
|
28709
28663
|
- size
|
|
28710
28664
|
- uri
|
|
28711
28665
|
- published
|
|
28712
|
-
- archived
|
|
28713
28666
|
- status
|
|
28714
28667
|
- synced
|
|
28715
28668
|
- total
|
|
@@ -32681,6 +32634,34 @@ components:
|
|
|
32681
32634
|
DmsPagination:
|
|
32682
32635
|
type: object
|
|
32683
32636
|
properties:
|
|
32637
|
+
offset:
|
|
32638
|
+
type: integer
|
|
32639
|
+
format: int64
|
|
32640
|
+
nullable: true
|
|
32641
|
+
description: Zero-based offset of this showData page.
|
|
32642
|
+
limit:
|
|
32643
|
+
type: integer
|
|
32644
|
+
format: int64
|
|
32645
|
+
nullable: true
|
|
32646
|
+
hasMore:
|
|
32647
|
+
type: boolean
|
|
32648
|
+
nullable: true
|
|
32649
|
+
description: Whether another showData page exists; determined by reading one extra row.
|
|
32650
|
+
nextOffset:
|
|
32651
|
+
type: integer
|
|
32652
|
+
format: int64
|
|
32653
|
+
nullable: true
|
|
32654
|
+
description: Present only when hasMore is true.
|
|
32655
|
+
totalRows:
|
|
32656
|
+
type: integer
|
|
32657
|
+
format: int64
|
|
32658
|
+
nullable: true
|
|
32659
|
+
description: Exact count returned only by countOnly requests (including zero).
|
|
32660
|
+
orderColumns:
|
|
32661
|
+
type: array
|
|
32662
|
+
items:
|
|
32663
|
+
type: string
|
|
32664
|
+
description: Primary-key columns used for ordering; empty means ordering is not guaranteed. Pages are not a fixed snapshot.
|
|
32684
32665
|
rows_count:
|
|
32685
32666
|
type: integer
|
|
32686
32667
|
page:
|
|
@@ -33606,8 +33587,19 @@ components:
|
|
|
33606
33587
|
description: the target table or view name
|
|
33607
33588
|
limit:
|
|
33608
33589
|
type: integer
|
|
33609
|
-
description:
|
|
33590
|
+
description: Rows per batch, from 1 to 2000; defaults to 200.
|
|
33591
|
+
minimum: 1
|
|
33592
|
+
maximum: 2000
|
|
33593
|
+
nullable: true
|
|
33594
|
+
offset:
|
|
33595
|
+
type: integer
|
|
33596
|
+
format: int64
|
|
33597
|
+
minimum: 0
|
|
33610
33598
|
nullable: true
|
|
33599
|
+
description: Zero-based offset. Include 0 for the first paged request; omit for legacy data plus total-count behavior. Paged requests do not count the table.
|
|
33600
|
+
countOnly:
|
|
33601
|
+
type: boolean
|
|
33602
|
+
description: Only return pagination.totalRows, without loading data.
|
|
33611
33603
|
RedisACLContext:
|
|
33612
33604
|
type: object
|
|
33613
33605
|
properties:
|