kb-cloud-client-typescript 2.4.0-alpha.47 → 2.4.0-alpha.49
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/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/dashboard-config-api.d.ts +223 -0
- package/dist/adminapi/apis/dashboard-config-api.d.ts.map +1 -0
- package/dist/adminapi/apis/dashboard-config-api.js +277 -0
- package/dist/adminapi/apis/dashboard-config-api.js.map +1 -0
- package/dist/adminapi/models/dashboard-config-update.d.ts +25 -0
- package/dist/adminapi/models/dashboard-config-update.d.ts.map +1 -0
- package/dist/adminapi/models/dashboard-config-update.js +16 -0
- package/dist/adminapi/models/dashboard-config-update.js.map +1 -0
- package/dist/adminapi/models/dashboard-config.d.ts +31 -0
- package/dist/adminapi/models/dashboard-config.d.ts.map +1 -0
- package/dist/adminapi/models/dashboard-config.js +16 -0
- package/dist/adminapi/models/dashboard-config.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/dashboard-config-api.d.ts +104 -0
- package/dist/openapi/apis/dashboard-config-api.d.ts.map +1 -0
- package/dist/openapi/apis/dashboard-config-api.js +133 -0
- package/dist/openapi/apis/dashboard-config-api.js.map +1 -0
- package/dist/openapi/models/dashboard-config.d.ts +31 -0
- package/dist/openapi/models/dashboard-config.d.ts.map +1 -0
- package/dist/openapi/models/dashboard-config.js +16 -0
- package/dist/openapi/models/dashboard-config.js.map +1 -0
- package/dist/openapi/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +3 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/dashboard-config-api.ts +388 -0
- package/src/adminapi/models/dashboard-config-update.ts +30 -0
- package/src/adminapi/models/dashboard-config.ts +36 -0
- package/src/adminapi/models/index.ts +2 -0
- package/src/adminapi.yaml +102 -0
- package/src/openapi/.openapi-generator/FILES +2 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/dashboard-config-api.ts +172 -0
- package/src/openapi/models/dashboard-config.ts +36 -0
- package/src/openapi/models/index.ts +1 -0
- package/src/openapi.yaml +44 -0
package/dist/adminapi/api.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './apis/cluster-log-api';
|
|
|
34
34
|
export * from './apis/cluster-loki-log-api';
|
|
35
35
|
export * from './apis/cluster-tag-api';
|
|
36
36
|
export * from './apis/dameng-api';
|
|
37
|
+
export * from './apis/dashboard-config-api';
|
|
37
38
|
export * from './apis/database-api';
|
|
38
39
|
export * from './apis/database-parameters-api';
|
|
39
40
|
export * from './apis/diagnostics-api';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/adminapi/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;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,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC"}
|
package/dist/adminapi/api.js
CHANGED
|
@@ -52,6 +52,7 @@ __exportStar(require("./apis/cluster-log-api"), exports);
|
|
|
52
52
|
__exportStar(require("./apis/cluster-loki-log-api"), exports);
|
|
53
53
|
__exportStar(require("./apis/cluster-tag-api"), exports);
|
|
54
54
|
__exportStar(require("./apis/dameng-api"), exports);
|
|
55
|
+
__exportStar(require("./apis/dashboard-config-api"), exports);
|
|
55
56
|
__exportStar(require("./apis/database-api"), exports);
|
|
56
57
|
__exportStar(require("./apis/database-parameters-api"), exports);
|
|
57
58
|
__exportStar(require("./apis/diagnostics-api"), exports);
|
package/dist/adminapi/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/adminapi/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAIH,qDAAmC;AACnC,qDAAmC;AACnC,2DAAyC;AACzC,mDAAiC;AACjC,0DAAwC;AACxC,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,wDAAsC;AACtC,8DAA4C;AAC5C,4DAA0C;AAC1C,4DAA0C;AAC1C,oDAAkC;AAClC,2DAAyC;AACzC,yDAAuC;AACvC,qDAAmC;AACnC,mDAAiC;AACjC,yDAAuC;AACvC,wDAAsC;AACtC,qDAAmC;AACnC,kEAAgD;AAChD,yDAAuC;AACvC,8DAA4C;AAC5C,yDAAuC;AACvC,oDAAkC;AAClC,sDAAoC;AACpC,iEAA+C;AAC/C,yDAAuC;AACvC,+DAA6C;AAC7C,iDAA+B;AAC/B,2DAAyC;AACzC,oEAAkD;AAClD,oDAAkC;AAClC,4DAA0C;AAC1C,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,sDAAoC;AACpC,qDAAmC;AACnC,kDAAgC;AAChC,4DAA0C;AAC1C,oDAAkC;AAClC,wDAAsC;AACtC,sDAAoC;AACpC,0DAAwC;AACxC,mDAAiC;AACjC,iDAA+B;AAC/B,qDAAmC;AACnC,iDAA+B;AAC/B,2DAAyC;AACzC,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,qDAAmC;AACnC,oDAAkC;AAClC,qDAAmC;AACnC,+DAA6C;AAC7C,mDAAiC;AACjC,uDAAqC;AACrC,wDAAsC;AACtC,oDAAkC;AAClC,0DAAwC;AACxC,oEAAkD;AAClD,yEAAuD;AACvD,uDAAqC;AACrC,gEAA8C;AAC9C,gEAA8C;AAC9C,gEAA8C;AAC9C,wDAAsC;AACtC,qDAAmC;AACnC,sDAAoC;AACpC,qDAAmC;AACnC,sDAAoC;AACpC,sDAAoC;AACpC,mDAAiC;AACjC,iEAA+C;AAC/C,mDAAiC;AACjC,sDAAoC;AACpC,4DAA0C;AAC1C,qDAAmC;AACnC,kDAAgC;AAChC,gDAA8B;AAC9B,6DAA2C;AAC3C,qDAAmC;AACnC,oDAAkC;AAClC,qDAAmC;AACnC,2DAAyC;AACzC,kDAAgC;AAChC,iDAA+B;AAC/B,kDAAgC;AAChC,mDAAiC;AACjC,sDAAoC;AACpC,kDAAgC"}
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/adminapi/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAIH,qDAAmC;AACnC,qDAAmC;AACnC,2DAAyC;AACzC,mDAAiC;AACjC,0DAAwC;AACxC,2DAAyC;AACzC,0DAAwC;AACxC,4DAA0C;AAC1C,wDAAsC;AACtC,8DAA4C;AAC5C,4DAA0C;AAC1C,4DAA0C;AAC1C,oDAAkC;AAClC,2DAAyC;AACzC,yDAAuC;AACvC,qDAAmC;AACnC,mDAAiC;AACjC,yDAAuC;AACvC,wDAAsC;AACtC,qDAAmC;AACnC,kEAAgD;AAChD,yDAAuC;AACvC,8DAA4C;AAC5C,yDAAuC;AACvC,oDAAkC;AAClC,8DAA4C;AAC5C,sDAAoC;AACpC,iEAA+C;AAC/C,yDAAuC;AACvC,+DAA6C;AAC7C,iDAA+B;AAC/B,2DAAyC;AACzC,oEAAkD;AAClD,oDAAkC;AAClC,4DAA0C;AAC1C,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,sDAAoC;AACpC,qDAAmC;AACnC,kDAAgC;AAChC,4DAA0C;AAC1C,oDAAkC;AAClC,wDAAsC;AACtC,sDAAoC;AACpC,0DAAwC;AACxC,mDAAiC;AACjC,iDAA+B;AAC/B,qDAAmC;AACnC,iDAA+B;AAC/B,2DAAyC;AACzC,0DAAwC;AACxC,oDAAkC;AAClC,sDAAoC;AACpC,qDAAmC;AACnC,oDAAkC;AAClC,qDAAmC;AACnC,+DAA6C;AAC7C,mDAAiC;AACjC,uDAAqC;AACrC,wDAAsC;AACtC,oDAAkC;AAClC,0DAAwC;AACxC,oEAAkD;AAClD,yEAAuD;AACvD,uDAAqC;AACrC,gEAA8C;AAC9C,gEAA8C;AAC9C,gEAA8C;AAC9C,wDAAsC;AACtC,qDAAmC;AACnC,sDAAoC;AACpC,qDAAmC;AACnC,sDAAoC;AACpC,sDAAoC;AACpC,mDAAiC;AACjC,iEAA+C;AAC/C,mDAAiC;AACjC,sDAAoC;AACpC,4DAA0C;AAC1C,qDAAmC;AACnC,kDAAgC;AAChC,gDAA8B;AAC9B,6DAA2C;AAC3C,qDAAmC;AACnC,oDAAkC;AAClC,qDAAmC;AACnC,2DAAyC;AACzC,kDAAgC;AAChC,iDAA+B;AAC/B,kDAAgC;AAChC,mDAAiC;AACjC,sDAAoC;AACpC,kDAAgC"}
|
|
@@ -0,0 +1,223 @@
|
|
|
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 { DashboardConfig } from '../models';
|
|
16
|
+
import type { DashboardConfigUpdate } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* DashboardConfigApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const DashboardConfigApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
24
|
+
* @summary Delete dashboard configuration by key
|
|
25
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
deleteDashboardConfig: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
/**
|
|
31
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
32
|
+
* @summary Get dashboard configuration by key
|
|
33
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
getDashboardConfig: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
|
+
/**
|
|
39
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
40
|
+
* @summary Create or replace dashboard configuration by key
|
|
41
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
42
|
+
* @param {DashboardConfigUpdate} dashboardConfigUpdate
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
putDashboardConfig: (key: string, dashboardConfigUpdate: DashboardConfigUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* DashboardConfigApi - functional programming interface
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const DashboardConfigApiFp: (configuration?: Configuration) => {
|
|
53
|
+
/**
|
|
54
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
55
|
+
* @summary Delete dashboard configuration by key
|
|
56
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
deleteDashboardConfig(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
61
|
+
/**
|
|
62
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
63
|
+
* @summary Get dashboard configuration by key
|
|
64
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
getDashboardConfig(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardConfig>>;
|
|
69
|
+
/**
|
|
70
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
71
|
+
* @summary Create or replace dashboard configuration by key
|
|
72
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
73
|
+
* @param {DashboardConfigUpdate} dashboardConfigUpdate
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
putDashboardConfig(key: string, dashboardConfigUpdate: DashboardConfigUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardConfig>>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* DashboardConfigApi - factory interface
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export declare const DashboardConfigApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
84
|
+
/**
|
|
85
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
86
|
+
* @summary Delete dashboard configuration by key
|
|
87
|
+
* @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters.
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
deleteDashboardConfig(requestParameters: DashboardConfigApiDeleteDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
92
|
+
/**
|
|
93
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
94
|
+
* @summary Get dashboard configuration by key
|
|
95
|
+
* @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters.
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
getDashboardConfig(requestParameters: DashboardConfigApiGetDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardConfig>;
|
|
100
|
+
/**
|
|
101
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
102
|
+
* @summary Create or replace dashboard configuration by key
|
|
103
|
+
* @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters.
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
putDashboardConfig(requestParameters: DashboardConfigApiPutDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardConfig>;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* DashboardConfigApi - interface
|
|
111
|
+
* @export
|
|
112
|
+
* @interface DashboardConfigApi
|
|
113
|
+
*/
|
|
114
|
+
export interface DashboardConfigApiInterface {
|
|
115
|
+
/**
|
|
116
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
117
|
+
* @summary Delete dashboard configuration by key
|
|
118
|
+
* @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters.
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
* @memberof DashboardConfigApiInterface
|
|
122
|
+
*/
|
|
123
|
+
deleteDashboardConfig(requestParameters: DashboardConfigApiDeleteDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
124
|
+
/**
|
|
125
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
126
|
+
* @summary Get dashboard configuration by key
|
|
127
|
+
* @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters.
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
* @memberof DashboardConfigApiInterface
|
|
131
|
+
*/
|
|
132
|
+
getDashboardConfig(requestParameters: DashboardConfigApiGetDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardConfig>;
|
|
133
|
+
/**
|
|
134
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
135
|
+
* @summary Create or replace dashboard configuration by key
|
|
136
|
+
* @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters.
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
* @memberof DashboardConfigApiInterface
|
|
140
|
+
*/
|
|
141
|
+
putDashboardConfig(requestParameters: DashboardConfigApiPutDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardConfig>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Request parameters for deleteDashboardConfig operation in DashboardConfigApi.
|
|
145
|
+
* @export
|
|
146
|
+
* @interface DashboardConfigApiDeleteDashboardConfigRequest
|
|
147
|
+
*/
|
|
148
|
+
export interface DashboardConfigApiDeleteDashboardConfigRequest {
|
|
149
|
+
/**
|
|
150
|
+
* Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
151
|
+
* @type {string}
|
|
152
|
+
* @memberof DashboardConfigApiDeleteDashboardConfig
|
|
153
|
+
*/
|
|
154
|
+
readonly key: string;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Request parameters for getDashboardConfig operation in DashboardConfigApi.
|
|
158
|
+
* @export
|
|
159
|
+
* @interface DashboardConfigApiGetDashboardConfigRequest
|
|
160
|
+
*/
|
|
161
|
+
export interface DashboardConfigApiGetDashboardConfigRequest {
|
|
162
|
+
/**
|
|
163
|
+
* Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof DashboardConfigApiGetDashboardConfig
|
|
166
|
+
*/
|
|
167
|
+
readonly key: string;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Request parameters for putDashboardConfig operation in DashboardConfigApi.
|
|
171
|
+
* @export
|
|
172
|
+
* @interface DashboardConfigApiPutDashboardConfigRequest
|
|
173
|
+
*/
|
|
174
|
+
export interface DashboardConfigApiPutDashboardConfigRequest {
|
|
175
|
+
/**
|
|
176
|
+
* Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof DashboardConfigApiPutDashboardConfig
|
|
179
|
+
*/
|
|
180
|
+
readonly key: string;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {DashboardConfigUpdate}
|
|
184
|
+
* @memberof DashboardConfigApiPutDashboardConfig
|
|
185
|
+
*/
|
|
186
|
+
readonly dashboardConfigUpdate: DashboardConfigUpdate;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* DashboardConfigApi - object-oriented interface
|
|
190
|
+
* @export
|
|
191
|
+
* @class DashboardConfigApi
|
|
192
|
+
* @extends {BaseAPI}
|
|
193
|
+
*/
|
|
194
|
+
export declare class DashboardConfigApi extends BaseAPI implements DashboardConfigApiInterface {
|
|
195
|
+
/**
|
|
196
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
197
|
+
* @summary Delete dashboard configuration by key
|
|
198
|
+
* @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters.
|
|
199
|
+
* @param {*} [options] Override http request option.
|
|
200
|
+
* @throws {RequiredError}
|
|
201
|
+
* @memberof DashboardConfigApi
|
|
202
|
+
*/
|
|
203
|
+
deleteDashboardConfig(requestParameters: DashboardConfigApiDeleteDashboardConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
204
|
+
/**
|
|
205
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
206
|
+
* @summary Get dashboard configuration by key
|
|
207
|
+
* @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters.
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
* @memberof DashboardConfigApi
|
|
211
|
+
*/
|
|
212
|
+
getDashboardConfig(requestParameters: DashboardConfigApiGetDashboardConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardConfig, any, {}>>;
|
|
213
|
+
/**
|
|
214
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
215
|
+
* @summary Create or replace dashboard configuration by key
|
|
216
|
+
* @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters.
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
* @memberof DashboardConfigApi
|
|
220
|
+
*/
|
|
221
|
+
putDashboardConfig(requestParameters: DashboardConfigApiPutDashboardConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DashboardConfig, any, {}>>;
|
|
222
|
+
}
|
|
223
|
+
//# sourceMappingURL=dashboard-config-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard-config-api.d.ts","sourceRoot":"","sources":["../../../src/adminapi/apis/dashboard-config-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,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAItH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AACvD;;;GAGG;AACH,eAAO,MAAM,mCAAmC,GAAa,gBAAgB,aAAa;IAElF;;;;;;OAMG;iCACgC,MAAM,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAkCrG;;;;;;OAMG;8BAC6B,MAAM,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAkClG;;;;;;;OAOG;8BAC6B,MAAM,yBAAyB,qBAAqB,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;CAwCvJ,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAY,gBAAgB,aAAa;IAGlE;;;;;;OAMG;+BAC8B,MAAM,YAAY,qBAAqB,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC,IAAI,CAAC,C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,GAAG,EAAE,MAAM,CAAA;CACvB;AAED;;;;GAIG;AACH,MAAM,WAAW,2CAA2C;IACxD;;;;OAIG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CACvB;AAED;;;;GAIG;AACH,MAAM,WAAW,2CAA2C;IACxD;;;;OAIG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB,CAAA;CACxD;AAED;;;;;GAKG;AACH,qBAAa,kBAAmB,SAAQ,OAAQ,YAAW,2BAA2B;IAClF;;;;;;;OAOG;IACI,qBAAqB,CAAC,iBAAiB,EAAE,8CAA8C,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI/H;;;;;;;OAOG;IACI,kBAAkB,CAAC,iBAAiB,EAAE,2CAA2C,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIzH;;;;;;;OAOG;IACI,kBAAkB,CAAC,iBAAiB,EAAE,2CAA2C,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAG5H"}
|
|
@@ -0,0 +1,277 @@
|
|
|
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.DashboardConfigApi = exports.DashboardConfigApiFactory = exports.DashboardConfigApiFp = exports.DashboardConfigApiAxiosParamCreator = 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
|
+
* DashboardConfigApi - axios parameter creator
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
const DashboardConfigApiAxiosParamCreator = function (configuration) {
|
|
31
|
+
return {
|
|
32
|
+
/**
|
|
33
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
34
|
+
* @summary Delete dashboard configuration by key
|
|
35
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
deleteDashboardConfig: async (key, options = {}) => {
|
|
40
|
+
// verify required parameter 'key' is not null or undefined
|
|
41
|
+
(0, common_1.assertParamExists)('deleteDashboardConfig', 'key', key);
|
|
42
|
+
const localVarPath = `/admin/v1/dashboardConfigs/{key}`
|
|
43
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
44
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
46
|
+
let baseOptions;
|
|
47
|
+
if (configuration) {
|
|
48
|
+
baseOptions = configuration.baseOptions;
|
|
49
|
+
}
|
|
50
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
51
|
+
const localVarHeaderParameter = {};
|
|
52
|
+
const localVarQueryParameter = {};
|
|
53
|
+
// authentication BearerToken required
|
|
54
|
+
// http bearer authentication required
|
|
55
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
56
|
+
// authentication DigestAuth required
|
|
57
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
58
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
61
|
+
return {
|
|
62
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
63
|
+
options: localVarRequestOptions,
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
/**
|
|
67
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
68
|
+
* @summary Get dashboard configuration by key
|
|
69
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
getDashboardConfig: async (key, options = {}) => {
|
|
74
|
+
// verify required parameter 'key' is not null or undefined
|
|
75
|
+
(0, common_1.assertParamExists)('getDashboardConfig', 'key', key);
|
|
76
|
+
const localVarPath = `/admin/v1/dashboardConfigs/{key}`
|
|
77
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
78
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
80
|
+
let baseOptions;
|
|
81
|
+
if (configuration) {
|
|
82
|
+
baseOptions = configuration.baseOptions;
|
|
83
|
+
}
|
|
84
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
85
|
+
const localVarHeaderParameter = {};
|
|
86
|
+
const localVarQueryParameter = {};
|
|
87
|
+
// authentication BearerToken required
|
|
88
|
+
// http bearer authentication required
|
|
89
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
90
|
+
// authentication DigestAuth required
|
|
91
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
92
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
95
|
+
return {
|
|
96
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
97
|
+
options: localVarRequestOptions,
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
/**
|
|
101
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
102
|
+
* @summary Create or replace dashboard configuration by key
|
|
103
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
104
|
+
* @param {DashboardConfigUpdate} dashboardConfigUpdate
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
putDashboardConfig: async (key, dashboardConfigUpdate, options = {}) => {
|
|
109
|
+
// verify required parameter 'key' is not null or undefined
|
|
110
|
+
(0, common_1.assertParamExists)('putDashboardConfig', 'key', key);
|
|
111
|
+
// verify required parameter 'dashboardConfigUpdate' is not null or undefined
|
|
112
|
+
(0, common_1.assertParamExists)('putDashboardConfig', 'dashboardConfigUpdate', dashboardConfigUpdate);
|
|
113
|
+
const localVarPath = `/admin/v1/dashboardConfigs/{key}`
|
|
114
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
122
|
+
const localVarHeaderParameter = {};
|
|
123
|
+
const localVarQueryParameter = {};
|
|
124
|
+
// authentication BearerToken required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
127
|
+
// authentication DigestAuth required
|
|
128
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
129
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
130
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
131
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
133
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dashboardConfigUpdate, localVarRequestOptions, configuration);
|
|
134
|
+
return {
|
|
135
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
136
|
+
options: localVarRequestOptions,
|
|
137
|
+
};
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
exports.DashboardConfigApiAxiosParamCreator = DashboardConfigApiAxiosParamCreator;
|
|
142
|
+
/**
|
|
143
|
+
* DashboardConfigApi - functional programming interface
|
|
144
|
+
* @export
|
|
145
|
+
*/
|
|
146
|
+
const DashboardConfigApiFp = function (configuration) {
|
|
147
|
+
const localVarAxiosParamCreator = (0, exports.DashboardConfigApiAxiosParamCreator)(configuration);
|
|
148
|
+
return {
|
|
149
|
+
/**
|
|
150
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
151
|
+
* @summary Delete dashboard configuration by key
|
|
152
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
async deleteDashboardConfig(key, options) {
|
|
157
|
+
var _a, _b, _c;
|
|
158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDashboardConfig(key, options);
|
|
159
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
160
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardConfigApi.deleteDashboardConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
161
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
162
|
+
},
|
|
163
|
+
/**
|
|
164
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
165
|
+
* @summary Get dashboard configuration by key
|
|
166
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
async getDashboardConfig(key, options) {
|
|
171
|
+
var _a, _b, _c;
|
|
172
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardConfig(key, options);
|
|
173
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
174
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardConfigApi.getDashboardConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
175
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
176
|
+
},
|
|
177
|
+
/**
|
|
178
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
179
|
+
* @summary Create or replace dashboard configuration by key
|
|
180
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
181
|
+
* @param {DashboardConfigUpdate} dashboardConfigUpdate
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
*/
|
|
185
|
+
async putDashboardConfig(key, dashboardConfigUpdate, options) {
|
|
186
|
+
var _a, _b, _c;
|
|
187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putDashboardConfig(key, dashboardConfigUpdate, options);
|
|
188
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
189
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardConfigApi.putDashboardConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
190
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
191
|
+
},
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
exports.DashboardConfigApiFp = DashboardConfigApiFp;
|
|
195
|
+
/**
|
|
196
|
+
* DashboardConfigApi - factory interface
|
|
197
|
+
* @export
|
|
198
|
+
*/
|
|
199
|
+
const DashboardConfigApiFactory = function (configuration, basePath, axios) {
|
|
200
|
+
const localVarFp = (0, exports.DashboardConfigApiFp)(configuration);
|
|
201
|
+
return {
|
|
202
|
+
/**
|
|
203
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
204
|
+
* @summary Delete dashboard configuration by key
|
|
205
|
+
* @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters.
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
deleteDashboardConfig(requestParameters, options) {
|
|
210
|
+
return localVarFp.deleteDashboardConfig(requestParameters.key, options).then((request) => request(axios, basePath));
|
|
211
|
+
},
|
|
212
|
+
/**
|
|
213
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
214
|
+
* @summary Get dashboard configuration by key
|
|
215
|
+
* @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters.
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
getDashboardConfig(requestParameters, options) {
|
|
220
|
+
return localVarFp.getDashboardConfig(requestParameters.key, options).then((request) => request(axios, basePath));
|
|
221
|
+
},
|
|
222
|
+
/**
|
|
223
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
224
|
+
* @summary Create or replace dashboard configuration by key
|
|
225
|
+
* @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters.
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
putDashboardConfig(requestParameters, options) {
|
|
230
|
+
return localVarFp.putDashboardConfig(requestParameters.key, requestParameters.dashboardConfigUpdate, options).then((request) => request(axios, basePath));
|
|
231
|
+
},
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
exports.DashboardConfigApiFactory = DashboardConfigApiFactory;
|
|
235
|
+
/**
|
|
236
|
+
* DashboardConfigApi - object-oriented interface
|
|
237
|
+
* @export
|
|
238
|
+
* @class DashboardConfigApi
|
|
239
|
+
* @extends {BaseAPI}
|
|
240
|
+
*/
|
|
241
|
+
class DashboardConfigApi extends base_1.BaseAPI {
|
|
242
|
+
/**
|
|
243
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
244
|
+
* @summary Delete dashboard configuration by key
|
|
245
|
+
* @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters.
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
* @memberof DashboardConfigApi
|
|
249
|
+
*/
|
|
250
|
+
deleteDashboardConfig(requestParameters, options) {
|
|
251
|
+
return (0, exports.DashboardConfigApiFp)(this.configuration).deleteDashboardConfig(requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
255
|
+
* @summary Get dashboard configuration by key
|
|
256
|
+
* @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters.
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
* @memberof DashboardConfigApi
|
|
260
|
+
*/
|
|
261
|
+
getDashboardConfig(requestParameters, options) {
|
|
262
|
+
return (0, exports.DashboardConfigApiFp)(this.configuration).getDashboardConfig(requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
266
|
+
* @summary Create or replace dashboard configuration by key
|
|
267
|
+
* @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters.
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
* @memberof DashboardConfigApi
|
|
271
|
+
*/
|
|
272
|
+
putDashboardConfig(requestParameters, options) {
|
|
273
|
+
return (0, exports.DashboardConfigApiFp)(this.configuration).putDashboardConfig(requestParameters.key, requestParameters.dashboardConfigUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
exports.DashboardConfigApi = DashboardConfigApi;
|
|
277
|
+
//# sourceMappingURL=dashboard-config-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard-config-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/dashboard-config-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAOtH;;;GAGG;AACI,MAAM,mCAAmC,GAAG,UAAU,aAA6B;IACtF,OAAO;QACH;;;;;;WAMG;QACH,qBAAqB,EAAE,KAAK,EAAE,GAAW,EAAE,UAAiC,EAAE,EAAwB,EAAE;YACpG,2DAA2D;YAC3D,IAAA,0BAAiB,EAAC,uBAAuB,EAAE,KAAK,EAAE,GAAG,CAAC,CAAA;YACtD,MAAM,YAAY,GAAG,kCAAkC;iBAClD,OAAO,CAAC,IAAI,KAAK,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC5D,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,QAAQ,IAAK,WAAW,GAAK,OAAO,CAAC,CAAC;YAC/E,MAAM,uBAAuB,GAAG,EAAS,CAAC;YAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;YAEzC,sCAAsC;YACtC,sCAAsC;YACtC,MAAM,IAAA,8BAAqB,EAAC,uBAAuB,EAAE,aAAa,CAAC,CAAA;YAEnE,qCAAqC;YACrC,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AAa,kBAAmB,SAAQ,cAAO;IAC3C;;;;;;;OAOG;IACI,qBAAqB,CAAC,iBAAiE,EAAE,OAA+B;QAC3H,OAAO,IAAA,4BAAoB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAChK,CAAC;IAED;;;;;;;OAOG;IACI,kBAAkB,CAAC,iBAA8D,EAAE,OAA+B;QACrH,OAAO,IAAA,4BAAoB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC7J,CAAC;IAED;;;;;;;OAOG;IACI,kBAAkB,CAAC,iBAA8D,EAAE,OAA+B;QACrH,OAAO,IAAA,4BAAoB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,GAAG,EAAE,iBAAiB,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACtM,CAAC;CACJ;AApCD,gDAoCC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 DashboardConfigUpdate
|
|
16
|
+
*/
|
|
17
|
+
export interface DashboardConfigUpdate {
|
|
18
|
+
/**
|
|
19
|
+
* Any non-null JSON value. Replaces the complete stored value.
|
|
20
|
+
* @type {any}
|
|
21
|
+
* @memberof DashboardConfigUpdate
|
|
22
|
+
*/
|
|
23
|
+
'value': any;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=dashboard-config-update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard-config-update.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/dashboard-config-update.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,OAAO,EAAE,GAAG,CAAC;CAChB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=dashboard-config-update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard-config-update.js","sourceRoot":"","sources":["../../../src/adminapi/models/dashboard-config-update.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 DashboardConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface DashboardConfig {
|
|
18
|
+
/**
|
|
19
|
+
* Frontend-defined platform-wide key. Organization identifiers in this key do not enforce tenant isolation.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DashboardConfig
|
|
22
|
+
*/
|
|
23
|
+
'key': string;
|
|
24
|
+
/**
|
|
25
|
+
* Stored JSON value, or null when the key has no configuration.
|
|
26
|
+
* @type {any}
|
|
27
|
+
* @memberof DashboardConfig
|
|
28
|
+
*/
|
|
29
|
+
'value'?: any;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=dashboard-config.d.ts.map
|