@halo-dev/api-client 0.0.1 → 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 -442
- package/dist/index.d.ts +188 -654
- package/dist/index.mjs +99 -431
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -64,10 +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
|
-
const localVarPath = `/
|
|
69
|
+
health: async (options = {}) => {
|
|
70
|
+
const localVarPath = `/actuator/health`;
|
|
71
71
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
72
72
|
let baseOptions;
|
|
73
73
|
if (configuration) {
|
|
@@ -84,9 +84,9 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
84
84
|
options: localVarRequestOptions
|
|
85
85
|
};
|
|
86
86
|
},
|
|
87
|
-
|
|
88
|
-
assertParamExists("
|
|
89
|
-
const localVarPath = `/
|
|
87
|
+
healthPath: async (path, options = {}) => {
|
|
88
|
+
assertParamExists("healthPath", "path", path);
|
|
89
|
+
const localVarPath = `/actuator/health/{*path}`.replace(`{${"*path"}}`, encodeURIComponent(String(path)));
|
|
90
90
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
91
91
|
let baseOptions;
|
|
92
92
|
if (configuration) {
|
|
@@ -103,134 +103,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
103
103
|
options: localVarRequestOptions
|
|
104
104
|
};
|
|
105
105
|
},
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
assertParamExists("grantPermission", "grantRequest", grantRequest);
|
|
109
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
110
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
111
|
-
let baseOptions;
|
|
112
|
-
if (configuration) {
|
|
113
|
-
baseOptions = configuration.baseOptions;
|
|
114
|
-
}
|
|
115
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
116
|
-
const localVarHeaderParameter = {};
|
|
117
|
-
const localVarQueryParameter = {};
|
|
118
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
119
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
120
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
121
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
122
|
-
localVarRequestOptions.data = serializeDataIfNeeded(grantRequest, localVarRequestOptions, configuration);
|
|
123
|
-
return {
|
|
124
|
-
url: toPathString(localVarUrlObj),
|
|
125
|
-
options: localVarRequestOptions
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
131
|
-
const localVarAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator(configuration);
|
|
132
|
-
return {
|
|
133
|
-
async getCurrentUserDetail(options) {
|
|
134
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUserDetail(options);
|
|
135
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
136
|
-
},
|
|
137
|
-
async getPermissions(name, options) {
|
|
138
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
139
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
140
|
-
},
|
|
141
|
-
async grantPermission(name, grantRequest, options) {
|
|
142
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
143
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
148
|
-
const localVarFp = ApiHaloRunV1alpha1UserApiFp(configuration);
|
|
149
|
-
return {
|
|
150
|
-
getCurrentUserDetail(options) {
|
|
151
|
-
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
152
|
-
},
|
|
153
|
-
getPermissions(name, options) {
|
|
154
|
-
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
155
|
-
},
|
|
156
|
-
grantPermission(name, grantRequest, options) {
|
|
157
|
-
return localVarFp.grantPermission(name, grantRequest, options).then((request) => request(axios, basePath));
|
|
158
|
-
}
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
162
|
-
getCurrentUserDetail(options) {
|
|
163
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
|
|
164
|
-
}
|
|
165
|
-
getPermissions(name, options) {
|
|
166
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(name, options).then((request) => request(this.axios, this.basePath));
|
|
167
|
-
}
|
|
168
|
-
grantPermission(name, grantRequest, options) {
|
|
169
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
173
|
-
return {
|
|
174
|
-
createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
|
|
175
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
176
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
177
|
-
let baseOptions;
|
|
178
|
-
if (configuration) {
|
|
179
|
-
baseOptions = configuration.baseOptions;
|
|
180
|
-
}
|
|
181
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
182
|
-
const localVarHeaderParameter = {};
|
|
183
|
-
const localVarQueryParameter = {};
|
|
184
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
185
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
186
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
188
|
-
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
189
|
-
return {
|
|
190
|
-
url: toPathString(localVarUrlObj),
|
|
191
|
-
options: localVarRequestOptions
|
|
192
|
-
};
|
|
193
|
-
},
|
|
194
|
-
deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
195
|
-
assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
|
|
196
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
197
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
198
|
-
let baseOptions;
|
|
199
|
-
if (configuration) {
|
|
200
|
-
baseOptions = configuration.baseOptions;
|
|
201
|
-
}
|
|
202
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
203
|
-
const localVarHeaderParameter = {};
|
|
204
|
-
const localVarQueryParameter = {};
|
|
205
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
206
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
207
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
208
|
-
return {
|
|
209
|
-
url: toPathString(localVarUrlObj),
|
|
210
|
-
options: localVarRequestOptions
|
|
211
|
-
};
|
|
212
|
-
},
|
|
213
|
-
getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
214
|
-
assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
|
|
215
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
216
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
217
|
-
let baseOptions;
|
|
218
|
-
if (configuration) {
|
|
219
|
-
baseOptions = configuration.baseOptions;
|
|
220
|
-
}
|
|
221
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
222
|
-
const localVarHeaderParameter = {};
|
|
223
|
-
const localVarQueryParameter = {};
|
|
224
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
225
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
226
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
227
|
-
return {
|
|
228
|
-
url: toPathString(localVarUrlObj),
|
|
229
|
-
options: localVarRequestOptions
|
|
230
|
-
};
|
|
231
|
-
},
|
|
232
|
-
listcoreHaloRunV1alpha1Link: async (page, size, sort, options = {}) => {
|
|
233
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
106
|
+
links: async (options = {}) => {
|
|
107
|
+
const localVarPath = `/actuator`;
|
|
234
108
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
235
109
|
let baseOptions;
|
|
236
110
|
if (configuration) {
|
|
@@ -239,15 +113,6 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
239
113
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
240
114
|
const localVarHeaderParameter = {};
|
|
241
115
|
const localVarQueryParameter = {};
|
|
242
|
-
if (page !== void 0) {
|
|
243
|
-
localVarQueryParameter["page"] = page;
|
|
244
|
-
}
|
|
245
|
-
if (size !== void 0) {
|
|
246
|
-
localVarQueryParameter["size"] = size;
|
|
247
|
-
}
|
|
248
|
-
if (sort !== void 0) {
|
|
249
|
-
localVarQueryParameter["sort"] = sort;
|
|
250
|
-
}
|
|
251
116
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
252
117
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
253
118
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -255,96 +120,56 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
255
120
|
url: toPathString(localVarUrlObj),
|
|
256
121
|
options: localVarRequestOptions
|
|
257
122
|
};
|
|
258
|
-
},
|
|
259
|
-
updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
|
|
260
|
-
assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
|
|
261
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
262
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
263
|
-
let baseOptions;
|
|
264
|
-
if (configuration) {
|
|
265
|
-
baseOptions = configuration.baseOptions;
|
|
266
|
-
}
|
|
267
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
268
|
-
const localVarHeaderParameter = {};
|
|
269
|
-
const localVarQueryParameter = {};
|
|
270
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
271
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
272
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
273
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
274
|
-
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
275
|
-
return {
|
|
276
|
-
url: toPathString(localVarUrlObj),
|
|
277
|
-
options: localVarRequestOptions
|
|
278
|
-
};
|
|
279
123
|
}
|
|
280
124
|
};
|
|
281
125
|
};
|
|
282
|
-
const
|
|
283
|
-
const localVarAxiosParamCreator =
|
|
126
|
+
const ActuatorApiFp = function(configuration) {
|
|
127
|
+
const localVarAxiosParamCreator = ActuatorApiAxiosParamCreator(configuration);
|
|
284
128
|
return {
|
|
285
|
-
async
|
|
286
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
129
|
+
async health(options) {
|
|
130
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.health(options);
|
|
287
131
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
288
132
|
},
|
|
289
|
-
async
|
|
290
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
133
|
+
async healthPath(path, options) {
|
|
134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.healthPath(path, options);
|
|
291
135
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
292
136
|
},
|
|
293
|
-
async
|
|
294
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
295
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
296
|
-
},
|
|
297
|
-
async listcoreHaloRunV1alpha1Link(page, size, sort, options) {
|
|
298
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, sort, options);
|
|
299
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
300
|
-
},
|
|
301
|
-
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
302
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
|
|
137
|
+
async links(options) {
|
|
138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.links(options);
|
|
303
139
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
304
140
|
}
|
|
305
141
|
};
|
|
306
142
|
};
|
|
307
|
-
const
|
|
308
|
-
const localVarFp =
|
|
143
|
+
const ActuatorApiFactory = function(configuration, basePath, axios) {
|
|
144
|
+
const localVarFp = ActuatorApiFp(configuration);
|
|
309
145
|
return {
|
|
310
|
-
|
|
311
|
-
return localVarFp.
|
|
312
|
-
},
|
|
313
|
-
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
314
|
-
return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
146
|
+
health(options) {
|
|
147
|
+
return localVarFp.health(options).then((request) => request(axios, basePath));
|
|
315
148
|
},
|
|
316
|
-
|
|
317
|
-
return localVarFp.
|
|
149
|
+
healthPath(path, options) {
|
|
150
|
+
return localVarFp.healthPath(path, options).then((request) => request(axios, basePath));
|
|
318
151
|
},
|
|
319
|
-
|
|
320
|
-
return localVarFp.
|
|
321
|
-
},
|
|
322
|
-
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
323
|
-
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
152
|
+
links(options) {
|
|
153
|
+
return localVarFp.links(options).then((request) => request(axios, basePath));
|
|
324
154
|
}
|
|
325
155
|
};
|
|
326
156
|
};
|
|
327
|
-
class
|
|
328
|
-
|
|
329
|
-
return
|
|
330
|
-
}
|
|
331
|
-
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
332
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(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));
|
|
333
160
|
}
|
|
334
|
-
|
|
335
|
-
return
|
|
161
|
+
healthPath(path, options) {
|
|
162
|
+
return ActuatorApiFp(this.configuration).healthPath(path, options).then((request) => request(this.axios, this.basePath));
|
|
336
163
|
}
|
|
337
|
-
|
|
338
|
-
return
|
|
339
|
-
}
|
|
340
|
-
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
341
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(name, link, 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));
|
|
342
166
|
}
|
|
343
167
|
}
|
|
344
|
-
const
|
|
168
|
+
const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
345
169
|
return {
|
|
346
|
-
|
|
347
|
-
|
|
170
|
+
installPlugin: async (file, options = {}) => {
|
|
171
|
+
assertParamExists("installPlugin", "file", file);
|
|
172
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/plugins/install`;
|
|
348
173
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
349
174
|
let baseOptions;
|
|
350
175
|
if (configuration) {
|
|
@@ -353,97 +178,15 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
353
178
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
354
179
|
const localVarHeaderParameter = {};
|
|
355
180
|
const localVarQueryParameter = {};
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
360
|
-
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
361
|
-
return {
|
|
362
|
-
url: toPathString(localVarUrlObj),
|
|
363
|
-
options: localVarRequestOptions
|
|
364
|
-
};
|
|
365
|
-
},
|
|
366
|
-
deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
367
|
-
assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
368
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
369
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
370
|
-
let baseOptions;
|
|
371
|
-
if (configuration) {
|
|
372
|
-
baseOptions = configuration.baseOptions;
|
|
373
|
-
}
|
|
374
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
375
|
-
const localVarHeaderParameter = {};
|
|
376
|
-
const localVarQueryParameter = {};
|
|
377
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
378
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
379
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
380
|
-
return {
|
|
381
|
-
url: toPathString(localVarUrlObj),
|
|
382
|
-
options: localVarRequestOptions
|
|
383
|
-
};
|
|
384
|
-
},
|
|
385
|
-
getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
386
|
-
assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
387
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
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
|
-
listcoreHaloRunV1alpha1LinkGroup: async (page, size, sort, options = {}) => {
|
|
405
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
406
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
407
|
-
let baseOptions;
|
|
408
|
-
if (configuration) {
|
|
409
|
-
baseOptions = configuration.baseOptions;
|
|
410
|
-
}
|
|
411
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
412
|
-
const localVarHeaderParameter = {};
|
|
413
|
-
const localVarQueryParameter = {};
|
|
414
|
-
if (page !== void 0) {
|
|
415
|
-
localVarQueryParameter["page"] = page;
|
|
416
|
-
}
|
|
417
|
-
if (size !== void 0) {
|
|
418
|
-
localVarQueryParameter["size"] = size;
|
|
419
|
-
}
|
|
420
|
-
if (sort !== void 0) {
|
|
421
|
-
localVarQueryParameter["sort"] = sort;
|
|
181
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
182
|
+
if (file !== void 0) {
|
|
183
|
+
localVarFormParams.append("file", file);
|
|
422
184
|
}
|
|
185
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
423
186
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
424
187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
425
188
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
426
|
-
|
|
427
|
-
url: toPathString(localVarUrlObj),
|
|
428
|
-
options: localVarRequestOptions
|
|
429
|
-
};
|
|
430
|
-
},
|
|
431
|
-
updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
|
|
432
|
-
assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
433
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
434
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
435
|
-
let baseOptions;
|
|
436
|
-
if (configuration) {
|
|
437
|
-
baseOptions = configuration.baseOptions;
|
|
438
|
-
}
|
|
439
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
440
|
-
const localVarHeaderParameter = {};
|
|
441
|
-
const localVarQueryParameter = {};
|
|
442
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
443
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
444
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
445
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
446
|
-
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
189
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
447
190
|
return {
|
|
448
191
|
url: toPathString(localVarUrlObj),
|
|
449
192
|
options: localVarRequestOptions
|
|
@@ -451,112 +194,54 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
451
194
|
}
|
|
452
195
|
};
|
|
453
196
|
};
|
|
454
|
-
const
|
|
455
|
-
const localVarAxiosParamCreator =
|
|
197
|
+
const ApiHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
198
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
456
199
|
return {
|
|
457
|
-
async
|
|
458
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
459
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
460
|
-
},
|
|
461
|
-
async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
462
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
|
|
463
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
464
|
-
},
|
|
465
|
-
async getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
466
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
467
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
468
|
-
},
|
|
469
|
-
async listcoreHaloRunV1alpha1LinkGroup(page, size, sort, options) {
|
|
470
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, sort, options);
|
|
471
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
472
|
-
},
|
|
473
|
-
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
474
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
|
|
200
|
+
async installPlugin(file, options) {
|
|
201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
475
202
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
476
203
|
}
|
|
477
204
|
};
|
|
478
205
|
};
|
|
479
|
-
const
|
|
480
|
-
const localVarFp =
|
|
206
|
+
const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
207
|
+
const localVarFp = ApiHaloRunV1alpha1PluginApiFp(configuration);
|
|
481
208
|
return {
|
|
482
|
-
|
|
483
|
-
return localVarFp.
|
|
484
|
-
},
|
|
485
|
-
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
486
|
-
return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
487
|
-
},
|
|
488
|
-
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
489
|
-
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
490
|
-
},
|
|
491
|
-
listcoreHaloRunV1alpha1LinkGroup(page, size, sort, options) {
|
|
492
|
-
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, sort, options).then((request) => request(axios, basePath));
|
|
493
|
-
},
|
|
494
|
-
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
495
|
-
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
209
|
+
installPlugin(file, options) {
|
|
210
|
+
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
496
211
|
}
|
|
497
212
|
};
|
|
498
213
|
};
|
|
499
|
-
class
|
|
500
|
-
|
|
501
|
-
return
|
|
502
|
-
}
|
|
503
|
-
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
504
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
505
|
-
}
|
|
506
|
-
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
507
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
|
|
508
|
-
}
|
|
509
|
-
listcoreHaloRunV1alpha1LinkGroup(page, size, sort, options) {
|
|
510
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size, sort, options).then((request) => request(this.axios, this.basePath));
|
|
511
|
-
}
|
|
512
|
-
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
513
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, 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));
|
|
514
217
|
}
|
|
515
218
|
}
|
|
516
|
-
const
|
|
219
|
+
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
517
220
|
return {
|
|
518
|
-
|
|
519
|
-
|
|
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)));
|
|
520
225
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
521
226
|
let baseOptions;
|
|
522
227
|
if (configuration) {
|
|
523
228
|
baseOptions = configuration.baseOptions;
|
|
524
229
|
}
|
|
525
|
-
const localVarRequestOptions = { method: "
|
|
230
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
526
231
|
const localVarHeaderParameter = {};
|
|
527
232
|
const localVarQueryParameter = {};
|
|
528
233
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
529
234
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
530
235
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
531
236
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
532
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
237
|
+
localVarRequestOptions.data = serializeDataIfNeeded(changePasswordRequest, localVarRequestOptions, configuration);
|
|
533
238
|
return {
|
|
534
239
|
url: toPathString(localVarUrlObj),
|
|
535
240
|
options: localVarRequestOptions
|
|
536
241
|
};
|
|
537
242
|
},
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
541
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
542
|
-
let baseOptions;
|
|
543
|
-
if (configuration) {
|
|
544
|
-
baseOptions = configuration.baseOptions;
|
|
545
|
-
}
|
|
546
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
547
|
-
const localVarHeaderParameter = {};
|
|
548
|
-
const localVarQueryParameter = {};
|
|
549
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
550
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
551
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
552
|
-
return {
|
|
553
|
-
url: toPathString(localVarUrlObj),
|
|
554
|
-
options: localVarRequestOptions
|
|
555
|
-
};
|
|
556
|
-
},
|
|
557
|
-
getcoreHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
558
|
-
assertParamExists("getcoreHaloRunV1alpha1Post", "name", name);
|
|
559
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
243
|
+
getCurrentUserDetail: async (options = {}) => {
|
|
244
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/-`;
|
|
560
245
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
561
246
|
let baseOptions;
|
|
562
247
|
if (configuration) {
|
|
@@ -573,8 +258,9 @@ const CoreHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
573
258
|
options: localVarRequestOptions
|
|
574
259
|
};
|
|
575
260
|
},
|
|
576
|
-
|
|
577
|
-
|
|
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)));
|
|
578
264
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
579
265
|
let baseOptions;
|
|
580
266
|
if (configuration) {
|
|
@@ -583,15 +269,6 @@ const CoreHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
583
269
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
584
270
|
const localVarHeaderParameter = {};
|
|
585
271
|
const localVarQueryParameter = {};
|
|
586
|
-
if (page !== void 0) {
|
|
587
|
-
localVarQueryParameter["page"] = page;
|
|
588
|
-
}
|
|
589
|
-
if (size !== void 0) {
|
|
590
|
-
localVarQueryParameter["size"] = size;
|
|
591
|
-
}
|
|
592
|
-
if (sort !== void 0) {
|
|
593
|
-
localVarQueryParameter["sort"] = sort;
|
|
594
|
-
}
|
|
595
272
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
596
273
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
597
274
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -600,22 +277,23 @@ const CoreHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
600
277
|
options: localVarRequestOptions
|
|
601
278
|
};
|
|
602
279
|
},
|
|
603
|
-
|
|
604
|
-
assertParamExists("
|
|
605
|
-
|
|
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)));
|
|
606
284
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
607
285
|
let baseOptions;
|
|
608
286
|
if (configuration) {
|
|
609
287
|
baseOptions = configuration.baseOptions;
|
|
610
288
|
}
|
|
611
|
-
const localVarRequestOptions = { method: "
|
|
289
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
612
290
|
const localVarHeaderParameter = {};
|
|
613
291
|
const localVarQueryParameter = {};
|
|
614
292
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
615
293
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
616
294
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
617
295
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
618
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
296
|
+
localVarRequestOptions.data = serializeDataIfNeeded(grantRequest, localVarRequestOptions, configuration);
|
|
619
297
|
return {
|
|
620
298
|
url: toPathString(localVarUrlObj),
|
|
621
299
|
options: localVarRequestOptions
|
|
@@ -623,66 +301,56 @@ const CoreHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
623
301
|
}
|
|
624
302
|
};
|
|
625
303
|
};
|
|
626
|
-
const
|
|
627
|
-
const localVarAxiosParamCreator =
|
|
304
|
+
const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
305
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator(configuration);
|
|
628
306
|
return {
|
|
629
|
-
async
|
|
630
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
631
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
632
|
-
},
|
|
633
|
-
async deletecoreHaloRunV1alpha1Post(name, options) {
|
|
634
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Post(name, options);
|
|
307
|
+
async changePassword(name, changePasswordRequest, options) {
|
|
308
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changePassword(name, changePasswordRequest, options);
|
|
635
309
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
636
310
|
},
|
|
637
|
-
async
|
|
638
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
311
|
+
async getCurrentUserDetail(options) {
|
|
312
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUserDetail(options);
|
|
639
313
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
640
314
|
},
|
|
641
|
-
async
|
|
642
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
315
|
+
async getPermissions(name, options) {
|
|
316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
643
317
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
644
318
|
},
|
|
645
|
-
async
|
|
646
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
319
|
+
async grantPermission(name, grantRequest, options) {
|
|
320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
647
321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
648
322
|
}
|
|
649
323
|
};
|
|
650
324
|
};
|
|
651
|
-
const
|
|
652
|
-
const localVarFp =
|
|
325
|
+
const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
326
|
+
const localVarFp = ApiHaloRunV1alpha1UserApiFp(configuration);
|
|
653
327
|
return {
|
|
654
|
-
|
|
655
|
-
return localVarFp.
|
|
656
|
-
},
|
|
657
|
-
deletecoreHaloRunV1alpha1Post(name, options) {
|
|
658
|
-
return localVarFp.deletecoreHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
328
|
+
changePassword(name, changePasswordRequest, options) {
|
|
329
|
+
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
659
330
|
},
|
|
660
|
-
|
|
661
|
-
return localVarFp.
|
|
331
|
+
getCurrentUserDetail(options) {
|
|
332
|
+
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
662
333
|
},
|
|
663
|
-
|
|
664
|
-
return localVarFp.
|
|
334
|
+
getPermissions(name, options) {
|
|
335
|
+
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
665
336
|
},
|
|
666
|
-
|
|
667
|
-
return localVarFp.
|
|
337
|
+
grantPermission(name, grantRequest, options) {
|
|
338
|
+
return localVarFp.grantPermission(name, grantRequest, options).then((request) => request(axios, basePath));
|
|
668
339
|
}
|
|
669
340
|
};
|
|
670
341
|
};
|
|
671
|
-
class
|
|
672
|
-
|
|
673
|
-
return
|
|
674
|
-
}
|
|
675
|
-
deletecoreHaloRunV1alpha1Post(name, options) {
|
|
676
|
-
return CoreHaloRunV1alpha1PostApiFp(this.configuration).deletecoreHaloRunV1alpha1Post(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));
|
|
677
345
|
}
|
|
678
|
-
|
|
679
|
-
return
|
|
346
|
+
getCurrentUserDetail(options) {
|
|
347
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
|
|
680
348
|
}
|
|
681
|
-
|
|
682
|
-
return
|
|
349
|
+
getPermissions(name, options) {
|
|
350
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(name, options).then((request) => request(this.axios, this.basePath));
|
|
683
351
|
}
|
|
684
|
-
|
|
685
|
-
return
|
|
352
|
+
grantPermission(name, grantRequest, options) {
|
|
353
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
686
354
|
}
|
|
687
355
|
}
|
|
688
356
|
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
@@ -2078,4 +1746,4 @@ class Configuration {
|
|
|
2078
1746
|
}
|
|
2079
1747
|
}
|
|
2080
1748
|
|
|
2081
|
-
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 };
|