@halo-dev/api-client 0.0.70 → 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 +2080 -905
- package/dist/index.d.ts +1485 -1446
- package/dist/index.mjs +2081 -898
- package/package.json +15 -9
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
|
|
3
|
-
const BASE_PATH = "http://
|
|
3
|
+
const BASE_PATH = "http://127.0.0.1:8090".replace(/\/+$/, "");
|
|
4
4
|
class BaseAPI {
|
|
5
5
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
6
6
|
this.basePath = basePath;
|
|
@@ -22,7 +22,10 @@ class RequiredError extends Error {
|
|
|
22
22
|
const DUMMY_BASE_URL = "https://example.com";
|
|
23
23
|
const assertParamExists = function(functionName, paramName, paramValue) {
|
|
24
24
|
if (paramValue === null || paramValue === void 0) {
|
|
25
|
-
throw new RequiredError(
|
|
25
|
+
throw new RequiredError(
|
|
26
|
+
paramName,
|
|
27
|
+
`Required parameter ${paramName} was null or undefined when calling ${functionName}.`
|
|
28
|
+
);
|
|
26
29
|
}
|
|
27
30
|
};
|
|
28
31
|
const setBasicAuthToObject = function(object, configuration) {
|
|
@@ -36,20 +39,28 @@ const setBearerAuthToObject = async function(object, configuration) {
|
|
|
36
39
|
object["Authorization"] = "Bearer " + accessToken;
|
|
37
40
|
}
|
|
38
41
|
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
43
|
+
if (parameter == null)
|
|
44
|
+
return;
|
|
45
|
+
if (typeof parameter === "object") {
|
|
46
|
+
if (Array.isArray(parameter)) {
|
|
47
|
+
parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
48
|
+
} else {
|
|
49
|
+
Object.keys(parameter).forEach(
|
|
50
|
+
(currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
} else {
|
|
54
|
+
if (urlSearchParams.has(key)) {
|
|
55
|
+
urlSearchParams.append(key, parameter);
|
|
56
|
+
} else {
|
|
57
|
+
urlSearchParams.set(key, parameter);
|
|
51
58
|
}
|
|
52
59
|
}
|
|
60
|
+
}
|
|
61
|
+
const setSearchParams = function(url, ...objects) {
|
|
62
|
+
const searchParams = new URLSearchParams(url.search);
|
|
63
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
53
64
|
url.search = searchParams.toString();
|
|
54
65
|
};
|
|
55
66
|
const serializeDataIfNeeded = function(value, requestOptions, configuration) {
|
|
@@ -69,7 +80,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
69
80
|
|
|
70
81
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
71
82
|
return {
|
|
72
|
-
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
83
|
+
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
73
84
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
74
85
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
86
|
let baseOptions;
|
|
@@ -105,12 +116,12 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
105
116
|
if (page !== void 0) {
|
|
106
117
|
localVarQueryParameter["page"] = page;
|
|
107
118
|
}
|
|
108
|
-
if (fieldSelector) {
|
|
109
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
110
|
-
}
|
|
111
119
|
if (labelSelector) {
|
|
112
120
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
113
121
|
}
|
|
122
|
+
if (fieldSelector) {
|
|
123
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
124
|
+
}
|
|
114
125
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
115
126
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
116
127
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -158,8 +169,20 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
158
169
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
159
170
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
160
171
|
return {
|
|
161
|
-
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
162
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(
|
|
172
|
+
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(
|
|
174
|
+
policy,
|
|
175
|
+
sort,
|
|
176
|
+
displayName,
|
|
177
|
+
group,
|
|
178
|
+
ungrouped,
|
|
179
|
+
uploadedBy,
|
|
180
|
+
size,
|
|
181
|
+
page,
|
|
182
|
+
labelSelector,
|
|
183
|
+
fieldSelector,
|
|
184
|
+
options
|
|
185
|
+
);
|
|
163
186
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
164
187
|
},
|
|
165
188
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -171,17 +194,41 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
171
194
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
172
195
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
173
196
|
return {
|
|
174
|
-
searchAttachments(
|
|
175
|
-
return localVarFp.searchAttachments(
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
197
|
+
searchAttachments(requestParameters = {}, options) {
|
|
198
|
+
return localVarFp.searchAttachments(
|
|
199
|
+
requestParameters.policy,
|
|
200
|
+
requestParameters.sort,
|
|
201
|
+
requestParameters.displayName,
|
|
202
|
+
requestParameters.group,
|
|
203
|
+
requestParameters.ungrouped,
|
|
204
|
+
requestParameters.uploadedBy,
|
|
205
|
+
requestParameters.size,
|
|
206
|
+
requestParameters.page,
|
|
207
|
+
requestParameters.labelSelector,
|
|
208
|
+
requestParameters.fieldSelector,
|
|
209
|
+
options
|
|
210
|
+
).then((request) => request(axios, basePath));
|
|
211
|
+
},
|
|
212
|
+
uploadAttachment(requestParameters, options) {
|
|
213
|
+
return localVarFp.uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(axios, basePath));
|
|
179
214
|
}
|
|
180
215
|
};
|
|
181
216
|
};
|
|
182
217
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
183
218
|
searchAttachments(requestParameters = {}, options) {
|
|
184
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(
|
|
219
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(
|
|
220
|
+
requestParameters.policy,
|
|
221
|
+
requestParameters.sort,
|
|
222
|
+
requestParameters.displayName,
|
|
223
|
+
requestParameters.group,
|
|
224
|
+
requestParameters.ungrouped,
|
|
225
|
+
requestParameters.uploadedBy,
|
|
226
|
+
requestParameters.size,
|
|
227
|
+
requestParameters.page,
|
|
228
|
+
requestParameters.labelSelector,
|
|
229
|
+
requestParameters.fieldSelector,
|
|
230
|
+
options
|
|
231
|
+
).then((request) => request(this.axios, this.basePath));
|
|
185
232
|
}
|
|
186
233
|
uploadAttachment(requestParameters, options) {
|
|
187
234
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -216,7 +263,10 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
216
263
|
createReply: async (name, replyRequest, options = {}) => {
|
|
217
264
|
assertParamExists("createReply", "name", name);
|
|
218
265
|
assertParamExists("createReply", "replyRequest", replyRequest);
|
|
219
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
266
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
267
|
+
`{${"name"}}`,
|
|
268
|
+
encodeURIComponent(String(name))
|
|
269
|
+
);
|
|
220
270
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
221
271
|
let baseOptions;
|
|
222
272
|
if (configuration) {
|
|
@@ -237,7 +287,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
237
287
|
options: localVarRequestOptions
|
|
238
288
|
};
|
|
239
289
|
},
|
|
240
|
-
listComments: async (sort,
|
|
290
|
+
listComments: async (sort, keyword, hidden, top, approved, sortOrder, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
241
291
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
242
292
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
243
293
|
let baseOptions;
|
|
@@ -252,24 +302,24 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
252
302
|
if (sort !== void 0) {
|
|
253
303
|
localVarQueryParameter["sort"] = sort;
|
|
254
304
|
}
|
|
255
|
-
if (
|
|
256
|
-
localVarQueryParameter["
|
|
305
|
+
if (keyword !== void 0) {
|
|
306
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
257
307
|
}
|
|
258
308
|
if (hidden !== void 0) {
|
|
259
309
|
localVarQueryParameter["hidden"] = hidden;
|
|
260
310
|
}
|
|
261
|
-
if (
|
|
262
|
-
localVarQueryParameter["
|
|
311
|
+
if (top !== void 0) {
|
|
312
|
+
localVarQueryParameter["top"] = top;
|
|
263
313
|
}
|
|
264
314
|
if (approved !== void 0) {
|
|
265
315
|
localVarQueryParameter["approved"] = approved;
|
|
266
316
|
}
|
|
267
|
-
if (allowNotification !== void 0) {
|
|
268
|
-
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
269
|
-
}
|
|
270
317
|
if (sortOrder !== void 0) {
|
|
271
318
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
272
319
|
}
|
|
320
|
+
if (allowNotification !== void 0) {
|
|
321
|
+
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
322
|
+
}
|
|
273
323
|
if (ownerKind !== void 0) {
|
|
274
324
|
localVarQueryParameter["ownerKind"] = ownerKind;
|
|
275
325
|
}
|
|
@@ -288,12 +338,12 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
288
338
|
if (page !== void 0) {
|
|
289
339
|
localVarQueryParameter["page"] = page;
|
|
290
340
|
}
|
|
291
|
-
if (fieldSelector) {
|
|
292
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
293
|
-
}
|
|
294
341
|
if (labelSelector) {
|
|
295
342
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
296
343
|
}
|
|
344
|
+
if (fieldSelector) {
|
|
345
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
346
|
+
}
|
|
297
347
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
298
348
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
299
349
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -315,8 +365,25 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
315
365
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
316
366
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
317
367
|
},
|
|
318
|
-
async listComments(sort,
|
|
319
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(
|
|
368
|
+
async listComments(sort, keyword, hidden, top, approved, sortOrder, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
369
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(
|
|
370
|
+
sort,
|
|
371
|
+
keyword,
|
|
372
|
+
hidden,
|
|
373
|
+
top,
|
|
374
|
+
approved,
|
|
375
|
+
sortOrder,
|
|
376
|
+
allowNotification,
|
|
377
|
+
ownerKind,
|
|
378
|
+
ownerName,
|
|
379
|
+
subjectKind,
|
|
380
|
+
subjectName,
|
|
381
|
+
size,
|
|
382
|
+
page,
|
|
383
|
+
labelSelector,
|
|
384
|
+
fieldSelector,
|
|
385
|
+
options
|
|
386
|
+
);
|
|
320
387
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
321
388
|
}
|
|
322
389
|
};
|
|
@@ -324,14 +391,31 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
324
391
|
const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
325
392
|
const localVarFp = ApiConsoleHaloRunV1alpha1CommentApiFp(configuration);
|
|
326
393
|
return {
|
|
327
|
-
createComment(
|
|
328
|
-
return localVarFp.createComment(commentRequest, options).then((request) => request(axios, basePath));
|
|
329
|
-
},
|
|
330
|
-
createReply(
|
|
331
|
-
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
332
|
-
},
|
|
333
|
-
listComments(
|
|
334
|
-
return localVarFp.listComments(
|
|
394
|
+
createComment(requestParameters, options) {
|
|
395
|
+
return localVarFp.createComment(requestParameters.commentRequest, options).then((request) => request(axios, basePath));
|
|
396
|
+
},
|
|
397
|
+
createReply(requestParameters, options) {
|
|
398
|
+
return localVarFp.createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(axios, basePath));
|
|
399
|
+
},
|
|
400
|
+
listComments(requestParameters = {}, options) {
|
|
401
|
+
return localVarFp.listComments(
|
|
402
|
+
requestParameters.sort,
|
|
403
|
+
requestParameters.keyword,
|
|
404
|
+
requestParameters.hidden,
|
|
405
|
+
requestParameters.top,
|
|
406
|
+
requestParameters.approved,
|
|
407
|
+
requestParameters.sortOrder,
|
|
408
|
+
requestParameters.allowNotification,
|
|
409
|
+
requestParameters.ownerKind,
|
|
410
|
+
requestParameters.ownerName,
|
|
411
|
+
requestParameters.subjectKind,
|
|
412
|
+
requestParameters.subjectName,
|
|
413
|
+
requestParameters.size,
|
|
414
|
+
requestParameters.page,
|
|
415
|
+
requestParameters.labelSelector,
|
|
416
|
+
requestParameters.fieldSelector,
|
|
417
|
+
options
|
|
418
|
+
).then((request) => request(axios, basePath));
|
|
335
419
|
}
|
|
336
420
|
};
|
|
337
421
|
};
|
|
@@ -343,122 +427,24 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
343
427
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
344
428
|
}
|
|
345
429
|
listComments(requestParameters = {}, options) {
|
|
346
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
365
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
366
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
367
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
368
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
369
|
-
localVarRequestOptions.data = serializeDataIfNeeded(contentRequest, localVarRequestOptions, configuration);
|
|
370
|
-
return {
|
|
371
|
-
url: toPathString(localVarUrlObj),
|
|
372
|
-
options: localVarRequestOptions
|
|
373
|
-
};
|
|
374
|
-
},
|
|
375
|
-
obtainSnapshotContent: async (snapshotName, options = {}) => {
|
|
376
|
-
assertParamExists("obtainSnapshotContent", "snapshotName", snapshotName);
|
|
377
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
|
|
378
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
379
|
-
let baseOptions;
|
|
380
|
-
if (configuration) {
|
|
381
|
-
baseOptions = configuration.baseOptions;
|
|
382
|
-
}
|
|
383
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
384
|
-
const localVarHeaderParameter = {};
|
|
385
|
-
const localVarQueryParameter = {};
|
|
386
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
387
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
388
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
389
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
390
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
391
|
-
return {
|
|
392
|
-
url: toPathString(localVarUrlObj),
|
|
393
|
-
options: localVarRequestOptions
|
|
394
|
-
};
|
|
395
|
-
},
|
|
396
|
-
updateSnapshotContent: async (snapshotName, contentRequest, options = {}) => {
|
|
397
|
-
assertParamExists("updateSnapshotContent", "snapshotName", snapshotName);
|
|
398
|
-
assertParamExists("updateSnapshotContent", "contentRequest", contentRequest);
|
|
399
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
|
|
400
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
401
|
-
let baseOptions;
|
|
402
|
-
if (configuration) {
|
|
403
|
-
baseOptions = configuration.baseOptions;
|
|
404
|
-
}
|
|
405
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
406
|
-
const localVarHeaderParameter = {};
|
|
407
|
-
const localVarQueryParameter = {};
|
|
408
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
409
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
410
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
411
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
412
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
413
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
414
|
-
localVarRequestOptions.data = serializeDataIfNeeded(contentRequest, localVarRequestOptions, configuration);
|
|
415
|
-
return {
|
|
416
|
-
url: toPathString(localVarUrlObj),
|
|
417
|
-
options: localVarRequestOptions
|
|
418
|
-
};
|
|
419
|
-
}
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
const ApiConsoleHaloRunV1alpha1ContentApiFp = function(configuration) {
|
|
423
|
-
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator(configuration);
|
|
424
|
-
return {
|
|
425
|
-
async draftSnapshotContent(contentRequest, options) {
|
|
426
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSnapshotContent(contentRequest, options);
|
|
427
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
428
|
-
},
|
|
429
|
-
async obtainSnapshotContent(snapshotName, options) {
|
|
430
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.obtainSnapshotContent(snapshotName, options);
|
|
431
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
432
|
-
},
|
|
433
|
-
async updateSnapshotContent(snapshotName, contentRequest, options) {
|
|
434
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSnapshotContent(snapshotName, contentRequest, options);
|
|
435
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
};
|
|
439
|
-
const ApiConsoleHaloRunV1alpha1ContentApiFactory = function(configuration, basePath, axios) {
|
|
440
|
-
const localVarFp = ApiConsoleHaloRunV1alpha1ContentApiFp(configuration);
|
|
441
|
-
return {
|
|
442
|
-
draftSnapshotContent(contentRequest, options) {
|
|
443
|
-
return localVarFp.draftSnapshotContent(contentRequest, options).then((request) => request(axios, basePath));
|
|
444
|
-
},
|
|
445
|
-
obtainSnapshotContent(snapshotName, options) {
|
|
446
|
-
return localVarFp.obtainSnapshotContent(snapshotName, options).then((request) => request(axios, basePath));
|
|
447
|
-
},
|
|
448
|
-
updateSnapshotContent(snapshotName, contentRequest, options) {
|
|
449
|
-
return localVarFp.updateSnapshotContent(snapshotName, contentRequest, options).then((request) => request(axios, basePath));
|
|
450
|
-
}
|
|
451
|
-
};
|
|
452
|
-
};
|
|
453
|
-
class ApiConsoleHaloRunV1alpha1ContentApi extends BaseAPI {
|
|
454
|
-
draftSnapshotContent(requestParameters, options) {
|
|
455
|
-
return ApiConsoleHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
456
|
-
}
|
|
457
|
-
obtainSnapshotContent(requestParameters, options) {
|
|
458
|
-
return ApiConsoleHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(requestParameters.snapshotName, options).then((request) => request(this.axios, this.basePath));
|
|
459
|
-
}
|
|
460
|
-
updateSnapshotContent(requestParameters, options) {
|
|
461
|
-
return ApiConsoleHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(requestParameters.snapshotName, requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
430
|
+
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(
|
|
431
|
+
requestParameters.sort,
|
|
432
|
+
requestParameters.keyword,
|
|
433
|
+
requestParameters.hidden,
|
|
434
|
+
requestParameters.top,
|
|
435
|
+
requestParameters.approved,
|
|
436
|
+
requestParameters.sortOrder,
|
|
437
|
+
requestParameters.allowNotification,
|
|
438
|
+
requestParameters.ownerKind,
|
|
439
|
+
requestParameters.ownerName,
|
|
440
|
+
requestParameters.subjectKind,
|
|
441
|
+
requestParameters.subjectName,
|
|
442
|
+
requestParameters.size,
|
|
443
|
+
requestParameters.page,
|
|
444
|
+
requestParameters.labelSelector,
|
|
445
|
+
requestParameters.fieldSelector,
|
|
446
|
+
options
|
|
447
|
+
).then((request) => request(this.axios, this.basePath));
|
|
462
448
|
}
|
|
463
449
|
}
|
|
464
450
|
|
|
@@ -513,7 +499,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
513
499
|
return {
|
|
514
500
|
fetchPluginConfig: async (name, options = {}) => {
|
|
515
501
|
assertParamExists("fetchPluginConfig", "name", name);
|
|
516
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
502
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
503
|
+
`{${"name"}}`,
|
|
504
|
+
encodeURIComponent(String(name))
|
|
505
|
+
);
|
|
517
506
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
518
507
|
let baseOptions;
|
|
519
508
|
if (configuration) {
|
|
@@ -534,7 +523,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
534
523
|
},
|
|
535
524
|
fetchPluginSetting: async (name, options = {}) => {
|
|
536
525
|
assertParamExists("fetchPluginSetting", "name", name);
|
|
537
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/setting`.replace(
|
|
526
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/setting`.replace(
|
|
527
|
+
`{${"name"}}`,
|
|
528
|
+
encodeURIComponent(String(name))
|
|
529
|
+
);
|
|
538
530
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
539
531
|
let baseOptions;
|
|
540
532
|
if (configuration) {
|
|
@@ -553,8 +545,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
553
545
|
options: localVarRequestOptions
|
|
554
546
|
};
|
|
555
547
|
},
|
|
556
|
-
installPlugin: async (file, options = {}) => {
|
|
557
|
-
assertParamExists("installPlugin", "file", file);
|
|
548
|
+
installPlugin: async (file, source, presetName, options = {}) => {
|
|
558
549
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/install`;
|
|
559
550
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
560
551
|
let baseOptions;
|
|
@@ -570,6 +561,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
570
561
|
if (file !== void 0) {
|
|
571
562
|
localVarFormParams.append("file", file);
|
|
572
563
|
}
|
|
564
|
+
if (source !== void 0) {
|
|
565
|
+
localVarFormParams.append("source", source);
|
|
566
|
+
}
|
|
567
|
+
if (presetName !== void 0) {
|
|
568
|
+
localVarFormParams.append("presetName", presetName);
|
|
569
|
+
}
|
|
573
570
|
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
574
571
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
575
572
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -580,7 +577,27 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
580
577
|
options: localVarRequestOptions
|
|
581
578
|
};
|
|
582
579
|
},
|
|
583
|
-
|
|
580
|
+
listPluginPresets: async (options = {}) => {
|
|
581
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugin-presets`;
|
|
582
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
583
|
+
let baseOptions;
|
|
584
|
+
if (configuration) {
|
|
585
|
+
baseOptions = configuration.baseOptions;
|
|
586
|
+
}
|
|
587
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
588
|
+
const localVarHeaderParameter = {};
|
|
589
|
+
const localVarQueryParameter = {};
|
|
590
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
591
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
592
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
593
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
594
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
595
|
+
return {
|
|
596
|
+
url: toPathString(localVarUrlObj),
|
|
597
|
+
options: localVarRequestOptions
|
|
598
|
+
};
|
|
599
|
+
},
|
|
600
|
+
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
584
601
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
585
602
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
586
603
|
let baseOptions;
|
|
@@ -595,23 +612,23 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
595
612
|
if (sort) {
|
|
596
613
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
597
614
|
}
|
|
598
|
-
if (enabled !== void 0) {
|
|
599
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
600
|
-
}
|
|
601
615
|
if (keyword !== void 0) {
|
|
602
616
|
localVarQueryParameter["keyword"] = keyword;
|
|
603
617
|
}
|
|
618
|
+
if (enabled !== void 0) {
|
|
619
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
620
|
+
}
|
|
604
621
|
if (size !== void 0) {
|
|
605
622
|
localVarQueryParameter["size"] = size;
|
|
606
623
|
}
|
|
607
|
-
if (
|
|
608
|
-
localVarQueryParameter["
|
|
624
|
+
if (labelSelector) {
|
|
625
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
609
626
|
}
|
|
610
627
|
if (fieldSelector) {
|
|
611
628
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
612
629
|
}
|
|
613
|
-
if (
|
|
614
|
-
localVarQueryParameter["
|
|
630
|
+
if (page !== void 0) {
|
|
631
|
+
localVarQueryParameter["page"] = page;
|
|
615
632
|
}
|
|
616
633
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
617
634
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -623,7 +640,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
623
640
|
},
|
|
624
641
|
resetPluginConfig: async (name, options = {}) => {
|
|
625
642
|
assertParamExists("resetPluginConfig", "name", name);
|
|
626
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/reset-config`.replace(
|
|
643
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/reset-config`.replace(
|
|
644
|
+
`{${"name"}}`,
|
|
645
|
+
encodeURIComponent(String(name))
|
|
646
|
+
);
|
|
627
647
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
628
648
|
let baseOptions;
|
|
629
649
|
if (configuration) {
|
|
@@ -645,7 +665,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
645
665
|
updatePluginConfig: async (name, configMap, options = {}) => {
|
|
646
666
|
assertParamExists("updatePluginConfig", "name", name);
|
|
647
667
|
assertParamExists("updatePluginConfig", "configMap", configMap);
|
|
648
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
668
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
669
|
+
`{${"name"}}`,
|
|
670
|
+
encodeURIComponent(String(name))
|
|
671
|
+
);
|
|
649
672
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
650
673
|
let baseOptions;
|
|
651
674
|
if (configuration) {
|
|
@@ -666,10 +689,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
666
689
|
options: localVarRequestOptions
|
|
667
690
|
};
|
|
668
691
|
},
|
|
669
|
-
upgradePlugin: async (name, file, options = {}) => {
|
|
692
|
+
upgradePlugin: async (name, file, source, presetName, options = {}) => {
|
|
670
693
|
assertParamExists("upgradePlugin", "name", name);
|
|
671
|
-
|
|
672
|
-
|
|
694
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/upgrade`.replace(
|
|
695
|
+
`{${"name"}}`,
|
|
696
|
+
encodeURIComponent(String(name))
|
|
697
|
+
);
|
|
673
698
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
674
699
|
let baseOptions;
|
|
675
700
|
if (configuration) {
|
|
@@ -684,6 +709,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
684
709
|
if (file !== void 0) {
|
|
685
710
|
localVarFormParams.append("file", file);
|
|
686
711
|
}
|
|
712
|
+
if (source !== void 0) {
|
|
713
|
+
localVarFormParams.append("source", source);
|
|
714
|
+
}
|
|
715
|
+
if (presetName !== void 0) {
|
|
716
|
+
localVarFormParams.append("presetName", presetName);
|
|
717
|
+
}
|
|
687
718
|
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
688
719
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
689
720
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -707,12 +738,25 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
707
738
|
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPluginSetting(name, options);
|
|
708
739
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
709
740
|
},
|
|
710
|
-
async installPlugin(file, options) {
|
|
711
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
741
|
+
async installPlugin(file, source, presetName, options) {
|
|
742
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, source, presetName, options);
|
|
743
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
744
|
+
},
|
|
745
|
+
async listPluginPresets(options) {
|
|
746
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPluginPresets(options);
|
|
712
747
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
713
748
|
},
|
|
714
|
-
async listPlugins(sort,
|
|
715
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(
|
|
749
|
+
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(
|
|
751
|
+
sort,
|
|
752
|
+
keyword,
|
|
753
|
+
enabled,
|
|
754
|
+
size,
|
|
755
|
+
labelSelector,
|
|
756
|
+
fieldSelector,
|
|
757
|
+
page,
|
|
758
|
+
options
|
|
759
|
+
);
|
|
716
760
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
717
761
|
},
|
|
718
762
|
async resetPluginConfig(name, options) {
|
|
@@ -723,8 +767,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
723
767
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginConfig(name, configMap, options);
|
|
724
768
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
725
769
|
},
|
|
726
|
-
async upgradePlugin(name, file, options) {
|
|
727
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, options);
|
|
770
|
+
async upgradePlugin(name, file, source, presetName, options) {
|
|
771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, source, presetName, options);
|
|
728
772
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
729
773
|
}
|
|
730
774
|
};
|
|
@@ -732,26 +776,44 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
732
776
|
const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
733
777
|
const localVarFp = ApiConsoleHaloRunV1alpha1PluginApiFp(configuration);
|
|
734
778
|
return {
|
|
735
|
-
fetchPluginConfig(
|
|
736
|
-
return localVarFp.fetchPluginConfig(name, options).then((request) => request(axios, basePath));
|
|
737
|
-
},
|
|
738
|
-
fetchPluginSetting(
|
|
739
|
-
return localVarFp.fetchPluginSetting(name, options).then((request) => request(axios, basePath));
|
|
740
|
-
},
|
|
741
|
-
installPlugin(
|
|
742
|
-
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
743
|
-
},
|
|
744
|
-
|
|
745
|
-
return localVarFp.
|
|
746
|
-
},
|
|
747
|
-
|
|
748
|
-
return localVarFp.
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
779
|
+
fetchPluginConfig(requestParameters, options) {
|
|
780
|
+
return localVarFp.fetchPluginConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
781
|
+
},
|
|
782
|
+
fetchPluginSetting(requestParameters, options) {
|
|
783
|
+
return localVarFp.fetchPluginSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
784
|
+
},
|
|
785
|
+
installPlugin(requestParameters = {}, options) {
|
|
786
|
+
return localVarFp.installPlugin(requestParameters.file, requestParameters.source, requestParameters.presetName, options).then((request) => request(axios, basePath));
|
|
787
|
+
},
|
|
788
|
+
listPluginPresets(options) {
|
|
789
|
+
return localVarFp.listPluginPresets(options).then((request) => request(axios, basePath));
|
|
790
|
+
},
|
|
791
|
+
listPlugins(requestParameters = {}, options) {
|
|
792
|
+
return localVarFp.listPlugins(
|
|
793
|
+
requestParameters.sort,
|
|
794
|
+
requestParameters.keyword,
|
|
795
|
+
requestParameters.enabled,
|
|
796
|
+
requestParameters.size,
|
|
797
|
+
requestParameters.labelSelector,
|
|
798
|
+
requestParameters.fieldSelector,
|
|
799
|
+
requestParameters.page,
|
|
800
|
+
options
|
|
801
|
+
).then((request) => request(axios, basePath));
|
|
802
|
+
},
|
|
803
|
+
resetPluginConfig(requestParameters, options) {
|
|
804
|
+
return localVarFp.resetPluginConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
805
|
+
},
|
|
806
|
+
updatePluginConfig(requestParameters, options) {
|
|
807
|
+
return localVarFp.updatePluginConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
808
|
+
},
|
|
809
|
+
upgradePlugin(requestParameters, options) {
|
|
810
|
+
return localVarFp.upgradePlugin(
|
|
811
|
+
requestParameters.name,
|
|
812
|
+
requestParameters.file,
|
|
813
|
+
requestParameters.source,
|
|
814
|
+
requestParameters.presetName,
|
|
815
|
+
options
|
|
816
|
+
).then((request) => request(axios, basePath));
|
|
755
817
|
}
|
|
756
818
|
};
|
|
757
819
|
};
|
|
@@ -762,11 +824,23 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
762
824
|
fetchPluginSetting(requestParameters, options) {
|
|
763
825
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).fetchPluginSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
764
826
|
}
|
|
765
|
-
installPlugin(requestParameters, options) {
|
|
766
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
827
|
+
installPlugin(requestParameters = {}, options) {
|
|
828
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, requestParameters.source, requestParameters.presetName, options).then((request) => request(this.axios, this.basePath));
|
|
829
|
+
}
|
|
830
|
+
listPluginPresets(options) {
|
|
831
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPluginPresets(options).then((request) => request(this.axios, this.basePath));
|
|
767
832
|
}
|
|
768
833
|
listPlugins(requestParameters = {}, options) {
|
|
769
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(
|
|
834
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(
|
|
835
|
+
requestParameters.sort,
|
|
836
|
+
requestParameters.keyword,
|
|
837
|
+
requestParameters.enabled,
|
|
838
|
+
requestParameters.size,
|
|
839
|
+
requestParameters.labelSelector,
|
|
840
|
+
requestParameters.fieldSelector,
|
|
841
|
+
requestParameters.page,
|
|
842
|
+
options
|
|
843
|
+
).then((request) => request(this.axios, this.basePath));
|
|
770
844
|
}
|
|
771
845
|
resetPluginConfig(requestParameters, options) {
|
|
772
846
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -775,7 +849,13 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
775
849
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).updatePluginConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
776
850
|
}
|
|
777
851
|
upgradePlugin(requestParameters, options) {
|
|
778
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(
|
|
852
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(
|
|
853
|
+
requestParameters.name,
|
|
854
|
+
requestParameters.file,
|
|
855
|
+
requestParameters.source,
|
|
856
|
+
requestParameters.presetName,
|
|
857
|
+
options
|
|
858
|
+
).then((request) => request(this.axios, this.basePath));
|
|
779
859
|
}
|
|
780
860
|
}
|
|
781
861
|
|
|
@@ -804,7 +884,55 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
804
884
|
options: localVarRequestOptions
|
|
805
885
|
};
|
|
806
886
|
},
|
|
807
|
-
|
|
887
|
+
fetchPostHeadContent: async (name, options = {}) => {
|
|
888
|
+
assertParamExists("fetchPostHeadContent", "name", name);
|
|
889
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/head-content`.replace(
|
|
890
|
+
`{${"name"}}`,
|
|
891
|
+
encodeURIComponent(String(name))
|
|
892
|
+
);
|
|
893
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
894
|
+
let baseOptions;
|
|
895
|
+
if (configuration) {
|
|
896
|
+
baseOptions = configuration.baseOptions;
|
|
897
|
+
}
|
|
898
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
899
|
+
const localVarHeaderParameter = {};
|
|
900
|
+
const localVarQueryParameter = {};
|
|
901
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
902
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
903
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
904
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
905
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
906
|
+
return {
|
|
907
|
+
url: toPathString(localVarUrlObj),
|
|
908
|
+
options: localVarRequestOptions
|
|
909
|
+
};
|
|
910
|
+
},
|
|
911
|
+
fetchPostReleaseContent: async (name, options = {}) => {
|
|
912
|
+
assertParamExists("fetchPostReleaseContent", "name", name);
|
|
913
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/release-content`.replace(
|
|
914
|
+
`{${"name"}}`,
|
|
915
|
+
encodeURIComponent(String(name))
|
|
916
|
+
);
|
|
917
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
918
|
+
let baseOptions;
|
|
919
|
+
if (configuration) {
|
|
920
|
+
baseOptions = configuration.baseOptions;
|
|
921
|
+
}
|
|
922
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
923
|
+
const localVarHeaderParameter = {};
|
|
924
|
+
const localVarQueryParameter = {};
|
|
925
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
926
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
927
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
928
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
929
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
930
|
+
return {
|
|
931
|
+
url: toPathString(localVarUrlObj),
|
|
932
|
+
options: localVarRequestOptions
|
|
933
|
+
};
|
|
934
|
+
},
|
|
935
|
+
listPosts: async (sort, keyword, visible, tag, category, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
808
936
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
809
937
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
810
938
|
let baseOptions;
|
|
@@ -819,39 +947,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
819
947
|
if (sort !== void 0) {
|
|
820
948
|
localVarQueryParameter["sort"] = sort;
|
|
821
949
|
}
|
|
950
|
+
if (keyword !== void 0) {
|
|
951
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
952
|
+
}
|
|
822
953
|
if (visible !== void 0) {
|
|
823
954
|
localVarQueryParameter["visible"] = visible;
|
|
824
955
|
}
|
|
825
956
|
if (tag) {
|
|
826
957
|
localVarQueryParameter["tag"] = Array.from(tag);
|
|
827
958
|
}
|
|
828
|
-
if (
|
|
829
|
-
localVarQueryParameter["
|
|
959
|
+
if (category) {
|
|
960
|
+
localVarQueryParameter["category"] = Array.from(category);
|
|
961
|
+
}
|
|
962
|
+
if (sortOrder !== void 0) {
|
|
963
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
830
964
|
}
|
|
831
965
|
if (publishPhase !== void 0) {
|
|
832
966
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
833
967
|
}
|
|
834
|
-
if (category) {
|
|
835
|
-
localVarQueryParameter["category"] = Array.from(category);
|
|
836
|
-
}
|
|
837
968
|
if (contributor) {
|
|
838
969
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
839
970
|
}
|
|
840
|
-
if (sortOrder !== void 0) {
|
|
841
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
842
|
-
}
|
|
843
971
|
if (size !== void 0) {
|
|
844
972
|
localVarQueryParameter["size"] = size;
|
|
845
973
|
}
|
|
846
974
|
if (page !== void 0) {
|
|
847
975
|
localVarQueryParameter["page"] = page;
|
|
848
976
|
}
|
|
849
|
-
if (fieldSelector) {
|
|
850
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
851
|
-
}
|
|
852
977
|
if (labelSelector) {
|
|
853
978
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
854
979
|
}
|
|
980
|
+
if (fieldSelector) {
|
|
981
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
982
|
+
}
|
|
855
983
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
856
984
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
857
985
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -862,7 +990,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
862
990
|
},
|
|
863
991
|
publishPost: async (name, headSnapshot, options = {}) => {
|
|
864
992
|
assertParamExists("publishPost", "name", name);
|
|
865
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/publish`.replace(
|
|
993
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/publish`.replace(
|
|
994
|
+
`{${"name"}}`,
|
|
995
|
+
encodeURIComponent(String(name))
|
|
996
|
+
);
|
|
866
997
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
867
998
|
let baseOptions;
|
|
868
999
|
if (configuration) {
|
|
@@ -886,7 +1017,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
886
1017
|
},
|
|
887
1018
|
recyclePost: async (name, options = {}) => {
|
|
888
1019
|
assertParamExists("recyclePost", "name", name);
|
|
889
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(
|
|
1020
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(
|
|
1021
|
+
`{${"name"}}`,
|
|
1022
|
+
encodeURIComponent(String(name))
|
|
1023
|
+
);
|
|
890
1024
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
891
1025
|
let baseOptions;
|
|
892
1026
|
if (configuration) {
|
|
@@ -907,7 +1041,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
907
1041
|
},
|
|
908
1042
|
unpublishPost: async (name, options = {}) => {
|
|
909
1043
|
assertParamExists("unpublishPost", "name", name);
|
|
910
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(
|
|
1044
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(
|
|
1045
|
+
`{${"name"}}`,
|
|
1046
|
+
encodeURIComponent(String(name))
|
|
1047
|
+
);
|
|
911
1048
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
912
1049
|
let baseOptions;
|
|
913
1050
|
if (configuration) {
|
|
@@ -929,7 +1066,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
929
1066
|
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
930
1067
|
assertParamExists("updateDraftPost", "name", name);
|
|
931
1068
|
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
932
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}`.replace(
|
|
1069
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}`.replace(
|
|
1070
|
+
`{${"name"}}`,
|
|
1071
|
+
encodeURIComponent(String(name))
|
|
1072
|
+
);
|
|
933
1073
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
934
1074
|
let baseOptions;
|
|
935
1075
|
if (configuration) {
|
|
@@ -953,7 +1093,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
953
1093
|
updatePostContent: async (name, content, options = {}) => {
|
|
954
1094
|
assertParamExists("updatePostContent", "name", name);
|
|
955
1095
|
assertParamExists("updatePostContent", "content", content);
|
|
956
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/content`.replace(
|
|
1096
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/content`.replace(
|
|
1097
|
+
`{${"name"}}`,
|
|
1098
|
+
encodeURIComponent(String(name))
|
|
1099
|
+
);
|
|
957
1100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
958
1101
|
let baseOptions;
|
|
959
1102
|
if (configuration) {
|
|
@@ -983,8 +1126,30 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
983
1126
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
984
1127
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
985
1128
|
},
|
|
986
|
-
async
|
|
987
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1129
|
+
async fetchPostHeadContent(name, options) {
|
|
1130
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPostHeadContent(name, options);
|
|
1131
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1132
|
+
},
|
|
1133
|
+
async fetchPostReleaseContent(name, options) {
|
|
1134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPostReleaseContent(name, options);
|
|
1135
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1136
|
+
},
|
|
1137
|
+
async listPosts(sort, keyword, visible, tag, category, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(
|
|
1139
|
+
sort,
|
|
1140
|
+
keyword,
|
|
1141
|
+
visible,
|
|
1142
|
+
tag,
|
|
1143
|
+
category,
|
|
1144
|
+
sortOrder,
|
|
1145
|
+
publishPhase,
|
|
1146
|
+
contributor,
|
|
1147
|
+
size,
|
|
1148
|
+
page,
|
|
1149
|
+
labelSelector,
|
|
1150
|
+
fieldSelector,
|
|
1151
|
+
options
|
|
1152
|
+
);
|
|
988
1153
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
989
1154
|
},
|
|
990
1155
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -1012,26 +1177,46 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
1012
1177
|
const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1013
1178
|
const localVarFp = ApiConsoleHaloRunV1alpha1PostApiFp(configuration);
|
|
1014
1179
|
return {
|
|
1015
|
-
draftPost(
|
|
1016
|
-
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
1017
|
-
},
|
|
1018
|
-
|
|
1019
|
-
return localVarFp.
|
|
1020
|
-
},
|
|
1021
|
-
|
|
1022
|
-
return localVarFp.
|
|
1023
|
-
},
|
|
1024
|
-
|
|
1025
|
-
return localVarFp.
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1180
|
+
draftPost(requestParameters, options) {
|
|
1181
|
+
return localVarFp.draftPost(requestParameters.postRequest, options).then((request) => request(axios, basePath));
|
|
1182
|
+
},
|
|
1183
|
+
fetchPostHeadContent(requestParameters, options) {
|
|
1184
|
+
return localVarFp.fetchPostHeadContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1185
|
+
},
|
|
1186
|
+
fetchPostReleaseContent(requestParameters, options) {
|
|
1187
|
+
return localVarFp.fetchPostReleaseContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1188
|
+
},
|
|
1189
|
+
listPosts(requestParameters = {}, options) {
|
|
1190
|
+
return localVarFp.listPosts(
|
|
1191
|
+
requestParameters.sort,
|
|
1192
|
+
requestParameters.keyword,
|
|
1193
|
+
requestParameters.visible,
|
|
1194
|
+
requestParameters.tag,
|
|
1195
|
+
requestParameters.category,
|
|
1196
|
+
requestParameters.sortOrder,
|
|
1197
|
+
requestParameters.publishPhase,
|
|
1198
|
+
requestParameters.contributor,
|
|
1199
|
+
requestParameters.size,
|
|
1200
|
+
requestParameters.page,
|
|
1201
|
+
requestParameters.labelSelector,
|
|
1202
|
+
requestParameters.fieldSelector,
|
|
1203
|
+
options
|
|
1204
|
+
).then((request) => request(axios, basePath));
|
|
1205
|
+
},
|
|
1206
|
+
publishPost(requestParameters, options) {
|
|
1207
|
+
return localVarFp.publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(axios, basePath));
|
|
1208
|
+
},
|
|
1209
|
+
recyclePost(requestParameters, options) {
|
|
1210
|
+
return localVarFp.recyclePost(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1211
|
+
},
|
|
1212
|
+
unpublishPost(requestParameters, options) {
|
|
1213
|
+
return localVarFp.unpublishPost(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1214
|
+
},
|
|
1215
|
+
updateDraftPost(requestParameters, options) {
|
|
1216
|
+
return localVarFp.updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(axios, basePath));
|
|
1217
|
+
},
|
|
1218
|
+
updatePostContent(requestParameters, options) {
|
|
1219
|
+
return localVarFp.updatePostContent(requestParameters.name, requestParameters.content, options).then((request) => request(axios, basePath));
|
|
1035
1220
|
}
|
|
1036
1221
|
};
|
|
1037
1222
|
};
|
|
@@ -1039,8 +1224,28 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
1039
1224
|
draftPost(requestParameters, options) {
|
|
1040
1225
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1041
1226
|
}
|
|
1227
|
+
fetchPostHeadContent(requestParameters, options) {
|
|
1228
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).fetchPostHeadContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1229
|
+
}
|
|
1230
|
+
fetchPostReleaseContent(requestParameters, options) {
|
|
1231
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).fetchPostReleaseContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1232
|
+
}
|
|
1042
1233
|
listPosts(requestParameters = {}, options) {
|
|
1043
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(
|
|
1234
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(
|
|
1235
|
+
requestParameters.sort,
|
|
1236
|
+
requestParameters.keyword,
|
|
1237
|
+
requestParameters.visible,
|
|
1238
|
+
requestParameters.tag,
|
|
1239
|
+
requestParameters.category,
|
|
1240
|
+
requestParameters.sortOrder,
|
|
1241
|
+
requestParameters.publishPhase,
|
|
1242
|
+
requestParameters.contributor,
|
|
1243
|
+
requestParameters.size,
|
|
1244
|
+
requestParameters.page,
|
|
1245
|
+
requestParameters.labelSelector,
|
|
1246
|
+
requestParameters.fieldSelector,
|
|
1247
|
+
options
|
|
1248
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1044
1249
|
}
|
|
1045
1250
|
publishPost(requestParameters, options) {
|
|
1046
1251
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1061,7 +1266,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
1061
1266
|
|
|
1062
1267
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
1063
1268
|
return {
|
|
1064
|
-
listReplies: async (commentName, size, page,
|
|
1269
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1065
1270
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
1066
1271
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1067
1272
|
let baseOptions;
|
|
@@ -1082,12 +1287,12 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1082
1287
|
if (page !== void 0) {
|
|
1083
1288
|
localVarQueryParameter["page"] = page;
|
|
1084
1289
|
}
|
|
1085
|
-
if (fieldSelector) {
|
|
1086
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1087
|
-
}
|
|
1088
1290
|
if (labelSelector) {
|
|
1089
1291
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1090
1292
|
}
|
|
1293
|
+
if (fieldSelector) {
|
|
1294
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1295
|
+
}
|
|
1091
1296
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1092
1297
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1093
1298
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1101,8 +1306,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1101
1306
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
1102
1307
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
1103
1308
|
return {
|
|
1104
|
-
async listReplies(commentName, size, page,
|
|
1105
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(
|
|
1309
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
1310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(
|
|
1311
|
+
commentName,
|
|
1312
|
+
size,
|
|
1313
|
+
page,
|
|
1314
|
+
labelSelector,
|
|
1315
|
+
fieldSelector,
|
|
1316
|
+
options
|
|
1317
|
+
);
|
|
1106
1318
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1107
1319
|
}
|
|
1108
1320
|
};
|
|
@@ -1110,14 +1322,28 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
1110
1322
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
1111
1323
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
1112
1324
|
return {
|
|
1113
|
-
listReplies(
|
|
1114
|
-
return localVarFp.listReplies(
|
|
1325
|
+
listReplies(requestParameters = {}, options) {
|
|
1326
|
+
return localVarFp.listReplies(
|
|
1327
|
+
requestParameters.commentName,
|
|
1328
|
+
requestParameters.size,
|
|
1329
|
+
requestParameters.page,
|
|
1330
|
+
requestParameters.labelSelector,
|
|
1331
|
+
requestParameters.fieldSelector,
|
|
1332
|
+
options
|
|
1333
|
+
).then((request) => request(axios, basePath));
|
|
1115
1334
|
}
|
|
1116
1335
|
};
|
|
1117
1336
|
};
|
|
1118
1337
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1119
1338
|
listReplies(requestParameters = {}, options) {
|
|
1120
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(
|
|
1339
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(
|
|
1340
|
+
requestParameters.commentName,
|
|
1341
|
+
requestParameters.size,
|
|
1342
|
+
requestParameters.page,
|
|
1343
|
+
requestParameters.labelSelector,
|
|
1344
|
+
requestParameters.fieldSelector,
|
|
1345
|
+
options
|
|
1346
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1121
1347
|
}
|
|
1122
1348
|
}
|
|
1123
1349
|
|
|
@@ -1131,22 +1357,70 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1131
1357
|
if (configuration) {
|
|
1132
1358
|
baseOptions = configuration.baseOptions;
|
|
1133
1359
|
}
|
|
1134
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1360
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1361
|
+
const localVarHeaderParameter = {};
|
|
1362
|
+
const localVarQueryParameter = {};
|
|
1363
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1364
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1365
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1366
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1367
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1368
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1369
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
1370
|
+
return {
|
|
1371
|
+
url: toPathString(localVarUrlObj),
|
|
1372
|
+
options: localVarRequestOptions
|
|
1373
|
+
};
|
|
1374
|
+
},
|
|
1375
|
+
fetchSinglePageHeadContent: async (name, options = {}) => {
|
|
1376
|
+
assertParamExists("fetchSinglePageHeadContent", "name", name);
|
|
1377
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/head-content`.replace(
|
|
1378
|
+
`{${"name"}}`,
|
|
1379
|
+
encodeURIComponent(String(name))
|
|
1380
|
+
);
|
|
1381
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1382
|
+
let baseOptions;
|
|
1383
|
+
if (configuration) {
|
|
1384
|
+
baseOptions = configuration.baseOptions;
|
|
1385
|
+
}
|
|
1386
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1387
|
+
const localVarHeaderParameter = {};
|
|
1388
|
+
const localVarQueryParameter = {};
|
|
1389
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1390
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1392
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1393
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1394
|
+
return {
|
|
1395
|
+
url: toPathString(localVarUrlObj),
|
|
1396
|
+
options: localVarRequestOptions
|
|
1397
|
+
};
|
|
1398
|
+
},
|
|
1399
|
+
fetchSinglePageReleaseContent: async (name, options = {}) => {
|
|
1400
|
+
assertParamExists("fetchSinglePageReleaseContent", "name", name);
|
|
1401
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/release-content`.replace(
|
|
1402
|
+
`{${"name"}}`,
|
|
1403
|
+
encodeURIComponent(String(name))
|
|
1404
|
+
);
|
|
1405
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1406
|
+
let baseOptions;
|
|
1407
|
+
if (configuration) {
|
|
1408
|
+
baseOptions = configuration.baseOptions;
|
|
1409
|
+
}
|
|
1410
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1135
1411
|
const localVarHeaderParameter = {};
|
|
1136
1412
|
const localVarQueryParameter = {};
|
|
1137
1413
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1138
1414
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1139
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1140
1415
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1141
1416
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1142
1417
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1143
|
-
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
1144
1418
|
return {
|
|
1145
1419
|
url: toPathString(localVarUrlObj),
|
|
1146
1420
|
options: localVarRequestOptions
|
|
1147
1421
|
};
|
|
1148
1422
|
},
|
|
1149
|
-
listSinglePages: async (sort, visible,
|
|
1423
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1150
1424
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1151
1425
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1152
1426
|
let baseOptions;
|
|
@@ -1161,11 +1435,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1161
1435
|
if (sort !== void 0) {
|
|
1162
1436
|
localVarQueryParameter["sort"] = sort;
|
|
1163
1437
|
}
|
|
1438
|
+
if (keyword !== void 0) {
|
|
1439
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1440
|
+
}
|
|
1164
1441
|
if (visible !== void 0) {
|
|
1165
1442
|
localVarQueryParameter["visible"] = visible;
|
|
1166
1443
|
}
|
|
1167
|
-
if (
|
|
1168
|
-
localVarQueryParameter["
|
|
1444
|
+
if (sortOrder !== void 0) {
|
|
1445
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1169
1446
|
}
|
|
1170
1447
|
if (publishPhase !== void 0) {
|
|
1171
1448
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
@@ -1173,21 +1450,18 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1173
1450
|
if (contributor) {
|
|
1174
1451
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1175
1452
|
}
|
|
1176
|
-
if (sortOrder !== void 0) {
|
|
1177
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1178
|
-
}
|
|
1179
1453
|
if (size !== void 0) {
|
|
1180
1454
|
localVarQueryParameter["size"] = size;
|
|
1181
1455
|
}
|
|
1182
1456
|
if (page !== void 0) {
|
|
1183
1457
|
localVarQueryParameter["page"] = page;
|
|
1184
1458
|
}
|
|
1185
|
-
if (fieldSelector) {
|
|
1186
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1187
|
-
}
|
|
1188
1459
|
if (labelSelector) {
|
|
1189
1460
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1190
1461
|
}
|
|
1462
|
+
if (fieldSelector) {
|
|
1463
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1464
|
+
}
|
|
1191
1465
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1192
1466
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1193
1467
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1198,7 +1472,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1198
1472
|
},
|
|
1199
1473
|
publishSinglePage: async (name, options = {}) => {
|
|
1200
1474
|
assertParamExists("publishSinglePage", "name", name);
|
|
1201
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/publish`.replace(
|
|
1475
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/publish`.replace(
|
|
1476
|
+
`{${"name"}}`,
|
|
1477
|
+
encodeURIComponent(String(name))
|
|
1478
|
+
);
|
|
1202
1479
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1203
1480
|
let baseOptions;
|
|
1204
1481
|
if (configuration) {
|
|
@@ -1220,7 +1497,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1220
1497
|
updateDraftSinglePage: async (name, singlePageRequest, options = {}) => {
|
|
1221
1498
|
assertParamExists("updateDraftSinglePage", "name", name);
|
|
1222
1499
|
assertParamExists("updateDraftSinglePage", "singlePageRequest", singlePageRequest);
|
|
1223
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
1500
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
1501
|
+
`{${"name"}}`,
|
|
1502
|
+
encodeURIComponent(String(name))
|
|
1503
|
+
);
|
|
1224
1504
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1225
1505
|
let baseOptions;
|
|
1226
1506
|
if (configuration) {
|
|
@@ -1244,7 +1524,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1244
1524
|
updateSinglePageContent: async (name, content, options = {}) => {
|
|
1245
1525
|
assertParamExists("updateSinglePageContent", "name", name);
|
|
1246
1526
|
assertParamExists("updateSinglePageContent", "content", content);
|
|
1247
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/content`.replace(
|
|
1527
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/content`.replace(
|
|
1528
|
+
`{${"name"}}`,
|
|
1529
|
+
encodeURIComponent(String(name))
|
|
1530
|
+
);
|
|
1248
1531
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1249
1532
|
let baseOptions;
|
|
1250
1533
|
if (configuration) {
|
|
@@ -1274,8 +1557,28 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1274
1557
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1275
1558
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1276
1559
|
},
|
|
1277
|
-
async
|
|
1278
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1560
|
+
async fetchSinglePageHeadContent(name, options) {
|
|
1561
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchSinglePageHeadContent(name, options);
|
|
1562
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1563
|
+
},
|
|
1564
|
+
async fetchSinglePageReleaseContent(name, options) {
|
|
1565
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchSinglePageReleaseContent(name, options);
|
|
1566
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1567
|
+
},
|
|
1568
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1569
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(
|
|
1570
|
+
sort,
|
|
1571
|
+
keyword,
|
|
1572
|
+
visible,
|
|
1573
|
+
sortOrder,
|
|
1574
|
+
publishPhase,
|
|
1575
|
+
contributor,
|
|
1576
|
+
size,
|
|
1577
|
+
page,
|
|
1578
|
+
labelSelector,
|
|
1579
|
+
fieldSelector,
|
|
1580
|
+
options
|
|
1581
|
+
);
|
|
1279
1582
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1280
1583
|
},
|
|
1281
1584
|
async publishSinglePage(name, options) {
|
|
@@ -1295,20 +1598,38 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1295
1598
|
const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
1296
1599
|
const localVarFp = ApiConsoleHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
1297
1600
|
return {
|
|
1298
|
-
draftSinglePage(
|
|
1299
|
-
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1300
|
-
},
|
|
1301
|
-
|
|
1302
|
-
return localVarFp.
|
|
1303
|
-
},
|
|
1304
|
-
|
|
1305
|
-
return localVarFp.
|
|
1306
|
-
},
|
|
1307
|
-
|
|
1308
|
-
return localVarFp.
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1601
|
+
draftSinglePage(requestParameters, options) {
|
|
1602
|
+
return localVarFp.draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1603
|
+
},
|
|
1604
|
+
fetchSinglePageHeadContent(requestParameters, options) {
|
|
1605
|
+
return localVarFp.fetchSinglePageHeadContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1606
|
+
},
|
|
1607
|
+
fetchSinglePageReleaseContent(requestParameters, options) {
|
|
1608
|
+
return localVarFp.fetchSinglePageReleaseContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1609
|
+
},
|
|
1610
|
+
listSinglePages(requestParameters = {}, options) {
|
|
1611
|
+
return localVarFp.listSinglePages(
|
|
1612
|
+
requestParameters.sort,
|
|
1613
|
+
requestParameters.keyword,
|
|
1614
|
+
requestParameters.visible,
|
|
1615
|
+
requestParameters.sortOrder,
|
|
1616
|
+
requestParameters.publishPhase,
|
|
1617
|
+
requestParameters.contributor,
|
|
1618
|
+
requestParameters.size,
|
|
1619
|
+
requestParameters.page,
|
|
1620
|
+
requestParameters.labelSelector,
|
|
1621
|
+
requestParameters.fieldSelector,
|
|
1622
|
+
options
|
|
1623
|
+
).then((request) => request(axios, basePath));
|
|
1624
|
+
},
|
|
1625
|
+
publishSinglePage(requestParameters, options) {
|
|
1626
|
+
return localVarFp.publishSinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1627
|
+
},
|
|
1628
|
+
updateDraftSinglePage(requestParameters, options) {
|
|
1629
|
+
return localVarFp.updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1630
|
+
},
|
|
1631
|
+
updateSinglePageContent(requestParameters, options) {
|
|
1632
|
+
return localVarFp.updateSinglePageContent(requestParameters.name, requestParameters.content, options).then((request) => request(axios, basePath));
|
|
1312
1633
|
}
|
|
1313
1634
|
};
|
|
1314
1635
|
};
|
|
@@ -1316,8 +1637,26 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1316
1637
|
draftSinglePage(requestParameters, options) {
|
|
1317
1638
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1318
1639
|
}
|
|
1640
|
+
fetchSinglePageHeadContent(requestParameters, options) {
|
|
1641
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).fetchSinglePageHeadContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1642
|
+
}
|
|
1643
|
+
fetchSinglePageReleaseContent(requestParameters, options) {
|
|
1644
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).fetchSinglePageReleaseContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1645
|
+
}
|
|
1319
1646
|
listSinglePages(requestParameters = {}, options) {
|
|
1320
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(
|
|
1647
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(
|
|
1648
|
+
requestParameters.sort,
|
|
1649
|
+
requestParameters.keyword,
|
|
1650
|
+
requestParameters.visible,
|
|
1651
|
+
requestParameters.sortOrder,
|
|
1652
|
+
requestParameters.publishPhase,
|
|
1653
|
+
requestParameters.contributor,
|
|
1654
|
+
requestParameters.size,
|
|
1655
|
+
requestParameters.page,
|
|
1656
|
+
requestParameters.labelSelector,
|
|
1657
|
+
requestParameters.fieldSelector,
|
|
1658
|
+
options
|
|
1659
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1321
1660
|
}
|
|
1322
1661
|
publishSinglePage(requestParameters, options) {
|
|
1323
1662
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1381,7 +1720,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1381
1720
|
return {
|
|
1382
1721
|
activateTheme: async (name, options = {}) => {
|
|
1383
1722
|
assertParamExists("activateTheme", "name", name);
|
|
1384
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/activation`.replace(
|
|
1723
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/activation`.replace(
|
|
1724
|
+
`{${"name"}}`,
|
|
1725
|
+
encodeURIComponent(String(name))
|
|
1726
|
+
);
|
|
1385
1727
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1386
1728
|
let baseOptions;
|
|
1387
1729
|
if (configuration) {
|
|
@@ -1422,7 +1764,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1422
1764
|
},
|
|
1423
1765
|
fetchThemeConfig: async (name, options = {}) => {
|
|
1424
1766
|
assertParamExists("fetchThemeConfig", "name", name);
|
|
1425
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1767
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1768
|
+
`{${"name"}}`,
|
|
1769
|
+
encodeURIComponent(String(name))
|
|
1770
|
+
);
|
|
1426
1771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1427
1772
|
let baseOptions;
|
|
1428
1773
|
if (configuration) {
|
|
@@ -1443,7 +1788,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1443
1788
|
},
|
|
1444
1789
|
fetchThemeSetting: async (name, options = {}) => {
|
|
1445
1790
|
assertParamExists("fetchThemeSetting", "name", name);
|
|
1446
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/setting`.replace(
|
|
1791
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/setting`.replace(
|
|
1792
|
+
`{${"name"}}`,
|
|
1793
|
+
encodeURIComponent(String(name))
|
|
1794
|
+
);
|
|
1447
1795
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1448
1796
|
let baseOptions;
|
|
1449
1797
|
if (configuration) {
|
|
@@ -1489,7 +1837,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1489
1837
|
options: localVarRequestOptions
|
|
1490
1838
|
};
|
|
1491
1839
|
},
|
|
1492
|
-
listThemes: async (uninstalled, size, page,
|
|
1840
|
+
listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1493
1841
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1494
1842
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1495
1843
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1511,12 +1859,12 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1511
1859
|
if (page !== void 0) {
|
|
1512
1860
|
localVarQueryParameter["page"] = page;
|
|
1513
1861
|
}
|
|
1514
|
-
if (fieldSelector) {
|
|
1515
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1516
|
-
}
|
|
1517
1862
|
if (labelSelector) {
|
|
1518
1863
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1519
1864
|
}
|
|
1865
|
+
if (fieldSelector) {
|
|
1866
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1867
|
+
}
|
|
1520
1868
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1521
1869
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1522
1870
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1527,7 +1875,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1527
1875
|
},
|
|
1528
1876
|
reload: async (name, options = {}) => {
|
|
1529
1877
|
assertParamExists("reload", "name", name);
|
|
1530
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(
|
|
1878
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(
|
|
1879
|
+
`{${"name"}}`,
|
|
1880
|
+
encodeURIComponent(String(name))
|
|
1881
|
+
);
|
|
1531
1882
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1532
1883
|
let baseOptions;
|
|
1533
1884
|
if (configuration) {
|
|
@@ -1548,7 +1899,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1548
1899
|
},
|
|
1549
1900
|
resetThemeConfig: async (name, options = {}) => {
|
|
1550
1901
|
assertParamExists("resetThemeConfig", "name", name);
|
|
1551
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reset-config`.replace(
|
|
1902
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reset-config`.replace(
|
|
1903
|
+
`{${"name"}}`,
|
|
1904
|
+
encodeURIComponent(String(name))
|
|
1905
|
+
);
|
|
1552
1906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1553
1907
|
let baseOptions;
|
|
1554
1908
|
if (configuration) {
|
|
@@ -1570,7 +1924,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1570
1924
|
updateThemeConfig: async (name, configMap, options = {}) => {
|
|
1571
1925
|
assertParamExists("updateThemeConfig", "name", name);
|
|
1572
1926
|
assertParamExists("updateThemeConfig", "configMap", configMap);
|
|
1573
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1927
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1928
|
+
`{${"name"}}`,
|
|
1929
|
+
encodeURIComponent(String(name))
|
|
1930
|
+
);
|
|
1574
1931
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1575
1932
|
let baseOptions;
|
|
1576
1933
|
if (configuration) {
|
|
@@ -1594,7 +1951,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1594
1951
|
upgradeTheme: async (name, file, options = {}) => {
|
|
1595
1952
|
assertParamExists("upgradeTheme", "name", name);
|
|
1596
1953
|
assertParamExists("upgradeTheme", "file", file);
|
|
1597
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/upgrade`.replace(
|
|
1954
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/upgrade`.replace(
|
|
1955
|
+
`{${"name"}}`,
|
|
1956
|
+
encodeURIComponent(String(name))
|
|
1957
|
+
);
|
|
1598
1958
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1599
1959
|
let baseOptions;
|
|
1600
1960
|
if (configuration) {
|
|
@@ -1644,8 +2004,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1644
2004
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1645
2005
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1646
2006
|
},
|
|
1647
|
-
async listThemes(uninstalled, size, page,
|
|
1648
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(
|
|
2007
|
+
async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
2008
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(
|
|
2009
|
+
uninstalled,
|
|
2010
|
+
size,
|
|
2011
|
+
page,
|
|
2012
|
+
labelSelector,
|
|
2013
|
+
fieldSelector,
|
|
2014
|
+
options
|
|
2015
|
+
);
|
|
1649
2016
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1650
2017
|
},
|
|
1651
2018
|
async reload(name, options) {
|
|
@@ -1669,35 +2036,42 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1669
2036
|
const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
1670
2037
|
const localVarFp = ApiConsoleHaloRunV1alpha1ThemeApiFp(configuration);
|
|
1671
2038
|
return {
|
|
1672
|
-
activateTheme(
|
|
1673
|
-
return localVarFp.activateTheme(name, options).then((request) => request(axios, basePath));
|
|
2039
|
+
activateTheme(requestParameters, options) {
|
|
2040
|
+
return localVarFp.activateTheme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1674
2041
|
},
|
|
1675
2042
|
fetchActivatedTheme(options) {
|
|
1676
2043
|
return localVarFp.fetchActivatedTheme(options).then((request) => request(axios, basePath));
|
|
1677
2044
|
},
|
|
1678
|
-
fetchThemeConfig(
|
|
1679
|
-
return localVarFp.fetchThemeConfig(name, options).then((request) => request(axios, basePath));
|
|
2045
|
+
fetchThemeConfig(requestParameters, options) {
|
|
2046
|
+
return localVarFp.fetchThemeConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1680
2047
|
},
|
|
1681
|
-
fetchThemeSetting(
|
|
1682
|
-
return localVarFp.fetchThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
2048
|
+
fetchThemeSetting(requestParameters, options) {
|
|
2049
|
+
return localVarFp.fetchThemeSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1683
2050
|
},
|
|
1684
|
-
installTheme(
|
|
1685
|
-
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
2051
|
+
installTheme(requestParameters, options) {
|
|
2052
|
+
return localVarFp.installTheme(requestParameters.file, options).then((request) => request(axios, basePath));
|
|
1686
2053
|
},
|
|
1687
|
-
listThemes(
|
|
1688
|
-
return localVarFp.listThemes(
|
|
2054
|
+
listThemes(requestParameters, options) {
|
|
2055
|
+
return localVarFp.listThemes(
|
|
2056
|
+
requestParameters.uninstalled,
|
|
2057
|
+
requestParameters.size,
|
|
2058
|
+
requestParameters.page,
|
|
2059
|
+
requestParameters.labelSelector,
|
|
2060
|
+
requestParameters.fieldSelector,
|
|
2061
|
+
options
|
|
2062
|
+
).then((request) => request(axios, basePath));
|
|
1689
2063
|
},
|
|
1690
|
-
reload(
|
|
1691
|
-
return localVarFp.reload(name, options).then((request) => request(axios, basePath));
|
|
2064
|
+
reload(requestParameters, options) {
|
|
2065
|
+
return localVarFp.reload(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1692
2066
|
},
|
|
1693
|
-
resetThemeConfig(
|
|
1694
|
-
return localVarFp.resetThemeConfig(name, options).then((request) => request(axios, basePath));
|
|
2067
|
+
resetThemeConfig(requestParameters, options) {
|
|
2068
|
+
return localVarFp.resetThemeConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1695
2069
|
},
|
|
1696
|
-
updateThemeConfig(
|
|
1697
|
-
return localVarFp.updateThemeConfig(name, configMap, options).then((request) => request(axios, basePath));
|
|
2070
|
+
updateThemeConfig(requestParameters, options) {
|
|
2071
|
+
return localVarFp.updateThemeConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
1698
2072
|
},
|
|
1699
|
-
upgradeTheme(
|
|
1700
|
-
return localVarFp.upgradeTheme(name, file, options).then((request) => request(axios, basePath));
|
|
2073
|
+
upgradeTheme(requestParameters, options) {
|
|
2074
|
+
return localVarFp.upgradeTheme(requestParameters.name, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
1701
2075
|
}
|
|
1702
2076
|
};
|
|
1703
2077
|
};
|
|
@@ -1718,7 +2092,14 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1718
2092
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1719
2093
|
}
|
|
1720
2094
|
listThemes(requestParameters, options) {
|
|
1721
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(
|
|
2095
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(
|
|
2096
|
+
requestParameters.uninstalled,
|
|
2097
|
+
requestParameters.size,
|
|
2098
|
+
requestParameters.page,
|
|
2099
|
+
requestParameters.labelSelector,
|
|
2100
|
+
requestParameters.fieldSelector,
|
|
2101
|
+
options
|
|
2102
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1722
2103
|
}
|
|
1723
2104
|
reload(requestParameters, options) {
|
|
1724
2105
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1739,7 +2120,10 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1739
2120
|
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
1740
2121
|
assertParamExists("changePassword", "name", name);
|
|
1741
2122
|
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
1742
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/password`.replace(
|
|
2123
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/password`.replace(
|
|
2124
|
+
`{${"name"}}`,
|
|
2125
|
+
encodeURIComponent(String(name))
|
|
2126
|
+
);
|
|
1743
2127
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1744
2128
|
let baseOptions;
|
|
1745
2129
|
if (configuration) {
|
|
@@ -1782,7 +2166,34 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1782
2166
|
},
|
|
1783
2167
|
getPermissions: async (name, options = {}) => {
|
|
1784
2168
|
assertParamExists("getPermissions", "name", name);
|
|
1785
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2169
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2170
|
+
`{${"name"}}`,
|
|
2171
|
+
encodeURIComponent(String(name))
|
|
2172
|
+
);
|
|
2173
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2174
|
+
let baseOptions;
|
|
2175
|
+
if (configuration) {
|
|
2176
|
+
baseOptions = configuration.baseOptions;
|
|
2177
|
+
}
|
|
2178
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2179
|
+
const localVarHeaderParameter = {};
|
|
2180
|
+
const localVarQueryParameter = {};
|
|
2181
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2182
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2183
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2184
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2185
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2186
|
+
return {
|
|
2187
|
+
url: toPathString(localVarUrlObj),
|
|
2188
|
+
options: localVarRequestOptions
|
|
2189
|
+
};
|
|
2190
|
+
},
|
|
2191
|
+
getUserDetail: async (name, options = {}) => {
|
|
2192
|
+
assertParamExists("getUserDetail", "name", name);
|
|
2193
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}`.replace(
|
|
2194
|
+
`{${"name"}}`,
|
|
2195
|
+
encodeURIComponent(String(name))
|
|
2196
|
+
);
|
|
1786
2197
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1787
2198
|
let baseOptions;
|
|
1788
2199
|
if (configuration) {
|
|
@@ -1804,7 +2215,10 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1804
2215
|
grantPermission: async (name, grantRequest, options = {}) => {
|
|
1805
2216
|
assertParamExists("grantPermission", "name", name);
|
|
1806
2217
|
assertParamExists("grantPermission", "grantRequest", grantRequest);
|
|
1807
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2218
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2219
|
+
`{${"name"}}`,
|
|
2220
|
+
encodeURIComponent(String(name))
|
|
2221
|
+
);
|
|
1808
2222
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1809
2223
|
let baseOptions;
|
|
1810
2224
|
if (configuration) {
|
|
@@ -1825,6 +2239,47 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1825
2239
|
options: localVarRequestOptions
|
|
1826
2240
|
};
|
|
1827
2241
|
},
|
|
2242
|
+
listUsers: async (sort, keyword, role, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
2243
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users`;
|
|
2244
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2245
|
+
let baseOptions;
|
|
2246
|
+
if (configuration) {
|
|
2247
|
+
baseOptions = configuration.baseOptions;
|
|
2248
|
+
}
|
|
2249
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2250
|
+
const localVarHeaderParameter = {};
|
|
2251
|
+
const localVarQueryParameter = {};
|
|
2252
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2253
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2254
|
+
if (sort) {
|
|
2255
|
+
localVarQueryParameter["sort"] = Array.from(sort);
|
|
2256
|
+
}
|
|
2257
|
+
if (keyword !== void 0) {
|
|
2258
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
2259
|
+
}
|
|
2260
|
+
if (role !== void 0) {
|
|
2261
|
+
localVarQueryParameter["role"] = role;
|
|
2262
|
+
}
|
|
2263
|
+
if (size !== void 0) {
|
|
2264
|
+
localVarQueryParameter["size"] = size;
|
|
2265
|
+
}
|
|
2266
|
+
if (labelSelector) {
|
|
2267
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2268
|
+
}
|
|
2269
|
+
if (fieldSelector) {
|
|
2270
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2271
|
+
}
|
|
2272
|
+
if (page !== void 0) {
|
|
2273
|
+
localVarQueryParameter["page"] = page;
|
|
2274
|
+
}
|
|
2275
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2277
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2278
|
+
return {
|
|
2279
|
+
url: toPathString(localVarUrlObj),
|
|
2280
|
+
options: localVarRequestOptions
|
|
2281
|
+
};
|
|
2282
|
+
},
|
|
1828
2283
|
updateCurrentUser: async (user, options = {}) => {
|
|
1829
2284
|
assertParamExists("updateCurrentUser", "user", user);
|
|
1830
2285
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/-`;
|
|
@@ -1865,10 +2320,27 @@ const ApiConsoleHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
|
1865
2320
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
1866
2321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1867
2322
|
},
|
|
2323
|
+
async getUserDetail(name, options) {
|
|
2324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserDetail(name, options);
|
|
2325
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2326
|
+
},
|
|
1868
2327
|
async grantPermission(name, grantRequest, options) {
|
|
1869
2328
|
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
1870
2329
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1871
2330
|
},
|
|
2331
|
+
async listUsers(sort, keyword, role, size, labelSelector, fieldSelector, page, options) {
|
|
2332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(
|
|
2333
|
+
sort,
|
|
2334
|
+
keyword,
|
|
2335
|
+
role,
|
|
2336
|
+
size,
|
|
2337
|
+
labelSelector,
|
|
2338
|
+
fieldSelector,
|
|
2339
|
+
page,
|
|
2340
|
+
options
|
|
2341
|
+
);
|
|
2342
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2343
|
+
},
|
|
1872
2344
|
async updateCurrentUser(user, options) {
|
|
1873
2345
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCurrentUser(user, options);
|
|
1874
2346
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
@@ -1878,20 +2350,35 @@ const ApiConsoleHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
|
1878
2350
|
const ApiConsoleHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
1879
2351
|
const localVarFp = ApiConsoleHaloRunV1alpha1UserApiFp(configuration);
|
|
1880
2352
|
return {
|
|
1881
|
-
changePassword(
|
|
1882
|
-
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
2353
|
+
changePassword(requestParameters, options) {
|
|
2354
|
+
return localVarFp.changePassword(requestParameters.name, requestParameters.changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
1883
2355
|
},
|
|
1884
2356
|
getCurrentUserDetail(options) {
|
|
1885
2357
|
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
1886
2358
|
},
|
|
1887
|
-
getPermissions(
|
|
1888
|
-
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
1889
|
-
},
|
|
1890
|
-
|
|
1891
|
-
return localVarFp.
|
|
1892
|
-
},
|
|
1893
|
-
|
|
1894
|
-
return localVarFp.
|
|
2359
|
+
getPermissions(requestParameters, options) {
|
|
2360
|
+
return localVarFp.getPermissions(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2361
|
+
},
|
|
2362
|
+
getUserDetail(requestParameters, options) {
|
|
2363
|
+
return localVarFp.getUserDetail(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2364
|
+
},
|
|
2365
|
+
grantPermission(requestParameters, options) {
|
|
2366
|
+
return localVarFp.grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(axios, basePath));
|
|
2367
|
+
},
|
|
2368
|
+
listUsers(requestParameters = {}, options) {
|
|
2369
|
+
return localVarFp.listUsers(
|
|
2370
|
+
requestParameters.sort,
|
|
2371
|
+
requestParameters.keyword,
|
|
2372
|
+
requestParameters.role,
|
|
2373
|
+
requestParameters.size,
|
|
2374
|
+
requestParameters.labelSelector,
|
|
2375
|
+
requestParameters.fieldSelector,
|
|
2376
|
+
requestParameters.page,
|
|
2377
|
+
options
|
|
2378
|
+
).then((request) => request(axios, basePath));
|
|
2379
|
+
},
|
|
2380
|
+
updateCurrentUser(requestParameters, options) {
|
|
2381
|
+
return localVarFp.updateCurrentUser(requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1895
2382
|
}
|
|
1896
2383
|
};
|
|
1897
2384
|
};
|
|
@@ -1905,9 +2392,24 @@ class ApiConsoleHaloRunV1alpha1UserApi extends BaseAPI {
|
|
|
1905
2392
|
getPermissions(requestParameters, options) {
|
|
1906
2393
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1907
2394
|
}
|
|
2395
|
+
getUserDetail(requestParameters, options) {
|
|
2396
|
+
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).getUserDetail(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2397
|
+
}
|
|
1908
2398
|
grantPermission(requestParameters, options) {
|
|
1909
2399
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1910
2400
|
}
|
|
2401
|
+
listUsers(requestParameters = {}, options) {
|
|
2402
|
+
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).listUsers(
|
|
2403
|
+
requestParameters.sort,
|
|
2404
|
+
requestParameters.keyword,
|
|
2405
|
+
requestParameters.role,
|
|
2406
|
+
requestParameters.size,
|
|
2407
|
+
requestParameters.labelSelector,
|
|
2408
|
+
requestParameters.fieldSelector,
|
|
2409
|
+
requestParameters.page,
|
|
2410
|
+
options
|
|
2411
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2412
|
+
}
|
|
1911
2413
|
updateCurrentUser(requestParameters, options) {
|
|
1912
2414
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).updateCurrentUser(requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
1913
2415
|
}
|
|
@@ -1941,7 +2443,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1941
2443
|
createReply1: async (name, replyRequest, options = {}) => {
|
|
1942
2444
|
assertParamExists("createReply1", "name", name);
|
|
1943
2445
|
assertParamExists("createReply1", "replyRequest", replyRequest);
|
|
1944
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2446
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2447
|
+
`{${"name"}}`,
|
|
2448
|
+
encodeURIComponent(String(name))
|
|
2449
|
+
);
|
|
1945
2450
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1946
2451
|
let baseOptions;
|
|
1947
2452
|
if (configuration) {
|
|
@@ -1964,7 +2469,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1964
2469
|
},
|
|
1965
2470
|
getComment: async (name, options = {}) => {
|
|
1966
2471
|
assertParamExists("getComment", "name", name);
|
|
1967
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}`.replace(
|
|
2472
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}`.replace(
|
|
2473
|
+
`{${"name"}}`,
|
|
2474
|
+
encodeURIComponent(String(name))
|
|
2475
|
+
);
|
|
1968
2476
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1969
2477
|
let baseOptions;
|
|
1970
2478
|
if (configuration) {
|
|
@@ -1985,7 +2493,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1985
2493
|
},
|
|
1986
2494
|
listCommentReplies: async (name, size, page, options = {}) => {
|
|
1987
2495
|
assertParamExists("listCommentReplies", "name", name);
|
|
1988
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2496
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2497
|
+
`{${"name"}}`,
|
|
2498
|
+
encodeURIComponent(String(name))
|
|
2499
|
+
);
|
|
1989
2500
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1990
2501
|
let baseOptions;
|
|
1991
2502
|
if (configuration) {
|
|
@@ -2073,7 +2584,15 @@ const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2073
2584
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2074
2585
|
},
|
|
2075
2586
|
async listComments1(name, version, kind, group, size, page, options) {
|
|
2076
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments1(
|
|
2587
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments1(
|
|
2588
|
+
name,
|
|
2589
|
+
version,
|
|
2590
|
+
kind,
|
|
2591
|
+
group,
|
|
2592
|
+
size,
|
|
2593
|
+
page,
|
|
2594
|
+
options
|
|
2595
|
+
);
|
|
2077
2596
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2078
2597
|
}
|
|
2079
2598
|
};
|
|
@@ -2081,20 +2600,28 @@ const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2081
2600
|
const ApiHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
2082
2601
|
const localVarFp = ApiHaloRunV1alpha1CommentApiFp(configuration);
|
|
2083
2602
|
return {
|
|
2084
|
-
createComment1(
|
|
2085
|
-
return localVarFp.createComment1(commentRequest, options).then((request) => request(axios, basePath));
|
|
2086
|
-
},
|
|
2087
|
-
createReply1(
|
|
2088
|
-
return localVarFp.createReply1(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
2089
|
-
},
|
|
2090
|
-
getComment(
|
|
2091
|
-
return localVarFp.getComment(name, options).then((request) => request(axios, basePath));
|
|
2092
|
-
},
|
|
2093
|
-
listCommentReplies(
|
|
2094
|
-
return localVarFp.listCommentReplies(name, size, page, options).then((request) => request(axios, basePath));
|
|
2095
|
-
},
|
|
2096
|
-
listComments1(
|
|
2097
|
-
return localVarFp.listComments1(
|
|
2603
|
+
createComment1(requestParameters, options) {
|
|
2604
|
+
return localVarFp.createComment1(requestParameters.commentRequest, options).then((request) => request(axios, basePath));
|
|
2605
|
+
},
|
|
2606
|
+
createReply1(requestParameters, options) {
|
|
2607
|
+
return localVarFp.createReply1(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(axios, basePath));
|
|
2608
|
+
},
|
|
2609
|
+
getComment(requestParameters, options) {
|
|
2610
|
+
return localVarFp.getComment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2611
|
+
},
|
|
2612
|
+
listCommentReplies(requestParameters, options) {
|
|
2613
|
+
return localVarFp.listCommentReplies(requestParameters.name, requestParameters.size, requestParameters.page, options).then((request) => request(axios, basePath));
|
|
2614
|
+
},
|
|
2615
|
+
listComments1(requestParameters, options) {
|
|
2616
|
+
return localVarFp.listComments1(
|
|
2617
|
+
requestParameters.name,
|
|
2618
|
+
requestParameters.version,
|
|
2619
|
+
requestParameters.kind,
|
|
2620
|
+
requestParameters.group,
|
|
2621
|
+
requestParameters.size,
|
|
2622
|
+
requestParameters.page,
|
|
2623
|
+
options
|
|
2624
|
+
).then((request) => request(axios, basePath));
|
|
2098
2625
|
}
|
|
2099
2626
|
};
|
|
2100
2627
|
};
|
|
@@ -2112,7 +2639,15 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
2112
2639
|
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listCommentReplies(requestParameters.name, requestParameters.size, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
2113
2640
|
}
|
|
2114
2641
|
listComments1(requestParameters, options) {
|
|
2115
|
-
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments1(
|
|
2642
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments1(
|
|
2643
|
+
requestParameters.name,
|
|
2644
|
+
requestParameters.version,
|
|
2645
|
+
requestParameters.kind,
|
|
2646
|
+
requestParameters.group,
|
|
2647
|
+
requestParameters.size,
|
|
2648
|
+
requestParameters.page,
|
|
2649
|
+
options
|
|
2650
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2116
2651
|
}
|
|
2117
2652
|
}
|
|
2118
2653
|
|
|
@@ -2131,12 +2666,12 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2131
2666
|
const localVarQueryParameter = {};
|
|
2132
2667
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2133
2668
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2134
|
-
if (limit !== void 0) {
|
|
2135
|
-
localVarQueryParameter["limit"] = limit;
|
|
2136
|
-
}
|
|
2137
2669
|
if (keyword !== void 0) {
|
|
2138
2670
|
localVarQueryParameter["keyword"] = keyword;
|
|
2139
2671
|
}
|
|
2672
|
+
if (limit !== void 0) {
|
|
2673
|
+
localVarQueryParameter["limit"] = limit;
|
|
2674
|
+
}
|
|
2140
2675
|
if (highlightPreTag !== void 0) {
|
|
2141
2676
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
2142
2677
|
}
|
|
@@ -2157,7 +2692,13 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2157
2692
|
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
2158
2693
|
return {
|
|
2159
2694
|
async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
2160
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(
|
|
2695
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(
|
|
2696
|
+
keyword,
|
|
2697
|
+
limit,
|
|
2698
|
+
highlightPreTag,
|
|
2699
|
+
highlightPostTag,
|
|
2700
|
+
options
|
|
2701
|
+
);
|
|
2161
2702
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2162
2703
|
}
|
|
2163
2704
|
};
|
|
@@ -2165,14 +2706,26 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2165
2706
|
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
2166
2707
|
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
2167
2708
|
return {
|
|
2168
|
-
searchPost(
|
|
2169
|
-
return localVarFp.searchPost(
|
|
2709
|
+
searchPost(requestParameters, options) {
|
|
2710
|
+
return localVarFp.searchPost(
|
|
2711
|
+
requestParameters.keyword,
|
|
2712
|
+
requestParameters.limit,
|
|
2713
|
+
requestParameters.highlightPreTag,
|
|
2714
|
+
requestParameters.highlightPostTag,
|
|
2715
|
+
options
|
|
2716
|
+
).then((request) => request(axios, basePath));
|
|
2170
2717
|
}
|
|
2171
2718
|
};
|
|
2172
2719
|
};
|
|
2173
2720
|
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
2174
2721
|
searchPost(requestParameters, options) {
|
|
2175
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(
|
|
2722
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(
|
|
2723
|
+
requestParameters.keyword,
|
|
2724
|
+
requestParameters.limit,
|
|
2725
|
+
requestParameters.highlightPreTag,
|
|
2726
|
+
requestParameters.highlightPostTag,
|
|
2727
|
+
options
|
|
2728
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2176
2729
|
}
|
|
2177
2730
|
}
|
|
2178
2731
|
|
|
@@ -2269,14 +2822,14 @@ const ApiHaloRunV1alpha1TrackerApiFp = function(configuration) {
|
|
|
2269
2822
|
const ApiHaloRunV1alpha1TrackerApiFactory = function(configuration, basePath, axios) {
|
|
2270
2823
|
const localVarFp = ApiHaloRunV1alpha1TrackerApiFp(configuration);
|
|
2271
2824
|
return {
|
|
2272
|
-
count(
|
|
2273
|
-
return localVarFp.count(counterRequest, options).then((request) => request(axios, basePath));
|
|
2825
|
+
count(requestParameters, options) {
|
|
2826
|
+
return localVarFp.count(requestParameters.counterRequest, options).then((request) => request(axios, basePath));
|
|
2274
2827
|
},
|
|
2275
|
-
downvote(
|
|
2276
|
-
return localVarFp.downvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
2828
|
+
downvote(requestParameters, options) {
|
|
2829
|
+
return localVarFp.downvote(requestParameters.voteRequest, options).then((request) => request(axios, basePath));
|
|
2277
2830
|
},
|
|
2278
|
-
upvote(
|
|
2279
|
-
return localVarFp.upvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
2831
|
+
upvote(requestParameters, options) {
|
|
2832
|
+
return localVarFp.upvote(requestParameters.voteRequest, options).then((request) => request(axios, basePath));
|
|
2280
2833
|
}
|
|
2281
2834
|
};
|
|
2282
2835
|
};
|
|
@@ -2318,7 +2871,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2318
2871
|
},
|
|
2319
2872
|
deletecontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
2320
2873
|
assertParamExists("deletecontentHaloRunV1alpha1Category", "name", name);
|
|
2321
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2874
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2875
|
+
`{${"name"}}`,
|
|
2876
|
+
encodeURIComponent(String(name))
|
|
2877
|
+
);
|
|
2322
2878
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2323
2879
|
let baseOptions;
|
|
2324
2880
|
if (configuration) {
|
|
@@ -2339,7 +2895,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2339
2895
|
},
|
|
2340
2896
|
getcontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
2341
2897
|
assertParamExists("getcontentHaloRunV1alpha1Category", "name", name);
|
|
2342
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2898
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2899
|
+
`{${"name"}}`,
|
|
2900
|
+
encodeURIComponent(String(name))
|
|
2901
|
+
);
|
|
2343
2902
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2344
2903
|
let baseOptions;
|
|
2345
2904
|
if (configuration) {
|
|
@@ -2392,7 +2951,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2392
2951
|
},
|
|
2393
2952
|
updatecontentHaloRunV1alpha1Category: async (name, category, options = {}) => {
|
|
2394
2953
|
assertParamExists("updatecontentHaloRunV1alpha1Category", "name", name);
|
|
2395
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2954
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2955
|
+
`{${"name"}}`,
|
|
2956
|
+
encodeURIComponent(String(name))
|
|
2957
|
+
);
|
|
2396
2958
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2397
2959
|
let baseOptions;
|
|
2398
2960
|
if (configuration) {
|
|
@@ -2431,11 +2993,21 @@ const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
|
|
|
2431
2993
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2432
2994
|
},
|
|
2433
2995
|
async listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
|
|
2434
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(
|
|
2996
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(
|
|
2997
|
+
page,
|
|
2998
|
+
size,
|
|
2999
|
+
labelSelector,
|
|
3000
|
+
fieldSelector,
|
|
3001
|
+
options
|
|
3002
|
+
);
|
|
2435
3003
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2436
3004
|
},
|
|
2437
3005
|
async updatecontentHaloRunV1alpha1Category(name, category, options) {
|
|
2438
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(
|
|
3006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(
|
|
3007
|
+
name,
|
|
3008
|
+
category,
|
|
3009
|
+
options
|
|
3010
|
+
);
|
|
2439
3011
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2440
3012
|
}
|
|
2441
3013
|
};
|
|
@@ -2443,20 +3015,26 @@ const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
|
|
|
2443
3015
|
const ContentHaloRunV1alpha1CategoryApiFactory = function(configuration, basePath, axios) {
|
|
2444
3016
|
const localVarFp = ContentHaloRunV1alpha1CategoryApiFp(configuration);
|
|
2445
3017
|
return {
|
|
2446
|
-
createcontentHaloRunV1alpha1Category(
|
|
2447
|
-
return localVarFp.createcontentHaloRunV1alpha1Category(category, options).then((request) => request(axios, basePath));
|
|
2448
|
-
},
|
|
2449
|
-
deletecontentHaloRunV1alpha1Category(
|
|
2450
|
-
return localVarFp.deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
2451
|
-
},
|
|
2452
|
-
getcontentHaloRunV1alpha1Category(
|
|
2453
|
-
return localVarFp.getcontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
2454
|
-
},
|
|
2455
|
-
listcontentHaloRunV1alpha1Category(
|
|
2456
|
-
return localVarFp.listcontentHaloRunV1alpha1Category(
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
3018
|
+
createcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
3019
|
+
return localVarFp.createcontentHaloRunV1alpha1Category(requestParameters.category, options).then((request) => request(axios, basePath));
|
|
3020
|
+
},
|
|
3021
|
+
deletecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3022
|
+
return localVarFp.deletecontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3023
|
+
},
|
|
3024
|
+
getcontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3025
|
+
return localVarFp.getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3026
|
+
},
|
|
3027
|
+
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
3028
|
+
return localVarFp.listcontentHaloRunV1alpha1Category(
|
|
3029
|
+
requestParameters.page,
|
|
3030
|
+
requestParameters.size,
|
|
3031
|
+
requestParameters.labelSelector,
|
|
3032
|
+
requestParameters.fieldSelector,
|
|
3033
|
+
options
|
|
3034
|
+
).then((request) => request(axios, basePath));
|
|
3035
|
+
},
|
|
3036
|
+
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3037
|
+
return localVarFp.updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(axios, basePath));
|
|
2460
3038
|
}
|
|
2461
3039
|
};
|
|
2462
3040
|
};
|
|
@@ -2471,7 +3049,13 @@ class ContentHaloRunV1alpha1CategoryApi extends BaseAPI {
|
|
|
2471
3049
|
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2472
3050
|
}
|
|
2473
3051
|
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
2474
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(
|
|
3052
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(
|
|
3053
|
+
requestParameters.page,
|
|
3054
|
+
requestParameters.size,
|
|
3055
|
+
requestParameters.labelSelector,
|
|
3056
|
+
requestParameters.fieldSelector,
|
|
3057
|
+
options
|
|
3058
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2475
3059
|
}
|
|
2476
3060
|
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
2477
3061
|
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2504,7 +3088,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2504
3088
|
},
|
|
2505
3089
|
deletecontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
2506
3090
|
assertParamExists("deletecontentHaloRunV1alpha1Comment", "name", name);
|
|
2507
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3091
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3092
|
+
`{${"name"}}`,
|
|
3093
|
+
encodeURIComponent(String(name))
|
|
3094
|
+
);
|
|
2508
3095
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2509
3096
|
let baseOptions;
|
|
2510
3097
|
if (configuration) {
|
|
@@ -2525,7 +3112,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2525
3112
|
},
|
|
2526
3113
|
getcontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
2527
3114
|
assertParamExists("getcontentHaloRunV1alpha1Comment", "name", name);
|
|
2528
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3115
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3116
|
+
`{${"name"}}`,
|
|
3117
|
+
encodeURIComponent(String(name))
|
|
3118
|
+
);
|
|
2529
3119
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2530
3120
|
let baseOptions;
|
|
2531
3121
|
if (configuration) {
|
|
@@ -2578,7 +3168,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2578
3168
|
},
|
|
2579
3169
|
updatecontentHaloRunV1alpha1Comment: async (name, comment, options = {}) => {
|
|
2580
3170
|
assertParamExists("updatecontentHaloRunV1alpha1Comment", "name", name);
|
|
2581
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3171
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3172
|
+
`{${"name"}}`,
|
|
3173
|
+
encodeURIComponent(String(name))
|
|
3174
|
+
);
|
|
2582
3175
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2583
3176
|
let baseOptions;
|
|
2584
3177
|
if (configuration) {
|
|
@@ -2617,11 +3210,21 @@ const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2617
3210
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2618
3211
|
},
|
|
2619
3212
|
async listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
|
|
2620
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(
|
|
3213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(
|
|
3214
|
+
page,
|
|
3215
|
+
size,
|
|
3216
|
+
labelSelector,
|
|
3217
|
+
fieldSelector,
|
|
3218
|
+
options
|
|
3219
|
+
);
|
|
2621
3220
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2622
3221
|
},
|
|
2623
3222
|
async updatecontentHaloRunV1alpha1Comment(name, comment, options) {
|
|
2624
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(
|
|
3223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(
|
|
3224
|
+
name,
|
|
3225
|
+
comment,
|
|
3226
|
+
options
|
|
3227
|
+
);
|
|
2625
3228
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2626
3229
|
}
|
|
2627
3230
|
};
|
|
@@ -2629,20 +3232,26 @@ const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2629
3232
|
const ContentHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
2630
3233
|
const localVarFp = ContentHaloRunV1alpha1CommentApiFp(configuration);
|
|
2631
3234
|
return {
|
|
2632
|
-
createcontentHaloRunV1alpha1Comment(
|
|
2633
|
-
return localVarFp.createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(axios, basePath));
|
|
2634
|
-
},
|
|
2635
|
-
deletecontentHaloRunV1alpha1Comment(
|
|
2636
|
-
return localVarFp.deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
2637
|
-
},
|
|
2638
|
-
getcontentHaloRunV1alpha1Comment(
|
|
2639
|
-
return localVarFp.getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
2640
|
-
},
|
|
2641
|
-
listcontentHaloRunV1alpha1Comment(
|
|
2642
|
-
return localVarFp.listcontentHaloRunV1alpha1Comment(
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
3235
|
+
createcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
3236
|
+
return localVarFp.createcontentHaloRunV1alpha1Comment(requestParameters.comment, options).then((request) => request(axios, basePath));
|
|
3237
|
+
},
|
|
3238
|
+
deletecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3239
|
+
return localVarFp.deletecontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3240
|
+
},
|
|
3241
|
+
getcontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3242
|
+
return localVarFp.getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3243
|
+
},
|
|
3244
|
+
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
3245
|
+
return localVarFp.listcontentHaloRunV1alpha1Comment(
|
|
3246
|
+
requestParameters.page,
|
|
3247
|
+
requestParameters.size,
|
|
3248
|
+
requestParameters.labelSelector,
|
|
3249
|
+
requestParameters.fieldSelector,
|
|
3250
|
+
options
|
|
3251
|
+
).then((request) => request(axios, basePath));
|
|
3252
|
+
},
|
|
3253
|
+
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3254
|
+
return localVarFp.updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(axios, basePath));
|
|
2646
3255
|
}
|
|
2647
3256
|
};
|
|
2648
3257
|
};
|
|
@@ -2657,7 +3266,13 @@ class ContentHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
2657
3266
|
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2658
3267
|
}
|
|
2659
3268
|
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
2660
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(
|
|
3269
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(
|
|
3270
|
+
requestParameters.page,
|
|
3271
|
+
requestParameters.size,
|
|
3272
|
+
requestParameters.labelSelector,
|
|
3273
|
+
requestParameters.fieldSelector,
|
|
3274
|
+
options
|
|
3275
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2661
3276
|
}
|
|
2662
3277
|
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
2663
3278
|
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2690,7 +3305,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2690
3305
|
},
|
|
2691
3306
|
deletecontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
2692
3307
|
assertParamExists("deletecontentHaloRunV1alpha1Post", "name", name);
|
|
2693
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3308
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3309
|
+
`{${"name"}}`,
|
|
3310
|
+
encodeURIComponent(String(name))
|
|
3311
|
+
);
|
|
2694
3312
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2695
3313
|
let baseOptions;
|
|
2696
3314
|
if (configuration) {
|
|
@@ -2711,7 +3329,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2711
3329
|
},
|
|
2712
3330
|
getcontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
2713
3331
|
assertParamExists("getcontentHaloRunV1alpha1Post", "name", name);
|
|
2714
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3332
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3333
|
+
`{${"name"}}`,
|
|
3334
|
+
encodeURIComponent(String(name))
|
|
3335
|
+
);
|
|
2715
3336
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2716
3337
|
let baseOptions;
|
|
2717
3338
|
if (configuration) {
|
|
@@ -2764,7 +3385,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2764
3385
|
},
|
|
2765
3386
|
updatecontentHaloRunV1alpha1Post: async (name, post, options = {}) => {
|
|
2766
3387
|
assertParamExists("updatecontentHaloRunV1alpha1Post", "name", name);
|
|
2767
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3388
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3389
|
+
`{${"name"}}`,
|
|
3390
|
+
encodeURIComponent(String(name))
|
|
3391
|
+
);
|
|
2768
3392
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2769
3393
|
let baseOptions;
|
|
2770
3394
|
if (configuration) {
|
|
@@ -2803,7 +3427,13 @@ const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2803
3427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2804
3428
|
},
|
|
2805
3429
|
async listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
|
|
2806
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(
|
|
3430
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(
|
|
3431
|
+
page,
|
|
3432
|
+
size,
|
|
3433
|
+
labelSelector,
|
|
3434
|
+
fieldSelector,
|
|
3435
|
+
options
|
|
3436
|
+
);
|
|
2807
3437
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2808
3438
|
},
|
|
2809
3439
|
async updatecontentHaloRunV1alpha1Post(name, post, options) {
|
|
@@ -2815,20 +3445,26 @@ const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2815
3445
|
const ContentHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
2816
3446
|
const localVarFp = ContentHaloRunV1alpha1PostApiFp(configuration);
|
|
2817
3447
|
return {
|
|
2818
|
-
createcontentHaloRunV1alpha1Post(
|
|
2819
|
-
return localVarFp.createcontentHaloRunV1alpha1Post(post, options).then((request) => request(axios, basePath));
|
|
2820
|
-
},
|
|
2821
|
-
deletecontentHaloRunV1alpha1Post(
|
|
2822
|
-
return localVarFp.deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
2823
|
-
},
|
|
2824
|
-
getcontentHaloRunV1alpha1Post(
|
|
2825
|
-
return localVarFp.getcontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
2826
|
-
},
|
|
2827
|
-
listcontentHaloRunV1alpha1Post(
|
|
2828
|
-
return localVarFp.listcontentHaloRunV1alpha1Post(
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
3448
|
+
createcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
3449
|
+
return localVarFp.createcontentHaloRunV1alpha1Post(requestParameters.post, options).then((request) => request(axios, basePath));
|
|
3450
|
+
},
|
|
3451
|
+
deletecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3452
|
+
return localVarFp.deletecontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3453
|
+
},
|
|
3454
|
+
getcontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3455
|
+
return localVarFp.getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3456
|
+
},
|
|
3457
|
+
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
3458
|
+
return localVarFp.listcontentHaloRunV1alpha1Post(
|
|
3459
|
+
requestParameters.page,
|
|
3460
|
+
requestParameters.size,
|
|
3461
|
+
requestParameters.labelSelector,
|
|
3462
|
+
requestParameters.fieldSelector,
|
|
3463
|
+
options
|
|
3464
|
+
).then((request) => request(axios, basePath));
|
|
3465
|
+
},
|
|
3466
|
+
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3467
|
+
return localVarFp.updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(axios, basePath));
|
|
2832
3468
|
}
|
|
2833
3469
|
};
|
|
2834
3470
|
};
|
|
@@ -2843,7 +3479,13 @@ class ContentHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
2843
3479
|
return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2844
3480
|
}
|
|
2845
3481
|
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
2846
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(
|
|
3482
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(
|
|
3483
|
+
requestParameters.page,
|
|
3484
|
+
requestParameters.size,
|
|
3485
|
+
requestParameters.labelSelector,
|
|
3486
|
+
requestParameters.fieldSelector,
|
|
3487
|
+
options
|
|
3488
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2847
3489
|
}
|
|
2848
3490
|
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
2849
3491
|
return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2876,7 +3518,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2876
3518
|
},
|
|
2877
3519
|
deletecontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
2878
3520
|
assertParamExists("deletecontentHaloRunV1alpha1Reply", "name", name);
|
|
2879
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3521
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3522
|
+
`{${"name"}}`,
|
|
3523
|
+
encodeURIComponent(String(name))
|
|
3524
|
+
);
|
|
2880
3525
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2881
3526
|
let baseOptions;
|
|
2882
3527
|
if (configuration) {
|
|
@@ -2897,7 +3542,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2897
3542
|
},
|
|
2898
3543
|
getcontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
2899
3544
|
assertParamExists("getcontentHaloRunV1alpha1Reply", "name", name);
|
|
2900
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3545
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3546
|
+
`{${"name"}}`,
|
|
3547
|
+
encodeURIComponent(String(name))
|
|
3548
|
+
);
|
|
2901
3549
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2902
3550
|
let baseOptions;
|
|
2903
3551
|
if (configuration) {
|
|
@@ -2950,7 +3598,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2950
3598
|
},
|
|
2951
3599
|
updatecontentHaloRunV1alpha1Reply: async (name, reply, options = {}) => {
|
|
2952
3600
|
assertParamExists("updatecontentHaloRunV1alpha1Reply", "name", name);
|
|
2953
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3601
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3602
|
+
`{${"name"}}`,
|
|
3603
|
+
encodeURIComponent(String(name))
|
|
3604
|
+
);
|
|
2954
3605
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2955
3606
|
let baseOptions;
|
|
2956
3607
|
if (configuration) {
|
|
@@ -2989,7 +3640,13 @@ const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
2989
3640
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2990
3641
|
},
|
|
2991
3642
|
async listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
|
|
2992
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(
|
|
3643
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(
|
|
3644
|
+
page,
|
|
3645
|
+
size,
|
|
3646
|
+
labelSelector,
|
|
3647
|
+
fieldSelector,
|
|
3648
|
+
options
|
|
3649
|
+
);
|
|
2993
3650
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2994
3651
|
},
|
|
2995
3652
|
async updatecontentHaloRunV1alpha1Reply(name, reply, options) {
|
|
@@ -3001,20 +3658,26 @@ const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
3001
3658
|
const ContentHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
3002
3659
|
const localVarFp = ContentHaloRunV1alpha1ReplyApiFp(configuration);
|
|
3003
3660
|
return {
|
|
3004
|
-
createcontentHaloRunV1alpha1Reply(
|
|
3005
|
-
return localVarFp.createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(axios, basePath));
|
|
3006
|
-
},
|
|
3007
|
-
deletecontentHaloRunV1alpha1Reply(
|
|
3008
|
-
return localVarFp.deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
3009
|
-
},
|
|
3010
|
-
getcontentHaloRunV1alpha1Reply(
|
|
3011
|
-
return localVarFp.getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
3012
|
-
},
|
|
3013
|
-
listcontentHaloRunV1alpha1Reply(
|
|
3014
|
-
return localVarFp.listcontentHaloRunV1alpha1Reply(
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3661
|
+
createcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3662
|
+
return localVarFp.createcontentHaloRunV1alpha1Reply(requestParameters.reply, options).then((request) => request(axios, basePath));
|
|
3663
|
+
},
|
|
3664
|
+
deletecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3665
|
+
return localVarFp.deletecontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3666
|
+
},
|
|
3667
|
+
getcontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3668
|
+
return localVarFp.getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3669
|
+
},
|
|
3670
|
+
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3671
|
+
return localVarFp.listcontentHaloRunV1alpha1Reply(
|
|
3672
|
+
requestParameters.page,
|
|
3673
|
+
requestParameters.size,
|
|
3674
|
+
requestParameters.labelSelector,
|
|
3675
|
+
requestParameters.fieldSelector,
|
|
3676
|
+
options
|
|
3677
|
+
).then((request) => request(axios, basePath));
|
|
3678
|
+
},
|
|
3679
|
+
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3680
|
+
return localVarFp.updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(axios, basePath));
|
|
3018
3681
|
}
|
|
3019
3682
|
};
|
|
3020
3683
|
};
|
|
@@ -3029,7 +3692,13 @@ class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
|
3029
3692
|
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3030
3693
|
}
|
|
3031
3694
|
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3032
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(
|
|
3695
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(
|
|
3696
|
+
requestParameters.page,
|
|
3697
|
+
requestParameters.size,
|
|
3698
|
+
requestParameters.labelSelector,
|
|
3699
|
+
requestParameters.fieldSelector,
|
|
3700
|
+
options
|
|
3701
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3033
3702
|
}
|
|
3034
3703
|
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3035
3704
|
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3062,7 +3731,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3062
3731
|
},
|
|
3063
3732
|
deletecontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
3064
3733
|
assertParamExists("deletecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3065
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3734
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3735
|
+
`{${"name"}}`,
|
|
3736
|
+
encodeURIComponent(String(name))
|
|
3737
|
+
);
|
|
3066
3738
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3067
3739
|
let baseOptions;
|
|
3068
3740
|
if (configuration) {
|
|
@@ -3083,7 +3755,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3083
3755
|
},
|
|
3084
3756
|
getcontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
3085
3757
|
assertParamExists("getcontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3086
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3758
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3759
|
+
`{${"name"}}`,
|
|
3760
|
+
encodeURIComponent(String(name))
|
|
3761
|
+
);
|
|
3087
3762
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3088
3763
|
let baseOptions;
|
|
3089
3764
|
if (configuration) {
|
|
@@ -3136,7 +3811,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3136
3811
|
},
|
|
3137
3812
|
updatecontentHaloRunV1alpha1SinglePage: async (name, singlePage, options = {}) => {
|
|
3138
3813
|
assertParamExists("updatecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3139
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3814
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3815
|
+
`{${"name"}}`,
|
|
3816
|
+
encodeURIComponent(String(name))
|
|
3817
|
+
);
|
|
3140
3818
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3141
3819
|
let baseOptions;
|
|
3142
3820
|
if (configuration) {
|
|
@@ -3163,7 +3841,10 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3163
3841
|
const localVarAxiosParamCreator = ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
|
|
3164
3842
|
return {
|
|
3165
3843
|
async createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
|
|
3166
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(
|
|
3844
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(
|
|
3845
|
+
singlePage,
|
|
3846
|
+
options
|
|
3847
|
+
);
|
|
3167
3848
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3168
3849
|
},
|
|
3169
3850
|
async deletecontentHaloRunV1alpha1SinglePage(name, options) {
|
|
@@ -3175,11 +3856,21 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3175
3856
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3176
3857
|
},
|
|
3177
3858
|
async listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
|
|
3178
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(
|
|
3859
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(
|
|
3860
|
+
page,
|
|
3861
|
+
size,
|
|
3862
|
+
labelSelector,
|
|
3863
|
+
fieldSelector,
|
|
3864
|
+
options
|
|
3865
|
+
);
|
|
3179
3866
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3180
3867
|
},
|
|
3181
3868
|
async updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
|
|
3182
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(
|
|
3869
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(
|
|
3870
|
+
name,
|
|
3871
|
+
singlePage,
|
|
3872
|
+
options
|
|
3873
|
+
);
|
|
3183
3874
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3184
3875
|
}
|
|
3185
3876
|
};
|
|
@@ -3187,20 +3878,26 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3187
3878
|
const ContentHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
3188
3879
|
const localVarFp = ContentHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
3189
3880
|
return {
|
|
3190
|
-
createcontentHaloRunV1alpha1SinglePage(
|
|
3191
|
-
return localVarFp.createcontentHaloRunV1alpha1SinglePage(singlePage, options).then((request) => request(axios, basePath));
|
|
3192
|
-
},
|
|
3193
|
-
deletecontentHaloRunV1alpha1SinglePage(
|
|
3194
|
-
return localVarFp.deletecontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
3195
|
-
},
|
|
3196
|
-
getcontentHaloRunV1alpha1SinglePage(
|
|
3197
|
-
return localVarFp.getcontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
3198
|
-
},
|
|
3199
|
-
listcontentHaloRunV1alpha1SinglePage(
|
|
3200
|
-
return localVarFp.listcontentHaloRunV1alpha1SinglePage(
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3881
|
+
createcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3882
|
+
return localVarFp.createcontentHaloRunV1alpha1SinglePage(requestParameters.singlePage, options).then((request) => request(axios, basePath));
|
|
3883
|
+
},
|
|
3884
|
+
deletecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3885
|
+
return localVarFp.deletecontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3886
|
+
},
|
|
3887
|
+
getcontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3888
|
+
return localVarFp.getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3889
|
+
},
|
|
3890
|
+
listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3891
|
+
return localVarFp.listcontentHaloRunV1alpha1SinglePage(
|
|
3892
|
+
requestParameters.page,
|
|
3893
|
+
requestParameters.size,
|
|
3894
|
+
requestParameters.labelSelector,
|
|
3895
|
+
requestParameters.fieldSelector,
|
|
3896
|
+
options
|
|
3897
|
+
).then((request) => request(axios, basePath));
|
|
3898
|
+
},
|
|
3899
|
+
updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3900
|
+
return localVarFp.updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(axios, basePath));
|
|
3204
3901
|
}
|
|
3205
3902
|
};
|
|
3206
3903
|
};
|
|
@@ -3215,7 +3912,13 @@ class ContentHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
3215
3912
|
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3216
3913
|
}
|
|
3217
3914
|
listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3218
|
-
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(
|
|
3915
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(
|
|
3916
|
+
requestParameters.page,
|
|
3917
|
+
requestParameters.size,
|
|
3918
|
+
requestParameters.labelSelector,
|
|
3919
|
+
requestParameters.fieldSelector,
|
|
3920
|
+
options
|
|
3921
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3219
3922
|
}
|
|
3220
3923
|
updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3221
3924
|
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3248,7 +3951,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3248
3951
|
},
|
|
3249
3952
|
deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
3250
3953
|
assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3251
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3954
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3955
|
+
`{${"name"}}`,
|
|
3956
|
+
encodeURIComponent(String(name))
|
|
3957
|
+
);
|
|
3252
3958
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3253
3959
|
let baseOptions;
|
|
3254
3960
|
if (configuration) {
|
|
@@ -3269,7 +3975,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3269
3975
|
},
|
|
3270
3976
|
getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
3271
3977
|
assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3272
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3978
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3979
|
+
`{${"name"}}`,
|
|
3980
|
+
encodeURIComponent(String(name))
|
|
3981
|
+
);
|
|
3273
3982
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3274
3983
|
let baseOptions;
|
|
3275
3984
|
if (configuration) {
|
|
@@ -3322,7 +4031,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3322
4031
|
},
|
|
3323
4032
|
updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
|
|
3324
4033
|
assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3325
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
4034
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
4035
|
+
`{${"name"}}`,
|
|
4036
|
+
encodeURIComponent(String(name))
|
|
4037
|
+
);
|
|
3326
4038
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3327
4039
|
let baseOptions;
|
|
3328
4040
|
if (configuration) {
|
|
@@ -3361,11 +4073,21 @@ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
|
3361
4073
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3362
4074
|
},
|
|
3363
4075
|
async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
3364
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(
|
|
4076
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(
|
|
4077
|
+
page,
|
|
4078
|
+
size,
|
|
4079
|
+
labelSelector,
|
|
4080
|
+
fieldSelector,
|
|
4081
|
+
options
|
|
4082
|
+
);
|
|
3365
4083
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3366
4084
|
},
|
|
3367
4085
|
async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
3368
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(
|
|
4086
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(
|
|
4087
|
+
name,
|
|
4088
|
+
snapshot,
|
|
4089
|
+
options
|
|
4090
|
+
);
|
|
3369
4091
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3370
4092
|
}
|
|
3371
4093
|
};
|
|
@@ -3373,20 +4095,26 @@ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
|
3373
4095
|
const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
|
|
3374
4096
|
const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
|
|
3375
4097
|
return {
|
|
3376
|
-
createcontentHaloRunV1alpha1Snapshot(
|
|
3377
|
-
return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
|
|
3378
|
-
},
|
|
3379
|
-
deletecontentHaloRunV1alpha1Snapshot(
|
|
3380
|
-
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
3381
|
-
},
|
|
3382
|
-
getcontentHaloRunV1alpha1Snapshot(
|
|
3383
|
-
return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
3384
|
-
},
|
|
3385
|
-
listcontentHaloRunV1alpha1Snapshot(
|
|
3386
|
-
return localVarFp.listcontentHaloRunV1alpha1Snapshot(
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
4098
|
+
createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
4099
|
+
return localVarFp.createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(axios, basePath));
|
|
4100
|
+
},
|
|
4101
|
+
deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4102
|
+
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4103
|
+
},
|
|
4104
|
+
getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4105
|
+
return localVarFp.getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4106
|
+
},
|
|
4107
|
+
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
4108
|
+
return localVarFp.listcontentHaloRunV1alpha1Snapshot(
|
|
4109
|
+
requestParameters.page,
|
|
4110
|
+
requestParameters.size,
|
|
4111
|
+
requestParameters.labelSelector,
|
|
4112
|
+
requestParameters.fieldSelector,
|
|
4113
|
+
options
|
|
4114
|
+
).then((request) => request(axios, basePath));
|
|
4115
|
+
},
|
|
4116
|
+
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4117
|
+
return localVarFp.updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(axios, basePath));
|
|
3390
4118
|
}
|
|
3391
4119
|
};
|
|
3392
4120
|
};
|
|
@@ -3401,7 +4129,13 @@ class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
|
|
|
3401
4129
|
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3402
4130
|
}
|
|
3403
4131
|
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
3404
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(
|
|
4132
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(
|
|
4133
|
+
requestParameters.page,
|
|
4134
|
+
requestParameters.size,
|
|
4135
|
+
requestParameters.labelSelector,
|
|
4136
|
+
requestParameters.fieldSelector,
|
|
4137
|
+
options
|
|
4138
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3405
4139
|
}
|
|
3406
4140
|
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
3407
4141
|
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3434,7 +4168,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3434
4168
|
},
|
|
3435
4169
|
deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
3436
4170
|
assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
|
|
3437
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4171
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4172
|
+
`{${"name"}}`,
|
|
4173
|
+
encodeURIComponent(String(name))
|
|
4174
|
+
);
|
|
3438
4175
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3439
4176
|
let baseOptions;
|
|
3440
4177
|
if (configuration) {
|
|
@@ -3455,7 +4192,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3455
4192
|
},
|
|
3456
4193
|
getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
3457
4194
|
assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
|
|
3458
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4195
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4196
|
+
`{${"name"}}`,
|
|
4197
|
+
encodeURIComponent(String(name))
|
|
4198
|
+
);
|
|
3459
4199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3460
4200
|
let baseOptions;
|
|
3461
4201
|
if (configuration) {
|
|
@@ -3508,7 +4248,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3508
4248
|
},
|
|
3509
4249
|
updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
|
|
3510
4250
|
assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
|
|
3511
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4251
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4252
|
+
`{${"name"}}`,
|
|
4253
|
+
encodeURIComponent(String(name))
|
|
4254
|
+
);
|
|
3512
4255
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3513
4256
|
let baseOptions;
|
|
3514
4257
|
if (configuration) {
|
|
@@ -3547,7 +4290,13 @@ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
|
3547
4290
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3548
4291
|
},
|
|
3549
4292
|
async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
3550
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(
|
|
4293
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(
|
|
4294
|
+
page,
|
|
4295
|
+
size,
|
|
4296
|
+
labelSelector,
|
|
4297
|
+
fieldSelector,
|
|
4298
|
+
options
|
|
4299
|
+
);
|
|
3551
4300
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3552
4301
|
},
|
|
3553
4302
|
async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
@@ -3559,20 +4308,26 @@ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
|
3559
4308
|
const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
|
|
3560
4309
|
const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
|
|
3561
4310
|
return {
|
|
3562
|
-
createcontentHaloRunV1alpha1Tag(
|
|
3563
|
-
return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
|
|
3564
|
-
},
|
|
3565
|
-
deletecontentHaloRunV1alpha1Tag(
|
|
3566
|
-
return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
3567
|
-
},
|
|
3568
|
-
getcontentHaloRunV1alpha1Tag(
|
|
3569
|
-
return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
3570
|
-
},
|
|
3571
|
-
listcontentHaloRunV1alpha1Tag(
|
|
3572
|
-
return localVarFp.listcontentHaloRunV1alpha1Tag(
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
4311
|
+
createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
4312
|
+
return localVarFp.createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(axios, basePath));
|
|
4313
|
+
},
|
|
4314
|
+
deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4315
|
+
return localVarFp.deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4316
|
+
},
|
|
4317
|
+
getcontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4318
|
+
return localVarFp.getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4319
|
+
},
|
|
4320
|
+
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
4321
|
+
return localVarFp.listcontentHaloRunV1alpha1Tag(
|
|
4322
|
+
requestParameters.page,
|
|
4323
|
+
requestParameters.size,
|
|
4324
|
+
requestParameters.labelSelector,
|
|
4325
|
+
requestParameters.fieldSelector,
|
|
4326
|
+
options
|
|
4327
|
+
).then((request) => request(axios, basePath));
|
|
4328
|
+
},
|
|
4329
|
+
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4330
|
+
return localVarFp.updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(axios, basePath));
|
|
3576
4331
|
}
|
|
3577
4332
|
};
|
|
3578
4333
|
};
|
|
@@ -3587,7 +4342,13 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
3587
4342
|
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3588
4343
|
}
|
|
3589
4344
|
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
3590
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(
|
|
4345
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(
|
|
4346
|
+
requestParameters.page,
|
|
4347
|
+
requestParameters.size,
|
|
4348
|
+
requestParameters.labelSelector,
|
|
4349
|
+
requestParameters.fieldSelector,
|
|
4350
|
+
options
|
|
4351
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3591
4352
|
}
|
|
3592
4353
|
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
3593
4354
|
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3620,7 +4381,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3620
4381
|
},
|
|
3621
4382
|
deletemetricsHaloRunV1alpha1Counter: async (name, options = {}) => {
|
|
3622
4383
|
assertParamExists("deletemetricsHaloRunV1alpha1Counter", "name", name);
|
|
3623
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4384
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4385
|
+
`{${"name"}}`,
|
|
4386
|
+
encodeURIComponent(String(name))
|
|
4387
|
+
);
|
|
3624
4388
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3625
4389
|
let baseOptions;
|
|
3626
4390
|
if (configuration) {
|
|
@@ -3641,7 +4405,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3641
4405
|
},
|
|
3642
4406
|
getmetricsHaloRunV1alpha1Counter: async (name, options = {}) => {
|
|
3643
4407
|
assertParamExists("getmetricsHaloRunV1alpha1Counter", "name", name);
|
|
3644
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4408
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4409
|
+
`{${"name"}}`,
|
|
4410
|
+
encodeURIComponent(String(name))
|
|
4411
|
+
);
|
|
3645
4412
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3646
4413
|
let baseOptions;
|
|
3647
4414
|
if (configuration) {
|
|
@@ -3694,7 +4461,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3694
4461
|
},
|
|
3695
4462
|
updatemetricsHaloRunV1alpha1Counter: async (name, counter, options = {}) => {
|
|
3696
4463
|
assertParamExists("updatemetricsHaloRunV1alpha1Counter", "name", name);
|
|
3697
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4464
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4465
|
+
`{${"name"}}`,
|
|
4466
|
+
encodeURIComponent(String(name))
|
|
4467
|
+
);
|
|
3698
4468
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3699
4469
|
let baseOptions;
|
|
3700
4470
|
if (configuration) {
|
|
@@ -3733,11 +4503,21 @@ const MetricsHaloRunV1alpha1CounterApiFp = function(configuration) {
|
|
|
3733
4503
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3734
4504
|
},
|
|
3735
4505
|
async listmetricsHaloRunV1alpha1Counter(page, size, labelSelector, fieldSelector, options) {
|
|
3736
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listmetricsHaloRunV1alpha1Counter(
|
|
4506
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listmetricsHaloRunV1alpha1Counter(
|
|
4507
|
+
page,
|
|
4508
|
+
size,
|
|
4509
|
+
labelSelector,
|
|
4510
|
+
fieldSelector,
|
|
4511
|
+
options
|
|
4512
|
+
);
|
|
3737
4513
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3738
4514
|
},
|
|
3739
4515
|
async updatemetricsHaloRunV1alpha1Counter(name, counter, options) {
|
|
3740
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatemetricsHaloRunV1alpha1Counter(
|
|
4516
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatemetricsHaloRunV1alpha1Counter(
|
|
4517
|
+
name,
|
|
4518
|
+
counter,
|
|
4519
|
+
options
|
|
4520
|
+
);
|
|
3741
4521
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3742
4522
|
}
|
|
3743
4523
|
};
|
|
@@ -3745,20 +4525,26 @@ const MetricsHaloRunV1alpha1CounterApiFp = function(configuration) {
|
|
|
3745
4525
|
const MetricsHaloRunV1alpha1CounterApiFactory = function(configuration, basePath, axios) {
|
|
3746
4526
|
const localVarFp = MetricsHaloRunV1alpha1CounterApiFp(configuration);
|
|
3747
4527
|
return {
|
|
3748
|
-
createmetricsHaloRunV1alpha1Counter(
|
|
3749
|
-
return localVarFp.createmetricsHaloRunV1alpha1Counter(counter, options).then((request) => request(axios, basePath));
|
|
3750
|
-
},
|
|
3751
|
-
deletemetricsHaloRunV1alpha1Counter(
|
|
3752
|
-
return localVarFp.deletemetricsHaloRunV1alpha1Counter(name, options).then((request) => request(axios, basePath));
|
|
3753
|
-
},
|
|
3754
|
-
getmetricsHaloRunV1alpha1Counter(
|
|
3755
|
-
return localVarFp.getmetricsHaloRunV1alpha1Counter(name, options).then((request) => request(axios, basePath));
|
|
3756
|
-
},
|
|
3757
|
-
listmetricsHaloRunV1alpha1Counter(
|
|
3758
|
-
return localVarFp.listmetricsHaloRunV1alpha1Counter(
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
4528
|
+
createmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
4529
|
+
return localVarFp.createmetricsHaloRunV1alpha1Counter(requestParameters.counter, options).then((request) => request(axios, basePath));
|
|
4530
|
+
},
|
|
4531
|
+
deletemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4532
|
+
return localVarFp.deletemetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4533
|
+
},
|
|
4534
|
+
getmetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4535
|
+
return localVarFp.getmetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4536
|
+
},
|
|
4537
|
+
listmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
4538
|
+
return localVarFp.listmetricsHaloRunV1alpha1Counter(
|
|
4539
|
+
requestParameters.page,
|
|
4540
|
+
requestParameters.size,
|
|
4541
|
+
requestParameters.labelSelector,
|
|
4542
|
+
requestParameters.fieldSelector,
|
|
4543
|
+
options
|
|
4544
|
+
).then((request) => request(axios, basePath));
|
|
4545
|
+
},
|
|
4546
|
+
updatemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4547
|
+
return localVarFp.updatemetricsHaloRunV1alpha1Counter(requestParameters.name, requestParameters.counter, options).then((request) => request(axios, basePath));
|
|
3762
4548
|
}
|
|
3763
4549
|
};
|
|
3764
4550
|
};
|
|
@@ -3773,67 +4559,19 @@ class MetricsHaloRunV1alpha1CounterApi extends BaseAPI {
|
|
|
3773
4559
|
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).getmetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3774
4560
|
}
|
|
3775
4561
|
listmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
3776
|
-
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).listmetricsHaloRunV1alpha1Counter(
|
|
4562
|
+
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).listmetricsHaloRunV1alpha1Counter(
|
|
4563
|
+
requestParameters.page,
|
|
4564
|
+
requestParameters.size,
|
|
4565
|
+
requestParameters.labelSelector,
|
|
4566
|
+
requestParameters.fieldSelector,
|
|
4567
|
+
options
|
|
4568
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3777
4569
|
}
|
|
3778
4570
|
updatemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
3779
4571
|
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).updatemetricsHaloRunV1alpha1Counter(requestParameters.name, requestParameters.counter, options).then((request) => request(this.axios, this.basePath));
|
|
3780
4572
|
}
|
|
3781
4573
|
}
|
|
3782
4574
|
|
|
3783
|
-
const MigrationControllerApiAxiosParamCreator = function(configuration) {
|
|
3784
|
-
return {
|
|
3785
|
-
importMigrationData: async (file, options = {}) => {
|
|
3786
|
-
assertParamExists("importMigrationData", "file", file);
|
|
3787
|
-
const localVarPath = `/apis/api.plugin.halo.run/v1alpha1/plugins/PluginMigrate/migrations/import`;
|
|
3788
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3789
|
-
let baseOptions;
|
|
3790
|
-
if (configuration) {
|
|
3791
|
-
baseOptions = configuration.baseOptions;
|
|
3792
|
-
}
|
|
3793
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3794
|
-
const localVarHeaderParameter = {};
|
|
3795
|
-
const localVarQueryParameter = {};
|
|
3796
|
-
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
3797
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3798
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3799
|
-
if (file !== void 0) {
|
|
3800
|
-
localVarFormParams.append("file", file);
|
|
3801
|
-
}
|
|
3802
|
-
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
3803
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3804
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3805
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3806
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
3807
|
-
return {
|
|
3808
|
-
url: toPathString(localVarUrlObj),
|
|
3809
|
-
options: localVarRequestOptions
|
|
3810
|
-
};
|
|
3811
|
-
}
|
|
3812
|
-
};
|
|
3813
|
-
};
|
|
3814
|
-
const MigrationControllerApiFp = function(configuration) {
|
|
3815
|
-
const localVarAxiosParamCreator = MigrationControllerApiAxiosParamCreator(configuration);
|
|
3816
|
-
return {
|
|
3817
|
-
async importMigrationData(file, options) {
|
|
3818
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importMigrationData(file, options);
|
|
3819
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3820
|
-
}
|
|
3821
|
-
};
|
|
3822
|
-
};
|
|
3823
|
-
const MigrationControllerApiFactory = function(configuration, basePath, axios) {
|
|
3824
|
-
const localVarFp = MigrationControllerApiFp(configuration);
|
|
3825
|
-
return {
|
|
3826
|
-
importMigrationData(file, options) {
|
|
3827
|
-
return localVarFp.importMigrationData(file, options).then((request) => request(axios, basePath));
|
|
3828
|
-
}
|
|
3829
|
-
};
|
|
3830
|
-
};
|
|
3831
|
-
class MigrationControllerApi extends BaseAPI {
|
|
3832
|
-
importMigrationData(requestParameters, options) {
|
|
3833
|
-
return MigrationControllerApiFp(this.configuration).importMigrationData(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
3834
|
-
}
|
|
3835
|
-
}
|
|
3836
|
-
|
|
3837
4575
|
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
3838
4576
|
return {
|
|
3839
4577
|
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
@@ -3860,7 +4598,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3860
4598
|
},
|
|
3861
4599
|
deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
3862
4600
|
assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
|
|
3863
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4601
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4602
|
+
`{${"name"}}`,
|
|
4603
|
+
encodeURIComponent(String(name))
|
|
4604
|
+
);
|
|
3864
4605
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3865
4606
|
let baseOptions;
|
|
3866
4607
|
if (configuration) {
|
|
@@ -3881,7 +4622,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3881
4622
|
},
|
|
3882
4623
|
getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
3883
4624
|
assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
|
|
3884
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4625
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4626
|
+
`{${"name"}}`,
|
|
4627
|
+
encodeURIComponent(String(name))
|
|
4628
|
+
);
|
|
3885
4629
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3886
4630
|
let baseOptions;
|
|
3887
4631
|
if (configuration) {
|
|
@@ -3934,7 +4678,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3934
4678
|
},
|
|
3935
4679
|
updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
|
|
3936
4680
|
assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
|
|
3937
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4681
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4682
|
+
`{${"name"}}`,
|
|
4683
|
+
encodeURIComponent(String(name))
|
|
4684
|
+
);
|
|
3938
4685
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3939
4686
|
let baseOptions;
|
|
3940
4687
|
if (configuration) {
|
|
@@ -3973,7 +4720,13 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
3973
4720
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3974
4721
|
},
|
|
3975
4722
|
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
3976
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(
|
|
4723
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(
|
|
4724
|
+
page,
|
|
4725
|
+
size,
|
|
4726
|
+
labelSelector,
|
|
4727
|
+
fieldSelector,
|
|
4728
|
+
options
|
|
4729
|
+
);
|
|
3977
4730
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3978
4731
|
},
|
|
3979
4732
|
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
@@ -3985,20 +4738,26 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
3985
4738
|
const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
3986
4739
|
const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
|
|
3987
4740
|
return {
|
|
3988
|
-
createpluginHaloRunV1alpha1Plugin(
|
|
3989
|
-
return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
|
|
3990
|
-
},
|
|
3991
|
-
deletepluginHaloRunV1alpha1Plugin(
|
|
3992
|
-
return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
3993
|
-
},
|
|
3994
|
-
getpluginHaloRunV1alpha1Plugin(
|
|
3995
|
-
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
3996
|
-
},
|
|
3997
|
-
listpluginHaloRunV1alpha1Plugin(
|
|
3998
|
-
return localVarFp.listpluginHaloRunV1alpha1Plugin(
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4741
|
+
createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
4742
|
+
return localVarFp.createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(axios, basePath));
|
|
4743
|
+
},
|
|
4744
|
+
deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4745
|
+
return localVarFp.deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4746
|
+
},
|
|
4747
|
+
getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4748
|
+
return localVarFp.getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4749
|
+
},
|
|
4750
|
+
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
4751
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(
|
|
4752
|
+
requestParameters.page,
|
|
4753
|
+
requestParameters.size,
|
|
4754
|
+
requestParameters.labelSelector,
|
|
4755
|
+
requestParameters.fieldSelector,
|
|
4756
|
+
options
|
|
4757
|
+
).then((request) => request(axios, basePath));
|
|
4758
|
+
},
|
|
4759
|
+
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4760
|
+
return localVarFp.updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(axios, basePath));
|
|
4002
4761
|
}
|
|
4003
4762
|
};
|
|
4004
4763
|
};
|
|
@@ -4013,7 +4772,13 @@ class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
4013
4772
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4014
4773
|
}
|
|
4015
4774
|
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
4016
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(
|
|
4775
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(
|
|
4776
|
+
requestParameters.page,
|
|
4777
|
+
requestParameters.size,
|
|
4778
|
+
requestParameters.labelSelector,
|
|
4779
|
+
requestParameters.fieldSelector,
|
|
4780
|
+
options
|
|
4781
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4017
4782
|
}
|
|
4018
4783
|
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4019
4784
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4046,7 +4811,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4046
4811
|
},
|
|
4047
4812
|
deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
4048
4813
|
assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4049
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4814
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4815
|
+
`{${"name"}}`,
|
|
4816
|
+
encodeURIComponent(String(name))
|
|
4817
|
+
);
|
|
4050
4818
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4051
4819
|
let baseOptions;
|
|
4052
4820
|
if (configuration) {
|
|
@@ -4067,7 +4835,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4067
4835
|
},
|
|
4068
4836
|
getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
4069
4837
|
assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4070
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4838
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4839
|
+
`{${"name"}}`,
|
|
4840
|
+
encodeURIComponent(String(name))
|
|
4841
|
+
);
|
|
4071
4842
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4072
4843
|
let baseOptions;
|
|
4073
4844
|
if (configuration) {
|
|
@@ -4120,7 +4891,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4120
4891
|
},
|
|
4121
4892
|
updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
|
|
4122
4893
|
assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4123
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4894
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4895
|
+
`{${"name"}}`,
|
|
4896
|
+
encodeURIComponent(String(name))
|
|
4897
|
+
);
|
|
4124
4898
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4125
4899
|
let baseOptions;
|
|
4126
4900
|
if (configuration) {
|
|
@@ -4147,7 +4921,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4147
4921
|
const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
|
|
4148
4922
|
return {
|
|
4149
4923
|
async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
4150
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(
|
|
4924
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(
|
|
4925
|
+
reverseProxy,
|
|
4926
|
+
options
|
|
4927
|
+
);
|
|
4151
4928
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4152
4929
|
},
|
|
4153
4930
|
async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
@@ -4159,11 +4936,21 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4159
4936
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4160
4937
|
},
|
|
4161
4938
|
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
4162
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4939
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4940
|
+
page,
|
|
4941
|
+
size,
|
|
4942
|
+
labelSelector,
|
|
4943
|
+
fieldSelector,
|
|
4944
|
+
options
|
|
4945
|
+
);
|
|
4163
4946
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4164
4947
|
},
|
|
4165
4948
|
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
4166
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(
|
|
4949
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(
|
|
4950
|
+
name,
|
|
4951
|
+
reverseProxy,
|
|
4952
|
+
options
|
|
4953
|
+
);
|
|
4167
4954
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4168
4955
|
}
|
|
4169
4956
|
};
|
|
@@ -4171,20 +4958,26 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4171
4958
|
const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
|
|
4172
4959
|
const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
|
|
4173
4960
|
return {
|
|
4174
|
-
createpluginHaloRunV1alpha1ReverseProxy(
|
|
4175
|
-
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
|
|
4176
|
-
},
|
|
4177
|
-
deletepluginHaloRunV1alpha1ReverseProxy(
|
|
4178
|
-
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
4179
|
-
},
|
|
4180
|
-
getpluginHaloRunV1alpha1ReverseProxy(
|
|
4181
|
-
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
4182
|
-
},
|
|
4183
|
-
listpluginHaloRunV1alpha1ReverseProxy(
|
|
4184
|
-
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4961
|
+
createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4962
|
+
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(axios, basePath));
|
|
4963
|
+
},
|
|
4964
|
+
deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4965
|
+
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4966
|
+
},
|
|
4967
|
+
getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4968
|
+
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4969
|
+
},
|
|
4970
|
+
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4971
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4972
|
+
requestParameters.page,
|
|
4973
|
+
requestParameters.size,
|
|
4974
|
+
requestParameters.labelSelector,
|
|
4975
|
+
requestParameters.fieldSelector,
|
|
4976
|
+
options
|
|
4977
|
+
).then((request) => request(axios, basePath));
|
|
4978
|
+
},
|
|
4979
|
+
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4980
|
+
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(axios, basePath));
|
|
4188
4981
|
}
|
|
4189
4982
|
};
|
|
4190
4983
|
};
|
|
@@ -4199,7 +4992,13 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
4199
4992
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4200
4993
|
}
|
|
4201
4994
|
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4202
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(
|
|
4995
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(
|
|
4996
|
+
requestParameters.page,
|
|
4997
|
+
requestParameters.size,
|
|
4998
|
+
requestParameters.labelSelector,
|
|
4999
|
+
requestParameters.fieldSelector,
|
|
5000
|
+
options
|
|
5001
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4203
5002
|
}
|
|
4204
5003
|
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4205
5004
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4232,7 +5031,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4232
5031
|
},
|
|
4233
5032
|
deletepluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
4234
5033
|
assertParamExists("deletepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4235
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5034
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5035
|
+
`{${"name"}}`,
|
|
5036
|
+
encodeURIComponent(String(name))
|
|
5037
|
+
);
|
|
4236
5038
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4237
5039
|
let baseOptions;
|
|
4238
5040
|
if (configuration) {
|
|
@@ -4253,7 +5055,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4253
5055
|
},
|
|
4254
5056
|
getpluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
4255
5057
|
assertParamExists("getpluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4256
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5058
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5059
|
+
`{${"name"}}`,
|
|
5060
|
+
encodeURIComponent(String(name))
|
|
5061
|
+
);
|
|
4257
5062
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4258
5063
|
let baseOptions;
|
|
4259
5064
|
if (configuration) {
|
|
@@ -4306,7 +5111,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4306
5111
|
},
|
|
4307
5112
|
updatepluginHaloRunV1alpha1SearchEngine: async (name, searchEngine, options = {}) => {
|
|
4308
5113
|
assertParamExists("updatepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4309
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5114
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5115
|
+
`{${"name"}}`,
|
|
5116
|
+
encodeURIComponent(String(name))
|
|
5117
|
+
);
|
|
4310
5118
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4311
5119
|
let baseOptions;
|
|
4312
5120
|
if (configuration) {
|
|
@@ -4333,7 +5141,10 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4333
5141
|
const localVarAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator(configuration);
|
|
4334
5142
|
return {
|
|
4335
5143
|
async createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
4336
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(
|
|
5144
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(
|
|
5145
|
+
searchEngine,
|
|
5146
|
+
options
|
|
5147
|
+
);
|
|
4337
5148
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4338
5149
|
},
|
|
4339
5150
|
async deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
@@ -4345,11 +5156,21 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4345
5156
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4346
5157
|
},
|
|
4347
5158
|
async listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
4348
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(
|
|
5159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(
|
|
5160
|
+
page,
|
|
5161
|
+
size,
|
|
5162
|
+
labelSelector,
|
|
5163
|
+
fieldSelector,
|
|
5164
|
+
options
|
|
5165
|
+
);
|
|
4349
5166
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4350
5167
|
},
|
|
4351
5168
|
async updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
4352
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(
|
|
5169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(
|
|
5170
|
+
name,
|
|
5171
|
+
searchEngine,
|
|
5172
|
+
options
|
|
5173
|
+
);
|
|
4353
5174
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4354
5175
|
}
|
|
4355
5176
|
};
|
|
@@ -4357,20 +5178,26 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4357
5178
|
const PluginHaloRunV1alpha1SearchEngineApiFactory = function(configuration, basePath, axios) {
|
|
4358
5179
|
const localVarFp = PluginHaloRunV1alpha1SearchEngineApiFp(configuration);
|
|
4359
5180
|
return {
|
|
4360
|
-
createpluginHaloRunV1alpha1SearchEngine(
|
|
4361
|
-
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options).then((request) => request(axios, basePath));
|
|
4362
|
-
},
|
|
4363
|
-
deletepluginHaloRunV1alpha1SearchEngine(
|
|
4364
|
-
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
4365
|
-
},
|
|
4366
|
-
getpluginHaloRunV1alpha1SearchEngine(
|
|
4367
|
-
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
4368
|
-
},
|
|
4369
|
-
listpluginHaloRunV1alpha1SearchEngine(
|
|
4370
|
-
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
5181
|
+
createpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
5182
|
+
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(requestParameters.searchEngine, options).then((request) => request(axios, basePath));
|
|
5183
|
+
},
|
|
5184
|
+
deletepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5185
|
+
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5186
|
+
},
|
|
5187
|
+
getpluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5188
|
+
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5189
|
+
},
|
|
5190
|
+
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
5191
|
+
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(
|
|
5192
|
+
requestParameters.page,
|
|
5193
|
+
requestParameters.size,
|
|
5194
|
+
requestParameters.labelSelector,
|
|
5195
|
+
requestParameters.fieldSelector,
|
|
5196
|
+
options
|
|
5197
|
+
).then((request) => request(axios, basePath));
|
|
5198
|
+
},
|
|
5199
|
+
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5200
|
+
return localVarFp.updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(axios, basePath));
|
|
4374
5201
|
}
|
|
4375
5202
|
};
|
|
4376
5203
|
};
|
|
@@ -4385,7 +5212,13 @@ class PluginHaloRunV1alpha1SearchEngineApi extends BaseAPI {
|
|
|
4385
5212
|
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4386
5213
|
}
|
|
4387
5214
|
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
4388
|
-
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(
|
|
5215
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(
|
|
5216
|
+
requestParameters.page,
|
|
5217
|
+
requestParameters.size,
|
|
5218
|
+
requestParameters.labelSelector,
|
|
5219
|
+
requestParameters.fieldSelector,
|
|
5220
|
+
options
|
|
5221
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4389
5222
|
}
|
|
4390
5223
|
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
4391
5224
|
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4418,7 +5251,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4418
5251
|
},
|
|
4419
5252
|
deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
4420
5253
|
assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
|
|
4421
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5254
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5255
|
+
`{${"name"}}`,
|
|
5256
|
+
encodeURIComponent(String(name))
|
|
5257
|
+
);
|
|
4422
5258
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4423
5259
|
let baseOptions;
|
|
4424
5260
|
if (configuration) {
|
|
@@ -4439,7 +5275,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4439
5275
|
},
|
|
4440
5276
|
getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
4441
5277
|
assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
|
|
4442
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5278
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5279
|
+
`{${"name"}}`,
|
|
5280
|
+
encodeURIComponent(String(name))
|
|
5281
|
+
);
|
|
4443
5282
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4444
5283
|
let baseOptions;
|
|
4445
5284
|
if (configuration) {
|
|
@@ -4492,7 +5331,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4492
5331
|
},
|
|
4493
5332
|
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
4494
5333
|
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
4495
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5334
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5335
|
+
`{${"name"}}`,
|
|
5336
|
+
encodeURIComponent(String(name))
|
|
5337
|
+
);
|
|
4496
5338
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4497
5339
|
let baseOptions;
|
|
4498
5340
|
if (configuration) {
|
|
@@ -4519,7 +5361,10 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4519
5361
|
const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
4520
5362
|
return {
|
|
4521
5363
|
async createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
4522
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(
|
|
5364
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(
|
|
5365
|
+
attachment,
|
|
5366
|
+
options
|
|
5367
|
+
);
|
|
4523
5368
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4524
5369
|
},
|
|
4525
5370
|
async deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
@@ -4531,11 +5376,21 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4531
5376
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4532
5377
|
},
|
|
4533
5378
|
async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
4534
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(
|
|
5379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(
|
|
5380
|
+
page,
|
|
5381
|
+
size,
|
|
5382
|
+
labelSelector,
|
|
5383
|
+
fieldSelector,
|
|
5384
|
+
options
|
|
5385
|
+
);
|
|
4535
5386
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4536
5387
|
},
|
|
4537
5388
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
4538
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(
|
|
5389
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(
|
|
5390
|
+
name,
|
|
5391
|
+
attachment,
|
|
5392
|
+
options
|
|
5393
|
+
);
|
|
4539
5394
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4540
5395
|
}
|
|
4541
5396
|
};
|
|
@@ -4543,20 +5398,26 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4543
5398
|
const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
4544
5399
|
const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
4545
5400
|
return {
|
|
4546
|
-
createstorageHaloRunV1alpha1Attachment(
|
|
4547
|
-
return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
|
|
4548
|
-
},
|
|
4549
|
-
deletestorageHaloRunV1alpha1Attachment(
|
|
4550
|
-
return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
4551
|
-
},
|
|
4552
|
-
getstorageHaloRunV1alpha1Attachment(
|
|
4553
|
-
return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
4554
|
-
},
|
|
4555
|
-
liststorageHaloRunV1alpha1Attachment(
|
|
4556
|
-
return localVarFp.liststorageHaloRunV1alpha1Attachment(
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
5401
|
+
createstorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
5402
|
+
return localVarFp.createstorageHaloRunV1alpha1Attachment(requestParameters.attachment, options).then((request) => request(axios, basePath));
|
|
5403
|
+
},
|
|
5404
|
+
deletestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5405
|
+
return localVarFp.deletestorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5406
|
+
},
|
|
5407
|
+
getstorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5408
|
+
return localVarFp.getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5409
|
+
},
|
|
5410
|
+
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
5411
|
+
return localVarFp.liststorageHaloRunV1alpha1Attachment(
|
|
5412
|
+
requestParameters.page,
|
|
5413
|
+
requestParameters.size,
|
|
5414
|
+
requestParameters.labelSelector,
|
|
5415
|
+
requestParameters.fieldSelector,
|
|
5416
|
+
options
|
|
5417
|
+
).then((request) => request(axios, basePath));
|
|
5418
|
+
},
|
|
5419
|
+
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5420
|
+
return localVarFp.updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(axios, basePath));
|
|
4560
5421
|
}
|
|
4561
5422
|
};
|
|
4562
5423
|
};
|
|
@@ -4571,7 +5432,13 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
4571
5432
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4572
5433
|
}
|
|
4573
5434
|
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
4574
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(
|
|
5435
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(
|
|
5436
|
+
requestParameters.page,
|
|
5437
|
+
requestParameters.size,
|
|
5438
|
+
requestParameters.labelSelector,
|
|
5439
|
+
requestParameters.fieldSelector,
|
|
5440
|
+
options
|
|
5441
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4575
5442
|
}
|
|
4576
5443
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
4577
5444
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4604,7 +5471,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4604
5471
|
},
|
|
4605
5472
|
deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
4606
5473
|
assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
|
|
4607
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5474
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5475
|
+
`{${"name"}}`,
|
|
5476
|
+
encodeURIComponent(String(name))
|
|
5477
|
+
);
|
|
4608
5478
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4609
5479
|
let baseOptions;
|
|
4610
5480
|
if (configuration) {
|
|
@@ -4625,7 +5495,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4625
5495
|
},
|
|
4626
5496
|
getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
4627
5497
|
assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
|
|
4628
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5498
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5499
|
+
`{${"name"}}`,
|
|
5500
|
+
encodeURIComponent(String(name))
|
|
5501
|
+
);
|
|
4629
5502
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4630
5503
|
let baseOptions;
|
|
4631
5504
|
if (configuration) {
|
|
@@ -4678,7 +5551,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4678
5551
|
},
|
|
4679
5552
|
updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
|
|
4680
5553
|
assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
|
|
4681
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5554
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5555
|
+
`{${"name"}}`,
|
|
5556
|
+
encodeURIComponent(String(name))
|
|
5557
|
+
);
|
|
4682
5558
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4683
5559
|
let baseOptions;
|
|
4684
5560
|
if (configuration) {
|
|
@@ -4717,7 +5593,13 @@ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
|
4717
5593
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4718
5594
|
},
|
|
4719
5595
|
async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
4720
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(
|
|
5596
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(
|
|
5597
|
+
page,
|
|
5598
|
+
size,
|
|
5599
|
+
labelSelector,
|
|
5600
|
+
fieldSelector,
|
|
5601
|
+
options
|
|
5602
|
+
);
|
|
4721
5603
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4722
5604
|
},
|
|
4723
5605
|
async updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
@@ -4729,20 +5611,26 @@ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
|
4729
5611
|
const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
|
|
4730
5612
|
const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
|
|
4731
5613
|
return {
|
|
4732
|
-
createstorageHaloRunV1alpha1Group(
|
|
4733
|
-
return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
|
|
4734
|
-
},
|
|
4735
|
-
deletestorageHaloRunV1alpha1Group(
|
|
4736
|
-
return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
4737
|
-
},
|
|
4738
|
-
getstorageHaloRunV1alpha1Group(
|
|
4739
|
-
return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
4740
|
-
},
|
|
4741
|
-
liststorageHaloRunV1alpha1Group(
|
|
4742
|
-
return localVarFp.liststorageHaloRunV1alpha1Group(
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
5614
|
+
createstorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
5615
|
+
return localVarFp.createstorageHaloRunV1alpha1Group(requestParameters.group, options).then((request) => request(axios, basePath));
|
|
5616
|
+
},
|
|
5617
|
+
deletestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5618
|
+
return localVarFp.deletestorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5619
|
+
},
|
|
5620
|
+
getstorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5621
|
+
return localVarFp.getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5622
|
+
},
|
|
5623
|
+
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
5624
|
+
return localVarFp.liststorageHaloRunV1alpha1Group(
|
|
5625
|
+
requestParameters.page,
|
|
5626
|
+
requestParameters.size,
|
|
5627
|
+
requestParameters.labelSelector,
|
|
5628
|
+
requestParameters.fieldSelector,
|
|
5629
|
+
options
|
|
5630
|
+
).then((request) => request(axios, basePath));
|
|
5631
|
+
},
|
|
5632
|
+
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5633
|
+
return localVarFp.updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(axios, basePath));
|
|
4746
5634
|
}
|
|
4747
5635
|
};
|
|
4748
5636
|
};
|
|
@@ -4757,7 +5645,13 @@ class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
|
|
|
4757
5645
|
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4758
5646
|
}
|
|
4759
5647
|
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
4760
|
-
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(
|
|
5648
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(
|
|
5649
|
+
requestParameters.page,
|
|
5650
|
+
requestParameters.size,
|
|
5651
|
+
requestParameters.labelSelector,
|
|
5652
|
+
requestParameters.fieldSelector,
|
|
5653
|
+
options
|
|
5654
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4761
5655
|
}
|
|
4762
5656
|
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
4763
5657
|
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4790,7 +5684,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4790
5684
|
},
|
|
4791
5685
|
deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
4792
5686
|
assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
|
|
4793
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5687
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5688
|
+
`{${"name"}}`,
|
|
5689
|
+
encodeURIComponent(String(name))
|
|
5690
|
+
);
|
|
4794
5691
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4795
5692
|
let baseOptions;
|
|
4796
5693
|
if (configuration) {
|
|
@@ -4811,7 +5708,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4811
5708
|
},
|
|
4812
5709
|
getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
4813
5710
|
assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
|
|
4814
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5711
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5712
|
+
`{${"name"}}`,
|
|
5713
|
+
encodeURIComponent(String(name))
|
|
5714
|
+
);
|
|
4815
5715
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4816
5716
|
let baseOptions;
|
|
4817
5717
|
if (configuration) {
|
|
@@ -4864,7 +5764,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4864
5764
|
},
|
|
4865
5765
|
updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
|
|
4866
5766
|
assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
|
|
4867
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5767
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5768
|
+
`{${"name"}}`,
|
|
5769
|
+
encodeURIComponent(String(name))
|
|
5770
|
+
);
|
|
4868
5771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4869
5772
|
let baseOptions;
|
|
4870
5773
|
if (configuration) {
|
|
@@ -4903,11 +5806,21 @@ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
|
4903
5806
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4904
5807
|
},
|
|
4905
5808
|
async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
4906
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(
|
|
5809
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(
|
|
5810
|
+
page,
|
|
5811
|
+
size,
|
|
5812
|
+
labelSelector,
|
|
5813
|
+
fieldSelector,
|
|
5814
|
+
options
|
|
5815
|
+
);
|
|
4907
5816
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4908
5817
|
},
|
|
4909
5818
|
async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
4910
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(
|
|
5819
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(
|
|
5820
|
+
name,
|
|
5821
|
+
policy,
|
|
5822
|
+
options
|
|
5823
|
+
);
|
|
4911
5824
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4912
5825
|
}
|
|
4913
5826
|
};
|
|
@@ -4915,20 +5828,26 @@ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
|
4915
5828
|
const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
|
|
4916
5829
|
const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
|
|
4917
5830
|
return {
|
|
4918
|
-
createstorageHaloRunV1alpha1Policy(
|
|
4919
|
-
return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
|
|
4920
|
-
},
|
|
4921
|
-
deletestorageHaloRunV1alpha1Policy(
|
|
4922
|
-
return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
4923
|
-
},
|
|
4924
|
-
getstorageHaloRunV1alpha1Policy(
|
|
4925
|
-
return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
4926
|
-
},
|
|
4927
|
-
liststorageHaloRunV1alpha1Policy(
|
|
4928
|
-
return localVarFp.liststorageHaloRunV1alpha1Policy(
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
5831
|
+
createstorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
5832
|
+
return localVarFp.createstorageHaloRunV1alpha1Policy(requestParameters.policy, options).then((request) => request(axios, basePath));
|
|
5833
|
+
},
|
|
5834
|
+
deletestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5835
|
+
return localVarFp.deletestorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5836
|
+
},
|
|
5837
|
+
getstorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5838
|
+
return localVarFp.getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5839
|
+
},
|
|
5840
|
+
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
5841
|
+
return localVarFp.liststorageHaloRunV1alpha1Policy(
|
|
5842
|
+
requestParameters.page,
|
|
5843
|
+
requestParameters.size,
|
|
5844
|
+
requestParameters.labelSelector,
|
|
5845
|
+
requestParameters.fieldSelector,
|
|
5846
|
+
options
|
|
5847
|
+
).then((request) => request(axios, basePath));
|
|
5848
|
+
},
|
|
5849
|
+
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5850
|
+
return localVarFp.updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(axios, basePath));
|
|
4932
5851
|
}
|
|
4933
5852
|
};
|
|
4934
5853
|
};
|
|
@@ -4943,7 +5862,13 @@ class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
|
|
|
4943
5862
|
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4944
5863
|
}
|
|
4945
5864
|
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
4946
|
-
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(
|
|
5865
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(
|
|
5866
|
+
requestParameters.page,
|
|
5867
|
+
requestParameters.size,
|
|
5868
|
+
requestParameters.labelSelector,
|
|
5869
|
+
requestParameters.fieldSelector,
|
|
5870
|
+
options
|
|
5871
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4947
5872
|
}
|
|
4948
5873
|
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
4949
5874
|
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4976,7 +5901,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
4976
5901
|
},
|
|
4977
5902
|
deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
4978
5903
|
assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
4979
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5904
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5905
|
+
`{${"name"}}`,
|
|
5906
|
+
encodeURIComponent(String(name))
|
|
5907
|
+
);
|
|
4980
5908
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4981
5909
|
let baseOptions;
|
|
4982
5910
|
if (configuration) {
|
|
@@ -4997,7 +5925,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
4997
5925
|
},
|
|
4998
5926
|
getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
4999
5927
|
assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
5000
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5928
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5929
|
+
`{${"name"}}`,
|
|
5930
|
+
encodeURIComponent(String(name))
|
|
5931
|
+
);
|
|
5001
5932
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5002
5933
|
let baseOptions;
|
|
5003
5934
|
if (configuration) {
|
|
@@ -5050,7 +5981,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
5050
5981
|
},
|
|
5051
5982
|
updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
|
|
5052
5983
|
assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
5053
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5984
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5985
|
+
`{${"name"}}`,
|
|
5986
|
+
encodeURIComponent(String(name))
|
|
5987
|
+
);
|
|
5054
5988
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5055
5989
|
let baseOptions;
|
|
5056
5990
|
if (configuration) {
|
|
@@ -5077,11 +6011,17 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5077
6011
|
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
|
|
5078
6012
|
return {
|
|
5079
6013
|
async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
5080
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(
|
|
6014
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(
|
|
6015
|
+
policyTemplate,
|
|
6016
|
+
options
|
|
6017
|
+
);
|
|
5081
6018
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5082
6019
|
},
|
|
5083
6020
|
async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
5084
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
6021
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
6022
|
+
name,
|
|
6023
|
+
options
|
|
6024
|
+
);
|
|
5085
6025
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5086
6026
|
},
|
|
5087
6027
|
async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
@@ -5089,11 +6029,21 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5089
6029
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5090
6030
|
},
|
|
5091
6031
|
async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
5092
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6032
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6033
|
+
page,
|
|
6034
|
+
size,
|
|
6035
|
+
labelSelector,
|
|
6036
|
+
fieldSelector,
|
|
6037
|
+
options
|
|
6038
|
+
);
|
|
5093
6039
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5094
6040
|
},
|
|
5095
6041
|
async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
5096
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(
|
|
6042
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(
|
|
6043
|
+
name,
|
|
6044
|
+
policyTemplate,
|
|
6045
|
+
options
|
|
6046
|
+
);
|
|
5097
6047
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5098
6048
|
}
|
|
5099
6049
|
};
|
|
@@ -5101,20 +6051,26 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5101
6051
|
const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
|
|
5102
6052
|
const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
|
|
5103
6053
|
return {
|
|
5104
|
-
createstorageHaloRunV1alpha1PolicyTemplate(
|
|
5105
|
-
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
|
|
5106
|
-
},
|
|
5107
|
-
deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
5108
|
-
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
5109
|
-
},
|
|
5110
|
-
getstorageHaloRunV1alpha1PolicyTemplate(
|
|
5111
|
-
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
5112
|
-
},
|
|
5113
|
-
liststorageHaloRunV1alpha1PolicyTemplate(
|
|
5114
|
-
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
6054
|
+
createstorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
6055
|
+
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(requestParameters.policyTemplate, options).then((request) => request(axios, basePath));
|
|
6056
|
+
},
|
|
6057
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6058
|
+
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6059
|
+
},
|
|
6060
|
+
getstorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6061
|
+
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6062
|
+
},
|
|
6063
|
+
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
6064
|
+
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6065
|
+
requestParameters.page,
|
|
6066
|
+
requestParameters.size,
|
|
6067
|
+
requestParameters.labelSelector,
|
|
6068
|
+
requestParameters.fieldSelector,
|
|
6069
|
+
options
|
|
6070
|
+
).then((request) => request(axios, basePath));
|
|
6071
|
+
},
|
|
6072
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6073
|
+
return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(axios, basePath));
|
|
5118
6074
|
}
|
|
5119
6075
|
};
|
|
5120
6076
|
};
|
|
@@ -5129,7 +6085,13 @@ class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
|
|
|
5129
6085
|
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5130
6086
|
}
|
|
5131
6087
|
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
5132
|
-
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6088
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6089
|
+
requestParameters.page,
|
|
6090
|
+
requestParameters.size,
|
|
6091
|
+
requestParameters.labelSelector,
|
|
6092
|
+
requestParameters.fieldSelector,
|
|
6093
|
+
options
|
|
6094
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5133
6095
|
}
|
|
5134
6096
|
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
5135
6097
|
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5162,7 +6124,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5162
6124
|
},
|
|
5163
6125
|
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
5164
6126
|
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
5165
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6127
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6128
|
+
`{${"name"}}`,
|
|
6129
|
+
encodeURIComponent(String(name))
|
|
6130
|
+
);
|
|
5166
6131
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5167
6132
|
let baseOptions;
|
|
5168
6133
|
if (configuration) {
|
|
@@ -5183,7 +6148,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5183
6148
|
},
|
|
5184
6149
|
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
5185
6150
|
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
5186
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6151
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6152
|
+
`{${"name"}}`,
|
|
6153
|
+
encodeURIComponent(String(name))
|
|
6154
|
+
);
|
|
5187
6155
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5188
6156
|
let baseOptions;
|
|
5189
6157
|
if (configuration) {
|
|
@@ -5236,7 +6204,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5236
6204
|
},
|
|
5237
6205
|
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
5238
6206
|
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
5239
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6207
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6208
|
+
`{${"name"}}`,
|
|
6209
|
+
encodeURIComponent(String(name))
|
|
6210
|
+
);
|
|
5240
6211
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5241
6212
|
let baseOptions;
|
|
5242
6213
|
if (configuration) {
|
|
@@ -5275,7 +6246,13 @@ const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
5275
6246
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5276
6247
|
},
|
|
5277
6248
|
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
5278
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(
|
|
6249
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(
|
|
6250
|
+
page,
|
|
6251
|
+
size,
|
|
6252
|
+
labelSelector,
|
|
6253
|
+
fieldSelector,
|
|
6254
|
+
options
|
|
6255
|
+
);
|
|
5279
6256
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5280
6257
|
},
|
|
5281
6258
|
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
@@ -5287,20 +6264,26 @@ const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
5287
6264
|
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
5288
6265
|
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
5289
6266
|
return {
|
|
5290
|
-
createthemeHaloRunV1alpha1Theme(
|
|
5291
|
-
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
5292
|
-
},
|
|
5293
|
-
deletethemeHaloRunV1alpha1Theme(
|
|
5294
|
-
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
5295
|
-
},
|
|
5296
|
-
getthemeHaloRunV1alpha1Theme(
|
|
5297
|
-
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
5298
|
-
},
|
|
5299
|
-
listthemeHaloRunV1alpha1Theme(
|
|
5300
|
-
return localVarFp.listthemeHaloRunV1alpha1Theme(
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
6267
|
+
createthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
6268
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(requestParameters.theme, options).then((request) => request(axios, basePath));
|
|
6269
|
+
},
|
|
6270
|
+
deletethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6271
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6272
|
+
},
|
|
6273
|
+
getthemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6274
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6275
|
+
},
|
|
6276
|
+
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
6277
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(
|
|
6278
|
+
requestParameters.page,
|
|
6279
|
+
requestParameters.size,
|
|
6280
|
+
requestParameters.labelSelector,
|
|
6281
|
+
requestParameters.fieldSelector,
|
|
6282
|
+
options
|
|
6283
|
+
).then((request) => request(axios, basePath));
|
|
6284
|
+
},
|
|
6285
|
+
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6286
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(axios, basePath));
|
|
5304
6287
|
}
|
|
5305
6288
|
};
|
|
5306
6289
|
};
|
|
@@ -5315,7 +6298,13 @@ class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
5315
6298
|
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5316
6299
|
}
|
|
5317
6300
|
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
5318
|
-
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(
|
|
6301
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(
|
|
6302
|
+
requestParameters.page,
|
|
6303
|
+
requestParameters.size,
|
|
6304
|
+
requestParameters.labelSelector,
|
|
6305
|
+
requestParameters.fieldSelector,
|
|
6306
|
+
options
|
|
6307
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5319
6308
|
}
|
|
5320
6309
|
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
5321
6310
|
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5348,7 +6337,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5348
6337
|
},
|
|
5349
6338
|
deletev1alpha1AnnotationSetting: async (name, options = {}) => {
|
|
5350
6339
|
assertParamExists("deletev1alpha1AnnotationSetting", "name", name);
|
|
5351
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6340
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6341
|
+
`{${"name"}}`,
|
|
6342
|
+
encodeURIComponent(String(name))
|
|
6343
|
+
);
|
|
5352
6344
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5353
6345
|
let baseOptions;
|
|
5354
6346
|
if (configuration) {
|
|
@@ -5369,7 +6361,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5369
6361
|
},
|
|
5370
6362
|
getv1alpha1AnnotationSetting: async (name, options = {}) => {
|
|
5371
6363
|
assertParamExists("getv1alpha1AnnotationSetting", "name", name);
|
|
5372
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6364
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6365
|
+
`{${"name"}}`,
|
|
6366
|
+
encodeURIComponent(String(name))
|
|
6367
|
+
);
|
|
5373
6368
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5374
6369
|
let baseOptions;
|
|
5375
6370
|
if (configuration) {
|
|
@@ -5422,7 +6417,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5422
6417
|
},
|
|
5423
6418
|
updatev1alpha1AnnotationSetting: async (name, annotationSetting, options = {}) => {
|
|
5424
6419
|
assertParamExists("updatev1alpha1AnnotationSetting", "name", name);
|
|
5425
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6420
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6421
|
+
`{${"name"}}`,
|
|
6422
|
+
encodeURIComponent(String(name))
|
|
6423
|
+
);
|
|
5426
6424
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5427
6425
|
let baseOptions;
|
|
5428
6426
|
if (configuration) {
|
|
@@ -5449,7 +6447,10 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5449
6447
|
const localVarAxiosParamCreator = V1alpha1AnnotationSettingApiAxiosParamCreator(configuration);
|
|
5450
6448
|
return {
|
|
5451
6449
|
async createv1alpha1AnnotationSetting(annotationSetting, options) {
|
|
5452
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1AnnotationSetting(
|
|
6450
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1AnnotationSetting(
|
|
6451
|
+
annotationSetting,
|
|
6452
|
+
options
|
|
6453
|
+
);
|
|
5453
6454
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5454
6455
|
},
|
|
5455
6456
|
async deletev1alpha1AnnotationSetting(name, options) {
|
|
@@ -5461,11 +6462,21 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5461
6462
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5462
6463
|
},
|
|
5463
6464
|
async listv1alpha1AnnotationSetting(page, size, labelSelector, fieldSelector, options) {
|
|
5464
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1AnnotationSetting(
|
|
6465
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1AnnotationSetting(
|
|
6466
|
+
page,
|
|
6467
|
+
size,
|
|
6468
|
+
labelSelector,
|
|
6469
|
+
fieldSelector,
|
|
6470
|
+
options
|
|
6471
|
+
);
|
|
5465
6472
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5466
6473
|
},
|
|
5467
6474
|
async updatev1alpha1AnnotationSetting(name, annotationSetting, options) {
|
|
5468
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1AnnotationSetting(
|
|
6475
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1AnnotationSetting(
|
|
6476
|
+
name,
|
|
6477
|
+
annotationSetting,
|
|
6478
|
+
options
|
|
6479
|
+
);
|
|
5469
6480
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5470
6481
|
}
|
|
5471
6482
|
};
|
|
@@ -5473,20 +6484,26 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5473
6484
|
const V1alpha1AnnotationSettingApiFactory = function(configuration, basePath, axios) {
|
|
5474
6485
|
const localVarFp = V1alpha1AnnotationSettingApiFp(configuration);
|
|
5475
6486
|
return {
|
|
5476
|
-
createv1alpha1AnnotationSetting(
|
|
5477
|
-
return localVarFp.createv1alpha1AnnotationSetting(annotationSetting, options).then((request) => request(axios, basePath));
|
|
5478
|
-
},
|
|
5479
|
-
deletev1alpha1AnnotationSetting(
|
|
5480
|
-
return localVarFp.deletev1alpha1AnnotationSetting(name, options).then((request) => request(axios, basePath));
|
|
5481
|
-
},
|
|
5482
|
-
getv1alpha1AnnotationSetting(
|
|
5483
|
-
return localVarFp.getv1alpha1AnnotationSetting(name, options).then((request) => request(axios, basePath));
|
|
5484
|
-
},
|
|
5485
|
-
listv1alpha1AnnotationSetting(
|
|
5486
|
-
return localVarFp.listv1alpha1AnnotationSetting(
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
6487
|
+
createv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
6488
|
+
return localVarFp.createv1alpha1AnnotationSetting(requestParameters.annotationSetting, options).then((request) => request(axios, basePath));
|
|
6489
|
+
},
|
|
6490
|
+
deletev1alpha1AnnotationSetting(requestParameters, options) {
|
|
6491
|
+
return localVarFp.deletev1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6492
|
+
},
|
|
6493
|
+
getv1alpha1AnnotationSetting(requestParameters, options) {
|
|
6494
|
+
return localVarFp.getv1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6495
|
+
},
|
|
6496
|
+
listv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
6497
|
+
return localVarFp.listv1alpha1AnnotationSetting(
|
|
6498
|
+
requestParameters.page,
|
|
6499
|
+
requestParameters.size,
|
|
6500
|
+
requestParameters.labelSelector,
|
|
6501
|
+
requestParameters.fieldSelector,
|
|
6502
|
+
options
|
|
6503
|
+
).then((request) => request(axios, basePath));
|
|
6504
|
+
},
|
|
6505
|
+
updatev1alpha1AnnotationSetting(requestParameters, options) {
|
|
6506
|
+
return localVarFp.updatev1alpha1AnnotationSetting(requestParameters.name, requestParameters.annotationSetting, options).then((request) => request(axios, basePath));
|
|
5490
6507
|
}
|
|
5491
6508
|
};
|
|
5492
6509
|
};
|
|
@@ -5501,7 +6518,13 @@ class V1alpha1AnnotationSettingApi extends BaseAPI {
|
|
|
5501
6518
|
return V1alpha1AnnotationSettingApiFp(this.configuration).getv1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5502
6519
|
}
|
|
5503
6520
|
listv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
5504
|
-
return V1alpha1AnnotationSettingApiFp(this.configuration).listv1alpha1AnnotationSetting(
|
|
6521
|
+
return V1alpha1AnnotationSettingApiFp(this.configuration).listv1alpha1AnnotationSetting(
|
|
6522
|
+
requestParameters.page,
|
|
6523
|
+
requestParameters.size,
|
|
6524
|
+
requestParameters.labelSelector,
|
|
6525
|
+
requestParameters.fieldSelector,
|
|
6526
|
+
options
|
|
6527
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5505
6528
|
}
|
|
5506
6529
|
updatev1alpha1AnnotationSetting(requestParameters, options) {
|
|
5507
6530
|
return V1alpha1AnnotationSettingApiFp(this.configuration).updatev1alpha1AnnotationSetting(requestParameters.name, requestParameters.annotationSetting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5647,7 +6670,13 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
5647
6670
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5648
6671
|
},
|
|
5649
6672
|
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
5650
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(
|
|
6673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(
|
|
6674
|
+
page,
|
|
6675
|
+
size,
|
|
6676
|
+
labelSelector,
|
|
6677
|
+
fieldSelector,
|
|
6678
|
+
options
|
|
6679
|
+
);
|
|
5651
6680
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5652
6681
|
},
|
|
5653
6682
|
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
@@ -5659,20 +6688,26 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
5659
6688
|
const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
5660
6689
|
const localVarFp = V1alpha1ConfigMapApiFp(configuration);
|
|
5661
6690
|
return {
|
|
5662
|
-
createv1alpha1ConfigMap(
|
|
5663
|
-
return localVarFp.createv1alpha1ConfigMap(configMap, options).then((request) => request(axios, basePath));
|
|
5664
|
-
},
|
|
5665
|
-
deletev1alpha1ConfigMap(
|
|
5666
|
-
return localVarFp.deletev1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
5667
|
-
},
|
|
5668
|
-
getv1alpha1ConfigMap(
|
|
5669
|
-
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
5670
|
-
},
|
|
5671
|
-
listv1alpha1ConfigMap(
|
|
5672
|
-
return localVarFp.listv1alpha1ConfigMap(
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
6691
|
+
createv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
6692
|
+
return localVarFp.createv1alpha1ConfigMap(requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
6693
|
+
},
|
|
6694
|
+
deletev1alpha1ConfigMap(requestParameters, options) {
|
|
6695
|
+
return localVarFp.deletev1alpha1ConfigMap(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6696
|
+
},
|
|
6697
|
+
getv1alpha1ConfigMap(requestParameters, options) {
|
|
6698
|
+
return localVarFp.getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6699
|
+
},
|
|
6700
|
+
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
6701
|
+
return localVarFp.listv1alpha1ConfigMap(
|
|
6702
|
+
requestParameters.page,
|
|
6703
|
+
requestParameters.size,
|
|
6704
|
+
requestParameters.labelSelector,
|
|
6705
|
+
requestParameters.fieldSelector,
|
|
6706
|
+
options
|
|
6707
|
+
).then((request) => request(axios, basePath));
|
|
6708
|
+
},
|
|
6709
|
+
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
6710
|
+
return localVarFp.updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
5676
6711
|
}
|
|
5677
6712
|
};
|
|
5678
6713
|
};
|
|
@@ -5687,7 +6722,13 @@ class V1alpha1ConfigMapApi extends BaseAPI {
|
|
|
5687
6722
|
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5688
6723
|
}
|
|
5689
6724
|
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
5690
|
-
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(
|
|
6725
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(
|
|
6726
|
+
requestParameters.page,
|
|
6727
|
+
requestParameters.size,
|
|
6728
|
+
requestParameters.labelSelector,
|
|
6729
|
+
requestParameters.fieldSelector,
|
|
6730
|
+
options
|
|
6731
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5691
6732
|
}
|
|
5692
6733
|
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
5693
6734
|
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5833,7 +6874,13 @@ const V1alpha1MenuApiFp = function(configuration) {
|
|
|
5833
6874
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5834
6875
|
},
|
|
5835
6876
|
async listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
5836
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(
|
|
6877
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(
|
|
6878
|
+
page,
|
|
6879
|
+
size,
|
|
6880
|
+
labelSelector,
|
|
6881
|
+
fieldSelector,
|
|
6882
|
+
options
|
|
6883
|
+
);
|
|
5837
6884
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5838
6885
|
},
|
|
5839
6886
|
async updatev1alpha1Menu(name, menu, options) {
|
|
@@ -5845,20 +6892,26 @@ const V1alpha1MenuApiFp = function(configuration) {
|
|
|
5845
6892
|
const V1alpha1MenuApiFactory = function(configuration, basePath, axios) {
|
|
5846
6893
|
const localVarFp = V1alpha1MenuApiFp(configuration);
|
|
5847
6894
|
return {
|
|
5848
|
-
createv1alpha1Menu(
|
|
5849
|
-
return localVarFp.createv1alpha1Menu(menu, options).then((request) => request(axios, basePath));
|
|
5850
|
-
},
|
|
5851
|
-
deletev1alpha1Menu(
|
|
5852
|
-
return localVarFp.deletev1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
5853
|
-
},
|
|
5854
|
-
getv1alpha1Menu(
|
|
5855
|
-
return localVarFp.getv1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
5856
|
-
},
|
|
5857
|
-
listv1alpha1Menu(
|
|
5858
|
-
return localVarFp.listv1alpha1Menu(
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
6895
|
+
createv1alpha1Menu(requestParameters = {}, options) {
|
|
6896
|
+
return localVarFp.createv1alpha1Menu(requestParameters.menu, options).then((request) => request(axios, basePath));
|
|
6897
|
+
},
|
|
6898
|
+
deletev1alpha1Menu(requestParameters, options) {
|
|
6899
|
+
return localVarFp.deletev1alpha1Menu(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6900
|
+
},
|
|
6901
|
+
getv1alpha1Menu(requestParameters, options) {
|
|
6902
|
+
return localVarFp.getv1alpha1Menu(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6903
|
+
},
|
|
6904
|
+
listv1alpha1Menu(requestParameters = {}, options) {
|
|
6905
|
+
return localVarFp.listv1alpha1Menu(
|
|
6906
|
+
requestParameters.page,
|
|
6907
|
+
requestParameters.size,
|
|
6908
|
+
requestParameters.labelSelector,
|
|
6909
|
+
requestParameters.fieldSelector,
|
|
6910
|
+
options
|
|
6911
|
+
).then((request) => request(axios, basePath));
|
|
6912
|
+
},
|
|
6913
|
+
updatev1alpha1Menu(requestParameters, options) {
|
|
6914
|
+
return localVarFp.updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(axios, basePath));
|
|
5862
6915
|
}
|
|
5863
6916
|
};
|
|
5864
6917
|
};
|
|
@@ -5873,7 +6926,13 @@ class V1alpha1MenuApi extends BaseAPI {
|
|
|
5873
6926
|
return V1alpha1MenuApiFp(this.configuration).getv1alpha1Menu(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5874
6927
|
}
|
|
5875
6928
|
listv1alpha1Menu(requestParameters = {}, options) {
|
|
5876
|
-
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(
|
|
6929
|
+
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(
|
|
6930
|
+
requestParameters.page,
|
|
6931
|
+
requestParameters.size,
|
|
6932
|
+
requestParameters.labelSelector,
|
|
6933
|
+
requestParameters.fieldSelector,
|
|
6934
|
+
options
|
|
6935
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5877
6936
|
}
|
|
5878
6937
|
updatev1alpha1Menu(requestParameters, options) {
|
|
5879
6938
|
return V1alpha1MenuApiFp(this.configuration).updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6019,7 +7078,13 @@ const V1alpha1MenuItemApiFp = function(configuration) {
|
|
|
6019
7078
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6020
7079
|
},
|
|
6021
7080
|
async listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
6022
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(
|
|
7081
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(
|
|
7082
|
+
page,
|
|
7083
|
+
size,
|
|
7084
|
+
labelSelector,
|
|
7085
|
+
fieldSelector,
|
|
7086
|
+
options
|
|
7087
|
+
);
|
|
6023
7088
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6024
7089
|
},
|
|
6025
7090
|
async updatev1alpha1MenuItem(name, menuItem, options) {
|
|
@@ -6031,20 +7096,26 @@ const V1alpha1MenuItemApiFp = function(configuration) {
|
|
|
6031
7096
|
const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
6032
7097
|
const localVarFp = V1alpha1MenuItemApiFp(configuration);
|
|
6033
7098
|
return {
|
|
6034
|
-
createv1alpha1MenuItem(
|
|
6035
|
-
return localVarFp.createv1alpha1MenuItem(menuItem, options).then((request) => request(axios, basePath));
|
|
6036
|
-
},
|
|
6037
|
-
deletev1alpha1MenuItem(
|
|
6038
|
-
return localVarFp.deletev1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
6039
|
-
},
|
|
6040
|
-
getv1alpha1MenuItem(
|
|
6041
|
-
return localVarFp.getv1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
6042
|
-
},
|
|
6043
|
-
listv1alpha1MenuItem(
|
|
6044
|
-
return localVarFp.listv1alpha1MenuItem(
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
7099
|
+
createv1alpha1MenuItem(requestParameters = {}, options) {
|
|
7100
|
+
return localVarFp.createv1alpha1MenuItem(requestParameters.menuItem, options).then((request) => request(axios, basePath));
|
|
7101
|
+
},
|
|
7102
|
+
deletev1alpha1MenuItem(requestParameters, options) {
|
|
7103
|
+
return localVarFp.deletev1alpha1MenuItem(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7104
|
+
},
|
|
7105
|
+
getv1alpha1MenuItem(requestParameters, options) {
|
|
7106
|
+
return localVarFp.getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7107
|
+
},
|
|
7108
|
+
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
7109
|
+
return localVarFp.listv1alpha1MenuItem(
|
|
7110
|
+
requestParameters.page,
|
|
7111
|
+
requestParameters.size,
|
|
7112
|
+
requestParameters.labelSelector,
|
|
7113
|
+
requestParameters.fieldSelector,
|
|
7114
|
+
options
|
|
7115
|
+
).then((request) => request(axios, basePath));
|
|
7116
|
+
},
|
|
7117
|
+
updatev1alpha1MenuItem(requestParameters, options) {
|
|
7118
|
+
return localVarFp.updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(axios, basePath));
|
|
6048
7119
|
}
|
|
6049
7120
|
};
|
|
6050
7121
|
};
|
|
@@ -6059,7 +7130,13 @@ class V1alpha1MenuItemApi extends BaseAPI {
|
|
|
6059
7130
|
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6060
7131
|
}
|
|
6061
7132
|
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
6062
|
-
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(
|
|
7133
|
+
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(
|
|
7134
|
+
requestParameters.page,
|
|
7135
|
+
requestParameters.size,
|
|
7136
|
+
requestParameters.labelSelector,
|
|
7137
|
+
requestParameters.fieldSelector,
|
|
7138
|
+
options
|
|
7139
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6063
7140
|
}
|
|
6064
7141
|
updatev1alpha1MenuItem(requestParameters, options) {
|
|
6065
7142
|
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6092,7 +7169,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6092
7169
|
},
|
|
6093
7170
|
deletev1alpha1PersonalAccessToken: async (name, options = {}) => {
|
|
6094
7171
|
assertParamExists("deletev1alpha1PersonalAccessToken", "name", name);
|
|
6095
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7172
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7173
|
+
`{${"name"}}`,
|
|
7174
|
+
encodeURIComponent(String(name))
|
|
7175
|
+
);
|
|
6096
7176
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6097
7177
|
let baseOptions;
|
|
6098
7178
|
if (configuration) {
|
|
@@ -6113,7 +7193,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6113
7193
|
},
|
|
6114
7194
|
getv1alpha1PersonalAccessToken: async (name, options = {}) => {
|
|
6115
7195
|
assertParamExists("getv1alpha1PersonalAccessToken", "name", name);
|
|
6116
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7196
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7197
|
+
`{${"name"}}`,
|
|
7198
|
+
encodeURIComponent(String(name))
|
|
7199
|
+
);
|
|
6117
7200
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6118
7201
|
let baseOptions;
|
|
6119
7202
|
if (configuration) {
|
|
@@ -6166,7 +7249,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6166
7249
|
},
|
|
6167
7250
|
updatev1alpha1PersonalAccessToken: async (name, personalAccessToken, options = {}) => {
|
|
6168
7251
|
assertParamExists("updatev1alpha1PersonalAccessToken", "name", name);
|
|
6169
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7252
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7253
|
+
`{${"name"}}`,
|
|
7254
|
+
encodeURIComponent(String(name))
|
|
7255
|
+
);
|
|
6170
7256
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6171
7257
|
let baseOptions;
|
|
6172
7258
|
if (configuration) {
|
|
@@ -6193,7 +7279,10 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6193
7279
|
const localVarAxiosParamCreator = V1alpha1PersonalAccessTokenApiAxiosParamCreator(configuration);
|
|
6194
7280
|
return {
|
|
6195
7281
|
async createv1alpha1PersonalAccessToken(personalAccessToken, options) {
|
|
6196
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1PersonalAccessToken(
|
|
7282
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1PersonalAccessToken(
|
|
7283
|
+
personalAccessToken,
|
|
7284
|
+
options
|
|
7285
|
+
);
|
|
6197
7286
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6198
7287
|
},
|
|
6199
7288
|
async deletev1alpha1PersonalAccessToken(name, options) {
|
|
@@ -6205,11 +7294,21 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6205
7294
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6206
7295
|
},
|
|
6207
7296
|
async listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
6208
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(
|
|
7297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(
|
|
7298
|
+
page,
|
|
7299
|
+
size,
|
|
7300
|
+
labelSelector,
|
|
7301
|
+
fieldSelector,
|
|
7302
|
+
options
|
|
7303
|
+
);
|
|
6209
7304
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6210
7305
|
},
|
|
6211
7306
|
async updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
6212
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1PersonalAccessToken(
|
|
7307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1PersonalAccessToken(
|
|
7308
|
+
name,
|
|
7309
|
+
personalAccessToken,
|
|
7310
|
+
options
|
|
7311
|
+
);
|
|
6213
7312
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6214
7313
|
}
|
|
6215
7314
|
};
|
|
@@ -6217,20 +7316,26 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6217
7316
|
const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath, axios) {
|
|
6218
7317
|
const localVarFp = V1alpha1PersonalAccessTokenApiFp(configuration);
|
|
6219
7318
|
return {
|
|
6220
|
-
createv1alpha1PersonalAccessToken(
|
|
6221
|
-
return localVarFp.createv1alpha1PersonalAccessToken(personalAccessToken, options).then((request) => request(axios, basePath));
|
|
6222
|
-
},
|
|
6223
|
-
deletev1alpha1PersonalAccessToken(
|
|
6224
|
-
return localVarFp.deletev1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
6225
|
-
},
|
|
6226
|
-
getv1alpha1PersonalAccessToken(
|
|
6227
|
-
return localVarFp.getv1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
6228
|
-
},
|
|
6229
|
-
listv1alpha1PersonalAccessToken(
|
|
6230
|
-
return localVarFp.listv1alpha1PersonalAccessToken(
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
7319
|
+
createv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
7320
|
+
return localVarFp.createv1alpha1PersonalAccessToken(requestParameters.personalAccessToken, options).then((request) => request(axios, basePath));
|
|
7321
|
+
},
|
|
7322
|
+
deletev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7323
|
+
return localVarFp.deletev1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7324
|
+
},
|
|
7325
|
+
getv1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7326
|
+
return localVarFp.getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7327
|
+
},
|
|
7328
|
+
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
7329
|
+
return localVarFp.listv1alpha1PersonalAccessToken(
|
|
7330
|
+
requestParameters.page,
|
|
7331
|
+
requestParameters.size,
|
|
7332
|
+
requestParameters.labelSelector,
|
|
7333
|
+
requestParameters.fieldSelector,
|
|
7334
|
+
options
|
|
7335
|
+
).then((request) => request(axios, basePath));
|
|
7336
|
+
},
|
|
7337
|
+
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7338
|
+
return localVarFp.updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(axios, basePath));
|
|
6234
7339
|
}
|
|
6235
7340
|
};
|
|
6236
7341
|
};
|
|
@@ -6245,7 +7350,13 @@ class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
|
6245
7350
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6246
7351
|
}
|
|
6247
7352
|
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
6248
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(
|
|
7353
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(
|
|
7354
|
+
requestParameters.page,
|
|
7355
|
+
requestParameters.size,
|
|
7356
|
+
requestParameters.labelSelector,
|
|
7357
|
+
requestParameters.fieldSelector,
|
|
7358
|
+
options
|
|
7359
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6249
7360
|
}
|
|
6250
7361
|
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
6251
7362
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6391,7 +7502,13 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
6391
7502
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6392
7503
|
},
|
|
6393
7504
|
async listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
6394
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(
|
|
7505
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(
|
|
7506
|
+
page,
|
|
7507
|
+
size,
|
|
7508
|
+
labelSelector,
|
|
7509
|
+
fieldSelector,
|
|
7510
|
+
options
|
|
7511
|
+
);
|
|
6395
7512
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6396
7513
|
},
|
|
6397
7514
|
async updatev1alpha1Role(name, role, options) {
|
|
@@ -6403,20 +7520,26 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
6403
7520
|
const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
6404
7521
|
const localVarFp = V1alpha1RoleApiFp(configuration);
|
|
6405
7522
|
return {
|
|
6406
|
-
createv1alpha1Role(
|
|
6407
|
-
return localVarFp.createv1alpha1Role(role, options).then((request) => request(axios, basePath));
|
|
6408
|
-
},
|
|
6409
|
-
deletev1alpha1Role(
|
|
6410
|
-
return localVarFp.deletev1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
6411
|
-
},
|
|
6412
|
-
getv1alpha1Role(
|
|
6413
|
-
return localVarFp.getv1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
6414
|
-
},
|
|
6415
|
-
listv1alpha1Role(
|
|
6416
|
-
return localVarFp.listv1alpha1Role(
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
7523
|
+
createv1alpha1Role(requestParameters = {}, options) {
|
|
7524
|
+
return localVarFp.createv1alpha1Role(requestParameters.role, options).then((request) => request(axios, basePath));
|
|
7525
|
+
},
|
|
7526
|
+
deletev1alpha1Role(requestParameters, options) {
|
|
7527
|
+
return localVarFp.deletev1alpha1Role(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7528
|
+
},
|
|
7529
|
+
getv1alpha1Role(requestParameters, options) {
|
|
7530
|
+
return localVarFp.getv1alpha1Role(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7531
|
+
},
|
|
7532
|
+
listv1alpha1Role(requestParameters = {}, options) {
|
|
7533
|
+
return localVarFp.listv1alpha1Role(
|
|
7534
|
+
requestParameters.page,
|
|
7535
|
+
requestParameters.size,
|
|
7536
|
+
requestParameters.labelSelector,
|
|
7537
|
+
requestParameters.fieldSelector,
|
|
7538
|
+
options
|
|
7539
|
+
).then((request) => request(axios, basePath));
|
|
7540
|
+
},
|
|
7541
|
+
updatev1alpha1Role(requestParameters, options) {
|
|
7542
|
+
return localVarFp.updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(axios, basePath));
|
|
6420
7543
|
}
|
|
6421
7544
|
};
|
|
6422
7545
|
};
|
|
@@ -6431,7 +7554,13 @@ class V1alpha1RoleApi extends BaseAPI {
|
|
|
6431
7554
|
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6432
7555
|
}
|
|
6433
7556
|
listv1alpha1Role(requestParameters = {}, options) {
|
|
6434
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(
|
|
7557
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(
|
|
7558
|
+
requestParameters.page,
|
|
7559
|
+
requestParameters.size,
|
|
7560
|
+
requestParameters.labelSelector,
|
|
7561
|
+
requestParameters.fieldSelector,
|
|
7562
|
+
options
|
|
7563
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6435
7564
|
}
|
|
6436
7565
|
updatev1alpha1Role(requestParameters, options) {
|
|
6437
7566
|
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6577,7 +7706,13 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
6577
7706
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6578
7707
|
},
|
|
6579
7708
|
async listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
6580
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(
|
|
7709
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(
|
|
7710
|
+
page,
|
|
7711
|
+
size,
|
|
7712
|
+
labelSelector,
|
|
7713
|
+
fieldSelector,
|
|
7714
|
+
options
|
|
7715
|
+
);
|
|
6581
7716
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6582
7717
|
},
|
|
6583
7718
|
async updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
@@ -6589,20 +7724,26 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
6589
7724
|
const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
6590
7725
|
const localVarFp = V1alpha1RoleBindingApiFp(configuration);
|
|
6591
7726
|
return {
|
|
6592
|
-
createv1alpha1RoleBinding(
|
|
6593
|
-
return localVarFp.createv1alpha1RoleBinding(roleBinding, options).then((request) => request(axios, basePath));
|
|
6594
|
-
},
|
|
6595
|
-
deletev1alpha1RoleBinding(
|
|
6596
|
-
return localVarFp.deletev1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
6597
|
-
},
|
|
6598
|
-
getv1alpha1RoleBinding(
|
|
6599
|
-
return localVarFp.getv1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
6600
|
-
},
|
|
6601
|
-
listv1alpha1RoleBinding(
|
|
6602
|
-
return localVarFp.listv1alpha1RoleBinding(
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
7727
|
+
createv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
7728
|
+
return localVarFp.createv1alpha1RoleBinding(requestParameters.roleBinding, options).then((request) => request(axios, basePath));
|
|
7729
|
+
},
|
|
7730
|
+
deletev1alpha1RoleBinding(requestParameters, options) {
|
|
7731
|
+
return localVarFp.deletev1alpha1RoleBinding(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7732
|
+
},
|
|
7733
|
+
getv1alpha1RoleBinding(requestParameters, options) {
|
|
7734
|
+
return localVarFp.getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7735
|
+
},
|
|
7736
|
+
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
7737
|
+
return localVarFp.listv1alpha1RoleBinding(
|
|
7738
|
+
requestParameters.page,
|
|
7739
|
+
requestParameters.size,
|
|
7740
|
+
requestParameters.labelSelector,
|
|
7741
|
+
requestParameters.fieldSelector,
|
|
7742
|
+
options
|
|
7743
|
+
).then((request) => request(axios, basePath));
|
|
7744
|
+
},
|
|
7745
|
+
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
7746
|
+
return localVarFp.updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(axios, basePath));
|
|
6606
7747
|
}
|
|
6607
7748
|
};
|
|
6608
7749
|
};
|
|
@@ -6617,7 +7758,13 @@ class V1alpha1RoleBindingApi extends BaseAPI {
|
|
|
6617
7758
|
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6618
7759
|
}
|
|
6619
7760
|
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
6620
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(
|
|
7761
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(
|
|
7762
|
+
requestParameters.page,
|
|
7763
|
+
requestParameters.size,
|
|
7764
|
+
requestParameters.labelSelector,
|
|
7765
|
+
requestParameters.fieldSelector,
|
|
7766
|
+
options
|
|
7767
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6621
7768
|
}
|
|
6622
7769
|
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
6623
7770
|
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6763,7 +7910,13 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
6763
7910
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6764
7911
|
},
|
|
6765
7912
|
async listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
6766
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(
|
|
7913
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(
|
|
7914
|
+
page,
|
|
7915
|
+
size,
|
|
7916
|
+
labelSelector,
|
|
7917
|
+
fieldSelector,
|
|
7918
|
+
options
|
|
7919
|
+
);
|
|
6767
7920
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6768
7921
|
},
|
|
6769
7922
|
async updatev1alpha1Setting(name, setting, options) {
|
|
@@ -6775,20 +7928,26 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
6775
7928
|
const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
6776
7929
|
const localVarFp = V1alpha1SettingApiFp(configuration);
|
|
6777
7930
|
return {
|
|
6778
|
-
createv1alpha1Setting(
|
|
6779
|
-
return localVarFp.createv1alpha1Setting(setting, options).then((request) => request(axios, basePath));
|
|
6780
|
-
},
|
|
6781
|
-
deletev1alpha1Setting(
|
|
6782
|
-
return localVarFp.deletev1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
6783
|
-
},
|
|
6784
|
-
getv1alpha1Setting(
|
|
6785
|
-
return localVarFp.getv1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
6786
|
-
},
|
|
6787
|
-
listv1alpha1Setting(
|
|
6788
|
-
return localVarFp.listv1alpha1Setting(
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
7931
|
+
createv1alpha1Setting(requestParameters = {}, options) {
|
|
7932
|
+
return localVarFp.createv1alpha1Setting(requestParameters.setting, options).then((request) => request(axios, basePath));
|
|
7933
|
+
},
|
|
7934
|
+
deletev1alpha1Setting(requestParameters, options) {
|
|
7935
|
+
return localVarFp.deletev1alpha1Setting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7936
|
+
},
|
|
7937
|
+
getv1alpha1Setting(requestParameters, options) {
|
|
7938
|
+
return localVarFp.getv1alpha1Setting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7939
|
+
},
|
|
7940
|
+
listv1alpha1Setting(requestParameters = {}, options) {
|
|
7941
|
+
return localVarFp.listv1alpha1Setting(
|
|
7942
|
+
requestParameters.page,
|
|
7943
|
+
requestParameters.size,
|
|
7944
|
+
requestParameters.labelSelector,
|
|
7945
|
+
requestParameters.fieldSelector,
|
|
7946
|
+
options
|
|
7947
|
+
).then((request) => request(axios, basePath));
|
|
7948
|
+
},
|
|
7949
|
+
updatev1alpha1Setting(requestParameters, options) {
|
|
7950
|
+
return localVarFp.updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(axios, basePath));
|
|
6792
7951
|
}
|
|
6793
7952
|
};
|
|
6794
7953
|
};
|
|
@@ -6803,7 +7962,13 @@ class V1alpha1SettingApi extends BaseAPI {
|
|
|
6803
7962
|
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6804
7963
|
}
|
|
6805
7964
|
listv1alpha1Setting(requestParameters = {}, options) {
|
|
6806
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(
|
|
7965
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(
|
|
7966
|
+
requestParameters.page,
|
|
7967
|
+
requestParameters.size,
|
|
7968
|
+
requestParameters.labelSelector,
|
|
7969
|
+
requestParameters.fieldSelector,
|
|
7970
|
+
options
|
|
7971
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6807
7972
|
}
|
|
6808
7973
|
updatev1alpha1Setting(requestParameters, options) {
|
|
6809
7974
|
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6949,7 +8114,13 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
6949
8114
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6950
8115
|
},
|
|
6951
8116
|
async listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
6952
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(
|
|
8117
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(
|
|
8118
|
+
page,
|
|
8119
|
+
size,
|
|
8120
|
+
labelSelector,
|
|
8121
|
+
fieldSelector,
|
|
8122
|
+
options
|
|
8123
|
+
);
|
|
6953
8124
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6954
8125
|
},
|
|
6955
8126
|
async updatev1alpha1User(name, user, options) {
|
|
@@ -6961,20 +8132,26 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
6961
8132
|
const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
6962
8133
|
const localVarFp = V1alpha1UserApiFp(configuration);
|
|
6963
8134
|
return {
|
|
6964
|
-
createv1alpha1User(
|
|
6965
|
-
return localVarFp.createv1alpha1User(user, options).then((request) => request(axios, basePath));
|
|
6966
|
-
},
|
|
6967
|
-
deletev1alpha1User(
|
|
6968
|
-
return localVarFp.deletev1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
6969
|
-
},
|
|
6970
|
-
getv1alpha1User(
|
|
6971
|
-
return localVarFp.getv1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
6972
|
-
},
|
|
6973
|
-
listv1alpha1User(
|
|
6974
|
-
return localVarFp.listv1alpha1User(
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
8135
|
+
createv1alpha1User(requestParameters = {}, options) {
|
|
8136
|
+
return localVarFp.createv1alpha1User(requestParameters.user, options).then((request) => request(axios, basePath));
|
|
8137
|
+
},
|
|
8138
|
+
deletev1alpha1User(requestParameters, options) {
|
|
8139
|
+
return localVarFp.deletev1alpha1User(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
8140
|
+
},
|
|
8141
|
+
getv1alpha1User(requestParameters, options) {
|
|
8142
|
+
return localVarFp.getv1alpha1User(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
8143
|
+
},
|
|
8144
|
+
listv1alpha1User(requestParameters = {}, options) {
|
|
8145
|
+
return localVarFp.listv1alpha1User(
|
|
8146
|
+
requestParameters.page,
|
|
8147
|
+
requestParameters.size,
|
|
8148
|
+
requestParameters.labelSelector,
|
|
8149
|
+
requestParameters.fieldSelector,
|
|
8150
|
+
options
|
|
8151
|
+
).then((request) => request(axios, basePath));
|
|
8152
|
+
},
|
|
8153
|
+
updatev1alpha1User(requestParameters, options) {
|
|
8154
|
+
return localVarFp.updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
6978
8155
|
}
|
|
6979
8156
|
};
|
|
6980
8157
|
};
|
|
@@ -6989,7 +8166,13 @@ class V1alpha1UserApi extends BaseAPI {
|
|
|
6989
8166
|
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6990
8167
|
}
|
|
6991
8168
|
listv1alpha1User(requestParameters = {}, options) {
|
|
6992
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(
|
|
8169
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(
|
|
8170
|
+
requestParameters.page,
|
|
8171
|
+
requestParameters.size,
|
|
8172
|
+
requestParameters.labelSelector,
|
|
8173
|
+
requestParameters.fieldSelector,
|
|
8174
|
+
options
|
|
8175
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6993
8176
|
}
|
|
6994
8177
|
updatev1alpha1User(requestParameters, options) {
|
|
6995
8178
|
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -7052,4 +8235,4 @@ const ThemeStatusPhaseEnum = {
|
|
|
7052
8235
|
Unknown: "UNKNOWN"
|
|
7053
8236
|
};
|
|
7054
8237
|
|
|
7055
|
-
export { ApiConsoleHaloRunV1alpha1AttachmentApi, ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1AttachmentApiFactory, ApiConsoleHaloRunV1alpha1AttachmentApiFp, ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp,
|
|
8238
|
+
export { ApiConsoleHaloRunV1alpha1AttachmentApi, ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1AttachmentApiFactory, ApiConsoleHaloRunV1alpha1AttachmentApiFp, ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1IndicesApi, ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1IndicesApiFactory, ApiConsoleHaloRunV1alpha1IndicesApiFp, ApiConsoleHaloRunV1alpha1PluginApi, ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PluginApiFactory, ApiConsoleHaloRunV1alpha1PluginApiFp, ApiConsoleHaloRunV1alpha1PostApi, ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PostApiFactory, ApiConsoleHaloRunV1alpha1PostApiFp, ApiConsoleHaloRunV1alpha1ReplyApi, ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ReplyApiFactory, ApiConsoleHaloRunV1alpha1ReplyApiFp, ApiConsoleHaloRunV1alpha1SinglePageApi, ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1SinglePageApiFactory, ApiConsoleHaloRunV1alpha1SinglePageApiFp, ApiConsoleHaloRunV1alpha1StatsApi, ApiConsoleHaloRunV1alpha1StatsApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1StatsApiFactory, ApiConsoleHaloRunV1alpha1StatsApiFp, ApiConsoleHaloRunV1alpha1ThemeApi, ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ThemeApiFactory, ApiConsoleHaloRunV1alpha1ThemeApiFp, ApiConsoleHaloRunV1alpha1UserApi, ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1UserApiFactory, ApiConsoleHaloRunV1alpha1UserApiFp, ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1TrackerApi, ApiHaloRunV1alpha1TrackerApiAxiosParamCreator, ApiHaloRunV1alpha1TrackerApiFactory, ApiHaloRunV1alpha1TrackerApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, MenuItemSpecTargetEnum, MetricsHaloRunV1alpha1CounterApi, MetricsHaloRunV1alpha1CounterApiAxiosParamCreator, MetricsHaloRunV1alpha1CounterApiFactory, MetricsHaloRunV1alpha1CounterApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginHaloRunV1alpha1SearchEngineApi, PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator, PluginHaloRunV1alpha1SearchEngineApiFactory, PluginHaloRunV1alpha1SearchEngineApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, ThemeStatusPhaseEnum, V1alpha1AnnotationSettingApi, V1alpha1AnnotationSettingApiAxiosParamCreator, V1alpha1AnnotationSettingApiFactory, V1alpha1AnnotationSettingApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|