@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.cjs
CHANGED
|
@@ -8,7 +8,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
|
|
9
9
|
const globalAxios__default = /*#__PURE__*/_interopDefaultLegacy(globalAxios);
|
|
10
10
|
|
|
11
|
-
const BASE_PATH = "http://
|
|
11
|
+
const BASE_PATH = "http://127.0.0.1:8090".replace(/\/+$/, "");
|
|
12
12
|
class BaseAPI {
|
|
13
13
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios__default) {
|
|
14
14
|
this.basePath = basePath;
|
|
@@ -30,7 +30,10 @@ class RequiredError extends Error {
|
|
|
30
30
|
const DUMMY_BASE_URL = "https://example.com";
|
|
31
31
|
const assertParamExists = function(functionName, paramName, paramValue) {
|
|
32
32
|
if (paramValue === null || paramValue === void 0) {
|
|
33
|
-
throw new RequiredError(
|
|
33
|
+
throw new RequiredError(
|
|
34
|
+
paramName,
|
|
35
|
+
`Required parameter ${paramName} was null or undefined when calling ${functionName}.`
|
|
36
|
+
);
|
|
34
37
|
}
|
|
35
38
|
};
|
|
36
39
|
const setBasicAuthToObject = function(object, configuration) {
|
|
@@ -44,20 +47,28 @@ const setBearerAuthToObject = async function(object, configuration) {
|
|
|
44
47
|
object["Authorization"] = "Bearer " + accessToken;
|
|
45
48
|
}
|
|
46
49
|
};
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
50
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
51
|
+
if (parameter == null)
|
|
52
|
+
return;
|
|
53
|
+
if (typeof parameter === "object") {
|
|
54
|
+
if (Array.isArray(parameter)) {
|
|
55
|
+
parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
56
|
+
} else {
|
|
57
|
+
Object.keys(parameter).forEach(
|
|
58
|
+
(currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
} else {
|
|
62
|
+
if (urlSearchParams.has(key)) {
|
|
63
|
+
urlSearchParams.append(key, parameter);
|
|
64
|
+
} else {
|
|
65
|
+
urlSearchParams.set(key, parameter);
|
|
59
66
|
}
|
|
60
67
|
}
|
|
68
|
+
}
|
|
69
|
+
const setSearchParams = function(url, ...objects) {
|
|
70
|
+
const searchParams = new URLSearchParams(url.search);
|
|
71
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
61
72
|
url.search = searchParams.toString();
|
|
62
73
|
};
|
|
63
74
|
const serializeDataIfNeeded = function(value, requestOptions, configuration) {
|
|
@@ -77,7 +88,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
77
88
|
|
|
78
89
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
79
90
|
return {
|
|
80
|
-
searchAttachments: async (policy, sort, displayName, ungrouped, uploadedBy,
|
|
91
|
+
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
81
92
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
82
93
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83
94
|
let baseOptions;
|
|
@@ -98,27 +109,27 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
98
109
|
if (displayName !== void 0) {
|
|
99
110
|
localVarQueryParameter["displayName"] = displayName;
|
|
100
111
|
}
|
|
112
|
+
if (group !== void 0) {
|
|
113
|
+
localVarQueryParameter["group"] = group;
|
|
114
|
+
}
|
|
101
115
|
if (ungrouped !== void 0) {
|
|
102
116
|
localVarQueryParameter["ungrouped"] = ungrouped;
|
|
103
117
|
}
|
|
104
118
|
if (uploadedBy !== void 0) {
|
|
105
119
|
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
106
120
|
}
|
|
107
|
-
if (group !== void 0) {
|
|
108
|
-
localVarQueryParameter["group"] = group;
|
|
109
|
-
}
|
|
110
121
|
if (size !== void 0) {
|
|
111
122
|
localVarQueryParameter["size"] = size;
|
|
112
123
|
}
|
|
124
|
+
if (page !== void 0) {
|
|
125
|
+
localVarQueryParameter["page"] = page;
|
|
126
|
+
}
|
|
113
127
|
if (labelSelector) {
|
|
114
128
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
115
129
|
}
|
|
116
130
|
if (fieldSelector) {
|
|
117
131
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
118
132
|
}
|
|
119
|
-
if (page !== void 0) {
|
|
120
|
-
localVarQueryParameter["page"] = page;
|
|
121
|
-
}
|
|
122
133
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
123
134
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
124
135
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -166,8 +177,20 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
166
177
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
167
178
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
168
179
|
return {
|
|
169
|
-
async searchAttachments(policy, sort, displayName, ungrouped, uploadedBy,
|
|
170
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(
|
|
180
|
+
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(
|
|
182
|
+
policy,
|
|
183
|
+
sort,
|
|
184
|
+
displayName,
|
|
185
|
+
group,
|
|
186
|
+
ungrouped,
|
|
187
|
+
uploadedBy,
|
|
188
|
+
size,
|
|
189
|
+
page,
|
|
190
|
+
labelSelector,
|
|
191
|
+
fieldSelector,
|
|
192
|
+
options
|
|
193
|
+
);
|
|
171
194
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
172
195
|
},
|
|
173
196
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -179,17 +202,41 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
179
202
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
180
203
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
181
204
|
return {
|
|
182
|
-
searchAttachments(
|
|
183
|
-
return localVarFp.searchAttachments(
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
205
|
+
searchAttachments(requestParameters = {}, options) {
|
|
206
|
+
return localVarFp.searchAttachments(
|
|
207
|
+
requestParameters.policy,
|
|
208
|
+
requestParameters.sort,
|
|
209
|
+
requestParameters.displayName,
|
|
210
|
+
requestParameters.group,
|
|
211
|
+
requestParameters.ungrouped,
|
|
212
|
+
requestParameters.uploadedBy,
|
|
213
|
+
requestParameters.size,
|
|
214
|
+
requestParameters.page,
|
|
215
|
+
requestParameters.labelSelector,
|
|
216
|
+
requestParameters.fieldSelector,
|
|
217
|
+
options
|
|
218
|
+
).then((request) => request(axios, basePath));
|
|
219
|
+
},
|
|
220
|
+
uploadAttachment(requestParameters, options) {
|
|
221
|
+
return localVarFp.uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(axios, basePath));
|
|
187
222
|
}
|
|
188
223
|
};
|
|
189
224
|
};
|
|
190
225
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
191
226
|
searchAttachments(requestParameters = {}, options) {
|
|
192
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(
|
|
227
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(
|
|
228
|
+
requestParameters.policy,
|
|
229
|
+
requestParameters.sort,
|
|
230
|
+
requestParameters.displayName,
|
|
231
|
+
requestParameters.group,
|
|
232
|
+
requestParameters.ungrouped,
|
|
233
|
+
requestParameters.uploadedBy,
|
|
234
|
+
requestParameters.size,
|
|
235
|
+
requestParameters.page,
|
|
236
|
+
requestParameters.labelSelector,
|
|
237
|
+
requestParameters.fieldSelector,
|
|
238
|
+
options
|
|
239
|
+
).then((request) => request(this.axios, this.basePath));
|
|
193
240
|
}
|
|
194
241
|
uploadAttachment(requestParameters, options) {
|
|
195
242
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -224,7 +271,10 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
224
271
|
createReply: async (name, replyRequest, options = {}) => {
|
|
225
272
|
assertParamExists("createReply", "name", name);
|
|
226
273
|
assertParamExists("createReply", "replyRequest", replyRequest);
|
|
227
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
274
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
275
|
+
`{${"name"}}`,
|
|
276
|
+
encodeURIComponent(String(name))
|
|
277
|
+
);
|
|
228
278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
229
279
|
let baseOptions;
|
|
230
280
|
if (configuration) {
|
|
@@ -245,7 +295,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
245
295
|
options: localVarRequestOptions
|
|
246
296
|
};
|
|
247
297
|
},
|
|
248
|
-
listComments: async (sort,
|
|
298
|
+
listComments: async (sort, keyword, hidden, top, approved, sortOrder, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
249
299
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
250
300
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
251
301
|
let baseOptions;
|
|
@@ -260,12 +310,21 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
260
310
|
if (sort !== void 0) {
|
|
261
311
|
localVarQueryParameter["sort"] = sort;
|
|
262
312
|
}
|
|
263
|
-
if (
|
|
264
|
-
localVarQueryParameter["
|
|
313
|
+
if (keyword !== void 0) {
|
|
314
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
315
|
+
}
|
|
316
|
+
if (hidden !== void 0) {
|
|
317
|
+
localVarQueryParameter["hidden"] = hidden;
|
|
318
|
+
}
|
|
319
|
+
if (top !== void 0) {
|
|
320
|
+
localVarQueryParameter["top"] = top;
|
|
265
321
|
}
|
|
266
322
|
if (approved !== void 0) {
|
|
267
323
|
localVarQueryParameter["approved"] = approved;
|
|
268
324
|
}
|
|
325
|
+
if (sortOrder !== void 0) {
|
|
326
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
327
|
+
}
|
|
269
328
|
if (allowNotification !== void 0) {
|
|
270
329
|
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
271
330
|
}
|
|
@@ -281,27 +340,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
281
340
|
if (subjectName !== void 0) {
|
|
282
341
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
283
342
|
}
|
|
284
|
-
if (keyword !== void 0) {
|
|
285
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
286
|
-
}
|
|
287
|
-
if (hidden !== void 0) {
|
|
288
|
-
localVarQueryParameter["hidden"] = hidden;
|
|
289
|
-
}
|
|
290
|
-
if (top !== void 0) {
|
|
291
|
-
localVarQueryParameter["top"] = top;
|
|
292
|
-
}
|
|
293
343
|
if (size !== void 0) {
|
|
294
344
|
localVarQueryParameter["size"] = size;
|
|
295
345
|
}
|
|
346
|
+
if (page !== void 0) {
|
|
347
|
+
localVarQueryParameter["page"] = page;
|
|
348
|
+
}
|
|
296
349
|
if (labelSelector) {
|
|
297
350
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
298
351
|
}
|
|
299
352
|
if (fieldSelector) {
|
|
300
353
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
301
354
|
}
|
|
302
|
-
if (page !== void 0) {
|
|
303
|
-
localVarQueryParameter["page"] = page;
|
|
304
|
-
}
|
|
305
355
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
306
356
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
307
357
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -323,8 +373,25 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
323
373
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
324
374
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
325
375
|
},
|
|
326
|
-
async listComments(sort,
|
|
327
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(
|
|
376
|
+
async listComments(sort, keyword, hidden, top, approved, sortOrder, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
377
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(
|
|
378
|
+
sort,
|
|
379
|
+
keyword,
|
|
380
|
+
hidden,
|
|
381
|
+
top,
|
|
382
|
+
approved,
|
|
383
|
+
sortOrder,
|
|
384
|
+
allowNotification,
|
|
385
|
+
ownerKind,
|
|
386
|
+
ownerName,
|
|
387
|
+
subjectKind,
|
|
388
|
+
subjectName,
|
|
389
|
+
size,
|
|
390
|
+
page,
|
|
391
|
+
labelSelector,
|
|
392
|
+
fieldSelector,
|
|
393
|
+
options
|
|
394
|
+
);
|
|
328
395
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
329
396
|
}
|
|
330
397
|
};
|
|
@@ -332,14 +399,31 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
332
399
|
const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
333
400
|
const localVarFp = ApiConsoleHaloRunV1alpha1CommentApiFp(configuration);
|
|
334
401
|
return {
|
|
335
|
-
createComment(
|
|
336
|
-
return localVarFp.createComment(commentRequest, options).then((request) => request(axios, basePath));
|
|
337
|
-
},
|
|
338
|
-
createReply(
|
|
339
|
-
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
340
|
-
},
|
|
341
|
-
listComments(
|
|
342
|
-
return localVarFp.listComments(
|
|
402
|
+
createComment(requestParameters, options) {
|
|
403
|
+
return localVarFp.createComment(requestParameters.commentRequest, options).then((request) => request(axios, basePath));
|
|
404
|
+
},
|
|
405
|
+
createReply(requestParameters, options) {
|
|
406
|
+
return localVarFp.createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(axios, basePath));
|
|
407
|
+
},
|
|
408
|
+
listComments(requestParameters = {}, options) {
|
|
409
|
+
return localVarFp.listComments(
|
|
410
|
+
requestParameters.sort,
|
|
411
|
+
requestParameters.keyword,
|
|
412
|
+
requestParameters.hidden,
|
|
413
|
+
requestParameters.top,
|
|
414
|
+
requestParameters.approved,
|
|
415
|
+
requestParameters.sortOrder,
|
|
416
|
+
requestParameters.allowNotification,
|
|
417
|
+
requestParameters.ownerKind,
|
|
418
|
+
requestParameters.ownerName,
|
|
419
|
+
requestParameters.subjectKind,
|
|
420
|
+
requestParameters.subjectName,
|
|
421
|
+
requestParameters.size,
|
|
422
|
+
requestParameters.page,
|
|
423
|
+
requestParameters.labelSelector,
|
|
424
|
+
requestParameters.fieldSelector,
|
|
425
|
+
options
|
|
426
|
+
).then((request) => request(axios, basePath));
|
|
343
427
|
}
|
|
344
428
|
};
|
|
345
429
|
};
|
|
@@ -351,7 +435,24 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
351
435
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
352
436
|
}
|
|
353
437
|
listComments(requestParameters = {}, options) {
|
|
354
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(
|
|
438
|
+
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(
|
|
439
|
+
requestParameters.sort,
|
|
440
|
+
requestParameters.keyword,
|
|
441
|
+
requestParameters.hidden,
|
|
442
|
+
requestParameters.top,
|
|
443
|
+
requestParameters.approved,
|
|
444
|
+
requestParameters.sortOrder,
|
|
445
|
+
requestParameters.allowNotification,
|
|
446
|
+
requestParameters.ownerKind,
|
|
447
|
+
requestParameters.ownerName,
|
|
448
|
+
requestParameters.subjectKind,
|
|
449
|
+
requestParameters.subjectName,
|
|
450
|
+
requestParameters.size,
|
|
451
|
+
requestParameters.page,
|
|
452
|
+
requestParameters.labelSelector,
|
|
453
|
+
requestParameters.fieldSelector,
|
|
454
|
+
options
|
|
455
|
+
).then((request) => request(this.axios, this.basePath));
|
|
355
456
|
}
|
|
356
457
|
}
|
|
357
458
|
|
|
@@ -406,7 +507,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
406
507
|
return {
|
|
407
508
|
fetchPluginConfig: async (name, options = {}) => {
|
|
408
509
|
assertParamExists("fetchPluginConfig", "name", name);
|
|
409
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
510
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
511
|
+
`{${"name"}}`,
|
|
512
|
+
encodeURIComponent(String(name))
|
|
513
|
+
);
|
|
410
514
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
411
515
|
let baseOptions;
|
|
412
516
|
if (configuration) {
|
|
@@ -427,7 +531,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
427
531
|
},
|
|
428
532
|
fetchPluginSetting: async (name, options = {}) => {
|
|
429
533
|
assertParamExists("fetchPluginSetting", "name", name);
|
|
430
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/setting`.replace(
|
|
534
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/setting`.replace(
|
|
535
|
+
`{${"name"}}`,
|
|
536
|
+
encodeURIComponent(String(name))
|
|
537
|
+
);
|
|
431
538
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
432
539
|
let baseOptions;
|
|
433
540
|
if (configuration) {
|
|
@@ -446,8 +553,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
446
553
|
options: localVarRequestOptions
|
|
447
554
|
};
|
|
448
555
|
},
|
|
449
|
-
installPlugin: async (file, options = {}) => {
|
|
450
|
-
assertParamExists("installPlugin", "file", file);
|
|
556
|
+
installPlugin: async (file, source, presetName, options = {}) => {
|
|
451
557
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/install`;
|
|
452
558
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
453
559
|
let baseOptions;
|
|
@@ -463,6 +569,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
463
569
|
if (file !== void 0) {
|
|
464
570
|
localVarFormParams.append("file", file);
|
|
465
571
|
}
|
|
572
|
+
if (source !== void 0) {
|
|
573
|
+
localVarFormParams.append("source", source);
|
|
574
|
+
}
|
|
575
|
+
if (presetName !== void 0) {
|
|
576
|
+
localVarFormParams.append("presetName", presetName);
|
|
577
|
+
}
|
|
466
578
|
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
467
579
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
468
580
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -473,7 +585,27 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
473
585
|
options: localVarRequestOptions
|
|
474
586
|
};
|
|
475
587
|
},
|
|
476
|
-
|
|
588
|
+
listPluginPresets: async (options = {}) => {
|
|
589
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugin-presets`;
|
|
590
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
591
|
+
let baseOptions;
|
|
592
|
+
if (configuration) {
|
|
593
|
+
baseOptions = configuration.baseOptions;
|
|
594
|
+
}
|
|
595
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
596
|
+
const localVarHeaderParameter = {};
|
|
597
|
+
const localVarQueryParameter = {};
|
|
598
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
599
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
600
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
601
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
602
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
603
|
+
return {
|
|
604
|
+
url: toPathString(localVarUrlObj),
|
|
605
|
+
options: localVarRequestOptions
|
|
606
|
+
};
|
|
607
|
+
},
|
|
608
|
+
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
477
609
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
478
610
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
479
611
|
let baseOptions;
|
|
@@ -488,12 +620,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
488
620
|
if (sort) {
|
|
489
621
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
490
622
|
}
|
|
491
|
-
if (enabled !== void 0) {
|
|
492
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
493
|
-
}
|
|
494
623
|
if (keyword !== void 0) {
|
|
495
624
|
localVarQueryParameter["keyword"] = keyword;
|
|
496
625
|
}
|
|
626
|
+
if (enabled !== void 0) {
|
|
627
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
628
|
+
}
|
|
497
629
|
if (size !== void 0) {
|
|
498
630
|
localVarQueryParameter["size"] = size;
|
|
499
631
|
}
|
|
@@ -516,7 +648,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
516
648
|
},
|
|
517
649
|
resetPluginConfig: async (name, options = {}) => {
|
|
518
650
|
assertParamExists("resetPluginConfig", "name", name);
|
|
519
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/reset-config`.replace(
|
|
651
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/reset-config`.replace(
|
|
652
|
+
`{${"name"}}`,
|
|
653
|
+
encodeURIComponent(String(name))
|
|
654
|
+
);
|
|
520
655
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
521
656
|
let baseOptions;
|
|
522
657
|
if (configuration) {
|
|
@@ -538,7 +673,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
538
673
|
updatePluginConfig: async (name, configMap, options = {}) => {
|
|
539
674
|
assertParamExists("updatePluginConfig", "name", name);
|
|
540
675
|
assertParamExists("updatePluginConfig", "configMap", configMap);
|
|
541
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
676
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
677
|
+
`{${"name"}}`,
|
|
678
|
+
encodeURIComponent(String(name))
|
|
679
|
+
);
|
|
542
680
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
543
681
|
let baseOptions;
|
|
544
682
|
if (configuration) {
|
|
@@ -559,10 +697,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
559
697
|
options: localVarRequestOptions
|
|
560
698
|
};
|
|
561
699
|
},
|
|
562
|
-
upgradePlugin: async (name, file, options = {}) => {
|
|
700
|
+
upgradePlugin: async (name, file, source, presetName, options = {}) => {
|
|
563
701
|
assertParamExists("upgradePlugin", "name", name);
|
|
564
|
-
|
|
565
|
-
|
|
702
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/upgrade`.replace(
|
|
703
|
+
`{${"name"}}`,
|
|
704
|
+
encodeURIComponent(String(name))
|
|
705
|
+
);
|
|
566
706
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
567
707
|
let baseOptions;
|
|
568
708
|
if (configuration) {
|
|
@@ -577,6 +717,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
577
717
|
if (file !== void 0) {
|
|
578
718
|
localVarFormParams.append("file", file);
|
|
579
719
|
}
|
|
720
|
+
if (source !== void 0) {
|
|
721
|
+
localVarFormParams.append("source", source);
|
|
722
|
+
}
|
|
723
|
+
if (presetName !== void 0) {
|
|
724
|
+
localVarFormParams.append("presetName", presetName);
|
|
725
|
+
}
|
|
580
726
|
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
581
727
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
582
728
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -600,12 +746,25 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
600
746
|
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPluginSetting(name, options);
|
|
601
747
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
602
748
|
},
|
|
603
|
-
async installPlugin(file, options) {
|
|
604
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
749
|
+
async installPlugin(file, source, presetName, options) {
|
|
750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, source, presetName, options);
|
|
751
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
752
|
+
},
|
|
753
|
+
async listPluginPresets(options) {
|
|
754
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPluginPresets(options);
|
|
605
755
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
606
756
|
},
|
|
607
|
-
async listPlugins(sort,
|
|
608
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(
|
|
757
|
+
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
758
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(
|
|
759
|
+
sort,
|
|
760
|
+
keyword,
|
|
761
|
+
enabled,
|
|
762
|
+
size,
|
|
763
|
+
labelSelector,
|
|
764
|
+
fieldSelector,
|
|
765
|
+
page,
|
|
766
|
+
options
|
|
767
|
+
);
|
|
609
768
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
610
769
|
},
|
|
611
770
|
async resetPluginConfig(name, options) {
|
|
@@ -616,8 +775,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
616
775
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginConfig(name, configMap, options);
|
|
617
776
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
618
777
|
},
|
|
619
|
-
async upgradePlugin(name, file, options) {
|
|
620
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, options);
|
|
778
|
+
async upgradePlugin(name, file, source, presetName, options) {
|
|
779
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, source, presetName, options);
|
|
621
780
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
622
781
|
}
|
|
623
782
|
};
|
|
@@ -625,26 +784,44 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
625
784
|
const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
626
785
|
const localVarFp = ApiConsoleHaloRunV1alpha1PluginApiFp(configuration);
|
|
627
786
|
return {
|
|
628
|
-
fetchPluginConfig(
|
|
629
|
-
return localVarFp.fetchPluginConfig(name, options).then((request) => request(axios, basePath));
|
|
630
|
-
},
|
|
631
|
-
fetchPluginSetting(
|
|
632
|
-
return localVarFp.fetchPluginSetting(name, options).then((request) => request(axios, basePath));
|
|
633
|
-
},
|
|
634
|
-
installPlugin(
|
|
635
|
-
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
636
|
-
},
|
|
637
|
-
|
|
638
|
-
return localVarFp.
|
|
639
|
-
},
|
|
640
|
-
|
|
641
|
-
return localVarFp.
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
787
|
+
fetchPluginConfig(requestParameters, options) {
|
|
788
|
+
return localVarFp.fetchPluginConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
789
|
+
},
|
|
790
|
+
fetchPluginSetting(requestParameters, options) {
|
|
791
|
+
return localVarFp.fetchPluginSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
792
|
+
},
|
|
793
|
+
installPlugin(requestParameters = {}, options) {
|
|
794
|
+
return localVarFp.installPlugin(requestParameters.file, requestParameters.source, requestParameters.presetName, options).then((request) => request(axios, basePath));
|
|
795
|
+
},
|
|
796
|
+
listPluginPresets(options) {
|
|
797
|
+
return localVarFp.listPluginPresets(options).then((request) => request(axios, basePath));
|
|
798
|
+
},
|
|
799
|
+
listPlugins(requestParameters = {}, options) {
|
|
800
|
+
return localVarFp.listPlugins(
|
|
801
|
+
requestParameters.sort,
|
|
802
|
+
requestParameters.keyword,
|
|
803
|
+
requestParameters.enabled,
|
|
804
|
+
requestParameters.size,
|
|
805
|
+
requestParameters.labelSelector,
|
|
806
|
+
requestParameters.fieldSelector,
|
|
807
|
+
requestParameters.page,
|
|
808
|
+
options
|
|
809
|
+
).then((request) => request(axios, basePath));
|
|
810
|
+
},
|
|
811
|
+
resetPluginConfig(requestParameters, options) {
|
|
812
|
+
return localVarFp.resetPluginConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
813
|
+
},
|
|
814
|
+
updatePluginConfig(requestParameters, options) {
|
|
815
|
+
return localVarFp.updatePluginConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
816
|
+
},
|
|
817
|
+
upgradePlugin(requestParameters, options) {
|
|
818
|
+
return localVarFp.upgradePlugin(
|
|
819
|
+
requestParameters.name,
|
|
820
|
+
requestParameters.file,
|
|
821
|
+
requestParameters.source,
|
|
822
|
+
requestParameters.presetName,
|
|
823
|
+
options
|
|
824
|
+
).then((request) => request(axios, basePath));
|
|
648
825
|
}
|
|
649
826
|
};
|
|
650
827
|
};
|
|
@@ -655,11 +832,23 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
655
832
|
fetchPluginSetting(requestParameters, options) {
|
|
656
833
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).fetchPluginSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
657
834
|
}
|
|
658
|
-
installPlugin(requestParameters, options) {
|
|
659
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
835
|
+
installPlugin(requestParameters = {}, options) {
|
|
836
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, requestParameters.source, requestParameters.presetName, options).then((request) => request(this.axios, this.basePath));
|
|
837
|
+
}
|
|
838
|
+
listPluginPresets(options) {
|
|
839
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPluginPresets(options).then((request) => request(this.axios, this.basePath));
|
|
660
840
|
}
|
|
661
841
|
listPlugins(requestParameters = {}, options) {
|
|
662
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(
|
|
842
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(
|
|
843
|
+
requestParameters.sort,
|
|
844
|
+
requestParameters.keyword,
|
|
845
|
+
requestParameters.enabled,
|
|
846
|
+
requestParameters.size,
|
|
847
|
+
requestParameters.labelSelector,
|
|
848
|
+
requestParameters.fieldSelector,
|
|
849
|
+
requestParameters.page,
|
|
850
|
+
options
|
|
851
|
+
).then((request) => request(this.axios, this.basePath));
|
|
663
852
|
}
|
|
664
853
|
resetPluginConfig(requestParameters, options) {
|
|
665
854
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -668,7 +857,13 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
668
857
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).updatePluginConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
669
858
|
}
|
|
670
859
|
upgradePlugin(requestParameters, options) {
|
|
671
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(
|
|
860
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(
|
|
861
|
+
requestParameters.name,
|
|
862
|
+
requestParameters.file,
|
|
863
|
+
requestParameters.source,
|
|
864
|
+
requestParameters.presetName,
|
|
865
|
+
options
|
|
866
|
+
).then((request) => request(this.axios, this.basePath));
|
|
672
867
|
}
|
|
673
868
|
}
|
|
674
869
|
|
|
@@ -699,7 +894,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
699
894
|
},
|
|
700
895
|
fetchPostHeadContent: async (name, options = {}) => {
|
|
701
896
|
assertParamExists("fetchPostHeadContent", "name", name);
|
|
702
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/head-content`.replace(
|
|
897
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/head-content`.replace(
|
|
898
|
+
`{${"name"}}`,
|
|
899
|
+
encodeURIComponent(String(name))
|
|
900
|
+
);
|
|
703
901
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
704
902
|
let baseOptions;
|
|
705
903
|
if (configuration) {
|
|
@@ -720,7 +918,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
720
918
|
},
|
|
721
919
|
fetchPostReleaseContent: async (name, options = {}) => {
|
|
722
920
|
assertParamExists("fetchPostReleaseContent", "name", name);
|
|
723
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/release-content`.replace(
|
|
921
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/release-content`.replace(
|
|
922
|
+
`{${"name"}}`,
|
|
923
|
+
encodeURIComponent(String(name))
|
|
924
|
+
);
|
|
724
925
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
725
926
|
let baseOptions;
|
|
726
927
|
if (configuration) {
|
|
@@ -739,7 +940,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
739
940
|
options: localVarRequestOptions
|
|
740
941
|
};
|
|
741
942
|
},
|
|
742
|
-
listPosts: async (sort,
|
|
943
|
+
listPosts: async (sort, keyword, visible, tag, category, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
743
944
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
744
945
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
745
946
|
let baseOptions;
|
|
@@ -754,39 +955,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
754
955
|
if (sort !== void 0) {
|
|
755
956
|
localVarQueryParameter["sort"] = sort;
|
|
756
957
|
}
|
|
757
|
-
if (
|
|
758
|
-
localVarQueryParameter["
|
|
958
|
+
if (keyword !== void 0) {
|
|
959
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
759
960
|
}
|
|
760
|
-
if (
|
|
761
|
-
localVarQueryParameter["
|
|
961
|
+
if (visible !== void 0) {
|
|
962
|
+
localVarQueryParameter["visible"] = visible;
|
|
762
963
|
}
|
|
763
|
-
if (
|
|
764
|
-
localVarQueryParameter["
|
|
964
|
+
if (tag) {
|
|
965
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
765
966
|
}
|
|
766
967
|
if (category) {
|
|
767
968
|
localVarQueryParameter["category"] = Array.from(category);
|
|
768
969
|
}
|
|
769
|
-
if (
|
|
770
|
-
localVarQueryParameter["
|
|
970
|
+
if (sortOrder !== void 0) {
|
|
971
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
771
972
|
}
|
|
772
|
-
if (
|
|
773
|
-
localVarQueryParameter["
|
|
973
|
+
if (publishPhase !== void 0) {
|
|
974
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
774
975
|
}
|
|
775
|
-
if (
|
|
776
|
-
localVarQueryParameter["
|
|
976
|
+
if (contributor) {
|
|
977
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
777
978
|
}
|
|
778
979
|
if (size !== void 0) {
|
|
779
980
|
localVarQueryParameter["size"] = size;
|
|
780
981
|
}
|
|
982
|
+
if (page !== void 0) {
|
|
983
|
+
localVarQueryParameter["page"] = page;
|
|
984
|
+
}
|
|
781
985
|
if (labelSelector) {
|
|
782
986
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
783
987
|
}
|
|
784
988
|
if (fieldSelector) {
|
|
785
989
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
786
990
|
}
|
|
787
|
-
if (page !== void 0) {
|
|
788
|
-
localVarQueryParameter["page"] = page;
|
|
789
|
-
}
|
|
790
991
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
791
992
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
792
993
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -797,7 +998,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
797
998
|
},
|
|
798
999
|
publishPost: async (name, headSnapshot, options = {}) => {
|
|
799
1000
|
assertParamExists("publishPost", "name", name);
|
|
800
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/publish`.replace(
|
|
1001
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/publish`.replace(
|
|
1002
|
+
`{${"name"}}`,
|
|
1003
|
+
encodeURIComponent(String(name))
|
|
1004
|
+
);
|
|
801
1005
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
802
1006
|
let baseOptions;
|
|
803
1007
|
if (configuration) {
|
|
@@ -821,7 +1025,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
821
1025
|
},
|
|
822
1026
|
recyclePost: async (name, options = {}) => {
|
|
823
1027
|
assertParamExists("recyclePost", "name", name);
|
|
824
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(
|
|
1028
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(
|
|
1029
|
+
`{${"name"}}`,
|
|
1030
|
+
encodeURIComponent(String(name))
|
|
1031
|
+
);
|
|
825
1032
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
826
1033
|
let baseOptions;
|
|
827
1034
|
if (configuration) {
|
|
@@ -842,7 +1049,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
842
1049
|
},
|
|
843
1050
|
unpublishPost: async (name, options = {}) => {
|
|
844
1051
|
assertParamExists("unpublishPost", "name", name);
|
|
845
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(
|
|
1052
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(
|
|
1053
|
+
`{${"name"}}`,
|
|
1054
|
+
encodeURIComponent(String(name))
|
|
1055
|
+
);
|
|
846
1056
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
847
1057
|
let baseOptions;
|
|
848
1058
|
if (configuration) {
|
|
@@ -864,7 +1074,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
864
1074
|
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
865
1075
|
assertParamExists("updateDraftPost", "name", name);
|
|
866
1076
|
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
867
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}`.replace(
|
|
1077
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}`.replace(
|
|
1078
|
+
`{${"name"}}`,
|
|
1079
|
+
encodeURIComponent(String(name))
|
|
1080
|
+
);
|
|
868
1081
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
869
1082
|
let baseOptions;
|
|
870
1083
|
if (configuration) {
|
|
@@ -888,7 +1101,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
888
1101
|
updatePostContent: async (name, content, options = {}) => {
|
|
889
1102
|
assertParamExists("updatePostContent", "name", name);
|
|
890
1103
|
assertParamExists("updatePostContent", "content", content);
|
|
891
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/content`.replace(
|
|
1104
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/content`.replace(
|
|
1105
|
+
`{${"name"}}`,
|
|
1106
|
+
encodeURIComponent(String(name))
|
|
1107
|
+
);
|
|
892
1108
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
893
1109
|
let baseOptions;
|
|
894
1110
|
if (configuration) {
|
|
@@ -926,8 +1142,22 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
926
1142
|
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPostReleaseContent(name, options);
|
|
927
1143
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
928
1144
|
},
|
|
929
|
-
async listPosts(sort,
|
|
930
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(
|
|
1145
|
+
async listPosts(sort, keyword, visible, tag, category, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1146
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(
|
|
1147
|
+
sort,
|
|
1148
|
+
keyword,
|
|
1149
|
+
visible,
|
|
1150
|
+
tag,
|
|
1151
|
+
category,
|
|
1152
|
+
sortOrder,
|
|
1153
|
+
publishPhase,
|
|
1154
|
+
contributor,
|
|
1155
|
+
size,
|
|
1156
|
+
page,
|
|
1157
|
+
labelSelector,
|
|
1158
|
+
fieldSelector,
|
|
1159
|
+
options
|
|
1160
|
+
);
|
|
931
1161
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
932
1162
|
},
|
|
933
1163
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -955,32 +1185,46 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
955
1185
|
const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
956
1186
|
const localVarFp = ApiConsoleHaloRunV1alpha1PostApiFp(configuration);
|
|
957
1187
|
return {
|
|
958
|
-
draftPost(
|
|
959
|
-
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
960
|
-
},
|
|
961
|
-
fetchPostHeadContent(
|
|
962
|
-
return localVarFp.fetchPostHeadContent(name, options).then((request) => request(axios, basePath));
|
|
963
|
-
},
|
|
964
|
-
fetchPostReleaseContent(
|
|
965
|
-
return localVarFp.fetchPostReleaseContent(name, options).then((request) => request(axios, basePath));
|
|
966
|
-
},
|
|
967
|
-
listPosts(
|
|
968
|
-
return localVarFp.listPosts(
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
1188
|
+
draftPost(requestParameters, options) {
|
|
1189
|
+
return localVarFp.draftPost(requestParameters.postRequest, options).then((request) => request(axios, basePath));
|
|
1190
|
+
},
|
|
1191
|
+
fetchPostHeadContent(requestParameters, options) {
|
|
1192
|
+
return localVarFp.fetchPostHeadContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1193
|
+
},
|
|
1194
|
+
fetchPostReleaseContent(requestParameters, options) {
|
|
1195
|
+
return localVarFp.fetchPostReleaseContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1196
|
+
},
|
|
1197
|
+
listPosts(requestParameters = {}, options) {
|
|
1198
|
+
return localVarFp.listPosts(
|
|
1199
|
+
requestParameters.sort,
|
|
1200
|
+
requestParameters.keyword,
|
|
1201
|
+
requestParameters.visible,
|
|
1202
|
+
requestParameters.tag,
|
|
1203
|
+
requestParameters.category,
|
|
1204
|
+
requestParameters.sortOrder,
|
|
1205
|
+
requestParameters.publishPhase,
|
|
1206
|
+
requestParameters.contributor,
|
|
1207
|
+
requestParameters.size,
|
|
1208
|
+
requestParameters.page,
|
|
1209
|
+
requestParameters.labelSelector,
|
|
1210
|
+
requestParameters.fieldSelector,
|
|
1211
|
+
options
|
|
1212
|
+
).then((request) => request(axios, basePath));
|
|
1213
|
+
},
|
|
1214
|
+
publishPost(requestParameters, options) {
|
|
1215
|
+
return localVarFp.publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(axios, basePath));
|
|
1216
|
+
},
|
|
1217
|
+
recyclePost(requestParameters, options) {
|
|
1218
|
+
return localVarFp.recyclePost(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1219
|
+
},
|
|
1220
|
+
unpublishPost(requestParameters, options) {
|
|
1221
|
+
return localVarFp.unpublishPost(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1222
|
+
},
|
|
1223
|
+
updateDraftPost(requestParameters, options) {
|
|
1224
|
+
return localVarFp.updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(axios, basePath));
|
|
1225
|
+
},
|
|
1226
|
+
updatePostContent(requestParameters, options) {
|
|
1227
|
+
return localVarFp.updatePostContent(requestParameters.name, requestParameters.content, options).then((request) => request(axios, basePath));
|
|
984
1228
|
}
|
|
985
1229
|
};
|
|
986
1230
|
};
|
|
@@ -995,7 +1239,21 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
995
1239
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).fetchPostReleaseContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
996
1240
|
}
|
|
997
1241
|
listPosts(requestParameters = {}, options) {
|
|
998
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(
|
|
1242
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(
|
|
1243
|
+
requestParameters.sort,
|
|
1244
|
+
requestParameters.keyword,
|
|
1245
|
+
requestParameters.visible,
|
|
1246
|
+
requestParameters.tag,
|
|
1247
|
+
requestParameters.category,
|
|
1248
|
+
requestParameters.sortOrder,
|
|
1249
|
+
requestParameters.publishPhase,
|
|
1250
|
+
requestParameters.contributor,
|
|
1251
|
+
requestParameters.size,
|
|
1252
|
+
requestParameters.page,
|
|
1253
|
+
requestParameters.labelSelector,
|
|
1254
|
+
requestParameters.fieldSelector,
|
|
1255
|
+
options
|
|
1256
|
+
).then((request) => request(this.axios, this.basePath));
|
|
999
1257
|
}
|
|
1000
1258
|
publishPost(requestParameters, options) {
|
|
1001
1259
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1016,7 +1274,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
1016
1274
|
|
|
1017
1275
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
1018
1276
|
return {
|
|
1019
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
1277
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1020
1278
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
1021
1279
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1022
1280
|
let baseOptions;
|
|
@@ -1034,15 +1292,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1034
1292
|
if (size !== void 0) {
|
|
1035
1293
|
localVarQueryParameter["size"] = size;
|
|
1036
1294
|
}
|
|
1295
|
+
if (page !== void 0) {
|
|
1296
|
+
localVarQueryParameter["page"] = page;
|
|
1297
|
+
}
|
|
1037
1298
|
if (labelSelector) {
|
|
1038
1299
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1039
1300
|
}
|
|
1040
1301
|
if (fieldSelector) {
|
|
1041
1302
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1042
1303
|
}
|
|
1043
|
-
if (page !== void 0) {
|
|
1044
|
-
localVarQueryParameter["page"] = page;
|
|
1045
|
-
}
|
|
1046
1304
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1047
1305
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1048
1306
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1056,8 +1314,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1056
1314
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
1057
1315
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
1058
1316
|
return {
|
|
1059
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
1060
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(
|
|
1317
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
1318
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(
|
|
1319
|
+
commentName,
|
|
1320
|
+
size,
|
|
1321
|
+
page,
|
|
1322
|
+
labelSelector,
|
|
1323
|
+
fieldSelector,
|
|
1324
|
+
options
|
|
1325
|
+
);
|
|
1061
1326
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1062
1327
|
}
|
|
1063
1328
|
};
|
|
@@ -1065,14 +1330,28 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
1065
1330
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
1066
1331
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
1067
1332
|
return {
|
|
1068
|
-
listReplies(
|
|
1069
|
-
return localVarFp.listReplies(
|
|
1333
|
+
listReplies(requestParameters = {}, options) {
|
|
1334
|
+
return localVarFp.listReplies(
|
|
1335
|
+
requestParameters.commentName,
|
|
1336
|
+
requestParameters.size,
|
|
1337
|
+
requestParameters.page,
|
|
1338
|
+
requestParameters.labelSelector,
|
|
1339
|
+
requestParameters.fieldSelector,
|
|
1340
|
+
options
|
|
1341
|
+
).then((request) => request(axios, basePath));
|
|
1070
1342
|
}
|
|
1071
1343
|
};
|
|
1072
1344
|
};
|
|
1073
1345
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1074
1346
|
listReplies(requestParameters = {}, options) {
|
|
1075
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(
|
|
1347
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(
|
|
1348
|
+
requestParameters.commentName,
|
|
1349
|
+
requestParameters.size,
|
|
1350
|
+
requestParameters.page,
|
|
1351
|
+
requestParameters.labelSelector,
|
|
1352
|
+
requestParameters.fieldSelector,
|
|
1353
|
+
options
|
|
1354
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1076
1355
|
}
|
|
1077
1356
|
}
|
|
1078
1357
|
|
|
@@ -1103,7 +1382,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1103
1382
|
},
|
|
1104
1383
|
fetchSinglePageHeadContent: async (name, options = {}) => {
|
|
1105
1384
|
assertParamExists("fetchSinglePageHeadContent", "name", name);
|
|
1106
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/head-content`.replace(
|
|
1385
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/head-content`.replace(
|
|
1386
|
+
`{${"name"}}`,
|
|
1387
|
+
encodeURIComponent(String(name))
|
|
1388
|
+
);
|
|
1107
1389
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1108
1390
|
let baseOptions;
|
|
1109
1391
|
if (configuration) {
|
|
@@ -1124,7 +1406,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1124
1406
|
},
|
|
1125
1407
|
fetchSinglePageReleaseContent: async (name, options = {}) => {
|
|
1126
1408
|
assertParamExists("fetchSinglePageReleaseContent", "name", name);
|
|
1127
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/release-content`.replace(
|
|
1409
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/release-content`.replace(
|
|
1410
|
+
`{${"name"}}`,
|
|
1411
|
+
encodeURIComponent(String(name))
|
|
1412
|
+
);
|
|
1128
1413
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1129
1414
|
let baseOptions;
|
|
1130
1415
|
if (configuration) {
|
|
@@ -1143,7 +1428,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1143
1428
|
options: localVarRequestOptions
|
|
1144
1429
|
};
|
|
1145
1430
|
},
|
|
1146
|
-
listSinglePages: async (sort,
|
|
1431
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1147
1432
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1148
1433
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1149
1434
|
let baseOptions;
|
|
@@ -1158,8 +1443,11 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1158
1443
|
if (sort !== void 0) {
|
|
1159
1444
|
localVarQueryParameter["sort"] = sort;
|
|
1160
1445
|
}
|
|
1161
|
-
if (
|
|
1162
|
-
localVarQueryParameter["
|
|
1446
|
+
if (keyword !== void 0) {
|
|
1447
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1448
|
+
}
|
|
1449
|
+
if (visible !== void 0) {
|
|
1450
|
+
localVarQueryParameter["visible"] = visible;
|
|
1163
1451
|
}
|
|
1164
1452
|
if (sortOrder !== void 0) {
|
|
1165
1453
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -1167,24 +1455,21 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1167
1455
|
if (publishPhase !== void 0) {
|
|
1168
1456
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1169
1457
|
}
|
|
1170
|
-
if (
|
|
1171
|
-
localVarQueryParameter["
|
|
1172
|
-
}
|
|
1173
|
-
if (visible !== void 0) {
|
|
1174
|
-
localVarQueryParameter["visible"] = visible;
|
|
1458
|
+
if (contributor) {
|
|
1459
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1175
1460
|
}
|
|
1176
1461
|
if (size !== void 0) {
|
|
1177
1462
|
localVarQueryParameter["size"] = size;
|
|
1178
1463
|
}
|
|
1464
|
+
if (page !== void 0) {
|
|
1465
|
+
localVarQueryParameter["page"] = page;
|
|
1466
|
+
}
|
|
1179
1467
|
if (labelSelector) {
|
|
1180
1468
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1181
1469
|
}
|
|
1182
1470
|
if (fieldSelector) {
|
|
1183
1471
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1184
1472
|
}
|
|
1185
|
-
if (page !== void 0) {
|
|
1186
|
-
localVarQueryParameter["page"] = page;
|
|
1187
|
-
}
|
|
1188
1473
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1189
1474
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1190
1475
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1195,7 +1480,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1195
1480
|
},
|
|
1196
1481
|
publishSinglePage: async (name, options = {}) => {
|
|
1197
1482
|
assertParamExists("publishSinglePage", "name", name);
|
|
1198
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/publish`.replace(
|
|
1483
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/publish`.replace(
|
|
1484
|
+
`{${"name"}}`,
|
|
1485
|
+
encodeURIComponent(String(name))
|
|
1486
|
+
);
|
|
1199
1487
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1200
1488
|
let baseOptions;
|
|
1201
1489
|
if (configuration) {
|
|
@@ -1217,7 +1505,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1217
1505
|
updateDraftSinglePage: async (name, singlePageRequest, options = {}) => {
|
|
1218
1506
|
assertParamExists("updateDraftSinglePage", "name", name);
|
|
1219
1507
|
assertParamExists("updateDraftSinglePage", "singlePageRequest", singlePageRequest);
|
|
1220
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
1508
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
1509
|
+
`{${"name"}}`,
|
|
1510
|
+
encodeURIComponent(String(name))
|
|
1511
|
+
);
|
|
1221
1512
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1222
1513
|
let baseOptions;
|
|
1223
1514
|
if (configuration) {
|
|
@@ -1241,7 +1532,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1241
1532
|
updateSinglePageContent: async (name, content, options = {}) => {
|
|
1242
1533
|
assertParamExists("updateSinglePageContent", "name", name);
|
|
1243
1534
|
assertParamExists("updateSinglePageContent", "content", content);
|
|
1244
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/content`.replace(
|
|
1535
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/content`.replace(
|
|
1536
|
+
`{${"name"}}`,
|
|
1537
|
+
encodeURIComponent(String(name))
|
|
1538
|
+
);
|
|
1245
1539
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1246
1540
|
let baseOptions;
|
|
1247
1541
|
if (configuration) {
|
|
@@ -1279,8 +1573,20 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1279
1573
|
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchSinglePageReleaseContent(name, options);
|
|
1280
1574
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1281
1575
|
},
|
|
1282
|
-
async listSinglePages(sort,
|
|
1283
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(
|
|
1576
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1577
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(
|
|
1578
|
+
sort,
|
|
1579
|
+
keyword,
|
|
1580
|
+
visible,
|
|
1581
|
+
sortOrder,
|
|
1582
|
+
publishPhase,
|
|
1583
|
+
contributor,
|
|
1584
|
+
size,
|
|
1585
|
+
page,
|
|
1586
|
+
labelSelector,
|
|
1587
|
+
fieldSelector,
|
|
1588
|
+
options
|
|
1589
|
+
);
|
|
1284
1590
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1285
1591
|
},
|
|
1286
1592
|
async publishSinglePage(name, options) {
|
|
@@ -1300,26 +1606,38 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1300
1606
|
const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
1301
1607
|
const localVarFp = ApiConsoleHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
1302
1608
|
return {
|
|
1303
|
-
draftSinglePage(
|
|
1304
|
-
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1305
|
-
},
|
|
1306
|
-
fetchSinglePageHeadContent(
|
|
1307
|
-
return localVarFp.fetchSinglePageHeadContent(name, options).then((request) => request(axios, basePath));
|
|
1308
|
-
},
|
|
1309
|
-
fetchSinglePageReleaseContent(
|
|
1310
|
-
return localVarFp.fetchSinglePageReleaseContent(name, options).then((request) => request(axios, basePath));
|
|
1311
|
-
},
|
|
1312
|
-
listSinglePages(
|
|
1313
|
-
return localVarFp.listSinglePages(
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1609
|
+
draftSinglePage(requestParameters, options) {
|
|
1610
|
+
return localVarFp.draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1611
|
+
},
|
|
1612
|
+
fetchSinglePageHeadContent(requestParameters, options) {
|
|
1613
|
+
return localVarFp.fetchSinglePageHeadContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1614
|
+
},
|
|
1615
|
+
fetchSinglePageReleaseContent(requestParameters, options) {
|
|
1616
|
+
return localVarFp.fetchSinglePageReleaseContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1617
|
+
},
|
|
1618
|
+
listSinglePages(requestParameters = {}, options) {
|
|
1619
|
+
return localVarFp.listSinglePages(
|
|
1620
|
+
requestParameters.sort,
|
|
1621
|
+
requestParameters.keyword,
|
|
1622
|
+
requestParameters.visible,
|
|
1623
|
+
requestParameters.sortOrder,
|
|
1624
|
+
requestParameters.publishPhase,
|
|
1625
|
+
requestParameters.contributor,
|
|
1626
|
+
requestParameters.size,
|
|
1627
|
+
requestParameters.page,
|
|
1628
|
+
requestParameters.labelSelector,
|
|
1629
|
+
requestParameters.fieldSelector,
|
|
1630
|
+
options
|
|
1631
|
+
).then((request) => request(axios, basePath));
|
|
1632
|
+
},
|
|
1633
|
+
publishSinglePage(requestParameters, options) {
|
|
1634
|
+
return localVarFp.publishSinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1635
|
+
},
|
|
1636
|
+
updateDraftSinglePage(requestParameters, options) {
|
|
1637
|
+
return localVarFp.updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1638
|
+
},
|
|
1639
|
+
updateSinglePageContent(requestParameters, options) {
|
|
1640
|
+
return localVarFp.updateSinglePageContent(requestParameters.name, requestParameters.content, options).then((request) => request(axios, basePath));
|
|
1323
1641
|
}
|
|
1324
1642
|
};
|
|
1325
1643
|
};
|
|
@@ -1334,7 +1652,19 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1334
1652
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).fetchSinglePageReleaseContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1335
1653
|
}
|
|
1336
1654
|
listSinglePages(requestParameters = {}, options) {
|
|
1337
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(
|
|
1655
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(
|
|
1656
|
+
requestParameters.sort,
|
|
1657
|
+
requestParameters.keyword,
|
|
1658
|
+
requestParameters.visible,
|
|
1659
|
+
requestParameters.sortOrder,
|
|
1660
|
+
requestParameters.publishPhase,
|
|
1661
|
+
requestParameters.contributor,
|
|
1662
|
+
requestParameters.size,
|
|
1663
|
+
requestParameters.page,
|
|
1664
|
+
requestParameters.labelSelector,
|
|
1665
|
+
requestParameters.fieldSelector,
|
|
1666
|
+
options
|
|
1667
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1338
1668
|
}
|
|
1339
1669
|
publishSinglePage(requestParameters, options) {
|
|
1340
1670
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1398,7 +1728,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1398
1728
|
return {
|
|
1399
1729
|
activateTheme: async (name, options = {}) => {
|
|
1400
1730
|
assertParamExists("activateTheme", "name", name);
|
|
1401
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/activation`.replace(
|
|
1731
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/activation`.replace(
|
|
1732
|
+
`{${"name"}}`,
|
|
1733
|
+
encodeURIComponent(String(name))
|
|
1734
|
+
);
|
|
1402
1735
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1403
1736
|
let baseOptions;
|
|
1404
1737
|
if (configuration) {
|
|
@@ -1439,7 +1772,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1439
1772
|
},
|
|
1440
1773
|
fetchThemeConfig: async (name, options = {}) => {
|
|
1441
1774
|
assertParamExists("fetchThemeConfig", "name", name);
|
|
1442
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1775
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1776
|
+
`{${"name"}}`,
|
|
1777
|
+
encodeURIComponent(String(name))
|
|
1778
|
+
);
|
|
1443
1779
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1444
1780
|
let baseOptions;
|
|
1445
1781
|
if (configuration) {
|
|
@@ -1460,7 +1796,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1460
1796
|
},
|
|
1461
1797
|
fetchThemeSetting: async (name, options = {}) => {
|
|
1462
1798
|
assertParamExists("fetchThemeSetting", "name", name);
|
|
1463
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/setting`.replace(
|
|
1799
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/setting`.replace(
|
|
1800
|
+
`{${"name"}}`,
|
|
1801
|
+
encodeURIComponent(String(name))
|
|
1802
|
+
);
|
|
1464
1803
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1465
1804
|
let baseOptions;
|
|
1466
1805
|
if (configuration) {
|
|
@@ -1506,7 +1845,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1506
1845
|
options: localVarRequestOptions
|
|
1507
1846
|
};
|
|
1508
1847
|
},
|
|
1509
|
-
listThemes: async (uninstalled, size, labelSelector, fieldSelector,
|
|
1848
|
+
listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1510
1849
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1511
1850
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1512
1851
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1525,15 +1864,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1525
1864
|
if (size !== void 0) {
|
|
1526
1865
|
localVarQueryParameter["size"] = size;
|
|
1527
1866
|
}
|
|
1867
|
+
if (page !== void 0) {
|
|
1868
|
+
localVarQueryParameter["page"] = page;
|
|
1869
|
+
}
|
|
1528
1870
|
if (labelSelector) {
|
|
1529
1871
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1530
1872
|
}
|
|
1531
1873
|
if (fieldSelector) {
|
|
1532
1874
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1533
1875
|
}
|
|
1534
|
-
if (page !== void 0) {
|
|
1535
|
-
localVarQueryParameter["page"] = page;
|
|
1536
|
-
}
|
|
1537
1876
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1538
1877
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1539
1878
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1544,7 +1883,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1544
1883
|
},
|
|
1545
1884
|
reload: async (name, options = {}) => {
|
|
1546
1885
|
assertParamExists("reload", "name", name);
|
|
1547
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(
|
|
1886
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(
|
|
1887
|
+
`{${"name"}}`,
|
|
1888
|
+
encodeURIComponent(String(name))
|
|
1889
|
+
);
|
|
1548
1890
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1549
1891
|
let baseOptions;
|
|
1550
1892
|
if (configuration) {
|
|
@@ -1565,7 +1907,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1565
1907
|
},
|
|
1566
1908
|
resetThemeConfig: async (name, options = {}) => {
|
|
1567
1909
|
assertParamExists("resetThemeConfig", "name", name);
|
|
1568
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reset-config`.replace(
|
|
1910
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reset-config`.replace(
|
|
1911
|
+
`{${"name"}}`,
|
|
1912
|
+
encodeURIComponent(String(name))
|
|
1913
|
+
);
|
|
1569
1914
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1570
1915
|
let baseOptions;
|
|
1571
1916
|
if (configuration) {
|
|
@@ -1587,7 +1932,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1587
1932
|
updateThemeConfig: async (name, configMap, options = {}) => {
|
|
1588
1933
|
assertParamExists("updateThemeConfig", "name", name);
|
|
1589
1934
|
assertParamExists("updateThemeConfig", "configMap", configMap);
|
|
1590
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1935
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1936
|
+
`{${"name"}}`,
|
|
1937
|
+
encodeURIComponent(String(name))
|
|
1938
|
+
);
|
|
1591
1939
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1592
1940
|
let baseOptions;
|
|
1593
1941
|
if (configuration) {
|
|
@@ -1611,7 +1959,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1611
1959
|
upgradeTheme: async (name, file, options = {}) => {
|
|
1612
1960
|
assertParamExists("upgradeTheme", "name", name);
|
|
1613
1961
|
assertParamExists("upgradeTheme", "file", file);
|
|
1614
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/upgrade`.replace(
|
|
1962
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/upgrade`.replace(
|
|
1963
|
+
`{${"name"}}`,
|
|
1964
|
+
encodeURIComponent(String(name))
|
|
1965
|
+
);
|
|
1615
1966
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1616
1967
|
let baseOptions;
|
|
1617
1968
|
if (configuration) {
|
|
@@ -1661,8 +2012,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1661
2012
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1662
2013
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1663
2014
|
},
|
|
1664
|
-
async listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1665
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(
|
|
2015
|
+
async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
2016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(
|
|
2017
|
+
uninstalled,
|
|
2018
|
+
size,
|
|
2019
|
+
page,
|
|
2020
|
+
labelSelector,
|
|
2021
|
+
fieldSelector,
|
|
2022
|
+
options
|
|
2023
|
+
);
|
|
1666
2024
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1667
2025
|
},
|
|
1668
2026
|
async reload(name, options) {
|
|
@@ -1686,35 +2044,42 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1686
2044
|
const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
1687
2045
|
const localVarFp = ApiConsoleHaloRunV1alpha1ThemeApiFp(configuration);
|
|
1688
2046
|
return {
|
|
1689
|
-
activateTheme(
|
|
1690
|
-
return localVarFp.activateTheme(name, options).then((request) => request(axios, basePath));
|
|
2047
|
+
activateTheme(requestParameters, options) {
|
|
2048
|
+
return localVarFp.activateTheme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1691
2049
|
},
|
|
1692
2050
|
fetchActivatedTheme(options) {
|
|
1693
2051
|
return localVarFp.fetchActivatedTheme(options).then((request) => request(axios, basePath));
|
|
1694
2052
|
},
|
|
1695
|
-
fetchThemeConfig(
|
|
1696
|
-
return localVarFp.fetchThemeConfig(name, options).then((request) => request(axios, basePath));
|
|
2053
|
+
fetchThemeConfig(requestParameters, options) {
|
|
2054
|
+
return localVarFp.fetchThemeConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1697
2055
|
},
|
|
1698
|
-
fetchThemeSetting(
|
|
1699
|
-
return localVarFp.fetchThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
2056
|
+
fetchThemeSetting(requestParameters, options) {
|
|
2057
|
+
return localVarFp.fetchThemeSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1700
2058
|
},
|
|
1701
|
-
installTheme(
|
|
1702
|
-
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
2059
|
+
installTheme(requestParameters, options) {
|
|
2060
|
+
return localVarFp.installTheme(requestParameters.file, options).then((request) => request(axios, basePath));
|
|
1703
2061
|
},
|
|
1704
|
-
listThemes(
|
|
1705
|
-
return localVarFp.listThemes(
|
|
2062
|
+
listThemes(requestParameters, options) {
|
|
2063
|
+
return localVarFp.listThemes(
|
|
2064
|
+
requestParameters.uninstalled,
|
|
2065
|
+
requestParameters.size,
|
|
2066
|
+
requestParameters.page,
|
|
2067
|
+
requestParameters.labelSelector,
|
|
2068
|
+
requestParameters.fieldSelector,
|
|
2069
|
+
options
|
|
2070
|
+
).then((request) => request(axios, basePath));
|
|
1706
2071
|
},
|
|
1707
|
-
reload(
|
|
1708
|
-
return localVarFp.reload(name, options).then((request) => request(axios, basePath));
|
|
2072
|
+
reload(requestParameters, options) {
|
|
2073
|
+
return localVarFp.reload(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1709
2074
|
},
|
|
1710
|
-
resetThemeConfig(
|
|
1711
|
-
return localVarFp.resetThemeConfig(name, options).then((request) => request(axios, basePath));
|
|
2075
|
+
resetThemeConfig(requestParameters, options) {
|
|
2076
|
+
return localVarFp.resetThemeConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1712
2077
|
},
|
|
1713
|
-
updateThemeConfig(
|
|
1714
|
-
return localVarFp.updateThemeConfig(name, configMap, options).then((request) => request(axios, basePath));
|
|
2078
|
+
updateThemeConfig(requestParameters, options) {
|
|
2079
|
+
return localVarFp.updateThemeConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
1715
2080
|
},
|
|
1716
|
-
upgradeTheme(
|
|
1717
|
-
return localVarFp.upgradeTheme(name, file, options).then((request) => request(axios, basePath));
|
|
2081
|
+
upgradeTheme(requestParameters, options) {
|
|
2082
|
+
return localVarFp.upgradeTheme(requestParameters.name, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
1718
2083
|
}
|
|
1719
2084
|
};
|
|
1720
2085
|
};
|
|
@@ -1735,7 +2100,14 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1735
2100
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1736
2101
|
}
|
|
1737
2102
|
listThemes(requestParameters, options) {
|
|
1738
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(
|
|
2103
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(
|
|
2104
|
+
requestParameters.uninstalled,
|
|
2105
|
+
requestParameters.size,
|
|
2106
|
+
requestParameters.page,
|
|
2107
|
+
requestParameters.labelSelector,
|
|
2108
|
+
requestParameters.fieldSelector,
|
|
2109
|
+
options
|
|
2110
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1739
2111
|
}
|
|
1740
2112
|
reload(requestParameters, options) {
|
|
1741
2113
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1756,7 +2128,10 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1756
2128
|
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
1757
2129
|
assertParamExists("changePassword", "name", name);
|
|
1758
2130
|
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
1759
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/password`.replace(
|
|
2131
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/password`.replace(
|
|
2132
|
+
`{${"name"}}`,
|
|
2133
|
+
encodeURIComponent(String(name))
|
|
2134
|
+
);
|
|
1760
2135
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1761
2136
|
let baseOptions;
|
|
1762
2137
|
if (configuration) {
|
|
@@ -1799,7 +2174,34 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1799
2174
|
},
|
|
1800
2175
|
getPermissions: async (name, options = {}) => {
|
|
1801
2176
|
assertParamExists("getPermissions", "name", name);
|
|
1802
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2177
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2178
|
+
`{${"name"}}`,
|
|
2179
|
+
encodeURIComponent(String(name))
|
|
2180
|
+
);
|
|
2181
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2182
|
+
let baseOptions;
|
|
2183
|
+
if (configuration) {
|
|
2184
|
+
baseOptions = configuration.baseOptions;
|
|
2185
|
+
}
|
|
2186
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2187
|
+
const localVarHeaderParameter = {};
|
|
2188
|
+
const localVarQueryParameter = {};
|
|
2189
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2190
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2191
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2193
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2194
|
+
return {
|
|
2195
|
+
url: toPathString(localVarUrlObj),
|
|
2196
|
+
options: localVarRequestOptions
|
|
2197
|
+
};
|
|
2198
|
+
},
|
|
2199
|
+
getUserDetail: async (name, options = {}) => {
|
|
2200
|
+
assertParamExists("getUserDetail", "name", name);
|
|
2201
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}`.replace(
|
|
2202
|
+
`{${"name"}}`,
|
|
2203
|
+
encodeURIComponent(String(name))
|
|
2204
|
+
);
|
|
1803
2205
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1804
2206
|
let baseOptions;
|
|
1805
2207
|
if (configuration) {
|
|
@@ -1821,7 +2223,10 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1821
2223
|
grantPermission: async (name, grantRequest, options = {}) => {
|
|
1822
2224
|
assertParamExists("grantPermission", "name", name);
|
|
1823
2225
|
assertParamExists("grantPermission", "grantRequest", grantRequest);
|
|
1824
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2226
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2227
|
+
`{${"name"}}`,
|
|
2228
|
+
encodeURIComponent(String(name))
|
|
2229
|
+
);
|
|
1825
2230
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1826
2231
|
let baseOptions;
|
|
1827
2232
|
if (configuration) {
|
|
@@ -1842,6 +2247,47 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1842
2247
|
options: localVarRequestOptions
|
|
1843
2248
|
};
|
|
1844
2249
|
},
|
|
2250
|
+
listUsers: async (sort, keyword, role, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
2251
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users`;
|
|
2252
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2253
|
+
let baseOptions;
|
|
2254
|
+
if (configuration) {
|
|
2255
|
+
baseOptions = configuration.baseOptions;
|
|
2256
|
+
}
|
|
2257
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2258
|
+
const localVarHeaderParameter = {};
|
|
2259
|
+
const localVarQueryParameter = {};
|
|
2260
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2261
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2262
|
+
if (sort) {
|
|
2263
|
+
localVarQueryParameter["sort"] = Array.from(sort);
|
|
2264
|
+
}
|
|
2265
|
+
if (keyword !== void 0) {
|
|
2266
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
2267
|
+
}
|
|
2268
|
+
if (role !== void 0) {
|
|
2269
|
+
localVarQueryParameter["role"] = role;
|
|
2270
|
+
}
|
|
2271
|
+
if (size !== void 0) {
|
|
2272
|
+
localVarQueryParameter["size"] = size;
|
|
2273
|
+
}
|
|
2274
|
+
if (labelSelector) {
|
|
2275
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2276
|
+
}
|
|
2277
|
+
if (fieldSelector) {
|
|
2278
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2279
|
+
}
|
|
2280
|
+
if (page !== void 0) {
|
|
2281
|
+
localVarQueryParameter["page"] = page;
|
|
2282
|
+
}
|
|
2283
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2284
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2285
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2286
|
+
return {
|
|
2287
|
+
url: toPathString(localVarUrlObj),
|
|
2288
|
+
options: localVarRequestOptions
|
|
2289
|
+
};
|
|
2290
|
+
},
|
|
1845
2291
|
updateCurrentUser: async (user, options = {}) => {
|
|
1846
2292
|
assertParamExists("updateCurrentUser", "user", user);
|
|
1847
2293
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/-`;
|
|
@@ -1882,10 +2328,27 @@ const ApiConsoleHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
|
1882
2328
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
1883
2329
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1884
2330
|
},
|
|
2331
|
+
async getUserDetail(name, options) {
|
|
2332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserDetail(name, options);
|
|
2333
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2334
|
+
},
|
|
1885
2335
|
async grantPermission(name, grantRequest, options) {
|
|
1886
2336
|
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
1887
2337
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1888
2338
|
},
|
|
2339
|
+
async listUsers(sort, keyword, role, size, labelSelector, fieldSelector, page, options) {
|
|
2340
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(
|
|
2341
|
+
sort,
|
|
2342
|
+
keyword,
|
|
2343
|
+
role,
|
|
2344
|
+
size,
|
|
2345
|
+
labelSelector,
|
|
2346
|
+
fieldSelector,
|
|
2347
|
+
page,
|
|
2348
|
+
options
|
|
2349
|
+
);
|
|
2350
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2351
|
+
},
|
|
1889
2352
|
async updateCurrentUser(user, options) {
|
|
1890
2353
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCurrentUser(user, options);
|
|
1891
2354
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
@@ -1895,20 +2358,35 @@ const ApiConsoleHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
|
1895
2358
|
const ApiConsoleHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
1896
2359
|
const localVarFp = ApiConsoleHaloRunV1alpha1UserApiFp(configuration);
|
|
1897
2360
|
return {
|
|
1898
|
-
changePassword(
|
|
1899
|
-
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
2361
|
+
changePassword(requestParameters, options) {
|
|
2362
|
+
return localVarFp.changePassword(requestParameters.name, requestParameters.changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
1900
2363
|
},
|
|
1901
2364
|
getCurrentUserDetail(options) {
|
|
1902
2365
|
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
1903
2366
|
},
|
|
1904
|
-
getPermissions(
|
|
1905
|
-
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
1906
|
-
},
|
|
1907
|
-
|
|
1908
|
-
return localVarFp.
|
|
1909
|
-
},
|
|
1910
|
-
|
|
1911
|
-
return localVarFp.
|
|
2367
|
+
getPermissions(requestParameters, options) {
|
|
2368
|
+
return localVarFp.getPermissions(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2369
|
+
},
|
|
2370
|
+
getUserDetail(requestParameters, options) {
|
|
2371
|
+
return localVarFp.getUserDetail(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2372
|
+
},
|
|
2373
|
+
grantPermission(requestParameters, options) {
|
|
2374
|
+
return localVarFp.grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(axios, basePath));
|
|
2375
|
+
},
|
|
2376
|
+
listUsers(requestParameters = {}, options) {
|
|
2377
|
+
return localVarFp.listUsers(
|
|
2378
|
+
requestParameters.sort,
|
|
2379
|
+
requestParameters.keyword,
|
|
2380
|
+
requestParameters.role,
|
|
2381
|
+
requestParameters.size,
|
|
2382
|
+
requestParameters.labelSelector,
|
|
2383
|
+
requestParameters.fieldSelector,
|
|
2384
|
+
requestParameters.page,
|
|
2385
|
+
options
|
|
2386
|
+
).then((request) => request(axios, basePath));
|
|
2387
|
+
},
|
|
2388
|
+
updateCurrentUser(requestParameters, options) {
|
|
2389
|
+
return localVarFp.updateCurrentUser(requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1912
2390
|
}
|
|
1913
2391
|
};
|
|
1914
2392
|
};
|
|
@@ -1922,9 +2400,24 @@ class ApiConsoleHaloRunV1alpha1UserApi extends BaseAPI {
|
|
|
1922
2400
|
getPermissions(requestParameters, options) {
|
|
1923
2401
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1924
2402
|
}
|
|
2403
|
+
getUserDetail(requestParameters, options) {
|
|
2404
|
+
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).getUserDetail(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2405
|
+
}
|
|
1925
2406
|
grantPermission(requestParameters, options) {
|
|
1926
2407
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1927
2408
|
}
|
|
2409
|
+
listUsers(requestParameters = {}, options) {
|
|
2410
|
+
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).listUsers(
|
|
2411
|
+
requestParameters.sort,
|
|
2412
|
+
requestParameters.keyword,
|
|
2413
|
+
requestParameters.role,
|
|
2414
|
+
requestParameters.size,
|
|
2415
|
+
requestParameters.labelSelector,
|
|
2416
|
+
requestParameters.fieldSelector,
|
|
2417
|
+
requestParameters.page,
|
|
2418
|
+
options
|
|
2419
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2420
|
+
}
|
|
1928
2421
|
updateCurrentUser(requestParameters, options) {
|
|
1929
2422
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).updateCurrentUser(requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
1930
2423
|
}
|
|
@@ -1958,7 +2451,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1958
2451
|
createReply1: async (name, replyRequest, options = {}) => {
|
|
1959
2452
|
assertParamExists("createReply1", "name", name);
|
|
1960
2453
|
assertParamExists("createReply1", "replyRequest", replyRequest);
|
|
1961
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2454
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2455
|
+
`{${"name"}}`,
|
|
2456
|
+
encodeURIComponent(String(name))
|
|
2457
|
+
);
|
|
1962
2458
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1963
2459
|
let baseOptions;
|
|
1964
2460
|
if (configuration) {
|
|
@@ -1981,7 +2477,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1981
2477
|
},
|
|
1982
2478
|
getComment: async (name, options = {}) => {
|
|
1983
2479
|
assertParamExists("getComment", "name", name);
|
|
1984
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}`.replace(
|
|
2480
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}`.replace(
|
|
2481
|
+
`{${"name"}}`,
|
|
2482
|
+
encodeURIComponent(String(name))
|
|
2483
|
+
);
|
|
1985
2484
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1986
2485
|
let baseOptions;
|
|
1987
2486
|
if (configuration) {
|
|
@@ -2002,7 +2501,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
2002
2501
|
},
|
|
2003
2502
|
listCommentReplies: async (name, size, page, options = {}) => {
|
|
2004
2503
|
assertParamExists("listCommentReplies", "name", name);
|
|
2005
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2504
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2505
|
+
`{${"name"}}`,
|
|
2506
|
+
encodeURIComponent(String(name))
|
|
2507
|
+
);
|
|
2006
2508
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2007
2509
|
let baseOptions;
|
|
2008
2510
|
if (configuration) {
|
|
@@ -2048,12 +2550,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
2048
2550
|
if (version !== void 0) {
|
|
2049
2551
|
localVarQueryParameter["version"] = version;
|
|
2050
2552
|
}
|
|
2051
|
-
if (kind !== void 0) {
|
|
2052
|
-
localVarQueryParameter["kind"] = kind;
|
|
2053
|
-
}
|
|
2054
2553
|
if (group !== void 0) {
|
|
2055
2554
|
localVarQueryParameter["group"] = group;
|
|
2056
2555
|
}
|
|
2556
|
+
if (kind !== void 0) {
|
|
2557
|
+
localVarQueryParameter["kind"] = kind;
|
|
2558
|
+
}
|
|
2057
2559
|
if (size !== void 0) {
|
|
2058
2560
|
localVarQueryParameter["size"] = size;
|
|
2059
2561
|
}
|
|
@@ -2090,7 +2592,15 @@ const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2090
2592
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2091
2593
|
},
|
|
2092
2594
|
async listComments1(name, version, kind, group, size, page, options) {
|
|
2093
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments1(
|
|
2595
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments1(
|
|
2596
|
+
name,
|
|
2597
|
+
version,
|
|
2598
|
+
kind,
|
|
2599
|
+
group,
|
|
2600
|
+
size,
|
|
2601
|
+
page,
|
|
2602
|
+
options
|
|
2603
|
+
);
|
|
2094
2604
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2095
2605
|
}
|
|
2096
2606
|
};
|
|
@@ -2098,20 +2608,28 @@ const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2098
2608
|
const ApiHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
2099
2609
|
const localVarFp = ApiHaloRunV1alpha1CommentApiFp(configuration);
|
|
2100
2610
|
return {
|
|
2101
|
-
createComment1(
|
|
2102
|
-
return localVarFp.createComment1(commentRequest, options).then((request) => request(axios, basePath));
|
|
2103
|
-
},
|
|
2104
|
-
createReply1(
|
|
2105
|
-
return localVarFp.createReply1(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
2106
|
-
},
|
|
2107
|
-
getComment(
|
|
2108
|
-
return localVarFp.getComment(name, options).then((request) => request(axios, basePath));
|
|
2109
|
-
},
|
|
2110
|
-
listCommentReplies(
|
|
2111
|
-
return localVarFp.listCommentReplies(name, size, page, options).then((request) => request(axios, basePath));
|
|
2112
|
-
},
|
|
2113
|
-
listComments1(
|
|
2114
|
-
return localVarFp.listComments1(
|
|
2611
|
+
createComment1(requestParameters, options) {
|
|
2612
|
+
return localVarFp.createComment1(requestParameters.commentRequest, options).then((request) => request(axios, basePath));
|
|
2613
|
+
},
|
|
2614
|
+
createReply1(requestParameters, options) {
|
|
2615
|
+
return localVarFp.createReply1(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(axios, basePath));
|
|
2616
|
+
},
|
|
2617
|
+
getComment(requestParameters, options) {
|
|
2618
|
+
return localVarFp.getComment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2619
|
+
},
|
|
2620
|
+
listCommentReplies(requestParameters, options) {
|
|
2621
|
+
return localVarFp.listCommentReplies(requestParameters.name, requestParameters.size, requestParameters.page, options).then((request) => request(axios, basePath));
|
|
2622
|
+
},
|
|
2623
|
+
listComments1(requestParameters, options) {
|
|
2624
|
+
return localVarFp.listComments1(
|
|
2625
|
+
requestParameters.name,
|
|
2626
|
+
requestParameters.version,
|
|
2627
|
+
requestParameters.kind,
|
|
2628
|
+
requestParameters.group,
|
|
2629
|
+
requestParameters.size,
|
|
2630
|
+
requestParameters.page,
|
|
2631
|
+
options
|
|
2632
|
+
).then((request) => request(axios, basePath));
|
|
2115
2633
|
}
|
|
2116
2634
|
};
|
|
2117
2635
|
};
|
|
@@ -2129,13 +2647,21 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
2129
2647
|
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listCommentReplies(requestParameters.name, requestParameters.size, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
2130
2648
|
}
|
|
2131
2649
|
listComments1(requestParameters, options) {
|
|
2132
|
-
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments1(
|
|
2650
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments1(
|
|
2651
|
+
requestParameters.name,
|
|
2652
|
+
requestParameters.version,
|
|
2653
|
+
requestParameters.kind,
|
|
2654
|
+
requestParameters.group,
|
|
2655
|
+
requestParameters.size,
|
|
2656
|
+
requestParameters.page,
|
|
2657
|
+
options
|
|
2658
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2133
2659
|
}
|
|
2134
2660
|
}
|
|
2135
2661
|
|
|
2136
2662
|
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
2137
2663
|
return {
|
|
2138
|
-
searchPost: async (keyword, highlightPreTag, highlightPostTag,
|
|
2664
|
+
searchPost: async (keyword, limit, highlightPreTag, highlightPostTag, options = {}) => {
|
|
2139
2665
|
assertParamExists("searchPost", "keyword", keyword);
|
|
2140
2666
|
const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
|
|
2141
2667
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2148,18 +2674,18 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2148
2674
|
const localVarQueryParameter = {};
|
|
2149
2675
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2150
2676
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2677
|
+
if (keyword !== void 0) {
|
|
2678
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
2679
|
+
}
|
|
2680
|
+
if (limit !== void 0) {
|
|
2681
|
+
localVarQueryParameter["limit"] = limit;
|
|
2682
|
+
}
|
|
2151
2683
|
if (highlightPreTag !== void 0) {
|
|
2152
2684
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
2153
2685
|
}
|
|
2154
2686
|
if (highlightPostTag !== void 0) {
|
|
2155
2687
|
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
2156
2688
|
}
|
|
2157
|
-
if (limit !== void 0) {
|
|
2158
|
-
localVarQueryParameter["limit"] = limit;
|
|
2159
|
-
}
|
|
2160
|
-
if (keyword !== void 0) {
|
|
2161
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
2162
|
-
}
|
|
2163
2689
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2164
2690
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2165
2691
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2173,8 +2699,14 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2173
2699
|
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
2174
2700
|
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
2175
2701
|
return {
|
|
2176
|
-
async searchPost(keyword, highlightPreTag, highlightPostTag,
|
|
2177
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(
|
|
2702
|
+
async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
2703
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(
|
|
2704
|
+
keyword,
|
|
2705
|
+
limit,
|
|
2706
|
+
highlightPreTag,
|
|
2707
|
+
highlightPostTag,
|
|
2708
|
+
options
|
|
2709
|
+
);
|
|
2178
2710
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2179
2711
|
}
|
|
2180
2712
|
};
|
|
@@ -2182,14 +2714,26 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2182
2714
|
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
2183
2715
|
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
2184
2716
|
return {
|
|
2185
|
-
searchPost(
|
|
2186
|
-
return localVarFp.searchPost(
|
|
2717
|
+
searchPost(requestParameters, options) {
|
|
2718
|
+
return localVarFp.searchPost(
|
|
2719
|
+
requestParameters.keyword,
|
|
2720
|
+
requestParameters.limit,
|
|
2721
|
+
requestParameters.highlightPreTag,
|
|
2722
|
+
requestParameters.highlightPostTag,
|
|
2723
|
+
options
|
|
2724
|
+
).then((request) => request(axios, basePath));
|
|
2187
2725
|
}
|
|
2188
2726
|
};
|
|
2189
2727
|
};
|
|
2190
2728
|
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
2191
2729
|
searchPost(requestParameters, options) {
|
|
2192
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(
|
|
2730
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(
|
|
2731
|
+
requestParameters.keyword,
|
|
2732
|
+
requestParameters.limit,
|
|
2733
|
+
requestParameters.highlightPreTag,
|
|
2734
|
+
requestParameters.highlightPostTag,
|
|
2735
|
+
options
|
|
2736
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2193
2737
|
}
|
|
2194
2738
|
}
|
|
2195
2739
|
|
|
@@ -2286,14 +2830,14 @@ const ApiHaloRunV1alpha1TrackerApiFp = function(configuration) {
|
|
|
2286
2830
|
const ApiHaloRunV1alpha1TrackerApiFactory = function(configuration, basePath, axios) {
|
|
2287
2831
|
const localVarFp = ApiHaloRunV1alpha1TrackerApiFp(configuration);
|
|
2288
2832
|
return {
|
|
2289
|
-
count(
|
|
2290
|
-
return localVarFp.count(counterRequest, options).then((request) => request(axios, basePath));
|
|
2833
|
+
count(requestParameters, options) {
|
|
2834
|
+
return localVarFp.count(requestParameters.counterRequest, options).then((request) => request(axios, basePath));
|
|
2291
2835
|
},
|
|
2292
|
-
downvote(
|
|
2293
|
-
return localVarFp.downvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
2836
|
+
downvote(requestParameters, options) {
|
|
2837
|
+
return localVarFp.downvote(requestParameters.voteRequest, options).then((request) => request(axios, basePath));
|
|
2294
2838
|
},
|
|
2295
|
-
upvote(
|
|
2296
|
-
return localVarFp.upvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
2839
|
+
upvote(requestParameters, options) {
|
|
2840
|
+
return localVarFp.upvote(requestParameters.voteRequest, options).then((request) => request(axios, basePath));
|
|
2297
2841
|
}
|
|
2298
2842
|
};
|
|
2299
2843
|
};
|
|
@@ -2335,7 +2879,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2335
2879
|
},
|
|
2336
2880
|
deletecontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
2337
2881
|
assertParamExists("deletecontentHaloRunV1alpha1Category", "name", name);
|
|
2338
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2882
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2883
|
+
`{${"name"}}`,
|
|
2884
|
+
encodeURIComponent(String(name))
|
|
2885
|
+
);
|
|
2339
2886
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2340
2887
|
let baseOptions;
|
|
2341
2888
|
if (configuration) {
|
|
@@ -2356,7 +2903,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2356
2903
|
},
|
|
2357
2904
|
getcontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
2358
2905
|
assertParamExists("getcontentHaloRunV1alpha1Category", "name", name);
|
|
2359
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2906
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2907
|
+
`{${"name"}}`,
|
|
2908
|
+
encodeURIComponent(String(name))
|
|
2909
|
+
);
|
|
2360
2910
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2361
2911
|
let baseOptions;
|
|
2362
2912
|
if (configuration) {
|
|
@@ -2409,7 +2959,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2409
2959
|
},
|
|
2410
2960
|
updatecontentHaloRunV1alpha1Category: async (name, category, options = {}) => {
|
|
2411
2961
|
assertParamExists("updatecontentHaloRunV1alpha1Category", "name", name);
|
|
2412
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2962
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2963
|
+
`{${"name"}}`,
|
|
2964
|
+
encodeURIComponent(String(name))
|
|
2965
|
+
);
|
|
2413
2966
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2414
2967
|
let baseOptions;
|
|
2415
2968
|
if (configuration) {
|
|
@@ -2448,11 +3001,21 @@ const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
|
|
|
2448
3001
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2449
3002
|
},
|
|
2450
3003
|
async listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
|
|
2451
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(
|
|
3004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(
|
|
3005
|
+
page,
|
|
3006
|
+
size,
|
|
3007
|
+
labelSelector,
|
|
3008
|
+
fieldSelector,
|
|
3009
|
+
options
|
|
3010
|
+
);
|
|
2452
3011
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2453
3012
|
},
|
|
2454
3013
|
async updatecontentHaloRunV1alpha1Category(name, category, options) {
|
|
2455
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(
|
|
3014
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(
|
|
3015
|
+
name,
|
|
3016
|
+
category,
|
|
3017
|
+
options
|
|
3018
|
+
);
|
|
2456
3019
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2457
3020
|
}
|
|
2458
3021
|
};
|
|
@@ -2460,20 +3023,26 @@ const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
|
|
|
2460
3023
|
const ContentHaloRunV1alpha1CategoryApiFactory = function(configuration, basePath, axios) {
|
|
2461
3024
|
const localVarFp = ContentHaloRunV1alpha1CategoryApiFp(configuration);
|
|
2462
3025
|
return {
|
|
2463
|
-
createcontentHaloRunV1alpha1Category(
|
|
2464
|
-
return localVarFp.createcontentHaloRunV1alpha1Category(category, options).then((request) => request(axios, basePath));
|
|
2465
|
-
},
|
|
2466
|
-
deletecontentHaloRunV1alpha1Category(
|
|
2467
|
-
return localVarFp.deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
2468
|
-
},
|
|
2469
|
-
getcontentHaloRunV1alpha1Category(
|
|
2470
|
-
return localVarFp.getcontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
2471
|
-
},
|
|
2472
|
-
listcontentHaloRunV1alpha1Category(
|
|
2473
|
-
return localVarFp.listcontentHaloRunV1alpha1Category(
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
3026
|
+
createcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
3027
|
+
return localVarFp.createcontentHaloRunV1alpha1Category(requestParameters.category, options).then((request) => request(axios, basePath));
|
|
3028
|
+
},
|
|
3029
|
+
deletecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3030
|
+
return localVarFp.deletecontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3031
|
+
},
|
|
3032
|
+
getcontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3033
|
+
return localVarFp.getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3034
|
+
},
|
|
3035
|
+
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
3036
|
+
return localVarFp.listcontentHaloRunV1alpha1Category(
|
|
3037
|
+
requestParameters.page,
|
|
3038
|
+
requestParameters.size,
|
|
3039
|
+
requestParameters.labelSelector,
|
|
3040
|
+
requestParameters.fieldSelector,
|
|
3041
|
+
options
|
|
3042
|
+
).then((request) => request(axios, basePath));
|
|
3043
|
+
},
|
|
3044
|
+
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3045
|
+
return localVarFp.updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(axios, basePath));
|
|
2477
3046
|
}
|
|
2478
3047
|
};
|
|
2479
3048
|
};
|
|
@@ -2488,7 +3057,13 @@ class ContentHaloRunV1alpha1CategoryApi extends BaseAPI {
|
|
|
2488
3057
|
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2489
3058
|
}
|
|
2490
3059
|
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
2491
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(
|
|
3060
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(
|
|
3061
|
+
requestParameters.page,
|
|
3062
|
+
requestParameters.size,
|
|
3063
|
+
requestParameters.labelSelector,
|
|
3064
|
+
requestParameters.fieldSelector,
|
|
3065
|
+
options
|
|
3066
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2492
3067
|
}
|
|
2493
3068
|
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
2494
3069
|
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2521,7 +3096,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2521
3096
|
},
|
|
2522
3097
|
deletecontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
2523
3098
|
assertParamExists("deletecontentHaloRunV1alpha1Comment", "name", name);
|
|
2524
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3099
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3100
|
+
`{${"name"}}`,
|
|
3101
|
+
encodeURIComponent(String(name))
|
|
3102
|
+
);
|
|
2525
3103
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2526
3104
|
let baseOptions;
|
|
2527
3105
|
if (configuration) {
|
|
@@ -2542,7 +3120,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2542
3120
|
},
|
|
2543
3121
|
getcontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
2544
3122
|
assertParamExists("getcontentHaloRunV1alpha1Comment", "name", name);
|
|
2545
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3123
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3124
|
+
`{${"name"}}`,
|
|
3125
|
+
encodeURIComponent(String(name))
|
|
3126
|
+
);
|
|
2546
3127
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2547
3128
|
let baseOptions;
|
|
2548
3129
|
if (configuration) {
|
|
@@ -2595,7 +3176,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2595
3176
|
},
|
|
2596
3177
|
updatecontentHaloRunV1alpha1Comment: async (name, comment, options = {}) => {
|
|
2597
3178
|
assertParamExists("updatecontentHaloRunV1alpha1Comment", "name", name);
|
|
2598
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3179
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3180
|
+
`{${"name"}}`,
|
|
3181
|
+
encodeURIComponent(String(name))
|
|
3182
|
+
);
|
|
2599
3183
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2600
3184
|
let baseOptions;
|
|
2601
3185
|
if (configuration) {
|
|
@@ -2634,11 +3218,21 @@ const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2634
3218
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2635
3219
|
},
|
|
2636
3220
|
async listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
|
|
2637
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(
|
|
3221
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(
|
|
3222
|
+
page,
|
|
3223
|
+
size,
|
|
3224
|
+
labelSelector,
|
|
3225
|
+
fieldSelector,
|
|
3226
|
+
options
|
|
3227
|
+
);
|
|
2638
3228
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2639
3229
|
},
|
|
2640
3230
|
async updatecontentHaloRunV1alpha1Comment(name, comment, options) {
|
|
2641
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(
|
|
3231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(
|
|
3232
|
+
name,
|
|
3233
|
+
comment,
|
|
3234
|
+
options
|
|
3235
|
+
);
|
|
2642
3236
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2643
3237
|
}
|
|
2644
3238
|
};
|
|
@@ -2646,20 +3240,26 @@ const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2646
3240
|
const ContentHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
2647
3241
|
const localVarFp = ContentHaloRunV1alpha1CommentApiFp(configuration);
|
|
2648
3242
|
return {
|
|
2649
|
-
createcontentHaloRunV1alpha1Comment(
|
|
2650
|
-
return localVarFp.createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(axios, basePath));
|
|
2651
|
-
},
|
|
2652
|
-
deletecontentHaloRunV1alpha1Comment(
|
|
2653
|
-
return localVarFp.deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
2654
|
-
},
|
|
2655
|
-
getcontentHaloRunV1alpha1Comment(
|
|
2656
|
-
return localVarFp.getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
2657
|
-
},
|
|
2658
|
-
listcontentHaloRunV1alpha1Comment(
|
|
2659
|
-
return localVarFp.listcontentHaloRunV1alpha1Comment(
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
3243
|
+
createcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
3244
|
+
return localVarFp.createcontentHaloRunV1alpha1Comment(requestParameters.comment, options).then((request) => request(axios, basePath));
|
|
3245
|
+
},
|
|
3246
|
+
deletecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3247
|
+
return localVarFp.deletecontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3248
|
+
},
|
|
3249
|
+
getcontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3250
|
+
return localVarFp.getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3251
|
+
},
|
|
3252
|
+
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
3253
|
+
return localVarFp.listcontentHaloRunV1alpha1Comment(
|
|
3254
|
+
requestParameters.page,
|
|
3255
|
+
requestParameters.size,
|
|
3256
|
+
requestParameters.labelSelector,
|
|
3257
|
+
requestParameters.fieldSelector,
|
|
3258
|
+
options
|
|
3259
|
+
).then((request) => request(axios, basePath));
|
|
3260
|
+
},
|
|
3261
|
+
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3262
|
+
return localVarFp.updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(axios, basePath));
|
|
2663
3263
|
}
|
|
2664
3264
|
};
|
|
2665
3265
|
};
|
|
@@ -2674,7 +3274,13 @@ class ContentHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
2674
3274
|
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2675
3275
|
}
|
|
2676
3276
|
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
2677
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(
|
|
3277
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(
|
|
3278
|
+
requestParameters.page,
|
|
3279
|
+
requestParameters.size,
|
|
3280
|
+
requestParameters.labelSelector,
|
|
3281
|
+
requestParameters.fieldSelector,
|
|
3282
|
+
options
|
|
3283
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2678
3284
|
}
|
|
2679
3285
|
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
2680
3286
|
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2707,7 +3313,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2707
3313
|
},
|
|
2708
3314
|
deletecontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
2709
3315
|
assertParamExists("deletecontentHaloRunV1alpha1Post", "name", name);
|
|
2710
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3316
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3317
|
+
`{${"name"}}`,
|
|
3318
|
+
encodeURIComponent(String(name))
|
|
3319
|
+
);
|
|
2711
3320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2712
3321
|
let baseOptions;
|
|
2713
3322
|
if (configuration) {
|
|
@@ -2728,7 +3337,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2728
3337
|
},
|
|
2729
3338
|
getcontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
2730
3339
|
assertParamExists("getcontentHaloRunV1alpha1Post", "name", name);
|
|
2731
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3340
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3341
|
+
`{${"name"}}`,
|
|
3342
|
+
encodeURIComponent(String(name))
|
|
3343
|
+
);
|
|
2732
3344
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2733
3345
|
let baseOptions;
|
|
2734
3346
|
if (configuration) {
|
|
@@ -2781,7 +3393,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2781
3393
|
},
|
|
2782
3394
|
updatecontentHaloRunV1alpha1Post: async (name, post, options = {}) => {
|
|
2783
3395
|
assertParamExists("updatecontentHaloRunV1alpha1Post", "name", name);
|
|
2784
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3396
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3397
|
+
`{${"name"}}`,
|
|
3398
|
+
encodeURIComponent(String(name))
|
|
3399
|
+
);
|
|
2785
3400
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2786
3401
|
let baseOptions;
|
|
2787
3402
|
if (configuration) {
|
|
@@ -2820,7 +3435,13 @@ const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2820
3435
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2821
3436
|
},
|
|
2822
3437
|
async listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
|
|
2823
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(
|
|
3438
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(
|
|
3439
|
+
page,
|
|
3440
|
+
size,
|
|
3441
|
+
labelSelector,
|
|
3442
|
+
fieldSelector,
|
|
3443
|
+
options
|
|
3444
|
+
);
|
|
2824
3445
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2825
3446
|
},
|
|
2826
3447
|
async updatecontentHaloRunV1alpha1Post(name, post, options) {
|
|
@@ -2832,20 +3453,26 @@ const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2832
3453
|
const ContentHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
2833
3454
|
const localVarFp = ContentHaloRunV1alpha1PostApiFp(configuration);
|
|
2834
3455
|
return {
|
|
2835
|
-
createcontentHaloRunV1alpha1Post(
|
|
2836
|
-
return localVarFp.createcontentHaloRunV1alpha1Post(post, options).then((request) => request(axios, basePath));
|
|
2837
|
-
},
|
|
2838
|
-
deletecontentHaloRunV1alpha1Post(
|
|
2839
|
-
return localVarFp.deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
2840
|
-
},
|
|
2841
|
-
getcontentHaloRunV1alpha1Post(
|
|
2842
|
-
return localVarFp.getcontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
2843
|
-
},
|
|
2844
|
-
listcontentHaloRunV1alpha1Post(
|
|
2845
|
-
return localVarFp.listcontentHaloRunV1alpha1Post(
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
3456
|
+
createcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
3457
|
+
return localVarFp.createcontentHaloRunV1alpha1Post(requestParameters.post, options).then((request) => request(axios, basePath));
|
|
3458
|
+
},
|
|
3459
|
+
deletecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3460
|
+
return localVarFp.deletecontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3461
|
+
},
|
|
3462
|
+
getcontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3463
|
+
return localVarFp.getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3464
|
+
},
|
|
3465
|
+
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
3466
|
+
return localVarFp.listcontentHaloRunV1alpha1Post(
|
|
3467
|
+
requestParameters.page,
|
|
3468
|
+
requestParameters.size,
|
|
3469
|
+
requestParameters.labelSelector,
|
|
3470
|
+
requestParameters.fieldSelector,
|
|
3471
|
+
options
|
|
3472
|
+
).then((request) => request(axios, basePath));
|
|
3473
|
+
},
|
|
3474
|
+
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3475
|
+
return localVarFp.updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(axios, basePath));
|
|
2849
3476
|
}
|
|
2850
3477
|
};
|
|
2851
3478
|
};
|
|
@@ -2860,7 +3487,13 @@ class ContentHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
2860
3487
|
return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2861
3488
|
}
|
|
2862
3489
|
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
2863
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(
|
|
3490
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(
|
|
3491
|
+
requestParameters.page,
|
|
3492
|
+
requestParameters.size,
|
|
3493
|
+
requestParameters.labelSelector,
|
|
3494
|
+
requestParameters.fieldSelector,
|
|
3495
|
+
options
|
|
3496
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2864
3497
|
}
|
|
2865
3498
|
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
2866
3499
|
return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2893,7 +3526,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2893
3526
|
},
|
|
2894
3527
|
deletecontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
2895
3528
|
assertParamExists("deletecontentHaloRunV1alpha1Reply", "name", name);
|
|
2896
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3529
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3530
|
+
`{${"name"}}`,
|
|
3531
|
+
encodeURIComponent(String(name))
|
|
3532
|
+
);
|
|
2897
3533
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2898
3534
|
let baseOptions;
|
|
2899
3535
|
if (configuration) {
|
|
@@ -2914,7 +3550,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2914
3550
|
},
|
|
2915
3551
|
getcontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
2916
3552
|
assertParamExists("getcontentHaloRunV1alpha1Reply", "name", name);
|
|
2917
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3553
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3554
|
+
`{${"name"}}`,
|
|
3555
|
+
encodeURIComponent(String(name))
|
|
3556
|
+
);
|
|
2918
3557
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2919
3558
|
let baseOptions;
|
|
2920
3559
|
if (configuration) {
|
|
@@ -2967,7 +3606,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2967
3606
|
},
|
|
2968
3607
|
updatecontentHaloRunV1alpha1Reply: async (name, reply, options = {}) => {
|
|
2969
3608
|
assertParamExists("updatecontentHaloRunV1alpha1Reply", "name", name);
|
|
2970
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3609
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3610
|
+
`{${"name"}}`,
|
|
3611
|
+
encodeURIComponent(String(name))
|
|
3612
|
+
);
|
|
2971
3613
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2972
3614
|
let baseOptions;
|
|
2973
3615
|
if (configuration) {
|
|
@@ -3006,7 +3648,13 @@ const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
3006
3648
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3007
3649
|
},
|
|
3008
3650
|
async listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
|
|
3009
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(
|
|
3651
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(
|
|
3652
|
+
page,
|
|
3653
|
+
size,
|
|
3654
|
+
labelSelector,
|
|
3655
|
+
fieldSelector,
|
|
3656
|
+
options
|
|
3657
|
+
);
|
|
3010
3658
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3011
3659
|
},
|
|
3012
3660
|
async updatecontentHaloRunV1alpha1Reply(name, reply, options) {
|
|
@@ -3018,20 +3666,26 @@ const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
3018
3666
|
const ContentHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
3019
3667
|
const localVarFp = ContentHaloRunV1alpha1ReplyApiFp(configuration);
|
|
3020
3668
|
return {
|
|
3021
|
-
createcontentHaloRunV1alpha1Reply(
|
|
3022
|
-
return localVarFp.createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(axios, basePath));
|
|
3023
|
-
},
|
|
3024
|
-
deletecontentHaloRunV1alpha1Reply(
|
|
3025
|
-
return localVarFp.deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
3026
|
-
},
|
|
3027
|
-
getcontentHaloRunV1alpha1Reply(
|
|
3028
|
-
return localVarFp.getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
3029
|
-
},
|
|
3030
|
-
listcontentHaloRunV1alpha1Reply(
|
|
3031
|
-
return localVarFp.listcontentHaloRunV1alpha1Reply(
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3669
|
+
createcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3670
|
+
return localVarFp.createcontentHaloRunV1alpha1Reply(requestParameters.reply, options).then((request) => request(axios, basePath));
|
|
3671
|
+
},
|
|
3672
|
+
deletecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3673
|
+
return localVarFp.deletecontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3674
|
+
},
|
|
3675
|
+
getcontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3676
|
+
return localVarFp.getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3677
|
+
},
|
|
3678
|
+
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3679
|
+
return localVarFp.listcontentHaloRunV1alpha1Reply(
|
|
3680
|
+
requestParameters.page,
|
|
3681
|
+
requestParameters.size,
|
|
3682
|
+
requestParameters.labelSelector,
|
|
3683
|
+
requestParameters.fieldSelector,
|
|
3684
|
+
options
|
|
3685
|
+
).then((request) => request(axios, basePath));
|
|
3686
|
+
},
|
|
3687
|
+
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3688
|
+
return localVarFp.updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(axios, basePath));
|
|
3035
3689
|
}
|
|
3036
3690
|
};
|
|
3037
3691
|
};
|
|
@@ -3046,7 +3700,13 @@ class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
|
3046
3700
|
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3047
3701
|
}
|
|
3048
3702
|
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3049
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(
|
|
3703
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(
|
|
3704
|
+
requestParameters.page,
|
|
3705
|
+
requestParameters.size,
|
|
3706
|
+
requestParameters.labelSelector,
|
|
3707
|
+
requestParameters.fieldSelector,
|
|
3708
|
+
options
|
|
3709
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3050
3710
|
}
|
|
3051
3711
|
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3052
3712
|
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3079,7 +3739,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3079
3739
|
},
|
|
3080
3740
|
deletecontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
3081
3741
|
assertParamExists("deletecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3082
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3742
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3743
|
+
`{${"name"}}`,
|
|
3744
|
+
encodeURIComponent(String(name))
|
|
3745
|
+
);
|
|
3083
3746
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3084
3747
|
let baseOptions;
|
|
3085
3748
|
if (configuration) {
|
|
@@ -3100,7 +3763,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3100
3763
|
},
|
|
3101
3764
|
getcontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
3102
3765
|
assertParamExists("getcontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3103
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3766
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3767
|
+
`{${"name"}}`,
|
|
3768
|
+
encodeURIComponent(String(name))
|
|
3769
|
+
);
|
|
3104
3770
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3105
3771
|
let baseOptions;
|
|
3106
3772
|
if (configuration) {
|
|
@@ -3153,7 +3819,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3153
3819
|
},
|
|
3154
3820
|
updatecontentHaloRunV1alpha1SinglePage: async (name, singlePage, options = {}) => {
|
|
3155
3821
|
assertParamExists("updatecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3156
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3822
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3823
|
+
`{${"name"}}`,
|
|
3824
|
+
encodeURIComponent(String(name))
|
|
3825
|
+
);
|
|
3157
3826
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3158
3827
|
let baseOptions;
|
|
3159
3828
|
if (configuration) {
|
|
@@ -3180,7 +3849,10 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3180
3849
|
const localVarAxiosParamCreator = ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
|
|
3181
3850
|
return {
|
|
3182
3851
|
async createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
|
|
3183
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(
|
|
3852
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(
|
|
3853
|
+
singlePage,
|
|
3854
|
+
options
|
|
3855
|
+
);
|
|
3184
3856
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3185
3857
|
},
|
|
3186
3858
|
async deletecontentHaloRunV1alpha1SinglePage(name, options) {
|
|
@@ -3192,11 +3864,21 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3192
3864
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3193
3865
|
},
|
|
3194
3866
|
async listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
|
|
3195
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(
|
|
3867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(
|
|
3868
|
+
page,
|
|
3869
|
+
size,
|
|
3870
|
+
labelSelector,
|
|
3871
|
+
fieldSelector,
|
|
3872
|
+
options
|
|
3873
|
+
);
|
|
3196
3874
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3197
3875
|
},
|
|
3198
3876
|
async updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
|
|
3199
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(
|
|
3877
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(
|
|
3878
|
+
name,
|
|
3879
|
+
singlePage,
|
|
3880
|
+
options
|
|
3881
|
+
);
|
|
3200
3882
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3201
3883
|
}
|
|
3202
3884
|
};
|
|
@@ -3204,20 +3886,26 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3204
3886
|
const ContentHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
3205
3887
|
const localVarFp = ContentHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
3206
3888
|
return {
|
|
3207
|
-
createcontentHaloRunV1alpha1SinglePage(
|
|
3208
|
-
return localVarFp.createcontentHaloRunV1alpha1SinglePage(singlePage, options).then((request) => request(axios, basePath));
|
|
3209
|
-
},
|
|
3210
|
-
deletecontentHaloRunV1alpha1SinglePage(
|
|
3211
|
-
return localVarFp.deletecontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
3212
|
-
},
|
|
3213
|
-
getcontentHaloRunV1alpha1SinglePage(
|
|
3214
|
-
return localVarFp.getcontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
3215
|
-
},
|
|
3216
|
-
listcontentHaloRunV1alpha1SinglePage(
|
|
3217
|
-
return localVarFp.listcontentHaloRunV1alpha1SinglePage(
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3889
|
+
createcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3890
|
+
return localVarFp.createcontentHaloRunV1alpha1SinglePage(requestParameters.singlePage, options).then((request) => request(axios, basePath));
|
|
3891
|
+
},
|
|
3892
|
+
deletecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3893
|
+
return localVarFp.deletecontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3894
|
+
},
|
|
3895
|
+
getcontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3896
|
+
return localVarFp.getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3897
|
+
},
|
|
3898
|
+
listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3899
|
+
return localVarFp.listcontentHaloRunV1alpha1SinglePage(
|
|
3900
|
+
requestParameters.page,
|
|
3901
|
+
requestParameters.size,
|
|
3902
|
+
requestParameters.labelSelector,
|
|
3903
|
+
requestParameters.fieldSelector,
|
|
3904
|
+
options
|
|
3905
|
+
).then((request) => request(axios, basePath));
|
|
3906
|
+
},
|
|
3907
|
+
updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3908
|
+
return localVarFp.updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(axios, basePath));
|
|
3221
3909
|
}
|
|
3222
3910
|
};
|
|
3223
3911
|
};
|
|
@@ -3232,7 +3920,13 @@ class ContentHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
3232
3920
|
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3233
3921
|
}
|
|
3234
3922
|
listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3235
|
-
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(
|
|
3923
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(
|
|
3924
|
+
requestParameters.page,
|
|
3925
|
+
requestParameters.size,
|
|
3926
|
+
requestParameters.labelSelector,
|
|
3927
|
+
requestParameters.fieldSelector,
|
|
3928
|
+
options
|
|
3929
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3236
3930
|
}
|
|
3237
3931
|
updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3238
3932
|
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3265,7 +3959,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3265
3959
|
},
|
|
3266
3960
|
deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
3267
3961
|
assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3268
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3962
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3963
|
+
`{${"name"}}`,
|
|
3964
|
+
encodeURIComponent(String(name))
|
|
3965
|
+
);
|
|
3269
3966
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3270
3967
|
let baseOptions;
|
|
3271
3968
|
if (configuration) {
|
|
@@ -3286,7 +3983,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3286
3983
|
},
|
|
3287
3984
|
getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
3288
3985
|
assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3289
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3986
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3987
|
+
`{${"name"}}`,
|
|
3988
|
+
encodeURIComponent(String(name))
|
|
3989
|
+
);
|
|
3290
3990
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3291
3991
|
let baseOptions;
|
|
3292
3992
|
if (configuration) {
|
|
@@ -3339,7 +4039,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3339
4039
|
},
|
|
3340
4040
|
updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
|
|
3341
4041
|
assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3342
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
4042
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
4043
|
+
`{${"name"}}`,
|
|
4044
|
+
encodeURIComponent(String(name))
|
|
4045
|
+
);
|
|
3343
4046
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3344
4047
|
let baseOptions;
|
|
3345
4048
|
if (configuration) {
|
|
@@ -3378,11 +4081,21 @@ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
|
3378
4081
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3379
4082
|
},
|
|
3380
4083
|
async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
3381
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(
|
|
4084
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(
|
|
4085
|
+
page,
|
|
4086
|
+
size,
|
|
4087
|
+
labelSelector,
|
|
4088
|
+
fieldSelector,
|
|
4089
|
+
options
|
|
4090
|
+
);
|
|
3382
4091
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3383
4092
|
},
|
|
3384
4093
|
async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
3385
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(
|
|
4094
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(
|
|
4095
|
+
name,
|
|
4096
|
+
snapshot,
|
|
4097
|
+
options
|
|
4098
|
+
);
|
|
3386
4099
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3387
4100
|
}
|
|
3388
4101
|
};
|
|
@@ -3390,20 +4103,26 @@ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
|
3390
4103
|
const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
|
|
3391
4104
|
const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
|
|
3392
4105
|
return {
|
|
3393
|
-
createcontentHaloRunV1alpha1Snapshot(
|
|
3394
|
-
return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
|
|
3395
|
-
},
|
|
3396
|
-
deletecontentHaloRunV1alpha1Snapshot(
|
|
3397
|
-
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
3398
|
-
},
|
|
3399
|
-
getcontentHaloRunV1alpha1Snapshot(
|
|
3400
|
-
return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
3401
|
-
},
|
|
3402
|
-
listcontentHaloRunV1alpha1Snapshot(
|
|
3403
|
-
return localVarFp.listcontentHaloRunV1alpha1Snapshot(
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
4106
|
+
createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
4107
|
+
return localVarFp.createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(axios, basePath));
|
|
4108
|
+
},
|
|
4109
|
+
deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4110
|
+
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4111
|
+
},
|
|
4112
|
+
getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4113
|
+
return localVarFp.getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4114
|
+
},
|
|
4115
|
+
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
4116
|
+
return localVarFp.listcontentHaloRunV1alpha1Snapshot(
|
|
4117
|
+
requestParameters.page,
|
|
4118
|
+
requestParameters.size,
|
|
4119
|
+
requestParameters.labelSelector,
|
|
4120
|
+
requestParameters.fieldSelector,
|
|
4121
|
+
options
|
|
4122
|
+
).then((request) => request(axios, basePath));
|
|
4123
|
+
},
|
|
4124
|
+
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4125
|
+
return localVarFp.updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(axios, basePath));
|
|
3407
4126
|
}
|
|
3408
4127
|
};
|
|
3409
4128
|
};
|
|
@@ -3418,7 +4137,13 @@ class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
|
|
|
3418
4137
|
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3419
4138
|
}
|
|
3420
4139
|
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
3421
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(
|
|
4140
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(
|
|
4141
|
+
requestParameters.page,
|
|
4142
|
+
requestParameters.size,
|
|
4143
|
+
requestParameters.labelSelector,
|
|
4144
|
+
requestParameters.fieldSelector,
|
|
4145
|
+
options
|
|
4146
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3422
4147
|
}
|
|
3423
4148
|
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
3424
4149
|
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3451,7 +4176,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3451
4176
|
},
|
|
3452
4177
|
deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
3453
4178
|
assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
|
|
3454
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4179
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4180
|
+
`{${"name"}}`,
|
|
4181
|
+
encodeURIComponent(String(name))
|
|
4182
|
+
);
|
|
3455
4183
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3456
4184
|
let baseOptions;
|
|
3457
4185
|
if (configuration) {
|
|
@@ -3472,7 +4200,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3472
4200
|
},
|
|
3473
4201
|
getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
3474
4202
|
assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
|
|
3475
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4203
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4204
|
+
`{${"name"}}`,
|
|
4205
|
+
encodeURIComponent(String(name))
|
|
4206
|
+
);
|
|
3476
4207
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3477
4208
|
let baseOptions;
|
|
3478
4209
|
if (configuration) {
|
|
@@ -3525,7 +4256,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3525
4256
|
},
|
|
3526
4257
|
updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
|
|
3527
4258
|
assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
|
|
3528
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4259
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4260
|
+
`{${"name"}}`,
|
|
4261
|
+
encodeURIComponent(String(name))
|
|
4262
|
+
);
|
|
3529
4263
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3530
4264
|
let baseOptions;
|
|
3531
4265
|
if (configuration) {
|
|
@@ -3564,7 +4298,13 @@ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
|
3564
4298
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3565
4299
|
},
|
|
3566
4300
|
async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
3567
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(
|
|
4301
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(
|
|
4302
|
+
page,
|
|
4303
|
+
size,
|
|
4304
|
+
labelSelector,
|
|
4305
|
+
fieldSelector,
|
|
4306
|
+
options
|
|
4307
|
+
);
|
|
3568
4308
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3569
4309
|
},
|
|
3570
4310
|
async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
@@ -3576,20 +4316,26 @@ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
|
3576
4316
|
const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
|
|
3577
4317
|
const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
|
|
3578
4318
|
return {
|
|
3579
|
-
createcontentHaloRunV1alpha1Tag(
|
|
3580
|
-
return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
|
|
3581
|
-
},
|
|
3582
|
-
deletecontentHaloRunV1alpha1Tag(
|
|
3583
|
-
return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
3584
|
-
},
|
|
3585
|
-
getcontentHaloRunV1alpha1Tag(
|
|
3586
|
-
return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
3587
|
-
},
|
|
3588
|
-
listcontentHaloRunV1alpha1Tag(
|
|
3589
|
-
return localVarFp.listcontentHaloRunV1alpha1Tag(
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
4319
|
+
createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
4320
|
+
return localVarFp.createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(axios, basePath));
|
|
4321
|
+
},
|
|
4322
|
+
deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4323
|
+
return localVarFp.deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4324
|
+
},
|
|
4325
|
+
getcontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4326
|
+
return localVarFp.getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4327
|
+
},
|
|
4328
|
+
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
4329
|
+
return localVarFp.listcontentHaloRunV1alpha1Tag(
|
|
4330
|
+
requestParameters.page,
|
|
4331
|
+
requestParameters.size,
|
|
4332
|
+
requestParameters.labelSelector,
|
|
4333
|
+
requestParameters.fieldSelector,
|
|
4334
|
+
options
|
|
4335
|
+
).then((request) => request(axios, basePath));
|
|
4336
|
+
},
|
|
4337
|
+
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4338
|
+
return localVarFp.updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(axios, basePath));
|
|
3593
4339
|
}
|
|
3594
4340
|
};
|
|
3595
4341
|
};
|
|
@@ -3604,7 +4350,13 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
3604
4350
|
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3605
4351
|
}
|
|
3606
4352
|
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
3607
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(
|
|
4353
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(
|
|
4354
|
+
requestParameters.page,
|
|
4355
|
+
requestParameters.size,
|
|
4356
|
+
requestParameters.labelSelector,
|
|
4357
|
+
requestParameters.fieldSelector,
|
|
4358
|
+
options
|
|
4359
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3608
4360
|
}
|
|
3609
4361
|
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
3610
4362
|
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3637,7 +4389,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3637
4389
|
},
|
|
3638
4390
|
deletemetricsHaloRunV1alpha1Counter: async (name, options = {}) => {
|
|
3639
4391
|
assertParamExists("deletemetricsHaloRunV1alpha1Counter", "name", name);
|
|
3640
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4392
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4393
|
+
`{${"name"}}`,
|
|
4394
|
+
encodeURIComponent(String(name))
|
|
4395
|
+
);
|
|
3641
4396
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3642
4397
|
let baseOptions;
|
|
3643
4398
|
if (configuration) {
|
|
@@ -3658,7 +4413,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3658
4413
|
},
|
|
3659
4414
|
getmetricsHaloRunV1alpha1Counter: async (name, options = {}) => {
|
|
3660
4415
|
assertParamExists("getmetricsHaloRunV1alpha1Counter", "name", name);
|
|
3661
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4416
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4417
|
+
`{${"name"}}`,
|
|
4418
|
+
encodeURIComponent(String(name))
|
|
4419
|
+
);
|
|
3662
4420
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3663
4421
|
let baseOptions;
|
|
3664
4422
|
if (configuration) {
|
|
@@ -3711,7 +4469,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3711
4469
|
},
|
|
3712
4470
|
updatemetricsHaloRunV1alpha1Counter: async (name, counter, options = {}) => {
|
|
3713
4471
|
assertParamExists("updatemetricsHaloRunV1alpha1Counter", "name", name);
|
|
3714
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4472
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4473
|
+
`{${"name"}}`,
|
|
4474
|
+
encodeURIComponent(String(name))
|
|
4475
|
+
);
|
|
3715
4476
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3716
4477
|
let baseOptions;
|
|
3717
4478
|
if (configuration) {
|
|
@@ -3750,11 +4511,21 @@ const MetricsHaloRunV1alpha1CounterApiFp = function(configuration) {
|
|
|
3750
4511
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3751
4512
|
},
|
|
3752
4513
|
async listmetricsHaloRunV1alpha1Counter(page, size, labelSelector, fieldSelector, options) {
|
|
3753
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listmetricsHaloRunV1alpha1Counter(
|
|
4514
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listmetricsHaloRunV1alpha1Counter(
|
|
4515
|
+
page,
|
|
4516
|
+
size,
|
|
4517
|
+
labelSelector,
|
|
4518
|
+
fieldSelector,
|
|
4519
|
+
options
|
|
4520
|
+
);
|
|
3754
4521
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3755
4522
|
},
|
|
3756
4523
|
async updatemetricsHaloRunV1alpha1Counter(name, counter, options) {
|
|
3757
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatemetricsHaloRunV1alpha1Counter(
|
|
4524
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatemetricsHaloRunV1alpha1Counter(
|
|
4525
|
+
name,
|
|
4526
|
+
counter,
|
|
4527
|
+
options
|
|
4528
|
+
);
|
|
3758
4529
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3759
4530
|
}
|
|
3760
4531
|
};
|
|
@@ -3762,20 +4533,26 @@ const MetricsHaloRunV1alpha1CounterApiFp = function(configuration) {
|
|
|
3762
4533
|
const MetricsHaloRunV1alpha1CounterApiFactory = function(configuration, basePath, axios) {
|
|
3763
4534
|
const localVarFp = MetricsHaloRunV1alpha1CounterApiFp(configuration);
|
|
3764
4535
|
return {
|
|
3765
|
-
createmetricsHaloRunV1alpha1Counter(
|
|
3766
|
-
return localVarFp.createmetricsHaloRunV1alpha1Counter(counter, options).then((request) => request(axios, basePath));
|
|
3767
|
-
},
|
|
3768
|
-
deletemetricsHaloRunV1alpha1Counter(
|
|
3769
|
-
return localVarFp.deletemetricsHaloRunV1alpha1Counter(name, options).then((request) => request(axios, basePath));
|
|
3770
|
-
},
|
|
3771
|
-
getmetricsHaloRunV1alpha1Counter(
|
|
3772
|
-
return localVarFp.getmetricsHaloRunV1alpha1Counter(name, options).then((request) => request(axios, basePath));
|
|
3773
|
-
},
|
|
3774
|
-
listmetricsHaloRunV1alpha1Counter(
|
|
3775
|
-
return localVarFp.listmetricsHaloRunV1alpha1Counter(
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
4536
|
+
createmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
4537
|
+
return localVarFp.createmetricsHaloRunV1alpha1Counter(requestParameters.counter, options).then((request) => request(axios, basePath));
|
|
4538
|
+
},
|
|
4539
|
+
deletemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4540
|
+
return localVarFp.deletemetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4541
|
+
},
|
|
4542
|
+
getmetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4543
|
+
return localVarFp.getmetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4544
|
+
},
|
|
4545
|
+
listmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
4546
|
+
return localVarFp.listmetricsHaloRunV1alpha1Counter(
|
|
4547
|
+
requestParameters.page,
|
|
4548
|
+
requestParameters.size,
|
|
4549
|
+
requestParameters.labelSelector,
|
|
4550
|
+
requestParameters.fieldSelector,
|
|
4551
|
+
options
|
|
4552
|
+
).then((request) => request(axios, basePath));
|
|
4553
|
+
},
|
|
4554
|
+
updatemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4555
|
+
return localVarFp.updatemetricsHaloRunV1alpha1Counter(requestParameters.name, requestParameters.counter, options).then((request) => request(axios, basePath));
|
|
3779
4556
|
}
|
|
3780
4557
|
};
|
|
3781
4558
|
};
|
|
@@ -3790,7 +4567,13 @@ class MetricsHaloRunV1alpha1CounterApi extends BaseAPI {
|
|
|
3790
4567
|
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).getmetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3791
4568
|
}
|
|
3792
4569
|
listmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
3793
|
-
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).listmetricsHaloRunV1alpha1Counter(
|
|
4570
|
+
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).listmetricsHaloRunV1alpha1Counter(
|
|
4571
|
+
requestParameters.page,
|
|
4572
|
+
requestParameters.size,
|
|
4573
|
+
requestParameters.labelSelector,
|
|
4574
|
+
requestParameters.fieldSelector,
|
|
4575
|
+
options
|
|
4576
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3794
4577
|
}
|
|
3795
4578
|
updatemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
3796
4579
|
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).updatemetricsHaloRunV1alpha1Counter(requestParameters.name, requestParameters.counter, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3823,7 +4606,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3823
4606
|
},
|
|
3824
4607
|
deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
3825
4608
|
assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
|
|
3826
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4609
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4610
|
+
`{${"name"}}`,
|
|
4611
|
+
encodeURIComponent(String(name))
|
|
4612
|
+
);
|
|
3827
4613
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3828
4614
|
let baseOptions;
|
|
3829
4615
|
if (configuration) {
|
|
@@ -3844,7 +4630,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3844
4630
|
},
|
|
3845
4631
|
getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
3846
4632
|
assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
|
|
3847
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4633
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4634
|
+
`{${"name"}}`,
|
|
4635
|
+
encodeURIComponent(String(name))
|
|
4636
|
+
);
|
|
3848
4637
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3849
4638
|
let baseOptions;
|
|
3850
4639
|
if (configuration) {
|
|
@@ -3897,7 +4686,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3897
4686
|
},
|
|
3898
4687
|
updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
|
|
3899
4688
|
assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
|
|
3900
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4689
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4690
|
+
`{${"name"}}`,
|
|
4691
|
+
encodeURIComponent(String(name))
|
|
4692
|
+
);
|
|
3901
4693
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3902
4694
|
let baseOptions;
|
|
3903
4695
|
if (configuration) {
|
|
@@ -3936,7 +4728,13 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
3936
4728
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3937
4729
|
},
|
|
3938
4730
|
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
3939
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(
|
|
4731
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(
|
|
4732
|
+
page,
|
|
4733
|
+
size,
|
|
4734
|
+
labelSelector,
|
|
4735
|
+
fieldSelector,
|
|
4736
|
+
options
|
|
4737
|
+
);
|
|
3940
4738
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3941
4739
|
},
|
|
3942
4740
|
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
@@ -3948,20 +4746,26 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
3948
4746
|
const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
3949
4747
|
const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
|
|
3950
4748
|
return {
|
|
3951
|
-
createpluginHaloRunV1alpha1Plugin(
|
|
3952
|
-
return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
|
|
3953
|
-
},
|
|
3954
|
-
deletepluginHaloRunV1alpha1Plugin(
|
|
3955
|
-
return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
3956
|
-
},
|
|
3957
|
-
getpluginHaloRunV1alpha1Plugin(
|
|
3958
|
-
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
3959
|
-
},
|
|
3960
|
-
listpluginHaloRunV1alpha1Plugin(
|
|
3961
|
-
return localVarFp.listpluginHaloRunV1alpha1Plugin(
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
4749
|
+
createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
4750
|
+
return localVarFp.createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(axios, basePath));
|
|
4751
|
+
},
|
|
4752
|
+
deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4753
|
+
return localVarFp.deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4754
|
+
},
|
|
4755
|
+
getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4756
|
+
return localVarFp.getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4757
|
+
},
|
|
4758
|
+
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
4759
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(
|
|
4760
|
+
requestParameters.page,
|
|
4761
|
+
requestParameters.size,
|
|
4762
|
+
requestParameters.labelSelector,
|
|
4763
|
+
requestParameters.fieldSelector,
|
|
4764
|
+
options
|
|
4765
|
+
).then((request) => request(axios, basePath));
|
|
4766
|
+
},
|
|
4767
|
+
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4768
|
+
return localVarFp.updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(axios, basePath));
|
|
3965
4769
|
}
|
|
3966
4770
|
};
|
|
3967
4771
|
};
|
|
@@ -3976,7 +4780,13 @@ class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
3976
4780
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3977
4781
|
}
|
|
3978
4782
|
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
3979
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(
|
|
4783
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(
|
|
4784
|
+
requestParameters.page,
|
|
4785
|
+
requestParameters.size,
|
|
4786
|
+
requestParameters.labelSelector,
|
|
4787
|
+
requestParameters.fieldSelector,
|
|
4788
|
+
options
|
|
4789
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3980
4790
|
}
|
|
3981
4791
|
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
3982
4792
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4009,7 +4819,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4009
4819
|
},
|
|
4010
4820
|
deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
4011
4821
|
assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4012
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4822
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4823
|
+
`{${"name"}}`,
|
|
4824
|
+
encodeURIComponent(String(name))
|
|
4825
|
+
);
|
|
4013
4826
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4014
4827
|
let baseOptions;
|
|
4015
4828
|
if (configuration) {
|
|
@@ -4030,7 +4843,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4030
4843
|
},
|
|
4031
4844
|
getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
4032
4845
|
assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4033
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4846
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4847
|
+
`{${"name"}}`,
|
|
4848
|
+
encodeURIComponent(String(name))
|
|
4849
|
+
);
|
|
4034
4850
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4035
4851
|
let baseOptions;
|
|
4036
4852
|
if (configuration) {
|
|
@@ -4083,7 +4899,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4083
4899
|
},
|
|
4084
4900
|
updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
|
|
4085
4901
|
assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4086
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4902
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4903
|
+
`{${"name"}}`,
|
|
4904
|
+
encodeURIComponent(String(name))
|
|
4905
|
+
);
|
|
4087
4906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4088
4907
|
let baseOptions;
|
|
4089
4908
|
if (configuration) {
|
|
@@ -4110,7 +4929,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4110
4929
|
const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
|
|
4111
4930
|
return {
|
|
4112
4931
|
async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
4113
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(
|
|
4932
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(
|
|
4933
|
+
reverseProxy,
|
|
4934
|
+
options
|
|
4935
|
+
);
|
|
4114
4936
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4115
4937
|
},
|
|
4116
4938
|
async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
@@ -4122,11 +4944,21 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4122
4944
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4123
4945
|
},
|
|
4124
4946
|
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
4125
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4947
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4948
|
+
page,
|
|
4949
|
+
size,
|
|
4950
|
+
labelSelector,
|
|
4951
|
+
fieldSelector,
|
|
4952
|
+
options
|
|
4953
|
+
);
|
|
4126
4954
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4127
4955
|
},
|
|
4128
4956
|
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
4129
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(
|
|
4957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(
|
|
4958
|
+
name,
|
|
4959
|
+
reverseProxy,
|
|
4960
|
+
options
|
|
4961
|
+
);
|
|
4130
4962
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4131
4963
|
}
|
|
4132
4964
|
};
|
|
@@ -4134,20 +4966,26 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4134
4966
|
const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
|
|
4135
4967
|
const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
|
|
4136
4968
|
return {
|
|
4137
|
-
createpluginHaloRunV1alpha1ReverseProxy(
|
|
4138
|
-
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
|
|
4139
|
-
},
|
|
4140
|
-
deletepluginHaloRunV1alpha1ReverseProxy(
|
|
4141
|
-
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
4142
|
-
},
|
|
4143
|
-
getpluginHaloRunV1alpha1ReverseProxy(
|
|
4144
|
-
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
4145
|
-
},
|
|
4146
|
-
listpluginHaloRunV1alpha1ReverseProxy(
|
|
4147
|
-
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4969
|
+
createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4970
|
+
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(axios, basePath));
|
|
4971
|
+
},
|
|
4972
|
+
deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4973
|
+
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4974
|
+
},
|
|
4975
|
+
getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4976
|
+
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4977
|
+
},
|
|
4978
|
+
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4979
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4980
|
+
requestParameters.page,
|
|
4981
|
+
requestParameters.size,
|
|
4982
|
+
requestParameters.labelSelector,
|
|
4983
|
+
requestParameters.fieldSelector,
|
|
4984
|
+
options
|
|
4985
|
+
).then((request) => request(axios, basePath));
|
|
4986
|
+
},
|
|
4987
|
+
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4988
|
+
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(axios, basePath));
|
|
4151
4989
|
}
|
|
4152
4990
|
};
|
|
4153
4991
|
};
|
|
@@ -4162,7 +5000,13 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
4162
5000
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4163
5001
|
}
|
|
4164
5002
|
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4165
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(
|
|
5003
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(
|
|
5004
|
+
requestParameters.page,
|
|
5005
|
+
requestParameters.size,
|
|
5006
|
+
requestParameters.labelSelector,
|
|
5007
|
+
requestParameters.fieldSelector,
|
|
5008
|
+
options
|
|
5009
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4166
5010
|
}
|
|
4167
5011
|
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4168
5012
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4195,7 +5039,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4195
5039
|
},
|
|
4196
5040
|
deletepluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
4197
5041
|
assertParamExists("deletepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4198
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5042
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5043
|
+
`{${"name"}}`,
|
|
5044
|
+
encodeURIComponent(String(name))
|
|
5045
|
+
);
|
|
4199
5046
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4200
5047
|
let baseOptions;
|
|
4201
5048
|
if (configuration) {
|
|
@@ -4216,7 +5063,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4216
5063
|
},
|
|
4217
5064
|
getpluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
4218
5065
|
assertParamExists("getpluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4219
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5066
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5067
|
+
`{${"name"}}`,
|
|
5068
|
+
encodeURIComponent(String(name))
|
|
5069
|
+
);
|
|
4220
5070
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4221
5071
|
let baseOptions;
|
|
4222
5072
|
if (configuration) {
|
|
@@ -4269,7 +5119,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4269
5119
|
},
|
|
4270
5120
|
updatepluginHaloRunV1alpha1SearchEngine: async (name, searchEngine, options = {}) => {
|
|
4271
5121
|
assertParamExists("updatepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4272
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5122
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5123
|
+
`{${"name"}}`,
|
|
5124
|
+
encodeURIComponent(String(name))
|
|
5125
|
+
);
|
|
4273
5126
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4274
5127
|
let baseOptions;
|
|
4275
5128
|
if (configuration) {
|
|
@@ -4296,7 +5149,10 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4296
5149
|
const localVarAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator(configuration);
|
|
4297
5150
|
return {
|
|
4298
5151
|
async createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
4299
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(
|
|
5152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(
|
|
5153
|
+
searchEngine,
|
|
5154
|
+
options
|
|
5155
|
+
);
|
|
4300
5156
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4301
5157
|
},
|
|
4302
5158
|
async deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
@@ -4308,11 +5164,21 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4308
5164
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4309
5165
|
},
|
|
4310
5166
|
async listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
4311
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(
|
|
5167
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(
|
|
5168
|
+
page,
|
|
5169
|
+
size,
|
|
5170
|
+
labelSelector,
|
|
5171
|
+
fieldSelector,
|
|
5172
|
+
options
|
|
5173
|
+
);
|
|
4312
5174
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4313
5175
|
},
|
|
4314
5176
|
async updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
4315
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(
|
|
5177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(
|
|
5178
|
+
name,
|
|
5179
|
+
searchEngine,
|
|
5180
|
+
options
|
|
5181
|
+
);
|
|
4316
5182
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4317
5183
|
}
|
|
4318
5184
|
};
|
|
@@ -4320,20 +5186,26 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4320
5186
|
const PluginHaloRunV1alpha1SearchEngineApiFactory = function(configuration, basePath, axios) {
|
|
4321
5187
|
const localVarFp = PluginHaloRunV1alpha1SearchEngineApiFp(configuration);
|
|
4322
5188
|
return {
|
|
4323
|
-
createpluginHaloRunV1alpha1SearchEngine(
|
|
4324
|
-
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options).then((request) => request(axios, basePath));
|
|
4325
|
-
},
|
|
4326
|
-
deletepluginHaloRunV1alpha1SearchEngine(
|
|
4327
|
-
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
4328
|
-
},
|
|
4329
|
-
getpluginHaloRunV1alpha1SearchEngine(
|
|
4330
|
-
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
4331
|
-
},
|
|
4332
|
-
listpluginHaloRunV1alpha1SearchEngine(
|
|
4333
|
-
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
5189
|
+
createpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
5190
|
+
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(requestParameters.searchEngine, options).then((request) => request(axios, basePath));
|
|
5191
|
+
},
|
|
5192
|
+
deletepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5193
|
+
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5194
|
+
},
|
|
5195
|
+
getpluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5196
|
+
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5197
|
+
},
|
|
5198
|
+
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
5199
|
+
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(
|
|
5200
|
+
requestParameters.page,
|
|
5201
|
+
requestParameters.size,
|
|
5202
|
+
requestParameters.labelSelector,
|
|
5203
|
+
requestParameters.fieldSelector,
|
|
5204
|
+
options
|
|
5205
|
+
).then((request) => request(axios, basePath));
|
|
5206
|
+
},
|
|
5207
|
+
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5208
|
+
return localVarFp.updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(axios, basePath));
|
|
4337
5209
|
}
|
|
4338
5210
|
};
|
|
4339
5211
|
};
|
|
@@ -4348,7 +5220,13 @@ class PluginHaloRunV1alpha1SearchEngineApi extends BaseAPI {
|
|
|
4348
5220
|
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4349
5221
|
}
|
|
4350
5222
|
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
4351
|
-
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(
|
|
5223
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(
|
|
5224
|
+
requestParameters.page,
|
|
5225
|
+
requestParameters.size,
|
|
5226
|
+
requestParameters.labelSelector,
|
|
5227
|
+
requestParameters.fieldSelector,
|
|
5228
|
+
options
|
|
5229
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4352
5230
|
}
|
|
4353
5231
|
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
4354
5232
|
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4381,7 +5259,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4381
5259
|
},
|
|
4382
5260
|
deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
4383
5261
|
assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
|
|
4384
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5262
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5263
|
+
`{${"name"}}`,
|
|
5264
|
+
encodeURIComponent(String(name))
|
|
5265
|
+
);
|
|
4385
5266
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4386
5267
|
let baseOptions;
|
|
4387
5268
|
if (configuration) {
|
|
@@ -4402,7 +5283,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4402
5283
|
},
|
|
4403
5284
|
getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
4404
5285
|
assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
|
|
4405
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5286
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5287
|
+
`{${"name"}}`,
|
|
5288
|
+
encodeURIComponent(String(name))
|
|
5289
|
+
);
|
|
4406
5290
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4407
5291
|
let baseOptions;
|
|
4408
5292
|
if (configuration) {
|
|
@@ -4455,7 +5339,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4455
5339
|
},
|
|
4456
5340
|
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
4457
5341
|
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
4458
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5342
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5343
|
+
`{${"name"}}`,
|
|
5344
|
+
encodeURIComponent(String(name))
|
|
5345
|
+
);
|
|
4459
5346
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4460
5347
|
let baseOptions;
|
|
4461
5348
|
if (configuration) {
|
|
@@ -4482,7 +5369,10 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4482
5369
|
const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
4483
5370
|
return {
|
|
4484
5371
|
async createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
4485
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(
|
|
5372
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(
|
|
5373
|
+
attachment,
|
|
5374
|
+
options
|
|
5375
|
+
);
|
|
4486
5376
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4487
5377
|
},
|
|
4488
5378
|
async deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
@@ -4494,11 +5384,21 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4494
5384
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4495
5385
|
},
|
|
4496
5386
|
async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
4497
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(
|
|
5387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(
|
|
5388
|
+
page,
|
|
5389
|
+
size,
|
|
5390
|
+
labelSelector,
|
|
5391
|
+
fieldSelector,
|
|
5392
|
+
options
|
|
5393
|
+
);
|
|
4498
5394
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4499
5395
|
},
|
|
4500
5396
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
4501
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(
|
|
5397
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(
|
|
5398
|
+
name,
|
|
5399
|
+
attachment,
|
|
5400
|
+
options
|
|
5401
|
+
);
|
|
4502
5402
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4503
5403
|
}
|
|
4504
5404
|
};
|
|
@@ -4506,20 +5406,26 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4506
5406
|
const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
4507
5407
|
const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
4508
5408
|
return {
|
|
4509
|
-
createstorageHaloRunV1alpha1Attachment(
|
|
4510
|
-
return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
|
|
4511
|
-
},
|
|
4512
|
-
deletestorageHaloRunV1alpha1Attachment(
|
|
4513
|
-
return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
4514
|
-
},
|
|
4515
|
-
getstorageHaloRunV1alpha1Attachment(
|
|
4516
|
-
return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
4517
|
-
},
|
|
4518
|
-
liststorageHaloRunV1alpha1Attachment(
|
|
4519
|
-
return localVarFp.liststorageHaloRunV1alpha1Attachment(
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
5409
|
+
createstorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
5410
|
+
return localVarFp.createstorageHaloRunV1alpha1Attachment(requestParameters.attachment, options).then((request) => request(axios, basePath));
|
|
5411
|
+
},
|
|
5412
|
+
deletestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5413
|
+
return localVarFp.deletestorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5414
|
+
},
|
|
5415
|
+
getstorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5416
|
+
return localVarFp.getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5417
|
+
},
|
|
5418
|
+
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
5419
|
+
return localVarFp.liststorageHaloRunV1alpha1Attachment(
|
|
5420
|
+
requestParameters.page,
|
|
5421
|
+
requestParameters.size,
|
|
5422
|
+
requestParameters.labelSelector,
|
|
5423
|
+
requestParameters.fieldSelector,
|
|
5424
|
+
options
|
|
5425
|
+
).then((request) => request(axios, basePath));
|
|
5426
|
+
},
|
|
5427
|
+
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5428
|
+
return localVarFp.updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(axios, basePath));
|
|
4523
5429
|
}
|
|
4524
5430
|
};
|
|
4525
5431
|
};
|
|
@@ -4534,7 +5440,13 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
4534
5440
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4535
5441
|
}
|
|
4536
5442
|
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
4537
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(
|
|
5443
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(
|
|
5444
|
+
requestParameters.page,
|
|
5445
|
+
requestParameters.size,
|
|
5446
|
+
requestParameters.labelSelector,
|
|
5447
|
+
requestParameters.fieldSelector,
|
|
5448
|
+
options
|
|
5449
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4538
5450
|
}
|
|
4539
5451
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
4540
5452
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4567,7 +5479,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4567
5479
|
},
|
|
4568
5480
|
deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
4569
5481
|
assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
|
|
4570
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5482
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5483
|
+
`{${"name"}}`,
|
|
5484
|
+
encodeURIComponent(String(name))
|
|
5485
|
+
);
|
|
4571
5486
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4572
5487
|
let baseOptions;
|
|
4573
5488
|
if (configuration) {
|
|
@@ -4588,7 +5503,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4588
5503
|
},
|
|
4589
5504
|
getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
4590
5505
|
assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
|
|
4591
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5506
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5507
|
+
`{${"name"}}`,
|
|
5508
|
+
encodeURIComponent(String(name))
|
|
5509
|
+
);
|
|
4592
5510
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4593
5511
|
let baseOptions;
|
|
4594
5512
|
if (configuration) {
|
|
@@ -4641,7 +5559,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4641
5559
|
},
|
|
4642
5560
|
updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
|
|
4643
5561
|
assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
|
|
4644
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5562
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5563
|
+
`{${"name"}}`,
|
|
5564
|
+
encodeURIComponent(String(name))
|
|
5565
|
+
);
|
|
4645
5566
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4646
5567
|
let baseOptions;
|
|
4647
5568
|
if (configuration) {
|
|
@@ -4680,7 +5601,13 @@ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
|
4680
5601
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4681
5602
|
},
|
|
4682
5603
|
async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
4683
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(
|
|
5604
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(
|
|
5605
|
+
page,
|
|
5606
|
+
size,
|
|
5607
|
+
labelSelector,
|
|
5608
|
+
fieldSelector,
|
|
5609
|
+
options
|
|
5610
|
+
);
|
|
4684
5611
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4685
5612
|
},
|
|
4686
5613
|
async updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
@@ -4692,20 +5619,26 @@ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
|
4692
5619
|
const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
|
|
4693
5620
|
const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
|
|
4694
5621
|
return {
|
|
4695
|
-
createstorageHaloRunV1alpha1Group(
|
|
4696
|
-
return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
|
|
4697
|
-
},
|
|
4698
|
-
deletestorageHaloRunV1alpha1Group(
|
|
4699
|
-
return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
4700
|
-
},
|
|
4701
|
-
getstorageHaloRunV1alpha1Group(
|
|
4702
|
-
return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
4703
|
-
},
|
|
4704
|
-
liststorageHaloRunV1alpha1Group(
|
|
4705
|
-
return localVarFp.liststorageHaloRunV1alpha1Group(
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
5622
|
+
createstorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
5623
|
+
return localVarFp.createstorageHaloRunV1alpha1Group(requestParameters.group, options).then((request) => request(axios, basePath));
|
|
5624
|
+
},
|
|
5625
|
+
deletestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5626
|
+
return localVarFp.deletestorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5627
|
+
},
|
|
5628
|
+
getstorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5629
|
+
return localVarFp.getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5630
|
+
},
|
|
5631
|
+
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
5632
|
+
return localVarFp.liststorageHaloRunV1alpha1Group(
|
|
5633
|
+
requestParameters.page,
|
|
5634
|
+
requestParameters.size,
|
|
5635
|
+
requestParameters.labelSelector,
|
|
5636
|
+
requestParameters.fieldSelector,
|
|
5637
|
+
options
|
|
5638
|
+
).then((request) => request(axios, basePath));
|
|
5639
|
+
},
|
|
5640
|
+
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5641
|
+
return localVarFp.updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(axios, basePath));
|
|
4709
5642
|
}
|
|
4710
5643
|
};
|
|
4711
5644
|
};
|
|
@@ -4720,7 +5653,13 @@ class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
|
|
|
4720
5653
|
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4721
5654
|
}
|
|
4722
5655
|
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
4723
|
-
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(
|
|
5656
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(
|
|
5657
|
+
requestParameters.page,
|
|
5658
|
+
requestParameters.size,
|
|
5659
|
+
requestParameters.labelSelector,
|
|
5660
|
+
requestParameters.fieldSelector,
|
|
5661
|
+
options
|
|
5662
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4724
5663
|
}
|
|
4725
5664
|
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
4726
5665
|
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4753,7 +5692,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4753
5692
|
},
|
|
4754
5693
|
deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
4755
5694
|
assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
|
|
4756
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5695
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5696
|
+
`{${"name"}}`,
|
|
5697
|
+
encodeURIComponent(String(name))
|
|
5698
|
+
);
|
|
4757
5699
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4758
5700
|
let baseOptions;
|
|
4759
5701
|
if (configuration) {
|
|
@@ -4774,7 +5716,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4774
5716
|
},
|
|
4775
5717
|
getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
4776
5718
|
assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
|
|
4777
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5719
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5720
|
+
`{${"name"}}`,
|
|
5721
|
+
encodeURIComponent(String(name))
|
|
5722
|
+
);
|
|
4778
5723
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4779
5724
|
let baseOptions;
|
|
4780
5725
|
if (configuration) {
|
|
@@ -4827,7 +5772,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4827
5772
|
},
|
|
4828
5773
|
updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
|
|
4829
5774
|
assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
|
|
4830
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5775
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5776
|
+
`{${"name"}}`,
|
|
5777
|
+
encodeURIComponent(String(name))
|
|
5778
|
+
);
|
|
4831
5779
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4832
5780
|
let baseOptions;
|
|
4833
5781
|
if (configuration) {
|
|
@@ -4866,11 +5814,21 @@ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
|
4866
5814
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4867
5815
|
},
|
|
4868
5816
|
async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
4869
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(
|
|
5817
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(
|
|
5818
|
+
page,
|
|
5819
|
+
size,
|
|
5820
|
+
labelSelector,
|
|
5821
|
+
fieldSelector,
|
|
5822
|
+
options
|
|
5823
|
+
);
|
|
4870
5824
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4871
5825
|
},
|
|
4872
5826
|
async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
4873
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(
|
|
5827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(
|
|
5828
|
+
name,
|
|
5829
|
+
policy,
|
|
5830
|
+
options
|
|
5831
|
+
);
|
|
4874
5832
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4875
5833
|
}
|
|
4876
5834
|
};
|
|
@@ -4878,20 +5836,26 @@ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
|
4878
5836
|
const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
|
|
4879
5837
|
const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
|
|
4880
5838
|
return {
|
|
4881
|
-
createstorageHaloRunV1alpha1Policy(
|
|
4882
|
-
return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
|
|
4883
|
-
},
|
|
4884
|
-
deletestorageHaloRunV1alpha1Policy(
|
|
4885
|
-
return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
4886
|
-
},
|
|
4887
|
-
getstorageHaloRunV1alpha1Policy(
|
|
4888
|
-
return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
4889
|
-
},
|
|
4890
|
-
liststorageHaloRunV1alpha1Policy(
|
|
4891
|
-
return localVarFp.liststorageHaloRunV1alpha1Policy(
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
5839
|
+
createstorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
5840
|
+
return localVarFp.createstorageHaloRunV1alpha1Policy(requestParameters.policy, options).then((request) => request(axios, basePath));
|
|
5841
|
+
},
|
|
5842
|
+
deletestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5843
|
+
return localVarFp.deletestorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5844
|
+
},
|
|
5845
|
+
getstorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5846
|
+
return localVarFp.getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5847
|
+
},
|
|
5848
|
+
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
5849
|
+
return localVarFp.liststorageHaloRunV1alpha1Policy(
|
|
5850
|
+
requestParameters.page,
|
|
5851
|
+
requestParameters.size,
|
|
5852
|
+
requestParameters.labelSelector,
|
|
5853
|
+
requestParameters.fieldSelector,
|
|
5854
|
+
options
|
|
5855
|
+
).then((request) => request(axios, basePath));
|
|
5856
|
+
},
|
|
5857
|
+
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5858
|
+
return localVarFp.updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(axios, basePath));
|
|
4895
5859
|
}
|
|
4896
5860
|
};
|
|
4897
5861
|
};
|
|
@@ -4906,7 +5870,13 @@ class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
|
|
|
4906
5870
|
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4907
5871
|
}
|
|
4908
5872
|
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
4909
|
-
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(
|
|
5873
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(
|
|
5874
|
+
requestParameters.page,
|
|
5875
|
+
requestParameters.size,
|
|
5876
|
+
requestParameters.labelSelector,
|
|
5877
|
+
requestParameters.fieldSelector,
|
|
5878
|
+
options
|
|
5879
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4910
5880
|
}
|
|
4911
5881
|
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
4912
5882
|
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4939,7 +5909,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
4939
5909
|
},
|
|
4940
5910
|
deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
4941
5911
|
assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
4942
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5912
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5913
|
+
`{${"name"}}`,
|
|
5914
|
+
encodeURIComponent(String(name))
|
|
5915
|
+
);
|
|
4943
5916
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4944
5917
|
let baseOptions;
|
|
4945
5918
|
if (configuration) {
|
|
@@ -4960,7 +5933,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
4960
5933
|
},
|
|
4961
5934
|
getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
4962
5935
|
assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
4963
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5936
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5937
|
+
`{${"name"}}`,
|
|
5938
|
+
encodeURIComponent(String(name))
|
|
5939
|
+
);
|
|
4964
5940
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4965
5941
|
let baseOptions;
|
|
4966
5942
|
if (configuration) {
|
|
@@ -5013,7 +5989,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
5013
5989
|
},
|
|
5014
5990
|
updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
|
|
5015
5991
|
assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
5016
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5992
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5993
|
+
`{${"name"}}`,
|
|
5994
|
+
encodeURIComponent(String(name))
|
|
5995
|
+
);
|
|
5017
5996
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5018
5997
|
let baseOptions;
|
|
5019
5998
|
if (configuration) {
|
|
@@ -5040,11 +6019,17 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5040
6019
|
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
|
|
5041
6020
|
return {
|
|
5042
6021
|
async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
5043
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(
|
|
6022
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(
|
|
6023
|
+
policyTemplate,
|
|
6024
|
+
options
|
|
6025
|
+
);
|
|
5044
6026
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5045
6027
|
},
|
|
5046
6028
|
async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
5047
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
6029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
6030
|
+
name,
|
|
6031
|
+
options
|
|
6032
|
+
);
|
|
5048
6033
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5049
6034
|
},
|
|
5050
6035
|
async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
@@ -5052,11 +6037,21 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5052
6037
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5053
6038
|
},
|
|
5054
6039
|
async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
5055
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6040
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6041
|
+
page,
|
|
6042
|
+
size,
|
|
6043
|
+
labelSelector,
|
|
6044
|
+
fieldSelector,
|
|
6045
|
+
options
|
|
6046
|
+
);
|
|
5056
6047
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5057
6048
|
},
|
|
5058
6049
|
async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
5059
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(
|
|
6050
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(
|
|
6051
|
+
name,
|
|
6052
|
+
policyTemplate,
|
|
6053
|
+
options
|
|
6054
|
+
);
|
|
5060
6055
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5061
6056
|
}
|
|
5062
6057
|
};
|
|
@@ -5064,20 +6059,26 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5064
6059
|
const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
|
|
5065
6060
|
const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
|
|
5066
6061
|
return {
|
|
5067
|
-
createstorageHaloRunV1alpha1PolicyTemplate(
|
|
5068
|
-
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
|
|
5069
|
-
},
|
|
5070
|
-
deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
5071
|
-
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
5072
|
-
},
|
|
5073
|
-
getstorageHaloRunV1alpha1PolicyTemplate(
|
|
5074
|
-
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
5075
|
-
},
|
|
5076
|
-
liststorageHaloRunV1alpha1PolicyTemplate(
|
|
5077
|
-
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
6062
|
+
createstorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
6063
|
+
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(requestParameters.policyTemplate, options).then((request) => request(axios, basePath));
|
|
6064
|
+
},
|
|
6065
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6066
|
+
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6067
|
+
},
|
|
6068
|
+
getstorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6069
|
+
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6070
|
+
},
|
|
6071
|
+
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
6072
|
+
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6073
|
+
requestParameters.page,
|
|
6074
|
+
requestParameters.size,
|
|
6075
|
+
requestParameters.labelSelector,
|
|
6076
|
+
requestParameters.fieldSelector,
|
|
6077
|
+
options
|
|
6078
|
+
).then((request) => request(axios, basePath));
|
|
6079
|
+
},
|
|
6080
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6081
|
+
return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(axios, basePath));
|
|
5081
6082
|
}
|
|
5082
6083
|
};
|
|
5083
6084
|
};
|
|
@@ -5092,7 +6093,13 @@ class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
|
|
|
5092
6093
|
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5093
6094
|
}
|
|
5094
6095
|
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
5095
|
-
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6096
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6097
|
+
requestParameters.page,
|
|
6098
|
+
requestParameters.size,
|
|
6099
|
+
requestParameters.labelSelector,
|
|
6100
|
+
requestParameters.fieldSelector,
|
|
6101
|
+
options
|
|
6102
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5096
6103
|
}
|
|
5097
6104
|
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
5098
6105
|
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5125,7 +6132,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5125
6132
|
},
|
|
5126
6133
|
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
5127
6134
|
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
5128
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6135
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6136
|
+
`{${"name"}}`,
|
|
6137
|
+
encodeURIComponent(String(name))
|
|
6138
|
+
);
|
|
5129
6139
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5130
6140
|
let baseOptions;
|
|
5131
6141
|
if (configuration) {
|
|
@@ -5146,7 +6156,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5146
6156
|
},
|
|
5147
6157
|
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
5148
6158
|
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
5149
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6159
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6160
|
+
`{${"name"}}`,
|
|
6161
|
+
encodeURIComponent(String(name))
|
|
6162
|
+
);
|
|
5150
6163
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5151
6164
|
let baseOptions;
|
|
5152
6165
|
if (configuration) {
|
|
@@ -5199,7 +6212,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5199
6212
|
},
|
|
5200
6213
|
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
5201
6214
|
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
5202
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6215
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6216
|
+
`{${"name"}}`,
|
|
6217
|
+
encodeURIComponent(String(name))
|
|
6218
|
+
);
|
|
5203
6219
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5204
6220
|
let baseOptions;
|
|
5205
6221
|
if (configuration) {
|
|
@@ -5238,7 +6254,13 @@ const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
5238
6254
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5239
6255
|
},
|
|
5240
6256
|
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
5241
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(
|
|
6257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(
|
|
6258
|
+
page,
|
|
6259
|
+
size,
|
|
6260
|
+
labelSelector,
|
|
6261
|
+
fieldSelector,
|
|
6262
|
+
options
|
|
6263
|
+
);
|
|
5242
6264
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5243
6265
|
},
|
|
5244
6266
|
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
@@ -5250,20 +6272,26 @@ const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
5250
6272
|
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
5251
6273
|
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
5252
6274
|
return {
|
|
5253
|
-
createthemeHaloRunV1alpha1Theme(
|
|
5254
|
-
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
5255
|
-
},
|
|
5256
|
-
deletethemeHaloRunV1alpha1Theme(
|
|
5257
|
-
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
5258
|
-
},
|
|
5259
|
-
getthemeHaloRunV1alpha1Theme(
|
|
5260
|
-
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
5261
|
-
},
|
|
5262
|
-
listthemeHaloRunV1alpha1Theme(
|
|
5263
|
-
return localVarFp.listthemeHaloRunV1alpha1Theme(
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
6275
|
+
createthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
6276
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(requestParameters.theme, options).then((request) => request(axios, basePath));
|
|
6277
|
+
},
|
|
6278
|
+
deletethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6279
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6280
|
+
},
|
|
6281
|
+
getthemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6282
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6283
|
+
},
|
|
6284
|
+
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
6285
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(
|
|
6286
|
+
requestParameters.page,
|
|
6287
|
+
requestParameters.size,
|
|
6288
|
+
requestParameters.labelSelector,
|
|
6289
|
+
requestParameters.fieldSelector,
|
|
6290
|
+
options
|
|
6291
|
+
).then((request) => request(axios, basePath));
|
|
6292
|
+
},
|
|
6293
|
+
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6294
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(axios, basePath));
|
|
5267
6295
|
}
|
|
5268
6296
|
};
|
|
5269
6297
|
};
|
|
@@ -5278,7 +6306,13 @@ class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
5278
6306
|
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5279
6307
|
}
|
|
5280
6308
|
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
5281
|
-
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(
|
|
6309
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(
|
|
6310
|
+
requestParameters.page,
|
|
6311
|
+
requestParameters.size,
|
|
6312
|
+
requestParameters.labelSelector,
|
|
6313
|
+
requestParameters.fieldSelector,
|
|
6314
|
+
options
|
|
6315
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5282
6316
|
}
|
|
5283
6317
|
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
5284
6318
|
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5311,7 +6345,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5311
6345
|
},
|
|
5312
6346
|
deletev1alpha1AnnotationSetting: async (name, options = {}) => {
|
|
5313
6347
|
assertParamExists("deletev1alpha1AnnotationSetting", "name", name);
|
|
5314
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6348
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6349
|
+
`{${"name"}}`,
|
|
6350
|
+
encodeURIComponent(String(name))
|
|
6351
|
+
);
|
|
5315
6352
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5316
6353
|
let baseOptions;
|
|
5317
6354
|
if (configuration) {
|
|
@@ -5332,7 +6369,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5332
6369
|
},
|
|
5333
6370
|
getv1alpha1AnnotationSetting: async (name, options = {}) => {
|
|
5334
6371
|
assertParamExists("getv1alpha1AnnotationSetting", "name", name);
|
|
5335
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6372
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6373
|
+
`{${"name"}}`,
|
|
6374
|
+
encodeURIComponent(String(name))
|
|
6375
|
+
);
|
|
5336
6376
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5337
6377
|
let baseOptions;
|
|
5338
6378
|
if (configuration) {
|
|
@@ -5385,7 +6425,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5385
6425
|
},
|
|
5386
6426
|
updatev1alpha1AnnotationSetting: async (name, annotationSetting, options = {}) => {
|
|
5387
6427
|
assertParamExists("updatev1alpha1AnnotationSetting", "name", name);
|
|
5388
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6428
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6429
|
+
`{${"name"}}`,
|
|
6430
|
+
encodeURIComponent(String(name))
|
|
6431
|
+
);
|
|
5389
6432
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5390
6433
|
let baseOptions;
|
|
5391
6434
|
if (configuration) {
|
|
@@ -5412,7 +6455,10 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5412
6455
|
const localVarAxiosParamCreator = V1alpha1AnnotationSettingApiAxiosParamCreator(configuration);
|
|
5413
6456
|
return {
|
|
5414
6457
|
async createv1alpha1AnnotationSetting(annotationSetting, options) {
|
|
5415
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1AnnotationSetting(
|
|
6458
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1AnnotationSetting(
|
|
6459
|
+
annotationSetting,
|
|
6460
|
+
options
|
|
6461
|
+
);
|
|
5416
6462
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5417
6463
|
},
|
|
5418
6464
|
async deletev1alpha1AnnotationSetting(name, options) {
|
|
@@ -5424,11 +6470,21 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5424
6470
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5425
6471
|
},
|
|
5426
6472
|
async listv1alpha1AnnotationSetting(page, size, labelSelector, fieldSelector, options) {
|
|
5427
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1AnnotationSetting(
|
|
6473
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1AnnotationSetting(
|
|
6474
|
+
page,
|
|
6475
|
+
size,
|
|
6476
|
+
labelSelector,
|
|
6477
|
+
fieldSelector,
|
|
6478
|
+
options
|
|
6479
|
+
);
|
|
5428
6480
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5429
6481
|
},
|
|
5430
6482
|
async updatev1alpha1AnnotationSetting(name, annotationSetting, options) {
|
|
5431
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1AnnotationSetting(
|
|
6483
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1AnnotationSetting(
|
|
6484
|
+
name,
|
|
6485
|
+
annotationSetting,
|
|
6486
|
+
options
|
|
6487
|
+
);
|
|
5432
6488
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5433
6489
|
}
|
|
5434
6490
|
};
|
|
@@ -5436,20 +6492,26 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5436
6492
|
const V1alpha1AnnotationSettingApiFactory = function(configuration, basePath, axios) {
|
|
5437
6493
|
const localVarFp = V1alpha1AnnotationSettingApiFp(configuration);
|
|
5438
6494
|
return {
|
|
5439
|
-
createv1alpha1AnnotationSetting(
|
|
5440
|
-
return localVarFp.createv1alpha1AnnotationSetting(annotationSetting, options).then((request) => request(axios, basePath));
|
|
5441
|
-
},
|
|
5442
|
-
deletev1alpha1AnnotationSetting(
|
|
5443
|
-
return localVarFp.deletev1alpha1AnnotationSetting(name, options).then((request) => request(axios, basePath));
|
|
5444
|
-
},
|
|
5445
|
-
getv1alpha1AnnotationSetting(
|
|
5446
|
-
return localVarFp.getv1alpha1AnnotationSetting(name, options).then((request) => request(axios, basePath));
|
|
5447
|
-
},
|
|
5448
|
-
listv1alpha1AnnotationSetting(
|
|
5449
|
-
return localVarFp.listv1alpha1AnnotationSetting(
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
6495
|
+
createv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
6496
|
+
return localVarFp.createv1alpha1AnnotationSetting(requestParameters.annotationSetting, options).then((request) => request(axios, basePath));
|
|
6497
|
+
},
|
|
6498
|
+
deletev1alpha1AnnotationSetting(requestParameters, options) {
|
|
6499
|
+
return localVarFp.deletev1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6500
|
+
},
|
|
6501
|
+
getv1alpha1AnnotationSetting(requestParameters, options) {
|
|
6502
|
+
return localVarFp.getv1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6503
|
+
},
|
|
6504
|
+
listv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
6505
|
+
return localVarFp.listv1alpha1AnnotationSetting(
|
|
6506
|
+
requestParameters.page,
|
|
6507
|
+
requestParameters.size,
|
|
6508
|
+
requestParameters.labelSelector,
|
|
6509
|
+
requestParameters.fieldSelector,
|
|
6510
|
+
options
|
|
6511
|
+
).then((request) => request(axios, basePath));
|
|
6512
|
+
},
|
|
6513
|
+
updatev1alpha1AnnotationSetting(requestParameters, options) {
|
|
6514
|
+
return localVarFp.updatev1alpha1AnnotationSetting(requestParameters.name, requestParameters.annotationSetting, options).then((request) => request(axios, basePath));
|
|
5453
6515
|
}
|
|
5454
6516
|
};
|
|
5455
6517
|
};
|
|
@@ -5464,7 +6526,13 @@ class V1alpha1AnnotationSettingApi extends BaseAPI {
|
|
|
5464
6526
|
return V1alpha1AnnotationSettingApiFp(this.configuration).getv1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5465
6527
|
}
|
|
5466
6528
|
listv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
5467
|
-
return V1alpha1AnnotationSettingApiFp(this.configuration).listv1alpha1AnnotationSetting(
|
|
6529
|
+
return V1alpha1AnnotationSettingApiFp(this.configuration).listv1alpha1AnnotationSetting(
|
|
6530
|
+
requestParameters.page,
|
|
6531
|
+
requestParameters.size,
|
|
6532
|
+
requestParameters.labelSelector,
|
|
6533
|
+
requestParameters.fieldSelector,
|
|
6534
|
+
options
|
|
6535
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5468
6536
|
}
|
|
5469
6537
|
updatev1alpha1AnnotationSetting(requestParameters, options) {
|
|
5470
6538
|
return V1alpha1AnnotationSettingApiFp(this.configuration).updatev1alpha1AnnotationSetting(requestParameters.name, requestParameters.annotationSetting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5610,7 +6678,13 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
5610
6678
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5611
6679
|
},
|
|
5612
6680
|
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
5613
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(
|
|
6681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(
|
|
6682
|
+
page,
|
|
6683
|
+
size,
|
|
6684
|
+
labelSelector,
|
|
6685
|
+
fieldSelector,
|
|
6686
|
+
options
|
|
6687
|
+
);
|
|
5614
6688
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5615
6689
|
},
|
|
5616
6690
|
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
@@ -5622,20 +6696,26 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
5622
6696
|
const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
5623
6697
|
const localVarFp = V1alpha1ConfigMapApiFp(configuration);
|
|
5624
6698
|
return {
|
|
5625
|
-
createv1alpha1ConfigMap(
|
|
5626
|
-
return localVarFp.createv1alpha1ConfigMap(configMap, options).then((request) => request(axios, basePath));
|
|
5627
|
-
},
|
|
5628
|
-
deletev1alpha1ConfigMap(
|
|
5629
|
-
return localVarFp.deletev1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
5630
|
-
},
|
|
5631
|
-
getv1alpha1ConfigMap(
|
|
5632
|
-
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
5633
|
-
},
|
|
5634
|
-
listv1alpha1ConfigMap(
|
|
5635
|
-
return localVarFp.listv1alpha1ConfigMap(
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
6699
|
+
createv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
6700
|
+
return localVarFp.createv1alpha1ConfigMap(requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
6701
|
+
},
|
|
6702
|
+
deletev1alpha1ConfigMap(requestParameters, options) {
|
|
6703
|
+
return localVarFp.deletev1alpha1ConfigMap(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6704
|
+
},
|
|
6705
|
+
getv1alpha1ConfigMap(requestParameters, options) {
|
|
6706
|
+
return localVarFp.getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6707
|
+
},
|
|
6708
|
+
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
6709
|
+
return localVarFp.listv1alpha1ConfigMap(
|
|
6710
|
+
requestParameters.page,
|
|
6711
|
+
requestParameters.size,
|
|
6712
|
+
requestParameters.labelSelector,
|
|
6713
|
+
requestParameters.fieldSelector,
|
|
6714
|
+
options
|
|
6715
|
+
).then((request) => request(axios, basePath));
|
|
6716
|
+
},
|
|
6717
|
+
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
6718
|
+
return localVarFp.updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
5639
6719
|
}
|
|
5640
6720
|
};
|
|
5641
6721
|
};
|
|
@@ -5650,7 +6730,13 @@ class V1alpha1ConfigMapApi extends BaseAPI {
|
|
|
5650
6730
|
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5651
6731
|
}
|
|
5652
6732
|
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
5653
|
-
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(
|
|
6733
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(
|
|
6734
|
+
requestParameters.page,
|
|
6735
|
+
requestParameters.size,
|
|
6736
|
+
requestParameters.labelSelector,
|
|
6737
|
+
requestParameters.fieldSelector,
|
|
6738
|
+
options
|
|
6739
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5654
6740
|
}
|
|
5655
6741
|
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
5656
6742
|
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5796,7 +6882,13 @@ const V1alpha1MenuApiFp = function(configuration) {
|
|
|
5796
6882
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5797
6883
|
},
|
|
5798
6884
|
async listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
5799
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(
|
|
6885
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(
|
|
6886
|
+
page,
|
|
6887
|
+
size,
|
|
6888
|
+
labelSelector,
|
|
6889
|
+
fieldSelector,
|
|
6890
|
+
options
|
|
6891
|
+
);
|
|
5800
6892
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5801
6893
|
},
|
|
5802
6894
|
async updatev1alpha1Menu(name, menu, options) {
|
|
@@ -5808,20 +6900,26 @@ const V1alpha1MenuApiFp = function(configuration) {
|
|
|
5808
6900
|
const V1alpha1MenuApiFactory = function(configuration, basePath, axios) {
|
|
5809
6901
|
const localVarFp = V1alpha1MenuApiFp(configuration);
|
|
5810
6902
|
return {
|
|
5811
|
-
createv1alpha1Menu(
|
|
5812
|
-
return localVarFp.createv1alpha1Menu(menu, options).then((request) => request(axios, basePath));
|
|
5813
|
-
},
|
|
5814
|
-
deletev1alpha1Menu(
|
|
5815
|
-
return localVarFp.deletev1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
5816
|
-
},
|
|
5817
|
-
getv1alpha1Menu(
|
|
5818
|
-
return localVarFp.getv1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
5819
|
-
},
|
|
5820
|
-
listv1alpha1Menu(
|
|
5821
|
-
return localVarFp.listv1alpha1Menu(
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
6903
|
+
createv1alpha1Menu(requestParameters = {}, options) {
|
|
6904
|
+
return localVarFp.createv1alpha1Menu(requestParameters.menu, options).then((request) => request(axios, basePath));
|
|
6905
|
+
},
|
|
6906
|
+
deletev1alpha1Menu(requestParameters, options) {
|
|
6907
|
+
return localVarFp.deletev1alpha1Menu(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6908
|
+
},
|
|
6909
|
+
getv1alpha1Menu(requestParameters, options) {
|
|
6910
|
+
return localVarFp.getv1alpha1Menu(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6911
|
+
},
|
|
6912
|
+
listv1alpha1Menu(requestParameters = {}, options) {
|
|
6913
|
+
return localVarFp.listv1alpha1Menu(
|
|
6914
|
+
requestParameters.page,
|
|
6915
|
+
requestParameters.size,
|
|
6916
|
+
requestParameters.labelSelector,
|
|
6917
|
+
requestParameters.fieldSelector,
|
|
6918
|
+
options
|
|
6919
|
+
).then((request) => request(axios, basePath));
|
|
6920
|
+
},
|
|
6921
|
+
updatev1alpha1Menu(requestParameters, options) {
|
|
6922
|
+
return localVarFp.updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(axios, basePath));
|
|
5825
6923
|
}
|
|
5826
6924
|
};
|
|
5827
6925
|
};
|
|
@@ -5836,7 +6934,13 @@ class V1alpha1MenuApi extends BaseAPI {
|
|
|
5836
6934
|
return V1alpha1MenuApiFp(this.configuration).getv1alpha1Menu(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5837
6935
|
}
|
|
5838
6936
|
listv1alpha1Menu(requestParameters = {}, options) {
|
|
5839
|
-
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(
|
|
6937
|
+
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(
|
|
6938
|
+
requestParameters.page,
|
|
6939
|
+
requestParameters.size,
|
|
6940
|
+
requestParameters.labelSelector,
|
|
6941
|
+
requestParameters.fieldSelector,
|
|
6942
|
+
options
|
|
6943
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5840
6944
|
}
|
|
5841
6945
|
updatev1alpha1Menu(requestParameters, options) {
|
|
5842
6946
|
return V1alpha1MenuApiFp(this.configuration).updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5982,7 +7086,13 @@ const V1alpha1MenuItemApiFp = function(configuration) {
|
|
|
5982
7086
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5983
7087
|
},
|
|
5984
7088
|
async listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
5985
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(
|
|
7089
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(
|
|
7090
|
+
page,
|
|
7091
|
+
size,
|
|
7092
|
+
labelSelector,
|
|
7093
|
+
fieldSelector,
|
|
7094
|
+
options
|
|
7095
|
+
);
|
|
5986
7096
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5987
7097
|
},
|
|
5988
7098
|
async updatev1alpha1MenuItem(name, menuItem, options) {
|
|
@@ -5994,20 +7104,26 @@ const V1alpha1MenuItemApiFp = function(configuration) {
|
|
|
5994
7104
|
const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
5995
7105
|
const localVarFp = V1alpha1MenuItemApiFp(configuration);
|
|
5996
7106
|
return {
|
|
5997
|
-
createv1alpha1MenuItem(
|
|
5998
|
-
return localVarFp.createv1alpha1MenuItem(menuItem, options).then((request) => request(axios, basePath));
|
|
5999
|
-
},
|
|
6000
|
-
deletev1alpha1MenuItem(
|
|
6001
|
-
return localVarFp.deletev1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
6002
|
-
},
|
|
6003
|
-
getv1alpha1MenuItem(
|
|
6004
|
-
return localVarFp.getv1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
6005
|
-
},
|
|
6006
|
-
listv1alpha1MenuItem(
|
|
6007
|
-
return localVarFp.listv1alpha1MenuItem(
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
7107
|
+
createv1alpha1MenuItem(requestParameters = {}, options) {
|
|
7108
|
+
return localVarFp.createv1alpha1MenuItem(requestParameters.menuItem, options).then((request) => request(axios, basePath));
|
|
7109
|
+
},
|
|
7110
|
+
deletev1alpha1MenuItem(requestParameters, options) {
|
|
7111
|
+
return localVarFp.deletev1alpha1MenuItem(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7112
|
+
},
|
|
7113
|
+
getv1alpha1MenuItem(requestParameters, options) {
|
|
7114
|
+
return localVarFp.getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7115
|
+
},
|
|
7116
|
+
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
7117
|
+
return localVarFp.listv1alpha1MenuItem(
|
|
7118
|
+
requestParameters.page,
|
|
7119
|
+
requestParameters.size,
|
|
7120
|
+
requestParameters.labelSelector,
|
|
7121
|
+
requestParameters.fieldSelector,
|
|
7122
|
+
options
|
|
7123
|
+
).then((request) => request(axios, basePath));
|
|
7124
|
+
},
|
|
7125
|
+
updatev1alpha1MenuItem(requestParameters, options) {
|
|
7126
|
+
return localVarFp.updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(axios, basePath));
|
|
6011
7127
|
}
|
|
6012
7128
|
};
|
|
6013
7129
|
};
|
|
@@ -6022,7 +7138,13 @@ class V1alpha1MenuItemApi extends BaseAPI {
|
|
|
6022
7138
|
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6023
7139
|
}
|
|
6024
7140
|
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
6025
|
-
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(
|
|
7141
|
+
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(
|
|
7142
|
+
requestParameters.page,
|
|
7143
|
+
requestParameters.size,
|
|
7144
|
+
requestParameters.labelSelector,
|
|
7145
|
+
requestParameters.fieldSelector,
|
|
7146
|
+
options
|
|
7147
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6026
7148
|
}
|
|
6027
7149
|
updatev1alpha1MenuItem(requestParameters, options) {
|
|
6028
7150
|
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6055,7 +7177,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6055
7177
|
},
|
|
6056
7178
|
deletev1alpha1PersonalAccessToken: async (name, options = {}) => {
|
|
6057
7179
|
assertParamExists("deletev1alpha1PersonalAccessToken", "name", name);
|
|
6058
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7180
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7181
|
+
`{${"name"}}`,
|
|
7182
|
+
encodeURIComponent(String(name))
|
|
7183
|
+
);
|
|
6059
7184
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6060
7185
|
let baseOptions;
|
|
6061
7186
|
if (configuration) {
|
|
@@ -6076,7 +7201,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6076
7201
|
},
|
|
6077
7202
|
getv1alpha1PersonalAccessToken: async (name, options = {}) => {
|
|
6078
7203
|
assertParamExists("getv1alpha1PersonalAccessToken", "name", name);
|
|
6079
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7204
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7205
|
+
`{${"name"}}`,
|
|
7206
|
+
encodeURIComponent(String(name))
|
|
7207
|
+
);
|
|
6080
7208
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6081
7209
|
let baseOptions;
|
|
6082
7210
|
if (configuration) {
|
|
@@ -6129,7 +7257,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6129
7257
|
},
|
|
6130
7258
|
updatev1alpha1PersonalAccessToken: async (name, personalAccessToken, options = {}) => {
|
|
6131
7259
|
assertParamExists("updatev1alpha1PersonalAccessToken", "name", name);
|
|
6132
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7260
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7261
|
+
`{${"name"}}`,
|
|
7262
|
+
encodeURIComponent(String(name))
|
|
7263
|
+
);
|
|
6133
7264
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6134
7265
|
let baseOptions;
|
|
6135
7266
|
if (configuration) {
|
|
@@ -6156,7 +7287,10 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6156
7287
|
const localVarAxiosParamCreator = V1alpha1PersonalAccessTokenApiAxiosParamCreator(configuration);
|
|
6157
7288
|
return {
|
|
6158
7289
|
async createv1alpha1PersonalAccessToken(personalAccessToken, options) {
|
|
6159
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1PersonalAccessToken(
|
|
7290
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1PersonalAccessToken(
|
|
7291
|
+
personalAccessToken,
|
|
7292
|
+
options
|
|
7293
|
+
);
|
|
6160
7294
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6161
7295
|
},
|
|
6162
7296
|
async deletev1alpha1PersonalAccessToken(name, options) {
|
|
@@ -6168,11 +7302,21 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6168
7302
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6169
7303
|
},
|
|
6170
7304
|
async listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
6171
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(
|
|
7305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(
|
|
7306
|
+
page,
|
|
7307
|
+
size,
|
|
7308
|
+
labelSelector,
|
|
7309
|
+
fieldSelector,
|
|
7310
|
+
options
|
|
7311
|
+
);
|
|
6172
7312
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6173
7313
|
},
|
|
6174
7314
|
async updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
6175
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1PersonalAccessToken(
|
|
7315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1PersonalAccessToken(
|
|
7316
|
+
name,
|
|
7317
|
+
personalAccessToken,
|
|
7318
|
+
options
|
|
7319
|
+
);
|
|
6176
7320
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6177
7321
|
}
|
|
6178
7322
|
};
|
|
@@ -6180,20 +7324,26 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6180
7324
|
const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath, axios) {
|
|
6181
7325
|
const localVarFp = V1alpha1PersonalAccessTokenApiFp(configuration);
|
|
6182
7326
|
return {
|
|
6183
|
-
createv1alpha1PersonalAccessToken(
|
|
6184
|
-
return localVarFp.createv1alpha1PersonalAccessToken(personalAccessToken, options).then((request) => request(axios, basePath));
|
|
6185
|
-
},
|
|
6186
|
-
deletev1alpha1PersonalAccessToken(
|
|
6187
|
-
return localVarFp.deletev1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
6188
|
-
},
|
|
6189
|
-
getv1alpha1PersonalAccessToken(
|
|
6190
|
-
return localVarFp.getv1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
6191
|
-
},
|
|
6192
|
-
listv1alpha1PersonalAccessToken(
|
|
6193
|
-
return localVarFp.listv1alpha1PersonalAccessToken(
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
7327
|
+
createv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
7328
|
+
return localVarFp.createv1alpha1PersonalAccessToken(requestParameters.personalAccessToken, options).then((request) => request(axios, basePath));
|
|
7329
|
+
},
|
|
7330
|
+
deletev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7331
|
+
return localVarFp.deletev1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7332
|
+
},
|
|
7333
|
+
getv1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7334
|
+
return localVarFp.getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7335
|
+
},
|
|
7336
|
+
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
7337
|
+
return localVarFp.listv1alpha1PersonalAccessToken(
|
|
7338
|
+
requestParameters.page,
|
|
7339
|
+
requestParameters.size,
|
|
7340
|
+
requestParameters.labelSelector,
|
|
7341
|
+
requestParameters.fieldSelector,
|
|
7342
|
+
options
|
|
7343
|
+
).then((request) => request(axios, basePath));
|
|
7344
|
+
},
|
|
7345
|
+
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7346
|
+
return localVarFp.updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(axios, basePath));
|
|
6197
7347
|
}
|
|
6198
7348
|
};
|
|
6199
7349
|
};
|
|
@@ -6208,7 +7358,13 @@ class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
|
6208
7358
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6209
7359
|
}
|
|
6210
7360
|
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
6211
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(
|
|
7361
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(
|
|
7362
|
+
requestParameters.page,
|
|
7363
|
+
requestParameters.size,
|
|
7364
|
+
requestParameters.labelSelector,
|
|
7365
|
+
requestParameters.fieldSelector,
|
|
7366
|
+
options
|
|
7367
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6212
7368
|
}
|
|
6213
7369
|
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
6214
7370
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6354,7 +7510,13 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
6354
7510
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6355
7511
|
},
|
|
6356
7512
|
async listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
6357
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(
|
|
7513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(
|
|
7514
|
+
page,
|
|
7515
|
+
size,
|
|
7516
|
+
labelSelector,
|
|
7517
|
+
fieldSelector,
|
|
7518
|
+
options
|
|
7519
|
+
);
|
|
6358
7520
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6359
7521
|
},
|
|
6360
7522
|
async updatev1alpha1Role(name, role, options) {
|
|
@@ -6366,20 +7528,26 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
6366
7528
|
const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
6367
7529
|
const localVarFp = V1alpha1RoleApiFp(configuration);
|
|
6368
7530
|
return {
|
|
6369
|
-
createv1alpha1Role(
|
|
6370
|
-
return localVarFp.createv1alpha1Role(role, options).then((request) => request(axios, basePath));
|
|
6371
|
-
},
|
|
6372
|
-
deletev1alpha1Role(
|
|
6373
|
-
return localVarFp.deletev1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
6374
|
-
},
|
|
6375
|
-
getv1alpha1Role(
|
|
6376
|
-
return localVarFp.getv1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
6377
|
-
},
|
|
6378
|
-
listv1alpha1Role(
|
|
6379
|
-
return localVarFp.listv1alpha1Role(
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
7531
|
+
createv1alpha1Role(requestParameters = {}, options) {
|
|
7532
|
+
return localVarFp.createv1alpha1Role(requestParameters.role, options).then((request) => request(axios, basePath));
|
|
7533
|
+
},
|
|
7534
|
+
deletev1alpha1Role(requestParameters, options) {
|
|
7535
|
+
return localVarFp.deletev1alpha1Role(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7536
|
+
},
|
|
7537
|
+
getv1alpha1Role(requestParameters, options) {
|
|
7538
|
+
return localVarFp.getv1alpha1Role(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7539
|
+
},
|
|
7540
|
+
listv1alpha1Role(requestParameters = {}, options) {
|
|
7541
|
+
return localVarFp.listv1alpha1Role(
|
|
7542
|
+
requestParameters.page,
|
|
7543
|
+
requestParameters.size,
|
|
7544
|
+
requestParameters.labelSelector,
|
|
7545
|
+
requestParameters.fieldSelector,
|
|
7546
|
+
options
|
|
7547
|
+
).then((request) => request(axios, basePath));
|
|
7548
|
+
},
|
|
7549
|
+
updatev1alpha1Role(requestParameters, options) {
|
|
7550
|
+
return localVarFp.updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(axios, basePath));
|
|
6383
7551
|
}
|
|
6384
7552
|
};
|
|
6385
7553
|
};
|
|
@@ -6394,7 +7562,13 @@ class V1alpha1RoleApi extends BaseAPI {
|
|
|
6394
7562
|
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6395
7563
|
}
|
|
6396
7564
|
listv1alpha1Role(requestParameters = {}, options) {
|
|
6397
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(
|
|
7565
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(
|
|
7566
|
+
requestParameters.page,
|
|
7567
|
+
requestParameters.size,
|
|
7568
|
+
requestParameters.labelSelector,
|
|
7569
|
+
requestParameters.fieldSelector,
|
|
7570
|
+
options
|
|
7571
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6398
7572
|
}
|
|
6399
7573
|
updatev1alpha1Role(requestParameters, options) {
|
|
6400
7574
|
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6540,7 +7714,13 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
6540
7714
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6541
7715
|
},
|
|
6542
7716
|
async listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
6543
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(
|
|
7717
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(
|
|
7718
|
+
page,
|
|
7719
|
+
size,
|
|
7720
|
+
labelSelector,
|
|
7721
|
+
fieldSelector,
|
|
7722
|
+
options
|
|
7723
|
+
);
|
|
6544
7724
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6545
7725
|
},
|
|
6546
7726
|
async updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
@@ -6552,20 +7732,26 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
6552
7732
|
const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
6553
7733
|
const localVarFp = V1alpha1RoleBindingApiFp(configuration);
|
|
6554
7734
|
return {
|
|
6555
|
-
createv1alpha1RoleBinding(
|
|
6556
|
-
return localVarFp.createv1alpha1RoleBinding(roleBinding, options).then((request) => request(axios, basePath));
|
|
6557
|
-
},
|
|
6558
|
-
deletev1alpha1RoleBinding(
|
|
6559
|
-
return localVarFp.deletev1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
6560
|
-
},
|
|
6561
|
-
getv1alpha1RoleBinding(
|
|
6562
|
-
return localVarFp.getv1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
6563
|
-
},
|
|
6564
|
-
listv1alpha1RoleBinding(
|
|
6565
|
-
return localVarFp.listv1alpha1RoleBinding(
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
|
|
7735
|
+
createv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
7736
|
+
return localVarFp.createv1alpha1RoleBinding(requestParameters.roleBinding, options).then((request) => request(axios, basePath));
|
|
7737
|
+
},
|
|
7738
|
+
deletev1alpha1RoleBinding(requestParameters, options) {
|
|
7739
|
+
return localVarFp.deletev1alpha1RoleBinding(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7740
|
+
},
|
|
7741
|
+
getv1alpha1RoleBinding(requestParameters, options) {
|
|
7742
|
+
return localVarFp.getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7743
|
+
},
|
|
7744
|
+
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
7745
|
+
return localVarFp.listv1alpha1RoleBinding(
|
|
7746
|
+
requestParameters.page,
|
|
7747
|
+
requestParameters.size,
|
|
7748
|
+
requestParameters.labelSelector,
|
|
7749
|
+
requestParameters.fieldSelector,
|
|
7750
|
+
options
|
|
7751
|
+
).then((request) => request(axios, basePath));
|
|
7752
|
+
},
|
|
7753
|
+
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
7754
|
+
return localVarFp.updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(axios, basePath));
|
|
6569
7755
|
}
|
|
6570
7756
|
};
|
|
6571
7757
|
};
|
|
@@ -6580,7 +7766,13 @@ class V1alpha1RoleBindingApi extends BaseAPI {
|
|
|
6580
7766
|
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6581
7767
|
}
|
|
6582
7768
|
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
6583
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(
|
|
7769
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(
|
|
7770
|
+
requestParameters.page,
|
|
7771
|
+
requestParameters.size,
|
|
7772
|
+
requestParameters.labelSelector,
|
|
7773
|
+
requestParameters.fieldSelector,
|
|
7774
|
+
options
|
|
7775
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6584
7776
|
}
|
|
6585
7777
|
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
6586
7778
|
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6726,7 +7918,13 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
6726
7918
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6727
7919
|
},
|
|
6728
7920
|
async listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
6729
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(
|
|
7921
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(
|
|
7922
|
+
page,
|
|
7923
|
+
size,
|
|
7924
|
+
labelSelector,
|
|
7925
|
+
fieldSelector,
|
|
7926
|
+
options
|
|
7927
|
+
);
|
|
6730
7928
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6731
7929
|
},
|
|
6732
7930
|
async updatev1alpha1Setting(name, setting, options) {
|
|
@@ -6738,20 +7936,26 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
6738
7936
|
const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
6739
7937
|
const localVarFp = V1alpha1SettingApiFp(configuration);
|
|
6740
7938
|
return {
|
|
6741
|
-
createv1alpha1Setting(
|
|
6742
|
-
return localVarFp.createv1alpha1Setting(setting, options).then((request) => request(axios, basePath));
|
|
6743
|
-
},
|
|
6744
|
-
deletev1alpha1Setting(
|
|
6745
|
-
return localVarFp.deletev1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
6746
|
-
},
|
|
6747
|
-
getv1alpha1Setting(
|
|
6748
|
-
return localVarFp.getv1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
6749
|
-
},
|
|
6750
|
-
listv1alpha1Setting(
|
|
6751
|
-
return localVarFp.listv1alpha1Setting(
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
7939
|
+
createv1alpha1Setting(requestParameters = {}, options) {
|
|
7940
|
+
return localVarFp.createv1alpha1Setting(requestParameters.setting, options).then((request) => request(axios, basePath));
|
|
7941
|
+
},
|
|
7942
|
+
deletev1alpha1Setting(requestParameters, options) {
|
|
7943
|
+
return localVarFp.deletev1alpha1Setting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7944
|
+
},
|
|
7945
|
+
getv1alpha1Setting(requestParameters, options) {
|
|
7946
|
+
return localVarFp.getv1alpha1Setting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7947
|
+
},
|
|
7948
|
+
listv1alpha1Setting(requestParameters = {}, options) {
|
|
7949
|
+
return localVarFp.listv1alpha1Setting(
|
|
7950
|
+
requestParameters.page,
|
|
7951
|
+
requestParameters.size,
|
|
7952
|
+
requestParameters.labelSelector,
|
|
7953
|
+
requestParameters.fieldSelector,
|
|
7954
|
+
options
|
|
7955
|
+
).then((request) => request(axios, basePath));
|
|
7956
|
+
},
|
|
7957
|
+
updatev1alpha1Setting(requestParameters, options) {
|
|
7958
|
+
return localVarFp.updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(axios, basePath));
|
|
6755
7959
|
}
|
|
6756
7960
|
};
|
|
6757
7961
|
};
|
|
@@ -6766,7 +7970,13 @@ class V1alpha1SettingApi extends BaseAPI {
|
|
|
6766
7970
|
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6767
7971
|
}
|
|
6768
7972
|
listv1alpha1Setting(requestParameters = {}, options) {
|
|
6769
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(
|
|
7973
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(
|
|
7974
|
+
requestParameters.page,
|
|
7975
|
+
requestParameters.size,
|
|
7976
|
+
requestParameters.labelSelector,
|
|
7977
|
+
requestParameters.fieldSelector,
|
|
7978
|
+
options
|
|
7979
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6770
7980
|
}
|
|
6771
7981
|
updatev1alpha1Setting(requestParameters, options) {
|
|
6772
7982
|
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6912,7 +8122,13 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
6912
8122
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6913
8123
|
},
|
|
6914
8124
|
async listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
6915
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(
|
|
8125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(
|
|
8126
|
+
page,
|
|
8127
|
+
size,
|
|
8128
|
+
labelSelector,
|
|
8129
|
+
fieldSelector,
|
|
8130
|
+
options
|
|
8131
|
+
);
|
|
6916
8132
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6917
8133
|
},
|
|
6918
8134
|
async updatev1alpha1User(name, user, options) {
|
|
@@ -6924,20 +8140,26 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
6924
8140
|
const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
6925
8141
|
const localVarFp = V1alpha1UserApiFp(configuration);
|
|
6926
8142
|
return {
|
|
6927
|
-
createv1alpha1User(
|
|
6928
|
-
return localVarFp.createv1alpha1User(user, options).then((request) => request(axios, basePath));
|
|
6929
|
-
},
|
|
6930
|
-
deletev1alpha1User(
|
|
6931
|
-
return localVarFp.deletev1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
6932
|
-
},
|
|
6933
|
-
getv1alpha1User(
|
|
6934
|
-
return localVarFp.getv1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
6935
|
-
},
|
|
6936
|
-
listv1alpha1User(
|
|
6937
|
-
return localVarFp.listv1alpha1User(
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
8143
|
+
createv1alpha1User(requestParameters = {}, options) {
|
|
8144
|
+
return localVarFp.createv1alpha1User(requestParameters.user, options).then((request) => request(axios, basePath));
|
|
8145
|
+
},
|
|
8146
|
+
deletev1alpha1User(requestParameters, options) {
|
|
8147
|
+
return localVarFp.deletev1alpha1User(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
8148
|
+
},
|
|
8149
|
+
getv1alpha1User(requestParameters, options) {
|
|
8150
|
+
return localVarFp.getv1alpha1User(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
8151
|
+
},
|
|
8152
|
+
listv1alpha1User(requestParameters = {}, options) {
|
|
8153
|
+
return localVarFp.listv1alpha1User(
|
|
8154
|
+
requestParameters.page,
|
|
8155
|
+
requestParameters.size,
|
|
8156
|
+
requestParameters.labelSelector,
|
|
8157
|
+
requestParameters.fieldSelector,
|
|
8158
|
+
options
|
|
8159
|
+
).then((request) => request(axios, basePath));
|
|
8160
|
+
},
|
|
8161
|
+
updatev1alpha1User(requestParameters, options) {
|
|
8162
|
+
return localVarFp.updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
6941
8163
|
}
|
|
6942
8164
|
};
|
|
6943
8165
|
};
|
|
@@ -6952,7 +8174,13 @@ class V1alpha1UserApi extends BaseAPI {
|
|
|
6952
8174
|
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6953
8175
|
}
|
|
6954
8176
|
listv1alpha1User(requestParameters = {}, options) {
|
|
6955
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(
|
|
8177
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(
|
|
8178
|
+
requestParameters.page,
|
|
8179
|
+
requestParameters.size,
|
|
8180
|
+
requestParameters.labelSelector,
|
|
8181
|
+
requestParameters.fieldSelector,
|
|
8182
|
+
options
|
|
8183
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6956
8184
|
}
|
|
6957
8185
|
updatev1alpha1User(requestParameters, options) {
|
|
6958
8186
|
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|