@halo-dev/api-client 0.0.3 → 0.0.4
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/index.cjs +106 -522
- package/dist/index.d.ts +189 -777
- package/dist/index.mjs +99 -507
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -64,32 +64,10 @@ const PluginStatusPhaseEnum = {
|
|
|
64
64
|
Stopped: "STOPPED",
|
|
65
65
|
Failed: "FAILED"
|
|
66
66
|
};
|
|
67
|
-
const
|
|
67
|
+
const ActuatorApiAxiosParamCreator = function(configuration) {
|
|
68
68
|
return {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
72
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/password`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
73
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74
|
-
let baseOptions;
|
|
75
|
-
if (configuration) {
|
|
76
|
-
baseOptions = configuration.baseOptions;
|
|
77
|
-
}
|
|
78
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
79
|
-
const localVarHeaderParameter = {};
|
|
80
|
-
const localVarQueryParameter = {};
|
|
81
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
82
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
85
|
-
localVarRequestOptions.data = serializeDataIfNeeded(changePasswordRequest, localVarRequestOptions, configuration);
|
|
86
|
-
return {
|
|
87
|
-
url: toPathString(localVarUrlObj),
|
|
88
|
-
options: localVarRequestOptions
|
|
89
|
-
};
|
|
90
|
-
},
|
|
91
|
-
getCurrentUserDetail: async (options = {}) => {
|
|
92
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/-`;
|
|
69
|
+
health: async (options = {}) => {
|
|
70
|
+
const localVarPath = `/actuator/health`;
|
|
93
71
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
94
72
|
let baseOptions;
|
|
95
73
|
if (configuration) {
|
|
@@ -106,9 +84,9 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
106
84
|
options: localVarRequestOptions
|
|
107
85
|
};
|
|
108
86
|
},
|
|
109
|
-
|
|
110
|
-
assertParamExists("
|
|
111
|
-
const localVarPath = `/
|
|
87
|
+
healthPath: async (path, options = {}) => {
|
|
88
|
+
assertParamExists("healthPath", "path", path);
|
|
89
|
+
const localVarPath = `/actuator/health/{*path}`.replace(`{${"*path"}}`, encodeURIComponent(String(path)));
|
|
112
90
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
113
91
|
let baseOptions;
|
|
114
92
|
if (configuration) {
|
|
@@ -125,144 +103,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
125
103
|
options: localVarRequestOptions
|
|
126
104
|
};
|
|
127
105
|
},
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
assertParamExists("grantPermission", "grantRequest", grantRequest);
|
|
131
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
132
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
133
|
-
let baseOptions;
|
|
134
|
-
if (configuration) {
|
|
135
|
-
baseOptions = configuration.baseOptions;
|
|
136
|
-
}
|
|
137
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
138
|
-
const localVarHeaderParameter = {};
|
|
139
|
-
const localVarQueryParameter = {};
|
|
140
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
141
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
142
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
143
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
144
|
-
localVarRequestOptions.data = serializeDataIfNeeded(grantRequest, localVarRequestOptions, configuration);
|
|
145
|
-
return {
|
|
146
|
-
url: toPathString(localVarUrlObj),
|
|
147
|
-
options: localVarRequestOptions
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
153
|
-
const localVarAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator(configuration);
|
|
154
|
-
return {
|
|
155
|
-
async changePassword(name, changePasswordRequest, options) {
|
|
156
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.changePassword(name, changePasswordRequest, options);
|
|
157
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
158
|
-
},
|
|
159
|
-
async getCurrentUserDetail(options) {
|
|
160
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUserDetail(options);
|
|
161
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
162
|
-
},
|
|
163
|
-
async getPermissions(name, options) {
|
|
164
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
165
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
166
|
-
},
|
|
167
|
-
async grantPermission(name, grantRequest, options) {
|
|
168
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
169
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
174
|
-
const localVarFp = ApiHaloRunV1alpha1UserApiFp(configuration);
|
|
175
|
-
return {
|
|
176
|
-
changePassword(name, changePasswordRequest, options) {
|
|
177
|
-
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
178
|
-
},
|
|
179
|
-
getCurrentUserDetail(options) {
|
|
180
|
-
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
181
|
-
},
|
|
182
|
-
getPermissions(name, options) {
|
|
183
|
-
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
184
|
-
},
|
|
185
|
-
grantPermission(name, grantRequest, options) {
|
|
186
|
-
return localVarFp.grantPermission(name, grantRequest, options).then((request) => request(axios, basePath));
|
|
187
|
-
}
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
191
|
-
changePassword(name, changePasswordRequest, options) {
|
|
192
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(name, changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
193
|
-
}
|
|
194
|
-
getCurrentUserDetail(options) {
|
|
195
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
|
|
196
|
-
}
|
|
197
|
-
getPermissions(name, options) {
|
|
198
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(name, options).then((request) => request(this.axios, this.basePath));
|
|
199
|
-
}
|
|
200
|
-
grantPermission(name, grantRequest, options) {
|
|
201
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
const AppleGuqingXyzV1alpha1AppleApiAxiosParamCreator = function(configuration) {
|
|
205
|
-
return {
|
|
206
|
-
createappleGuqingXyzV1alpha1Apple: async (apple, options = {}) => {
|
|
207
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples`;
|
|
208
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
209
|
-
let baseOptions;
|
|
210
|
-
if (configuration) {
|
|
211
|
-
baseOptions = configuration.baseOptions;
|
|
212
|
-
}
|
|
213
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
214
|
-
const localVarHeaderParameter = {};
|
|
215
|
-
const localVarQueryParameter = {};
|
|
216
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
217
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
218
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
219
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
220
|
-
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
221
|
-
return {
|
|
222
|
-
url: toPathString(localVarUrlObj),
|
|
223
|
-
options: localVarRequestOptions
|
|
224
|
-
};
|
|
225
|
-
},
|
|
226
|
-
deleteappleGuqingXyzV1alpha1Apple: async (name, options = {}) => {
|
|
227
|
-
assertParamExists("deleteappleGuqingXyzV1alpha1Apple", "name", name);
|
|
228
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
229
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
230
|
-
let baseOptions;
|
|
231
|
-
if (configuration) {
|
|
232
|
-
baseOptions = configuration.baseOptions;
|
|
233
|
-
}
|
|
234
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
235
|
-
const localVarHeaderParameter = {};
|
|
236
|
-
const localVarQueryParameter = {};
|
|
237
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
238
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
239
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
240
|
-
return {
|
|
241
|
-
url: toPathString(localVarUrlObj),
|
|
242
|
-
options: localVarRequestOptions
|
|
243
|
-
};
|
|
244
|
-
},
|
|
245
|
-
getappleGuqingXyzV1alpha1Apple: async (name, options = {}) => {
|
|
246
|
-
assertParamExists("getappleGuqingXyzV1alpha1Apple", "name", name);
|
|
247
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
248
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
249
|
-
let baseOptions;
|
|
250
|
-
if (configuration) {
|
|
251
|
-
baseOptions = configuration.baseOptions;
|
|
252
|
-
}
|
|
253
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
254
|
-
const localVarHeaderParameter = {};
|
|
255
|
-
const localVarQueryParameter = {};
|
|
256
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
257
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
259
|
-
return {
|
|
260
|
-
url: toPathString(localVarUrlObj),
|
|
261
|
-
options: localVarRequestOptions
|
|
262
|
-
};
|
|
263
|
-
},
|
|
264
|
-
listappleGuqingXyzV1alpha1Apple: async (page, size, sort, options = {}) => {
|
|
265
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples`;
|
|
106
|
+
links: async (options = {}) => {
|
|
107
|
+
const localVarPath = `/actuator`;
|
|
266
108
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
267
109
|
let baseOptions;
|
|
268
110
|
if (configuration) {
|
|
@@ -271,39 +113,9 @@ const AppleGuqingXyzV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
271
113
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
272
114
|
const localVarHeaderParameter = {};
|
|
273
115
|
const localVarQueryParameter = {};
|
|
274
|
-
if (page !== void 0) {
|
|
275
|
-
localVarQueryParameter["page"] = page;
|
|
276
|
-
}
|
|
277
|
-
if (size !== void 0) {
|
|
278
|
-
localVarQueryParameter["size"] = size;
|
|
279
|
-
}
|
|
280
|
-
if (sort !== void 0) {
|
|
281
|
-
localVarQueryParameter["sort"] = sort;
|
|
282
|
-
}
|
|
283
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
284
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
286
|
-
return {
|
|
287
|
-
url: toPathString(localVarUrlObj),
|
|
288
|
-
options: localVarRequestOptions
|
|
289
|
-
};
|
|
290
|
-
},
|
|
291
|
-
updateappleGuqingXyzV1alpha1Apple: async (name, apple, options = {}) => {
|
|
292
|
-
assertParamExists("updateappleGuqingXyzV1alpha1Apple", "name", name);
|
|
293
|
-
const localVarPath = `/apis/apple.guqing.xyz/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
294
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
295
|
-
let baseOptions;
|
|
296
|
-
if (configuration) {
|
|
297
|
-
baseOptions = configuration.baseOptions;
|
|
298
|
-
}
|
|
299
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
300
|
-
const localVarHeaderParameter = {};
|
|
301
|
-
const localVarQueryParameter = {};
|
|
302
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
303
116
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
117
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
118
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
306
|
-
localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
|
|
307
119
|
return {
|
|
308
120
|
url: toPathString(localVarUrlObj),
|
|
309
121
|
options: localVarRequestOptions
|
|
@@ -311,116 +123,53 @@ const AppleGuqingXyzV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
311
123
|
}
|
|
312
124
|
};
|
|
313
125
|
};
|
|
314
|
-
const
|
|
315
|
-
const localVarAxiosParamCreator =
|
|
126
|
+
const ActuatorApiFp = function(configuration) {
|
|
127
|
+
const localVarAxiosParamCreator = ActuatorApiAxiosParamCreator(configuration);
|
|
316
128
|
return {
|
|
317
|
-
async
|
|
318
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
319
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
320
|
-
},
|
|
321
|
-
async deleteappleGuqingXyzV1alpha1Apple(name, options) {
|
|
322
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteappleGuqingXyzV1alpha1Apple(name, options);
|
|
323
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
324
|
-
},
|
|
325
|
-
async getappleGuqingXyzV1alpha1Apple(name, options) {
|
|
326
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getappleGuqingXyzV1alpha1Apple(name, options);
|
|
129
|
+
async health(options) {
|
|
130
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.health(options);
|
|
327
131
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
328
132
|
},
|
|
329
|
-
async
|
|
330
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
133
|
+
async healthPath(path, options) {
|
|
134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.healthPath(path, options);
|
|
331
135
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
332
136
|
},
|
|
333
|
-
async
|
|
334
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
137
|
+
async links(options) {
|
|
138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.links(options);
|
|
335
139
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
336
140
|
}
|
|
337
141
|
};
|
|
338
142
|
};
|
|
339
|
-
const
|
|
340
|
-
const localVarFp =
|
|
143
|
+
const ActuatorApiFactory = function(configuration, basePath, axios) {
|
|
144
|
+
const localVarFp = ActuatorApiFp(configuration);
|
|
341
145
|
return {
|
|
342
|
-
|
|
343
|
-
return localVarFp.
|
|
146
|
+
health(options) {
|
|
147
|
+
return localVarFp.health(options).then((request) => request(axios, basePath));
|
|
344
148
|
},
|
|
345
|
-
|
|
346
|
-
return localVarFp.
|
|
149
|
+
healthPath(path, options) {
|
|
150
|
+
return localVarFp.healthPath(path, options).then((request) => request(axios, basePath));
|
|
347
151
|
},
|
|
348
|
-
|
|
349
|
-
return localVarFp.
|
|
350
|
-
},
|
|
351
|
-
listappleGuqingXyzV1alpha1Apple(page, size, sort, options) {
|
|
352
|
-
return localVarFp.listappleGuqingXyzV1alpha1Apple(page, size, sort, options).then((request) => request(axios, basePath));
|
|
353
|
-
},
|
|
354
|
-
updateappleGuqingXyzV1alpha1Apple(name, apple, options) {
|
|
355
|
-
return localVarFp.updateappleGuqingXyzV1alpha1Apple(name, apple, options).then((request) => request(axios, basePath));
|
|
152
|
+
links(options) {
|
|
153
|
+
return localVarFp.links(options).then((request) => request(axios, basePath));
|
|
356
154
|
}
|
|
357
155
|
};
|
|
358
156
|
};
|
|
359
|
-
class
|
|
360
|
-
|
|
361
|
-
return
|
|
362
|
-
}
|
|
363
|
-
deleteappleGuqingXyzV1alpha1Apple(name, options) {
|
|
364
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).deleteappleGuqingXyzV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
|
|
157
|
+
class ActuatorApi extends BaseAPI {
|
|
158
|
+
health(options) {
|
|
159
|
+
return ActuatorApiFp(this.configuration).health(options).then((request) => request(this.axios, this.basePath));
|
|
365
160
|
}
|
|
366
|
-
|
|
367
|
-
return
|
|
161
|
+
healthPath(path, options) {
|
|
162
|
+
return ActuatorApiFp(this.configuration).healthPath(path, options).then((request) => request(this.axios, this.basePath));
|
|
368
163
|
}
|
|
369
|
-
|
|
370
|
-
return
|
|
371
|
-
}
|
|
372
|
-
updateappleGuqingXyzV1alpha1Apple(name, apple, options) {
|
|
373
|
-
return AppleGuqingXyzV1alpha1AppleApiFp(this.configuration).updateappleGuqingXyzV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
const ApplesControllerApiAxiosParamCreator = function(configuration) {
|
|
377
|
-
return {
|
|
378
|
-
hello: async (options = {}) => {
|
|
379
|
-
const localVarPath = `/apis/plugin.api.halo.run/v1alpha1/plugins/PluginTemplate/apples`;
|
|
380
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
381
|
-
let baseOptions;
|
|
382
|
-
if (configuration) {
|
|
383
|
-
baseOptions = configuration.baseOptions;
|
|
384
|
-
}
|
|
385
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
386
|
-
const localVarHeaderParameter = {};
|
|
387
|
-
const localVarQueryParameter = {};
|
|
388
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
389
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
390
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
391
|
-
return {
|
|
392
|
-
url: toPathString(localVarUrlObj),
|
|
393
|
-
options: localVarRequestOptions
|
|
394
|
-
};
|
|
395
|
-
}
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
const ApplesControllerApiFp = function(configuration) {
|
|
399
|
-
const localVarAxiosParamCreator = ApplesControllerApiAxiosParamCreator(configuration);
|
|
400
|
-
return {
|
|
401
|
-
async hello(options) {
|
|
402
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.hello(options);
|
|
403
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
404
|
-
}
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
const ApplesControllerApiFactory = function(configuration, basePath, axios) {
|
|
408
|
-
const localVarFp = ApplesControllerApiFp(configuration);
|
|
409
|
-
return {
|
|
410
|
-
hello(options) {
|
|
411
|
-
return localVarFp.hello(options).then((request) => request(axios, basePath));
|
|
412
|
-
}
|
|
413
|
-
};
|
|
414
|
-
};
|
|
415
|
-
class ApplesControllerApi extends BaseAPI {
|
|
416
|
-
hello(options) {
|
|
417
|
-
return ApplesControllerApiFp(this.configuration).hello(options).then((request) => request(this.axios, this.basePath));
|
|
164
|
+
links(options) {
|
|
165
|
+
return ActuatorApiFp(this.configuration).links(options).then((request) => request(this.axios, this.basePath));
|
|
418
166
|
}
|
|
419
167
|
}
|
|
420
|
-
const
|
|
168
|
+
const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
421
169
|
return {
|
|
422
|
-
|
|
423
|
-
|
|
170
|
+
installPlugin: async (file, options = {}) => {
|
|
171
|
+
assertParamExists("installPlugin", "file", file);
|
|
172
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/plugins/install`;
|
|
424
173
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
425
174
|
let baseOptions;
|
|
426
175
|
if (configuration) {
|
|
@@ -429,97 +178,15 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
429
178
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
430
179
|
const localVarHeaderParameter = {};
|
|
431
180
|
const localVarQueryParameter = {};
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
436
|
-
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
437
|
-
return {
|
|
438
|
-
url: toPathString(localVarUrlObj),
|
|
439
|
-
options: localVarRequestOptions
|
|
440
|
-
};
|
|
441
|
-
},
|
|
442
|
-
deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
443
|
-
assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
|
|
444
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
445
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
446
|
-
let baseOptions;
|
|
447
|
-
if (configuration) {
|
|
448
|
-
baseOptions = configuration.baseOptions;
|
|
181
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
182
|
+
if (file !== void 0) {
|
|
183
|
+
localVarFormParams.append("file", file);
|
|
449
184
|
}
|
|
450
|
-
|
|
451
|
-
const localVarHeaderParameter = {};
|
|
452
|
-
const localVarQueryParameter = {};
|
|
185
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
453
186
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
454
187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
455
188
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
456
|
-
|
|
457
|
-
url: toPathString(localVarUrlObj),
|
|
458
|
-
options: localVarRequestOptions
|
|
459
|
-
};
|
|
460
|
-
},
|
|
461
|
-
getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
462
|
-
assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
|
|
463
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
464
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
465
|
-
let baseOptions;
|
|
466
|
-
if (configuration) {
|
|
467
|
-
baseOptions = configuration.baseOptions;
|
|
468
|
-
}
|
|
469
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
470
|
-
const localVarHeaderParameter = {};
|
|
471
|
-
const localVarQueryParameter = {};
|
|
472
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
473
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
474
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
475
|
-
return {
|
|
476
|
-
url: toPathString(localVarUrlObj),
|
|
477
|
-
options: localVarRequestOptions
|
|
478
|
-
};
|
|
479
|
-
},
|
|
480
|
-
listcoreHaloRunV1alpha1Link: async (page, size, sort, options = {}) => {
|
|
481
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
482
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
483
|
-
let baseOptions;
|
|
484
|
-
if (configuration) {
|
|
485
|
-
baseOptions = configuration.baseOptions;
|
|
486
|
-
}
|
|
487
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
488
|
-
const localVarHeaderParameter = {};
|
|
489
|
-
const localVarQueryParameter = {};
|
|
490
|
-
if (page !== void 0) {
|
|
491
|
-
localVarQueryParameter["page"] = page;
|
|
492
|
-
}
|
|
493
|
-
if (size !== void 0) {
|
|
494
|
-
localVarQueryParameter["size"] = size;
|
|
495
|
-
}
|
|
496
|
-
if (sort !== void 0) {
|
|
497
|
-
localVarQueryParameter["sort"] = sort;
|
|
498
|
-
}
|
|
499
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
500
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
501
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
502
|
-
return {
|
|
503
|
-
url: toPathString(localVarUrlObj),
|
|
504
|
-
options: localVarRequestOptions
|
|
505
|
-
};
|
|
506
|
-
},
|
|
507
|
-
updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
|
|
508
|
-
assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
|
|
509
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
510
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
511
|
-
let baseOptions;
|
|
512
|
-
if (configuration) {
|
|
513
|
-
baseOptions = configuration.baseOptions;
|
|
514
|
-
}
|
|
515
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
516
|
-
const localVarHeaderParameter = {};
|
|
517
|
-
const localVarQueryParameter = {};
|
|
518
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
519
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
520
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
521
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
522
|
-
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
189
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
523
190
|
return {
|
|
524
191
|
url: toPathString(localVarUrlObj),
|
|
525
192
|
options: localVarRequestOptions
|
|
@@ -527,112 +194,54 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
527
194
|
}
|
|
528
195
|
};
|
|
529
196
|
};
|
|
530
|
-
const
|
|
531
|
-
const localVarAxiosParamCreator =
|
|
197
|
+
const ApiHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
198
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
532
199
|
return {
|
|
533
|
-
async
|
|
534
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
535
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
536
|
-
},
|
|
537
|
-
async deletecoreHaloRunV1alpha1Link(name, options) {
|
|
538
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
|
|
539
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
540
|
-
},
|
|
541
|
-
async getcoreHaloRunV1alpha1Link(name, options) {
|
|
542
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
543
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
544
|
-
},
|
|
545
|
-
async listcoreHaloRunV1alpha1Link(page, size, sort, options) {
|
|
546
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, sort, options);
|
|
547
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
548
|
-
},
|
|
549
|
-
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
550
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
|
|
200
|
+
async installPlugin(file, options) {
|
|
201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
551
202
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
552
203
|
}
|
|
553
204
|
};
|
|
554
205
|
};
|
|
555
|
-
const
|
|
556
|
-
const localVarFp =
|
|
206
|
+
const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
207
|
+
const localVarFp = ApiHaloRunV1alpha1PluginApiFp(configuration);
|
|
557
208
|
return {
|
|
558
|
-
|
|
559
|
-
return localVarFp.
|
|
560
|
-
},
|
|
561
|
-
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
562
|
-
return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
563
|
-
},
|
|
564
|
-
getcoreHaloRunV1alpha1Link(name, options) {
|
|
565
|
-
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
566
|
-
},
|
|
567
|
-
listcoreHaloRunV1alpha1Link(page, size, sort, options) {
|
|
568
|
-
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, sort, options).then((request) => request(axios, basePath));
|
|
569
|
-
},
|
|
570
|
-
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
571
|
-
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
209
|
+
installPlugin(file, options) {
|
|
210
|
+
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
572
211
|
}
|
|
573
212
|
};
|
|
574
213
|
};
|
|
575
|
-
class
|
|
576
|
-
|
|
577
|
-
return
|
|
578
|
-
}
|
|
579
|
-
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
580
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
581
|
-
}
|
|
582
|
-
getcoreHaloRunV1alpha1Link(name, options) {
|
|
583
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
|
|
584
|
-
}
|
|
585
|
-
listcoreHaloRunV1alpha1Link(page, size, sort, options) {
|
|
586
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size, sort, options).then((request) => request(this.axios, this.basePath));
|
|
587
|
-
}
|
|
588
|
-
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
589
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(this.axios, this.basePath));
|
|
214
|
+
class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
215
|
+
installPlugin(file, options) {
|
|
216
|
+
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
590
217
|
}
|
|
591
218
|
}
|
|
592
|
-
const
|
|
219
|
+
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
593
220
|
return {
|
|
594
|
-
|
|
595
|
-
|
|
221
|
+
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
222
|
+
assertParamExists("changePassword", "name", name);
|
|
223
|
+
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
224
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/password`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
596
225
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
597
226
|
let baseOptions;
|
|
598
227
|
if (configuration) {
|
|
599
228
|
baseOptions = configuration.baseOptions;
|
|
600
229
|
}
|
|
601
|
-
const localVarRequestOptions = { method: "
|
|
230
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
602
231
|
const localVarHeaderParameter = {};
|
|
603
232
|
const localVarQueryParameter = {};
|
|
604
233
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
605
234
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
606
235
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
607
236
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
608
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
609
|
-
return {
|
|
610
|
-
url: toPathString(localVarUrlObj),
|
|
611
|
-
options: localVarRequestOptions
|
|
612
|
-
};
|
|
613
|
-
},
|
|
614
|
-
deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
615
|
-
assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
616
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
617
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
618
|
-
let baseOptions;
|
|
619
|
-
if (configuration) {
|
|
620
|
-
baseOptions = configuration.baseOptions;
|
|
621
|
-
}
|
|
622
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
623
|
-
const localVarHeaderParameter = {};
|
|
624
|
-
const localVarQueryParameter = {};
|
|
625
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
626
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
627
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
237
|
+
localVarRequestOptions.data = serializeDataIfNeeded(changePasswordRequest, localVarRequestOptions, configuration);
|
|
628
238
|
return {
|
|
629
239
|
url: toPathString(localVarUrlObj),
|
|
630
240
|
options: localVarRequestOptions
|
|
631
241
|
};
|
|
632
242
|
},
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
243
|
+
getCurrentUserDetail: async (options = {}) => {
|
|
244
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/-`;
|
|
636
245
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
637
246
|
let baseOptions;
|
|
638
247
|
if (configuration) {
|
|
@@ -649,8 +258,9 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
649
258
|
options: localVarRequestOptions
|
|
650
259
|
};
|
|
651
260
|
},
|
|
652
|
-
|
|
653
|
-
|
|
261
|
+
getPermissions: async (name, options = {}) => {
|
|
262
|
+
assertParamExists("getPermissions", "name", name);
|
|
263
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
654
264
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
655
265
|
let baseOptions;
|
|
656
266
|
if (configuration) {
|
|
@@ -659,15 +269,6 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
659
269
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
660
270
|
const localVarHeaderParameter = {};
|
|
661
271
|
const localVarQueryParameter = {};
|
|
662
|
-
if (page !== void 0) {
|
|
663
|
-
localVarQueryParameter["page"] = page;
|
|
664
|
-
}
|
|
665
|
-
if (size !== void 0) {
|
|
666
|
-
localVarQueryParameter["size"] = size;
|
|
667
|
-
}
|
|
668
|
-
if (sort !== void 0) {
|
|
669
|
-
localVarQueryParameter["sort"] = sort;
|
|
670
|
-
}
|
|
671
272
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
672
273
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
673
274
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -676,22 +277,23 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
676
277
|
options: localVarRequestOptions
|
|
677
278
|
};
|
|
678
279
|
},
|
|
679
|
-
|
|
680
|
-
assertParamExists("
|
|
681
|
-
|
|
280
|
+
grantPermission: async (name, grantRequest, options = {}) => {
|
|
281
|
+
assertParamExists("grantPermission", "name", name);
|
|
282
|
+
assertParamExists("grantPermission", "grantRequest", grantRequest);
|
|
283
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
682
284
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
683
285
|
let baseOptions;
|
|
684
286
|
if (configuration) {
|
|
685
287
|
baseOptions = configuration.baseOptions;
|
|
686
288
|
}
|
|
687
|
-
const localVarRequestOptions = { method: "
|
|
289
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
688
290
|
const localVarHeaderParameter = {};
|
|
689
291
|
const localVarQueryParameter = {};
|
|
690
292
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
691
293
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
692
294
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
693
295
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
694
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
296
|
+
localVarRequestOptions.data = serializeDataIfNeeded(grantRequest, localVarRequestOptions, configuration);
|
|
695
297
|
return {
|
|
696
298
|
url: toPathString(localVarUrlObj),
|
|
697
299
|
options: localVarRequestOptions
|
|
@@ -699,66 +301,56 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
699
301
|
}
|
|
700
302
|
};
|
|
701
303
|
};
|
|
702
|
-
const
|
|
703
|
-
const localVarAxiosParamCreator =
|
|
304
|
+
const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
305
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator(configuration);
|
|
704
306
|
return {
|
|
705
|
-
async
|
|
706
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
707
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
708
|
-
},
|
|
709
|
-
async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
710
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
|
|
307
|
+
async changePassword(name, changePasswordRequest, options) {
|
|
308
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changePassword(name, changePasswordRequest, options);
|
|
711
309
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
712
310
|
},
|
|
713
|
-
async
|
|
714
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
311
|
+
async getCurrentUserDetail(options) {
|
|
312
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUserDetail(options);
|
|
715
313
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
716
314
|
},
|
|
717
|
-
async
|
|
718
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
315
|
+
async getPermissions(name, options) {
|
|
316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
719
317
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
720
318
|
},
|
|
721
|
-
async
|
|
722
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
319
|
+
async grantPermission(name, grantRequest, options) {
|
|
320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
723
321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
724
322
|
}
|
|
725
323
|
};
|
|
726
324
|
};
|
|
727
|
-
const
|
|
728
|
-
const localVarFp =
|
|
325
|
+
const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
326
|
+
const localVarFp = ApiHaloRunV1alpha1UserApiFp(configuration);
|
|
729
327
|
return {
|
|
730
|
-
|
|
731
|
-
return localVarFp.
|
|
732
|
-
},
|
|
733
|
-
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
734
|
-
return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
328
|
+
changePassword(name, changePasswordRequest, options) {
|
|
329
|
+
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
735
330
|
},
|
|
736
|
-
|
|
737
|
-
return localVarFp.
|
|
331
|
+
getCurrentUserDetail(options) {
|
|
332
|
+
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
738
333
|
},
|
|
739
|
-
|
|
740
|
-
return localVarFp.
|
|
334
|
+
getPermissions(name, options) {
|
|
335
|
+
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
741
336
|
},
|
|
742
|
-
|
|
743
|
-
return localVarFp.
|
|
337
|
+
grantPermission(name, grantRequest, options) {
|
|
338
|
+
return localVarFp.grantPermission(name, grantRequest, options).then((request) => request(axios, basePath));
|
|
744
339
|
}
|
|
745
340
|
};
|
|
746
341
|
};
|
|
747
|
-
class
|
|
748
|
-
|
|
749
|
-
return
|
|
750
|
-
}
|
|
751
|
-
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
752
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
342
|
+
class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
343
|
+
changePassword(name, changePasswordRequest, options) {
|
|
344
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(name, changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
753
345
|
}
|
|
754
|
-
|
|
755
|
-
return
|
|
346
|
+
getCurrentUserDetail(options) {
|
|
347
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
|
|
756
348
|
}
|
|
757
|
-
|
|
758
|
-
return
|
|
349
|
+
getPermissions(name, options) {
|
|
350
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(name, options).then((request) => request(this.axios, this.basePath));
|
|
759
351
|
}
|
|
760
|
-
|
|
761
|
-
return
|
|
352
|
+
grantPermission(name, grantRequest, options) {
|
|
353
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
762
354
|
}
|
|
763
355
|
}
|
|
764
356
|
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
@@ -2154,4 +1746,4 @@ class Configuration {
|
|
|
2154
1746
|
}
|
|
2155
1747
|
}
|
|
2156
1748
|
|
|
2157
|
-
export {
|
|
1749
|
+
export { ActuatorApi, ActuatorApiAxiosParamCreator, ActuatorApiFactory, ActuatorApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, Configuration, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|