@halo-dev/api-client 0.0.71 → 2.3.0
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/LICENSE +674 -21
- package/README.md +1 -14
- package/dist/index.cjs +1986 -758
- package/dist/index.d.ts +1292 -1140
- package/dist/index.mjs +1986 -758
- package/package.json +15 -9
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
|
|
3
|
-
const BASE_PATH = "http://
|
|
3
|
+
const BASE_PATH = "http://127.0.0.1:8090".replace(/\/+$/, "");
|
|
4
4
|
class BaseAPI {
|
|
5
5
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
6
6
|
this.basePath = basePath;
|
|
@@ -22,7 +22,10 @@ class RequiredError extends Error {
|
|
|
22
22
|
const DUMMY_BASE_URL = "https://example.com";
|
|
23
23
|
const assertParamExists = function(functionName, paramName, paramValue) {
|
|
24
24
|
if (paramValue === null || paramValue === void 0) {
|
|
25
|
-
throw new RequiredError(
|
|
25
|
+
throw new RequiredError(
|
|
26
|
+
paramName,
|
|
27
|
+
`Required parameter ${paramName} was null or undefined when calling ${functionName}.`
|
|
28
|
+
);
|
|
26
29
|
}
|
|
27
30
|
};
|
|
28
31
|
const setBasicAuthToObject = function(object, configuration) {
|
|
@@ -36,20 +39,28 @@ const setBearerAuthToObject = async function(object, configuration) {
|
|
|
36
39
|
object["Authorization"] = "Bearer " + accessToken;
|
|
37
40
|
}
|
|
38
41
|
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
43
|
+
if (parameter == null)
|
|
44
|
+
return;
|
|
45
|
+
if (typeof parameter === "object") {
|
|
46
|
+
if (Array.isArray(parameter)) {
|
|
47
|
+
parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
48
|
+
} else {
|
|
49
|
+
Object.keys(parameter).forEach(
|
|
50
|
+
(currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
} else {
|
|
54
|
+
if (urlSearchParams.has(key)) {
|
|
55
|
+
urlSearchParams.append(key, parameter);
|
|
56
|
+
} else {
|
|
57
|
+
urlSearchParams.set(key, parameter);
|
|
51
58
|
}
|
|
52
59
|
}
|
|
60
|
+
}
|
|
61
|
+
const setSearchParams = function(url, ...objects) {
|
|
62
|
+
const searchParams = new URLSearchParams(url.search);
|
|
63
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
53
64
|
url.search = searchParams.toString();
|
|
54
65
|
};
|
|
55
66
|
const serializeDataIfNeeded = function(value, requestOptions, configuration) {
|
|
@@ -69,7 +80,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
69
80
|
|
|
70
81
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
71
82
|
return {
|
|
72
|
-
searchAttachments: async (policy, sort, displayName, ungrouped, uploadedBy,
|
|
83
|
+
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
73
84
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
74
85
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
86
|
let baseOptions;
|
|
@@ -90,27 +101,27 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
90
101
|
if (displayName !== void 0) {
|
|
91
102
|
localVarQueryParameter["displayName"] = displayName;
|
|
92
103
|
}
|
|
104
|
+
if (group !== void 0) {
|
|
105
|
+
localVarQueryParameter["group"] = group;
|
|
106
|
+
}
|
|
93
107
|
if (ungrouped !== void 0) {
|
|
94
108
|
localVarQueryParameter["ungrouped"] = ungrouped;
|
|
95
109
|
}
|
|
96
110
|
if (uploadedBy !== void 0) {
|
|
97
111
|
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
98
112
|
}
|
|
99
|
-
if (group !== void 0) {
|
|
100
|
-
localVarQueryParameter["group"] = group;
|
|
101
|
-
}
|
|
102
113
|
if (size !== void 0) {
|
|
103
114
|
localVarQueryParameter["size"] = size;
|
|
104
115
|
}
|
|
116
|
+
if (page !== void 0) {
|
|
117
|
+
localVarQueryParameter["page"] = page;
|
|
118
|
+
}
|
|
105
119
|
if (labelSelector) {
|
|
106
120
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
107
121
|
}
|
|
108
122
|
if (fieldSelector) {
|
|
109
123
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
110
124
|
}
|
|
111
|
-
if (page !== void 0) {
|
|
112
|
-
localVarQueryParameter["page"] = page;
|
|
113
|
-
}
|
|
114
125
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
115
126
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
116
127
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -158,8 +169,20 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
158
169
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
159
170
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
160
171
|
return {
|
|
161
|
-
async searchAttachments(policy, sort, displayName, ungrouped, uploadedBy,
|
|
162
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(
|
|
172
|
+
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(
|
|
174
|
+
policy,
|
|
175
|
+
sort,
|
|
176
|
+
displayName,
|
|
177
|
+
group,
|
|
178
|
+
ungrouped,
|
|
179
|
+
uploadedBy,
|
|
180
|
+
size,
|
|
181
|
+
page,
|
|
182
|
+
labelSelector,
|
|
183
|
+
fieldSelector,
|
|
184
|
+
options
|
|
185
|
+
);
|
|
163
186
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
164
187
|
},
|
|
165
188
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -171,17 +194,41 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
171
194
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
172
195
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
173
196
|
return {
|
|
174
|
-
searchAttachments(
|
|
175
|
-
return localVarFp.searchAttachments(
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
197
|
+
searchAttachments(requestParameters = {}, options) {
|
|
198
|
+
return localVarFp.searchAttachments(
|
|
199
|
+
requestParameters.policy,
|
|
200
|
+
requestParameters.sort,
|
|
201
|
+
requestParameters.displayName,
|
|
202
|
+
requestParameters.group,
|
|
203
|
+
requestParameters.ungrouped,
|
|
204
|
+
requestParameters.uploadedBy,
|
|
205
|
+
requestParameters.size,
|
|
206
|
+
requestParameters.page,
|
|
207
|
+
requestParameters.labelSelector,
|
|
208
|
+
requestParameters.fieldSelector,
|
|
209
|
+
options
|
|
210
|
+
).then((request) => request(axios, basePath));
|
|
211
|
+
},
|
|
212
|
+
uploadAttachment(requestParameters, options) {
|
|
213
|
+
return localVarFp.uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(axios, basePath));
|
|
179
214
|
}
|
|
180
215
|
};
|
|
181
216
|
};
|
|
182
217
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
183
218
|
searchAttachments(requestParameters = {}, options) {
|
|
184
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(
|
|
219
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(
|
|
220
|
+
requestParameters.policy,
|
|
221
|
+
requestParameters.sort,
|
|
222
|
+
requestParameters.displayName,
|
|
223
|
+
requestParameters.group,
|
|
224
|
+
requestParameters.ungrouped,
|
|
225
|
+
requestParameters.uploadedBy,
|
|
226
|
+
requestParameters.size,
|
|
227
|
+
requestParameters.page,
|
|
228
|
+
requestParameters.labelSelector,
|
|
229
|
+
requestParameters.fieldSelector,
|
|
230
|
+
options
|
|
231
|
+
).then((request) => request(this.axios, this.basePath));
|
|
185
232
|
}
|
|
186
233
|
uploadAttachment(requestParameters, options) {
|
|
187
234
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -216,7 +263,10 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
216
263
|
createReply: async (name, replyRequest, options = {}) => {
|
|
217
264
|
assertParamExists("createReply", "name", name);
|
|
218
265
|
assertParamExists("createReply", "replyRequest", replyRequest);
|
|
219
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
266
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
267
|
+
`{${"name"}}`,
|
|
268
|
+
encodeURIComponent(String(name))
|
|
269
|
+
);
|
|
220
270
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
221
271
|
let baseOptions;
|
|
222
272
|
if (configuration) {
|
|
@@ -237,7 +287,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
237
287
|
options: localVarRequestOptions
|
|
238
288
|
};
|
|
239
289
|
},
|
|
240
|
-
listComments: async (sort,
|
|
290
|
+
listComments: async (sort, keyword, hidden, top, approved, sortOrder, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
241
291
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
242
292
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
243
293
|
let baseOptions;
|
|
@@ -252,12 +302,21 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
252
302
|
if (sort !== void 0) {
|
|
253
303
|
localVarQueryParameter["sort"] = sort;
|
|
254
304
|
}
|
|
255
|
-
if (
|
|
256
|
-
localVarQueryParameter["
|
|
305
|
+
if (keyword !== void 0) {
|
|
306
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
307
|
+
}
|
|
308
|
+
if (hidden !== void 0) {
|
|
309
|
+
localVarQueryParameter["hidden"] = hidden;
|
|
310
|
+
}
|
|
311
|
+
if (top !== void 0) {
|
|
312
|
+
localVarQueryParameter["top"] = top;
|
|
257
313
|
}
|
|
258
314
|
if (approved !== void 0) {
|
|
259
315
|
localVarQueryParameter["approved"] = approved;
|
|
260
316
|
}
|
|
317
|
+
if (sortOrder !== void 0) {
|
|
318
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
319
|
+
}
|
|
261
320
|
if (allowNotification !== void 0) {
|
|
262
321
|
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
263
322
|
}
|
|
@@ -273,27 +332,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
273
332
|
if (subjectName !== void 0) {
|
|
274
333
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
275
334
|
}
|
|
276
|
-
if (keyword !== void 0) {
|
|
277
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
278
|
-
}
|
|
279
|
-
if (hidden !== void 0) {
|
|
280
|
-
localVarQueryParameter["hidden"] = hidden;
|
|
281
|
-
}
|
|
282
|
-
if (top !== void 0) {
|
|
283
|
-
localVarQueryParameter["top"] = top;
|
|
284
|
-
}
|
|
285
335
|
if (size !== void 0) {
|
|
286
336
|
localVarQueryParameter["size"] = size;
|
|
287
337
|
}
|
|
338
|
+
if (page !== void 0) {
|
|
339
|
+
localVarQueryParameter["page"] = page;
|
|
340
|
+
}
|
|
288
341
|
if (labelSelector) {
|
|
289
342
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
290
343
|
}
|
|
291
344
|
if (fieldSelector) {
|
|
292
345
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
293
346
|
}
|
|
294
|
-
if (page !== void 0) {
|
|
295
|
-
localVarQueryParameter["page"] = page;
|
|
296
|
-
}
|
|
297
347
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
298
348
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
299
349
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -315,8 +365,25 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
315
365
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
316
366
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
317
367
|
},
|
|
318
|
-
async listComments(sort,
|
|
319
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(
|
|
368
|
+
async listComments(sort, keyword, hidden, top, approved, sortOrder, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
369
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(
|
|
370
|
+
sort,
|
|
371
|
+
keyword,
|
|
372
|
+
hidden,
|
|
373
|
+
top,
|
|
374
|
+
approved,
|
|
375
|
+
sortOrder,
|
|
376
|
+
allowNotification,
|
|
377
|
+
ownerKind,
|
|
378
|
+
ownerName,
|
|
379
|
+
subjectKind,
|
|
380
|
+
subjectName,
|
|
381
|
+
size,
|
|
382
|
+
page,
|
|
383
|
+
labelSelector,
|
|
384
|
+
fieldSelector,
|
|
385
|
+
options
|
|
386
|
+
);
|
|
320
387
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
321
388
|
}
|
|
322
389
|
};
|
|
@@ -324,14 +391,31 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
324
391
|
const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
325
392
|
const localVarFp = ApiConsoleHaloRunV1alpha1CommentApiFp(configuration);
|
|
326
393
|
return {
|
|
327
|
-
createComment(
|
|
328
|
-
return localVarFp.createComment(commentRequest, options).then((request) => request(axios, basePath));
|
|
329
|
-
},
|
|
330
|
-
createReply(
|
|
331
|
-
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
332
|
-
},
|
|
333
|
-
listComments(
|
|
334
|
-
return localVarFp.listComments(
|
|
394
|
+
createComment(requestParameters, options) {
|
|
395
|
+
return localVarFp.createComment(requestParameters.commentRequest, options).then((request) => request(axios, basePath));
|
|
396
|
+
},
|
|
397
|
+
createReply(requestParameters, options) {
|
|
398
|
+
return localVarFp.createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(axios, basePath));
|
|
399
|
+
},
|
|
400
|
+
listComments(requestParameters = {}, options) {
|
|
401
|
+
return localVarFp.listComments(
|
|
402
|
+
requestParameters.sort,
|
|
403
|
+
requestParameters.keyword,
|
|
404
|
+
requestParameters.hidden,
|
|
405
|
+
requestParameters.top,
|
|
406
|
+
requestParameters.approved,
|
|
407
|
+
requestParameters.sortOrder,
|
|
408
|
+
requestParameters.allowNotification,
|
|
409
|
+
requestParameters.ownerKind,
|
|
410
|
+
requestParameters.ownerName,
|
|
411
|
+
requestParameters.subjectKind,
|
|
412
|
+
requestParameters.subjectName,
|
|
413
|
+
requestParameters.size,
|
|
414
|
+
requestParameters.page,
|
|
415
|
+
requestParameters.labelSelector,
|
|
416
|
+
requestParameters.fieldSelector,
|
|
417
|
+
options
|
|
418
|
+
).then((request) => request(axios, basePath));
|
|
335
419
|
}
|
|
336
420
|
};
|
|
337
421
|
};
|
|
@@ -343,7 +427,24 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
343
427
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
344
428
|
}
|
|
345
429
|
listComments(requestParameters = {}, options) {
|
|
346
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(
|
|
430
|
+
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(
|
|
431
|
+
requestParameters.sort,
|
|
432
|
+
requestParameters.keyword,
|
|
433
|
+
requestParameters.hidden,
|
|
434
|
+
requestParameters.top,
|
|
435
|
+
requestParameters.approved,
|
|
436
|
+
requestParameters.sortOrder,
|
|
437
|
+
requestParameters.allowNotification,
|
|
438
|
+
requestParameters.ownerKind,
|
|
439
|
+
requestParameters.ownerName,
|
|
440
|
+
requestParameters.subjectKind,
|
|
441
|
+
requestParameters.subjectName,
|
|
442
|
+
requestParameters.size,
|
|
443
|
+
requestParameters.page,
|
|
444
|
+
requestParameters.labelSelector,
|
|
445
|
+
requestParameters.fieldSelector,
|
|
446
|
+
options
|
|
447
|
+
).then((request) => request(this.axios, this.basePath));
|
|
347
448
|
}
|
|
348
449
|
}
|
|
349
450
|
|
|
@@ -398,7 +499,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
398
499
|
return {
|
|
399
500
|
fetchPluginConfig: async (name, options = {}) => {
|
|
400
501
|
assertParamExists("fetchPluginConfig", "name", name);
|
|
401
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
502
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
503
|
+
`{${"name"}}`,
|
|
504
|
+
encodeURIComponent(String(name))
|
|
505
|
+
);
|
|
402
506
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
403
507
|
let baseOptions;
|
|
404
508
|
if (configuration) {
|
|
@@ -419,7 +523,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
419
523
|
},
|
|
420
524
|
fetchPluginSetting: async (name, options = {}) => {
|
|
421
525
|
assertParamExists("fetchPluginSetting", "name", name);
|
|
422
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/setting`.replace(
|
|
526
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/setting`.replace(
|
|
527
|
+
`{${"name"}}`,
|
|
528
|
+
encodeURIComponent(String(name))
|
|
529
|
+
);
|
|
423
530
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
424
531
|
let baseOptions;
|
|
425
532
|
if (configuration) {
|
|
@@ -438,8 +545,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
438
545
|
options: localVarRequestOptions
|
|
439
546
|
};
|
|
440
547
|
},
|
|
441
|
-
installPlugin: async (file, options = {}) => {
|
|
442
|
-
assertParamExists("installPlugin", "file", file);
|
|
548
|
+
installPlugin: async (file, source, presetName, options = {}) => {
|
|
443
549
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/install`;
|
|
444
550
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
445
551
|
let baseOptions;
|
|
@@ -455,6 +561,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
455
561
|
if (file !== void 0) {
|
|
456
562
|
localVarFormParams.append("file", file);
|
|
457
563
|
}
|
|
564
|
+
if (source !== void 0) {
|
|
565
|
+
localVarFormParams.append("source", source);
|
|
566
|
+
}
|
|
567
|
+
if (presetName !== void 0) {
|
|
568
|
+
localVarFormParams.append("presetName", presetName);
|
|
569
|
+
}
|
|
458
570
|
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
459
571
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
460
572
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -465,7 +577,27 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
465
577
|
options: localVarRequestOptions
|
|
466
578
|
};
|
|
467
579
|
},
|
|
468
|
-
|
|
580
|
+
listPluginPresets: async (options = {}) => {
|
|
581
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugin-presets`;
|
|
582
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
583
|
+
let baseOptions;
|
|
584
|
+
if (configuration) {
|
|
585
|
+
baseOptions = configuration.baseOptions;
|
|
586
|
+
}
|
|
587
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
588
|
+
const localVarHeaderParameter = {};
|
|
589
|
+
const localVarQueryParameter = {};
|
|
590
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
591
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
592
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
593
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
594
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
595
|
+
return {
|
|
596
|
+
url: toPathString(localVarUrlObj),
|
|
597
|
+
options: localVarRequestOptions
|
|
598
|
+
};
|
|
599
|
+
},
|
|
600
|
+
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
469
601
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
470
602
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
471
603
|
let baseOptions;
|
|
@@ -480,12 +612,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
480
612
|
if (sort) {
|
|
481
613
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
482
614
|
}
|
|
483
|
-
if (enabled !== void 0) {
|
|
484
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
485
|
-
}
|
|
486
615
|
if (keyword !== void 0) {
|
|
487
616
|
localVarQueryParameter["keyword"] = keyword;
|
|
488
617
|
}
|
|
618
|
+
if (enabled !== void 0) {
|
|
619
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
620
|
+
}
|
|
489
621
|
if (size !== void 0) {
|
|
490
622
|
localVarQueryParameter["size"] = size;
|
|
491
623
|
}
|
|
@@ -508,7 +640,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
508
640
|
},
|
|
509
641
|
resetPluginConfig: async (name, options = {}) => {
|
|
510
642
|
assertParamExists("resetPluginConfig", "name", name);
|
|
511
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/reset-config`.replace(
|
|
643
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/reset-config`.replace(
|
|
644
|
+
`{${"name"}}`,
|
|
645
|
+
encodeURIComponent(String(name))
|
|
646
|
+
);
|
|
512
647
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
513
648
|
let baseOptions;
|
|
514
649
|
if (configuration) {
|
|
@@ -530,7 +665,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
530
665
|
updatePluginConfig: async (name, configMap, options = {}) => {
|
|
531
666
|
assertParamExists("updatePluginConfig", "name", name);
|
|
532
667
|
assertParamExists("updatePluginConfig", "configMap", configMap);
|
|
533
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
668
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
669
|
+
`{${"name"}}`,
|
|
670
|
+
encodeURIComponent(String(name))
|
|
671
|
+
);
|
|
534
672
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
535
673
|
let baseOptions;
|
|
536
674
|
if (configuration) {
|
|
@@ -551,10 +689,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
551
689
|
options: localVarRequestOptions
|
|
552
690
|
};
|
|
553
691
|
},
|
|
554
|
-
upgradePlugin: async (name, file, options = {}) => {
|
|
692
|
+
upgradePlugin: async (name, file, source, presetName, options = {}) => {
|
|
555
693
|
assertParamExists("upgradePlugin", "name", name);
|
|
556
|
-
|
|
557
|
-
|
|
694
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/upgrade`.replace(
|
|
695
|
+
`{${"name"}}`,
|
|
696
|
+
encodeURIComponent(String(name))
|
|
697
|
+
);
|
|
558
698
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
559
699
|
let baseOptions;
|
|
560
700
|
if (configuration) {
|
|
@@ -569,6 +709,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
569
709
|
if (file !== void 0) {
|
|
570
710
|
localVarFormParams.append("file", file);
|
|
571
711
|
}
|
|
712
|
+
if (source !== void 0) {
|
|
713
|
+
localVarFormParams.append("source", source);
|
|
714
|
+
}
|
|
715
|
+
if (presetName !== void 0) {
|
|
716
|
+
localVarFormParams.append("presetName", presetName);
|
|
717
|
+
}
|
|
572
718
|
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
573
719
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
574
720
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -592,12 +738,25 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
592
738
|
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPluginSetting(name, options);
|
|
593
739
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
594
740
|
},
|
|
595
|
-
async installPlugin(file, options) {
|
|
596
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
741
|
+
async installPlugin(file, source, presetName, options) {
|
|
742
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, source, presetName, options);
|
|
743
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
744
|
+
},
|
|
745
|
+
async listPluginPresets(options) {
|
|
746
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPluginPresets(options);
|
|
597
747
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
598
748
|
},
|
|
599
|
-
async listPlugins(sort,
|
|
600
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(
|
|
749
|
+
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(
|
|
751
|
+
sort,
|
|
752
|
+
keyword,
|
|
753
|
+
enabled,
|
|
754
|
+
size,
|
|
755
|
+
labelSelector,
|
|
756
|
+
fieldSelector,
|
|
757
|
+
page,
|
|
758
|
+
options
|
|
759
|
+
);
|
|
601
760
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
602
761
|
},
|
|
603
762
|
async resetPluginConfig(name, options) {
|
|
@@ -608,8 +767,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
608
767
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginConfig(name, configMap, options);
|
|
609
768
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
610
769
|
},
|
|
611
|
-
async upgradePlugin(name, file, options) {
|
|
612
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, options);
|
|
770
|
+
async upgradePlugin(name, file, source, presetName, options) {
|
|
771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, source, presetName, options);
|
|
613
772
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
614
773
|
}
|
|
615
774
|
};
|
|
@@ -617,26 +776,44 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
617
776
|
const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
618
777
|
const localVarFp = ApiConsoleHaloRunV1alpha1PluginApiFp(configuration);
|
|
619
778
|
return {
|
|
620
|
-
fetchPluginConfig(
|
|
621
|
-
return localVarFp.fetchPluginConfig(name, options).then((request) => request(axios, basePath));
|
|
622
|
-
},
|
|
623
|
-
fetchPluginSetting(
|
|
624
|
-
return localVarFp.fetchPluginSetting(name, options).then((request) => request(axios, basePath));
|
|
625
|
-
},
|
|
626
|
-
installPlugin(
|
|
627
|
-
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
628
|
-
},
|
|
629
|
-
|
|
630
|
-
return localVarFp.
|
|
631
|
-
},
|
|
632
|
-
|
|
633
|
-
return localVarFp.
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
779
|
+
fetchPluginConfig(requestParameters, options) {
|
|
780
|
+
return localVarFp.fetchPluginConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
781
|
+
},
|
|
782
|
+
fetchPluginSetting(requestParameters, options) {
|
|
783
|
+
return localVarFp.fetchPluginSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
784
|
+
},
|
|
785
|
+
installPlugin(requestParameters = {}, options) {
|
|
786
|
+
return localVarFp.installPlugin(requestParameters.file, requestParameters.source, requestParameters.presetName, options).then((request) => request(axios, basePath));
|
|
787
|
+
},
|
|
788
|
+
listPluginPresets(options) {
|
|
789
|
+
return localVarFp.listPluginPresets(options).then((request) => request(axios, basePath));
|
|
790
|
+
},
|
|
791
|
+
listPlugins(requestParameters = {}, options) {
|
|
792
|
+
return localVarFp.listPlugins(
|
|
793
|
+
requestParameters.sort,
|
|
794
|
+
requestParameters.keyword,
|
|
795
|
+
requestParameters.enabled,
|
|
796
|
+
requestParameters.size,
|
|
797
|
+
requestParameters.labelSelector,
|
|
798
|
+
requestParameters.fieldSelector,
|
|
799
|
+
requestParameters.page,
|
|
800
|
+
options
|
|
801
|
+
).then((request) => request(axios, basePath));
|
|
802
|
+
},
|
|
803
|
+
resetPluginConfig(requestParameters, options) {
|
|
804
|
+
return localVarFp.resetPluginConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
805
|
+
},
|
|
806
|
+
updatePluginConfig(requestParameters, options) {
|
|
807
|
+
return localVarFp.updatePluginConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
808
|
+
},
|
|
809
|
+
upgradePlugin(requestParameters, options) {
|
|
810
|
+
return localVarFp.upgradePlugin(
|
|
811
|
+
requestParameters.name,
|
|
812
|
+
requestParameters.file,
|
|
813
|
+
requestParameters.source,
|
|
814
|
+
requestParameters.presetName,
|
|
815
|
+
options
|
|
816
|
+
).then((request) => request(axios, basePath));
|
|
640
817
|
}
|
|
641
818
|
};
|
|
642
819
|
};
|
|
@@ -647,11 +824,23 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
647
824
|
fetchPluginSetting(requestParameters, options) {
|
|
648
825
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).fetchPluginSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
649
826
|
}
|
|
650
|
-
installPlugin(requestParameters, options) {
|
|
651
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
827
|
+
installPlugin(requestParameters = {}, options) {
|
|
828
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, requestParameters.source, requestParameters.presetName, options).then((request) => request(this.axios, this.basePath));
|
|
829
|
+
}
|
|
830
|
+
listPluginPresets(options) {
|
|
831
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPluginPresets(options).then((request) => request(this.axios, this.basePath));
|
|
652
832
|
}
|
|
653
833
|
listPlugins(requestParameters = {}, options) {
|
|
654
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(
|
|
834
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(
|
|
835
|
+
requestParameters.sort,
|
|
836
|
+
requestParameters.keyword,
|
|
837
|
+
requestParameters.enabled,
|
|
838
|
+
requestParameters.size,
|
|
839
|
+
requestParameters.labelSelector,
|
|
840
|
+
requestParameters.fieldSelector,
|
|
841
|
+
requestParameters.page,
|
|
842
|
+
options
|
|
843
|
+
).then((request) => request(this.axios, this.basePath));
|
|
655
844
|
}
|
|
656
845
|
resetPluginConfig(requestParameters, options) {
|
|
657
846
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -660,7 +849,13 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
660
849
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).updatePluginConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
661
850
|
}
|
|
662
851
|
upgradePlugin(requestParameters, options) {
|
|
663
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(
|
|
852
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(
|
|
853
|
+
requestParameters.name,
|
|
854
|
+
requestParameters.file,
|
|
855
|
+
requestParameters.source,
|
|
856
|
+
requestParameters.presetName,
|
|
857
|
+
options
|
|
858
|
+
).then((request) => request(this.axios, this.basePath));
|
|
664
859
|
}
|
|
665
860
|
}
|
|
666
861
|
|
|
@@ -691,7 +886,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
691
886
|
},
|
|
692
887
|
fetchPostHeadContent: async (name, options = {}) => {
|
|
693
888
|
assertParamExists("fetchPostHeadContent", "name", name);
|
|
694
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/head-content`.replace(
|
|
889
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/head-content`.replace(
|
|
890
|
+
`{${"name"}}`,
|
|
891
|
+
encodeURIComponent(String(name))
|
|
892
|
+
);
|
|
695
893
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
696
894
|
let baseOptions;
|
|
697
895
|
if (configuration) {
|
|
@@ -712,7 +910,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
712
910
|
},
|
|
713
911
|
fetchPostReleaseContent: async (name, options = {}) => {
|
|
714
912
|
assertParamExists("fetchPostReleaseContent", "name", name);
|
|
715
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/release-content`.replace(
|
|
913
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/release-content`.replace(
|
|
914
|
+
`{${"name"}}`,
|
|
915
|
+
encodeURIComponent(String(name))
|
|
916
|
+
);
|
|
716
917
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
717
918
|
let baseOptions;
|
|
718
919
|
if (configuration) {
|
|
@@ -731,7 +932,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
731
932
|
options: localVarRequestOptions
|
|
732
933
|
};
|
|
733
934
|
},
|
|
734
|
-
listPosts: async (sort,
|
|
935
|
+
listPosts: async (sort, keyword, visible, tag, category, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
735
936
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
736
937
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
737
938
|
let baseOptions;
|
|
@@ -746,39 +947,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
746
947
|
if (sort !== void 0) {
|
|
747
948
|
localVarQueryParameter["sort"] = sort;
|
|
748
949
|
}
|
|
749
|
-
if (
|
|
750
|
-
localVarQueryParameter["
|
|
950
|
+
if (keyword !== void 0) {
|
|
951
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
751
952
|
}
|
|
752
|
-
if (
|
|
753
|
-
localVarQueryParameter["
|
|
953
|
+
if (visible !== void 0) {
|
|
954
|
+
localVarQueryParameter["visible"] = visible;
|
|
754
955
|
}
|
|
755
|
-
if (
|
|
756
|
-
localVarQueryParameter["
|
|
956
|
+
if (tag) {
|
|
957
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
757
958
|
}
|
|
758
959
|
if (category) {
|
|
759
960
|
localVarQueryParameter["category"] = Array.from(category);
|
|
760
961
|
}
|
|
761
|
-
if (
|
|
762
|
-
localVarQueryParameter["
|
|
962
|
+
if (sortOrder !== void 0) {
|
|
963
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
763
964
|
}
|
|
764
|
-
if (
|
|
765
|
-
localVarQueryParameter["
|
|
965
|
+
if (publishPhase !== void 0) {
|
|
966
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
766
967
|
}
|
|
767
|
-
if (
|
|
768
|
-
localVarQueryParameter["
|
|
968
|
+
if (contributor) {
|
|
969
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
769
970
|
}
|
|
770
971
|
if (size !== void 0) {
|
|
771
972
|
localVarQueryParameter["size"] = size;
|
|
772
973
|
}
|
|
974
|
+
if (page !== void 0) {
|
|
975
|
+
localVarQueryParameter["page"] = page;
|
|
976
|
+
}
|
|
773
977
|
if (labelSelector) {
|
|
774
978
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
775
979
|
}
|
|
776
980
|
if (fieldSelector) {
|
|
777
981
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
778
982
|
}
|
|
779
|
-
if (page !== void 0) {
|
|
780
|
-
localVarQueryParameter["page"] = page;
|
|
781
|
-
}
|
|
782
983
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
783
984
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
784
985
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -789,7 +990,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
789
990
|
},
|
|
790
991
|
publishPost: async (name, headSnapshot, options = {}) => {
|
|
791
992
|
assertParamExists("publishPost", "name", name);
|
|
792
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/publish`.replace(
|
|
993
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/publish`.replace(
|
|
994
|
+
`{${"name"}}`,
|
|
995
|
+
encodeURIComponent(String(name))
|
|
996
|
+
);
|
|
793
997
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
794
998
|
let baseOptions;
|
|
795
999
|
if (configuration) {
|
|
@@ -813,7 +1017,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
813
1017
|
},
|
|
814
1018
|
recyclePost: async (name, options = {}) => {
|
|
815
1019
|
assertParamExists("recyclePost", "name", name);
|
|
816
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(
|
|
1020
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(
|
|
1021
|
+
`{${"name"}}`,
|
|
1022
|
+
encodeURIComponent(String(name))
|
|
1023
|
+
);
|
|
817
1024
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
818
1025
|
let baseOptions;
|
|
819
1026
|
if (configuration) {
|
|
@@ -834,7 +1041,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
834
1041
|
},
|
|
835
1042
|
unpublishPost: async (name, options = {}) => {
|
|
836
1043
|
assertParamExists("unpublishPost", "name", name);
|
|
837
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(
|
|
1044
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(
|
|
1045
|
+
`{${"name"}}`,
|
|
1046
|
+
encodeURIComponent(String(name))
|
|
1047
|
+
);
|
|
838
1048
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
839
1049
|
let baseOptions;
|
|
840
1050
|
if (configuration) {
|
|
@@ -856,7 +1066,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
856
1066
|
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
857
1067
|
assertParamExists("updateDraftPost", "name", name);
|
|
858
1068
|
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
859
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}`.replace(
|
|
1069
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}`.replace(
|
|
1070
|
+
`{${"name"}}`,
|
|
1071
|
+
encodeURIComponent(String(name))
|
|
1072
|
+
);
|
|
860
1073
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
861
1074
|
let baseOptions;
|
|
862
1075
|
if (configuration) {
|
|
@@ -880,7 +1093,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
880
1093
|
updatePostContent: async (name, content, options = {}) => {
|
|
881
1094
|
assertParamExists("updatePostContent", "name", name);
|
|
882
1095
|
assertParamExists("updatePostContent", "content", content);
|
|
883
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/content`.replace(
|
|
1096
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/content`.replace(
|
|
1097
|
+
`{${"name"}}`,
|
|
1098
|
+
encodeURIComponent(String(name))
|
|
1099
|
+
);
|
|
884
1100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
885
1101
|
let baseOptions;
|
|
886
1102
|
if (configuration) {
|
|
@@ -918,8 +1134,22 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
918
1134
|
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPostReleaseContent(name, options);
|
|
919
1135
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
920
1136
|
},
|
|
921
|
-
async listPosts(sort,
|
|
922
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(
|
|
1137
|
+
async listPosts(sort, keyword, visible, tag, category, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(
|
|
1139
|
+
sort,
|
|
1140
|
+
keyword,
|
|
1141
|
+
visible,
|
|
1142
|
+
tag,
|
|
1143
|
+
category,
|
|
1144
|
+
sortOrder,
|
|
1145
|
+
publishPhase,
|
|
1146
|
+
contributor,
|
|
1147
|
+
size,
|
|
1148
|
+
page,
|
|
1149
|
+
labelSelector,
|
|
1150
|
+
fieldSelector,
|
|
1151
|
+
options
|
|
1152
|
+
);
|
|
923
1153
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
924
1154
|
},
|
|
925
1155
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -947,32 +1177,46 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
947
1177
|
const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
948
1178
|
const localVarFp = ApiConsoleHaloRunV1alpha1PostApiFp(configuration);
|
|
949
1179
|
return {
|
|
950
|
-
draftPost(
|
|
951
|
-
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
952
|
-
},
|
|
953
|
-
fetchPostHeadContent(
|
|
954
|
-
return localVarFp.fetchPostHeadContent(name, options).then((request) => request(axios, basePath));
|
|
955
|
-
},
|
|
956
|
-
fetchPostReleaseContent(
|
|
957
|
-
return localVarFp.fetchPostReleaseContent(name, options).then((request) => request(axios, basePath));
|
|
958
|
-
},
|
|
959
|
-
listPosts(
|
|
960
|
-
return localVarFp.listPosts(
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
1180
|
+
draftPost(requestParameters, options) {
|
|
1181
|
+
return localVarFp.draftPost(requestParameters.postRequest, options).then((request) => request(axios, basePath));
|
|
1182
|
+
},
|
|
1183
|
+
fetchPostHeadContent(requestParameters, options) {
|
|
1184
|
+
return localVarFp.fetchPostHeadContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1185
|
+
},
|
|
1186
|
+
fetchPostReleaseContent(requestParameters, options) {
|
|
1187
|
+
return localVarFp.fetchPostReleaseContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1188
|
+
},
|
|
1189
|
+
listPosts(requestParameters = {}, options) {
|
|
1190
|
+
return localVarFp.listPosts(
|
|
1191
|
+
requestParameters.sort,
|
|
1192
|
+
requestParameters.keyword,
|
|
1193
|
+
requestParameters.visible,
|
|
1194
|
+
requestParameters.tag,
|
|
1195
|
+
requestParameters.category,
|
|
1196
|
+
requestParameters.sortOrder,
|
|
1197
|
+
requestParameters.publishPhase,
|
|
1198
|
+
requestParameters.contributor,
|
|
1199
|
+
requestParameters.size,
|
|
1200
|
+
requestParameters.page,
|
|
1201
|
+
requestParameters.labelSelector,
|
|
1202
|
+
requestParameters.fieldSelector,
|
|
1203
|
+
options
|
|
1204
|
+
).then((request) => request(axios, basePath));
|
|
1205
|
+
},
|
|
1206
|
+
publishPost(requestParameters, options) {
|
|
1207
|
+
return localVarFp.publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(axios, basePath));
|
|
1208
|
+
},
|
|
1209
|
+
recyclePost(requestParameters, options) {
|
|
1210
|
+
return localVarFp.recyclePost(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1211
|
+
},
|
|
1212
|
+
unpublishPost(requestParameters, options) {
|
|
1213
|
+
return localVarFp.unpublishPost(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1214
|
+
},
|
|
1215
|
+
updateDraftPost(requestParameters, options) {
|
|
1216
|
+
return localVarFp.updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(axios, basePath));
|
|
1217
|
+
},
|
|
1218
|
+
updatePostContent(requestParameters, options) {
|
|
1219
|
+
return localVarFp.updatePostContent(requestParameters.name, requestParameters.content, options).then((request) => request(axios, basePath));
|
|
976
1220
|
}
|
|
977
1221
|
};
|
|
978
1222
|
};
|
|
@@ -987,7 +1231,21 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
987
1231
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).fetchPostReleaseContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
988
1232
|
}
|
|
989
1233
|
listPosts(requestParameters = {}, options) {
|
|
990
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(
|
|
1234
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(
|
|
1235
|
+
requestParameters.sort,
|
|
1236
|
+
requestParameters.keyword,
|
|
1237
|
+
requestParameters.visible,
|
|
1238
|
+
requestParameters.tag,
|
|
1239
|
+
requestParameters.category,
|
|
1240
|
+
requestParameters.sortOrder,
|
|
1241
|
+
requestParameters.publishPhase,
|
|
1242
|
+
requestParameters.contributor,
|
|
1243
|
+
requestParameters.size,
|
|
1244
|
+
requestParameters.page,
|
|
1245
|
+
requestParameters.labelSelector,
|
|
1246
|
+
requestParameters.fieldSelector,
|
|
1247
|
+
options
|
|
1248
|
+
).then((request) => request(this.axios, this.basePath));
|
|
991
1249
|
}
|
|
992
1250
|
publishPost(requestParameters, options) {
|
|
993
1251
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1008,7 +1266,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
1008
1266
|
|
|
1009
1267
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
1010
1268
|
return {
|
|
1011
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
1269
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1012
1270
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
1013
1271
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1014
1272
|
let baseOptions;
|
|
@@ -1026,15 +1284,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1026
1284
|
if (size !== void 0) {
|
|
1027
1285
|
localVarQueryParameter["size"] = size;
|
|
1028
1286
|
}
|
|
1287
|
+
if (page !== void 0) {
|
|
1288
|
+
localVarQueryParameter["page"] = page;
|
|
1289
|
+
}
|
|
1029
1290
|
if (labelSelector) {
|
|
1030
1291
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1031
1292
|
}
|
|
1032
1293
|
if (fieldSelector) {
|
|
1033
1294
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1034
1295
|
}
|
|
1035
|
-
if (page !== void 0) {
|
|
1036
|
-
localVarQueryParameter["page"] = page;
|
|
1037
|
-
}
|
|
1038
1296
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1039
1297
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1040
1298
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1048,8 +1306,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1048
1306
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
1049
1307
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
1050
1308
|
return {
|
|
1051
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
1052
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(
|
|
1309
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
1310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(
|
|
1311
|
+
commentName,
|
|
1312
|
+
size,
|
|
1313
|
+
page,
|
|
1314
|
+
labelSelector,
|
|
1315
|
+
fieldSelector,
|
|
1316
|
+
options
|
|
1317
|
+
);
|
|
1053
1318
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1054
1319
|
}
|
|
1055
1320
|
};
|
|
@@ -1057,14 +1322,28 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
1057
1322
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
1058
1323
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
1059
1324
|
return {
|
|
1060
|
-
listReplies(
|
|
1061
|
-
return localVarFp.listReplies(
|
|
1325
|
+
listReplies(requestParameters = {}, options) {
|
|
1326
|
+
return localVarFp.listReplies(
|
|
1327
|
+
requestParameters.commentName,
|
|
1328
|
+
requestParameters.size,
|
|
1329
|
+
requestParameters.page,
|
|
1330
|
+
requestParameters.labelSelector,
|
|
1331
|
+
requestParameters.fieldSelector,
|
|
1332
|
+
options
|
|
1333
|
+
).then((request) => request(axios, basePath));
|
|
1062
1334
|
}
|
|
1063
1335
|
};
|
|
1064
1336
|
};
|
|
1065
1337
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1066
1338
|
listReplies(requestParameters = {}, options) {
|
|
1067
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(
|
|
1339
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(
|
|
1340
|
+
requestParameters.commentName,
|
|
1341
|
+
requestParameters.size,
|
|
1342
|
+
requestParameters.page,
|
|
1343
|
+
requestParameters.labelSelector,
|
|
1344
|
+
requestParameters.fieldSelector,
|
|
1345
|
+
options
|
|
1346
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1068
1347
|
}
|
|
1069
1348
|
}
|
|
1070
1349
|
|
|
@@ -1095,7 +1374,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1095
1374
|
},
|
|
1096
1375
|
fetchSinglePageHeadContent: async (name, options = {}) => {
|
|
1097
1376
|
assertParamExists("fetchSinglePageHeadContent", "name", name);
|
|
1098
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/head-content`.replace(
|
|
1377
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/head-content`.replace(
|
|
1378
|
+
`{${"name"}}`,
|
|
1379
|
+
encodeURIComponent(String(name))
|
|
1380
|
+
);
|
|
1099
1381
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1100
1382
|
let baseOptions;
|
|
1101
1383
|
if (configuration) {
|
|
@@ -1116,7 +1398,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1116
1398
|
},
|
|
1117
1399
|
fetchSinglePageReleaseContent: async (name, options = {}) => {
|
|
1118
1400
|
assertParamExists("fetchSinglePageReleaseContent", "name", name);
|
|
1119
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/release-content`.replace(
|
|
1401
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/release-content`.replace(
|
|
1402
|
+
`{${"name"}}`,
|
|
1403
|
+
encodeURIComponent(String(name))
|
|
1404
|
+
);
|
|
1120
1405
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1121
1406
|
let baseOptions;
|
|
1122
1407
|
if (configuration) {
|
|
@@ -1135,7 +1420,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1135
1420
|
options: localVarRequestOptions
|
|
1136
1421
|
};
|
|
1137
1422
|
},
|
|
1138
|
-
listSinglePages: async (sort,
|
|
1423
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1139
1424
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1140
1425
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1141
1426
|
let baseOptions;
|
|
@@ -1150,8 +1435,11 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1150
1435
|
if (sort !== void 0) {
|
|
1151
1436
|
localVarQueryParameter["sort"] = sort;
|
|
1152
1437
|
}
|
|
1153
|
-
if (
|
|
1154
|
-
localVarQueryParameter["
|
|
1438
|
+
if (keyword !== void 0) {
|
|
1439
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1440
|
+
}
|
|
1441
|
+
if (visible !== void 0) {
|
|
1442
|
+
localVarQueryParameter["visible"] = visible;
|
|
1155
1443
|
}
|
|
1156
1444
|
if (sortOrder !== void 0) {
|
|
1157
1445
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -1159,24 +1447,21 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1159
1447
|
if (publishPhase !== void 0) {
|
|
1160
1448
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1161
1449
|
}
|
|
1162
|
-
if (
|
|
1163
|
-
localVarQueryParameter["
|
|
1164
|
-
}
|
|
1165
|
-
if (visible !== void 0) {
|
|
1166
|
-
localVarQueryParameter["visible"] = visible;
|
|
1450
|
+
if (contributor) {
|
|
1451
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1167
1452
|
}
|
|
1168
1453
|
if (size !== void 0) {
|
|
1169
1454
|
localVarQueryParameter["size"] = size;
|
|
1170
1455
|
}
|
|
1456
|
+
if (page !== void 0) {
|
|
1457
|
+
localVarQueryParameter["page"] = page;
|
|
1458
|
+
}
|
|
1171
1459
|
if (labelSelector) {
|
|
1172
1460
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1173
1461
|
}
|
|
1174
1462
|
if (fieldSelector) {
|
|
1175
1463
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1176
1464
|
}
|
|
1177
|
-
if (page !== void 0) {
|
|
1178
|
-
localVarQueryParameter["page"] = page;
|
|
1179
|
-
}
|
|
1180
1465
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1181
1466
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1182
1467
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1187,7 +1472,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1187
1472
|
},
|
|
1188
1473
|
publishSinglePage: async (name, options = {}) => {
|
|
1189
1474
|
assertParamExists("publishSinglePage", "name", name);
|
|
1190
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/publish`.replace(
|
|
1475
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/publish`.replace(
|
|
1476
|
+
`{${"name"}}`,
|
|
1477
|
+
encodeURIComponent(String(name))
|
|
1478
|
+
);
|
|
1191
1479
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1192
1480
|
let baseOptions;
|
|
1193
1481
|
if (configuration) {
|
|
@@ -1209,7 +1497,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1209
1497
|
updateDraftSinglePage: async (name, singlePageRequest, options = {}) => {
|
|
1210
1498
|
assertParamExists("updateDraftSinglePage", "name", name);
|
|
1211
1499
|
assertParamExists("updateDraftSinglePage", "singlePageRequest", singlePageRequest);
|
|
1212
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
1500
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
1501
|
+
`{${"name"}}`,
|
|
1502
|
+
encodeURIComponent(String(name))
|
|
1503
|
+
);
|
|
1213
1504
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1214
1505
|
let baseOptions;
|
|
1215
1506
|
if (configuration) {
|
|
@@ -1233,7 +1524,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1233
1524
|
updateSinglePageContent: async (name, content, options = {}) => {
|
|
1234
1525
|
assertParamExists("updateSinglePageContent", "name", name);
|
|
1235
1526
|
assertParamExists("updateSinglePageContent", "content", content);
|
|
1236
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/content`.replace(
|
|
1527
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/content`.replace(
|
|
1528
|
+
`{${"name"}}`,
|
|
1529
|
+
encodeURIComponent(String(name))
|
|
1530
|
+
);
|
|
1237
1531
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1238
1532
|
let baseOptions;
|
|
1239
1533
|
if (configuration) {
|
|
@@ -1271,8 +1565,20 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1271
1565
|
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchSinglePageReleaseContent(name, options);
|
|
1272
1566
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1273
1567
|
},
|
|
1274
|
-
async listSinglePages(sort,
|
|
1275
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(
|
|
1568
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1569
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(
|
|
1570
|
+
sort,
|
|
1571
|
+
keyword,
|
|
1572
|
+
visible,
|
|
1573
|
+
sortOrder,
|
|
1574
|
+
publishPhase,
|
|
1575
|
+
contributor,
|
|
1576
|
+
size,
|
|
1577
|
+
page,
|
|
1578
|
+
labelSelector,
|
|
1579
|
+
fieldSelector,
|
|
1580
|
+
options
|
|
1581
|
+
);
|
|
1276
1582
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1277
1583
|
},
|
|
1278
1584
|
async publishSinglePage(name, options) {
|
|
@@ -1292,26 +1598,38 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1292
1598
|
const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
1293
1599
|
const localVarFp = ApiConsoleHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
1294
1600
|
return {
|
|
1295
|
-
draftSinglePage(
|
|
1296
|
-
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1297
|
-
},
|
|
1298
|
-
fetchSinglePageHeadContent(
|
|
1299
|
-
return localVarFp.fetchSinglePageHeadContent(name, options).then((request) => request(axios, basePath));
|
|
1300
|
-
},
|
|
1301
|
-
fetchSinglePageReleaseContent(
|
|
1302
|
-
return localVarFp.fetchSinglePageReleaseContent(name, options).then((request) => request(axios, basePath));
|
|
1303
|
-
},
|
|
1304
|
-
listSinglePages(
|
|
1305
|
-
return localVarFp.listSinglePages(
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1601
|
+
draftSinglePage(requestParameters, options) {
|
|
1602
|
+
return localVarFp.draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1603
|
+
},
|
|
1604
|
+
fetchSinglePageHeadContent(requestParameters, options) {
|
|
1605
|
+
return localVarFp.fetchSinglePageHeadContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1606
|
+
},
|
|
1607
|
+
fetchSinglePageReleaseContent(requestParameters, options) {
|
|
1608
|
+
return localVarFp.fetchSinglePageReleaseContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1609
|
+
},
|
|
1610
|
+
listSinglePages(requestParameters = {}, options) {
|
|
1611
|
+
return localVarFp.listSinglePages(
|
|
1612
|
+
requestParameters.sort,
|
|
1613
|
+
requestParameters.keyword,
|
|
1614
|
+
requestParameters.visible,
|
|
1615
|
+
requestParameters.sortOrder,
|
|
1616
|
+
requestParameters.publishPhase,
|
|
1617
|
+
requestParameters.contributor,
|
|
1618
|
+
requestParameters.size,
|
|
1619
|
+
requestParameters.page,
|
|
1620
|
+
requestParameters.labelSelector,
|
|
1621
|
+
requestParameters.fieldSelector,
|
|
1622
|
+
options
|
|
1623
|
+
).then((request) => request(axios, basePath));
|
|
1624
|
+
},
|
|
1625
|
+
publishSinglePage(requestParameters, options) {
|
|
1626
|
+
return localVarFp.publishSinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1627
|
+
},
|
|
1628
|
+
updateDraftSinglePage(requestParameters, options) {
|
|
1629
|
+
return localVarFp.updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1630
|
+
},
|
|
1631
|
+
updateSinglePageContent(requestParameters, options) {
|
|
1632
|
+
return localVarFp.updateSinglePageContent(requestParameters.name, requestParameters.content, options).then((request) => request(axios, basePath));
|
|
1315
1633
|
}
|
|
1316
1634
|
};
|
|
1317
1635
|
};
|
|
@@ -1326,7 +1644,19 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1326
1644
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).fetchSinglePageReleaseContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1327
1645
|
}
|
|
1328
1646
|
listSinglePages(requestParameters = {}, options) {
|
|
1329
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(
|
|
1647
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(
|
|
1648
|
+
requestParameters.sort,
|
|
1649
|
+
requestParameters.keyword,
|
|
1650
|
+
requestParameters.visible,
|
|
1651
|
+
requestParameters.sortOrder,
|
|
1652
|
+
requestParameters.publishPhase,
|
|
1653
|
+
requestParameters.contributor,
|
|
1654
|
+
requestParameters.size,
|
|
1655
|
+
requestParameters.page,
|
|
1656
|
+
requestParameters.labelSelector,
|
|
1657
|
+
requestParameters.fieldSelector,
|
|
1658
|
+
options
|
|
1659
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1330
1660
|
}
|
|
1331
1661
|
publishSinglePage(requestParameters, options) {
|
|
1332
1662
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1390,7 +1720,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1390
1720
|
return {
|
|
1391
1721
|
activateTheme: async (name, options = {}) => {
|
|
1392
1722
|
assertParamExists("activateTheme", "name", name);
|
|
1393
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/activation`.replace(
|
|
1723
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/activation`.replace(
|
|
1724
|
+
`{${"name"}}`,
|
|
1725
|
+
encodeURIComponent(String(name))
|
|
1726
|
+
);
|
|
1394
1727
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1395
1728
|
let baseOptions;
|
|
1396
1729
|
if (configuration) {
|
|
@@ -1431,7 +1764,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1431
1764
|
},
|
|
1432
1765
|
fetchThemeConfig: async (name, options = {}) => {
|
|
1433
1766
|
assertParamExists("fetchThemeConfig", "name", name);
|
|
1434
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1767
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1768
|
+
`{${"name"}}`,
|
|
1769
|
+
encodeURIComponent(String(name))
|
|
1770
|
+
);
|
|
1435
1771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1436
1772
|
let baseOptions;
|
|
1437
1773
|
if (configuration) {
|
|
@@ -1452,7 +1788,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1452
1788
|
},
|
|
1453
1789
|
fetchThemeSetting: async (name, options = {}) => {
|
|
1454
1790
|
assertParamExists("fetchThemeSetting", "name", name);
|
|
1455
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/setting`.replace(
|
|
1791
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/setting`.replace(
|
|
1792
|
+
`{${"name"}}`,
|
|
1793
|
+
encodeURIComponent(String(name))
|
|
1794
|
+
);
|
|
1456
1795
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1457
1796
|
let baseOptions;
|
|
1458
1797
|
if (configuration) {
|
|
@@ -1498,7 +1837,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1498
1837
|
options: localVarRequestOptions
|
|
1499
1838
|
};
|
|
1500
1839
|
},
|
|
1501
|
-
listThemes: async (uninstalled, size, labelSelector, fieldSelector,
|
|
1840
|
+
listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1502
1841
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1503
1842
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1504
1843
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1517,15 +1856,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1517
1856
|
if (size !== void 0) {
|
|
1518
1857
|
localVarQueryParameter["size"] = size;
|
|
1519
1858
|
}
|
|
1859
|
+
if (page !== void 0) {
|
|
1860
|
+
localVarQueryParameter["page"] = page;
|
|
1861
|
+
}
|
|
1520
1862
|
if (labelSelector) {
|
|
1521
1863
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1522
1864
|
}
|
|
1523
1865
|
if (fieldSelector) {
|
|
1524
1866
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1525
1867
|
}
|
|
1526
|
-
if (page !== void 0) {
|
|
1527
|
-
localVarQueryParameter["page"] = page;
|
|
1528
|
-
}
|
|
1529
1868
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1530
1869
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1531
1870
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1536,7 +1875,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1536
1875
|
},
|
|
1537
1876
|
reload: async (name, options = {}) => {
|
|
1538
1877
|
assertParamExists("reload", "name", name);
|
|
1539
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(
|
|
1878
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(
|
|
1879
|
+
`{${"name"}}`,
|
|
1880
|
+
encodeURIComponent(String(name))
|
|
1881
|
+
);
|
|
1540
1882
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1541
1883
|
let baseOptions;
|
|
1542
1884
|
if (configuration) {
|
|
@@ -1557,7 +1899,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1557
1899
|
},
|
|
1558
1900
|
resetThemeConfig: async (name, options = {}) => {
|
|
1559
1901
|
assertParamExists("resetThemeConfig", "name", name);
|
|
1560
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reset-config`.replace(
|
|
1902
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reset-config`.replace(
|
|
1903
|
+
`{${"name"}}`,
|
|
1904
|
+
encodeURIComponent(String(name))
|
|
1905
|
+
);
|
|
1561
1906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1562
1907
|
let baseOptions;
|
|
1563
1908
|
if (configuration) {
|
|
@@ -1579,7 +1924,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1579
1924
|
updateThemeConfig: async (name, configMap, options = {}) => {
|
|
1580
1925
|
assertParamExists("updateThemeConfig", "name", name);
|
|
1581
1926
|
assertParamExists("updateThemeConfig", "configMap", configMap);
|
|
1582
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1927
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1928
|
+
`{${"name"}}`,
|
|
1929
|
+
encodeURIComponent(String(name))
|
|
1930
|
+
);
|
|
1583
1931
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1584
1932
|
let baseOptions;
|
|
1585
1933
|
if (configuration) {
|
|
@@ -1603,7 +1951,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1603
1951
|
upgradeTheme: async (name, file, options = {}) => {
|
|
1604
1952
|
assertParamExists("upgradeTheme", "name", name);
|
|
1605
1953
|
assertParamExists("upgradeTheme", "file", file);
|
|
1606
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/upgrade`.replace(
|
|
1954
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/upgrade`.replace(
|
|
1955
|
+
`{${"name"}}`,
|
|
1956
|
+
encodeURIComponent(String(name))
|
|
1957
|
+
);
|
|
1607
1958
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1608
1959
|
let baseOptions;
|
|
1609
1960
|
if (configuration) {
|
|
@@ -1653,8 +2004,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1653
2004
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1654
2005
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1655
2006
|
},
|
|
1656
|
-
async listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1657
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(
|
|
2007
|
+
async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
2008
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(
|
|
2009
|
+
uninstalled,
|
|
2010
|
+
size,
|
|
2011
|
+
page,
|
|
2012
|
+
labelSelector,
|
|
2013
|
+
fieldSelector,
|
|
2014
|
+
options
|
|
2015
|
+
);
|
|
1658
2016
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1659
2017
|
},
|
|
1660
2018
|
async reload(name, options) {
|
|
@@ -1678,35 +2036,42 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1678
2036
|
const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
1679
2037
|
const localVarFp = ApiConsoleHaloRunV1alpha1ThemeApiFp(configuration);
|
|
1680
2038
|
return {
|
|
1681
|
-
activateTheme(
|
|
1682
|
-
return localVarFp.activateTheme(name, options).then((request) => request(axios, basePath));
|
|
2039
|
+
activateTheme(requestParameters, options) {
|
|
2040
|
+
return localVarFp.activateTheme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1683
2041
|
},
|
|
1684
2042
|
fetchActivatedTheme(options) {
|
|
1685
2043
|
return localVarFp.fetchActivatedTheme(options).then((request) => request(axios, basePath));
|
|
1686
2044
|
},
|
|
1687
|
-
fetchThemeConfig(
|
|
1688
|
-
return localVarFp.fetchThemeConfig(name, options).then((request) => request(axios, basePath));
|
|
2045
|
+
fetchThemeConfig(requestParameters, options) {
|
|
2046
|
+
return localVarFp.fetchThemeConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1689
2047
|
},
|
|
1690
|
-
fetchThemeSetting(
|
|
1691
|
-
return localVarFp.fetchThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
2048
|
+
fetchThemeSetting(requestParameters, options) {
|
|
2049
|
+
return localVarFp.fetchThemeSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1692
2050
|
},
|
|
1693
|
-
installTheme(
|
|
1694
|
-
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
2051
|
+
installTheme(requestParameters, options) {
|
|
2052
|
+
return localVarFp.installTheme(requestParameters.file, options).then((request) => request(axios, basePath));
|
|
1695
2053
|
},
|
|
1696
|
-
listThemes(
|
|
1697
|
-
return localVarFp.listThemes(
|
|
2054
|
+
listThemes(requestParameters, options) {
|
|
2055
|
+
return localVarFp.listThemes(
|
|
2056
|
+
requestParameters.uninstalled,
|
|
2057
|
+
requestParameters.size,
|
|
2058
|
+
requestParameters.page,
|
|
2059
|
+
requestParameters.labelSelector,
|
|
2060
|
+
requestParameters.fieldSelector,
|
|
2061
|
+
options
|
|
2062
|
+
).then((request) => request(axios, basePath));
|
|
1698
2063
|
},
|
|
1699
|
-
reload(
|
|
1700
|
-
return localVarFp.reload(name, options).then((request) => request(axios, basePath));
|
|
2064
|
+
reload(requestParameters, options) {
|
|
2065
|
+
return localVarFp.reload(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1701
2066
|
},
|
|
1702
|
-
resetThemeConfig(
|
|
1703
|
-
return localVarFp.resetThemeConfig(name, options).then((request) => request(axios, basePath));
|
|
2067
|
+
resetThemeConfig(requestParameters, options) {
|
|
2068
|
+
return localVarFp.resetThemeConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1704
2069
|
},
|
|
1705
|
-
updateThemeConfig(
|
|
1706
|
-
return localVarFp.updateThemeConfig(name, configMap, options).then((request) => request(axios, basePath));
|
|
2070
|
+
updateThemeConfig(requestParameters, options) {
|
|
2071
|
+
return localVarFp.updateThemeConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
1707
2072
|
},
|
|
1708
|
-
upgradeTheme(
|
|
1709
|
-
return localVarFp.upgradeTheme(name, file, options).then((request) => request(axios, basePath));
|
|
2073
|
+
upgradeTheme(requestParameters, options) {
|
|
2074
|
+
return localVarFp.upgradeTheme(requestParameters.name, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
1710
2075
|
}
|
|
1711
2076
|
};
|
|
1712
2077
|
};
|
|
@@ -1727,7 +2092,14 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1727
2092
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1728
2093
|
}
|
|
1729
2094
|
listThemes(requestParameters, options) {
|
|
1730
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(
|
|
2095
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(
|
|
2096
|
+
requestParameters.uninstalled,
|
|
2097
|
+
requestParameters.size,
|
|
2098
|
+
requestParameters.page,
|
|
2099
|
+
requestParameters.labelSelector,
|
|
2100
|
+
requestParameters.fieldSelector,
|
|
2101
|
+
options
|
|
2102
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1731
2103
|
}
|
|
1732
2104
|
reload(requestParameters, options) {
|
|
1733
2105
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1748,7 +2120,10 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1748
2120
|
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
1749
2121
|
assertParamExists("changePassword", "name", name);
|
|
1750
2122
|
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
1751
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/password`.replace(
|
|
2123
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/password`.replace(
|
|
2124
|
+
`{${"name"}}`,
|
|
2125
|
+
encodeURIComponent(String(name))
|
|
2126
|
+
);
|
|
1752
2127
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1753
2128
|
let baseOptions;
|
|
1754
2129
|
if (configuration) {
|
|
@@ -1791,7 +2166,34 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1791
2166
|
},
|
|
1792
2167
|
getPermissions: async (name, options = {}) => {
|
|
1793
2168
|
assertParamExists("getPermissions", "name", name);
|
|
1794
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2169
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2170
|
+
`{${"name"}}`,
|
|
2171
|
+
encodeURIComponent(String(name))
|
|
2172
|
+
);
|
|
2173
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2174
|
+
let baseOptions;
|
|
2175
|
+
if (configuration) {
|
|
2176
|
+
baseOptions = configuration.baseOptions;
|
|
2177
|
+
}
|
|
2178
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2179
|
+
const localVarHeaderParameter = {};
|
|
2180
|
+
const localVarQueryParameter = {};
|
|
2181
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2182
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2183
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2184
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2185
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2186
|
+
return {
|
|
2187
|
+
url: toPathString(localVarUrlObj),
|
|
2188
|
+
options: localVarRequestOptions
|
|
2189
|
+
};
|
|
2190
|
+
},
|
|
2191
|
+
getUserDetail: async (name, options = {}) => {
|
|
2192
|
+
assertParamExists("getUserDetail", "name", name);
|
|
2193
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}`.replace(
|
|
2194
|
+
`{${"name"}}`,
|
|
2195
|
+
encodeURIComponent(String(name))
|
|
2196
|
+
);
|
|
1795
2197
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1796
2198
|
let baseOptions;
|
|
1797
2199
|
if (configuration) {
|
|
@@ -1813,7 +2215,10 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1813
2215
|
grantPermission: async (name, grantRequest, options = {}) => {
|
|
1814
2216
|
assertParamExists("grantPermission", "name", name);
|
|
1815
2217
|
assertParamExists("grantPermission", "grantRequest", grantRequest);
|
|
1816
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2218
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2219
|
+
`{${"name"}}`,
|
|
2220
|
+
encodeURIComponent(String(name))
|
|
2221
|
+
);
|
|
1817
2222
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1818
2223
|
let baseOptions;
|
|
1819
2224
|
if (configuration) {
|
|
@@ -1834,6 +2239,47 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1834
2239
|
options: localVarRequestOptions
|
|
1835
2240
|
};
|
|
1836
2241
|
},
|
|
2242
|
+
listUsers: async (sort, keyword, role, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
2243
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users`;
|
|
2244
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2245
|
+
let baseOptions;
|
|
2246
|
+
if (configuration) {
|
|
2247
|
+
baseOptions = configuration.baseOptions;
|
|
2248
|
+
}
|
|
2249
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2250
|
+
const localVarHeaderParameter = {};
|
|
2251
|
+
const localVarQueryParameter = {};
|
|
2252
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2253
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2254
|
+
if (sort) {
|
|
2255
|
+
localVarQueryParameter["sort"] = Array.from(sort);
|
|
2256
|
+
}
|
|
2257
|
+
if (keyword !== void 0) {
|
|
2258
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
2259
|
+
}
|
|
2260
|
+
if (role !== void 0) {
|
|
2261
|
+
localVarQueryParameter["role"] = role;
|
|
2262
|
+
}
|
|
2263
|
+
if (size !== void 0) {
|
|
2264
|
+
localVarQueryParameter["size"] = size;
|
|
2265
|
+
}
|
|
2266
|
+
if (labelSelector) {
|
|
2267
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2268
|
+
}
|
|
2269
|
+
if (fieldSelector) {
|
|
2270
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2271
|
+
}
|
|
2272
|
+
if (page !== void 0) {
|
|
2273
|
+
localVarQueryParameter["page"] = page;
|
|
2274
|
+
}
|
|
2275
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2277
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2278
|
+
return {
|
|
2279
|
+
url: toPathString(localVarUrlObj),
|
|
2280
|
+
options: localVarRequestOptions
|
|
2281
|
+
};
|
|
2282
|
+
},
|
|
1837
2283
|
updateCurrentUser: async (user, options = {}) => {
|
|
1838
2284
|
assertParamExists("updateCurrentUser", "user", user);
|
|
1839
2285
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/-`;
|
|
@@ -1874,10 +2320,27 @@ const ApiConsoleHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
|
1874
2320
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
1875
2321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1876
2322
|
},
|
|
2323
|
+
async getUserDetail(name, options) {
|
|
2324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserDetail(name, options);
|
|
2325
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2326
|
+
},
|
|
1877
2327
|
async grantPermission(name, grantRequest, options) {
|
|
1878
2328
|
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
1879
2329
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1880
2330
|
},
|
|
2331
|
+
async listUsers(sort, keyword, role, size, labelSelector, fieldSelector, page, options) {
|
|
2332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(
|
|
2333
|
+
sort,
|
|
2334
|
+
keyword,
|
|
2335
|
+
role,
|
|
2336
|
+
size,
|
|
2337
|
+
labelSelector,
|
|
2338
|
+
fieldSelector,
|
|
2339
|
+
page,
|
|
2340
|
+
options
|
|
2341
|
+
);
|
|
2342
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2343
|
+
},
|
|
1881
2344
|
async updateCurrentUser(user, options) {
|
|
1882
2345
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCurrentUser(user, options);
|
|
1883
2346
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
@@ -1887,20 +2350,35 @@ const ApiConsoleHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
|
1887
2350
|
const ApiConsoleHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
1888
2351
|
const localVarFp = ApiConsoleHaloRunV1alpha1UserApiFp(configuration);
|
|
1889
2352
|
return {
|
|
1890
|
-
changePassword(
|
|
1891
|
-
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
2353
|
+
changePassword(requestParameters, options) {
|
|
2354
|
+
return localVarFp.changePassword(requestParameters.name, requestParameters.changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
1892
2355
|
},
|
|
1893
2356
|
getCurrentUserDetail(options) {
|
|
1894
2357
|
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
1895
2358
|
},
|
|
1896
|
-
getPermissions(
|
|
1897
|
-
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
1898
|
-
},
|
|
1899
|
-
|
|
1900
|
-
return localVarFp.
|
|
1901
|
-
},
|
|
1902
|
-
|
|
1903
|
-
return localVarFp.
|
|
2359
|
+
getPermissions(requestParameters, options) {
|
|
2360
|
+
return localVarFp.getPermissions(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2361
|
+
},
|
|
2362
|
+
getUserDetail(requestParameters, options) {
|
|
2363
|
+
return localVarFp.getUserDetail(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2364
|
+
},
|
|
2365
|
+
grantPermission(requestParameters, options) {
|
|
2366
|
+
return localVarFp.grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(axios, basePath));
|
|
2367
|
+
},
|
|
2368
|
+
listUsers(requestParameters = {}, options) {
|
|
2369
|
+
return localVarFp.listUsers(
|
|
2370
|
+
requestParameters.sort,
|
|
2371
|
+
requestParameters.keyword,
|
|
2372
|
+
requestParameters.role,
|
|
2373
|
+
requestParameters.size,
|
|
2374
|
+
requestParameters.labelSelector,
|
|
2375
|
+
requestParameters.fieldSelector,
|
|
2376
|
+
requestParameters.page,
|
|
2377
|
+
options
|
|
2378
|
+
).then((request) => request(axios, basePath));
|
|
2379
|
+
},
|
|
2380
|
+
updateCurrentUser(requestParameters, options) {
|
|
2381
|
+
return localVarFp.updateCurrentUser(requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1904
2382
|
}
|
|
1905
2383
|
};
|
|
1906
2384
|
};
|
|
@@ -1914,9 +2392,24 @@ class ApiConsoleHaloRunV1alpha1UserApi extends BaseAPI {
|
|
|
1914
2392
|
getPermissions(requestParameters, options) {
|
|
1915
2393
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1916
2394
|
}
|
|
2395
|
+
getUserDetail(requestParameters, options) {
|
|
2396
|
+
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).getUserDetail(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2397
|
+
}
|
|
1917
2398
|
grantPermission(requestParameters, options) {
|
|
1918
2399
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1919
2400
|
}
|
|
2401
|
+
listUsers(requestParameters = {}, options) {
|
|
2402
|
+
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).listUsers(
|
|
2403
|
+
requestParameters.sort,
|
|
2404
|
+
requestParameters.keyword,
|
|
2405
|
+
requestParameters.role,
|
|
2406
|
+
requestParameters.size,
|
|
2407
|
+
requestParameters.labelSelector,
|
|
2408
|
+
requestParameters.fieldSelector,
|
|
2409
|
+
requestParameters.page,
|
|
2410
|
+
options
|
|
2411
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2412
|
+
}
|
|
1920
2413
|
updateCurrentUser(requestParameters, options) {
|
|
1921
2414
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).updateCurrentUser(requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
1922
2415
|
}
|
|
@@ -1950,7 +2443,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1950
2443
|
createReply1: async (name, replyRequest, options = {}) => {
|
|
1951
2444
|
assertParamExists("createReply1", "name", name);
|
|
1952
2445
|
assertParamExists("createReply1", "replyRequest", replyRequest);
|
|
1953
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2446
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2447
|
+
`{${"name"}}`,
|
|
2448
|
+
encodeURIComponent(String(name))
|
|
2449
|
+
);
|
|
1954
2450
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1955
2451
|
let baseOptions;
|
|
1956
2452
|
if (configuration) {
|
|
@@ -1973,7 +2469,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1973
2469
|
},
|
|
1974
2470
|
getComment: async (name, options = {}) => {
|
|
1975
2471
|
assertParamExists("getComment", "name", name);
|
|
1976
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}`.replace(
|
|
2472
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}`.replace(
|
|
2473
|
+
`{${"name"}}`,
|
|
2474
|
+
encodeURIComponent(String(name))
|
|
2475
|
+
);
|
|
1977
2476
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1978
2477
|
let baseOptions;
|
|
1979
2478
|
if (configuration) {
|
|
@@ -1994,7 +2493,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1994
2493
|
},
|
|
1995
2494
|
listCommentReplies: async (name, size, page, options = {}) => {
|
|
1996
2495
|
assertParamExists("listCommentReplies", "name", name);
|
|
1997
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2496
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2497
|
+
`{${"name"}}`,
|
|
2498
|
+
encodeURIComponent(String(name))
|
|
2499
|
+
);
|
|
1998
2500
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1999
2501
|
let baseOptions;
|
|
2000
2502
|
if (configuration) {
|
|
@@ -2040,12 +2542,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
2040
2542
|
if (version !== void 0) {
|
|
2041
2543
|
localVarQueryParameter["version"] = version;
|
|
2042
2544
|
}
|
|
2043
|
-
if (kind !== void 0) {
|
|
2044
|
-
localVarQueryParameter["kind"] = kind;
|
|
2045
|
-
}
|
|
2046
2545
|
if (group !== void 0) {
|
|
2047
2546
|
localVarQueryParameter["group"] = group;
|
|
2048
2547
|
}
|
|
2548
|
+
if (kind !== void 0) {
|
|
2549
|
+
localVarQueryParameter["kind"] = kind;
|
|
2550
|
+
}
|
|
2049
2551
|
if (size !== void 0) {
|
|
2050
2552
|
localVarQueryParameter["size"] = size;
|
|
2051
2553
|
}
|
|
@@ -2082,7 +2584,15 @@ const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2082
2584
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2083
2585
|
},
|
|
2084
2586
|
async listComments1(name, version, kind, group, size, page, options) {
|
|
2085
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments1(
|
|
2587
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments1(
|
|
2588
|
+
name,
|
|
2589
|
+
version,
|
|
2590
|
+
kind,
|
|
2591
|
+
group,
|
|
2592
|
+
size,
|
|
2593
|
+
page,
|
|
2594
|
+
options
|
|
2595
|
+
);
|
|
2086
2596
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2087
2597
|
}
|
|
2088
2598
|
};
|
|
@@ -2090,20 +2600,28 @@ const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2090
2600
|
const ApiHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
2091
2601
|
const localVarFp = ApiHaloRunV1alpha1CommentApiFp(configuration);
|
|
2092
2602
|
return {
|
|
2093
|
-
createComment1(
|
|
2094
|
-
return localVarFp.createComment1(commentRequest, options).then((request) => request(axios, basePath));
|
|
2095
|
-
},
|
|
2096
|
-
createReply1(
|
|
2097
|
-
return localVarFp.createReply1(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
2098
|
-
},
|
|
2099
|
-
getComment(
|
|
2100
|
-
return localVarFp.getComment(name, options).then((request) => request(axios, basePath));
|
|
2101
|
-
},
|
|
2102
|
-
listCommentReplies(
|
|
2103
|
-
return localVarFp.listCommentReplies(name, size, page, options).then((request) => request(axios, basePath));
|
|
2104
|
-
},
|
|
2105
|
-
listComments1(
|
|
2106
|
-
return localVarFp.listComments1(
|
|
2603
|
+
createComment1(requestParameters, options) {
|
|
2604
|
+
return localVarFp.createComment1(requestParameters.commentRequest, options).then((request) => request(axios, basePath));
|
|
2605
|
+
},
|
|
2606
|
+
createReply1(requestParameters, options) {
|
|
2607
|
+
return localVarFp.createReply1(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(axios, basePath));
|
|
2608
|
+
},
|
|
2609
|
+
getComment(requestParameters, options) {
|
|
2610
|
+
return localVarFp.getComment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2611
|
+
},
|
|
2612
|
+
listCommentReplies(requestParameters, options) {
|
|
2613
|
+
return localVarFp.listCommentReplies(requestParameters.name, requestParameters.size, requestParameters.page, options).then((request) => request(axios, basePath));
|
|
2614
|
+
},
|
|
2615
|
+
listComments1(requestParameters, options) {
|
|
2616
|
+
return localVarFp.listComments1(
|
|
2617
|
+
requestParameters.name,
|
|
2618
|
+
requestParameters.version,
|
|
2619
|
+
requestParameters.kind,
|
|
2620
|
+
requestParameters.group,
|
|
2621
|
+
requestParameters.size,
|
|
2622
|
+
requestParameters.page,
|
|
2623
|
+
options
|
|
2624
|
+
).then((request) => request(axios, basePath));
|
|
2107
2625
|
}
|
|
2108
2626
|
};
|
|
2109
2627
|
};
|
|
@@ -2121,13 +2639,21 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
2121
2639
|
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listCommentReplies(requestParameters.name, requestParameters.size, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
2122
2640
|
}
|
|
2123
2641
|
listComments1(requestParameters, options) {
|
|
2124
|
-
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments1(
|
|
2642
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments1(
|
|
2643
|
+
requestParameters.name,
|
|
2644
|
+
requestParameters.version,
|
|
2645
|
+
requestParameters.kind,
|
|
2646
|
+
requestParameters.group,
|
|
2647
|
+
requestParameters.size,
|
|
2648
|
+
requestParameters.page,
|
|
2649
|
+
options
|
|
2650
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2125
2651
|
}
|
|
2126
2652
|
}
|
|
2127
2653
|
|
|
2128
2654
|
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
2129
2655
|
return {
|
|
2130
|
-
searchPost: async (keyword, highlightPreTag, highlightPostTag,
|
|
2656
|
+
searchPost: async (keyword, limit, highlightPreTag, highlightPostTag, options = {}) => {
|
|
2131
2657
|
assertParamExists("searchPost", "keyword", keyword);
|
|
2132
2658
|
const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
|
|
2133
2659
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2140,18 +2666,18 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2140
2666
|
const localVarQueryParameter = {};
|
|
2141
2667
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2142
2668
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2669
|
+
if (keyword !== void 0) {
|
|
2670
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
2671
|
+
}
|
|
2672
|
+
if (limit !== void 0) {
|
|
2673
|
+
localVarQueryParameter["limit"] = limit;
|
|
2674
|
+
}
|
|
2143
2675
|
if (highlightPreTag !== void 0) {
|
|
2144
2676
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
2145
2677
|
}
|
|
2146
2678
|
if (highlightPostTag !== void 0) {
|
|
2147
2679
|
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
2148
2680
|
}
|
|
2149
|
-
if (limit !== void 0) {
|
|
2150
|
-
localVarQueryParameter["limit"] = limit;
|
|
2151
|
-
}
|
|
2152
|
-
if (keyword !== void 0) {
|
|
2153
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
2154
|
-
}
|
|
2155
2681
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2156
2682
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2157
2683
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2165,8 +2691,14 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2165
2691
|
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
2166
2692
|
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
2167
2693
|
return {
|
|
2168
|
-
async searchPost(keyword, highlightPreTag, highlightPostTag,
|
|
2169
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(
|
|
2694
|
+
async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
2695
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(
|
|
2696
|
+
keyword,
|
|
2697
|
+
limit,
|
|
2698
|
+
highlightPreTag,
|
|
2699
|
+
highlightPostTag,
|
|
2700
|
+
options
|
|
2701
|
+
);
|
|
2170
2702
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2171
2703
|
}
|
|
2172
2704
|
};
|
|
@@ -2174,14 +2706,26 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2174
2706
|
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
2175
2707
|
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
2176
2708
|
return {
|
|
2177
|
-
searchPost(
|
|
2178
|
-
return localVarFp.searchPost(
|
|
2709
|
+
searchPost(requestParameters, options) {
|
|
2710
|
+
return localVarFp.searchPost(
|
|
2711
|
+
requestParameters.keyword,
|
|
2712
|
+
requestParameters.limit,
|
|
2713
|
+
requestParameters.highlightPreTag,
|
|
2714
|
+
requestParameters.highlightPostTag,
|
|
2715
|
+
options
|
|
2716
|
+
).then((request) => request(axios, basePath));
|
|
2179
2717
|
}
|
|
2180
2718
|
};
|
|
2181
2719
|
};
|
|
2182
2720
|
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
2183
2721
|
searchPost(requestParameters, options) {
|
|
2184
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(
|
|
2722
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(
|
|
2723
|
+
requestParameters.keyword,
|
|
2724
|
+
requestParameters.limit,
|
|
2725
|
+
requestParameters.highlightPreTag,
|
|
2726
|
+
requestParameters.highlightPostTag,
|
|
2727
|
+
options
|
|
2728
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2185
2729
|
}
|
|
2186
2730
|
}
|
|
2187
2731
|
|
|
@@ -2278,14 +2822,14 @@ const ApiHaloRunV1alpha1TrackerApiFp = function(configuration) {
|
|
|
2278
2822
|
const ApiHaloRunV1alpha1TrackerApiFactory = function(configuration, basePath, axios) {
|
|
2279
2823
|
const localVarFp = ApiHaloRunV1alpha1TrackerApiFp(configuration);
|
|
2280
2824
|
return {
|
|
2281
|
-
count(
|
|
2282
|
-
return localVarFp.count(counterRequest, options).then((request) => request(axios, basePath));
|
|
2825
|
+
count(requestParameters, options) {
|
|
2826
|
+
return localVarFp.count(requestParameters.counterRequest, options).then((request) => request(axios, basePath));
|
|
2283
2827
|
},
|
|
2284
|
-
downvote(
|
|
2285
|
-
return localVarFp.downvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
2828
|
+
downvote(requestParameters, options) {
|
|
2829
|
+
return localVarFp.downvote(requestParameters.voteRequest, options).then((request) => request(axios, basePath));
|
|
2286
2830
|
},
|
|
2287
|
-
upvote(
|
|
2288
|
-
return localVarFp.upvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
2831
|
+
upvote(requestParameters, options) {
|
|
2832
|
+
return localVarFp.upvote(requestParameters.voteRequest, options).then((request) => request(axios, basePath));
|
|
2289
2833
|
}
|
|
2290
2834
|
};
|
|
2291
2835
|
};
|
|
@@ -2327,7 +2871,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2327
2871
|
},
|
|
2328
2872
|
deletecontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
2329
2873
|
assertParamExists("deletecontentHaloRunV1alpha1Category", "name", name);
|
|
2330
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2874
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2875
|
+
`{${"name"}}`,
|
|
2876
|
+
encodeURIComponent(String(name))
|
|
2877
|
+
);
|
|
2331
2878
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2332
2879
|
let baseOptions;
|
|
2333
2880
|
if (configuration) {
|
|
@@ -2348,7 +2895,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2348
2895
|
},
|
|
2349
2896
|
getcontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
2350
2897
|
assertParamExists("getcontentHaloRunV1alpha1Category", "name", name);
|
|
2351
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2898
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2899
|
+
`{${"name"}}`,
|
|
2900
|
+
encodeURIComponent(String(name))
|
|
2901
|
+
);
|
|
2352
2902
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2353
2903
|
let baseOptions;
|
|
2354
2904
|
if (configuration) {
|
|
@@ -2401,7 +2951,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2401
2951
|
},
|
|
2402
2952
|
updatecontentHaloRunV1alpha1Category: async (name, category, options = {}) => {
|
|
2403
2953
|
assertParamExists("updatecontentHaloRunV1alpha1Category", "name", name);
|
|
2404
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2954
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2955
|
+
`{${"name"}}`,
|
|
2956
|
+
encodeURIComponent(String(name))
|
|
2957
|
+
);
|
|
2405
2958
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2406
2959
|
let baseOptions;
|
|
2407
2960
|
if (configuration) {
|
|
@@ -2440,11 +2993,21 @@ const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
|
|
|
2440
2993
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2441
2994
|
},
|
|
2442
2995
|
async listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
|
|
2443
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(
|
|
2996
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(
|
|
2997
|
+
page,
|
|
2998
|
+
size,
|
|
2999
|
+
labelSelector,
|
|
3000
|
+
fieldSelector,
|
|
3001
|
+
options
|
|
3002
|
+
);
|
|
2444
3003
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2445
3004
|
},
|
|
2446
3005
|
async updatecontentHaloRunV1alpha1Category(name, category, options) {
|
|
2447
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(
|
|
3006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(
|
|
3007
|
+
name,
|
|
3008
|
+
category,
|
|
3009
|
+
options
|
|
3010
|
+
);
|
|
2448
3011
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2449
3012
|
}
|
|
2450
3013
|
};
|
|
@@ -2452,20 +3015,26 @@ const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
|
|
|
2452
3015
|
const ContentHaloRunV1alpha1CategoryApiFactory = function(configuration, basePath, axios) {
|
|
2453
3016
|
const localVarFp = ContentHaloRunV1alpha1CategoryApiFp(configuration);
|
|
2454
3017
|
return {
|
|
2455
|
-
createcontentHaloRunV1alpha1Category(
|
|
2456
|
-
return localVarFp.createcontentHaloRunV1alpha1Category(category, options).then((request) => request(axios, basePath));
|
|
2457
|
-
},
|
|
2458
|
-
deletecontentHaloRunV1alpha1Category(
|
|
2459
|
-
return localVarFp.deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
2460
|
-
},
|
|
2461
|
-
getcontentHaloRunV1alpha1Category(
|
|
2462
|
-
return localVarFp.getcontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
2463
|
-
},
|
|
2464
|
-
listcontentHaloRunV1alpha1Category(
|
|
2465
|
-
return localVarFp.listcontentHaloRunV1alpha1Category(
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
3018
|
+
createcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
3019
|
+
return localVarFp.createcontentHaloRunV1alpha1Category(requestParameters.category, options).then((request) => request(axios, basePath));
|
|
3020
|
+
},
|
|
3021
|
+
deletecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3022
|
+
return localVarFp.deletecontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3023
|
+
},
|
|
3024
|
+
getcontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3025
|
+
return localVarFp.getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3026
|
+
},
|
|
3027
|
+
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
3028
|
+
return localVarFp.listcontentHaloRunV1alpha1Category(
|
|
3029
|
+
requestParameters.page,
|
|
3030
|
+
requestParameters.size,
|
|
3031
|
+
requestParameters.labelSelector,
|
|
3032
|
+
requestParameters.fieldSelector,
|
|
3033
|
+
options
|
|
3034
|
+
).then((request) => request(axios, basePath));
|
|
3035
|
+
},
|
|
3036
|
+
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3037
|
+
return localVarFp.updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(axios, basePath));
|
|
2469
3038
|
}
|
|
2470
3039
|
};
|
|
2471
3040
|
};
|
|
@@ -2480,7 +3049,13 @@ class ContentHaloRunV1alpha1CategoryApi extends BaseAPI {
|
|
|
2480
3049
|
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2481
3050
|
}
|
|
2482
3051
|
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
2483
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(
|
|
3052
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(
|
|
3053
|
+
requestParameters.page,
|
|
3054
|
+
requestParameters.size,
|
|
3055
|
+
requestParameters.labelSelector,
|
|
3056
|
+
requestParameters.fieldSelector,
|
|
3057
|
+
options
|
|
3058
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2484
3059
|
}
|
|
2485
3060
|
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
2486
3061
|
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2513,7 +3088,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2513
3088
|
},
|
|
2514
3089
|
deletecontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
2515
3090
|
assertParamExists("deletecontentHaloRunV1alpha1Comment", "name", name);
|
|
2516
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3091
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3092
|
+
`{${"name"}}`,
|
|
3093
|
+
encodeURIComponent(String(name))
|
|
3094
|
+
);
|
|
2517
3095
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2518
3096
|
let baseOptions;
|
|
2519
3097
|
if (configuration) {
|
|
@@ -2534,7 +3112,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2534
3112
|
},
|
|
2535
3113
|
getcontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
2536
3114
|
assertParamExists("getcontentHaloRunV1alpha1Comment", "name", name);
|
|
2537
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3115
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3116
|
+
`{${"name"}}`,
|
|
3117
|
+
encodeURIComponent(String(name))
|
|
3118
|
+
);
|
|
2538
3119
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2539
3120
|
let baseOptions;
|
|
2540
3121
|
if (configuration) {
|
|
@@ -2587,7 +3168,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2587
3168
|
},
|
|
2588
3169
|
updatecontentHaloRunV1alpha1Comment: async (name, comment, options = {}) => {
|
|
2589
3170
|
assertParamExists("updatecontentHaloRunV1alpha1Comment", "name", name);
|
|
2590
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3171
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3172
|
+
`{${"name"}}`,
|
|
3173
|
+
encodeURIComponent(String(name))
|
|
3174
|
+
);
|
|
2591
3175
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2592
3176
|
let baseOptions;
|
|
2593
3177
|
if (configuration) {
|
|
@@ -2626,11 +3210,21 @@ const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2626
3210
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2627
3211
|
},
|
|
2628
3212
|
async listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
|
|
2629
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(
|
|
3213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(
|
|
3214
|
+
page,
|
|
3215
|
+
size,
|
|
3216
|
+
labelSelector,
|
|
3217
|
+
fieldSelector,
|
|
3218
|
+
options
|
|
3219
|
+
);
|
|
2630
3220
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2631
3221
|
},
|
|
2632
3222
|
async updatecontentHaloRunV1alpha1Comment(name, comment, options) {
|
|
2633
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(
|
|
3223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(
|
|
3224
|
+
name,
|
|
3225
|
+
comment,
|
|
3226
|
+
options
|
|
3227
|
+
);
|
|
2634
3228
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2635
3229
|
}
|
|
2636
3230
|
};
|
|
@@ -2638,20 +3232,26 @@ const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2638
3232
|
const ContentHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
2639
3233
|
const localVarFp = ContentHaloRunV1alpha1CommentApiFp(configuration);
|
|
2640
3234
|
return {
|
|
2641
|
-
createcontentHaloRunV1alpha1Comment(
|
|
2642
|
-
return localVarFp.createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(axios, basePath));
|
|
2643
|
-
},
|
|
2644
|
-
deletecontentHaloRunV1alpha1Comment(
|
|
2645
|
-
return localVarFp.deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
2646
|
-
},
|
|
2647
|
-
getcontentHaloRunV1alpha1Comment(
|
|
2648
|
-
return localVarFp.getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
2649
|
-
},
|
|
2650
|
-
listcontentHaloRunV1alpha1Comment(
|
|
2651
|
-
return localVarFp.listcontentHaloRunV1alpha1Comment(
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
3235
|
+
createcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
3236
|
+
return localVarFp.createcontentHaloRunV1alpha1Comment(requestParameters.comment, options).then((request) => request(axios, basePath));
|
|
3237
|
+
},
|
|
3238
|
+
deletecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3239
|
+
return localVarFp.deletecontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3240
|
+
},
|
|
3241
|
+
getcontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3242
|
+
return localVarFp.getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3243
|
+
},
|
|
3244
|
+
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
3245
|
+
return localVarFp.listcontentHaloRunV1alpha1Comment(
|
|
3246
|
+
requestParameters.page,
|
|
3247
|
+
requestParameters.size,
|
|
3248
|
+
requestParameters.labelSelector,
|
|
3249
|
+
requestParameters.fieldSelector,
|
|
3250
|
+
options
|
|
3251
|
+
).then((request) => request(axios, basePath));
|
|
3252
|
+
},
|
|
3253
|
+
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3254
|
+
return localVarFp.updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(axios, basePath));
|
|
2655
3255
|
}
|
|
2656
3256
|
};
|
|
2657
3257
|
};
|
|
@@ -2666,7 +3266,13 @@ class ContentHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
2666
3266
|
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2667
3267
|
}
|
|
2668
3268
|
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
2669
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(
|
|
3269
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(
|
|
3270
|
+
requestParameters.page,
|
|
3271
|
+
requestParameters.size,
|
|
3272
|
+
requestParameters.labelSelector,
|
|
3273
|
+
requestParameters.fieldSelector,
|
|
3274
|
+
options
|
|
3275
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2670
3276
|
}
|
|
2671
3277
|
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
2672
3278
|
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2699,7 +3305,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2699
3305
|
},
|
|
2700
3306
|
deletecontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
2701
3307
|
assertParamExists("deletecontentHaloRunV1alpha1Post", "name", name);
|
|
2702
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3308
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3309
|
+
`{${"name"}}`,
|
|
3310
|
+
encodeURIComponent(String(name))
|
|
3311
|
+
);
|
|
2703
3312
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2704
3313
|
let baseOptions;
|
|
2705
3314
|
if (configuration) {
|
|
@@ -2720,7 +3329,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2720
3329
|
},
|
|
2721
3330
|
getcontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
2722
3331
|
assertParamExists("getcontentHaloRunV1alpha1Post", "name", name);
|
|
2723
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3332
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3333
|
+
`{${"name"}}`,
|
|
3334
|
+
encodeURIComponent(String(name))
|
|
3335
|
+
);
|
|
2724
3336
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2725
3337
|
let baseOptions;
|
|
2726
3338
|
if (configuration) {
|
|
@@ -2773,7 +3385,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2773
3385
|
},
|
|
2774
3386
|
updatecontentHaloRunV1alpha1Post: async (name, post, options = {}) => {
|
|
2775
3387
|
assertParamExists("updatecontentHaloRunV1alpha1Post", "name", name);
|
|
2776
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3388
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3389
|
+
`{${"name"}}`,
|
|
3390
|
+
encodeURIComponent(String(name))
|
|
3391
|
+
);
|
|
2777
3392
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2778
3393
|
let baseOptions;
|
|
2779
3394
|
if (configuration) {
|
|
@@ -2812,7 +3427,13 @@ const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2812
3427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2813
3428
|
},
|
|
2814
3429
|
async listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
|
|
2815
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(
|
|
3430
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(
|
|
3431
|
+
page,
|
|
3432
|
+
size,
|
|
3433
|
+
labelSelector,
|
|
3434
|
+
fieldSelector,
|
|
3435
|
+
options
|
|
3436
|
+
);
|
|
2816
3437
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2817
3438
|
},
|
|
2818
3439
|
async updatecontentHaloRunV1alpha1Post(name, post, options) {
|
|
@@ -2824,20 +3445,26 @@ const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2824
3445
|
const ContentHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
2825
3446
|
const localVarFp = ContentHaloRunV1alpha1PostApiFp(configuration);
|
|
2826
3447
|
return {
|
|
2827
|
-
createcontentHaloRunV1alpha1Post(
|
|
2828
|
-
return localVarFp.createcontentHaloRunV1alpha1Post(post, options).then((request) => request(axios, basePath));
|
|
2829
|
-
},
|
|
2830
|
-
deletecontentHaloRunV1alpha1Post(
|
|
2831
|
-
return localVarFp.deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
2832
|
-
},
|
|
2833
|
-
getcontentHaloRunV1alpha1Post(
|
|
2834
|
-
return localVarFp.getcontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
2835
|
-
},
|
|
2836
|
-
listcontentHaloRunV1alpha1Post(
|
|
2837
|
-
return localVarFp.listcontentHaloRunV1alpha1Post(
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
3448
|
+
createcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
3449
|
+
return localVarFp.createcontentHaloRunV1alpha1Post(requestParameters.post, options).then((request) => request(axios, basePath));
|
|
3450
|
+
},
|
|
3451
|
+
deletecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3452
|
+
return localVarFp.deletecontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3453
|
+
},
|
|
3454
|
+
getcontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3455
|
+
return localVarFp.getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3456
|
+
},
|
|
3457
|
+
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
3458
|
+
return localVarFp.listcontentHaloRunV1alpha1Post(
|
|
3459
|
+
requestParameters.page,
|
|
3460
|
+
requestParameters.size,
|
|
3461
|
+
requestParameters.labelSelector,
|
|
3462
|
+
requestParameters.fieldSelector,
|
|
3463
|
+
options
|
|
3464
|
+
).then((request) => request(axios, basePath));
|
|
3465
|
+
},
|
|
3466
|
+
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3467
|
+
return localVarFp.updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(axios, basePath));
|
|
2841
3468
|
}
|
|
2842
3469
|
};
|
|
2843
3470
|
};
|
|
@@ -2852,7 +3479,13 @@ class ContentHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
2852
3479
|
return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2853
3480
|
}
|
|
2854
3481
|
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
2855
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(
|
|
3482
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(
|
|
3483
|
+
requestParameters.page,
|
|
3484
|
+
requestParameters.size,
|
|
3485
|
+
requestParameters.labelSelector,
|
|
3486
|
+
requestParameters.fieldSelector,
|
|
3487
|
+
options
|
|
3488
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2856
3489
|
}
|
|
2857
3490
|
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
2858
3491
|
return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2885,7 +3518,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2885
3518
|
},
|
|
2886
3519
|
deletecontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
2887
3520
|
assertParamExists("deletecontentHaloRunV1alpha1Reply", "name", name);
|
|
2888
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3521
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3522
|
+
`{${"name"}}`,
|
|
3523
|
+
encodeURIComponent(String(name))
|
|
3524
|
+
);
|
|
2889
3525
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2890
3526
|
let baseOptions;
|
|
2891
3527
|
if (configuration) {
|
|
@@ -2906,7 +3542,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2906
3542
|
},
|
|
2907
3543
|
getcontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
2908
3544
|
assertParamExists("getcontentHaloRunV1alpha1Reply", "name", name);
|
|
2909
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3545
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3546
|
+
`{${"name"}}`,
|
|
3547
|
+
encodeURIComponent(String(name))
|
|
3548
|
+
);
|
|
2910
3549
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2911
3550
|
let baseOptions;
|
|
2912
3551
|
if (configuration) {
|
|
@@ -2959,7 +3598,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2959
3598
|
},
|
|
2960
3599
|
updatecontentHaloRunV1alpha1Reply: async (name, reply, options = {}) => {
|
|
2961
3600
|
assertParamExists("updatecontentHaloRunV1alpha1Reply", "name", name);
|
|
2962
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3601
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3602
|
+
`{${"name"}}`,
|
|
3603
|
+
encodeURIComponent(String(name))
|
|
3604
|
+
);
|
|
2963
3605
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2964
3606
|
let baseOptions;
|
|
2965
3607
|
if (configuration) {
|
|
@@ -2998,7 +3640,13 @@ const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
2998
3640
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2999
3641
|
},
|
|
3000
3642
|
async listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
|
|
3001
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(
|
|
3643
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(
|
|
3644
|
+
page,
|
|
3645
|
+
size,
|
|
3646
|
+
labelSelector,
|
|
3647
|
+
fieldSelector,
|
|
3648
|
+
options
|
|
3649
|
+
);
|
|
3002
3650
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3003
3651
|
},
|
|
3004
3652
|
async updatecontentHaloRunV1alpha1Reply(name, reply, options) {
|
|
@@ -3010,20 +3658,26 @@ const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
3010
3658
|
const ContentHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
3011
3659
|
const localVarFp = ContentHaloRunV1alpha1ReplyApiFp(configuration);
|
|
3012
3660
|
return {
|
|
3013
|
-
createcontentHaloRunV1alpha1Reply(
|
|
3014
|
-
return localVarFp.createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(axios, basePath));
|
|
3015
|
-
},
|
|
3016
|
-
deletecontentHaloRunV1alpha1Reply(
|
|
3017
|
-
return localVarFp.deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
3018
|
-
},
|
|
3019
|
-
getcontentHaloRunV1alpha1Reply(
|
|
3020
|
-
return localVarFp.getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
3021
|
-
},
|
|
3022
|
-
listcontentHaloRunV1alpha1Reply(
|
|
3023
|
-
return localVarFp.listcontentHaloRunV1alpha1Reply(
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3661
|
+
createcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3662
|
+
return localVarFp.createcontentHaloRunV1alpha1Reply(requestParameters.reply, options).then((request) => request(axios, basePath));
|
|
3663
|
+
},
|
|
3664
|
+
deletecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3665
|
+
return localVarFp.deletecontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3666
|
+
},
|
|
3667
|
+
getcontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3668
|
+
return localVarFp.getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3669
|
+
},
|
|
3670
|
+
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3671
|
+
return localVarFp.listcontentHaloRunV1alpha1Reply(
|
|
3672
|
+
requestParameters.page,
|
|
3673
|
+
requestParameters.size,
|
|
3674
|
+
requestParameters.labelSelector,
|
|
3675
|
+
requestParameters.fieldSelector,
|
|
3676
|
+
options
|
|
3677
|
+
).then((request) => request(axios, basePath));
|
|
3678
|
+
},
|
|
3679
|
+
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3680
|
+
return localVarFp.updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(axios, basePath));
|
|
3027
3681
|
}
|
|
3028
3682
|
};
|
|
3029
3683
|
};
|
|
@@ -3038,7 +3692,13 @@ class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
|
3038
3692
|
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3039
3693
|
}
|
|
3040
3694
|
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3041
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(
|
|
3695
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(
|
|
3696
|
+
requestParameters.page,
|
|
3697
|
+
requestParameters.size,
|
|
3698
|
+
requestParameters.labelSelector,
|
|
3699
|
+
requestParameters.fieldSelector,
|
|
3700
|
+
options
|
|
3701
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3042
3702
|
}
|
|
3043
3703
|
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3044
3704
|
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3071,7 +3731,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3071
3731
|
},
|
|
3072
3732
|
deletecontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
3073
3733
|
assertParamExists("deletecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3074
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3734
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3735
|
+
`{${"name"}}`,
|
|
3736
|
+
encodeURIComponent(String(name))
|
|
3737
|
+
);
|
|
3075
3738
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3076
3739
|
let baseOptions;
|
|
3077
3740
|
if (configuration) {
|
|
@@ -3092,7 +3755,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3092
3755
|
},
|
|
3093
3756
|
getcontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
3094
3757
|
assertParamExists("getcontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3095
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3758
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3759
|
+
`{${"name"}}`,
|
|
3760
|
+
encodeURIComponent(String(name))
|
|
3761
|
+
);
|
|
3096
3762
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3097
3763
|
let baseOptions;
|
|
3098
3764
|
if (configuration) {
|
|
@@ -3145,7 +3811,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3145
3811
|
},
|
|
3146
3812
|
updatecontentHaloRunV1alpha1SinglePage: async (name, singlePage, options = {}) => {
|
|
3147
3813
|
assertParamExists("updatecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3148
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3814
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3815
|
+
`{${"name"}}`,
|
|
3816
|
+
encodeURIComponent(String(name))
|
|
3817
|
+
);
|
|
3149
3818
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3150
3819
|
let baseOptions;
|
|
3151
3820
|
if (configuration) {
|
|
@@ -3172,7 +3841,10 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3172
3841
|
const localVarAxiosParamCreator = ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
|
|
3173
3842
|
return {
|
|
3174
3843
|
async createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
|
|
3175
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(
|
|
3844
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(
|
|
3845
|
+
singlePage,
|
|
3846
|
+
options
|
|
3847
|
+
);
|
|
3176
3848
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3177
3849
|
},
|
|
3178
3850
|
async deletecontentHaloRunV1alpha1SinglePage(name, options) {
|
|
@@ -3184,11 +3856,21 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3184
3856
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3185
3857
|
},
|
|
3186
3858
|
async listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
|
|
3187
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(
|
|
3859
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(
|
|
3860
|
+
page,
|
|
3861
|
+
size,
|
|
3862
|
+
labelSelector,
|
|
3863
|
+
fieldSelector,
|
|
3864
|
+
options
|
|
3865
|
+
);
|
|
3188
3866
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3189
3867
|
},
|
|
3190
3868
|
async updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
|
|
3191
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(
|
|
3869
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(
|
|
3870
|
+
name,
|
|
3871
|
+
singlePage,
|
|
3872
|
+
options
|
|
3873
|
+
);
|
|
3192
3874
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3193
3875
|
}
|
|
3194
3876
|
};
|
|
@@ -3196,20 +3878,26 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3196
3878
|
const ContentHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
3197
3879
|
const localVarFp = ContentHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
3198
3880
|
return {
|
|
3199
|
-
createcontentHaloRunV1alpha1SinglePage(
|
|
3200
|
-
return localVarFp.createcontentHaloRunV1alpha1SinglePage(singlePage, options).then((request) => request(axios, basePath));
|
|
3201
|
-
},
|
|
3202
|
-
deletecontentHaloRunV1alpha1SinglePage(
|
|
3203
|
-
return localVarFp.deletecontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
3204
|
-
},
|
|
3205
|
-
getcontentHaloRunV1alpha1SinglePage(
|
|
3206
|
-
return localVarFp.getcontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
3207
|
-
},
|
|
3208
|
-
listcontentHaloRunV1alpha1SinglePage(
|
|
3209
|
-
return localVarFp.listcontentHaloRunV1alpha1SinglePage(
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3881
|
+
createcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3882
|
+
return localVarFp.createcontentHaloRunV1alpha1SinglePage(requestParameters.singlePage, options).then((request) => request(axios, basePath));
|
|
3883
|
+
},
|
|
3884
|
+
deletecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3885
|
+
return localVarFp.deletecontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3886
|
+
},
|
|
3887
|
+
getcontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3888
|
+
return localVarFp.getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3889
|
+
},
|
|
3890
|
+
listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3891
|
+
return localVarFp.listcontentHaloRunV1alpha1SinglePage(
|
|
3892
|
+
requestParameters.page,
|
|
3893
|
+
requestParameters.size,
|
|
3894
|
+
requestParameters.labelSelector,
|
|
3895
|
+
requestParameters.fieldSelector,
|
|
3896
|
+
options
|
|
3897
|
+
).then((request) => request(axios, basePath));
|
|
3898
|
+
},
|
|
3899
|
+
updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3900
|
+
return localVarFp.updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(axios, basePath));
|
|
3213
3901
|
}
|
|
3214
3902
|
};
|
|
3215
3903
|
};
|
|
@@ -3224,7 +3912,13 @@ class ContentHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
3224
3912
|
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3225
3913
|
}
|
|
3226
3914
|
listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3227
|
-
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(
|
|
3915
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(
|
|
3916
|
+
requestParameters.page,
|
|
3917
|
+
requestParameters.size,
|
|
3918
|
+
requestParameters.labelSelector,
|
|
3919
|
+
requestParameters.fieldSelector,
|
|
3920
|
+
options
|
|
3921
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3228
3922
|
}
|
|
3229
3923
|
updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3230
3924
|
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3257,7 +3951,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3257
3951
|
},
|
|
3258
3952
|
deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
3259
3953
|
assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3260
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3954
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3955
|
+
`{${"name"}}`,
|
|
3956
|
+
encodeURIComponent(String(name))
|
|
3957
|
+
);
|
|
3261
3958
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3262
3959
|
let baseOptions;
|
|
3263
3960
|
if (configuration) {
|
|
@@ -3278,7 +3975,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3278
3975
|
},
|
|
3279
3976
|
getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
3280
3977
|
assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3281
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3978
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3979
|
+
`{${"name"}}`,
|
|
3980
|
+
encodeURIComponent(String(name))
|
|
3981
|
+
);
|
|
3282
3982
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3283
3983
|
let baseOptions;
|
|
3284
3984
|
if (configuration) {
|
|
@@ -3331,7 +4031,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3331
4031
|
},
|
|
3332
4032
|
updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
|
|
3333
4033
|
assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3334
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
4034
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
4035
|
+
`{${"name"}}`,
|
|
4036
|
+
encodeURIComponent(String(name))
|
|
4037
|
+
);
|
|
3335
4038
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3336
4039
|
let baseOptions;
|
|
3337
4040
|
if (configuration) {
|
|
@@ -3370,11 +4073,21 @@ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
|
3370
4073
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3371
4074
|
},
|
|
3372
4075
|
async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
3373
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(
|
|
4076
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(
|
|
4077
|
+
page,
|
|
4078
|
+
size,
|
|
4079
|
+
labelSelector,
|
|
4080
|
+
fieldSelector,
|
|
4081
|
+
options
|
|
4082
|
+
);
|
|
3374
4083
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3375
4084
|
},
|
|
3376
4085
|
async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
3377
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(
|
|
4086
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(
|
|
4087
|
+
name,
|
|
4088
|
+
snapshot,
|
|
4089
|
+
options
|
|
4090
|
+
);
|
|
3378
4091
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3379
4092
|
}
|
|
3380
4093
|
};
|
|
@@ -3382,20 +4095,26 @@ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
|
3382
4095
|
const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
|
|
3383
4096
|
const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
|
|
3384
4097
|
return {
|
|
3385
|
-
createcontentHaloRunV1alpha1Snapshot(
|
|
3386
|
-
return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
|
|
3387
|
-
},
|
|
3388
|
-
deletecontentHaloRunV1alpha1Snapshot(
|
|
3389
|
-
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
3390
|
-
},
|
|
3391
|
-
getcontentHaloRunV1alpha1Snapshot(
|
|
3392
|
-
return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
3393
|
-
},
|
|
3394
|
-
listcontentHaloRunV1alpha1Snapshot(
|
|
3395
|
-
return localVarFp.listcontentHaloRunV1alpha1Snapshot(
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
4098
|
+
createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
4099
|
+
return localVarFp.createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(axios, basePath));
|
|
4100
|
+
},
|
|
4101
|
+
deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4102
|
+
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4103
|
+
},
|
|
4104
|
+
getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4105
|
+
return localVarFp.getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4106
|
+
},
|
|
4107
|
+
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
4108
|
+
return localVarFp.listcontentHaloRunV1alpha1Snapshot(
|
|
4109
|
+
requestParameters.page,
|
|
4110
|
+
requestParameters.size,
|
|
4111
|
+
requestParameters.labelSelector,
|
|
4112
|
+
requestParameters.fieldSelector,
|
|
4113
|
+
options
|
|
4114
|
+
).then((request) => request(axios, basePath));
|
|
4115
|
+
},
|
|
4116
|
+
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4117
|
+
return localVarFp.updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(axios, basePath));
|
|
3399
4118
|
}
|
|
3400
4119
|
};
|
|
3401
4120
|
};
|
|
@@ -3410,7 +4129,13 @@ class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
|
|
|
3410
4129
|
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3411
4130
|
}
|
|
3412
4131
|
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
3413
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(
|
|
4132
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(
|
|
4133
|
+
requestParameters.page,
|
|
4134
|
+
requestParameters.size,
|
|
4135
|
+
requestParameters.labelSelector,
|
|
4136
|
+
requestParameters.fieldSelector,
|
|
4137
|
+
options
|
|
4138
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3414
4139
|
}
|
|
3415
4140
|
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
3416
4141
|
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3443,7 +4168,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3443
4168
|
},
|
|
3444
4169
|
deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
3445
4170
|
assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
|
|
3446
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4171
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4172
|
+
`{${"name"}}`,
|
|
4173
|
+
encodeURIComponent(String(name))
|
|
4174
|
+
);
|
|
3447
4175
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3448
4176
|
let baseOptions;
|
|
3449
4177
|
if (configuration) {
|
|
@@ -3464,7 +4192,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3464
4192
|
},
|
|
3465
4193
|
getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
3466
4194
|
assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
|
|
3467
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4195
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4196
|
+
`{${"name"}}`,
|
|
4197
|
+
encodeURIComponent(String(name))
|
|
4198
|
+
);
|
|
3468
4199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3469
4200
|
let baseOptions;
|
|
3470
4201
|
if (configuration) {
|
|
@@ -3517,7 +4248,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3517
4248
|
},
|
|
3518
4249
|
updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
|
|
3519
4250
|
assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
|
|
3520
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4251
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4252
|
+
`{${"name"}}`,
|
|
4253
|
+
encodeURIComponent(String(name))
|
|
4254
|
+
);
|
|
3521
4255
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3522
4256
|
let baseOptions;
|
|
3523
4257
|
if (configuration) {
|
|
@@ -3556,7 +4290,13 @@ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
|
3556
4290
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3557
4291
|
},
|
|
3558
4292
|
async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
3559
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(
|
|
4293
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(
|
|
4294
|
+
page,
|
|
4295
|
+
size,
|
|
4296
|
+
labelSelector,
|
|
4297
|
+
fieldSelector,
|
|
4298
|
+
options
|
|
4299
|
+
);
|
|
3560
4300
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3561
4301
|
},
|
|
3562
4302
|
async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
@@ -3568,20 +4308,26 @@ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
|
3568
4308
|
const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
|
|
3569
4309
|
const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
|
|
3570
4310
|
return {
|
|
3571
|
-
createcontentHaloRunV1alpha1Tag(
|
|
3572
|
-
return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
|
|
3573
|
-
},
|
|
3574
|
-
deletecontentHaloRunV1alpha1Tag(
|
|
3575
|
-
return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
3576
|
-
},
|
|
3577
|
-
getcontentHaloRunV1alpha1Tag(
|
|
3578
|
-
return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
3579
|
-
},
|
|
3580
|
-
listcontentHaloRunV1alpha1Tag(
|
|
3581
|
-
return localVarFp.listcontentHaloRunV1alpha1Tag(
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
4311
|
+
createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
4312
|
+
return localVarFp.createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(axios, basePath));
|
|
4313
|
+
},
|
|
4314
|
+
deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4315
|
+
return localVarFp.deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4316
|
+
},
|
|
4317
|
+
getcontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4318
|
+
return localVarFp.getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4319
|
+
},
|
|
4320
|
+
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
4321
|
+
return localVarFp.listcontentHaloRunV1alpha1Tag(
|
|
4322
|
+
requestParameters.page,
|
|
4323
|
+
requestParameters.size,
|
|
4324
|
+
requestParameters.labelSelector,
|
|
4325
|
+
requestParameters.fieldSelector,
|
|
4326
|
+
options
|
|
4327
|
+
).then((request) => request(axios, basePath));
|
|
4328
|
+
},
|
|
4329
|
+
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4330
|
+
return localVarFp.updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(axios, basePath));
|
|
3585
4331
|
}
|
|
3586
4332
|
};
|
|
3587
4333
|
};
|
|
@@ -3596,7 +4342,13 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
3596
4342
|
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3597
4343
|
}
|
|
3598
4344
|
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
3599
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(
|
|
4345
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(
|
|
4346
|
+
requestParameters.page,
|
|
4347
|
+
requestParameters.size,
|
|
4348
|
+
requestParameters.labelSelector,
|
|
4349
|
+
requestParameters.fieldSelector,
|
|
4350
|
+
options
|
|
4351
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3600
4352
|
}
|
|
3601
4353
|
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
3602
4354
|
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3629,7 +4381,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3629
4381
|
},
|
|
3630
4382
|
deletemetricsHaloRunV1alpha1Counter: async (name, options = {}) => {
|
|
3631
4383
|
assertParamExists("deletemetricsHaloRunV1alpha1Counter", "name", name);
|
|
3632
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4384
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4385
|
+
`{${"name"}}`,
|
|
4386
|
+
encodeURIComponent(String(name))
|
|
4387
|
+
);
|
|
3633
4388
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3634
4389
|
let baseOptions;
|
|
3635
4390
|
if (configuration) {
|
|
@@ -3650,7 +4405,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3650
4405
|
},
|
|
3651
4406
|
getmetricsHaloRunV1alpha1Counter: async (name, options = {}) => {
|
|
3652
4407
|
assertParamExists("getmetricsHaloRunV1alpha1Counter", "name", name);
|
|
3653
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4408
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4409
|
+
`{${"name"}}`,
|
|
4410
|
+
encodeURIComponent(String(name))
|
|
4411
|
+
);
|
|
3654
4412
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3655
4413
|
let baseOptions;
|
|
3656
4414
|
if (configuration) {
|
|
@@ -3703,7 +4461,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3703
4461
|
},
|
|
3704
4462
|
updatemetricsHaloRunV1alpha1Counter: async (name, counter, options = {}) => {
|
|
3705
4463
|
assertParamExists("updatemetricsHaloRunV1alpha1Counter", "name", name);
|
|
3706
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4464
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4465
|
+
`{${"name"}}`,
|
|
4466
|
+
encodeURIComponent(String(name))
|
|
4467
|
+
);
|
|
3707
4468
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3708
4469
|
let baseOptions;
|
|
3709
4470
|
if (configuration) {
|
|
@@ -3742,11 +4503,21 @@ const MetricsHaloRunV1alpha1CounterApiFp = function(configuration) {
|
|
|
3742
4503
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3743
4504
|
},
|
|
3744
4505
|
async listmetricsHaloRunV1alpha1Counter(page, size, labelSelector, fieldSelector, options) {
|
|
3745
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listmetricsHaloRunV1alpha1Counter(
|
|
4506
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listmetricsHaloRunV1alpha1Counter(
|
|
4507
|
+
page,
|
|
4508
|
+
size,
|
|
4509
|
+
labelSelector,
|
|
4510
|
+
fieldSelector,
|
|
4511
|
+
options
|
|
4512
|
+
);
|
|
3746
4513
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3747
4514
|
},
|
|
3748
4515
|
async updatemetricsHaloRunV1alpha1Counter(name, counter, options) {
|
|
3749
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatemetricsHaloRunV1alpha1Counter(
|
|
4516
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatemetricsHaloRunV1alpha1Counter(
|
|
4517
|
+
name,
|
|
4518
|
+
counter,
|
|
4519
|
+
options
|
|
4520
|
+
);
|
|
3750
4521
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3751
4522
|
}
|
|
3752
4523
|
};
|
|
@@ -3754,20 +4525,26 @@ const MetricsHaloRunV1alpha1CounterApiFp = function(configuration) {
|
|
|
3754
4525
|
const MetricsHaloRunV1alpha1CounterApiFactory = function(configuration, basePath, axios) {
|
|
3755
4526
|
const localVarFp = MetricsHaloRunV1alpha1CounterApiFp(configuration);
|
|
3756
4527
|
return {
|
|
3757
|
-
createmetricsHaloRunV1alpha1Counter(
|
|
3758
|
-
return localVarFp.createmetricsHaloRunV1alpha1Counter(counter, options).then((request) => request(axios, basePath));
|
|
3759
|
-
},
|
|
3760
|
-
deletemetricsHaloRunV1alpha1Counter(
|
|
3761
|
-
return localVarFp.deletemetricsHaloRunV1alpha1Counter(name, options).then((request) => request(axios, basePath));
|
|
3762
|
-
},
|
|
3763
|
-
getmetricsHaloRunV1alpha1Counter(
|
|
3764
|
-
return localVarFp.getmetricsHaloRunV1alpha1Counter(name, options).then((request) => request(axios, basePath));
|
|
3765
|
-
},
|
|
3766
|
-
listmetricsHaloRunV1alpha1Counter(
|
|
3767
|
-
return localVarFp.listmetricsHaloRunV1alpha1Counter(
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
4528
|
+
createmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
4529
|
+
return localVarFp.createmetricsHaloRunV1alpha1Counter(requestParameters.counter, options).then((request) => request(axios, basePath));
|
|
4530
|
+
},
|
|
4531
|
+
deletemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4532
|
+
return localVarFp.deletemetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4533
|
+
},
|
|
4534
|
+
getmetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4535
|
+
return localVarFp.getmetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4536
|
+
},
|
|
4537
|
+
listmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
4538
|
+
return localVarFp.listmetricsHaloRunV1alpha1Counter(
|
|
4539
|
+
requestParameters.page,
|
|
4540
|
+
requestParameters.size,
|
|
4541
|
+
requestParameters.labelSelector,
|
|
4542
|
+
requestParameters.fieldSelector,
|
|
4543
|
+
options
|
|
4544
|
+
).then((request) => request(axios, basePath));
|
|
4545
|
+
},
|
|
4546
|
+
updatemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4547
|
+
return localVarFp.updatemetricsHaloRunV1alpha1Counter(requestParameters.name, requestParameters.counter, options).then((request) => request(axios, basePath));
|
|
3771
4548
|
}
|
|
3772
4549
|
};
|
|
3773
4550
|
};
|
|
@@ -3782,7 +4559,13 @@ class MetricsHaloRunV1alpha1CounterApi extends BaseAPI {
|
|
|
3782
4559
|
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).getmetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3783
4560
|
}
|
|
3784
4561
|
listmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
3785
|
-
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).listmetricsHaloRunV1alpha1Counter(
|
|
4562
|
+
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).listmetricsHaloRunV1alpha1Counter(
|
|
4563
|
+
requestParameters.page,
|
|
4564
|
+
requestParameters.size,
|
|
4565
|
+
requestParameters.labelSelector,
|
|
4566
|
+
requestParameters.fieldSelector,
|
|
4567
|
+
options
|
|
4568
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3786
4569
|
}
|
|
3787
4570
|
updatemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
3788
4571
|
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).updatemetricsHaloRunV1alpha1Counter(requestParameters.name, requestParameters.counter, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3815,7 +4598,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3815
4598
|
},
|
|
3816
4599
|
deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
3817
4600
|
assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
|
|
3818
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4601
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4602
|
+
`{${"name"}}`,
|
|
4603
|
+
encodeURIComponent(String(name))
|
|
4604
|
+
);
|
|
3819
4605
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3820
4606
|
let baseOptions;
|
|
3821
4607
|
if (configuration) {
|
|
@@ -3836,7 +4622,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3836
4622
|
},
|
|
3837
4623
|
getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
3838
4624
|
assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
|
|
3839
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4625
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4626
|
+
`{${"name"}}`,
|
|
4627
|
+
encodeURIComponent(String(name))
|
|
4628
|
+
);
|
|
3840
4629
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3841
4630
|
let baseOptions;
|
|
3842
4631
|
if (configuration) {
|
|
@@ -3889,7 +4678,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3889
4678
|
},
|
|
3890
4679
|
updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
|
|
3891
4680
|
assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
|
|
3892
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4681
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4682
|
+
`{${"name"}}`,
|
|
4683
|
+
encodeURIComponent(String(name))
|
|
4684
|
+
);
|
|
3893
4685
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3894
4686
|
let baseOptions;
|
|
3895
4687
|
if (configuration) {
|
|
@@ -3928,7 +4720,13 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
3928
4720
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3929
4721
|
},
|
|
3930
4722
|
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
3931
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(
|
|
4723
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(
|
|
4724
|
+
page,
|
|
4725
|
+
size,
|
|
4726
|
+
labelSelector,
|
|
4727
|
+
fieldSelector,
|
|
4728
|
+
options
|
|
4729
|
+
);
|
|
3932
4730
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3933
4731
|
},
|
|
3934
4732
|
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
@@ -3940,20 +4738,26 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
3940
4738
|
const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
3941
4739
|
const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
|
|
3942
4740
|
return {
|
|
3943
|
-
createpluginHaloRunV1alpha1Plugin(
|
|
3944
|
-
return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
|
|
3945
|
-
},
|
|
3946
|
-
deletepluginHaloRunV1alpha1Plugin(
|
|
3947
|
-
return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
3948
|
-
},
|
|
3949
|
-
getpluginHaloRunV1alpha1Plugin(
|
|
3950
|
-
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
3951
|
-
},
|
|
3952
|
-
listpluginHaloRunV1alpha1Plugin(
|
|
3953
|
-
return localVarFp.listpluginHaloRunV1alpha1Plugin(
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
4741
|
+
createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
4742
|
+
return localVarFp.createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(axios, basePath));
|
|
4743
|
+
},
|
|
4744
|
+
deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4745
|
+
return localVarFp.deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4746
|
+
},
|
|
4747
|
+
getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4748
|
+
return localVarFp.getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4749
|
+
},
|
|
4750
|
+
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
4751
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(
|
|
4752
|
+
requestParameters.page,
|
|
4753
|
+
requestParameters.size,
|
|
4754
|
+
requestParameters.labelSelector,
|
|
4755
|
+
requestParameters.fieldSelector,
|
|
4756
|
+
options
|
|
4757
|
+
).then((request) => request(axios, basePath));
|
|
4758
|
+
},
|
|
4759
|
+
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4760
|
+
return localVarFp.updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(axios, basePath));
|
|
3957
4761
|
}
|
|
3958
4762
|
};
|
|
3959
4763
|
};
|
|
@@ -3968,7 +4772,13 @@ class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
3968
4772
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3969
4773
|
}
|
|
3970
4774
|
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
3971
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(
|
|
4775
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(
|
|
4776
|
+
requestParameters.page,
|
|
4777
|
+
requestParameters.size,
|
|
4778
|
+
requestParameters.labelSelector,
|
|
4779
|
+
requestParameters.fieldSelector,
|
|
4780
|
+
options
|
|
4781
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3972
4782
|
}
|
|
3973
4783
|
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
3974
4784
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4001,7 +4811,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4001
4811
|
},
|
|
4002
4812
|
deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
4003
4813
|
assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4004
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4814
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4815
|
+
`{${"name"}}`,
|
|
4816
|
+
encodeURIComponent(String(name))
|
|
4817
|
+
);
|
|
4005
4818
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4006
4819
|
let baseOptions;
|
|
4007
4820
|
if (configuration) {
|
|
@@ -4022,7 +4835,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4022
4835
|
},
|
|
4023
4836
|
getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
4024
4837
|
assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4025
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4838
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4839
|
+
`{${"name"}}`,
|
|
4840
|
+
encodeURIComponent(String(name))
|
|
4841
|
+
);
|
|
4026
4842
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4027
4843
|
let baseOptions;
|
|
4028
4844
|
if (configuration) {
|
|
@@ -4075,7 +4891,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4075
4891
|
},
|
|
4076
4892
|
updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
|
|
4077
4893
|
assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4078
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4894
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4895
|
+
`{${"name"}}`,
|
|
4896
|
+
encodeURIComponent(String(name))
|
|
4897
|
+
);
|
|
4079
4898
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4080
4899
|
let baseOptions;
|
|
4081
4900
|
if (configuration) {
|
|
@@ -4102,7 +4921,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4102
4921
|
const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
|
|
4103
4922
|
return {
|
|
4104
4923
|
async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
4105
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(
|
|
4924
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(
|
|
4925
|
+
reverseProxy,
|
|
4926
|
+
options
|
|
4927
|
+
);
|
|
4106
4928
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4107
4929
|
},
|
|
4108
4930
|
async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
@@ -4114,11 +4936,21 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4114
4936
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4115
4937
|
},
|
|
4116
4938
|
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
4117
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4940
|
+
page,
|
|
4941
|
+
size,
|
|
4942
|
+
labelSelector,
|
|
4943
|
+
fieldSelector,
|
|
4944
|
+
options
|
|
4945
|
+
);
|
|
4118
4946
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4119
4947
|
},
|
|
4120
4948
|
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
4121
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(
|
|
4949
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(
|
|
4950
|
+
name,
|
|
4951
|
+
reverseProxy,
|
|
4952
|
+
options
|
|
4953
|
+
);
|
|
4122
4954
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4123
4955
|
}
|
|
4124
4956
|
};
|
|
@@ -4126,20 +4958,26 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4126
4958
|
const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
|
|
4127
4959
|
const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
|
|
4128
4960
|
return {
|
|
4129
|
-
createpluginHaloRunV1alpha1ReverseProxy(
|
|
4130
|
-
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
|
|
4131
|
-
},
|
|
4132
|
-
deletepluginHaloRunV1alpha1ReverseProxy(
|
|
4133
|
-
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
4134
|
-
},
|
|
4135
|
-
getpluginHaloRunV1alpha1ReverseProxy(
|
|
4136
|
-
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
4137
|
-
},
|
|
4138
|
-
listpluginHaloRunV1alpha1ReverseProxy(
|
|
4139
|
-
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4961
|
+
createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4962
|
+
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(axios, basePath));
|
|
4963
|
+
},
|
|
4964
|
+
deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4965
|
+
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4966
|
+
},
|
|
4967
|
+
getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4968
|
+
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4969
|
+
},
|
|
4970
|
+
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4971
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4972
|
+
requestParameters.page,
|
|
4973
|
+
requestParameters.size,
|
|
4974
|
+
requestParameters.labelSelector,
|
|
4975
|
+
requestParameters.fieldSelector,
|
|
4976
|
+
options
|
|
4977
|
+
).then((request) => request(axios, basePath));
|
|
4978
|
+
},
|
|
4979
|
+
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4980
|
+
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(axios, basePath));
|
|
4143
4981
|
}
|
|
4144
4982
|
};
|
|
4145
4983
|
};
|
|
@@ -4154,7 +4992,13 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
4154
4992
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4155
4993
|
}
|
|
4156
4994
|
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4157
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(
|
|
4995
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(
|
|
4996
|
+
requestParameters.page,
|
|
4997
|
+
requestParameters.size,
|
|
4998
|
+
requestParameters.labelSelector,
|
|
4999
|
+
requestParameters.fieldSelector,
|
|
5000
|
+
options
|
|
5001
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4158
5002
|
}
|
|
4159
5003
|
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4160
5004
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4187,7 +5031,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4187
5031
|
},
|
|
4188
5032
|
deletepluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
4189
5033
|
assertParamExists("deletepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4190
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5034
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5035
|
+
`{${"name"}}`,
|
|
5036
|
+
encodeURIComponent(String(name))
|
|
5037
|
+
);
|
|
4191
5038
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4192
5039
|
let baseOptions;
|
|
4193
5040
|
if (configuration) {
|
|
@@ -4208,7 +5055,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4208
5055
|
},
|
|
4209
5056
|
getpluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
4210
5057
|
assertParamExists("getpluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4211
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5058
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5059
|
+
`{${"name"}}`,
|
|
5060
|
+
encodeURIComponent(String(name))
|
|
5061
|
+
);
|
|
4212
5062
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4213
5063
|
let baseOptions;
|
|
4214
5064
|
if (configuration) {
|
|
@@ -4261,7 +5111,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4261
5111
|
},
|
|
4262
5112
|
updatepluginHaloRunV1alpha1SearchEngine: async (name, searchEngine, options = {}) => {
|
|
4263
5113
|
assertParamExists("updatepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4264
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5114
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5115
|
+
`{${"name"}}`,
|
|
5116
|
+
encodeURIComponent(String(name))
|
|
5117
|
+
);
|
|
4265
5118
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4266
5119
|
let baseOptions;
|
|
4267
5120
|
if (configuration) {
|
|
@@ -4288,7 +5141,10 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4288
5141
|
const localVarAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator(configuration);
|
|
4289
5142
|
return {
|
|
4290
5143
|
async createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
4291
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(
|
|
5144
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(
|
|
5145
|
+
searchEngine,
|
|
5146
|
+
options
|
|
5147
|
+
);
|
|
4292
5148
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4293
5149
|
},
|
|
4294
5150
|
async deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
@@ -4300,11 +5156,21 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4300
5156
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4301
5157
|
},
|
|
4302
5158
|
async listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
4303
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(
|
|
5159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(
|
|
5160
|
+
page,
|
|
5161
|
+
size,
|
|
5162
|
+
labelSelector,
|
|
5163
|
+
fieldSelector,
|
|
5164
|
+
options
|
|
5165
|
+
);
|
|
4304
5166
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4305
5167
|
},
|
|
4306
5168
|
async updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
4307
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(
|
|
5169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(
|
|
5170
|
+
name,
|
|
5171
|
+
searchEngine,
|
|
5172
|
+
options
|
|
5173
|
+
);
|
|
4308
5174
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4309
5175
|
}
|
|
4310
5176
|
};
|
|
@@ -4312,20 +5178,26 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4312
5178
|
const PluginHaloRunV1alpha1SearchEngineApiFactory = function(configuration, basePath, axios) {
|
|
4313
5179
|
const localVarFp = PluginHaloRunV1alpha1SearchEngineApiFp(configuration);
|
|
4314
5180
|
return {
|
|
4315
|
-
createpluginHaloRunV1alpha1SearchEngine(
|
|
4316
|
-
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options).then((request) => request(axios, basePath));
|
|
4317
|
-
},
|
|
4318
|
-
deletepluginHaloRunV1alpha1SearchEngine(
|
|
4319
|
-
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
4320
|
-
},
|
|
4321
|
-
getpluginHaloRunV1alpha1SearchEngine(
|
|
4322
|
-
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
4323
|
-
},
|
|
4324
|
-
listpluginHaloRunV1alpha1SearchEngine(
|
|
4325
|
-
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
5181
|
+
createpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
5182
|
+
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(requestParameters.searchEngine, options).then((request) => request(axios, basePath));
|
|
5183
|
+
},
|
|
5184
|
+
deletepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5185
|
+
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5186
|
+
},
|
|
5187
|
+
getpluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5188
|
+
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5189
|
+
},
|
|
5190
|
+
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
5191
|
+
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(
|
|
5192
|
+
requestParameters.page,
|
|
5193
|
+
requestParameters.size,
|
|
5194
|
+
requestParameters.labelSelector,
|
|
5195
|
+
requestParameters.fieldSelector,
|
|
5196
|
+
options
|
|
5197
|
+
).then((request) => request(axios, basePath));
|
|
5198
|
+
},
|
|
5199
|
+
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5200
|
+
return localVarFp.updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(axios, basePath));
|
|
4329
5201
|
}
|
|
4330
5202
|
};
|
|
4331
5203
|
};
|
|
@@ -4340,7 +5212,13 @@ class PluginHaloRunV1alpha1SearchEngineApi extends BaseAPI {
|
|
|
4340
5212
|
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4341
5213
|
}
|
|
4342
5214
|
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
4343
|
-
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(
|
|
5215
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(
|
|
5216
|
+
requestParameters.page,
|
|
5217
|
+
requestParameters.size,
|
|
5218
|
+
requestParameters.labelSelector,
|
|
5219
|
+
requestParameters.fieldSelector,
|
|
5220
|
+
options
|
|
5221
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4344
5222
|
}
|
|
4345
5223
|
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
4346
5224
|
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4373,7 +5251,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4373
5251
|
},
|
|
4374
5252
|
deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
4375
5253
|
assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
|
|
4376
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5254
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5255
|
+
`{${"name"}}`,
|
|
5256
|
+
encodeURIComponent(String(name))
|
|
5257
|
+
);
|
|
4377
5258
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4378
5259
|
let baseOptions;
|
|
4379
5260
|
if (configuration) {
|
|
@@ -4394,7 +5275,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4394
5275
|
},
|
|
4395
5276
|
getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
4396
5277
|
assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
|
|
4397
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5278
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5279
|
+
`{${"name"}}`,
|
|
5280
|
+
encodeURIComponent(String(name))
|
|
5281
|
+
);
|
|
4398
5282
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4399
5283
|
let baseOptions;
|
|
4400
5284
|
if (configuration) {
|
|
@@ -4447,7 +5331,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4447
5331
|
},
|
|
4448
5332
|
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
4449
5333
|
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
4450
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5334
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5335
|
+
`{${"name"}}`,
|
|
5336
|
+
encodeURIComponent(String(name))
|
|
5337
|
+
);
|
|
4451
5338
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4452
5339
|
let baseOptions;
|
|
4453
5340
|
if (configuration) {
|
|
@@ -4474,7 +5361,10 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4474
5361
|
const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
4475
5362
|
return {
|
|
4476
5363
|
async createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
4477
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(
|
|
5364
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(
|
|
5365
|
+
attachment,
|
|
5366
|
+
options
|
|
5367
|
+
);
|
|
4478
5368
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4479
5369
|
},
|
|
4480
5370
|
async deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
@@ -4486,11 +5376,21 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4486
5376
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4487
5377
|
},
|
|
4488
5378
|
async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
4489
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(
|
|
5379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(
|
|
5380
|
+
page,
|
|
5381
|
+
size,
|
|
5382
|
+
labelSelector,
|
|
5383
|
+
fieldSelector,
|
|
5384
|
+
options
|
|
5385
|
+
);
|
|
4490
5386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4491
5387
|
},
|
|
4492
5388
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
4493
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(
|
|
5389
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(
|
|
5390
|
+
name,
|
|
5391
|
+
attachment,
|
|
5392
|
+
options
|
|
5393
|
+
);
|
|
4494
5394
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4495
5395
|
}
|
|
4496
5396
|
};
|
|
@@ -4498,20 +5398,26 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4498
5398
|
const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
4499
5399
|
const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
4500
5400
|
return {
|
|
4501
|
-
createstorageHaloRunV1alpha1Attachment(
|
|
4502
|
-
return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
|
|
4503
|
-
},
|
|
4504
|
-
deletestorageHaloRunV1alpha1Attachment(
|
|
4505
|
-
return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
4506
|
-
},
|
|
4507
|
-
getstorageHaloRunV1alpha1Attachment(
|
|
4508
|
-
return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
4509
|
-
},
|
|
4510
|
-
liststorageHaloRunV1alpha1Attachment(
|
|
4511
|
-
return localVarFp.liststorageHaloRunV1alpha1Attachment(
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
5401
|
+
createstorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
5402
|
+
return localVarFp.createstorageHaloRunV1alpha1Attachment(requestParameters.attachment, options).then((request) => request(axios, basePath));
|
|
5403
|
+
},
|
|
5404
|
+
deletestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5405
|
+
return localVarFp.deletestorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5406
|
+
},
|
|
5407
|
+
getstorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5408
|
+
return localVarFp.getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5409
|
+
},
|
|
5410
|
+
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
5411
|
+
return localVarFp.liststorageHaloRunV1alpha1Attachment(
|
|
5412
|
+
requestParameters.page,
|
|
5413
|
+
requestParameters.size,
|
|
5414
|
+
requestParameters.labelSelector,
|
|
5415
|
+
requestParameters.fieldSelector,
|
|
5416
|
+
options
|
|
5417
|
+
).then((request) => request(axios, basePath));
|
|
5418
|
+
},
|
|
5419
|
+
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5420
|
+
return localVarFp.updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(axios, basePath));
|
|
4515
5421
|
}
|
|
4516
5422
|
};
|
|
4517
5423
|
};
|
|
@@ -4526,7 +5432,13 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
4526
5432
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4527
5433
|
}
|
|
4528
5434
|
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
4529
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(
|
|
5435
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(
|
|
5436
|
+
requestParameters.page,
|
|
5437
|
+
requestParameters.size,
|
|
5438
|
+
requestParameters.labelSelector,
|
|
5439
|
+
requestParameters.fieldSelector,
|
|
5440
|
+
options
|
|
5441
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4530
5442
|
}
|
|
4531
5443
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
4532
5444
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4559,7 +5471,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4559
5471
|
},
|
|
4560
5472
|
deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
4561
5473
|
assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
|
|
4562
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5474
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5475
|
+
`{${"name"}}`,
|
|
5476
|
+
encodeURIComponent(String(name))
|
|
5477
|
+
);
|
|
4563
5478
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4564
5479
|
let baseOptions;
|
|
4565
5480
|
if (configuration) {
|
|
@@ -4580,7 +5495,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4580
5495
|
},
|
|
4581
5496
|
getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
4582
5497
|
assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
|
|
4583
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5498
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5499
|
+
`{${"name"}}`,
|
|
5500
|
+
encodeURIComponent(String(name))
|
|
5501
|
+
);
|
|
4584
5502
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4585
5503
|
let baseOptions;
|
|
4586
5504
|
if (configuration) {
|
|
@@ -4633,7 +5551,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4633
5551
|
},
|
|
4634
5552
|
updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
|
|
4635
5553
|
assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
|
|
4636
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5554
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5555
|
+
`{${"name"}}`,
|
|
5556
|
+
encodeURIComponent(String(name))
|
|
5557
|
+
);
|
|
4637
5558
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4638
5559
|
let baseOptions;
|
|
4639
5560
|
if (configuration) {
|
|
@@ -4672,7 +5593,13 @@ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
|
4672
5593
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4673
5594
|
},
|
|
4674
5595
|
async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
4675
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(
|
|
5596
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(
|
|
5597
|
+
page,
|
|
5598
|
+
size,
|
|
5599
|
+
labelSelector,
|
|
5600
|
+
fieldSelector,
|
|
5601
|
+
options
|
|
5602
|
+
);
|
|
4676
5603
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4677
5604
|
},
|
|
4678
5605
|
async updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
@@ -4684,20 +5611,26 @@ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
|
4684
5611
|
const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
|
|
4685
5612
|
const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
|
|
4686
5613
|
return {
|
|
4687
|
-
createstorageHaloRunV1alpha1Group(
|
|
4688
|
-
return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
|
|
4689
|
-
},
|
|
4690
|
-
deletestorageHaloRunV1alpha1Group(
|
|
4691
|
-
return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
4692
|
-
},
|
|
4693
|
-
getstorageHaloRunV1alpha1Group(
|
|
4694
|
-
return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
4695
|
-
},
|
|
4696
|
-
liststorageHaloRunV1alpha1Group(
|
|
4697
|
-
return localVarFp.liststorageHaloRunV1alpha1Group(
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
5614
|
+
createstorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
5615
|
+
return localVarFp.createstorageHaloRunV1alpha1Group(requestParameters.group, options).then((request) => request(axios, basePath));
|
|
5616
|
+
},
|
|
5617
|
+
deletestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5618
|
+
return localVarFp.deletestorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5619
|
+
},
|
|
5620
|
+
getstorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5621
|
+
return localVarFp.getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5622
|
+
},
|
|
5623
|
+
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
5624
|
+
return localVarFp.liststorageHaloRunV1alpha1Group(
|
|
5625
|
+
requestParameters.page,
|
|
5626
|
+
requestParameters.size,
|
|
5627
|
+
requestParameters.labelSelector,
|
|
5628
|
+
requestParameters.fieldSelector,
|
|
5629
|
+
options
|
|
5630
|
+
).then((request) => request(axios, basePath));
|
|
5631
|
+
},
|
|
5632
|
+
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5633
|
+
return localVarFp.updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(axios, basePath));
|
|
4701
5634
|
}
|
|
4702
5635
|
};
|
|
4703
5636
|
};
|
|
@@ -4712,7 +5645,13 @@ class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
|
|
|
4712
5645
|
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4713
5646
|
}
|
|
4714
5647
|
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
4715
|
-
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(
|
|
5648
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(
|
|
5649
|
+
requestParameters.page,
|
|
5650
|
+
requestParameters.size,
|
|
5651
|
+
requestParameters.labelSelector,
|
|
5652
|
+
requestParameters.fieldSelector,
|
|
5653
|
+
options
|
|
5654
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4716
5655
|
}
|
|
4717
5656
|
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
4718
5657
|
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4745,7 +5684,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4745
5684
|
},
|
|
4746
5685
|
deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
4747
5686
|
assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
|
|
4748
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5687
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5688
|
+
`{${"name"}}`,
|
|
5689
|
+
encodeURIComponent(String(name))
|
|
5690
|
+
);
|
|
4749
5691
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4750
5692
|
let baseOptions;
|
|
4751
5693
|
if (configuration) {
|
|
@@ -4766,7 +5708,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4766
5708
|
},
|
|
4767
5709
|
getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
4768
5710
|
assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
|
|
4769
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5711
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5712
|
+
`{${"name"}}`,
|
|
5713
|
+
encodeURIComponent(String(name))
|
|
5714
|
+
);
|
|
4770
5715
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4771
5716
|
let baseOptions;
|
|
4772
5717
|
if (configuration) {
|
|
@@ -4819,7 +5764,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4819
5764
|
},
|
|
4820
5765
|
updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
|
|
4821
5766
|
assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
|
|
4822
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5767
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5768
|
+
`{${"name"}}`,
|
|
5769
|
+
encodeURIComponent(String(name))
|
|
5770
|
+
);
|
|
4823
5771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4824
5772
|
let baseOptions;
|
|
4825
5773
|
if (configuration) {
|
|
@@ -4858,11 +5806,21 @@ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
|
4858
5806
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4859
5807
|
},
|
|
4860
5808
|
async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
4861
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(
|
|
5809
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(
|
|
5810
|
+
page,
|
|
5811
|
+
size,
|
|
5812
|
+
labelSelector,
|
|
5813
|
+
fieldSelector,
|
|
5814
|
+
options
|
|
5815
|
+
);
|
|
4862
5816
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4863
5817
|
},
|
|
4864
5818
|
async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
4865
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(
|
|
5819
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(
|
|
5820
|
+
name,
|
|
5821
|
+
policy,
|
|
5822
|
+
options
|
|
5823
|
+
);
|
|
4866
5824
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4867
5825
|
}
|
|
4868
5826
|
};
|
|
@@ -4870,20 +5828,26 @@ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
|
4870
5828
|
const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
|
|
4871
5829
|
const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
|
|
4872
5830
|
return {
|
|
4873
|
-
createstorageHaloRunV1alpha1Policy(
|
|
4874
|
-
return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
|
|
4875
|
-
},
|
|
4876
|
-
deletestorageHaloRunV1alpha1Policy(
|
|
4877
|
-
return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
4878
|
-
},
|
|
4879
|
-
getstorageHaloRunV1alpha1Policy(
|
|
4880
|
-
return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
4881
|
-
},
|
|
4882
|
-
liststorageHaloRunV1alpha1Policy(
|
|
4883
|
-
return localVarFp.liststorageHaloRunV1alpha1Policy(
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
5831
|
+
createstorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
5832
|
+
return localVarFp.createstorageHaloRunV1alpha1Policy(requestParameters.policy, options).then((request) => request(axios, basePath));
|
|
5833
|
+
},
|
|
5834
|
+
deletestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5835
|
+
return localVarFp.deletestorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5836
|
+
},
|
|
5837
|
+
getstorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5838
|
+
return localVarFp.getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5839
|
+
},
|
|
5840
|
+
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
5841
|
+
return localVarFp.liststorageHaloRunV1alpha1Policy(
|
|
5842
|
+
requestParameters.page,
|
|
5843
|
+
requestParameters.size,
|
|
5844
|
+
requestParameters.labelSelector,
|
|
5845
|
+
requestParameters.fieldSelector,
|
|
5846
|
+
options
|
|
5847
|
+
).then((request) => request(axios, basePath));
|
|
5848
|
+
},
|
|
5849
|
+
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5850
|
+
return localVarFp.updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(axios, basePath));
|
|
4887
5851
|
}
|
|
4888
5852
|
};
|
|
4889
5853
|
};
|
|
@@ -4898,7 +5862,13 @@ class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
|
|
|
4898
5862
|
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4899
5863
|
}
|
|
4900
5864
|
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
4901
|
-
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(
|
|
5865
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(
|
|
5866
|
+
requestParameters.page,
|
|
5867
|
+
requestParameters.size,
|
|
5868
|
+
requestParameters.labelSelector,
|
|
5869
|
+
requestParameters.fieldSelector,
|
|
5870
|
+
options
|
|
5871
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4902
5872
|
}
|
|
4903
5873
|
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
4904
5874
|
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4931,7 +5901,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
4931
5901
|
},
|
|
4932
5902
|
deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
4933
5903
|
assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
4934
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5904
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5905
|
+
`{${"name"}}`,
|
|
5906
|
+
encodeURIComponent(String(name))
|
|
5907
|
+
);
|
|
4935
5908
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4936
5909
|
let baseOptions;
|
|
4937
5910
|
if (configuration) {
|
|
@@ -4952,7 +5925,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
4952
5925
|
},
|
|
4953
5926
|
getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
4954
5927
|
assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
4955
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5928
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5929
|
+
`{${"name"}}`,
|
|
5930
|
+
encodeURIComponent(String(name))
|
|
5931
|
+
);
|
|
4956
5932
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4957
5933
|
let baseOptions;
|
|
4958
5934
|
if (configuration) {
|
|
@@ -5005,7 +5981,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
5005
5981
|
},
|
|
5006
5982
|
updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
|
|
5007
5983
|
assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
5008
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5984
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5985
|
+
`{${"name"}}`,
|
|
5986
|
+
encodeURIComponent(String(name))
|
|
5987
|
+
);
|
|
5009
5988
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5010
5989
|
let baseOptions;
|
|
5011
5990
|
if (configuration) {
|
|
@@ -5032,11 +6011,17 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5032
6011
|
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
|
|
5033
6012
|
return {
|
|
5034
6013
|
async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
5035
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(
|
|
6014
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(
|
|
6015
|
+
policyTemplate,
|
|
6016
|
+
options
|
|
6017
|
+
);
|
|
5036
6018
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5037
6019
|
},
|
|
5038
6020
|
async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
5039
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
6021
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
6022
|
+
name,
|
|
6023
|
+
options
|
|
6024
|
+
);
|
|
5040
6025
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5041
6026
|
},
|
|
5042
6027
|
async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
@@ -5044,11 +6029,21 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5044
6029
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5045
6030
|
},
|
|
5046
6031
|
async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
5047
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6032
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6033
|
+
page,
|
|
6034
|
+
size,
|
|
6035
|
+
labelSelector,
|
|
6036
|
+
fieldSelector,
|
|
6037
|
+
options
|
|
6038
|
+
);
|
|
5048
6039
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5049
6040
|
},
|
|
5050
6041
|
async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
5051
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(
|
|
6042
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(
|
|
6043
|
+
name,
|
|
6044
|
+
policyTemplate,
|
|
6045
|
+
options
|
|
6046
|
+
);
|
|
5052
6047
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5053
6048
|
}
|
|
5054
6049
|
};
|
|
@@ -5056,20 +6051,26 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5056
6051
|
const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
|
|
5057
6052
|
const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
|
|
5058
6053
|
return {
|
|
5059
|
-
createstorageHaloRunV1alpha1PolicyTemplate(
|
|
5060
|
-
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
|
|
5061
|
-
},
|
|
5062
|
-
deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
5063
|
-
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
5064
|
-
},
|
|
5065
|
-
getstorageHaloRunV1alpha1PolicyTemplate(
|
|
5066
|
-
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
5067
|
-
},
|
|
5068
|
-
liststorageHaloRunV1alpha1PolicyTemplate(
|
|
5069
|
-
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
6054
|
+
createstorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
6055
|
+
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(requestParameters.policyTemplate, options).then((request) => request(axios, basePath));
|
|
6056
|
+
},
|
|
6057
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6058
|
+
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6059
|
+
},
|
|
6060
|
+
getstorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6061
|
+
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6062
|
+
},
|
|
6063
|
+
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
6064
|
+
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6065
|
+
requestParameters.page,
|
|
6066
|
+
requestParameters.size,
|
|
6067
|
+
requestParameters.labelSelector,
|
|
6068
|
+
requestParameters.fieldSelector,
|
|
6069
|
+
options
|
|
6070
|
+
).then((request) => request(axios, basePath));
|
|
6071
|
+
},
|
|
6072
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6073
|
+
return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(axios, basePath));
|
|
5073
6074
|
}
|
|
5074
6075
|
};
|
|
5075
6076
|
};
|
|
@@ -5084,7 +6085,13 @@ class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
|
|
|
5084
6085
|
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5085
6086
|
}
|
|
5086
6087
|
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
5087
|
-
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6088
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6089
|
+
requestParameters.page,
|
|
6090
|
+
requestParameters.size,
|
|
6091
|
+
requestParameters.labelSelector,
|
|
6092
|
+
requestParameters.fieldSelector,
|
|
6093
|
+
options
|
|
6094
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5088
6095
|
}
|
|
5089
6096
|
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
5090
6097
|
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5117,7 +6124,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5117
6124
|
},
|
|
5118
6125
|
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
5119
6126
|
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
5120
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6127
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6128
|
+
`{${"name"}}`,
|
|
6129
|
+
encodeURIComponent(String(name))
|
|
6130
|
+
);
|
|
5121
6131
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5122
6132
|
let baseOptions;
|
|
5123
6133
|
if (configuration) {
|
|
@@ -5138,7 +6148,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5138
6148
|
},
|
|
5139
6149
|
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
5140
6150
|
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
5141
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6151
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6152
|
+
`{${"name"}}`,
|
|
6153
|
+
encodeURIComponent(String(name))
|
|
6154
|
+
);
|
|
5142
6155
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5143
6156
|
let baseOptions;
|
|
5144
6157
|
if (configuration) {
|
|
@@ -5191,7 +6204,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5191
6204
|
},
|
|
5192
6205
|
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
5193
6206
|
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
5194
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6207
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6208
|
+
`{${"name"}}`,
|
|
6209
|
+
encodeURIComponent(String(name))
|
|
6210
|
+
);
|
|
5195
6211
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5196
6212
|
let baseOptions;
|
|
5197
6213
|
if (configuration) {
|
|
@@ -5230,7 +6246,13 @@ const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
5230
6246
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5231
6247
|
},
|
|
5232
6248
|
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
5233
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(
|
|
6249
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(
|
|
6250
|
+
page,
|
|
6251
|
+
size,
|
|
6252
|
+
labelSelector,
|
|
6253
|
+
fieldSelector,
|
|
6254
|
+
options
|
|
6255
|
+
);
|
|
5234
6256
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5235
6257
|
},
|
|
5236
6258
|
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
@@ -5242,20 +6264,26 @@ const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
5242
6264
|
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
5243
6265
|
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
5244
6266
|
return {
|
|
5245
|
-
createthemeHaloRunV1alpha1Theme(
|
|
5246
|
-
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
5247
|
-
},
|
|
5248
|
-
deletethemeHaloRunV1alpha1Theme(
|
|
5249
|
-
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
5250
|
-
},
|
|
5251
|
-
getthemeHaloRunV1alpha1Theme(
|
|
5252
|
-
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
5253
|
-
},
|
|
5254
|
-
listthemeHaloRunV1alpha1Theme(
|
|
5255
|
-
return localVarFp.listthemeHaloRunV1alpha1Theme(
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
6267
|
+
createthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
6268
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(requestParameters.theme, options).then((request) => request(axios, basePath));
|
|
6269
|
+
},
|
|
6270
|
+
deletethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6271
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6272
|
+
},
|
|
6273
|
+
getthemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6274
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6275
|
+
},
|
|
6276
|
+
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
6277
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(
|
|
6278
|
+
requestParameters.page,
|
|
6279
|
+
requestParameters.size,
|
|
6280
|
+
requestParameters.labelSelector,
|
|
6281
|
+
requestParameters.fieldSelector,
|
|
6282
|
+
options
|
|
6283
|
+
).then((request) => request(axios, basePath));
|
|
6284
|
+
},
|
|
6285
|
+
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6286
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(axios, basePath));
|
|
5259
6287
|
}
|
|
5260
6288
|
};
|
|
5261
6289
|
};
|
|
@@ -5270,7 +6298,13 @@ class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
5270
6298
|
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5271
6299
|
}
|
|
5272
6300
|
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
5273
|
-
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(
|
|
6301
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(
|
|
6302
|
+
requestParameters.page,
|
|
6303
|
+
requestParameters.size,
|
|
6304
|
+
requestParameters.labelSelector,
|
|
6305
|
+
requestParameters.fieldSelector,
|
|
6306
|
+
options
|
|
6307
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5274
6308
|
}
|
|
5275
6309
|
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
5276
6310
|
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5303,7 +6337,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5303
6337
|
},
|
|
5304
6338
|
deletev1alpha1AnnotationSetting: async (name, options = {}) => {
|
|
5305
6339
|
assertParamExists("deletev1alpha1AnnotationSetting", "name", name);
|
|
5306
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6340
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6341
|
+
`{${"name"}}`,
|
|
6342
|
+
encodeURIComponent(String(name))
|
|
6343
|
+
);
|
|
5307
6344
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5308
6345
|
let baseOptions;
|
|
5309
6346
|
if (configuration) {
|
|
@@ -5324,7 +6361,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5324
6361
|
},
|
|
5325
6362
|
getv1alpha1AnnotationSetting: async (name, options = {}) => {
|
|
5326
6363
|
assertParamExists("getv1alpha1AnnotationSetting", "name", name);
|
|
5327
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6364
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6365
|
+
`{${"name"}}`,
|
|
6366
|
+
encodeURIComponent(String(name))
|
|
6367
|
+
);
|
|
5328
6368
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5329
6369
|
let baseOptions;
|
|
5330
6370
|
if (configuration) {
|
|
@@ -5377,7 +6417,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5377
6417
|
},
|
|
5378
6418
|
updatev1alpha1AnnotationSetting: async (name, annotationSetting, options = {}) => {
|
|
5379
6419
|
assertParamExists("updatev1alpha1AnnotationSetting", "name", name);
|
|
5380
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6420
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6421
|
+
`{${"name"}}`,
|
|
6422
|
+
encodeURIComponent(String(name))
|
|
6423
|
+
);
|
|
5381
6424
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5382
6425
|
let baseOptions;
|
|
5383
6426
|
if (configuration) {
|
|
@@ -5404,7 +6447,10 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5404
6447
|
const localVarAxiosParamCreator = V1alpha1AnnotationSettingApiAxiosParamCreator(configuration);
|
|
5405
6448
|
return {
|
|
5406
6449
|
async createv1alpha1AnnotationSetting(annotationSetting, options) {
|
|
5407
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1AnnotationSetting(
|
|
6450
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1AnnotationSetting(
|
|
6451
|
+
annotationSetting,
|
|
6452
|
+
options
|
|
6453
|
+
);
|
|
5408
6454
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5409
6455
|
},
|
|
5410
6456
|
async deletev1alpha1AnnotationSetting(name, options) {
|
|
@@ -5416,11 +6462,21 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5416
6462
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5417
6463
|
},
|
|
5418
6464
|
async listv1alpha1AnnotationSetting(page, size, labelSelector, fieldSelector, options) {
|
|
5419
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1AnnotationSetting(
|
|
6465
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1AnnotationSetting(
|
|
6466
|
+
page,
|
|
6467
|
+
size,
|
|
6468
|
+
labelSelector,
|
|
6469
|
+
fieldSelector,
|
|
6470
|
+
options
|
|
6471
|
+
);
|
|
5420
6472
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5421
6473
|
},
|
|
5422
6474
|
async updatev1alpha1AnnotationSetting(name, annotationSetting, options) {
|
|
5423
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1AnnotationSetting(
|
|
6475
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1AnnotationSetting(
|
|
6476
|
+
name,
|
|
6477
|
+
annotationSetting,
|
|
6478
|
+
options
|
|
6479
|
+
);
|
|
5424
6480
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5425
6481
|
}
|
|
5426
6482
|
};
|
|
@@ -5428,20 +6484,26 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5428
6484
|
const V1alpha1AnnotationSettingApiFactory = function(configuration, basePath, axios) {
|
|
5429
6485
|
const localVarFp = V1alpha1AnnotationSettingApiFp(configuration);
|
|
5430
6486
|
return {
|
|
5431
|
-
createv1alpha1AnnotationSetting(
|
|
5432
|
-
return localVarFp.createv1alpha1AnnotationSetting(annotationSetting, options).then((request) => request(axios, basePath));
|
|
5433
|
-
},
|
|
5434
|
-
deletev1alpha1AnnotationSetting(
|
|
5435
|
-
return localVarFp.deletev1alpha1AnnotationSetting(name, options).then((request) => request(axios, basePath));
|
|
5436
|
-
},
|
|
5437
|
-
getv1alpha1AnnotationSetting(
|
|
5438
|
-
return localVarFp.getv1alpha1AnnotationSetting(name, options).then((request) => request(axios, basePath));
|
|
5439
|
-
},
|
|
5440
|
-
listv1alpha1AnnotationSetting(
|
|
5441
|
-
return localVarFp.listv1alpha1AnnotationSetting(
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
6487
|
+
createv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
6488
|
+
return localVarFp.createv1alpha1AnnotationSetting(requestParameters.annotationSetting, options).then((request) => request(axios, basePath));
|
|
6489
|
+
},
|
|
6490
|
+
deletev1alpha1AnnotationSetting(requestParameters, options) {
|
|
6491
|
+
return localVarFp.deletev1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6492
|
+
},
|
|
6493
|
+
getv1alpha1AnnotationSetting(requestParameters, options) {
|
|
6494
|
+
return localVarFp.getv1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6495
|
+
},
|
|
6496
|
+
listv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
6497
|
+
return localVarFp.listv1alpha1AnnotationSetting(
|
|
6498
|
+
requestParameters.page,
|
|
6499
|
+
requestParameters.size,
|
|
6500
|
+
requestParameters.labelSelector,
|
|
6501
|
+
requestParameters.fieldSelector,
|
|
6502
|
+
options
|
|
6503
|
+
).then((request) => request(axios, basePath));
|
|
6504
|
+
},
|
|
6505
|
+
updatev1alpha1AnnotationSetting(requestParameters, options) {
|
|
6506
|
+
return localVarFp.updatev1alpha1AnnotationSetting(requestParameters.name, requestParameters.annotationSetting, options).then((request) => request(axios, basePath));
|
|
5445
6507
|
}
|
|
5446
6508
|
};
|
|
5447
6509
|
};
|
|
@@ -5456,7 +6518,13 @@ class V1alpha1AnnotationSettingApi extends BaseAPI {
|
|
|
5456
6518
|
return V1alpha1AnnotationSettingApiFp(this.configuration).getv1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5457
6519
|
}
|
|
5458
6520
|
listv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
5459
|
-
return V1alpha1AnnotationSettingApiFp(this.configuration).listv1alpha1AnnotationSetting(
|
|
6521
|
+
return V1alpha1AnnotationSettingApiFp(this.configuration).listv1alpha1AnnotationSetting(
|
|
6522
|
+
requestParameters.page,
|
|
6523
|
+
requestParameters.size,
|
|
6524
|
+
requestParameters.labelSelector,
|
|
6525
|
+
requestParameters.fieldSelector,
|
|
6526
|
+
options
|
|
6527
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5460
6528
|
}
|
|
5461
6529
|
updatev1alpha1AnnotationSetting(requestParameters, options) {
|
|
5462
6530
|
return V1alpha1AnnotationSettingApiFp(this.configuration).updatev1alpha1AnnotationSetting(requestParameters.name, requestParameters.annotationSetting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5602,7 +6670,13 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
5602
6670
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5603
6671
|
},
|
|
5604
6672
|
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
5605
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(
|
|
6673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(
|
|
6674
|
+
page,
|
|
6675
|
+
size,
|
|
6676
|
+
labelSelector,
|
|
6677
|
+
fieldSelector,
|
|
6678
|
+
options
|
|
6679
|
+
);
|
|
5606
6680
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5607
6681
|
},
|
|
5608
6682
|
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
@@ -5614,20 +6688,26 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
5614
6688
|
const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
5615
6689
|
const localVarFp = V1alpha1ConfigMapApiFp(configuration);
|
|
5616
6690
|
return {
|
|
5617
|
-
createv1alpha1ConfigMap(
|
|
5618
|
-
return localVarFp.createv1alpha1ConfigMap(configMap, options).then((request) => request(axios, basePath));
|
|
5619
|
-
},
|
|
5620
|
-
deletev1alpha1ConfigMap(
|
|
5621
|
-
return localVarFp.deletev1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
5622
|
-
},
|
|
5623
|
-
getv1alpha1ConfigMap(
|
|
5624
|
-
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
5625
|
-
},
|
|
5626
|
-
listv1alpha1ConfigMap(
|
|
5627
|
-
return localVarFp.listv1alpha1ConfigMap(
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
6691
|
+
createv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
6692
|
+
return localVarFp.createv1alpha1ConfigMap(requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
6693
|
+
},
|
|
6694
|
+
deletev1alpha1ConfigMap(requestParameters, options) {
|
|
6695
|
+
return localVarFp.deletev1alpha1ConfigMap(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6696
|
+
},
|
|
6697
|
+
getv1alpha1ConfigMap(requestParameters, options) {
|
|
6698
|
+
return localVarFp.getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6699
|
+
},
|
|
6700
|
+
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
6701
|
+
return localVarFp.listv1alpha1ConfigMap(
|
|
6702
|
+
requestParameters.page,
|
|
6703
|
+
requestParameters.size,
|
|
6704
|
+
requestParameters.labelSelector,
|
|
6705
|
+
requestParameters.fieldSelector,
|
|
6706
|
+
options
|
|
6707
|
+
).then((request) => request(axios, basePath));
|
|
6708
|
+
},
|
|
6709
|
+
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
6710
|
+
return localVarFp.updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
5631
6711
|
}
|
|
5632
6712
|
};
|
|
5633
6713
|
};
|
|
@@ -5642,7 +6722,13 @@ class V1alpha1ConfigMapApi extends BaseAPI {
|
|
|
5642
6722
|
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5643
6723
|
}
|
|
5644
6724
|
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
5645
|
-
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(
|
|
6725
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(
|
|
6726
|
+
requestParameters.page,
|
|
6727
|
+
requestParameters.size,
|
|
6728
|
+
requestParameters.labelSelector,
|
|
6729
|
+
requestParameters.fieldSelector,
|
|
6730
|
+
options
|
|
6731
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5646
6732
|
}
|
|
5647
6733
|
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
5648
6734
|
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5788,7 +6874,13 @@ const V1alpha1MenuApiFp = function(configuration) {
|
|
|
5788
6874
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5789
6875
|
},
|
|
5790
6876
|
async listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
5791
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(
|
|
6877
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(
|
|
6878
|
+
page,
|
|
6879
|
+
size,
|
|
6880
|
+
labelSelector,
|
|
6881
|
+
fieldSelector,
|
|
6882
|
+
options
|
|
6883
|
+
);
|
|
5792
6884
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5793
6885
|
},
|
|
5794
6886
|
async updatev1alpha1Menu(name, menu, options) {
|
|
@@ -5800,20 +6892,26 @@ const V1alpha1MenuApiFp = function(configuration) {
|
|
|
5800
6892
|
const V1alpha1MenuApiFactory = function(configuration, basePath, axios) {
|
|
5801
6893
|
const localVarFp = V1alpha1MenuApiFp(configuration);
|
|
5802
6894
|
return {
|
|
5803
|
-
createv1alpha1Menu(
|
|
5804
|
-
return localVarFp.createv1alpha1Menu(menu, options).then((request) => request(axios, basePath));
|
|
5805
|
-
},
|
|
5806
|
-
deletev1alpha1Menu(
|
|
5807
|
-
return localVarFp.deletev1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
5808
|
-
},
|
|
5809
|
-
getv1alpha1Menu(
|
|
5810
|
-
return localVarFp.getv1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
5811
|
-
},
|
|
5812
|
-
listv1alpha1Menu(
|
|
5813
|
-
return localVarFp.listv1alpha1Menu(
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
6895
|
+
createv1alpha1Menu(requestParameters = {}, options) {
|
|
6896
|
+
return localVarFp.createv1alpha1Menu(requestParameters.menu, options).then((request) => request(axios, basePath));
|
|
6897
|
+
},
|
|
6898
|
+
deletev1alpha1Menu(requestParameters, options) {
|
|
6899
|
+
return localVarFp.deletev1alpha1Menu(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6900
|
+
},
|
|
6901
|
+
getv1alpha1Menu(requestParameters, options) {
|
|
6902
|
+
return localVarFp.getv1alpha1Menu(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6903
|
+
},
|
|
6904
|
+
listv1alpha1Menu(requestParameters = {}, options) {
|
|
6905
|
+
return localVarFp.listv1alpha1Menu(
|
|
6906
|
+
requestParameters.page,
|
|
6907
|
+
requestParameters.size,
|
|
6908
|
+
requestParameters.labelSelector,
|
|
6909
|
+
requestParameters.fieldSelector,
|
|
6910
|
+
options
|
|
6911
|
+
).then((request) => request(axios, basePath));
|
|
6912
|
+
},
|
|
6913
|
+
updatev1alpha1Menu(requestParameters, options) {
|
|
6914
|
+
return localVarFp.updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(axios, basePath));
|
|
5817
6915
|
}
|
|
5818
6916
|
};
|
|
5819
6917
|
};
|
|
@@ -5828,7 +6926,13 @@ class V1alpha1MenuApi extends BaseAPI {
|
|
|
5828
6926
|
return V1alpha1MenuApiFp(this.configuration).getv1alpha1Menu(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5829
6927
|
}
|
|
5830
6928
|
listv1alpha1Menu(requestParameters = {}, options) {
|
|
5831
|
-
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(
|
|
6929
|
+
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(
|
|
6930
|
+
requestParameters.page,
|
|
6931
|
+
requestParameters.size,
|
|
6932
|
+
requestParameters.labelSelector,
|
|
6933
|
+
requestParameters.fieldSelector,
|
|
6934
|
+
options
|
|
6935
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5832
6936
|
}
|
|
5833
6937
|
updatev1alpha1Menu(requestParameters, options) {
|
|
5834
6938
|
return V1alpha1MenuApiFp(this.configuration).updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5974,7 +7078,13 @@ const V1alpha1MenuItemApiFp = function(configuration) {
|
|
|
5974
7078
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5975
7079
|
},
|
|
5976
7080
|
async listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
5977
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(
|
|
7081
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(
|
|
7082
|
+
page,
|
|
7083
|
+
size,
|
|
7084
|
+
labelSelector,
|
|
7085
|
+
fieldSelector,
|
|
7086
|
+
options
|
|
7087
|
+
);
|
|
5978
7088
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5979
7089
|
},
|
|
5980
7090
|
async updatev1alpha1MenuItem(name, menuItem, options) {
|
|
@@ -5986,20 +7096,26 @@ const V1alpha1MenuItemApiFp = function(configuration) {
|
|
|
5986
7096
|
const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
5987
7097
|
const localVarFp = V1alpha1MenuItemApiFp(configuration);
|
|
5988
7098
|
return {
|
|
5989
|
-
createv1alpha1MenuItem(
|
|
5990
|
-
return localVarFp.createv1alpha1MenuItem(menuItem, options).then((request) => request(axios, basePath));
|
|
5991
|
-
},
|
|
5992
|
-
deletev1alpha1MenuItem(
|
|
5993
|
-
return localVarFp.deletev1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
5994
|
-
},
|
|
5995
|
-
getv1alpha1MenuItem(
|
|
5996
|
-
return localVarFp.getv1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
5997
|
-
},
|
|
5998
|
-
listv1alpha1MenuItem(
|
|
5999
|
-
return localVarFp.listv1alpha1MenuItem(
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
7099
|
+
createv1alpha1MenuItem(requestParameters = {}, options) {
|
|
7100
|
+
return localVarFp.createv1alpha1MenuItem(requestParameters.menuItem, options).then((request) => request(axios, basePath));
|
|
7101
|
+
},
|
|
7102
|
+
deletev1alpha1MenuItem(requestParameters, options) {
|
|
7103
|
+
return localVarFp.deletev1alpha1MenuItem(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7104
|
+
},
|
|
7105
|
+
getv1alpha1MenuItem(requestParameters, options) {
|
|
7106
|
+
return localVarFp.getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7107
|
+
},
|
|
7108
|
+
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
7109
|
+
return localVarFp.listv1alpha1MenuItem(
|
|
7110
|
+
requestParameters.page,
|
|
7111
|
+
requestParameters.size,
|
|
7112
|
+
requestParameters.labelSelector,
|
|
7113
|
+
requestParameters.fieldSelector,
|
|
7114
|
+
options
|
|
7115
|
+
).then((request) => request(axios, basePath));
|
|
7116
|
+
},
|
|
7117
|
+
updatev1alpha1MenuItem(requestParameters, options) {
|
|
7118
|
+
return localVarFp.updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(axios, basePath));
|
|
6003
7119
|
}
|
|
6004
7120
|
};
|
|
6005
7121
|
};
|
|
@@ -6014,7 +7130,13 @@ class V1alpha1MenuItemApi extends BaseAPI {
|
|
|
6014
7130
|
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6015
7131
|
}
|
|
6016
7132
|
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
6017
|
-
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(
|
|
7133
|
+
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(
|
|
7134
|
+
requestParameters.page,
|
|
7135
|
+
requestParameters.size,
|
|
7136
|
+
requestParameters.labelSelector,
|
|
7137
|
+
requestParameters.fieldSelector,
|
|
7138
|
+
options
|
|
7139
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6018
7140
|
}
|
|
6019
7141
|
updatev1alpha1MenuItem(requestParameters, options) {
|
|
6020
7142
|
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6047,7 +7169,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6047
7169
|
},
|
|
6048
7170
|
deletev1alpha1PersonalAccessToken: async (name, options = {}) => {
|
|
6049
7171
|
assertParamExists("deletev1alpha1PersonalAccessToken", "name", name);
|
|
6050
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7172
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7173
|
+
`{${"name"}}`,
|
|
7174
|
+
encodeURIComponent(String(name))
|
|
7175
|
+
);
|
|
6051
7176
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6052
7177
|
let baseOptions;
|
|
6053
7178
|
if (configuration) {
|
|
@@ -6068,7 +7193,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6068
7193
|
},
|
|
6069
7194
|
getv1alpha1PersonalAccessToken: async (name, options = {}) => {
|
|
6070
7195
|
assertParamExists("getv1alpha1PersonalAccessToken", "name", name);
|
|
6071
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7196
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7197
|
+
`{${"name"}}`,
|
|
7198
|
+
encodeURIComponent(String(name))
|
|
7199
|
+
);
|
|
6072
7200
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6073
7201
|
let baseOptions;
|
|
6074
7202
|
if (configuration) {
|
|
@@ -6121,7 +7249,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6121
7249
|
},
|
|
6122
7250
|
updatev1alpha1PersonalAccessToken: async (name, personalAccessToken, options = {}) => {
|
|
6123
7251
|
assertParamExists("updatev1alpha1PersonalAccessToken", "name", name);
|
|
6124
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7252
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7253
|
+
`{${"name"}}`,
|
|
7254
|
+
encodeURIComponent(String(name))
|
|
7255
|
+
);
|
|
6125
7256
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6126
7257
|
let baseOptions;
|
|
6127
7258
|
if (configuration) {
|
|
@@ -6148,7 +7279,10 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6148
7279
|
const localVarAxiosParamCreator = V1alpha1PersonalAccessTokenApiAxiosParamCreator(configuration);
|
|
6149
7280
|
return {
|
|
6150
7281
|
async createv1alpha1PersonalAccessToken(personalAccessToken, options) {
|
|
6151
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1PersonalAccessToken(
|
|
7282
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1PersonalAccessToken(
|
|
7283
|
+
personalAccessToken,
|
|
7284
|
+
options
|
|
7285
|
+
);
|
|
6152
7286
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6153
7287
|
},
|
|
6154
7288
|
async deletev1alpha1PersonalAccessToken(name, options) {
|
|
@@ -6160,11 +7294,21 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6160
7294
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6161
7295
|
},
|
|
6162
7296
|
async listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
6163
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(
|
|
7297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(
|
|
7298
|
+
page,
|
|
7299
|
+
size,
|
|
7300
|
+
labelSelector,
|
|
7301
|
+
fieldSelector,
|
|
7302
|
+
options
|
|
7303
|
+
);
|
|
6164
7304
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6165
7305
|
},
|
|
6166
7306
|
async updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
6167
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1PersonalAccessToken(
|
|
7307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1PersonalAccessToken(
|
|
7308
|
+
name,
|
|
7309
|
+
personalAccessToken,
|
|
7310
|
+
options
|
|
7311
|
+
);
|
|
6168
7312
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6169
7313
|
}
|
|
6170
7314
|
};
|
|
@@ -6172,20 +7316,26 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6172
7316
|
const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath, axios) {
|
|
6173
7317
|
const localVarFp = V1alpha1PersonalAccessTokenApiFp(configuration);
|
|
6174
7318
|
return {
|
|
6175
|
-
createv1alpha1PersonalAccessToken(
|
|
6176
|
-
return localVarFp.createv1alpha1PersonalAccessToken(personalAccessToken, options).then((request) => request(axios, basePath));
|
|
6177
|
-
},
|
|
6178
|
-
deletev1alpha1PersonalAccessToken(
|
|
6179
|
-
return localVarFp.deletev1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
6180
|
-
},
|
|
6181
|
-
getv1alpha1PersonalAccessToken(
|
|
6182
|
-
return localVarFp.getv1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
6183
|
-
},
|
|
6184
|
-
listv1alpha1PersonalAccessToken(
|
|
6185
|
-
return localVarFp.listv1alpha1PersonalAccessToken(
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
7319
|
+
createv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
7320
|
+
return localVarFp.createv1alpha1PersonalAccessToken(requestParameters.personalAccessToken, options).then((request) => request(axios, basePath));
|
|
7321
|
+
},
|
|
7322
|
+
deletev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7323
|
+
return localVarFp.deletev1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7324
|
+
},
|
|
7325
|
+
getv1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7326
|
+
return localVarFp.getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7327
|
+
},
|
|
7328
|
+
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
7329
|
+
return localVarFp.listv1alpha1PersonalAccessToken(
|
|
7330
|
+
requestParameters.page,
|
|
7331
|
+
requestParameters.size,
|
|
7332
|
+
requestParameters.labelSelector,
|
|
7333
|
+
requestParameters.fieldSelector,
|
|
7334
|
+
options
|
|
7335
|
+
).then((request) => request(axios, basePath));
|
|
7336
|
+
},
|
|
7337
|
+
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7338
|
+
return localVarFp.updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(axios, basePath));
|
|
6189
7339
|
}
|
|
6190
7340
|
};
|
|
6191
7341
|
};
|
|
@@ -6200,7 +7350,13 @@ class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
|
6200
7350
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6201
7351
|
}
|
|
6202
7352
|
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
6203
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(
|
|
7353
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(
|
|
7354
|
+
requestParameters.page,
|
|
7355
|
+
requestParameters.size,
|
|
7356
|
+
requestParameters.labelSelector,
|
|
7357
|
+
requestParameters.fieldSelector,
|
|
7358
|
+
options
|
|
7359
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6204
7360
|
}
|
|
6205
7361
|
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
6206
7362
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6346,7 +7502,13 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
6346
7502
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6347
7503
|
},
|
|
6348
7504
|
async listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
6349
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(
|
|
7505
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(
|
|
7506
|
+
page,
|
|
7507
|
+
size,
|
|
7508
|
+
labelSelector,
|
|
7509
|
+
fieldSelector,
|
|
7510
|
+
options
|
|
7511
|
+
);
|
|
6350
7512
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6351
7513
|
},
|
|
6352
7514
|
async updatev1alpha1Role(name, role, options) {
|
|
@@ -6358,20 +7520,26 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
6358
7520
|
const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
6359
7521
|
const localVarFp = V1alpha1RoleApiFp(configuration);
|
|
6360
7522
|
return {
|
|
6361
|
-
createv1alpha1Role(
|
|
6362
|
-
return localVarFp.createv1alpha1Role(role, options).then((request) => request(axios, basePath));
|
|
6363
|
-
},
|
|
6364
|
-
deletev1alpha1Role(
|
|
6365
|
-
return localVarFp.deletev1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
6366
|
-
},
|
|
6367
|
-
getv1alpha1Role(
|
|
6368
|
-
return localVarFp.getv1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
6369
|
-
},
|
|
6370
|
-
listv1alpha1Role(
|
|
6371
|
-
return localVarFp.listv1alpha1Role(
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
7523
|
+
createv1alpha1Role(requestParameters = {}, options) {
|
|
7524
|
+
return localVarFp.createv1alpha1Role(requestParameters.role, options).then((request) => request(axios, basePath));
|
|
7525
|
+
},
|
|
7526
|
+
deletev1alpha1Role(requestParameters, options) {
|
|
7527
|
+
return localVarFp.deletev1alpha1Role(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7528
|
+
},
|
|
7529
|
+
getv1alpha1Role(requestParameters, options) {
|
|
7530
|
+
return localVarFp.getv1alpha1Role(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7531
|
+
},
|
|
7532
|
+
listv1alpha1Role(requestParameters = {}, options) {
|
|
7533
|
+
return localVarFp.listv1alpha1Role(
|
|
7534
|
+
requestParameters.page,
|
|
7535
|
+
requestParameters.size,
|
|
7536
|
+
requestParameters.labelSelector,
|
|
7537
|
+
requestParameters.fieldSelector,
|
|
7538
|
+
options
|
|
7539
|
+
).then((request) => request(axios, basePath));
|
|
7540
|
+
},
|
|
7541
|
+
updatev1alpha1Role(requestParameters, options) {
|
|
7542
|
+
return localVarFp.updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(axios, basePath));
|
|
6375
7543
|
}
|
|
6376
7544
|
};
|
|
6377
7545
|
};
|
|
@@ -6386,7 +7554,13 @@ class V1alpha1RoleApi extends BaseAPI {
|
|
|
6386
7554
|
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6387
7555
|
}
|
|
6388
7556
|
listv1alpha1Role(requestParameters = {}, options) {
|
|
6389
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(
|
|
7557
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(
|
|
7558
|
+
requestParameters.page,
|
|
7559
|
+
requestParameters.size,
|
|
7560
|
+
requestParameters.labelSelector,
|
|
7561
|
+
requestParameters.fieldSelector,
|
|
7562
|
+
options
|
|
7563
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6390
7564
|
}
|
|
6391
7565
|
updatev1alpha1Role(requestParameters, options) {
|
|
6392
7566
|
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6532,7 +7706,13 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
6532
7706
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6533
7707
|
},
|
|
6534
7708
|
async listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
6535
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(
|
|
7709
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(
|
|
7710
|
+
page,
|
|
7711
|
+
size,
|
|
7712
|
+
labelSelector,
|
|
7713
|
+
fieldSelector,
|
|
7714
|
+
options
|
|
7715
|
+
);
|
|
6536
7716
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6537
7717
|
},
|
|
6538
7718
|
async updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
@@ -6544,20 +7724,26 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
6544
7724
|
const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
6545
7725
|
const localVarFp = V1alpha1RoleBindingApiFp(configuration);
|
|
6546
7726
|
return {
|
|
6547
|
-
createv1alpha1RoleBinding(
|
|
6548
|
-
return localVarFp.createv1alpha1RoleBinding(roleBinding, options).then((request) => request(axios, basePath));
|
|
6549
|
-
},
|
|
6550
|
-
deletev1alpha1RoleBinding(
|
|
6551
|
-
return localVarFp.deletev1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
6552
|
-
},
|
|
6553
|
-
getv1alpha1RoleBinding(
|
|
6554
|
-
return localVarFp.getv1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
6555
|
-
},
|
|
6556
|
-
listv1alpha1RoleBinding(
|
|
6557
|
-
return localVarFp.listv1alpha1RoleBinding(
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
7727
|
+
createv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
7728
|
+
return localVarFp.createv1alpha1RoleBinding(requestParameters.roleBinding, options).then((request) => request(axios, basePath));
|
|
7729
|
+
},
|
|
7730
|
+
deletev1alpha1RoleBinding(requestParameters, options) {
|
|
7731
|
+
return localVarFp.deletev1alpha1RoleBinding(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7732
|
+
},
|
|
7733
|
+
getv1alpha1RoleBinding(requestParameters, options) {
|
|
7734
|
+
return localVarFp.getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7735
|
+
},
|
|
7736
|
+
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
7737
|
+
return localVarFp.listv1alpha1RoleBinding(
|
|
7738
|
+
requestParameters.page,
|
|
7739
|
+
requestParameters.size,
|
|
7740
|
+
requestParameters.labelSelector,
|
|
7741
|
+
requestParameters.fieldSelector,
|
|
7742
|
+
options
|
|
7743
|
+
).then((request) => request(axios, basePath));
|
|
7744
|
+
},
|
|
7745
|
+
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
7746
|
+
return localVarFp.updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(axios, basePath));
|
|
6561
7747
|
}
|
|
6562
7748
|
};
|
|
6563
7749
|
};
|
|
@@ -6572,7 +7758,13 @@ class V1alpha1RoleBindingApi extends BaseAPI {
|
|
|
6572
7758
|
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6573
7759
|
}
|
|
6574
7760
|
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
6575
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(
|
|
7761
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(
|
|
7762
|
+
requestParameters.page,
|
|
7763
|
+
requestParameters.size,
|
|
7764
|
+
requestParameters.labelSelector,
|
|
7765
|
+
requestParameters.fieldSelector,
|
|
7766
|
+
options
|
|
7767
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6576
7768
|
}
|
|
6577
7769
|
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
6578
7770
|
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6718,7 +7910,13 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
6718
7910
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6719
7911
|
},
|
|
6720
7912
|
async listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
6721
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(
|
|
7913
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(
|
|
7914
|
+
page,
|
|
7915
|
+
size,
|
|
7916
|
+
labelSelector,
|
|
7917
|
+
fieldSelector,
|
|
7918
|
+
options
|
|
7919
|
+
);
|
|
6722
7920
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6723
7921
|
},
|
|
6724
7922
|
async updatev1alpha1Setting(name, setting, options) {
|
|
@@ -6730,20 +7928,26 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
6730
7928
|
const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
6731
7929
|
const localVarFp = V1alpha1SettingApiFp(configuration);
|
|
6732
7930
|
return {
|
|
6733
|
-
createv1alpha1Setting(
|
|
6734
|
-
return localVarFp.createv1alpha1Setting(setting, options).then((request) => request(axios, basePath));
|
|
6735
|
-
},
|
|
6736
|
-
deletev1alpha1Setting(
|
|
6737
|
-
return localVarFp.deletev1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
6738
|
-
},
|
|
6739
|
-
getv1alpha1Setting(
|
|
6740
|
-
return localVarFp.getv1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
6741
|
-
},
|
|
6742
|
-
listv1alpha1Setting(
|
|
6743
|
-
return localVarFp.listv1alpha1Setting(
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
7931
|
+
createv1alpha1Setting(requestParameters = {}, options) {
|
|
7932
|
+
return localVarFp.createv1alpha1Setting(requestParameters.setting, options).then((request) => request(axios, basePath));
|
|
7933
|
+
},
|
|
7934
|
+
deletev1alpha1Setting(requestParameters, options) {
|
|
7935
|
+
return localVarFp.deletev1alpha1Setting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7936
|
+
},
|
|
7937
|
+
getv1alpha1Setting(requestParameters, options) {
|
|
7938
|
+
return localVarFp.getv1alpha1Setting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7939
|
+
},
|
|
7940
|
+
listv1alpha1Setting(requestParameters = {}, options) {
|
|
7941
|
+
return localVarFp.listv1alpha1Setting(
|
|
7942
|
+
requestParameters.page,
|
|
7943
|
+
requestParameters.size,
|
|
7944
|
+
requestParameters.labelSelector,
|
|
7945
|
+
requestParameters.fieldSelector,
|
|
7946
|
+
options
|
|
7947
|
+
).then((request) => request(axios, basePath));
|
|
7948
|
+
},
|
|
7949
|
+
updatev1alpha1Setting(requestParameters, options) {
|
|
7950
|
+
return localVarFp.updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(axios, basePath));
|
|
6747
7951
|
}
|
|
6748
7952
|
};
|
|
6749
7953
|
};
|
|
@@ -6758,7 +7962,13 @@ class V1alpha1SettingApi extends BaseAPI {
|
|
|
6758
7962
|
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6759
7963
|
}
|
|
6760
7964
|
listv1alpha1Setting(requestParameters = {}, options) {
|
|
6761
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(
|
|
7965
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(
|
|
7966
|
+
requestParameters.page,
|
|
7967
|
+
requestParameters.size,
|
|
7968
|
+
requestParameters.labelSelector,
|
|
7969
|
+
requestParameters.fieldSelector,
|
|
7970
|
+
options
|
|
7971
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6762
7972
|
}
|
|
6763
7973
|
updatev1alpha1Setting(requestParameters, options) {
|
|
6764
7974
|
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6904,7 +8114,13 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
6904
8114
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6905
8115
|
},
|
|
6906
8116
|
async listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
6907
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(
|
|
8117
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(
|
|
8118
|
+
page,
|
|
8119
|
+
size,
|
|
8120
|
+
labelSelector,
|
|
8121
|
+
fieldSelector,
|
|
8122
|
+
options
|
|
8123
|
+
);
|
|
6908
8124
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6909
8125
|
},
|
|
6910
8126
|
async updatev1alpha1User(name, user, options) {
|
|
@@ -6916,20 +8132,26 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
6916
8132
|
const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
6917
8133
|
const localVarFp = V1alpha1UserApiFp(configuration);
|
|
6918
8134
|
return {
|
|
6919
|
-
createv1alpha1User(
|
|
6920
|
-
return localVarFp.createv1alpha1User(user, options).then((request) => request(axios, basePath));
|
|
6921
|
-
},
|
|
6922
|
-
deletev1alpha1User(
|
|
6923
|
-
return localVarFp.deletev1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
6924
|
-
},
|
|
6925
|
-
getv1alpha1User(
|
|
6926
|
-
return localVarFp.getv1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
6927
|
-
},
|
|
6928
|
-
listv1alpha1User(
|
|
6929
|
-
return localVarFp.listv1alpha1User(
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
8135
|
+
createv1alpha1User(requestParameters = {}, options) {
|
|
8136
|
+
return localVarFp.createv1alpha1User(requestParameters.user, options).then((request) => request(axios, basePath));
|
|
8137
|
+
},
|
|
8138
|
+
deletev1alpha1User(requestParameters, options) {
|
|
8139
|
+
return localVarFp.deletev1alpha1User(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
8140
|
+
},
|
|
8141
|
+
getv1alpha1User(requestParameters, options) {
|
|
8142
|
+
return localVarFp.getv1alpha1User(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
8143
|
+
},
|
|
8144
|
+
listv1alpha1User(requestParameters = {}, options) {
|
|
8145
|
+
return localVarFp.listv1alpha1User(
|
|
8146
|
+
requestParameters.page,
|
|
8147
|
+
requestParameters.size,
|
|
8148
|
+
requestParameters.labelSelector,
|
|
8149
|
+
requestParameters.fieldSelector,
|
|
8150
|
+
options
|
|
8151
|
+
).then((request) => request(axios, basePath));
|
|
8152
|
+
},
|
|
8153
|
+
updatev1alpha1User(requestParameters, options) {
|
|
8154
|
+
return localVarFp.updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
6933
8155
|
}
|
|
6934
8156
|
};
|
|
6935
8157
|
};
|
|
@@ -6944,7 +8166,13 @@ class V1alpha1UserApi extends BaseAPI {
|
|
|
6944
8166
|
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6945
8167
|
}
|
|
6946
8168
|
listv1alpha1User(requestParameters = {}, options) {
|
|
6947
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(
|
|
8169
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(
|
|
8170
|
+
requestParameters.page,
|
|
8171
|
+
requestParameters.size,
|
|
8172
|
+
requestParameters.labelSelector,
|
|
8173
|
+
requestParameters.fieldSelector,
|
|
8174
|
+
options
|
|
8175
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6948
8176
|
}
|
|
6949
8177
|
updatev1alpha1User(requestParameters, options) {
|
|
6950
8178
|
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|