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