@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.cjs
CHANGED
|
@@ -8,7 +8,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
|
|
9
9
|
const globalAxios__default = /*#__PURE__*/_interopDefaultLegacy(globalAxios);
|
|
10
10
|
|
|
11
|
-
const BASE_PATH = "http://
|
|
11
|
+
const BASE_PATH = "http://127.0.0.1:8090".replace(/\/+$/, "");
|
|
12
12
|
class BaseAPI {
|
|
13
13
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios__default) {
|
|
14
14
|
this.basePath = basePath;
|
|
@@ -30,7 +30,10 @@ class RequiredError extends Error {
|
|
|
30
30
|
const DUMMY_BASE_URL = "https://example.com";
|
|
31
31
|
const assertParamExists = function(functionName, paramName, paramValue) {
|
|
32
32
|
if (paramValue === null || paramValue === void 0) {
|
|
33
|
-
throw new RequiredError(
|
|
33
|
+
throw new RequiredError(
|
|
34
|
+
paramName,
|
|
35
|
+
`Required parameter ${paramName} was null or undefined when calling ${functionName}.`
|
|
36
|
+
);
|
|
34
37
|
}
|
|
35
38
|
};
|
|
36
39
|
const setBasicAuthToObject = function(object, configuration) {
|
|
@@ -44,20 +47,28 @@ const setBearerAuthToObject = async function(object, configuration) {
|
|
|
44
47
|
object["Authorization"] = "Bearer " + accessToken;
|
|
45
48
|
}
|
|
46
49
|
};
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
50
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
51
|
+
if (parameter == null)
|
|
52
|
+
return;
|
|
53
|
+
if (typeof parameter === "object") {
|
|
54
|
+
if (Array.isArray(parameter)) {
|
|
55
|
+
parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
56
|
+
} else {
|
|
57
|
+
Object.keys(parameter).forEach(
|
|
58
|
+
(currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
} else {
|
|
62
|
+
if (urlSearchParams.has(key)) {
|
|
63
|
+
urlSearchParams.append(key, parameter);
|
|
64
|
+
} else {
|
|
65
|
+
urlSearchParams.set(key, parameter);
|
|
59
66
|
}
|
|
60
67
|
}
|
|
68
|
+
}
|
|
69
|
+
const setSearchParams = function(url, ...objects) {
|
|
70
|
+
const searchParams = new URLSearchParams(url.search);
|
|
71
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
61
72
|
url.search = searchParams.toString();
|
|
62
73
|
};
|
|
63
74
|
const serializeDataIfNeeded = function(value, requestOptions, configuration) {
|
|
@@ -77,7 +88,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
77
88
|
|
|
78
89
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
79
90
|
return {
|
|
80
|
-
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
91
|
+
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
81
92
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
82
93
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83
94
|
let baseOptions;
|
|
@@ -113,12 +124,12 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
113
124
|
if (page !== void 0) {
|
|
114
125
|
localVarQueryParameter["page"] = page;
|
|
115
126
|
}
|
|
116
|
-
if (fieldSelector) {
|
|
117
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
118
|
-
}
|
|
119
127
|
if (labelSelector) {
|
|
120
128
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
121
129
|
}
|
|
130
|
+
if (fieldSelector) {
|
|
131
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
132
|
+
}
|
|
122
133
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
123
134
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
124
135
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -166,8 +177,20 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
166
177
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
167
178
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
168
179
|
return {
|
|
169
|
-
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
170
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(
|
|
180
|
+
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(
|
|
182
|
+
policy,
|
|
183
|
+
sort,
|
|
184
|
+
displayName,
|
|
185
|
+
group,
|
|
186
|
+
ungrouped,
|
|
187
|
+
uploadedBy,
|
|
188
|
+
size,
|
|
189
|
+
page,
|
|
190
|
+
labelSelector,
|
|
191
|
+
fieldSelector,
|
|
192
|
+
options
|
|
193
|
+
);
|
|
171
194
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
172
195
|
},
|
|
173
196
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -179,17 +202,41 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
179
202
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
180
203
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
181
204
|
return {
|
|
182
|
-
searchAttachments(
|
|
183
|
-
return localVarFp.searchAttachments(
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
205
|
+
searchAttachments(requestParameters = {}, options) {
|
|
206
|
+
return localVarFp.searchAttachments(
|
|
207
|
+
requestParameters.policy,
|
|
208
|
+
requestParameters.sort,
|
|
209
|
+
requestParameters.displayName,
|
|
210
|
+
requestParameters.group,
|
|
211
|
+
requestParameters.ungrouped,
|
|
212
|
+
requestParameters.uploadedBy,
|
|
213
|
+
requestParameters.size,
|
|
214
|
+
requestParameters.page,
|
|
215
|
+
requestParameters.labelSelector,
|
|
216
|
+
requestParameters.fieldSelector,
|
|
217
|
+
options
|
|
218
|
+
).then((request) => request(axios, basePath));
|
|
219
|
+
},
|
|
220
|
+
uploadAttachment(requestParameters, options) {
|
|
221
|
+
return localVarFp.uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(axios, basePath));
|
|
187
222
|
}
|
|
188
223
|
};
|
|
189
224
|
};
|
|
190
225
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
191
226
|
searchAttachments(requestParameters = {}, options) {
|
|
192
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(
|
|
227
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(
|
|
228
|
+
requestParameters.policy,
|
|
229
|
+
requestParameters.sort,
|
|
230
|
+
requestParameters.displayName,
|
|
231
|
+
requestParameters.group,
|
|
232
|
+
requestParameters.ungrouped,
|
|
233
|
+
requestParameters.uploadedBy,
|
|
234
|
+
requestParameters.size,
|
|
235
|
+
requestParameters.page,
|
|
236
|
+
requestParameters.labelSelector,
|
|
237
|
+
requestParameters.fieldSelector,
|
|
238
|
+
options
|
|
239
|
+
).then((request) => request(this.axios, this.basePath));
|
|
193
240
|
}
|
|
194
241
|
uploadAttachment(requestParameters, options) {
|
|
195
242
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -224,7 +271,10 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
224
271
|
createReply: async (name, replyRequest, options = {}) => {
|
|
225
272
|
assertParamExists("createReply", "name", name);
|
|
226
273
|
assertParamExists("createReply", "replyRequest", replyRequest);
|
|
227
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
274
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
275
|
+
`{${"name"}}`,
|
|
276
|
+
encodeURIComponent(String(name))
|
|
277
|
+
);
|
|
228
278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
229
279
|
let baseOptions;
|
|
230
280
|
if (configuration) {
|
|
@@ -245,7 +295,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
245
295
|
options: localVarRequestOptions
|
|
246
296
|
};
|
|
247
297
|
},
|
|
248
|
-
listComments: async (sort,
|
|
298
|
+
listComments: async (sort, keyword, hidden, top, approved, sortOrder, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
249
299
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
250
300
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
251
301
|
let baseOptions;
|
|
@@ -260,24 +310,24 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
260
310
|
if (sort !== void 0) {
|
|
261
311
|
localVarQueryParameter["sort"] = sort;
|
|
262
312
|
}
|
|
263
|
-
if (
|
|
264
|
-
localVarQueryParameter["
|
|
313
|
+
if (keyword !== void 0) {
|
|
314
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
265
315
|
}
|
|
266
316
|
if (hidden !== void 0) {
|
|
267
317
|
localVarQueryParameter["hidden"] = hidden;
|
|
268
318
|
}
|
|
269
|
-
if (
|
|
270
|
-
localVarQueryParameter["
|
|
319
|
+
if (top !== void 0) {
|
|
320
|
+
localVarQueryParameter["top"] = top;
|
|
271
321
|
}
|
|
272
322
|
if (approved !== void 0) {
|
|
273
323
|
localVarQueryParameter["approved"] = approved;
|
|
274
324
|
}
|
|
275
|
-
if (allowNotification !== void 0) {
|
|
276
|
-
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
277
|
-
}
|
|
278
325
|
if (sortOrder !== void 0) {
|
|
279
326
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
280
327
|
}
|
|
328
|
+
if (allowNotification !== void 0) {
|
|
329
|
+
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
330
|
+
}
|
|
281
331
|
if (ownerKind !== void 0) {
|
|
282
332
|
localVarQueryParameter["ownerKind"] = ownerKind;
|
|
283
333
|
}
|
|
@@ -296,12 +346,12 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
296
346
|
if (page !== void 0) {
|
|
297
347
|
localVarQueryParameter["page"] = page;
|
|
298
348
|
}
|
|
299
|
-
if (fieldSelector) {
|
|
300
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
301
|
-
}
|
|
302
349
|
if (labelSelector) {
|
|
303
350
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
304
351
|
}
|
|
352
|
+
if (fieldSelector) {
|
|
353
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
354
|
+
}
|
|
305
355
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
306
356
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
307
357
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -323,8 +373,25 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
323
373
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
324
374
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
325
375
|
},
|
|
326
|
-
async listComments(sort,
|
|
327
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(
|
|
376
|
+
async listComments(sort, keyword, hidden, top, approved, sortOrder, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
377
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(
|
|
378
|
+
sort,
|
|
379
|
+
keyword,
|
|
380
|
+
hidden,
|
|
381
|
+
top,
|
|
382
|
+
approved,
|
|
383
|
+
sortOrder,
|
|
384
|
+
allowNotification,
|
|
385
|
+
ownerKind,
|
|
386
|
+
ownerName,
|
|
387
|
+
subjectKind,
|
|
388
|
+
subjectName,
|
|
389
|
+
size,
|
|
390
|
+
page,
|
|
391
|
+
labelSelector,
|
|
392
|
+
fieldSelector,
|
|
393
|
+
options
|
|
394
|
+
);
|
|
328
395
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
329
396
|
}
|
|
330
397
|
};
|
|
@@ -332,14 +399,31 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
332
399
|
const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
333
400
|
const localVarFp = ApiConsoleHaloRunV1alpha1CommentApiFp(configuration);
|
|
334
401
|
return {
|
|
335
|
-
createComment(
|
|
336
|
-
return localVarFp.createComment(commentRequest, options).then((request) => request(axios, basePath));
|
|
337
|
-
},
|
|
338
|
-
createReply(
|
|
339
|
-
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
340
|
-
},
|
|
341
|
-
listComments(
|
|
342
|
-
return localVarFp.listComments(
|
|
402
|
+
createComment(requestParameters, options) {
|
|
403
|
+
return localVarFp.createComment(requestParameters.commentRequest, options).then((request) => request(axios, basePath));
|
|
404
|
+
},
|
|
405
|
+
createReply(requestParameters, options) {
|
|
406
|
+
return localVarFp.createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(axios, basePath));
|
|
407
|
+
},
|
|
408
|
+
listComments(requestParameters = {}, options) {
|
|
409
|
+
return localVarFp.listComments(
|
|
410
|
+
requestParameters.sort,
|
|
411
|
+
requestParameters.keyword,
|
|
412
|
+
requestParameters.hidden,
|
|
413
|
+
requestParameters.top,
|
|
414
|
+
requestParameters.approved,
|
|
415
|
+
requestParameters.sortOrder,
|
|
416
|
+
requestParameters.allowNotification,
|
|
417
|
+
requestParameters.ownerKind,
|
|
418
|
+
requestParameters.ownerName,
|
|
419
|
+
requestParameters.subjectKind,
|
|
420
|
+
requestParameters.subjectName,
|
|
421
|
+
requestParameters.size,
|
|
422
|
+
requestParameters.page,
|
|
423
|
+
requestParameters.labelSelector,
|
|
424
|
+
requestParameters.fieldSelector,
|
|
425
|
+
options
|
|
426
|
+
).then((request) => request(axios, basePath));
|
|
343
427
|
}
|
|
344
428
|
};
|
|
345
429
|
};
|
|
@@ -351,122 +435,24 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
351
435
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
352
436
|
}
|
|
353
437
|
listComments(requestParameters = {}, options) {
|
|
354
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
373
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
374
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
375
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
376
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
377
|
-
localVarRequestOptions.data = serializeDataIfNeeded(contentRequest, localVarRequestOptions, configuration);
|
|
378
|
-
return {
|
|
379
|
-
url: toPathString(localVarUrlObj),
|
|
380
|
-
options: localVarRequestOptions
|
|
381
|
-
};
|
|
382
|
-
},
|
|
383
|
-
obtainSnapshotContent: async (snapshotName, options = {}) => {
|
|
384
|
-
assertParamExists("obtainSnapshotContent", "snapshotName", snapshotName);
|
|
385
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
|
|
386
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
387
|
-
let baseOptions;
|
|
388
|
-
if (configuration) {
|
|
389
|
-
baseOptions = configuration.baseOptions;
|
|
390
|
-
}
|
|
391
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
392
|
-
const localVarHeaderParameter = {};
|
|
393
|
-
const localVarQueryParameter = {};
|
|
394
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
395
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
396
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
397
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
398
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
399
|
-
return {
|
|
400
|
-
url: toPathString(localVarUrlObj),
|
|
401
|
-
options: localVarRequestOptions
|
|
402
|
-
};
|
|
403
|
-
},
|
|
404
|
-
updateSnapshotContent: async (snapshotName, contentRequest, options = {}) => {
|
|
405
|
-
assertParamExists("updateSnapshotContent", "snapshotName", snapshotName);
|
|
406
|
-
assertParamExists("updateSnapshotContent", "contentRequest", contentRequest);
|
|
407
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
|
|
408
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
409
|
-
let baseOptions;
|
|
410
|
-
if (configuration) {
|
|
411
|
-
baseOptions = configuration.baseOptions;
|
|
412
|
-
}
|
|
413
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
414
|
-
const localVarHeaderParameter = {};
|
|
415
|
-
const localVarQueryParameter = {};
|
|
416
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
417
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
418
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
419
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
420
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
421
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
422
|
-
localVarRequestOptions.data = serializeDataIfNeeded(contentRequest, localVarRequestOptions, configuration);
|
|
423
|
-
return {
|
|
424
|
-
url: toPathString(localVarUrlObj),
|
|
425
|
-
options: localVarRequestOptions
|
|
426
|
-
};
|
|
427
|
-
}
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
const ApiConsoleHaloRunV1alpha1ContentApiFp = function(configuration) {
|
|
431
|
-
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator(configuration);
|
|
432
|
-
return {
|
|
433
|
-
async draftSnapshotContent(contentRequest, options) {
|
|
434
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSnapshotContent(contentRequest, options);
|
|
435
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
436
|
-
},
|
|
437
|
-
async obtainSnapshotContent(snapshotName, options) {
|
|
438
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.obtainSnapshotContent(snapshotName, options);
|
|
439
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
440
|
-
},
|
|
441
|
-
async updateSnapshotContent(snapshotName, contentRequest, options) {
|
|
442
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSnapshotContent(snapshotName, contentRequest, options);
|
|
443
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
444
|
-
}
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
const ApiConsoleHaloRunV1alpha1ContentApiFactory = function(configuration, basePath, axios) {
|
|
448
|
-
const localVarFp = ApiConsoleHaloRunV1alpha1ContentApiFp(configuration);
|
|
449
|
-
return {
|
|
450
|
-
draftSnapshotContent(contentRequest, options) {
|
|
451
|
-
return localVarFp.draftSnapshotContent(contentRequest, options).then((request) => request(axios, basePath));
|
|
452
|
-
},
|
|
453
|
-
obtainSnapshotContent(snapshotName, options) {
|
|
454
|
-
return localVarFp.obtainSnapshotContent(snapshotName, options).then((request) => request(axios, basePath));
|
|
455
|
-
},
|
|
456
|
-
updateSnapshotContent(snapshotName, contentRequest, options) {
|
|
457
|
-
return localVarFp.updateSnapshotContent(snapshotName, contentRequest, options).then((request) => request(axios, basePath));
|
|
458
|
-
}
|
|
459
|
-
};
|
|
460
|
-
};
|
|
461
|
-
class ApiConsoleHaloRunV1alpha1ContentApi extends BaseAPI {
|
|
462
|
-
draftSnapshotContent(requestParameters, options) {
|
|
463
|
-
return ApiConsoleHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
464
|
-
}
|
|
465
|
-
obtainSnapshotContent(requestParameters, options) {
|
|
466
|
-
return ApiConsoleHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(requestParameters.snapshotName, options).then((request) => request(this.axios, this.basePath));
|
|
467
|
-
}
|
|
468
|
-
updateSnapshotContent(requestParameters, options) {
|
|
469
|
-
return ApiConsoleHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(requestParameters.snapshotName, requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
438
|
+
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(
|
|
439
|
+
requestParameters.sort,
|
|
440
|
+
requestParameters.keyword,
|
|
441
|
+
requestParameters.hidden,
|
|
442
|
+
requestParameters.top,
|
|
443
|
+
requestParameters.approved,
|
|
444
|
+
requestParameters.sortOrder,
|
|
445
|
+
requestParameters.allowNotification,
|
|
446
|
+
requestParameters.ownerKind,
|
|
447
|
+
requestParameters.ownerName,
|
|
448
|
+
requestParameters.subjectKind,
|
|
449
|
+
requestParameters.subjectName,
|
|
450
|
+
requestParameters.size,
|
|
451
|
+
requestParameters.page,
|
|
452
|
+
requestParameters.labelSelector,
|
|
453
|
+
requestParameters.fieldSelector,
|
|
454
|
+
options
|
|
455
|
+
).then((request) => request(this.axios, this.basePath));
|
|
470
456
|
}
|
|
471
457
|
}
|
|
472
458
|
|
|
@@ -521,7 +507,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
521
507
|
return {
|
|
522
508
|
fetchPluginConfig: async (name, options = {}) => {
|
|
523
509
|
assertParamExists("fetchPluginConfig", "name", name);
|
|
524
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
510
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
511
|
+
`{${"name"}}`,
|
|
512
|
+
encodeURIComponent(String(name))
|
|
513
|
+
);
|
|
525
514
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
526
515
|
let baseOptions;
|
|
527
516
|
if (configuration) {
|
|
@@ -542,7 +531,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
542
531
|
},
|
|
543
532
|
fetchPluginSetting: async (name, options = {}) => {
|
|
544
533
|
assertParamExists("fetchPluginSetting", "name", name);
|
|
545
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/setting`.replace(
|
|
534
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/setting`.replace(
|
|
535
|
+
`{${"name"}}`,
|
|
536
|
+
encodeURIComponent(String(name))
|
|
537
|
+
);
|
|
546
538
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
547
539
|
let baseOptions;
|
|
548
540
|
if (configuration) {
|
|
@@ -561,8 +553,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
561
553
|
options: localVarRequestOptions
|
|
562
554
|
};
|
|
563
555
|
},
|
|
564
|
-
installPlugin: async (file, options = {}) => {
|
|
565
|
-
assertParamExists("installPlugin", "file", file);
|
|
556
|
+
installPlugin: async (file, source, presetName, options = {}) => {
|
|
566
557
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/install`;
|
|
567
558
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
568
559
|
let baseOptions;
|
|
@@ -578,6 +569,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
578
569
|
if (file !== void 0) {
|
|
579
570
|
localVarFormParams.append("file", file);
|
|
580
571
|
}
|
|
572
|
+
if (source !== void 0) {
|
|
573
|
+
localVarFormParams.append("source", source);
|
|
574
|
+
}
|
|
575
|
+
if (presetName !== void 0) {
|
|
576
|
+
localVarFormParams.append("presetName", presetName);
|
|
577
|
+
}
|
|
581
578
|
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
582
579
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
583
580
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -588,7 +585,27 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
588
585
|
options: localVarRequestOptions
|
|
589
586
|
};
|
|
590
587
|
},
|
|
591
|
-
|
|
588
|
+
listPluginPresets: async (options = {}) => {
|
|
589
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugin-presets`;
|
|
590
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
591
|
+
let baseOptions;
|
|
592
|
+
if (configuration) {
|
|
593
|
+
baseOptions = configuration.baseOptions;
|
|
594
|
+
}
|
|
595
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
596
|
+
const localVarHeaderParameter = {};
|
|
597
|
+
const localVarQueryParameter = {};
|
|
598
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
599
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
600
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
601
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
602
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
603
|
+
return {
|
|
604
|
+
url: toPathString(localVarUrlObj),
|
|
605
|
+
options: localVarRequestOptions
|
|
606
|
+
};
|
|
607
|
+
},
|
|
608
|
+
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
592
609
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
593
610
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
594
611
|
let baseOptions;
|
|
@@ -603,23 +620,23 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
603
620
|
if (sort) {
|
|
604
621
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
605
622
|
}
|
|
606
|
-
if (enabled !== void 0) {
|
|
607
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
608
|
-
}
|
|
609
623
|
if (keyword !== void 0) {
|
|
610
624
|
localVarQueryParameter["keyword"] = keyword;
|
|
611
625
|
}
|
|
626
|
+
if (enabled !== void 0) {
|
|
627
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
628
|
+
}
|
|
612
629
|
if (size !== void 0) {
|
|
613
630
|
localVarQueryParameter["size"] = size;
|
|
614
631
|
}
|
|
615
|
-
if (
|
|
616
|
-
localVarQueryParameter["
|
|
632
|
+
if (labelSelector) {
|
|
633
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
617
634
|
}
|
|
618
635
|
if (fieldSelector) {
|
|
619
636
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
620
637
|
}
|
|
621
|
-
if (
|
|
622
|
-
localVarQueryParameter["
|
|
638
|
+
if (page !== void 0) {
|
|
639
|
+
localVarQueryParameter["page"] = page;
|
|
623
640
|
}
|
|
624
641
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
625
642
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -631,7 +648,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
631
648
|
},
|
|
632
649
|
resetPluginConfig: async (name, options = {}) => {
|
|
633
650
|
assertParamExists("resetPluginConfig", "name", name);
|
|
634
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/reset-config`.replace(
|
|
651
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/reset-config`.replace(
|
|
652
|
+
`{${"name"}}`,
|
|
653
|
+
encodeURIComponent(String(name))
|
|
654
|
+
);
|
|
635
655
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
636
656
|
let baseOptions;
|
|
637
657
|
if (configuration) {
|
|
@@ -653,7 +673,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
653
673
|
updatePluginConfig: async (name, configMap, options = {}) => {
|
|
654
674
|
assertParamExists("updatePluginConfig", "name", name);
|
|
655
675
|
assertParamExists("updatePluginConfig", "configMap", configMap);
|
|
656
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
676
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(
|
|
677
|
+
`{${"name"}}`,
|
|
678
|
+
encodeURIComponent(String(name))
|
|
679
|
+
);
|
|
657
680
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
658
681
|
let baseOptions;
|
|
659
682
|
if (configuration) {
|
|
@@ -674,10 +697,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
674
697
|
options: localVarRequestOptions
|
|
675
698
|
};
|
|
676
699
|
},
|
|
677
|
-
upgradePlugin: async (name, file, options = {}) => {
|
|
700
|
+
upgradePlugin: async (name, file, source, presetName, options = {}) => {
|
|
678
701
|
assertParamExists("upgradePlugin", "name", name);
|
|
679
|
-
|
|
680
|
-
|
|
702
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/upgrade`.replace(
|
|
703
|
+
`{${"name"}}`,
|
|
704
|
+
encodeURIComponent(String(name))
|
|
705
|
+
);
|
|
681
706
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
682
707
|
let baseOptions;
|
|
683
708
|
if (configuration) {
|
|
@@ -692,6 +717,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
692
717
|
if (file !== void 0) {
|
|
693
718
|
localVarFormParams.append("file", file);
|
|
694
719
|
}
|
|
720
|
+
if (source !== void 0) {
|
|
721
|
+
localVarFormParams.append("source", source);
|
|
722
|
+
}
|
|
723
|
+
if (presetName !== void 0) {
|
|
724
|
+
localVarFormParams.append("presetName", presetName);
|
|
725
|
+
}
|
|
695
726
|
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
696
727
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
697
728
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -715,12 +746,25 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
715
746
|
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPluginSetting(name, options);
|
|
716
747
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
717
748
|
},
|
|
718
|
-
async installPlugin(file, options) {
|
|
719
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
749
|
+
async installPlugin(file, source, presetName, options) {
|
|
750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, source, presetName, options);
|
|
751
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
752
|
+
},
|
|
753
|
+
async listPluginPresets(options) {
|
|
754
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPluginPresets(options);
|
|
720
755
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
721
756
|
},
|
|
722
|
-
async listPlugins(sort,
|
|
723
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(
|
|
757
|
+
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
758
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(
|
|
759
|
+
sort,
|
|
760
|
+
keyword,
|
|
761
|
+
enabled,
|
|
762
|
+
size,
|
|
763
|
+
labelSelector,
|
|
764
|
+
fieldSelector,
|
|
765
|
+
page,
|
|
766
|
+
options
|
|
767
|
+
);
|
|
724
768
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
725
769
|
},
|
|
726
770
|
async resetPluginConfig(name, options) {
|
|
@@ -731,8 +775,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
731
775
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginConfig(name, configMap, options);
|
|
732
776
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
733
777
|
},
|
|
734
|
-
async upgradePlugin(name, file, options) {
|
|
735
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, options);
|
|
778
|
+
async upgradePlugin(name, file, source, presetName, options) {
|
|
779
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, source, presetName, options);
|
|
736
780
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
737
781
|
}
|
|
738
782
|
};
|
|
@@ -740,26 +784,44 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
740
784
|
const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
741
785
|
const localVarFp = ApiConsoleHaloRunV1alpha1PluginApiFp(configuration);
|
|
742
786
|
return {
|
|
743
|
-
fetchPluginConfig(
|
|
744
|
-
return localVarFp.fetchPluginConfig(name, options).then((request) => request(axios, basePath));
|
|
745
|
-
},
|
|
746
|
-
fetchPluginSetting(
|
|
747
|
-
return localVarFp.fetchPluginSetting(name, options).then((request) => request(axios, basePath));
|
|
748
|
-
},
|
|
749
|
-
installPlugin(
|
|
750
|
-
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
751
|
-
},
|
|
752
|
-
|
|
753
|
-
return localVarFp.
|
|
754
|
-
},
|
|
755
|
-
|
|
756
|
-
return localVarFp.
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
787
|
+
fetchPluginConfig(requestParameters, options) {
|
|
788
|
+
return localVarFp.fetchPluginConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
789
|
+
},
|
|
790
|
+
fetchPluginSetting(requestParameters, options) {
|
|
791
|
+
return localVarFp.fetchPluginSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
792
|
+
},
|
|
793
|
+
installPlugin(requestParameters = {}, options) {
|
|
794
|
+
return localVarFp.installPlugin(requestParameters.file, requestParameters.source, requestParameters.presetName, options).then((request) => request(axios, basePath));
|
|
795
|
+
},
|
|
796
|
+
listPluginPresets(options) {
|
|
797
|
+
return localVarFp.listPluginPresets(options).then((request) => request(axios, basePath));
|
|
798
|
+
},
|
|
799
|
+
listPlugins(requestParameters = {}, options) {
|
|
800
|
+
return localVarFp.listPlugins(
|
|
801
|
+
requestParameters.sort,
|
|
802
|
+
requestParameters.keyword,
|
|
803
|
+
requestParameters.enabled,
|
|
804
|
+
requestParameters.size,
|
|
805
|
+
requestParameters.labelSelector,
|
|
806
|
+
requestParameters.fieldSelector,
|
|
807
|
+
requestParameters.page,
|
|
808
|
+
options
|
|
809
|
+
).then((request) => request(axios, basePath));
|
|
810
|
+
},
|
|
811
|
+
resetPluginConfig(requestParameters, options) {
|
|
812
|
+
return localVarFp.resetPluginConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
813
|
+
},
|
|
814
|
+
updatePluginConfig(requestParameters, options) {
|
|
815
|
+
return localVarFp.updatePluginConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
816
|
+
},
|
|
817
|
+
upgradePlugin(requestParameters, options) {
|
|
818
|
+
return localVarFp.upgradePlugin(
|
|
819
|
+
requestParameters.name,
|
|
820
|
+
requestParameters.file,
|
|
821
|
+
requestParameters.source,
|
|
822
|
+
requestParameters.presetName,
|
|
823
|
+
options
|
|
824
|
+
).then((request) => request(axios, basePath));
|
|
763
825
|
}
|
|
764
826
|
};
|
|
765
827
|
};
|
|
@@ -770,11 +832,23 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
770
832
|
fetchPluginSetting(requestParameters, options) {
|
|
771
833
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).fetchPluginSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
772
834
|
}
|
|
773
|
-
installPlugin(requestParameters, options) {
|
|
774
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
835
|
+
installPlugin(requestParameters = {}, options) {
|
|
836
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, requestParameters.source, requestParameters.presetName, options).then((request) => request(this.axios, this.basePath));
|
|
837
|
+
}
|
|
838
|
+
listPluginPresets(options) {
|
|
839
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPluginPresets(options).then((request) => request(this.axios, this.basePath));
|
|
775
840
|
}
|
|
776
841
|
listPlugins(requestParameters = {}, options) {
|
|
777
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(
|
|
842
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(
|
|
843
|
+
requestParameters.sort,
|
|
844
|
+
requestParameters.keyword,
|
|
845
|
+
requestParameters.enabled,
|
|
846
|
+
requestParameters.size,
|
|
847
|
+
requestParameters.labelSelector,
|
|
848
|
+
requestParameters.fieldSelector,
|
|
849
|
+
requestParameters.page,
|
|
850
|
+
options
|
|
851
|
+
).then((request) => request(this.axios, this.basePath));
|
|
778
852
|
}
|
|
779
853
|
resetPluginConfig(requestParameters, options) {
|
|
780
854
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -783,7 +857,13 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
783
857
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).updatePluginConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
784
858
|
}
|
|
785
859
|
upgradePlugin(requestParameters, options) {
|
|
786
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(
|
|
860
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(
|
|
861
|
+
requestParameters.name,
|
|
862
|
+
requestParameters.file,
|
|
863
|
+
requestParameters.source,
|
|
864
|
+
requestParameters.presetName,
|
|
865
|
+
options
|
|
866
|
+
).then((request) => request(this.axios, this.basePath));
|
|
787
867
|
}
|
|
788
868
|
}
|
|
789
869
|
|
|
@@ -812,7 +892,55 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
812
892
|
options: localVarRequestOptions
|
|
813
893
|
};
|
|
814
894
|
},
|
|
815
|
-
|
|
895
|
+
fetchPostHeadContent: async (name, options = {}) => {
|
|
896
|
+
assertParamExists("fetchPostHeadContent", "name", name);
|
|
897
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/head-content`.replace(
|
|
898
|
+
`{${"name"}}`,
|
|
899
|
+
encodeURIComponent(String(name))
|
|
900
|
+
);
|
|
901
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
902
|
+
let baseOptions;
|
|
903
|
+
if (configuration) {
|
|
904
|
+
baseOptions = configuration.baseOptions;
|
|
905
|
+
}
|
|
906
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
907
|
+
const localVarHeaderParameter = {};
|
|
908
|
+
const localVarQueryParameter = {};
|
|
909
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
910
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
911
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
912
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
913
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
914
|
+
return {
|
|
915
|
+
url: toPathString(localVarUrlObj),
|
|
916
|
+
options: localVarRequestOptions
|
|
917
|
+
};
|
|
918
|
+
},
|
|
919
|
+
fetchPostReleaseContent: async (name, options = {}) => {
|
|
920
|
+
assertParamExists("fetchPostReleaseContent", "name", name);
|
|
921
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/release-content`.replace(
|
|
922
|
+
`{${"name"}}`,
|
|
923
|
+
encodeURIComponent(String(name))
|
|
924
|
+
);
|
|
925
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
926
|
+
let baseOptions;
|
|
927
|
+
if (configuration) {
|
|
928
|
+
baseOptions = configuration.baseOptions;
|
|
929
|
+
}
|
|
930
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
931
|
+
const localVarHeaderParameter = {};
|
|
932
|
+
const localVarQueryParameter = {};
|
|
933
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
934
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
935
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
936
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
937
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
938
|
+
return {
|
|
939
|
+
url: toPathString(localVarUrlObj),
|
|
940
|
+
options: localVarRequestOptions
|
|
941
|
+
};
|
|
942
|
+
},
|
|
943
|
+
listPosts: async (sort, keyword, visible, tag, category, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
816
944
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
817
945
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
818
946
|
let baseOptions;
|
|
@@ -827,39 +955,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
827
955
|
if (sort !== void 0) {
|
|
828
956
|
localVarQueryParameter["sort"] = sort;
|
|
829
957
|
}
|
|
958
|
+
if (keyword !== void 0) {
|
|
959
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
960
|
+
}
|
|
830
961
|
if (visible !== void 0) {
|
|
831
962
|
localVarQueryParameter["visible"] = visible;
|
|
832
963
|
}
|
|
833
964
|
if (tag) {
|
|
834
965
|
localVarQueryParameter["tag"] = Array.from(tag);
|
|
835
966
|
}
|
|
836
|
-
if (
|
|
837
|
-
localVarQueryParameter["
|
|
967
|
+
if (category) {
|
|
968
|
+
localVarQueryParameter["category"] = Array.from(category);
|
|
969
|
+
}
|
|
970
|
+
if (sortOrder !== void 0) {
|
|
971
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
838
972
|
}
|
|
839
973
|
if (publishPhase !== void 0) {
|
|
840
974
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
841
975
|
}
|
|
842
|
-
if (category) {
|
|
843
|
-
localVarQueryParameter["category"] = Array.from(category);
|
|
844
|
-
}
|
|
845
976
|
if (contributor) {
|
|
846
977
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
847
978
|
}
|
|
848
|
-
if (sortOrder !== void 0) {
|
|
849
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
850
|
-
}
|
|
851
979
|
if (size !== void 0) {
|
|
852
980
|
localVarQueryParameter["size"] = size;
|
|
853
981
|
}
|
|
854
982
|
if (page !== void 0) {
|
|
855
983
|
localVarQueryParameter["page"] = page;
|
|
856
984
|
}
|
|
857
|
-
if (fieldSelector) {
|
|
858
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
859
|
-
}
|
|
860
985
|
if (labelSelector) {
|
|
861
986
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
862
987
|
}
|
|
988
|
+
if (fieldSelector) {
|
|
989
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
990
|
+
}
|
|
863
991
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
864
992
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
865
993
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -870,7 +998,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
870
998
|
},
|
|
871
999
|
publishPost: async (name, headSnapshot, options = {}) => {
|
|
872
1000
|
assertParamExists("publishPost", "name", name);
|
|
873
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/publish`.replace(
|
|
1001
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/publish`.replace(
|
|
1002
|
+
`{${"name"}}`,
|
|
1003
|
+
encodeURIComponent(String(name))
|
|
1004
|
+
);
|
|
874
1005
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
875
1006
|
let baseOptions;
|
|
876
1007
|
if (configuration) {
|
|
@@ -894,7 +1025,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
894
1025
|
},
|
|
895
1026
|
recyclePost: async (name, options = {}) => {
|
|
896
1027
|
assertParamExists("recyclePost", "name", name);
|
|
897
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(
|
|
1028
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(
|
|
1029
|
+
`{${"name"}}`,
|
|
1030
|
+
encodeURIComponent(String(name))
|
|
1031
|
+
);
|
|
898
1032
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
899
1033
|
let baseOptions;
|
|
900
1034
|
if (configuration) {
|
|
@@ -915,7 +1049,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
915
1049
|
},
|
|
916
1050
|
unpublishPost: async (name, options = {}) => {
|
|
917
1051
|
assertParamExists("unpublishPost", "name", name);
|
|
918
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(
|
|
1052
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(
|
|
1053
|
+
`{${"name"}}`,
|
|
1054
|
+
encodeURIComponent(String(name))
|
|
1055
|
+
);
|
|
919
1056
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
920
1057
|
let baseOptions;
|
|
921
1058
|
if (configuration) {
|
|
@@ -937,7 +1074,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
937
1074
|
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
938
1075
|
assertParamExists("updateDraftPost", "name", name);
|
|
939
1076
|
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
940
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}`.replace(
|
|
1077
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}`.replace(
|
|
1078
|
+
`{${"name"}}`,
|
|
1079
|
+
encodeURIComponent(String(name))
|
|
1080
|
+
);
|
|
941
1081
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
942
1082
|
let baseOptions;
|
|
943
1083
|
if (configuration) {
|
|
@@ -961,7 +1101,10 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
961
1101
|
updatePostContent: async (name, content, options = {}) => {
|
|
962
1102
|
assertParamExists("updatePostContent", "name", name);
|
|
963
1103
|
assertParamExists("updatePostContent", "content", content);
|
|
964
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/content`.replace(
|
|
1104
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/content`.replace(
|
|
1105
|
+
`{${"name"}}`,
|
|
1106
|
+
encodeURIComponent(String(name))
|
|
1107
|
+
);
|
|
965
1108
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
966
1109
|
let baseOptions;
|
|
967
1110
|
if (configuration) {
|
|
@@ -991,8 +1134,30 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
991
1134
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
992
1135
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
993
1136
|
},
|
|
994
|
-
async
|
|
995
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1137
|
+
async fetchPostHeadContent(name, options) {
|
|
1138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPostHeadContent(name, options);
|
|
1139
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1140
|
+
},
|
|
1141
|
+
async fetchPostReleaseContent(name, options) {
|
|
1142
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPostReleaseContent(name, options);
|
|
1143
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1144
|
+
},
|
|
1145
|
+
async listPosts(sort, keyword, visible, tag, category, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1146
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(
|
|
1147
|
+
sort,
|
|
1148
|
+
keyword,
|
|
1149
|
+
visible,
|
|
1150
|
+
tag,
|
|
1151
|
+
category,
|
|
1152
|
+
sortOrder,
|
|
1153
|
+
publishPhase,
|
|
1154
|
+
contributor,
|
|
1155
|
+
size,
|
|
1156
|
+
page,
|
|
1157
|
+
labelSelector,
|
|
1158
|
+
fieldSelector,
|
|
1159
|
+
options
|
|
1160
|
+
);
|
|
996
1161
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
997
1162
|
},
|
|
998
1163
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -1020,26 +1185,46 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
1020
1185
|
const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1021
1186
|
const localVarFp = ApiConsoleHaloRunV1alpha1PostApiFp(configuration);
|
|
1022
1187
|
return {
|
|
1023
|
-
draftPost(
|
|
1024
|
-
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
1025
|
-
},
|
|
1026
|
-
|
|
1027
|
-
return localVarFp.
|
|
1028
|
-
},
|
|
1029
|
-
|
|
1030
|
-
return localVarFp.
|
|
1031
|
-
},
|
|
1032
|
-
|
|
1033
|
-
return localVarFp.
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1188
|
+
draftPost(requestParameters, options) {
|
|
1189
|
+
return localVarFp.draftPost(requestParameters.postRequest, options).then((request) => request(axios, basePath));
|
|
1190
|
+
},
|
|
1191
|
+
fetchPostHeadContent(requestParameters, options) {
|
|
1192
|
+
return localVarFp.fetchPostHeadContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1193
|
+
},
|
|
1194
|
+
fetchPostReleaseContent(requestParameters, options) {
|
|
1195
|
+
return localVarFp.fetchPostReleaseContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1196
|
+
},
|
|
1197
|
+
listPosts(requestParameters = {}, options) {
|
|
1198
|
+
return localVarFp.listPosts(
|
|
1199
|
+
requestParameters.sort,
|
|
1200
|
+
requestParameters.keyword,
|
|
1201
|
+
requestParameters.visible,
|
|
1202
|
+
requestParameters.tag,
|
|
1203
|
+
requestParameters.category,
|
|
1204
|
+
requestParameters.sortOrder,
|
|
1205
|
+
requestParameters.publishPhase,
|
|
1206
|
+
requestParameters.contributor,
|
|
1207
|
+
requestParameters.size,
|
|
1208
|
+
requestParameters.page,
|
|
1209
|
+
requestParameters.labelSelector,
|
|
1210
|
+
requestParameters.fieldSelector,
|
|
1211
|
+
options
|
|
1212
|
+
).then((request) => request(axios, basePath));
|
|
1213
|
+
},
|
|
1214
|
+
publishPost(requestParameters, options) {
|
|
1215
|
+
return localVarFp.publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(axios, basePath));
|
|
1216
|
+
},
|
|
1217
|
+
recyclePost(requestParameters, options) {
|
|
1218
|
+
return localVarFp.recyclePost(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1219
|
+
},
|
|
1220
|
+
unpublishPost(requestParameters, options) {
|
|
1221
|
+
return localVarFp.unpublishPost(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1222
|
+
},
|
|
1223
|
+
updateDraftPost(requestParameters, options) {
|
|
1224
|
+
return localVarFp.updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(axios, basePath));
|
|
1225
|
+
},
|
|
1226
|
+
updatePostContent(requestParameters, options) {
|
|
1227
|
+
return localVarFp.updatePostContent(requestParameters.name, requestParameters.content, options).then((request) => request(axios, basePath));
|
|
1043
1228
|
}
|
|
1044
1229
|
};
|
|
1045
1230
|
};
|
|
@@ -1047,8 +1232,28 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
1047
1232
|
draftPost(requestParameters, options) {
|
|
1048
1233
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1049
1234
|
}
|
|
1235
|
+
fetchPostHeadContent(requestParameters, options) {
|
|
1236
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).fetchPostHeadContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1237
|
+
}
|
|
1238
|
+
fetchPostReleaseContent(requestParameters, options) {
|
|
1239
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).fetchPostReleaseContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1240
|
+
}
|
|
1050
1241
|
listPosts(requestParameters = {}, options) {
|
|
1051
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(
|
|
1242
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(
|
|
1243
|
+
requestParameters.sort,
|
|
1244
|
+
requestParameters.keyword,
|
|
1245
|
+
requestParameters.visible,
|
|
1246
|
+
requestParameters.tag,
|
|
1247
|
+
requestParameters.category,
|
|
1248
|
+
requestParameters.sortOrder,
|
|
1249
|
+
requestParameters.publishPhase,
|
|
1250
|
+
requestParameters.contributor,
|
|
1251
|
+
requestParameters.size,
|
|
1252
|
+
requestParameters.page,
|
|
1253
|
+
requestParameters.labelSelector,
|
|
1254
|
+
requestParameters.fieldSelector,
|
|
1255
|
+
options
|
|
1256
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1052
1257
|
}
|
|
1053
1258
|
publishPost(requestParameters, options) {
|
|
1054
1259
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1069,7 +1274,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
1069
1274
|
|
|
1070
1275
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
1071
1276
|
return {
|
|
1072
|
-
listReplies: async (commentName, size, page,
|
|
1277
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1073
1278
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
1074
1279
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1075
1280
|
let baseOptions;
|
|
@@ -1090,12 +1295,12 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1090
1295
|
if (page !== void 0) {
|
|
1091
1296
|
localVarQueryParameter["page"] = page;
|
|
1092
1297
|
}
|
|
1093
|
-
if (fieldSelector) {
|
|
1094
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1095
|
-
}
|
|
1096
1298
|
if (labelSelector) {
|
|
1097
1299
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1098
1300
|
}
|
|
1301
|
+
if (fieldSelector) {
|
|
1302
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1303
|
+
}
|
|
1099
1304
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1100
1305
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1101
1306
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1109,8 +1314,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1109
1314
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
1110
1315
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
1111
1316
|
return {
|
|
1112
|
-
async listReplies(commentName, size, page,
|
|
1113
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(
|
|
1317
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
1318
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(
|
|
1319
|
+
commentName,
|
|
1320
|
+
size,
|
|
1321
|
+
page,
|
|
1322
|
+
labelSelector,
|
|
1323
|
+
fieldSelector,
|
|
1324
|
+
options
|
|
1325
|
+
);
|
|
1114
1326
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1115
1327
|
}
|
|
1116
1328
|
};
|
|
@@ -1118,14 +1330,28 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
1118
1330
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
1119
1331
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
1120
1332
|
return {
|
|
1121
|
-
listReplies(
|
|
1122
|
-
return localVarFp.listReplies(
|
|
1333
|
+
listReplies(requestParameters = {}, options) {
|
|
1334
|
+
return localVarFp.listReplies(
|
|
1335
|
+
requestParameters.commentName,
|
|
1336
|
+
requestParameters.size,
|
|
1337
|
+
requestParameters.page,
|
|
1338
|
+
requestParameters.labelSelector,
|
|
1339
|
+
requestParameters.fieldSelector,
|
|
1340
|
+
options
|
|
1341
|
+
).then((request) => request(axios, basePath));
|
|
1123
1342
|
}
|
|
1124
1343
|
};
|
|
1125
1344
|
};
|
|
1126
1345
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1127
1346
|
listReplies(requestParameters = {}, options) {
|
|
1128
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(
|
|
1347
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(
|
|
1348
|
+
requestParameters.commentName,
|
|
1349
|
+
requestParameters.size,
|
|
1350
|
+
requestParameters.page,
|
|
1351
|
+
requestParameters.labelSelector,
|
|
1352
|
+
requestParameters.fieldSelector,
|
|
1353
|
+
options
|
|
1354
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1129
1355
|
}
|
|
1130
1356
|
}
|
|
1131
1357
|
|
|
@@ -1139,22 +1365,70 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1139
1365
|
if (configuration) {
|
|
1140
1366
|
baseOptions = configuration.baseOptions;
|
|
1141
1367
|
}
|
|
1142
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1368
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1369
|
+
const localVarHeaderParameter = {};
|
|
1370
|
+
const localVarQueryParameter = {};
|
|
1371
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1372
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1373
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1374
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1375
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1376
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1377
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
1378
|
+
return {
|
|
1379
|
+
url: toPathString(localVarUrlObj),
|
|
1380
|
+
options: localVarRequestOptions
|
|
1381
|
+
};
|
|
1382
|
+
},
|
|
1383
|
+
fetchSinglePageHeadContent: async (name, options = {}) => {
|
|
1384
|
+
assertParamExists("fetchSinglePageHeadContent", "name", name);
|
|
1385
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/head-content`.replace(
|
|
1386
|
+
`{${"name"}}`,
|
|
1387
|
+
encodeURIComponent(String(name))
|
|
1388
|
+
);
|
|
1389
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1390
|
+
let baseOptions;
|
|
1391
|
+
if (configuration) {
|
|
1392
|
+
baseOptions = configuration.baseOptions;
|
|
1393
|
+
}
|
|
1394
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1395
|
+
const localVarHeaderParameter = {};
|
|
1396
|
+
const localVarQueryParameter = {};
|
|
1397
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1398
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1399
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1400
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1401
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1402
|
+
return {
|
|
1403
|
+
url: toPathString(localVarUrlObj),
|
|
1404
|
+
options: localVarRequestOptions
|
|
1405
|
+
};
|
|
1406
|
+
},
|
|
1407
|
+
fetchSinglePageReleaseContent: async (name, options = {}) => {
|
|
1408
|
+
assertParamExists("fetchSinglePageReleaseContent", "name", name);
|
|
1409
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/release-content`.replace(
|
|
1410
|
+
`{${"name"}}`,
|
|
1411
|
+
encodeURIComponent(String(name))
|
|
1412
|
+
);
|
|
1413
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1414
|
+
let baseOptions;
|
|
1415
|
+
if (configuration) {
|
|
1416
|
+
baseOptions = configuration.baseOptions;
|
|
1417
|
+
}
|
|
1418
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1143
1419
|
const localVarHeaderParameter = {};
|
|
1144
1420
|
const localVarQueryParameter = {};
|
|
1145
1421
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1146
1422
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1147
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1148
1423
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1149
1424
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1150
1425
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1151
|
-
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
1152
1426
|
return {
|
|
1153
1427
|
url: toPathString(localVarUrlObj),
|
|
1154
1428
|
options: localVarRequestOptions
|
|
1155
1429
|
};
|
|
1156
1430
|
},
|
|
1157
|
-
listSinglePages: async (sort, visible,
|
|
1431
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1158
1432
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1159
1433
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1160
1434
|
let baseOptions;
|
|
@@ -1169,11 +1443,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1169
1443
|
if (sort !== void 0) {
|
|
1170
1444
|
localVarQueryParameter["sort"] = sort;
|
|
1171
1445
|
}
|
|
1446
|
+
if (keyword !== void 0) {
|
|
1447
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1448
|
+
}
|
|
1172
1449
|
if (visible !== void 0) {
|
|
1173
1450
|
localVarQueryParameter["visible"] = visible;
|
|
1174
1451
|
}
|
|
1175
|
-
if (
|
|
1176
|
-
localVarQueryParameter["
|
|
1452
|
+
if (sortOrder !== void 0) {
|
|
1453
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1177
1454
|
}
|
|
1178
1455
|
if (publishPhase !== void 0) {
|
|
1179
1456
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
@@ -1181,21 +1458,18 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1181
1458
|
if (contributor) {
|
|
1182
1459
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1183
1460
|
}
|
|
1184
|
-
if (sortOrder !== void 0) {
|
|
1185
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1186
|
-
}
|
|
1187
1461
|
if (size !== void 0) {
|
|
1188
1462
|
localVarQueryParameter["size"] = size;
|
|
1189
1463
|
}
|
|
1190
1464
|
if (page !== void 0) {
|
|
1191
1465
|
localVarQueryParameter["page"] = page;
|
|
1192
1466
|
}
|
|
1193
|
-
if (fieldSelector) {
|
|
1194
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1195
|
-
}
|
|
1196
1467
|
if (labelSelector) {
|
|
1197
1468
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1198
1469
|
}
|
|
1470
|
+
if (fieldSelector) {
|
|
1471
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1472
|
+
}
|
|
1199
1473
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1200
1474
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1201
1475
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1206,7 +1480,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1206
1480
|
},
|
|
1207
1481
|
publishSinglePage: async (name, options = {}) => {
|
|
1208
1482
|
assertParamExists("publishSinglePage", "name", name);
|
|
1209
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/publish`.replace(
|
|
1483
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/publish`.replace(
|
|
1484
|
+
`{${"name"}}`,
|
|
1485
|
+
encodeURIComponent(String(name))
|
|
1486
|
+
);
|
|
1210
1487
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1211
1488
|
let baseOptions;
|
|
1212
1489
|
if (configuration) {
|
|
@@ -1228,7 +1505,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1228
1505
|
updateDraftSinglePage: async (name, singlePageRequest, options = {}) => {
|
|
1229
1506
|
assertParamExists("updateDraftSinglePage", "name", name);
|
|
1230
1507
|
assertParamExists("updateDraftSinglePage", "singlePageRequest", singlePageRequest);
|
|
1231
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
1508
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
1509
|
+
`{${"name"}}`,
|
|
1510
|
+
encodeURIComponent(String(name))
|
|
1511
|
+
);
|
|
1232
1512
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1233
1513
|
let baseOptions;
|
|
1234
1514
|
if (configuration) {
|
|
@@ -1252,7 +1532,10 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1252
1532
|
updateSinglePageContent: async (name, content, options = {}) => {
|
|
1253
1533
|
assertParamExists("updateSinglePageContent", "name", name);
|
|
1254
1534
|
assertParamExists("updateSinglePageContent", "content", content);
|
|
1255
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/content`.replace(
|
|
1535
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/content`.replace(
|
|
1536
|
+
`{${"name"}}`,
|
|
1537
|
+
encodeURIComponent(String(name))
|
|
1538
|
+
);
|
|
1256
1539
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1257
1540
|
let baseOptions;
|
|
1258
1541
|
if (configuration) {
|
|
@@ -1282,8 +1565,28 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1282
1565
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1283
1566
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1284
1567
|
},
|
|
1285
|
-
async
|
|
1286
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1568
|
+
async fetchSinglePageHeadContent(name, options) {
|
|
1569
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchSinglePageHeadContent(name, options);
|
|
1570
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1571
|
+
},
|
|
1572
|
+
async fetchSinglePageReleaseContent(name, options) {
|
|
1573
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchSinglePageReleaseContent(name, options);
|
|
1574
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1575
|
+
},
|
|
1576
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1577
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(
|
|
1578
|
+
sort,
|
|
1579
|
+
keyword,
|
|
1580
|
+
visible,
|
|
1581
|
+
sortOrder,
|
|
1582
|
+
publishPhase,
|
|
1583
|
+
contributor,
|
|
1584
|
+
size,
|
|
1585
|
+
page,
|
|
1586
|
+
labelSelector,
|
|
1587
|
+
fieldSelector,
|
|
1588
|
+
options
|
|
1589
|
+
);
|
|
1287
1590
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1288
1591
|
},
|
|
1289
1592
|
async publishSinglePage(name, options) {
|
|
@@ -1303,20 +1606,38 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1303
1606
|
const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
1304
1607
|
const localVarFp = ApiConsoleHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
1305
1608
|
return {
|
|
1306
|
-
draftSinglePage(
|
|
1307
|
-
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1308
|
-
},
|
|
1309
|
-
|
|
1310
|
-
return localVarFp.
|
|
1311
|
-
},
|
|
1312
|
-
|
|
1313
|
-
return localVarFp.
|
|
1314
|
-
},
|
|
1315
|
-
|
|
1316
|
-
return localVarFp.
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1609
|
+
draftSinglePage(requestParameters, options) {
|
|
1610
|
+
return localVarFp.draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1611
|
+
},
|
|
1612
|
+
fetchSinglePageHeadContent(requestParameters, options) {
|
|
1613
|
+
return localVarFp.fetchSinglePageHeadContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1614
|
+
},
|
|
1615
|
+
fetchSinglePageReleaseContent(requestParameters, options) {
|
|
1616
|
+
return localVarFp.fetchSinglePageReleaseContent(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1617
|
+
},
|
|
1618
|
+
listSinglePages(requestParameters = {}, options) {
|
|
1619
|
+
return localVarFp.listSinglePages(
|
|
1620
|
+
requestParameters.sort,
|
|
1621
|
+
requestParameters.keyword,
|
|
1622
|
+
requestParameters.visible,
|
|
1623
|
+
requestParameters.sortOrder,
|
|
1624
|
+
requestParameters.publishPhase,
|
|
1625
|
+
requestParameters.contributor,
|
|
1626
|
+
requestParameters.size,
|
|
1627
|
+
requestParameters.page,
|
|
1628
|
+
requestParameters.labelSelector,
|
|
1629
|
+
requestParameters.fieldSelector,
|
|
1630
|
+
options
|
|
1631
|
+
).then((request) => request(axios, basePath));
|
|
1632
|
+
},
|
|
1633
|
+
publishSinglePage(requestParameters, options) {
|
|
1634
|
+
return localVarFp.publishSinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1635
|
+
},
|
|
1636
|
+
updateDraftSinglePage(requestParameters, options) {
|
|
1637
|
+
return localVarFp.updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1638
|
+
},
|
|
1639
|
+
updateSinglePageContent(requestParameters, options) {
|
|
1640
|
+
return localVarFp.updateSinglePageContent(requestParameters.name, requestParameters.content, options).then((request) => request(axios, basePath));
|
|
1320
1641
|
}
|
|
1321
1642
|
};
|
|
1322
1643
|
};
|
|
@@ -1324,8 +1645,26 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1324
1645
|
draftSinglePage(requestParameters, options) {
|
|
1325
1646
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1326
1647
|
}
|
|
1648
|
+
fetchSinglePageHeadContent(requestParameters, options) {
|
|
1649
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).fetchSinglePageHeadContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1650
|
+
}
|
|
1651
|
+
fetchSinglePageReleaseContent(requestParameters, options) {
|
|
1652
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).fetchSinglePageReleaseContent(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1653
|
+
}
|
|
1327
1654
|
listSinglePages(requestParameters = {}, options) {
|
|
1328
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(
|
|
1655
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(
|
|
1656
|
+
requestParameters.sort,
|
|
1657
|
+
requestParameters.keyword,
|
|
1658
|
+
requestParameters.visible,
|
|
1659
|
+
requestParameters.sortOrder,
|
|
1660
|
+
requestParameters.publishPhase,
|
|
1661
|
+
requestParameters.contributor,
|
|
1662
|
+
requestParameters.size,
|
|
1663
|
+
requestParameters.page,
|
|
1664
|
+
requestParameters.labelSelector,
|
|
1665
|
+
requestParameters.fieldSelector,
|
|
1666
|
+
options
|
|
1667
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1329
1668
|
}
|
|
1330
1669
|
publishSinglePage(requestParameters, options) {
|
|
1331
1670
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1389,7 +1728,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1389
1728
|
return {
|
|
1390
1729
|
activateTheme: async (name, options = {}) => {
|
|
1391
1730
|
assertParamExists("activateTheme", "name", name);
|
|
1392
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/activation`.replace(
|
|
1731
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/activation`.replace(
|
|
1732
|
+
`{${"name"}}`,
|
|
1733
|
+
encodeURIComponent(String(name))
|
|
1734
|
+
);
|
|
1393
1735
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1394
1736
|
let baseOptions;
|
|
1395
1737
|
if (configuration) {
|
|
@@ -1430,7 +1772,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1430
1772
|
},
|
|
1431
1773
|
fetchThemeConfig: async (name, options = {}) => {
|
|
1432
1774
|
assertParamExists("fetchThemeConfig", "name", name);
|
|
1433
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1775
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1776
|
+
`{${"name"}}`,
|
|
1777
|
+
encodeURIComponent(String(name))
|
|
1778
|
+
);
|
|
1434
1779
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1435
1780
|
let baseOptions;
|
|
1436
1781
|
if (configuration) {
|
|
@@ -1451,7 +1796,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1451
1796
|
},
|
|
1452
1797
|
fetchThemeSetting: async (name, options = {}) => {
|
|
1453
1798
|
assertParamExists("fetchThemeSetting", "name", name);
|
|
1454
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/setting`.replace(
|
|
1799
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/setting`.replace(
|
|
1800
|
+
`{${"name"}}`,
|
|
1801
|
+
encodeURIComponent(String(name))
|
|
1802
|
+
);
|
|
1455
1803
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1456
1804
|
let baseOptions;
|
|
1457
1805
|
if (configuration) {
|
|
@@ -1497,7 +1845,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1497
1845
|
options: localVarRequestOptions
|
|
1498
1846
|
};
|
|
1499
1847
|
},
|
|
1500
|
-
listThemes: async (uninstalled, size, page,
|
|
1848
|
+
listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1501
1849
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1502
1850
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1503
1851
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1519,12 +1867,12 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1519
1867
|
if (page !== void 0) {
|
|
1520
1868
|
localVarQueryParameter["page"] = page;
|
|
1521
1869
|
}
|
|
1522
|
-
if (fieldSelector) {
|
|
1523
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1524
|
-
}
|
|
1525
1870
|
if (labelSelector) {
|
|
1526
1871
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1527
1872
|
}
|
|
1873
|
+
if (fieldSelector) {
|
|
1874
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1875
|
+
}
|
|
1528
1876
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1529
1877
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1530
1878
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1535,7 +1883,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1535
1883
|
},
|
|
1536
1884
|
reload: async (name, options = {}) => {
|
|
1537
1885
|
assertParamExists("reload", "name", name);
|
|
1538
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(
|
|
1886
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(
|
|
1887
|
+
`{${"name"}}`,
|
|
1888
|
+
encodeURIComponent(String(name))
|
|
1889
|
+
);
|
|
1539
1890
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1540
1891
|
let baseOptions;
|
|
1541
1892
|
if (configuration) {
|
|
@@ -1556,7 +1907,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1556
1907
|
},
|
|
1557
1908
|
resetThemeConfig: async (name, options = {}) => {
|
|
1558
1909
|
assertParamExists("resetThemeConfig", "name", name);
|
|
1559
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reset-config`.replace(
|
|
1910
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reset-config`.replace(
|
|
1911
|
+
`{${"name"}}`,
|
|
1912
|
+
encodeURIComponent(String(name))
|
|
1913
|
+
);
|
|
1560
1914
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1561
1915
|
let baseOptions;
|
|
1562
1916
|
if (configuration) {
|
|
@@ -1578,7 +1932,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1578
1932
|
updateThemeConfig: async (name, configMap, options = {}) => {
|
|
1579
1933
|
assertParamExists("updateThemeConfig", "name", name);
|
|
1580
1934
|
assertParamExists("updateThemeConfig", "configMap", configMap);
|
|
1581
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1935
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(
|
|
1936
|
+
`{${"name"}}`,
|
|
1937
|
+
encodeURIComponent(String(name))
|
|
1938
|
+
);
|
|
1582
1939
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1583
1940
|
let baseOptions;
|
|
1584
1941
|
if (configuration) {
|
|
@@ -1602,7 +1959,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1602
1959
|
upgradeTheme: async (name, file, options = {}) => {
|
|
1603
1960
|
assertParamExists("upgradeTheme", "name", name);
|
|
1604
1961
|
assertParamExists("upgradeTheme", "file", file);
|
|
1605
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/upgrade`.replace(
|
|
1962
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/upgrade`.replace(
|
|
1963
|
+
`{${"name"}}`,
|
|
1964
|
+
encodeURIComponent(String(name))
|
|
1965
|
+
);
|
|
1606
1966
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1607
1967
|
let baseOptions;
|
|
1608
1968
|
if (configuration) {
|
|
@@ -1652,8 +2012,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1652
2012
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1653
2013
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1654
2014
|
},
|
|
1655
|
-
async listThemes(uninstalled, size, page,
|
|
1656
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(
|
|
2015
|
+
async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
2016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(
|
|
2017
|
+
uninstalled,
|
|
2018
|
+
size,
|
|
2019
|
+
page,
|
|
2020
|
+
labelSelector,
|
|
2021
|
+
fieldSelector,
|
|
2022
|
+
options
|
|
2023
|
+
);
|
|
1657
2024
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1658
2025
|
},
|
|
1659
2026
|
async reload(name, options) {
|
|
@@ -1677,35 +2044,42 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1677
2044
|
const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
1678
2045
|
const localVarFp = ApiConsoleHaloRunV1alpha1ThemeApiFp(configuration);
|
|
1679
2046
|
return {
|
|
1680
|
-
activateTheme(
|
|
1681
|
-
return localVarFp.activateTheme(name, options).then((request) => request(axios, basePath));
|
|
2047
|
+
activateTheme(requestParameters, options) {
|
|
2048
|
+
return localVarFp.activateTheme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1682
2049
|
},
|
|
1683
2050
|
fetchActivatedTheme(options) {
|
|
1684
2051
|
return localVarFp.fetchActivatedTheme(options).then((request) => request(axios, basePath));
|
|
1685
2052
|
},
|
|
1686
|
-
fetchThemeConfig(
|
|
1687
|
-
return localVarFp.fetchThemeConfig(name, options).then((request) => request(axios, basePath));
|
|
2053
|
+
fetchThemeConfig(requestParameters, options) {
|
|
2054
|
+
return localVarFp.fetchThemeConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1688
2055
|
},
|
|
1689
|
-
fetchThemeSetting(
|
|
1690
|
-
return localVarFp.fetchThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
2056
|
+
fetchThemeSetting(requestParameters, options) {
|
|
2057
|
+
return localVarFp.fetchThemeSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1691
2058
|
},
|
|
1692
|
-
installTheme(
|
|
1693
|
-
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
2059
|
+
installTheme(requestParameters, options) {
|
|
2060
|
+
return localVarFp.installTheme(requestParameters.file, options).then((request) => request(axios, basePath));
|
|
1694
2061
|
},
|
|
1695
|
-
listThemes(
|
|
1696
|
-
return localVarFp.listThemes(
|
|
2062
|
+
listThemes(requestParameters, options) {
|
|
2063
|
+
return localVarFp.listThemes(
|
|
2064
|
+
requestParameters.uninstalled,
|
|
2065
|
+
requestParameters.size,
|
|
2066
|
+
requestParameters.page,
|
|
2067
|
+
requestParameters.labelSelector,
|
|
2068
|
+
requestParameters.fieldSelector,
|
|
2069
|
+
options
|
|
2070
|
+
).then((request) => request(axios, basePath));
|
|
1697
2071
|
},
|
|
1698
|
-
reload(
|
|
1699
|
-
return localVarFp.reload(name, options).then((request) => request(axios, basePath));
|
|
2072
|
+
reload(requestParameters, options) {
|
|
2073
|
+
return localVarFp.reload(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1700
2074
|
},
|
|
1701
|
-
resetThemeConfig(
|
|
1702
|
-
return localVarFp.resetThemeConfig(name, options).then((request) => request(axios, basePath));
|
|
2075
|
+
resetThemeConfig(requestParameters, options) {
|
|
2076
|
+
return localVarFp.resetThemeConfig(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1703
2077
|
},
|
|
1704
|
-
updateThemeConfig(
|
|
1705
|
-
return localVarFp.updateThemeConfig(name, configMap, options).then((request) => request(axios, basePath));
|
|
2078
|
+
updateThemeConfig(requestParameters, options) {
|
|
2079
|
+
return localVarFp.updateThemeConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
1706
2080
|
},
|
|
1707
|
-
upgradeTheme(
|
|
1708
|
-
return localVarFp.upgradeTheme(name, file, options).then((request) => request(axios, basePath));
|
|
2081
|
+
upgradeTheme(requestParameters, options) {
|
|
2082
|
+
return localVarFp.upgradeTheme(requestParameters.name, requestParameters.file, options).then((request) => request(axios, basePath));
|
|
1709
2083
|
}
|
|
1710
2084
|
};
|
|
1711
2085
|
};
|
|
@@ -1726,7 +2100,14 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1726
2100
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1727
2101
|
}
|
|
1728
2102
|
listThemes(requestParameters, options) {
|
|
1729
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(
|
|
2103
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(
|
|
2104
|
+
requestParameters.uninstalled,
|
|
2105
|
+
requestParameters.size,
|
|
2106
|
+
requestParameters.page,
|
|
2107
|
+
requestParameters.labelSelector,
|
|
2108
|
+
requestParameters.fieldSelector,
|
|
2109
|
+
options
|
|
2110
|
+
).then((request) => request(this.axios, this.basePath));
|
|
1730
2111
|
}
|
|
1731
2112
|
reload(requestParameters, options) {
|
|
1732
2113
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1747,7 +2128,10 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1747
2128
|
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
1748
2129
|
assertParamExists("changePassword", "name", name);
|
|
1749
2130
|
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
1750
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/password`.replace(
|
|
2131
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/password`.replace(
|
|
2132
|
+
`{${"name"}}`,
|
|
2133
|
+
encodeURIComponent(String(name))
|
|
2134
|
+
);
|
|
1751
2135
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1752
2136
|
let baseOptions;
|
|
1753
2137
|
if (configuration) {
|
|
@@ -1790,7 +2174,34 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1790
2174
|
},
|
|
1791
2175
|
getPermissions: async (name, options = {}) => {
|
|
1792
2176
|
assertParamExists("getPermissions", "name", name);
|
|
1793
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2177
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2178
|
+
`{${"name"}}`,
|
|
2179
|
+
encodeURIComponent(String(name))
|
|
2180
|
+
);
|
|
2181
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2182
|
+
let baseOptions;
|
|
2183
|
+
if (configuration) {
|
|
2184
|
+
baseOptions = configuration.baseOptions;
|
|
2185
|
+
}
|
|
2186
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2187
|
+
const localVarHeaderParameter = {};
|
|
2188
|
+
const localVarQueryParameter = {};
|
|
2189
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2190
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2191
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2193
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2194
|
+
return {
|
|
2195
|
+
url: toPathString(localVarUrlObj),
|
|
2196
|
+
options: localVarRequestOptions
|
|
2197
|
+
};
|
|
2198
|
+
},
|
|
2199
|
+
getUserDetail: async (name, options = {}) => {
|
|
2200
|
+
assertParamExists("getUserDetail", "name", name);
|
|
2201
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}`.replace(
|
|
2202
|
+
`{${"name"}}`,
|
|
2203
|
+
encodeURIComponent(String(name))
|
|
2204
|
+
);
|
|
1794
2205
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1795
2206
|
let baseOptions;
|
|
1796
2207
|
if (configuration) {
|
|
@@ -1812,7 +2223,10 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1812
2223
|
grantPermission: async (name, grantRequest, options = {}) => {
|
|
1813
2224
|
assertParamExists("grantPermission", "name", name);
|
|
1814
2225
|
assertParamExists("grantPermission", "grantRequest", grantRequest);
|
|
1815
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2226
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(
|
|
2227
|
+
`{${"name"}}`,
|
|
2228
|
+
encodeURIComponent(String(name))
|
|
2229
|
+
);
|
|
1816
2230
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1817
2231
|
let baseOptions;
|
|
1818
2232
|
if (configuration) {
|
|
@@ -1833,6 +2247,47 @@ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration
|
|
|
1833
2247
|
options: localVarRequestOptions
|
|
1834
2248
|
};
|
|
1835
2249
|
},
|
|
2250
|
+
listUsers: async (sort, keyword, role, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
2251
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users`;
|
|
2252
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2253
|
+
let baseOptions;
|
|
2254
|
+
if (configuration) {
|
|
2255
|
+
baseOptions = configuration.baseOptions;
|
|
2256
|
+
}
|
|
2257
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2258
|
+
const localVarHeaderParameter = {};
|
|
2259
|
+
const localVarQueryParameter = {};
|
|
2260
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2261
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2262
|
+
if (sort) {
|
|
2263
|
+
localVarQueryParameter["sort"] = Array.from(sort);
|
|
2264
|
+
}
|
|
2265
|
+
if (keyword !== void 0) {
|
|
2266
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
2267
|
+
}
|
|
2268
|
+
if (role !== void 0) {
|
|
2269
|
+
localVarQueryParameter["role"] = role;
|
|
2270
|
+
}
|
|
2271
|
+
if (size !== void 0) {
|
|
2272
|
+
localVarQueryParameter["size"] = size;
|
|
2273
|
+
}
|
|
2274
|
+
if (labelSelector) {
|
|
2275
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2276
|
+
}
|
|
2277
|
+
if (fieldSelector) {
|
|
2278
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2279
|
+
}
|
|
2280
|
+
if (page !== void 0) {
|
|
2281
|
+
localVarQueryParameter["page"] = page;
|
|
2282
|
+
}
|
|
2283
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2284
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2285
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2286
|
+
return {
|
|
2287
|
+
url: toPathString(localVarUrlObj),
|
|
2288
|
+
options: localVarRequestOptions
|
|
2289
|
+
};
|
|
2290
|
+
},
|
|
1836
2291
|
updateCurrentUser: async (user, options = {}) => {
|
|
1837
2292
|
assertParamExists("updateCurrentUser", "user", user);
|
|
1838
2293
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/-`;
|
|
@@ -1873,10 +2328,27 @@ const ApiConsoleHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
|
1873
2328
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
1874
2329
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1875
2330
|
},
|
|
2331
|
+
async getUserDetail(name, options) {
|
|
2332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserDetail(name, options);
|
|
2333
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2334
|
+
},
|
|
1876
2335
|
async grantPermission(name, grantRequest, options) {
|
|
1877
2336
|
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
1878
2337
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1879
2338
|
},
|
|
2339
|
+
async listUsers(sort, keyword, role, size, labelSelector, fieldSelector, page, options) {
|
|
2340
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(
|
|
2341
|
+
sort,
|
|
2342
|
+
keyword,
|
|
2343
|
+
role,
|
|
2344
|
+
size,
|
|
2345
|
+
labelSelector,
|
|
2346
|
+
fieldSelector,
|
|
2347
|
+
page,
|
|
2348
|
+
options
|
|
2349
|
+
);
|
|
2350
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2351
|
+
},
|
|
1880
2352
|
async updateCurrentUser(user, options) {
|
|
1881
2353
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCurrentUser(user, options);
|
|
1882
2354
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
@@ -1886,20 +2358,35 @@ const ApiConsoleHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
|
1886
2358
|
const ApiConsoleHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
1887
2359
|
const localVarFp = ApiConsoleHaloRunV1alpha1UserApiFp(configuration);
|
|
1888
2360
|
return {
|
|
1889
|
-
changePassword(
|
|
1890
|
-
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
2361
|
+
changePassword(requestParameters, options) {
|
|
2362
|
+
return localVarFp.changePassword(requestParameters.name, requestParameters.changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
1891
2363
|
},
|
|
1892
2364
|
getCurrentUserDetail(options) {
|
|
1893
2365
|
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
1894
2366
|
},
|
|
1895
|
-
getPermissions(
|
|
1896
|
-
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
1897
|
-
},
|
|
1898
|
-
|
|
1899
|
-
return localVarFp.
|
|
1900
|
-
},
|
|
1901
|
-
|
|
1902
|
-
return localVarFp.
|
|
2367
|
+
getPermissions(requestParameters, options) {
|
|
2368
|
+
return localVarFp.getPermissions(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2369
|
+
},
|
|
2370
|
+
getUserDetail(requestParameters, options) {
|
|
2371
|
+
return localVarFp.getUserDetail(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2372
|
+
},
|
|
2373
|
+
grantPermission(requestParameters, options) {
|
|
2374
|
+
return localVarFp.grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(axios, basePath));
|
|
2375
|
+
},
|
|
2376
|
+
listUsers(requestParameters = {}, options) {
|
|
2377
|
+
return localVarFp.listUsers(
|
|
2378
|
+
requestParameters.sort,
|
|
2379
|
+
requestParameters.keyword,
|
|
2380
|
+
requestParameters.role,
|
|
2381
|
+
requestParameters.size,
|
|
2382
|
+
requestParameters.labelSelector,
|
|
2383
|
+
requestParameters.fieldSelector,
|
|
2384
|
+
requestParameters.page,
|
|
2385
|
+
options
|
|
2386
|
+
).then((request) => request(axios, basePath));
|
|
2387
|
+
},
|
|
2388
|
+
updateCurrentUser(requestParameters, options) {
|
|
2389
|
+
return localVarFp.updateCurrentUser(requestParameters.user, options).then((request) => request(axios, basePath));
|
|
1903
2390
|
}
|
|
1904
2391
|
};
|
|
1905
2392
|
};
|
|
@@ -1913,9 +2400,24 @@ class ApiConsoleHaloRunV1alpha1UserApi extends BaseAPI {
|
|
|
1913
2400
|
getPermissions(requestParameters, options) {
|
|
1914
2401
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1915
2402
|
}
|
|
2403
|
+
getUserDetail(requestParameters, options) {
|
|
2404
|
+
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).getUserDetail(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2405
|
+
}
|
|
1916
2406
|
grantPermission(requestParameters, options) {
|
|
1917
2407
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1918
2408
|
}
|
|
2409
|
+
listUsers(requestParameters = {}, options) {
|
|
2410
|
+
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).listUsers(
|
|
2411
|
+
requestParameters.sort,
|
|
2412
|
+
requestParameters.keyword,
|
|
2413
|
+
requestParameters.role,
|
|
2414
|
+
requestParameters.size,
|
|
2415
|
+
requestParameters.labelSelector,
|
|
2416
|
+
requestParameters.fieldSelector,
|
|
2417
|
+
requestParameters.page,
|
|
2418
|
+
options
|
|
2419
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2420
|
+
}
|
|
1919
2421
|
updateCurrentUser(requestParameters, options) {
|
|
1920
2422
|
return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).updateCurrentUser(requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
1921
2423
|
}
|
|
@@ -1949,7 +2451,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1949
2451
|
createReply1: async (name, replyRequest, options = {}) => {
|
|
1950
2452
|
assertParamExists("createReply1", "name", name);
|
|
1951
2453
|
assertParamExists("createReply1", "replyRequest", replyRequest);
|
|
1952
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2454
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2455
|
+
`{${"name"}}`,
|
|
2456
|
+
encodeURIComponent(String(name))
|
|
2457
|
+
);
|
|
1953
2458
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1954
2459
|
let baseOptions;
|
|
1955
2460
|
if (configuration) {
|
|
@@ -1972,7 +2477,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1972
2477
|
},
|
|
1973
2478
|
getComment: async (name, options = {}) => {
|
|
1974
2479
|
assertParamExists("getComment", "name", name);
|
|
1975
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}`.replace(
|
|
2480
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}`.replace(
|
|
2481
|
+
`{${"name"}}`,
|
|
2482
|
+
encodeURIComponent(String(name))
|
|
2483
|
+
);
|
|
1976
2484
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1977
2485
|
let baseOptions;
|
|
1978
2486
|
if (configuration) {
|
|
@@ -1993,7 +2501,10 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1993
2501
|
},
|
|
1994
2502
|
listCommentReplies: async (name, size, page, options = {}) => {
|
|
1995
2503
|
assertParamExists("listCommentReplies", "name", name);
|
|
1996
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2504
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(
|
|
2505
|
+
`{${"name"}}`,
|
|
2506
|
+
encodeURIComponent(String(name))
|
|
2507
|
+
);
|
|
1997
2508
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1998
2509
|
let baseOptions;
|
|
1999
2510
|
if (configuration) {
|
|
@@ -2081,7 +2592,15 @@ const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2081
2592
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2082
2593
|
},
|
|
2083
2594
|
async listComments1(name, version, kind, group, size, page, options) {
|
|
2084
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments1(
|
|
2595
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments1(
|
|
2596
|
+
name,
|
|
2597
|
+
version,
|
|
2598
|
+
kind,
|
|
2599
|
+
group,
|
|
2600
|
+
size,
|
|
2601
|
+
page,
|
|
2602
|
+
options
|
|
2603
|
+
);
|
|
2085
2604
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2086
2605
|
}
|
|
2087
2606
|
};
|
|
@@ -2089,20 +2608,28 @@ const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2089
2608
|
const ApiHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
2090
2609
|
const localVarFp = ApiHaloRunV1alpha1CommentApiFp(configuration);
|
|
2091
2610
|
return {
|
|
2092
|
-
createComment1(
|
|
2093
|
-
return localVarFp.createComment1(commentRequest, options).then((request) => request(axios, basePath));
|
|
2094
|
-
},
|
|
2095
|
-
createReply1(
|
|
2096
|
-
return localVarFp.createReply1(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
2097
|
-
},
|
|
2098
|
-
getComment(
|
|
2099
|
-
return localVarFp.getComment(name, options).then((request) => request(axios, basePath));
|
|
2100
|
-
},
|
|
2101
|
-
listCommentReplies(
|
|
2102
|
-
return localVarFp.listCommentReplies(name, size, page, options).then((request) => request(axios, basePath));
|
|
2103
|
-
},
|
|
2104
|
-
listComments1(
|
|
2105
|
-
return localVarFp.listComments1(
|
|
2611
|
+
createComment1(requestParameters, options) {
|
|
2612
|
+
return localVarFp.createComment1(requestParameters.commentRequest, options).then((request) => request(axios, basePath));
|
|
2613
|
+
},
|
|
2614
|
+
createReply1(requestParameters, options) {
|
|
2615
|
+
return localVarFp.createReply1(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(axios, basePath));
|
|
2616
|
+
},
|
|
2617
|
+
getComment(requestParameters, options) {
|
|
2618
|
+
return localVarFp.getComment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
2619
|
+
},
|
|
2620
|
+
listCommentReplies(requestParameters, options) {
|
|
2621
|
+
return localVarFp.listCommentReplies(requestParameters.name, requestParameters.size, requestParameters.page, options).then((request) => request(axios, basePath));
|
|
2622
|
+
},
|
|
2623
|
+
listComments1(requestParameters, options) {
|
|
2624
|
+
return localVarFp.listComments1(
|
|
2625
|
+
requestParameters.name,
|
|
2626
|
+
requestParameters.version,
|
|
2627
|
+
requestParameters.kind,
|
|
2628
|
+
requestParameters.group,
|
|
2629
|
+
requestParameters.size,
|
|
2630
|
+
requestParameters.page,
|
|
2631
|
+
options
|
|
2632
|
+
).then((request) => request(axios, basePath));
|
|
2106
2633
|
}
|
|
2107
2634
|
};
|
|
2108
2635
|
};
|
|
@@ -2120,7 +2647,15 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
2120
2647
|
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listCommentReplies(requestParameters.name, requestParameters.size, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
2121
2648
|
}
|
|
2122
2649
|
listComments1(requestParameters, options) {
|
|
2123
|
-
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments1(
|
|
2650
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments1(
|
|
2651
|
+
requestParameters.name,
|
|
2652
|
+
requestParameters.version,
|
|
2653
|
+
requestParameters.kind,
|
|
2654
|
+
requestParameters.group,
|
|
2655
|
+
requestParameters.size,
|
|
2656
|
+
requestParameters.page,
|
|
2657
|
+
options
|
|
2658
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2124
2659
|
}
|
|
2125
2660
|
}
|
|
2126
2661
|
|
|
@@ -2139,12 +2674,12 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2139
2674
|
const localVarQueryParameter = {};
|
|
2140
2675
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2141
2676
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2142
|
-
if (limit !== void 0) {
|
|
2143
|
-
localVarQueryParameter["limit"] = limit;
|
|
2144
|
-
}
|
|
2145
2677
|
if (keyword !== void 0) {
|
|
2146
2678
|
localVarQueryParameter["keyword"] = keyword;
|
|
2147
2679
|
}
|
|
2680
|
+
if (limit !== void 0) {
|
|
2681
|
+
localVarQueryParameter["limit"] = limit;
|
|
2682
|
+
}
|
|
2148
2683
|
if (highlightPreTag !== void 0) {
|
|
2149
2684
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
2150
2685
|
}
|
|
@@ -2165,7 +2700,13 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2165
2700
|
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
2166
2701
|
return {
|
|
2167
2702
|
async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
2168
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(
|
|
2703
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(
|
|
2704
|
+
keyword,
|
|
2705
|
+
limit,
|
|
2706
|
+
highlightPreTag,
|
|
2707
|
+
highlightPostTag,
|
|
2708
|
+
options
|
|
2709
|
+
);
|
|
2169
2710
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2170
2711
|
}
|
|
2171
2712
|
};
|
|
@@ -2173,14 +2714,26 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2173
2714
|
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
2174
2715
|
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
2175
2716
|
return {
|
|
2176
|
-
searchPost(
|
|
2177
|
-
return localVarFp.searchPost(
|
|
2717
|
+
searchPost(requestParameters, options) {
|
|
2718
|
+
return localVarFp.searchPost(
|
|
2719
|
+
requestParameters.keyword,
|
|
2720
|
+
requestParameters.limit,
|
|
2721
|
+
requestParameters.highlightPreTag,
|
|
2722
|
+
requestParameters.highlightPostTag,
|
|
2723
|
+
options
|
|
2724
|
+
).then((request) => request(axios, basePath));
|
|
2178
2725
|
}
|
|
2179
2726
|
};
|
|
2180
2727
|
};
|
|
2181
2728
|
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
2182
2729
|
searchPost(requestParameters, options) {
|
|
2183
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(
|
|
2730
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(
|
|
2731
|
+
requestParameters.keyword,
|
|
2732
|
+
requestParameters.limit,
|
|
2733
|
+
requestParameters.highlightPreTag,
|
|
2734
|
+
requestParameters.highlightPostTag,
|
|
2735
|
+
options
|
|
2736
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2184
2737
|
}
|
|
2185
2738
|
}
|
|
2186
2739
|
|
|
@@ -2277,14 +2830,14 @@ const ApiHaloRunV1alpha1TrackerApiFp = function(configuration) {
|
|
|
2277
2830
|
const ApiHaloRunV1alpha1TrackerApiFactory = function(configuration, basePath, axios) {
|
|
2278
2831
|
const localVarFp = ApiHaloRunV1alpha1TrackerApiFp(configuration);
|
|
2279
2832
|
return {
|
|
2280
|
-
count(
|
|
2281
|
-
return localVarFp.count(counterRequest, options).then((request) => request(axios, basePath));
|
|
2833
|
+
count(requestParameters, options) {
|
|
2834
|
+
return localVarFp.count(requestParameters.counterRequest, options).then((request) => request(axios, basePath));
|
|
2282
2835
|
},
|
|
2283
|
-
downvote(
|
|
2284
|
-
return localVarFp.downvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
2836
|
+
downvote(requestParameters, options) {
|
|
2837
|
+
return localVarFp.downvote(requestParameters.voteRequest, options).then((request) => request(axios, basePath));
|
|
2285
2838
|
},
|
|
2286
|
-
upvote(
|
|
2287
|
-
return localVarFp.upvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
2839
|
+
upvote(requestParameters, options) {
|
|
2840
|
+
return localVarFp.upvote(requestParameters.voteRequest, options).then((request) => request(axios, basePath));
|
|
2288
2841
|
}
|
|
2289
2842
|
};
|
|
2290
2843
|
};
|
|
@@ -2326,7 +2879,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2326
2879
|
},
|
|
2327
2880
|
deletecontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
2328
2881
|
assertParamExists("deletecontentHaloRunV1alpha1Category", "name", name);
|
|
2329
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2882
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2883
|
+
`{${"name"}}`,
|
|
2884
|
+
encodeURIComponent(String(name))
|
|
2885
|
+
);
|
|
2330
2886
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2331
2887
|
let baseOptions;
|
|
2332
2888
|
if (configuration) {
|
|
@@ -2347,7 +2903,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2347
2903
|
},
|
|
2348
2904
|
getcontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
2349
2905
|
assertParamExists("getcontentHaloRunV1alpha1Category", "name", name);
|
|
2350
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2906
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2907
|
+
`{${"name"}}`,
|
|
2908
|
+
encodeURIComponent(String(name))
|
|
2909
|
+
);
|
|
2351
2910
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2352
2911
|
let baseOptions;
|
|
2353
2912
|
if (configuration) {
|
|
@@ -2400,7 +2959,10 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
2400
2959
|
},
|
|
2401
2960
|
updatecontentHaloRunV1alpha1Category: async (name, category, options = {}) => {
|
|
2402
2961
|
assertParamExists("updatecontentHaloRunV1alpha1Category", "name", name);
|
|
2403
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2962
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(
|
|
2963
|
+
`{${"name"}}`,
|
|
2964
|
+
encodeURIComponent(String(name))
|
|
2965
|
+
);
|
|
2404
2966
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2405
2967
|
let baseOptions;
|
|
2406
2968
|
if (configuration) {
|
|
@@ -2439,11 +3001,21 @@ const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
|
|
|
2439
3001
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2440
3002
|
},
|
|
2441
3003
|
async listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
|
|
2442
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(
|
|
3004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(
|
|
3005
|
+
page,
|
|
3006
|
+
size,
|
|
3007
|
+
labelSelector,
|
|
3008
|
+
fieldSelector,
|
|
3009
|
+
options
|
|
3010
|
+
);
|
|
2443
3011
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2444
3012
|
},
|
|
2445
3013
|
async updatecontentHaloRunV1alpha1Category(name, category, options) {
|
|
2446
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(
|
|
3014
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(
|
|
3015
|
+
name,
|
|
3016
|
+
category,
|
|
3017
|
+
options
|
|
3018
|
+
);
|
|
2447
3019
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2448
3020
|
}
|
|
2449
3021
|
};
|
|
@@ -2451,20 +3023,26 @@ const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
|
|
|
2451
3023
|
const ContentHaloRunV1alpha1CategoryApiFactory = function(configuration, basePath, axios) {
|
|
2452
3024
|
const localVarFp = ContentHaloRunV1alpha1CategoryApiFp(configuration);
|
|
2453
3025
|
return {
|
|
2454
|
-
createcontentHaloRunV1alpha1Category(
|
|
2455
|
-
return localVarFp.createcontentHaloRunV1alpha1Category(category, options).then((request) => request(axios, basePath));
|
|
2456
|
-
},
|
|
2457
|
-
deletecontentHaloRunV1alpha1Category(
|
|
2458
|
-
return localVarFp.deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
2459
|
-
},
|
|
2460
|
-
getcontentHaloRunV1alpha1Category(
|
|
2461
|
-
return localVarFp.getcontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
2462
|
-
},
|
|
2463
|
-
listcontentHaloRunV1alpha1Category(
|
|
2464
|
-
return localVarFp.listcontentHaloRunV1alpha1Category(
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
3026
|
+
createcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
3027
|
+
return localVarFp.createcontentHaloRunV1alpha1Category(requestParameters.category, options).then((request) => request(axios, basePath));
|
|
3028
|
+
},
|
|
3029
|
+
deletecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3030
|
+
return localVarFp.deletecontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3031
|
+
},
|
|
3032
|
+
getcontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3033
|
+
return localVarFp.getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3034
|
+
},
|
|
3035
|
+
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
3036
|
+
return localVarFp.listcontentHaloRunV1alpha1Category(
|
|
3037
|
+
requestParameters.page,
|
|
3038
|
+
requestParameters.size,
|
|
3039
|
+
requestParameters.labelSelector,
|
|
3040
|
+
requestParameters.fieldSelector,
|
|
3041
|
+
options
|
|
3042
|
+
).then((request) => request(axios, basePath));
|
|
3043
|
+
},
|
|
3044
|
+
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
3045
|
+
return localVarFp.updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(axios, basePath));
|
|
2468
3046
|
}
|
|
2469
3047
|
};
|
|
2470
3048
|
};
|
|
@@ -2479,7 +3057,13 @@ class ContentHaloRunV1alpha1CategoryApi extends BaseAPI {
|
|
|
2479
3057
|
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2480
3058
|
}
|
|
2481
3059
|
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
2482
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(
|
|
3060
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(
|
|
3061
|
+
requestParameters.page,
|
|
3062
|
+
requestParameters.size,
|
|
3063
|
+
requestParameters.labelSelector,
|
|
3064
|
+
requestParameters.fieldSelector,
|
|
3065
|
+
options
|
|
3066
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2483
3067
|
}
|
|
2484
3068
|
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
2485
3069
|
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2512,7 +3096,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2512
3096
|
},
|
|
2513
3097
|
deletecontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
2514
3098
|
assertParamExists("deletecontentHaloRunV1alpha1Comment", "name", name);
|
|
2515
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3099
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3100
|
+
`{${"name"}}`,
|
|
3101
|
+
encodeURIComponent(String(name))
|
|
3102
|
+
);
|
|
2516
3103
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2517
3104
|
let baseOptions;
|
|
2518
3105
|
if (configuration) {
|
|
@@ -2533,7 +3120,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2533
3120
|
},
|
|
2534
3121
|
getcontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
2535
3122
|
assertParamExists("getcontentHaloRunV1alpha1Comment", "name", name);
|
|
2536
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3123
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3124
|
+
`{${"name"}}`,
|
|
3125
|
+
encodeURIComponent(String(name))
|
|
3126
|
+
);
|
|
2537
3127
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2538
3128
|
let baseOptions;
|
|
2539
3129
|
if (configuration) {
|
|
@@ -2586,7 +3176,10 @@ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration
|
|
|
2586
3176
|
},
|
|
2587
3177
|
updatecontentHaloRunV1alpha1Comment: async (name, comment, options = {}) => {
|
|
2588
3178
|
assertParamExists("updatecontentHaloRunV1alpha1Comment", "name", name);
|
|
2589
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3179
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(
|
|
3180
|
+
`{${"name"}}`,
|
|
3181
|
+
encodeURIComponent(String(name))
|
|
3182
|
+
);
|
|
2590
3183
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2591
3184
|
let baseOptions;
|
|
2592
3185
|
if (configuration) {
|
|
@@ -2625,11 +3218,21 @@ const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2625
3218
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2626
3219
|
},
|
|
2627
3220
|
async listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
|
|
2628
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(
|
|
3221
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(
|
|
3222
|
+
page,
|
|
3223
|
+
size,
|
|
3224
|
+
labelSelector,
|
|
3225
|
+
fieldSelector,
|
|
3226
|
+
options
|
|
3227
|
+
);
|
|
2629
3228
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2630
3229
|
},
|
|
2631
3230
|
async updatecontentHaloRunV1alpha1Comment(name, comment, options) {
|
|
2632
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(
|
|
3231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(
|
|
3232
|
+
name,
|
|
3233
|
+
comment,
|
|
3234
|
+
options
|
|
3235
|
+
);
|
|
2633
3236
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2634
3237
|
}
|
|
2635
3238
|
};
|
|
@@ -2637,20 +3240,26 @@ const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
2637
3240
|
const ContentHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
2638
3241
|
const localVarFp = ContentHaloRunV1alpha1CommentApiFp(configuration);
|
|
2639
3242
|
return {
|
|
2640
|
-
createcontentHaloRunV1alpha1Comment(
|
|
2641
|
-
return localVarFp.createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(axios, basePath));
|
|
2642
|
-
},
|
|
2643
|
-
deletecontentHaloRunV1alpha1Comment(
|
|
2644
|
-
return localVarFp.deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
2645
|
-
},
|
|
2646
|
-
getcontentHaloRunV1alpha1Comment(
|
|
2647
|
-
return localVarFp.getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
2648
|
-
},
|
|
2649
|
-
listcontentHaloRunV1alpha1Comment(
|
|
2650
|
-
return localVarFp.listcontentHaloRunV1alpha1Comment(
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
3243
|
+
createcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
3244
|
+
return localVarFp.createcontentHaloRunV1alpha1Comment(requestParameters.comment, options).then((request) => request(axios, basePath));
|
|
3245
|
+
},
|
|
3246
|
+
deletecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3247
|
+
return localVarFp.deletecontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3248
|
+
},
|
|
3249
|
+
getcontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3250
|
+
return localVarFp.getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3251
|
+
},
|
|
3252
|
+
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
3253
|
+
return localVarFp.listcontentHaloRunV1alpha1Comment(
|
|
3254
|
+
requestParameters.page,
|
|
3255
|
+
requestParameters.size,
|
|
3256
|
+
requestParameters.labelSelector,
|
|
3257
|
+
requestParameters.fieldSelector,
|
|
3258
|
+
options
|
|
3259
|
+
).then((request) => request(axios, basePath));
|
|
3260
|
+
},
|
|
3261
|
+
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
3262
|
+
return localVarFp.updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(axios, basePath));
|
|
2654
3263
|
}
|
|
2655
3264
|
};
|
|
2656
3265
|
};
|
|
@@ -2665,7 +3274,13 @@ class ContentHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
2665
3274
|
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2666
3275
|
}
|
|
2667
3276
|
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
2668
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(
|
|
3277
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(
|
|
3278
|
+
requestParameters.page,
|
|
3279
|
+
requestParameters.size,
|
|
3280
|
+
requestParameters.labelSelector,
|
|
3281
|
+
requestParameters.fieldSelector,
|
|
3282
|
+
options
|
|
3283
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2669
3284
|
}
|
|
2670
3285
|
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
2671
3286
|
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2698,7 +3313,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2698
3313
|
},
|
|
2699
3314
|
deletecontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
2700
3315
|
assertParamExists("deletecontentHaloRunV1alpha1Post", "name", name);
|
|
2701
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3316
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3317
|
+
`{${"name"}}`,
|
|
3318
|
+
encodeURIComponent(String(name))
|
|
3319
|
+
);
|
|
2702
3320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2703
3321
|
let baseOptions;
|
|
2704
3322
|
if (configuration) {
|
|
@@ -2719,7 +3337,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2719
3337
|
},
|
|
2720
3338
|
getcontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
2721
3339
|
assertParamExists("getcontentHaloRunV1alpha1Post", "name", name);
|
|
2722
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3340
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3341
|
+
`{${"name"}}`,
|
|
3342
|
+
encodeURIComponent(String(name))
|
|
3343
|
+
);
|
|
2723
3344
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2724
3345
|
let baseOptions;
|
|
2725
3346
|
if (configuration) {
|
|
@@ -2772,7 +3393,10 @@ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
2772
3393
|
},
|
|
2773
3394
|
updatecontentHaloRunV1alpha1Post: async (name, post, options = {}) => {
|
|
2774
3395
|
assertParamExists("updatecontentHaloRunV1alpha1Post", "name", name);
|
|
2775
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3396
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(
|
|
3397
|
+
`{${"name"}}`,
|
|
3398
|
+
encodeURIComponent(String(name))
|
|
3399
|
+
);
|
|
2776
3400
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2777
3401
|
let baseOptions;
|
|
2778
3402
|
if (configuration) {
|
|
@@ -2811,7 +3435,13 @@ const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2811
3435
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2812
3436
|
},
|
|
2813
3437
|
async listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
|
|
2814
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(
|
|
3438
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(
|
|
3439
|
+
page,
|
|
3440
|
+
size,
|
|
3441
|
+
labelSelector,
|
|
3442
|
+
fieldSelector,
|
|
3443
|
+
options
|
|
3444
|
+
);
|
|
2815
3445
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2816
3446
|
},
|
|
2817
3447
|
async updatecontentHaloRunV1alpha1Post(name, post, options) {
|
|
@@ -2823,20 +3453,26 @@ const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
2823
3453
|
const ContentHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
2824
3454
|
const localVarFp = ContentHaloRunV1alpha1PostApiFp(configuration);
|
|
2825
3455
|
return {
|
|
2826
|
-
createcontentHaloRunV1alpha1Post(
|
|
2827
|
-
return localVarFp.createcontentHaloRunV1alpha1Post(post, options).then((request) => request(axios, basePath));
|
|
2828
|
-
},
|
|
2829
|
-
deletecontentHaloRunV1alpha1Post(
|
|
2830
|
-
return localVarFp.deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
2831
|
-
},
|
|
2832
|
-
getcontentHaloRunV1alpha1Post(
|
|
2833
|
-
return localVarFp.getcontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
2834
|
-
},
|
|
2835
|
-
listcontentHaloRunV1alpha1Post(
|
|
2836
|
-
return localVarFp.listcontentHaloRunV1alpha1Post(
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
3456
|
+
createcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
3457
|
+
return localVarFp.createcontentHaloRunV1alpha1Post(requestParameters.post, options).then((request) => request(axios, basePath));
|
|
3458
|
+
},
|
|
3459
|
+
deletecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3460
|
+
return localVarFp.deletecontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3461
|
+
},
|
|
3462
|
+
getcontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3463
|
+
return localVarFp.getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3464
|
+
},
|
|
3465
|
+
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
3466
|
+
return localVarFp.listcontentHaloRunV1alpha1Post(
|
|
3467
|
+
requestParameters.page,
|
|
3468
|
+
requestParameters.size,
|
|
3469
|
+
requestParameters.labelSelector,
|
|
3470
|
+
requestParameters.fieldSelector,
|
|
3471
|
+
options
|
|
3472
|
+
).then((request) => request(axios, basePath));
|
|
3473
|
+
},
|
|
3474
|
+
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
3475
|
+
return localVarFp.updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(axios, basePath));
|
|
2840
3476
|
}
|
|
2841
3477
|
};
|
|
2842
3478
|
};
|
|
@@ -2851,7 +3487,13 @@ class ContentHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
2851
3487
|
return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2852
3488
|
}
|
|
2853
3489
|
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
2854
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(
|
|
3490
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(
|
|
3491
|
+
requestParameters.page,
|
|
3492
|
+
requestParameters.size,
|
|
3493
|
+
requestParameters.labelSelector,
|
|
3494
|
+
requestParameters.fieldSelector,
|
|
3495
|
+
options
|
|
3496
|
+
).then((request) => request(this.axios, this.basePath));
|
|
2855
3497
|
}
|
|
2856
3498
|
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
2857
3499
|
return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2884,7 +3526,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2884
3526
|
},
|
|
2885
3527
|
deletecontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
2886
3528
|
assertParamExists("deletecontentHaloRunV1alpha1Reply", "name", name);
|
|
2887
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3529
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3530
|
+
`{${"name"}}`,
|
|
3531
|
+
encodeURIComponent(String(name))
|
|
3532
|
+
);
|
|
2888
3533
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2889
3534
|
let baseOptions;
|
|
2890
3535
|
if (configuration) {
|
|
@@ -2905,7 +3550,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2905
3550
|
},
|
|
2906
3551
|
getcontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
2907
3552
|
assertParamExists("getcontentHaloRunV1alpha1Reply", "name", name);
|
|
2908
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3553
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3554
|
+
`{${"name"}}`,
|
|
3555
|
+
encodeURIComponent(String(name))
|
|
3556
|
+
);
|
|
2909
3557
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2910
3558
|
let baseOptions;
|
|
2911
3559
|
if (configuration) {
|
|
@@ -2958,7 +3606,10 @@ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration)
|
|
|
2958
3606
|
},
|
|
2959
3607
|
updatecontentHaloRunV1alpha1Reply: async (name, reply, options = {}) => {
|
|
2960
3608
|
assertParamExists("updatecontentHaloRunV1alpha1Reply", "name", name);
|
|
2961
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3609
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(
|
|
3610
|
+
`{${"name"}}`,
|
|
3611
|
+
encodeURIComponent(String(name))
|
|
3612
|
+
);
|
|
2962
3613
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2963
3614
|
let baseOptions;
|
|
2964
3615
|
if (configuration) {
|
|
@@ -2997,7 +3648,13 @@ const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
2997
3648
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2998
3649
|
},
|
|
2999
3650
|
async listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
|
|
3000
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(
|
|
3651
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(
|
|
3652
|
+
page,
|
|
3653
|
+
size,
|
|
3654
|
+
labelSelector,
|
|
3655
|
+
fieldSelector,
|
|
3656
|
+
options
|
|
3657
|
+
);
|
|
3001
3658
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3002
3659
|
},
|
|
3003
3660
|
async updatecontentHaloRunV1alpha1Reply(name, reply, options) {
|
|
@@ -3009,20 +3666,26 @@ const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
3009
3666
|
const ContentHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
3010
3667
|
const localVarFp = ContentHaloRunV1alpha1ReplyApiFp(configuration);
|
|
3011
3668
|
return {
|
|
3012
|
-
createcontentHaloRunV1alpha1Reply(
|
|
3013
|
-
return localVarFp.createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(axios, basePath));
|
|
3014
|
-
},
|
|
3015
|
-
deletecontentHaloRunV1alpha1Reply(
|
|
3016
|
-
return localVarFp.deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
3017
|
-
},
|
|
3018
|
-
getcontentHaloRunV1alpha1Reply(
|
|
3019
|
-
return localVarFp.getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
3020
|
-
},
|
|
3021
|
-
listcontentHaloRunV1alpha1Reply(
|
|
3022
|
-
return localVarFp.listcontentHaloRunV1alpha1Reply(
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3669
|
+
createcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3670
|
+
return localVarFp.createcontentHaloRunV1alpha1Reply(requestParameters.reply, options).then((request) => request(axios, basePath));
|
|
3671
|
+
},
|
|
3672
|
+
deletecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3673
|
+
return localVarFp.deletecontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3674
|
+
},
|
|
3675
|
+
getcontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3676
|
+
return localVarFp.getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3677
|
+
},
|
|
3678
|
+
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3679
|
+
return localVarFp.listcontentHaloRunV1alpha1Reply(
|
|
3680
|
+
requestParameters.page,
|
|
3681
|
+
requestParameters.size,
|
|
3682
|
+
requestParameters.labelSelector,
|
|
3683
|
+
requestParameters.fieldSelector,
|
|
3684
|
+
options
|
|
3685
|
+
).then((request) => request(axios, basePath));
|
|
3686
|
+
},
|
|
3687
|
+
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3688
|
+
return localVarFp.updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(axios, basePath));
|
|
3026
3689
|
}
|
|
3027
3690
|
};
|
|
3028
3691
|
};
|
|
@@ -3037,7 +3700,13 @@ class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
|
3037
3700
|
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3038
3701
|
}
|
|
3039
3702
|
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
3040
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(
|
|
3703
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(
|
|
3704
|
+
requestParameters.page,
|
|
3705
|
+
requestParameters.size,
|
|
3706
|
+
requestParameters.labelSelector,
|
|
3707
|
+
requestParameters.fieldSelector,
|
|
3708
|
+
options
|
|
3709
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3041
3710
|
}
|
|
3042
3711
|
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
3043
3712
|
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3070,7 +3739,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3070
3739
|
},
|
|
3071
3740
|
deletecontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
3072
3741
|
assertParamExists("deletecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3073
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3742
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3743
|
+
`{${"name"}}`,
|
|
3744
|
+
encodeURIComponent(String(name))
|
|
3745
|
+
);
|
|
3074
3746
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3075
3747
|
let baseOptions;
|
|
3076
3748
|
if (configuration) {
|
|
@@ -3091,7 +3763,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3091
3763
|
},
|
|
3092
3764
|
getcontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
3093
3765
|
assertParamExists("getcontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3094
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3766
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3767
|
+
`{${"name"}}`,
|
|
3768
|
+
encodeURIComponent(String(name))
|
|
3769
|
+
);
|
|
3095
3770
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3096
3771
|
let baseOptions;
|
|
3097
3772
|
if (configuration) {
|
|
@@ -3144,7 +3819,10 @@ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configurat
|
|
|
3144
3819
|
},
|
|
3145
3820
|
updatecontentHaloRunV1alpha1SinglePage: async (name, singlePage, options = {}) => {
|
|
3146
3821
|
assertParamExists("updatecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
3147
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3822
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(
|
|
3823
|
+
`{${"name"}}`,
|
|
3824
|
+
encodeURIComponent(String(name))
|
|
3825
|
+
);
|
|
3148
3826
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3149
3827
|
let baseOptions;
|
|
3150
3828
|
if (configuration) {
|
|
@@ -3171,7 +3849,10 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3171
3849
|
const localVarAxiosParamCreator = ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
|
|
3172
3850
|
return {
|
|
3173
3851
|
async createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
|
|
3174
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(
|
|
3852
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(
|
|
3853
|
+
singlePage,
|
|
3854
|
+
options
|
|
3855
|
+
);
|
|
3175
3856
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3176
3857
|
},
|
|
3177
3858
|
async deletecontentHaloRunV1alpha1SinglePage(name, options) {
|
|
@@ -3183,11 +3864,21 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3183
3864
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3184
3865
|
},
|
|
3185
3866
|
async listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
|
|
3186
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(
|
|
3867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(
|
|
3868
|
+
page,
|
|
3869
|
+
size,
|
|
3870
|
+
labelSelector,
|
|
3871
|
+
fieldSelector,
|
|
3872
|
+
options
|
|
3873
|
+
);
|
|
3187
3874
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3188
3875
|
},
|
|
3189
3876
|
async updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
|
|
3190
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(
|
|
3877
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(
|
|
3878
|
+
name,
|
|
3879
|
+
singlePage,
|
|
3880
|
+
options
|
|
3881
|
+
);
|
|
3191
3882
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3192
3883
|
}
|
|
3193
3884
|
};
|
|
@@ -3195,20 +3886,26 @@ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
3195
3886
|
const ContentHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
3196
3887
|
const localVarFp = ContentHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
3197
3888
|
return {
|
|
3198
|
-
createcontentHaloRunV1alpha1SinglePage(
|
|
3199
|
-
return localVarFp.createcontentHaloRunV1alpha1SinglePage(singlePage, options).then((request) => request(axios, basePath));
|
|
3200
|
-
},
|
|
3201
|
-
deletecontentHaloRunV1alpha1SinglePage(
|
|
3202
|
-
return localVarFp.deletecontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
3203
|
-
},
|
|
3204
|
-
getcontentHaloRunV1alpha1SinglePage(
|
|
3205
|
-
return localVarFp.getcontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
3206
|
-
},
|
|
3207
|
-
listcontentHaloRunV1alpha1SinglePage(
|
|
3208
|
-
return localVarFp.listcontentHaloRunV1alpha1SinglePage(
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3889
|
+
createcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3890
|
+
return localVarFp.createcontentHaloRunV1alpha1SinglePage(requestParameters.singlePage, options).then((request) => request(axios, basePath));
|
|
3891
|
+
},
|
|
3892
|
+
deletecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3893
|
+
return localVarFp.deletecontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3894
|
+
},
|
|
3895
|
+
getcontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3896
|
+
return localVarFp.getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
3897
|
+
},
|
|
3898
|
+
listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3899
|
+
return localVarFp.listcontentHaloRunV1alpha1SinglePage(
|
|
3900
|
+
requestParameters.page,
|
|
3901
|
+
requestParameters.size,
|
|
3902
|
+
requestParameters.labelSelector,
|
|
3903
|
+
requestParameters.fieldSelector,
|
|
3904
|
+
options
|
|
3905
|
+
).then((request) => request(axios, basePath));
|
|
3906
|
+
},
|
|
3907
|
+
updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3908
|
+
return localVarFp.updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(axios, basePath));
|
|
3212
3909
|
}
|
|
3213
3910
|
};
|
|
3214
3911
|
};
|
|
@@ -3223,7 +3920,13 @@ class ContentHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
3223
3920
|
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3224
3921
|
}
|
|
3225
3922
|
listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
3226
|
-
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(
|
|
3923
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(
|
|
3924
|
+
requestParameters.page,
|
|
3925
|
+
requestParameters.size,
|
|
3926
|
+
requestParameters.labelSelector,
|
|
3927
|
+
requestParameters.fieldSelector,
|
|
3928
|
+
options
|
|
3929
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3227
3930
|
}
|
|
3228
3931
|
updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
3229
3932
|
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3256,7 +3959,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3256
3959
|
},
|
|
3257
3960
|
deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
3258
3961
|
assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3259
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3962
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3963
|
+
`{${"name"}}`,
|
|
3964
|
+
encodeURIComponent(String(name))
|
|
3965
|
+
);
|
|
3260
3966
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3261
3967
|
let baseOptions;
|
|
3262
3968
|
if (configuration) {
|
|
@@ -3277,7 +3983,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3277
3983
|
},
|
|
3278
3984
|
getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
3279
3985
|
assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3280
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3986
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
3987
|
+
`{${"name"}}`,
|
|
3988
|
+
encodeURIComponent(String(name))
|
|
3989
|
+
);
|
|
3281
3990
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3282
3991
|
let baseOptions;
|
|
3283
3992
|
if (configuration) {
|
|
@@ -3330,7 +4039,10 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
3330
4039
|
},
|
|
3331
4040
|
updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
|
|
3332
4041
|
assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
3333
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
4042
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(
|
|
4043
|
+
`{${"name"}}`,
|
|
4044
|
+
encodeURIComponent(String(name))
|
|
4045
|
+
);
|
|
3334
4046
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3335
4047
|
let baseOptions;
|
|
3336
4048
|
if (configuration) {
|
|
@@ -3369,11 +4081,21 @@ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
|
3369
4081
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3370
4082
|
},
|
|
3371
4083
|
async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
3372
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(
|
|
4084
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(
|
|
4085
|
+
page,
|
|
4086
|
+
size,
|
|
4087
|
+
labelSelector,
|
|
4088
|
+
fieldSelector,
|
|
4089
|
+
options
|
|
4090
|
+
);
|
|
3373
4091
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3374
4092
|
},
|
|
3375
4093
|
async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
3376
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(
|
|
4094
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(
|
|
4095
|
+
name,
|
|
4096
|
+
snapshot,
|
|
4097
|
+
options
|
|
4098
|
+
);
|
|
3377
4099
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3378
4100
|
}
|
|
3379
4101
|
};
|
|
@@ -3381,20 +4103,26 @@ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
|
3381
4103
|
const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
|
|
3382
4104
|
const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
|
|
3383
4105
|
return {
|
|
3384
|
-
createcontentHaloRunV1alpha1Snapshot(
|
|
3385
|
-
return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
|
|
3386
|
-
},
|
|
3387
|
-
deletecontentHaloRunV1alpha1Snapshot(
|
|
3388
|
-
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
3389
|
-
},
|
|
3390
|
-
getcontentHaloRunV1alpha1Snapshot(
|
|
3391
|
-
return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
3392
|
-
},
|
|
3393
|
-
listcontentHaloRunV1alpha1Snapshot(
|
|
3394
|
-
return localVarFp.listcontentHaloRunV1alpha1Snapshot(
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
4106
|
+
createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
4107
|
+
return localVarFp.createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(axios, basePath));
|
|
4108
|
+
},
|
|
4109
|
+
deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4110
|
+
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4111
|
+
},
|
|
4112
|
+
getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4113
|
+
return localVarFp.getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4114
|
+
},
|
|
4115
|
+
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
4116
|
+
return localVarFp.listcontentHaloRunV1alpha1Snapshot(
|
|
4117
|
+
requestParameters.page,
|
|
4118
|
+
requestParameters.size,
|
|
4119
|
+
requestParameters.labelSelector,
|
|
4120
|
+
requestParameters.fieldSelector,
|
|
4121
|
+
options
|
|
4122
|
+
).then((request) => request(axios, basePath));
|
|
4123
|
+
},
|
|
4124
|
+
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
4125
|
+
return localVarFp.updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(axios, basePath));
|
|
3398
4126
|
}
|
|
3399
4127
|
};
|
|
3400
4128
|
};
|
|
@@ -3409,7 +4137,13 @@ class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
|
|
|
3409
4137
|
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3410
4138
|
}
|
|
3411
4139
|
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
3412
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(
|
|
4140
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(
|
|
4141
|
+
requestParameters.page,
|
|
4142
|
+
requestParameters.size,
|
|
4143
|
+
requestParameters.labelSelector,
|
|
4144
|
+
requestParameters.fieldSelector,
|
|
4145
|
+
options
|
|
4146
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3413
4147
|
}
|
|
3414
4148
|
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
3415
4149
|
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3442,7 +4176,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3442
4176
|
},
|
|
3443
4177
|
deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
3444
4178
|
assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
|
|
3445
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4179
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4180
|
+
`{${"name"}}`,
|
|
4181
|
+
encodeURIComponent(String(name))
|
|
4182
|
+
);
|
|
3446
4183
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3447
4184
|
let baseOptions;
|
|
3448
4185
|
if (configuration) {
|
|
@@ -3463,7 +4200,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3463
4200
|
},
|
|
3464
4201
|
getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
3465
4202
|
assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
|
|
3466
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4203
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4204
|
+
`{${"name"}}`,
|
|
4205
|
+
encodeURIComponent(String(name))
|
|
4206
|
+
);
|
|
3467
4207
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3468
4208
|
let baseOptions;
|
|
3469
4209
|
if (configuration) {
|
|
@@ -3516,7 +4256,10 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
3516
4256
|
},
|
|
3517
4257
|
updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
|
|
3518
4258
|
assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
|
|
3519
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4259
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(
|
|
4260
|
+
`{${"name"}}`,
|
|
4261
|
+
encodeURIComponent(String(name))
|
|
4262
|
+
);
|
|
3520
4263
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3521
4264
|
let baseOptions;
|
|
3522
4265
|
if (configuration) {
|
|
@@ -3555,7 +4298,13 @@ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
|
3555
4298
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3556
4299
|
},
|
|
3557
4300
|
async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
3558
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(
|
|
4301
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(
|
|
4302
|
+
page,
|
|
4303
|
+
size,
|
|
4304
|
+
labelSelector,
|
|
4305
|
+
fieldSelector,
|
|
4306
|
+
options
|
|
4307
|
+
);
|
|
3559
4308
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3560
4309
|
},
|
|
3561
4310
|
async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
@@ -3567,20 +4316,26 @@ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
|
3567
4316
|
const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
|
|
3568
4317
|
const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
|
|
3569
4318
|
return {
|
|
3570
|
-
createcontentHaloRunV1alpha1Tag(
|
|
3571
|
-
return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
|
|
3572
|
-
},
|
|
3573
|
-
deletecontentHaloRunV1alpha1Tag(
|
|
3574
|
-
return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
3575
|
-
},
|
|
3576
|
-
getcontentHaloRunV1alpha1Tag(
|
|
3577
|
-
return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
3578
|
-
},
|
|
3579
|
-
listcontentHaloRunV1alpha1Tag(
|
|
3580
|
-
return localVarFp.listcontentHaloRunV1alpha1Tag(
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
4319
|
+
createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
4320
|
+
return localVarFp.createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(axios, basePath));
|
|
4321
|
+
},
|
|
4322
|
+
deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4323
|
+
return localVarFp.deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4324
|
+
},
|
|
4325
|
+
getcontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4326
|
+
return localVarFp.getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4327
|
+
},
|
|
4328
|
+
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
4329
|
+
return localVarFp.listcontentHaloRunV1alpha1Tag(
|
|
4330
|
+
requestParameters.page,
|
|
4331
|
+
requestParameters.size,
|
|
4332
|
+
requestParameters.labelSelector,
|
|
4333
|
+
requestParameters.fieldSelector,
|
|
4334
|
+
options
|
|
4335
|
+
).then((request) => request(axios, basePath));
|
|
4336
|
+
},
|
|
4337
|
+
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
4338
|
+
return localVarFp.updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(axios, basePath));
|
|
3584
4339
|
}
|
|
3585
4340
|
};
|
|
3586
4341
|
};
|
|
@@ -3595,7 +4350,13 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
3595
4350
|
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3596
4351
|
}
|
|
3597
4352
|
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
3598
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(
|
|
4353
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(
|
|
4354
|
+
requestParameters.page,
|
|
4355
|
+
requestParameters.size,
|
|
4356
|
+
requestParameters.labelSelector,
|
|
4357
|
+
requestParameters.fieldSelector,
|
|
4358
|
+
options
|
|
4359
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3599
4360
|
}
|
|
3600
4361
|
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
3601
4362
|
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3628,7 +4389,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3628
4389
|
},
|
|
3629
4390
|
deletemetricsHaloRunV1alpha1Counter: async (name, options = {}) => {
|
|
3630
4391
|
assertParamExists("deletemetricsHaloRunV1alpha1Counter", "name", name);
|
|
3631
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4392
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4393
|
+
`{${"name"}}`,
|
|
4394
|
+
encodeURIComponent(String(name))
|
|
4395
|
+
);
|
|
3632
4396
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3633
4397
|
let baseOptions;
|
|
3634
4398
|
if (configuration) {
|
|
@@ -3649,7 +4413,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3649
4413
|
},
|
|
3650
4414
|
getmetricsHaloRunV1alpha1Counter: async (name, options = {}) => {
|
|
3651
4415
|
assertParamExists("getmetricsHaloRunV1alpha1Counter", "name", name);
|
|
3652
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4416
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4417
|
+
`{${"name"}}`,
|
|
4418
|
+
encodeURIComponent(String(name))
|
|
4419
|
+
);
|
|
3653
4420
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3654
4421
|
let baseOptions;
|
|
3655
4422
|
if (configuration) {
|
|
@@ -3702,7 +4469,10 @@ const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration
|
|
|
3702
4469
|
},
|
|
3703
4470
|
updatemetricsHaloRunV1alpha1Counter: async (name, counter, options = {}) => {
|
|
3704
4471
|
assertParamExists("updatemetricsHaloRunV1alpha1Counter", "name", name);
|
|
3705
|
-
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4472
|
+
const localVarPath = `/apis/metrics.halo.run/v1alpha1/counters/{name}`.replace(
|
|
4473
|
+
`{${"name"}}`,
|
|
4474
|
+
encodeURIComponent(String(name))
|
|
4475
|
+
);
|
|
3706
4476
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3707
4477
|
let baseOptions;
|
|
3708
4478
|
if (configuration) {
|
|
@@ -3741,11 +4511,21 @@ const MetricsHaloRunV1alpha1CounterApiFp = function(configuration) {
|
|
|
3741
4511
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3742
4512
|
},
|
|
3743
4513
|
async listmetricsHaloRunV1alpha1Counter(page, size, labelSelector, fieldSelector, options) {
|
|
3744
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listmetricsHaloRunV1alpha1Counter(
|
|
4514
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listmetricsHaloRunV1alpha1Counter(
|
|
4515
|
+
page,
|
|
4516
|
+
size,
|
|
4517
|
+
labelSelector,
|
|
4518
|
+
fieldSelector,
|
|
4519
|
+
options
|
|
4520
|
+
);
|
|
3745
4521
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3746
4522
|
},
|
|
3747
4523
|
async updatemetricsHaloRunV1alpha1Counter(name, counter, options) {
|
|
3748
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatemetricsHaloRunV1alpha1Counter(
|
|
4524
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatemetricsHaloRunV1alpha1Counter(
|
|
4525
|
+
name,
|
|
4526
|
+
counter,
|
|
4527
|
+
options
|
|
4528
|
+
);
|
|
3749
4529
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3750
4530
|
}
|
|
3751
4531
|
};
|
|
@@ -3753,20 +4533,26 @@ const MetricsHaloRunV1alpha1CounterApiFp = function(configuration) {
|
|
|
3753
4533
|
const MetricsHaloRunV1alpha1CounterApiFactory = function(configuration, basePath, axios) {
|
|
3754
4534
|
const localVarFp = MetricsHaloRunV1alpha1CounterApiFp(configuration);
|
|
3755
4535
|
return {
|
|
3756
|
-
createmetricsHaloRunV1alpha1Counter(
|
|
3757
|
-
return localVarFp.createmetricsHaloRunV1alpha1Counter(counter, options).then((request) => request(axios, basePath));
|
|
3758
|
-
},
|
|
3759
|
-
deletemetricsHaloRunV1alpha1Counter(
|
|
3760
|
-
return localVarFp.deletemetricsHaloRunV1alpha1Counter(name, options).then((request) => request(axios, basePath));
|
|
3761
|
-
},
|
|
3762
|
-
getmetricsHaloRunV1alpha1Counter(
|
|
3763
|
-
return localVarFp.getmetricsHaloRunV1alpha1Counter(name, options).then((request) => request(axios, basePath));
|
|
3764
|
-
},
|
|
3765
|
-
listmetricsHaloRunV1alpha1Counter(
|
|
3766
|
-
return localVarFp.listmetricsHaloRunV1alpha1Counter(
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
4536
|
+
createmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
4537
|
+
return localVarFp.createmetricsHaloRunV1alpha1Counter(requestParameters.counter, options).then((request) => request(axios, basePath));
|
|
4538
|
+
},
|
|
4539
|
+
deletemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4540
|
+
return localVarFp.deletemetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4541
|
+
},
|
|
4542
|
+
getmetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4543
|
+
return localVarFp.getmetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4544
|
+
},
|
|
4545
|
+
listmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
4546
|
+
return localVarFp.listmetricsHaloRunV1alpha1Counter(
|
|
4547
|
+
requestParameters.page,
|
|
4548
|
+
requestParameters.size,
|
|
4549
|
+
requestParameters.labelSelector,
|
|
4550
|
+
requestParameters.fieldSelector,
|
|
4551
|
+
options
|
|
4552
|
+
).then((request) => request(axios, basePath));
|
|
4553
|
+
},
|
|
4554
|
+
updatemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
4555
|
+
return localVarFp.updatemetricsHaloRunV1alpha1Counter(requestParameters.name, requestParameters.counter, options).then((request) => request(axios, basePath));
|
|
3770
4556
|
}
|
|
3771
4557
|
};
|
|
3772
4558
|
};
|
|
@@ -3781,67 +4567,19 @@ class MetricsHaloRunV1alpha1CounterApi extends BaseAPI {
|
|
|
3781
4567
|
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).getmetricsHaloRunV1alpha1Counter(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3782
4568
|
}
|
|
3783
4569
|
listmetricsHaloRunV1alpha1Counter(requestParameters = {}, options) {
|
|
3784
|
-
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).listmetricsHaloRunV1alpha1Counter(
|
|
4570
|
+
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).listmetricsHaloRunV1alpha1Counter(
|
|
4571
|
+
requestParameters.page,
|
|
4572
|
+
requestParameters.size,
|
|
4573
|
+
requestParameters.labelSelector,
|
|
4574
|
+
requestParameters.fieldSelector,
|
|
4575
|
+
options
|
|
4576
|
+
).then((request) => request(this.axios, this.basePath));
|
|
3785
4577
|
}
|
|
3786
4578
|
updatemetricsHaloRunV1alpha1Counter(requestParameters, options) {
|
|
3787
4579
|
return MetricsHaloRunV1alpha1CounterApiFp(this.configuration).updatemetricsHaloRunV1alpha1Counter(requestParameters.name, requestParameters.counter, options).then((request) => request(this.axios, this.basePath));
|
|
3788
4580
|
}
|
|
3789
4581
|
}
|
|
3790
4582
|
|
|
3791
|
-
const MigrationControllerApiAxiosParamCreator = function(configuration) {
|
|
3792
|
-
return {
|
|
3793
|
-
importMigrationData: async (file, options = {}) => {
|
|
3794
|
-
assertParamExists("importMigrationData", "file", file);
|
|
3795
|
-
const localVarPath = `/apis/api.plugin.halo.run/v1alpha1/plugins/PluginMigrate/migrations/import`;
|
|
3796
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3797
|
-
let baseOptions;
|
|
3798
|
-
if (configuration) {
|
|
3799
|
-
baseOptions = configuration.baseOptions;
|
|
3800
|
-
}
|
|
3801
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3802
|
-
const localVarHeaderParameter = {};
|
|
3803
|
-
const localVarQueryParameter = {};
|
|
3804
|
-
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
3805
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3806
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3807
|
-
if (file !== void 0) {
|
|
3808
|
-
localVarFormParams.append("file", file);
|
|
3809
|
-
}
|
|
3810
|
-
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
3811
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3812
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3813
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3814
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
3815
|
-
return {
|
|
3816
|
-
url: toPathString(localVarUrlObj),
|
|
3817
|
-
options: localVarRequestOptions
|
|
3818
|
-
};
|
|
3819
|
-
}
|
|
3820
|
-
};
|
|
3821
|
-
};
|
|
3822
|
-
const MigrationControllerApiFp = function(configuration) {
|
|
3823
|
-
const localVarAxiosParamCreator = MigrationControllerApiAxiosParamCreator(configuration);
|
|
3824
|
-
return {
|
|
3825
|
-
async importMigrationData(file, options) {
|
|
3826
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importMigrationData(file, options);
|
|
3827
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3828
|
-
}
|
|
3829
|
-
};
|
|
3830
|
-
};
|
|
3831
|
-
const MigrationControllerApiFactory = function(configuration, basePath, axios) {
|
|
3832
|
-
const localVarFp = MigrationControllerApiFp(configuration);
|
|
3833
|
-
return {
|
|
3834
|
-
importMigrationData(file, options) {
|
|
3835
|
-
return localVarFp.importMigrationData(file, options).then((request) => request(axios, basePath));
|
|
3836
|
-
}
|
|
3837
|
-
};
|
|
3838
|
-
};
|
|
3839
|
-
class MigrationControllerApi extends BaseAPI {
|
|
3840
|
-
importMigrationData(requestParameters, options) {
|
|
3841
|
-
return MigrationControllerApiFp(this.configuration).importMigrationData(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
3842
|
-
}
|
|
3843
|
-
}
|
|
3844
|
-
|
|
3845
4583
|
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
3846
4584
|
return {
|
|
3847
4585
|
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
@@ -3868,7 +4606,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3868
4606
|
},
|
|
3869
4607
|
deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
3870
4608
|
assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
|
|
3871
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4609
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4610
|
+
`{${"name"}}`,
|
|
4611
|
+
encodeURIComponent(String(name))
|
|
4612
|
+
);
|
|
3872
4613
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3873
4614
|
let baseOptions;
|
|
3874
4615
|
if (configuration) {
|
|
@@ -3889,7 +4630,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3889
4630
|
},
|
|
3890
4631
|
getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
3891
4632
|
assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
|
|
3892
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4633
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4634
|
+
`{${"name"}}`,
|
|
4635
|
+
encodeURIComponent(String(name))
|
|
4636
|
+
);
|
|
3893
4637
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3894
4638
|
let baseOptions;
|
|
3895
4639
|
if (configuration) {
|
|
@@ -3942,7 +4686,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
3942
4686
|
},
|
|
3943
4687
|
updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
|
|
3944
4688
|
assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
|
|
3945
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4689
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(
|
|
4690
|
+
`{${"name"}}`,
|
|
4691
|
+
encodeURIComponent(String(name))
|
|
4692
|
+
);
|
|
3946
4693
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3947
4694
|
let baseOptions;
|
|
3948
4695
|
if (configuration) {
|
|
@@ -3981,7 +4728,13 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
3981
4728
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3982
4729
|
},
|
|
3983
4730
|
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
3984
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(
|
|
4731
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(
|
|
4732
|
+
page,
|
|
4733
|
+
size,
|
|
4734
|
+
labelSelector,
|
|
4735
|
+
fieldSelector,
|
|
4736
|
+
options
|
|
4737
|
+
);
|
|
3985
4738
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3986
4739
|
},
|
|
3987
4740
|
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
@@ -3993,20 +4746,26 @@ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
3993
4746
|
const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
3994
4747
|
const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
|
|
3995
4748
|
return {
|
|
3996
|
-
createpluginHaloRunV1alpha1Plugin(
|
|
3997
|
-
return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
|
|
3998
|
-
},
|
|
3999
|
-
deletepluginHaloRunV1alpha1Plugin(
|
|
4000
|
-
return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
4001
|
-
},
|
|
4002
|
-
getpluginHaloRunV1alpha1Plugin(
|
|
4003
|
-
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
4004
|
-
},
|
|
4005
|
-
listpluginHaloRunV1alpha1Plugin(
|
|
4006
|
-
return localVarFp.listpluginHaloRunV1alpha1Plugin(
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4749
|
+
createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
4750
|
+
return localVarFp.createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(axios, basePath));
|
|
4751
|
+
},
|
|
4752
|
+
deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4753
|
+
return localVarFp.deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4754
|
+
},
|
|
4755
|
+
getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4756
|
+
return localVarFp.getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4757
|
+
},
|
|
4758
|
+
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
4759
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(
|
|
4760
|
+
requestParameters.page,
|
|
4761
|
+
requestParameters.size,
|
|
4762
|
+
requestParameters.labelSelector,
|
|
4763
|
+
requestParameters.fieldSelector,
|
|
4764
|
+
options
|
|
4765
|
+
).then((request) => request(axios, basePath));
|
|
4766
|
+
},
|
|
4767
|
+
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4768
|
+
return localVarFp.updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(axios, basePath));
|
|
4010
4769
|
}
|
|
4011
4770
|
};
|
|
4012
4771
|
};
|
|
@@ -4021,7 +4780,13 @@ class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
4021
4780
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4022
4781
|
}
|
|
4023
4782
|
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
4024
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(
|
|
4783
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(
|
|
4784
|
+
requestParameters.page,
|
|
4785
|
+
requestParameters.size,
|
|
4786
|
+
requestParameters.labelSelector,
|
|
4787
|
+
requestParameters.fieldSelector,
|
|
4788
|
+
options
|
|
4789
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4025
4790
|
}
|
|
4026
4791
|
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
4027
4792
|
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4054,7 +4819,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4054
4819
|
},
|
|
4055
4820
|
deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
4056
4821
|
assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4057
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4822
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4823
|
+
`{${"name"}}`,
|
|
4824
|
+
encodeURIComponent(String(name))
|
|
4825
|
+
);
|
|
4058
4826
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4059
4827
|
let baseOptions;
|
|
4060
4828
|
if (configuration) {
|
|
@@ -4075,7 +4843,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4075
4843
|
},
|
|
4076
4844
|
getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
4077
4845
|
assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4078
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4846
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4847
|
+
`{${"name"}}`,
|
|
4848
|
+
encodeURIComponent(String(name))
|
|
4849
|
+
);
|
|
4079
4850
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4080
4851
|
let baseOptions;
|
|
4081
4852
|
if (configuration) {
|
|
@@ -4128,7 +4899,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
4128
4899
|
},
|
|
4129
4900
|
updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
|
|
4130
4901
|
assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
4131
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4902
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(
|
|
4903
|
+
`{${"name"}}`,
|
|
4904
|
+
encodeURIComponent(String(name))
|
|
4905
|
+
);
|
|
4132
4906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4133
4907
|
let baseOptions;
|
|
4134
4908
|
if (configuration) {
|
|
@@ -4155,7 +4929,10 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4155
4929
|
const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
|
|
4156
4930
|
return {
|
|
4157
4931
|
async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
4158
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(
|
|
4932
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(
|
|
4933
|
+
reverseProxy,
|
|
4934
|
+
options
|
|
4935
|
+
);
|
|
4159
4936
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4160
4937
|
},
|
|
4161
4938
|
async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
@@ -4167,11 +4944,21 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4167
4944
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4168
4945
|
},
|
|
4169
4946
|
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
4170
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4947
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4948
|
+
page,
|
|
4949
|
+
size,
|
|
4950
|
+
labelSelector,
|
|
4951
|
+
fieldSelector,
|
|
4952
|
+
options
|
|
4953
|
+
);
|
|
4171
4954
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4172
4955
|
},
|
|
4173
4956
|
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
4174
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(
|
|
4957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(
|
|
4958
|
+
name,
|
|
4959
|
+
reverseProxy,
|
|
4960
|
+
options
|
|
4961
|
+
);
|
|
4175
4962
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4176
4963
|
}
|
|
4177
4964
|
};
|
|
@@ -4179,20 +4966,26 @@ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
|
4179
4966
|
const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
|
|
4180
4967
|
const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
|
|
4181
4968
|
return {
|
|
4182
|
-
createpluginHaloRunV1alpha1ReverseProxy(
|
|
4183
|
-
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
|
|
4184
|
-
},
|
|
4185
|
-
deletepluginHaloRunV1alpha1ReverseProxy(
|
|
4186
|
-
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
4187
|
-
},
|
|
4188
|
-
getpluginHaloRunV1alpha1ReverseProxy(
|
|
4189
|
-
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
4190
|
-
},
|
|
4191
|
-
listpluginHaloRunV1alpha1ReverseProxy(
|
|
4192
|
-
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4969
|
+
createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4970
|
+
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(axios, basePath));
|
|
4971
|
+
},
|
|
4972
|
+
deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4973
|
+
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4974
|
+
},
|
|
4975
|
+
getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4976
|
+
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4977
|
+
},
|
|
4978
|
+
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4979
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(
|
|
4980
|
+
requestParameters.page,
|
|
4981
|
+
requestParameters.size,
|
|
4982
|
+
requestParameters.labelSelector,
|
|
4983
|
+
requestParameters.fieldSelector,
|
|
4984
|
+
options
|
|
4985
|
+
).then((request) => request(axios, basePath));
|
|
4986
|
+
},
|
|
4987
|
+
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4988
|
+
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(axios, basePath));
|
|
4196
4989
|
}
|
|
4197
4990
|
};
|
|
4198
4991
|
};
|
|
@@ -4207,7 +5000,13 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
4207
5000
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4208
5001
|
}
|
|
4209
5002
|
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
4210
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(
|
|
5003
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(
|
|
5004
|
+
requestParameters.page,
|
|
5005
|
+
requestParameters.size,
|
|
5006
|
+
requestParameters.labelSelector,
|
|
5007
|
+
requestParameters.fieldSelector,
|
|
5008
|
+
options
|
|
5009
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4211
5010
|
}
|
|
4212
5011
|
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
4213
5012
|
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4240,7 +5039,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4240
5039
|
},
|
|
4241
5040
|
deletepluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
4242
5041
|
assertParamExists("deletepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4243
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5042
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5043
|
+
`{${"name"}}`,
|
|
5044
|
+
encodeURIComponent(String(name))
|
|
5045
|
+
);
|
|
4244
5046
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4245
5047
|
let baseOptions;
|
|
4246
5048
|
if (configuration) {
|
|
@@ -4261,7 +5063,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4261
5063
|
},
|
|
4262
5064
|
getpluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
4263
5065
|
assertParamExists("getpluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4264
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5066
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5067
|
+
`{${"name"}}`,
|
|
5068
|
+
encodeURIComponent(String(name))
|
|
5069
|
+
);
|
|
4265
5070
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4266
5071
|
let baseOptions;
|
|
4267
5072
|
if (configuration) {
|
|
@@ -4314,7 +5119,10 @@ const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configura
|
|
|
4314
5119
|
},
|
|
4315
5120
|
updatepluginHaloRunV1alpha1SearchEngine: async (name, searchEngine, options = {}) => {
|
|
4316
5121
|
assertParamExists("updatepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
4317
|
-
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5122
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(
|
|
5123
|
+
`{${"name"}}`,
|
|
5124
|
+
encodeURIComponent(String(name))
|
|
5125
|
+
);
|
|
4318
5126
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4319
5127
|
let baseOptions;
|
|
4320
5128
|
if (configuration) {
|
|
@@ -4341,7 +5149,10 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4341
5149
|
const localVarAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator(configuration);
|
|
4342
5150
|
return {
|
|
4343
5151
|
async createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
4344
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(
|
|
5152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(
|
|
5153
|
+
searchEngine,
|
|
5154
|
+
options
|
|
5155
|
+
);
|
|
4345
5156
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4346
5157
|
},
|
|
4347
5158
|
async deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
@@ -4353,11 +5164,21 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4353
5164
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4354
5165
|
},
|
|
4355
5166
|
async listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
4356
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(
|
|
5167
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(
|
|
5168
|
+
page,
|
|
5169
|
+
size,
|
|
5170
|
+
labelSelector,
|
|
5171
|
+
fieldSelector,
|
|
5172
|
+
options
|
|
5173
|
+
);
|
|
4357
5174
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4358
5175
|
},
|
|
4359
5176
|
async updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
4360
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(
|
|
5177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(
|
|
5178
|
+
name,
|
|
5179
|
+
searchEngine,
|
|
5180
|
+
options
|
|
5181
|
+
);
|
|
4361
5182
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4362
5183
|
}
|
|
4363
5184
|
};
|
|
@@ -4365,20 +5186,26 @@ const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
|
4365
5186
|
const PluginHaloRunV1alpha1SearchEngineApiFactory = function(configuration, basePath, axios) {
|
|
4366
5187
|
const localVarFp = PluginHaloRunV1alpha1SearchEngineApiFp(configuration);
|
|
4367
5188
|
return {
|
|
4368
|
-
createpluginHaloRunV1alpha1SearchEngine(
|
|
4369
|
-
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options).then((request) => request(axios, basePath));
|
|
4370
|
-
},
|
|
4371
|
-
deletepluginHaloRunV1alpha1SearchEngine(
|
|
4372
|
-
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
4373
|
-
},
|
|
4374
|
-
getpluginHaloRunV1alpha1SearchEngine(
|
|
4375
|
-
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
4376
|
-
},
|
|
4377
|
-
listpluginHaloRunV1alpha1SearchEngine(
|
|
4378
|
-
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
5189
|
+
createpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
5190
|
+
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(requestParameters.searchEngine, options).then((request) => request(axios, basePath));
|
|
5191
|
+
},
|
|
5192
|
+
deletepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5193
|
+
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5194
|
+
},
|
|
5195
|
+
getpluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5196
|
+
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5197
|
+
},
|
|
5198
|
+
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
5199
|
+
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(
|
|
5200
|
+
requestParameters.page,
|
|
5201
|
+
requestParameters.size,
|
|
5202
|
+
requestParameters.labelSelector,
|
|
5203
|
+
requestParameters.fieldSelector,
|
|
5204
|
+
options
|
|
5205
|
+
).then((request) => request(axios, basePath));
|
|
5206
|
+
},
|
|
5207
|
+
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
5208
|
+
return localVarFp.updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(axios, basePath));
|
|
4382
5209
|
}
|
|
4383
5210
|
};
|
|
4384
5211
|
};
|
|
@@ -4393,7 +5220,13 @@ class PluginHaloRunV1alpha1SearchEngineApi extends BaseAPI {
|
|
|
4393
5220
|
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4394
5221
|
}
|
|
4395
5222
|
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
4396
|
-
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(
|
|
5223
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(
|
|
5224
|
+
requestParameters.page,
|
|
5225
|
+
requestParameters.size,
|
|
5226
|
+
requestParameters.labelSelector,
|
|
5227
|
+
requestParameters.fieldSelector,
|
|
5228
|
+
options
|
|
5229
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4397
5230
|
}
|
|
4398
5231
|
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
4399
5232
|
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4426,7 +5259,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4426
5259
|
},
|
|
4427
5260
|
deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
4428
5261
|
assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
|
|
4429
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5262
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5263
|
+
`{${"name"}}`,
|
|
5264
|
+
encodeURIComponent(String(name))
|
|
5265
|
+
);
|
|
4430
5266
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4431
5267
|
let baseOptions;
|
|
4432
5268
|
if (configuration) {
|
|
@@ -4447,7 +5283,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4447
5283
|
},
|
|
4448
5284
|
getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
4449
5285
|
assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
|
|
4450
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5286
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5287
|
+
`{${"name"}}`,
|
|
5288
|
+
encodeURIComponent(String(name))
|
|
5289
|
+
);
|
|
4451
5290
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4452
5291
|
let baseOptions;
|
|
4453
5292
|
if (configuration) {
|
|
@@ -4500,7 +5339,10 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
4500
5339
|
},
|
|
4501
5340
|
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
4502
5341
|
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
4503
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5342
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(
|
|
5343
|
+
`{${"name"}}`,
|
|
5344
|
+
encodeURIComponent(String(name))
|
|
5345
|
+
);
|
|
4504
5346
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4505
5347
|
let baseOptions;
|
|
4506
5348
|
if (configuration) {
|
|
@@ -4527,7 +5369,10 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4527
5369
|
const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
4528
5370
|
return {
|
|
4529
5371
|
async createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
4530
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(
|
|
5372
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(
|
|
5373
|
+
attachment,
|
|
5374
|
+
options
|
|
5375
|
+
);
|
|
4531
5376
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4532
5377
|
},
|
|
4533
5378
|
async deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
@@ -4539,11 +5384,21 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4539
5384
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4540
5385
|
},
|
|
4541
5386
|
async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
4542
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(
|
|
5387
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(
|
|
5388
|
+
page,
|
|
5389
|
+
size,
|
|
5390
|
+
labelSelector,
|
|
5391
|
+
fieldSelector,
|
|
5392
|
+
options
|
|
5393
|
+
);
|
|
4543
5394
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4544
5395
|
},
|
|
4545
5396
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
4546
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(
|
|
5397
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(
|
|
5398
|
+
name,
|
|
5399
|
+
attachment,
|
|
5400
|
+
options
|
|
5401
|
+
);
|
|
4547
5402
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4548
5403
|
}
|
|
4549
5404
|
};
|
|
@@ -4551,20 +5406,26 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
4551
5406
|
const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
4552
5407
|
const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
4553
5408
|
return {
|
|
4554
|
-
createstorageHaloRunV1alpha1Attachment(
|
|
4555
|
-
return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
|
|
4556
|
-
},
|
|
4557
|
-
deletestorageHaloRunV1alpha1Attachment(
|
|
4558
|
-
return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
4559
|
-
},
|
|
4560
|
-
getstorageHaloRunV1alpha1Attachment(
|
|
4561
|
-
return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
4562
|
-
},
|
|
4563
|
-
liststorageHaloRunV1alpha1Attachment(
|
|
4564
|
-
return localVarFp.liststorageHaloRunV1alpha1Attachment(
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
5409
|
+
createstorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
5410
|
+
return localVarFp.createstorageHaloRunV1alpha1Attachment(requestParameters.attachment, options).then((request) => request(axios, basePath));
|
|
5411
|
+
},
|
|
5412
|
+
deletestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5413
|
+
return localVarFp.deletestorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5414
|
+
},
|
|
5415
|
+
getstorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5416
|
+
return localVarFp.getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5417
|
+
},
|
|
5418
|
+
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
5419
|
+
return localVarFp.liststorageHaloRunV1alpha1Attachment(
|
|
5420
|
+
requestParameters.page,
|
|
5421
|
+
requestParameters.size,
|
|
5422
|
+
requestParameters.labelSelector,
|
|
5423
|
+
requestParameters.fieldSelector,
|
|
5424
|
+
options
|
|
5425
|
+
).then((request) => request(axios, basePath));
|
|
5426
|
+
},
|
|
5427
|
+
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
5428
|
+
return localVarFp.updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(axios, basePath));
|
|
4568
5429
|
}
|
|
4569
5430
|
};
|
|
4570
5431
|
};
|
|
@@ -4579,7 +5440,13 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
4579
5440
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4580
5441
|
}
|
|
4581
5442
|
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
4582
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(
|
|
5443
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(
|
|
5444
|
+
requestParameters.page,
|
|
5445
|
+
requestParameters.size,
|
|
5446
|
+
requestParameters.labelSelector,
|
|
5447
|
+
requestParameters.fieldSelector,
|
|
5448
|
+
options
|
|
5449
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4583
5450
|
}
|
|
4584
5451
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
4585
5452
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4612,7 +5479,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4612
5479
|
},
|
|
4613
5480
|
deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
4614
5481
|
assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
|
|
4615
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5482
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5483
|
+
`{${"name"}}`,
|
|
5484
|
+
encodeURIComponent(String(name))
|
|
5485
|
+
);
|
|
4616
5486
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4617
5487
|
let baseOptions;
|
|
4618
5488
|
if (configuration) {
|
|
@@ -4633,7 +5503,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4633
5503
|
},
|
|
4634
5504
|
getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
4635
5505
|
assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
|
|
4636
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5506
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5507
|
+
`{${"name"}}`,
|
|
5508
|
+
encodeURIComponent(String(name))
|
|
5509
|
+
);
|
|
4637
5510
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4638
5511
|
let baseOptions;
|
|
4639
5512
|
if (configuration) {
|
|
@@ -4686,7 +5559,10 @@ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration)
|
|
|
4686
5559
|
},
|
|
4687
5560
|
updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
|
|
4688
5561
|
assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
|
|
4689
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5562
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(
|
|
5563
|
+
`{${"name"}}`,
|
|
5564
|
+
encodeURIComponent(String(name))
|
|
5565
|
+
);
|
|
4690
5566
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4691
5567
|
let baseOptions;
|
|
4692
5568
|
if (configuration) {
|
|
@@ -4725,7 +5601,13 @@ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
|
4725
5601
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4726
5602
|
},
|
|
4727
5603
|
async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
4728
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(
|
|
5604
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(
|
|
5605
|
+
page,
|
|
5606
|
+
size,
|
|
5607
|
+
labelSelector,
|
|
5608
|
+
fieldSelector,
|
|
5609
|
+
options
|
|
5610
|
+
);
|
|
4729
5611
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4730
5612
|
},
|
|
4731
5613
|
async updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
@@ -4737,20 +5619,26 @@ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
|
4737
5619
|
const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
|
|
4738
5620
|
const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
|
|
4739
5621
|
return {
|
|
4740
|
-
createstorageHaloRunV1alpha1Group(
|
|
4741
|
-
return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
|
|
4742
|
-
},
|
|
4743
|
-
deletestorageHaloRunV1alpha1Group(
|
|
4744
|
-
return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
4745
|
-
},
|
|
4746
|
-
getstorageHaloRunV1alpha1Group(
|
|
4747
|
-
return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
4748
|
-
},
|
|
4749
|
-
liststorageHaloRunV1alpha1Group(
|
|
4750
|
-
return localVarFp.liststorageHaloRunV1alpha1Group(
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
5622
|
+
createstorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
5623
|
+
return localVarFp.createstorageHaloRunV1alpha1Group(requestParameters.group, options).then((request) => request(axios, basePath));
|
|
5624
|
+
},
|
|
5625
|
+
deletestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5626
|
+
return localVarFp.deletestorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5627
|
+
},
|
|
5628
|
+
getstorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5629
|
+
return localVarFp.getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5630
|
+
},
|
|
5631
|
+
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
5632
|
+
return localVarFp.liststorageHaloRunV1alpha1Group(
|
|
5633
|
+
requestParameters.page,
|
|
5634
|
+
requestParameters.size,
|
|
5635
|
+
requestParameters.labelSelector,
|
|
5636
|
+
requestParameters.fieldSelector,
|
|
5637
|
+
options
|
|
5638
|
+
).then((request) => request(axios, basePath));
|
|
5639
|
+
},
|
|
5640
|
+
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
5641
|
+
return localVarFp.updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(axios, basePath));
|
|
4754
5642
|
}
|
|
4755
5643
|
};
|
|
4756
5644
|
};
|
|
@@ -4765,7 +5653,13 @@ class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
|
|
|
4765
5653
|
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4766
5654
|
}
|
|
4767
5655
|
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
4768
|
-
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(
|
|
5656
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(
|
|
5657
|
+
requestParameters.page,
|
|
5658
|
+
requestParameters.size,
|
|
5659
|
+
requestParameters.labelSelector,
|
|
5660
|
+
requestParameters.fieldSelector,
|
|
5661
|
+
options
|
|
5662
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4769
5663
|
}
|
|
4770
5664
|
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
4771
5665
|
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4798,7 +5692,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4798
5692
|
},
|
|
4799
5693
|
deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
4800
5694
|
assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
|
|
4801
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5695
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5696
|
+
`{${"name"}}`,
|
|
5697
|
+
encodeURIComponent(String(name))
|
|
5698
|
+
);
|
|
4802
5699
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4803
5700
|
let baseOptions;
|
|
4804
5701
|
if (configuration) {
|
|
@@ -4819,7 +5716,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4819
5716
|
},
|
|
4820
5717
|
getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
4821
5718
|
assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
|
|
4822
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5719
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5720
|
+
`{${"name"}}`,
|
|
5721
|
+
encodeURIComponent(String(name))
|
|
5722
|
+
);
|
|
4823
5723
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4824
5724
|
let baseOptions;
|
|
4825
5725
|
if (configuration) {
|
|
@@ -4872,7 +5772,10 @@ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration)
|
|
|
4872
5772
|
},
|
|
4873
5773
|
updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
|
|
4874
5774
|
assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
|
|
4875
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5775
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(
|
|
5776
|
+
`{${"name"}}`,
|
|
5777
|
+
encodeURIComponent(String(name))
|
|
5778
|
+
);
|
|
4876
5779
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4877
5780
|
let baseOptions;
|
|
4878
5781
|
if (configuration) {
|
|
@@ -4911,11 +5814,21 @@ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
|
4911
5814
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4912
5815
|
},
|
|
4913
5816
|
async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
4914
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(
|
|
5817
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(
|
|
5818
|
+
page,
|
|
5819
|
+
size,
|
|
5820
|
+
labelSelector,
|
|
5821
|
+
fieldSelector,
|
|
5822
|
+
options
|
|
5823
|
+
);
|
|
4915
5824
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4916
5825
|
},
|
|
4917
5826
|
async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
4918
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(
|
|
5827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(
|
|
5828
|
+
name,
|
|
5829
|
+
policy,
|
|
5830
|
+
options
|
|
5831
|
+
);
|
|
4919
5832
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
4920
5833
|
}
|
|
4921
5834
|
};
|
|
@@ -4923,20 +5836,26 @@ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
|
4923
5836
|
const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
|
|
4924
5837
|
const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
|
|
4925
5838
|
return {
|
|
4926
|
-
createstorageHaloRunV1alpha1Policy(
|
|
4927
|
-
return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
|
|
4928
|
-
},
|
|
4929
|
-
deletestorageHaloRunV1alpha1Policy(
|
|
4930
|
-
return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
4931
|
-
},
|
|
4932
|
-
getstorageHaloRunV1alpha1Policy(
|
|
4933
|
-
return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
4934
|
-
},
|
|
4935
|
-
liststorageHaloRunV1alpha1Policy(
|
|
4936
|
-
return localVarFp.liststorageHaloRunV1alpha1Policy(
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
5839
|
+
createstorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
5840
|
+
return localVarFp.createstorageHaloRunV1alpha1Policy(requestParameters.policy, options).then((request) => request(axios, basePath));
|
|
5841
|
+
},
|
|
5842
|
+
deletestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5843
|
+
return localVarFp.deletestorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5844
|
+
},
|
|
5845
|
+
getstorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5846
|
+
return localVarFp.getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
5847
|
+
},
|
|
5848
|
+
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
5849
|
+
return localVarFp.liststorageHaloRunV1alpha1Policy(
|
|
5850
|
+
requestParameters.page,
|
|
5851
|
+
requestParameters.size,
|
|
5852
|
+
requestParameters.labelSelector,
|
|
5853
|
+
requestParameters.fieldSelector,
|
|
5854
|
+
options
|
|
5855
|
+
).then((request) => request(axios, basePath));
|
|
5856
|
+
},
|
|
5857
|
+
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
5858
|
+
return localVarFp.updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(axios, basePath));
|
|
4940
5859
|
}
|
|
4941
5860
|
};
|
|
4942
5861
|
};
|
|
@@ -4951,7 +5870,13 @@ class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
|
|
|
4951
5870
|
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4952
5871
|
}
|
|
4953
5872
|
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
4954
|
-
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(
|
|
5873
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(
|
|
5874
|
+
requestParameters.page,
|
|
5875
|
+
requestParameters.size,
|
|
5876
|
+
requestParameters.labelSelector,
|
|
5877
|
+
requestParameters.fieldSelector,
|
|
5878
|
+
options
|
|
5879
|
+
).then((request) => request(this.axios, this.basePath));
|
|
4955
5880
|
}
|
|
4956
5881
|
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
4957
5882
|
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4984,7 +5909,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
4984
5909
|
},
|
|
4985
5910
|
deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
4986
5911
|
assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
4987
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5912
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5913
|
+
`{${"name"}}`,
|
|
5914
|
+
encodeURIComponent(String(name))
|
|
5915
|
+
);
|
|
4988
5916
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4989
5917
|
let baseOptions;
|
|
4990
5918
|
if (configuration) {
|
|
@@ -5005,7 +5933,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
5005
5933
|
},
|
|
5006
5934
|
getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
5007
5935
|
assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
5008
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5936
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5937
|
+
`{${"name"}}`,
|
|
5938
|
+
encodeURIComponent(String(name))
|
|
5939
|
+
);
|
|
5009
5940
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5010
5941
|
let baseOptions;
|
|
5011
5942
|
if (configuration) {
|
|
@@ -5058,7 +5989,10 @@ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(config
|
|
|
5058
5989
|
},
|
|
5059
5990
|
updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
|
|
5060
5991
|
assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
5061
|
-
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5992
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(
|
|
5993
|
+
`{${"name"}}`,
|
|
5994
|
+
encodeURIComponent(String(name))
|
|
5995
|
+
);
|
|
5062
5996
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5063
5997
|
let baseOptions;
|
|
5064
5998
|
if (configuration) {
|
|
@@ -5085,11 +6019,17 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5085
6019
|
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
|
|
5086
6020
|
return {
|
|
5087
6021
|
async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
5088
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(
|
|
6022
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(
|
|
6023
|
+
policyTemplate,
|
|
6024
|
+
options
|
|
6025
|
+
);
|
|
5089
6026
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5090
6027
|
},
|
|
5091
6028
|
async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
5092
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
6029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
6030
|
+
name,
|
|
6031
|
+
options
|
|
6032
|
+
);
|
|
5093
6033
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5094
6034
|
},
|
|
5095
6035
|
async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
@@ -5097,11 +6037,21 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5097
6037
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5098
6038
|
},
|
|
5099
6039
|
async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
5100
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6040
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6041
|
+
page,
|
|
6042
|
+
size,
|
|
6043
|
+
labelSelector,
|
|
6044
|
+
fieldSelector,
|
|
6045
|
+
options
|
|
6046
|
+
);
|
|
5101
6047
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5102
6048
|
},
|
|
5103
6049
|
async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
5104
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(
|
|
6050
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(
|
|
6051
|
+
name,
|
|
6052
|
+
policyTemplate,
|
|
6053
|
+
options
|
|
6054
|
+
);
|
|
5105
6055
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5106
6056
|
}
|
|
5107
6057
|
};
|
|
@@ -5109,20 +6059,26 @@ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
|
5109
6059
|
const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
|
|
5110
6060
|
const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
|
|
5111
6061
|
return {
|
|
5112
|
-
createstorageHaloRunV1alpha1PolicyTemplate(
|
|
5113
|
-
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
|
|
5114
|
-
},
|
|
5115
|
-
deletestorageHaloRunV1alpha1PolicyTemplate(
|
|
5116
|
-
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
5117
|
-
},
|
|
5118
|
-
getstorageHaloRunV1alpha1PolicyTemplate(
|
|
5119
|
-
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
5120
|
-
},
|
|
5121
|
-
liststorageHaloRunV1alpha1PolicyTemplate(
|
|
5122
|
-
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
6062
|
+
createstorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
6063
|
+
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(requestParameters.policyTemplate, options).then((request) => request(axios, basePath));
|
|
6064
|
+
},
|
|
6065
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6066
|
+
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6067
|
+
},
|
|
6068
|
+
getstorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6069
|
+
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6070
|
+
},
|
|
6071
|
+
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
6072
|
+
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6073
|
+
requestParameters.page,
|
|
6074
|
+
requestParameters.size,
|
|
6075
|
+
requestParameters.labelSelector,
|
|
6076
|
+
requestParameters.fieldSelector,
|
|
6077
|
+
options
|
|
6078
|
+
).then((request) => request(axios, basePath));
|
|
6079
|
+
},
|
|
6080
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
6081
|
+
return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(axios, basePath));
|
|
5126
6082
|
}
|
|
5127
6083
|
};
|
|
5128
6084
|
};
|
|
@@ -5137,7 +6093,13 @@ class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
|
|
|
5137
6093
|
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5138
6094
|
}
|
|
5139
6095
|
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
5140
|
-
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6096
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(
|
|
6097
|
+
requestParameters.page,
|
|
6098
|
+
requestParameters.size,
|
|
6099
|
+
requestParameters.labelSelector,
|
|
6100
|
+
requestParameters.fieldSelector,
|
|
6101
|
+
options
|
|
6102
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5141
6103
|
}
|
|
5142
6104
|
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
5143
6105
|
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5170,7 +6132,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5170
6132
|
},
|
|
5171
6133
|
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
5172
6134
|
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
5173
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6135
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6136
|
+
`{${"name"}}`,
|
|
6137
|
+
encodeURIComponent(String(name))
|
|
6138
|
+
);
|
|
5174
6139
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5175
6140
|
let baseOptions;
|
|
5176
6141
|
if (configuration) {
|
|
@@ -5191,7 +6156,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5191
6156
|
},
|
|
5192
6157
|
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
5193
6158
|
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
5194
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6159
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6160
|
+
`{${"name"}}`,
|
|
6161
|
+
encodeURIComponent(String(name))
|
|
6162
|
+
);
|
|
5195
6163
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5196
6164
|
let baseOptions;
|
|
5197
6165
|
if (configuration) {
|
|
@@ -5244,7 +6212,10 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
5244
6212
|
},
|
|
5245
6213
|
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
5246
6214
|
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
5247
|
-
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6215
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(
|
|
6216
|
+
`{${"name"}}`,
|
|
6217
|
+
encodeURIComponent(String(name))
|
|
6218
|
+
);
|
|
5248
6219
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5249
6220
|
let baseOptions;
|
|
5250
6221
|
if (configuration) {
|
|
@@ -5283,7 +6254,13 @@ const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
5283
6254
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5284
6255
|
},
|
|
5285
6256
|
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
5286
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(
|
|
6257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(
|
|
6258
|
+
page,
|
|
6259
|
+
size,
|
|
6260
|
+
labelSelector,
|
|
6261
|
+
fieldSelector,
|
|
6262
|
+
options
|
|
6263
|
+
);
|
|
5287
6264
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5288
6265
|
},
|
|
5289
6266
|
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
@@ -5295,20 +6272,26 @@ const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
5295
6272
|
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
5296
6273
|
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
5297
6274
|
return {
|
|
5298
|
-
createthemeHaloRunV1alpha1Theme(
|
|
5299
|
-
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
5300
|
-
},
|
|
5301
|
-
deletethemeHaloRunV1alpha1Theme(
|
|
5302
|
-
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
5303
|
-
},
|
|
5304
|
-
getthemeHaloRunV1alpha1Theme(
|
|
5305
|
-
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
5306
|
-
},
|
|
5307
|
-
listthemeHaloRunV1alpha1Theme(
|
|
5308
|
-
return localVarFp.listthemeHaloRunV1alpha1Theme(
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
6275
|
+
createthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
6276
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(requestParameters.theme, options).then((request) => request(axios, basePath));
|
|
6277
|
+
},
|
|
6278
|
+
deletethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6279
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6280
|
+
},
|
|
6281
|
+
getthemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6282
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6283
|
+
},
|
|
6284
|
+
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
6285
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(
|
|
6286
|
+
requestParameters.page,
|
|
6287
|
+
requestParameters.size,
|
|
6288
|
+
requestParameters.labelSelector,
|
|
6289
|
+
requestParameters.fieldSelector,
|
|
6290
|
+
options
|
|
6291
|
+
).then((request) => request(axios, basePath));
|
|
6292
|
+
},
|
|
6293
|
+
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
6294
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(axios, basePath));
|
|
5312
6295
|
}
|
|
5313
6296
|
};
|
|
5314
6297
|
};
|
|
@@ -5323,7 +6306,13 @@ class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
5323
6306
|
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5324
6307
|
}
|
|
5325
6308
|
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
5326
|
-
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(
|
|
6309
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(
|
|
6310
|
+
requestParameters.page,
|
|
6311
|
+
requestParameters.size,
|
|
6312
|
+
requestParameters.labelSelector,
|
|
6313
|
+
requestParameters.fieldSelector,
|
|
6314
|
+
options
|
|
6315
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5327
6316
|
}
|
|
5328
6317
|
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
5329
6318
|
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5356,7 +6345,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5356
6345
|
},
|
|
5357
6346
|
deletev1alpha1AnnotationSetting: async (name, options = {}) => {
|
|
5358
6347
|
assertParamExists("deletev1alpha1AnnotationSetting", "name", name);
|
|
5359
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6348
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6349
|
+
`{${"name"}}`,
|
|
6350
|
+
encodeURIComponent(String(name))
|
|
6351
|
+
);
|
|
5360
6352
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5361
6353
|
let baseOptions;
|
|
5362
6354
|
if (configuration) {
|
|
@@ -5377,7 +6369,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5377
6369
|
},
|
|
5378
6370
|
getv1alpha1AnnotationSetting: async (name, options = {}) => {
|
|
5379
6371
|
assertParamExists("getv1alpha1AnnotationSetting", "name", name);
|
|
5380
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6372
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6373
|
+
`{${"name"}}`,
|
|
6374
|
+
encodeURIComponent(String(name))
|
|
6375
|
+
);
|
|
5381
6376
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5382
6377
|
let baseOptions;
|
|
5383
6378
|
if (configuration) {
|
|
@@ -5430,7 +6425,10 @@ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
|
|
|
5430
6425
|
},
|
|
5431
6426
|
updatev1alpha1AnnotationSetting: async (name, annotationSetting, options = {}) => {
|
|
5432
6427
|
assertParamExists("updatev1alpha1AnnotationSetting", "name", name);
|
|
5433
|
-
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6428
|
+
const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(
|
|
6429
|
+
`{${"name"}}`,
|
|
6430
|
+
encodeURIComponent(String(name))
|
|
6431
|
+
);
|
|
5434
6432
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5435
6433
|
let baseOptions;
|
|
5436
6434
|
if (configuration) {
|
|
@@ -5457,7 +6455,10 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5457
6455
|
const localVarAxiosParamCreator = V1alpha1AnnotationSettingApiAxiosParamCreator(configuration);
|
|
5458
6456
|
return {
|
|
5459
6457
|
async createv1alpha1AnnotationSetting(annotationSetting, options) {
|
|
5460
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1AnnotationSetting(
|
|
6458
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1AnnotationSetting(
|
|
6459
|
+
annotationSetting,
|
|
6460
|
+
options
|
|
6461
|
+
);
|
|
5461
6462
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5462
6463
|
},
|
|
5463
6464
|
async deletev1alpha1AnnotationSetting(name, options) {
|
|
@@ -5469,11 +6470,21 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5469
6470
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5470
6471
|
},
|
|
5471
6472
|
async listv1alpha1AnnotationSetting(page, size, labelSelector, fieldSelector, options) {
|
|
5472
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1AnnotationSetting(
|
|
6473
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1AnnotationSetting(
|
|
6474
|
+
page,
|
|
6475
|
+
size,
|
|
6476
|
+
labelSelector,
|
|
6477
|
+
fieldSelector,
|
|
6478
|
+
options
|
|
6479
|
+
);
|
|
5473
6480
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5474
6481
|
},
|
|
5475
6482
|
async updatev1alpha1AnnotationSetting(name, annotationSetting, options) {
|
|
5476
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1AnnotationSetting(
|
|
6483
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1AnnotationSetting(
|
|
6484
|
+
name,
|
|
6485
|
+
annotationSetting,
|
|
6486
|
+
options
|
|
6487
|
+
);
|
|
5477
6488
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5478
6489
|
}
|
|
5479
6490
|
};
|
|
@@ -5481,20 +6492,26 @@ const V1alpha1AnnotationSettingApiFp = function(configuration) {
|
|
|
5481
6492
|
const V1alpha1AnnotationSettingApiFactory = function(configuration, basePath, axios) {
|
|
5482
6493
|
const localVarFp = V1alpha1AnnotationSettingApiFp(configuration);
|
|
5483
6494
|
return {
|
|
5484
|
-
createv1alpha1AnnotationSetting(
|
|
5485
|
-
return localVarFp.createv1alpha1AnnotationSetting(annotationSetting, options).then((request) => request(axios, basePath));
|
|
5486
|
-
},
|
|
5487
|
-
deletev1alpha1AnnotationSetting(
|
|
5488
|
-
return localVarFp.deletev1alpha1AnnotationSetting(name, options).then((request) => request(axios, basePath));
|
|
5489
|
-
},
|
|
5490
|
-
getv1alpha1AnnotationSetting(
|
|
5491
|
-
return localVarFp.getv1alpha1AnnotationSetting(name, options).then((request) => request(axios, basePath));
|
|
5492
|
-
},
|
|
5493
|
-
listv1alpha1AnnotationSetting(
|
|
5494
|
-
return localVarFp.listv1alpha1AnnotationSetting(
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
6495
|
+
createv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
6496
|
+
return localVarFp.createv1alpha1AnnotationSetting(requestParameters.annotationSetting, options).then((request) => request(axios, basePath));
|
|
6497
|
+
},
|
|
6498
|
+
deletev1alpha1AnnotationSetting(requestParameters, options) {
|
|
6499
|
+
return localVarFp.deletev1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6500
|
+
},
|
|
6501
|
+
getv1alpha1AnnotationSetting(requestParameters, options) {
|
|
6502
|
+
return localVarFp.getv1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6503
|
+
},
|
|
6504
|
+
listv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
6505
|
+
return localVarFp.listv1alpha1AnnotationSetting(
|
|
6506
|
+
requestParameters.page,
|
|
6507
|
+
requestParameters.size,
|
|
6508
|
+
requestParameters.labelSelector,
|
|
6509
|
+
requestParameters.fieldSelector,
|
|
6510
|
+
options
|
|
6511
|
+
).then((request) => request(axios, basePath));
|
|
6512
|
+
},
|
|
6513
|
+
updatev1alpha1AnnotationSetting(requestParameters, options) {
|
|
6514
|
+
return localVarFp.updatev1alpha1AnnotationSetting(requestParameters.name, requestParameters.annotationSetting, options).then((request) => request(axios, basePath));
|
|
5498
6515
|
}
|
|
5499
6516
|
};
|
|
5500
6517
|
};
|
|
@@ -5509,7 +6526,13 @@ class V1alpha1AnnotationSettingApi extends BaseAPI {
|
|
|
5509
6526
|
return V1alpha1AnnotationSettingApiFp(this.configuration).getv1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5510
6527
|
}
|
|
5511
6528
|
listv1alpha1AnnotationSetting(requestParameters = {}, options) {
|
|
5512
|
-
return V1alpha1AnnotationSettingApiFp(this.configuration).listv1alpha1AnnotationSetting(
|
|
6529
|
+
return V1alpha1AnnotationSettingApiFp(this.configuration).listv1alpha1AnnotationSetting(
|
|
6530
|
+
requestParameters.page,
|
|
6531
|
+
requestParameters.size,
|
|
6532
|
+
requestParameters.labelSelector,
|
|
6533
|
+
requestParameters.fieldSelector,
|
|
6534
|
+
options
|
|
6535
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5513
6536
|
}
|
|
5514
6537
|
updatev1alpha1AnnotationSetting(requestParameters, options) {
|
|
5515
6538
|
return V1alpha1AnnotationSettingApiFp(this.configuration).updatev1alpha1AnnotationSetting(requestParameters.name, requestParameters.annotationSetting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5655,7 +6678,13 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
5655
6678
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5656
6679
|
},
|
|
5657
6680
|
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
5658
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(
|
|
6681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(
|
|
6682
|
+
page,
|
|
6683
|
+
size,
|
|
6684
|
+
labelSelector,
|
|
6685
|
+
fieldSelector,
|
|
6686
|
+
options
|
|
6687
|
+
);
|
|
5659
6688
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5660
6689
|
},
|
|
5661
6690
|
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
@@ -5667,20 +6696,26 @@ const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
|
5667
6696
|
const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
5668
6697
|
const localVarFp = V1alpha1ConfigMapApiFp(configuration);
|
|
5669
6698
|
return {
|
|
5670
|
-
createv1alpha1ConfigMap(
|
|
5671
|
-
return localVarFp.createv1alpha1ConfigMap(configMap, options).then((request) => request(axios, basePath));
|
|
5672
|
-
},
|
|
5673
|
-
deletev1alpha1ConfigMap(
|
|
5674
|
-
return localVarFp.deletev1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
5675
|
-
},
|
|
5676
|
-
getv1alpha1ConfigMap(
|
|
5677
|
-
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
5678
|
-
},
|
|
5679
|
-
listv1alpha1ConfigMap(
|
|
5680
|
-
return localVarFp.listv1alpha1ConfigMap(
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
6699
|
+
createv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
6700
|
+
return localVarFp.createv1alpha1ConfigMap(requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
6701
|
+
},
|
|
6702
|
+
deletev1alpha1ConfigMap(requestParameters, options) {
|
|
6703
|
+
return localVarFp.deletev1alpha1ConfigMap(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6704
|
+
},
|
|
6705
|
+
getv1alpha1ConfigMap(requestParameters, options) {
|
|
6706
|
+
return localVarFp.getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6707
|
+
},
|
|
6708
|
+
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
6709
|
+
return localVarFp.listv1alpha1ConfigMap(
|
|
6710
|
+
requestParameters.page,
|
|
6711
|
+
requestParameters.size,
|
|
6712
|
+
requestParameters.labelSelector,
|
|
6713
|
+
requestParameters.fieldSelector,
|
|
6714
|
+
options
|
|
6715
|
+
).then((request) => request(axios, basePath));
|
|
6716
|
+
},
|
|
6717
|
+
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
6718
|
+
return localVarFp.updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(axios, basePath));
|
|
5684
6719
|
}
|
|
5685
6720
|
};
|
|
5686
6721
|
};
|
|
@@ -5695,7 +6730,13 @@ class V1alpha1ConfigMapApi extends BaseAPI {
|
|
|
5695
6730
|
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5696
6731
|
}
|
|
5697
6732
|
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
5698
|
-
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(
|
|
6733
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(
|
|
6734
|
+
requestParameters.page,
|
|
6735
|
+
requestParameters.size,
|
|
6736
|
+
requestParameters.labelSelector,
|
|
6737
|
+
requestParameters.fieldSelector,
|
|
6738
|
+
options
|
|
6739
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5699
6740
|
}
|
|
5700
6741
|
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
5701
6742
|
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5841,7 +6882,13 @@ const V1alpha1MenuApiFp = function(configuration) {
|
|
|
5841
6882
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5842
6883
|
},
|
|
5843
6884
|
async listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
5844
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(
|
|
6885
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(
|
|
6886
|
+
page,
|
|
6887
|
+
size,
|
|
6888
|
+
labelSelector,
|
|
6889
|
+
fieldSelector,
|
|
6890
|
+
options
|
|
6891
|
+
);
|
|
5845
6892
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
5846
6893
|
},
|
|
5847
6894
|
async updatev1alpha1Menu(name, menu, options) {
|
|
@@ -5853,20 +6900,26 @@ const V1alpha1MenuApiFp = function(configuration) {
|
|
|
5853
6900
|
const V1alpha1MenuApiFactory = function(configuration, basePath, axios) {
|
|
5854
6901
|
const localVarFp = V1alpha1MenuApiFp(configuration);
|
|
5855
6902
|
return {
|
|
5856
|
-
createv1alpha1Menu(
|
|
5857
|
-
return localVarFp.createv1alpha1Menu(menu, options).then((request) => request(axios, basePath));
|
|
5858
|
-
},
|
|
5859
|
-
deletev1alpha1Menu(
|
|
5860
|
-
return localVarFp.deletev1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
5861
|
-
},
|
|
5862
|
-
getv1alpha1Menu(
|
|
5863
|
-
return localVarFp.getv1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
5864
|
-
},
|
|
5865
|
-
listv1alpha1Menu(
|
|
5866
|
-
return localVarFp.listv1alpha1Menu(
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
6903
|
+
createv1alpha1Menu(requestParameters = {}, options) {
|
|
6904
|
+
return localVarFp.createv1alpha1Menu(requestParameters.menu, options).then((request) => request(axios, basePath));
|
|
6905
|
+
},
|
|
6906
|
+
deletev1alpha1Menu(requestParameters, options) {
|
|
6907
|
+
return localVarFp.deletev1alpha1Menu(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6908
|
+
},
|
|
6909
|
+
getv1alpha1Menu(requestParameters, options) {
|
|
6910
|
+
return localVarFp.getv1alpha1Menu(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
6911
|
+
},
|
|
6912
|
+
listv1alpha1Menu(requestParameters = {}, options) {
|
|
6913
|
+
return localVarFp.listv1alpha1Menu(
|
|
6914
|
+
requestParameters.page,
|
|
6915
|
+
requestParameters.size,
|
|
6916
|
+
requestParameters.labelSelector,
|
|
6917
|
+
requestParameters.fieldSelector,
|
|
6918
|
+
options
|
|
6919
|
+
).then((request) => request(axios, basePath));
|
|
6920
|
+
},
|
|
6921
|
+
updatev1alpha1Menu(requestParameters, options) {
|
|
6922
|
+
return localVarFp.updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(axios, basePath));
|
|
5870
6923
|
}
|
|
5871
6924
|
};
|
|
5872
6925
|
};
|
|
@@ -5881,7 +6934,13 @@ class V1alpha1MenuApi extends BaseAPI {
|
|
|
5881
6934
|
return V1alpha1MenuApiFp(this.configuration).getv1alpha1Menu(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
5882
6935
|
}
|
|
5883
6936
|
listv1alpha1Menu(requestParameters = {}, options) {
|
|
5884
|
-
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(
|
|
6937
|
+
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(
|
|
6938
|
+
requestParameters.page,
|
|
6939
|
+
requestParameters.size,
|
|
6940
|
+
requestParameters.labelSelector,
|
|
6941
|
+
requestParameters.fieldSelector,
|
|
6942
|
+
options
|
|
6943
|
+
).then((request) => request(this.axios, this.basePath));
|
|
5885
6944
|
}
|
|
5886
6945
|
updatev1alpha1Menu(requestParameters, options) {
|
|
5887
6946
|
return V1alpha1MenuApiFp(this.configuration).updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6027,7 +7086,13 @@ const V1alpha1MenuItemApiFp = function(configuration) {
|
|
|
6027
7086
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6028
7087
|
},
|
|
6029
7088
|
async listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
6030
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(
|
|
7089
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(
|
|
7090
|
+
page,
|
|
7091
|
+
size,
|
|
7092
|
+
labelSelector,
|
|
7093
|
+
fieldSelector,
|
|
7094
|
+
options
|
|
7095
|
+
);
|
|
6031
7096
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6032
7097
|
},
|
|
6033
7098
|
async updatev1alpha1MenuItem(name, menuItem, options) {
|
|
@@ -6039,20 +7104,26 @@ const V1alpha1MenuItemApiFp = function(configuration) {
|
|
|
6039
7104
|
const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
6040
7105
|
const localVarFp = V1alpha1MenuItemApiFp(configuration);
|
|
6041
7106
|
return {
|
|
6042
|
-
createv1alpha1MenuItem(
|
|
6043
|
-
return localVarFp.createv1alpha1MenuItem(menuItem, options).then((request) => request(axios, basePath));
|
|
6044
|
-
},
|
|
6045
|
-
deletev1alpha1MenuItem(
|
|
6046
|
-
return localVarFp.deletev1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
6047
|
-
},
|
|
6048
|
-
getv1alpha1MenuItem(
|
|
6049
|
-
return localVarFp.getv1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
6050
|
-
},
|
|
6051
|
-
listv1alpha1MenuItem(
|
|
6052
|
-
return localVarFp.listv1alpha1MenuItem(
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
7107
|
+
createv1alpha1MenuItem(requestParameters = {}, options) {
|
|
7108
|
+
return localVarFp.createv1alpha1MenuItem(requestParameters.menuItem, options).then((request) => request(axios, basePath));
|
|
7109
|
+
},
|
|
7110
|
+
deletev1alpha1MenuItem(requestParameters, options) {
|
|
7111
|
+
return localVarFp.deletev1alpha1MenuItem(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7112
|
+
},
|
|
7113
|
+
getv1alpha1MenuItem(requestParameters, options) {
|
|
7114
|
+
return localVarFp.getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7115
|
+
},
|
|
7116
|
+
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
7117
|
+
return localVarFp.listv1alpha1MenuItem(
|
|
7118
|
+
requestParameters.page,
|
|
7119
|
+
requestParameters.size,
|
|
7120
|
+
requestParameters.labelSelector,
|
|
7121
|
+
requestParameters.fieldSelector,
|
|
7122
|
+
options
|
|
7123
|
+
).then((request) => request(axios, basePath));
|
|
7124
|
+
},
|
|
7125
|
+
updatev1alpha1MenuItem(requestParameters, options) {
|
|
7126
|
+
return localVarFp.updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(axios, basePath));
|
|
6056
7127
|
}
|
|
6057
7128
|
};
|
|
6058
7129
|
};
|
|
@@ -6067,7 +7138,13 @@ class V1alpha1MenuItemApi extends BaseAPI {
|
|
|
6067
7138
|
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6068
7139
|
}
|
|
6069
7140
|
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
6070
|
-
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(
|
|
7141
|
+
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(
|
|
7142
|
+
requestParameters.page,
|
|
7143
|
+
requestParameters.size,
|
|
7144
|
+
requestParameters.labelSelector,
|
|
7145
|
+
requestParameters.fieldSelector,
|
|
7146
|
+
options
|
|
7147
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6071
7148
|
}
|
|
6072
7149
|
updatev1alpha1MenuItem(requestParameters, options) {
|
|
6073
7150
|
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6100,7 +7177,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6100
7177
|
},
|
|
6101
7178
|
deletev1alpha1PersonalAccessToken: async (name, options = {}) => {
|
|
6102
7179
|
assertParamExists("deletev1alpha1PersonalAccessToken", "name", name);
|
|
6103
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7180
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7181
|
+
`{${"name"}}`,
|
|
7182
|
+
encodeURIComponent(String(name))
|
|
7183
|
+
);
|
|
6104
7184
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6105
7185
|
let baseOptions;
|
|
6106
7186
|
if (configuration) {
|
|
@@ -6121,7 +7201,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6121
7201
|
},
|
|
6122
7202
|
getv1alpha1PersonalAccessToken: async (name, options = {}) => {
|
|
6123
7203
|
assertParamExists("getv1alpha1PersonalAccessToken", "name", name);
|
|
6124
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7204
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7205
|
+
`{${"name"}}`,
|
|
7206
|
+
encodeURIComponent(String(name))
|
|
7207
|
+
);
|
|
6125
7208
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6126
7209
|
let baseOptions;
|
|
6127
7210
|
if (configuration) {
|
|
@@ -6174,7 +7257,10 @@ const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration)
|
|
|
6174
7257
|
},
|
|
6175
7258
|
updatev1alpha1PersonalAccessToken: async (name, personalAccessToken, options = {}) => {
|
|
6176
7259
|
assertParamExists("updatev1alpha1PersonalAccessToken", "name", name);
|
|
6177
|
-
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7260
|
+
const localVarPath = `/api/v1alpha1/personalaccesstokens/{name}`.replace(
|
|
7261
|
+
`{${"name"}}`,
|
|
7262
|
+
encodeURIComponent(String(name))
|
|
7263
|
+
);
|
|
6178
7264
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6179
7265
|
let baseOptions;
|
|
6180
7266
|
if (configuration) {
|
|
@@ -6201,7 +7287,10 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6201
7287
|
const localVarAxiosParamCreator = V1alpha1PersonalAccessTokenApiAxiosParamCreator(configuration);
|
|
6202
7288
|
return {
|
|
6203
7289
|
async createv1alpha1PersonalAccessToken(personalAccessToken, options) {
|
|
6204
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1PersonalAccessToken(
|
|
7290
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1PersonalAccessToken(
|
|
7291
|
+
personalAccessToken,
|
|
7292
|
+
options
|
|
7293
|
+
);
|
|
6205
7294
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6206
7295
|
},
|
|
6207
7296
|
async deletev1alpha1PersonalAccessToken(name, options) {
|
|
@@ -6213,11 +7302,21 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6213
7302
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6214
7303
|
},
|
|
6215
7304
|
async listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options) {
|
|
6216
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(
|
|
7305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1PersonalAccessToken(
|
|
7306
|
+
page,
|
|
7307
|
+
size,
|
|
7308
|
+
labelSelector,
|
|
7309
|
+
fieldSelector,
|
|
7310
|
+
options
|
|
7311
|
+
);
|
|
6217
7312
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6218
7313
|
},
|
|
6219
7314
|
async updatev1alpha1PersonalAccessToken(name, personalAccessToken, options) {
|
|
6220
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1PersonalAccessToken(
|
|
7315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1PersonalAccessToken(
|
|
7316
|
+
name,
|
|
7317
|
+
personalAccessToken,
|
|
7318
|
+
options
|
|
7319
|
+
);
|
|
6221
7320
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6222
7321
|
}
|
|
6223
7322
|
};
|
|
@@ -6225,20 +7324,26 @@ const V1alpha1PersonalAccessTokenApiFp = function(configuration) {
|
|
|
6225
7324
|
const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath, axios) {
|
|
6226
7325
|
const localVarFp = V1alpha1PersonalAccessTokenApiFp(configuration);
|
|
6227
7326
|
return {
|
|
6228
|
-
createv1alpha1PersonalAccessToken(
|
|
6229
|
-
return localVarFp.createv1alpha1PersonalAccessToken(personalAccessToken, options).then((request) => request(axios, basePath));
|
|
6230
|
-
},
|
|
6231
|
-
deletev1alpha1PersonalAccessToken(
|
|
6232
|
-
return localVarFp.deletev1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
6233
|
-
},
|
|
6234
|
-
getv1alpha1PersonalAccessToken(
|
|
6235
|
-
return localVarFp.getv1alpha1PersonalAccessToken(name, options).then((request) => request(axios, basePath));
|
|
6236
|
-
},
|
|
6237
|
-
listv1alpha1PersonalAccessToken(
|
|
6238
|
-
return localVarFp.listv1alpha1PersonalAccessToken(
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
7327
|
+
createv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
7328
|
+
return localVarFp.createv1alpha1PersonalAccessToken(requestParameters.personalAccessToken, options).then((request) => request(axios, basePath));
|
|
7329
|
+
},
|
|
7330
|
+
deletev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7331
|
+
return localVarFp.deletev1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7332
|
+
},
|
|
7333
|
+
getv1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7334
|
+
return localVarFp.getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7335
|
+
},
|
|
7336
|
+
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
7337
|
+
return localVarFp.listv1alpha1PersonalAccessToken(
|
|
7338
|
+
requestParameters.page,
|
|
7339
|
+
requestParameters.size,
|
|
7340
|
+
requestParameters.labelSelector,
|
|
7341
|
+
requestParameters.fieldSelector,
|
|
7342
|
+
options
|
|
7343
|
+
).then((request) => request(axios, basePath));
|
|
7344
|
+
},
|
|
7345
|
+
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
7346
|
+
return localVarFp.updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(axios, basePath));
|
|
6242
7347
|
}
|
|
6243
7348
|
};
|
|
6244
7349
|
};
|
|
@@ -6253,7 +7358,13 @@ class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
|
6253
7358
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6254
7359
|
}
|
|
6255
7360
|
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
6256
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(
|
|
7361
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(
|
|
7362
|
+
requestParameters.page,
|
|
7363
|
+
requestParameters.size,
|
|
7364
|
+
requestParameters.labelSelector,
|
|
7365
|
+
requestParameters.fieldSelector,
|
|
7366
|
+
options
|
|
7367
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6257
7368
|
}
|
|
6258
7369
|
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
6259
7370
|
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6399,7 +7510,13 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
6399
7510
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6400
7511
|
},
|
|
6401
7512
|
async listv1alpha1Role(page, size, labelSelector, fieldSelector, options) {
|
|
6402
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(
|
|
7513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Role(
|
|
7514
|
+
page,
|
|
7515
|
+
size,
|
|
7516
|
+
labelSelector,
|
|
7517
|
+
fieldSelector,
|
|
7518
|
+
options
|
|
7519
|
+
);
|
|
6403
7520
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6404
7521
|
},
|
|
6405
7522
|
async updatev1alpha1Role(name, role, options) {
|
|
@@ -6411,20 +7528,26 @@ const V1alpha1RoleApiFp = function(configuration) {
|
|
|
6411
7528
|
const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
6412
7529
|
const localVarFp = V1alpha1RoleApiFp(configuration);
|
|
6413
7530
|
return {
|
|
6414
|
-
createv1alpha1Role(
|
|
6415
|
-
return localVarFp.createv1alpha1Role(role, options).then((request) => request(axios, basePath));
|
|
6416
|
-
},
|
|
6417
|
-
deletev1alpha1Role(
|
|
6418
|
-
return localVarFp.deletev1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
6419
|
-
},
|
|
6420
|
-
getv1alpha1Role(
|
|
6421
|
-
return localVarFp.getv1alpha1Role(name, options).then((request) => request(axios, basePath));
|
|
6422
|
-
},
|
|
6423
|
-
listv1alpha1Role(
|
|
6424
|
-
return localVarFp.listv1alpha1Role(
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
7531
|
+
createv1alpha1Role(requestParameters = {}, options) {
|
|
7532
|
+
return localVarFp.createv1alpha1Role(requestParameters.role, options).then((request) => request(axios, basePath));
|
|
7533
|
+
},
|
|
7534
|
+
deletev1alpha1Role(requestParameters, options) {
|
|
7535
|
+
return localVarFp.deletev1alpha1Role(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7536
|
+
},
|
|
7537
|
+
getv1alpha1Role(requestParameters, options) {
|
|
7538
|
+
return localVarFp.getv1alpha1Role(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7539
|
+
},
|
|
7540
|
+
listv1alpha1Role(requestParameters = {}, options) {
|
|
7541
|
+
return localVarFp.listv1alpha1Role(
|
|
7542
|
+
requestParameters.page,
|
|
7543
|
+
requestParameters.size,
|
|
7544
|
+
requestParameters.labelSelector,
|
|
7545
|
+
requestParameters.fieldSelector,
|
|
7546
|
+
options
|
|
7547
|
+
).then((request) => request(axios, basePath));
|
|
7548
|
+
},
|
|
7549
|
+
updatev1alpha1Role(requestParameters, options) {
|
|
7550
|
+
return localVarFp.updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(axios, basePath));
|
|
6428
7551
|
}
|
|
6429
7552
|
};
|
|
6430
7553
|
};
|
|
@@ -6439,7 +7562,13 @@ class V1alpha1RoleApi extends BaseAPI {
|
|
|
6439
7562
|
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6440
7563
|
}
|
|
6441
7564
|
listv1alpha1Role(requestParameters = {}, options) {
|
|
6442
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(
|
|
7565
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(
|
|
7566
|
+
requestParameters.page,
|
|
7567
|
+
requestParameters.size,
|
|
7568
|
+
requestParameters.labelSelector,
|
|
7569
|
+
requestParameters.fieldSelector,
|
|
7570
|
+
options
|
|
7571
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6443
7572
|
}
|
|
6444
7573
|
updatev1alpha1Role(requestParameters, options) {
|
|
6445
7574
|
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6585,7 +7714,13 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
6585
7714
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6586
7715
|
},
|
|
6587
7716
|
async listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options) {
|
|
6588
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(
|
|
7717
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1RoleBinding(
|
|
7718
|
+
page,
|
|
7719
|
+
size,
|
|
7720
|
+
labelSelector,
|
|
7721
|
+
fieldSelector,
|
|
7722
|
+
options
|
|
7723
|
+
);
|
|
6589
7724
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6590
7725
|
},
|
|
6591
7726
|
async updatev1alpha1RoleBinding(name, roleBinding, options) {
|
|
@@ -6597,20 +7732,26 @@ const V1alpha1RoleBindingApiFp = function(configuration) {
|
|
|
6597
7732
|
const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
6598
7733
|
const localVarFp = V1alpha1RoleBindingApiFp(configuration);
|
|
6599
7734
|
return {
|
|
6600
|
-
createv1alpha1RoleBinding(
|
|
6601
|
-
return localVarFp.createv1alpha1RoleBinding(roleBinding, options).then((request) => request(axios, basePath));
|
|
6602
|
-
},
|
|
6603
|
-
deletev1alpha1RoleBinding(
|
|
6604
|
-
return localVarFp.deletev1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
6605
|
-
},
|
|
6606
|
-
getv1alpha1RoleBinding(
|
|
6607
|
-
return localVarFp.getv1alpha1RoleBinding(name, options).then((request) => request(axios, basePath));
|
|
6608
|
-
},
|
|
6609
|
-
listv1alpha1RoleBinding(
|
|
6610
|
-
return localVarFp.listv1alpha1RoleBinding(
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
7735
|
+
createv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
7736
|
+
return localVarFp.createv1alpha1RoleBinding(requestParameters.roleBinding, options).then((request) => request(axios, basePath));
|
|
7737
|
+
},
|
|
7738
|
+
deletev1alpha1RoleBinding(requestParameters, options) {
|
|
7739
|
+
return localVarFp.deletev1alpha1RoleBinding(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7740
|
+
},
|
|
7741
|
+
getv1alpha1RoleBinding(requestParameters, options) {
|
|
7742
|
+
return localVarFp.getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7743
|
+
},
|
|
7744
|
+
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
7745
|
+
return localVarFp.listv1alpha1RoleBinding(
|
|
7746
|
+
requestParameters.page,
|
|
7747
|
+
requestParameters.size,
|
|
7748
|
+
requestParameters.labelSelector,
|
|
7749
|
+
requestParameters.fieldSelector,
|
|
7750
|
+
options
|
|
7751
|
+
).then((request) => request(axios, basePath));
|
|
7752
|
+
},
|
|
7753
|
+
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
7754
|
+
return localVarFp.updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(axios, basePath));
|
|
6614
7755
|
}
|
|
6615
7756
|
};
|
|
6616
7757
|
};
|
|
@@ -6625,7 +7766,13 @@ class V1alpha1RoleBindingApi extends BaseAPI {
|
|
|
6625
7766
|
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6626
7767
|
}
|
|
6627
7768
|
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
6628
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(
|
|
7769
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(
|
|
7770
|
+
requestParameters.page,
|
|
7771
|
+
requestParameters.size,
|
|
7772
|
+
requestParameters.labelSelector,
|
|
7773
|
+
requestParameters.fieldSelector,
|
|
7774
|
+
options
|
|
7775
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6629
7776
|
}
|
|
6630
7777
|
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
6631
7778
|
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6771,7 +7918,13 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
6771
7918
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6772
7919
|
},
|
|
6773
7920
|
async listv1alpha1Setting(page, size, labelSelector, fieldSelector, options) {
|
|
6774
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(
|
|
7921
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Setting(
|
|
7922
|
+
page,
|
|
7923
|
+
size,
|
|
7924
|
+
labelSelector,
|
|
7925
|
+
fieldSelector,
|
|
7926
|
+
options
|
|
7927
|
+
);
|
|
6775
7928
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6776
7929
|
},
|
|
6777
7930
|
async updatev1alpha1Setting(name, setting, options) {
|
|
@@ -6783,20 +7936,26 @@ const V1alpha1SettingApiFp = function(configuration) {
|
|
|
6783
7936
|
const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
6784
7937
|
const localVarFp = V1alpha1SettingApiFp(configuration);
|
|
6785
7938
|
return {
|
|
6786
|
-
createv1alpha1Setting(
|
|
6787
|
-
return localVarFp.createv1alpha1Setting(setting, options).then((request) => request(axios, basePath));
|
|
6788
|
-
},
|
|
6789
|
-
deletev1alpha1Setting(
|
|
6790
|
-
return localVarFp.deletev1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
6791
|
-
},
|
|
6792
|
-
getv1alpha1Setting(
|
|
6793
|
-
return localVarFp.getv1alpha1Setting(name, options).then((request) => request(axios, basePath));
|
|
6794
|
-
},
|
|
6795
|
-
listv1alpha1Setting(
|
|
6796
|
-
return localVarFp.listv1alpha1Setting(
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
7939
|
+
createv1alpha1Setting(requestParameters = {}, options) {
|
|
7940
|
+
return localVarFp.createv1alpha1Setting(requestParameters.setting, options).then((request) => request(axios, basePath));
|
|
7941
|
+
},
|
|
7942
|
+
deletev1alpha1Setting(requestParameters, options) {
|
|
7943
|
+
return localVarFp.deletev1alpha1Setting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7944
|
+
},
|
|
7945
|
+
getv1alpha1Setting(requestParameters, options) {
|
|
7946
|
+
return localVarFp.getv1alpha1Setting(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
7947
|
+
},
|
|
7948
|
+
listv1alpha1Setting(requestParameters = {}, options) {
|
|
7949
|
+
return localVarFp.listv1alpha1Setting(
|
|
7950
|
+
requestParameters.page,
|
|
7951
|
+
requestParameters.size,
|
|
7952
|
+
requestParameters.labelSelector,
|
|
7953
|
+
requestParameters.fieldSelector,
|
|
7954
|
+
options
|
|
7955
|
+
).then((request) => request(axios, basePath));
|
|
7956
|
+
},
|
|
7957
|
+
updatev1alpha1Setting(requestParameters, options) {
|
|
7958
|
+
return localVarFp.updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(axios, basePath));
|
|
6800
7959
|
}
|
|
6801
7960
|
};
|
|
6802
7961
|
};
|
|
@@ -6811,7 +7970,13 @@ class V1alpha1SettingApi extends BaseAPI {
|
|
|
6811
7970
|
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6812
7971
|
}
|
|
6813
7972
|
listv1alpha1Setting(requestParameters = {}, options) {
|
|
6814
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(
|
|
7973
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(
|
|
7974
|
+
requestParameters.page,
|
|
7975
|
+
requestParameters.size,
|
|
7976
|
+
requestParameters.labelSelector,
|
|
7977
|
+
requestParameters.fieldSelector,
|
|
7978
|
+
options
|
|
7979
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6815
7980
|
}
|
|
6816
7981
|
updatev1alpha1Setting(requestParameters, options) {
|
|
6817
7982
|
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -6957,7 +8122,13 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
6957
8122
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6958
8123
|
},
|
|
6959
8124
|
async listv1alpha1User(page, size, labelSelector, fieldSelector, options) {
|
|
6960
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(
|
|
8125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1User(
|
|
8126
|
+
page,
|
|
8127
|
+
size,
|
|
8128
|
+
labelSelector,
|
|
8129
|
+
fieldSelector,
|
|
8130
|
+
options
|
|
8131
|
+
);
|
|
6961
8132
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
6962
8133
|
},
|
|
6963
8134
|
async updatev1alpha1User(name, user, options) {
|
|
@@ -6969,20 +8140,26 @@ const V1alpha1UserApiFp = function(configuration) {
|
|
|
6969
8140
|
const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
6970
8141
|
const localVarFp = V1alpha1UserApiFp(configuration);
|
|
6971
8142
|
return {
|
|
6972
|
-
createv1alpha1User(
|
|
6973
|
-
return localVarFp.createv1alpha1User(user, options).then((request) => request(axios, basePath));
|
|
6974
|
-
},
|
|
6975
|
-
deletev1alpha1User(
|
|
6976
|
-
return localVarFp.deletev1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
6977
|
-
},
|
|
6978
|
-
getv1alpha1User(
|
|
6979
|
-
return localVarFp.getv1alpha1User(name, options).then((request) => request(axios, basePath));
|
|
6980
|
-
},
|
|
6981
|
-
listv1alpha1User(
|
|
6982
|
-
return localVarFp.listv1alpha1User(
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
8143
|
+
createv1alpha1User(requestParameters = {}, options) {
|
|
8144
|
+
return localVarFp.createv1alpha1User(requestParameters.user, options).then((request) => request(axios, basePath));
|
|
8145
|
+
},
|
|
8146
|
+
deletev1alpha1User(requestParameters, options) {
|
|
8147
|
+
return localVarFp.deletev1alpha1User(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
8148
|
+
},
|
|
8149
|
+
getv1alpha1User(requestParameters, options) {
|
|
8150
|
+
return localVarFp.getv1alpha1User(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
8151
|
+
},
|
|
8152
|
+
listv1alpha1User(requestParameters = {}, options) {
|
|
8153
|
+
return localVarFp.listv1alpha1User(
|
|
8154
|
+
requestParameters.page,
|
|
8155
|
+
requestParameters.size,
|
|
8156
|
+
requestParameters.labelSelector,
|
|
8157
|
+
requestParameters.fieldSelector,
|
|
8158
|
+
options
|
|
8159
|
+
).then((request) => request(axios, basePath));
|
|
8160
|
+
},
|
|
8161
|
+
updatev1alpha1User(requestParameters, options) {
|
|
8162
|
+
return localVarFp.updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(axios, basePath));
|
|
6986
8163
|
}
|
|
6987
8164
|
};
|
|
6988
8165
|
};
|
|
@@ -6997,7 +8174,13 @@ class V1alpha1UserApi extends BaseAPI {
|
|
|
6997
8174
|
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
6998
8175
|
}
|
|
6999
8176
|
listv1alpha1User(requestParameters = {}, options) {
|
|
7000
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(
|
|
8177
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(
|
|
8178
|
+
requestParameters.page,
|
|
8179
|
+
requestParameters.size,
|
|
8180
|
+
requestParameters.labelSelector,
|
|
8181
|
+
requestParameters.fieldSelector,
|
|
8182
|
+
options
|
|
8183
|
+
).then((request) => request(this.axios, this.basePath));
|
|
7001
8184
|
}
|
|
7002
8185
|
updatev1alpha1User(requestParameters, options) {
|
|
7003
8186
|
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -7068,10 +8251,6 @@ exports.ApiConsoleHaloRunV1alpha1CommentApi = ApiConsoleHaloRunV1alpha1CommentAp
|
|
|
7068
8251
|
exports.ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator;
|
|
7069
8252
|
exports.ApiConsoleHaloRunV1alpha1CommentApiFactory = ApiConsoleHaloRunV1alpha1CommentApiFactory;
|
|
7070
8253
|
exports.ApiConsoleHaloRunV1alpha1CommentApiFp = ApiConsoleHaloRunV1alpha1CommentApiFp;
|
|
7071
|
-
exports.ApiConsoleHaloRunV1alpha1ContentApi = ApiConsoleHaloRunV1alpha1ContentApi;
|
|
7072
|
-
exports.ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator;
|
|
7073
|
-
exports.ApiConsoleHaloRunV1alpha1ContentApiFactory = ApiConsoleHaloRunV1alpha1ContentApiFactory;
|
|
7074
|
-
exports.ApiConsoleHaloRunV1alpha1ContentApiFp = ApiConsoleHaloRunV1alpha1ContentApiFp;
|
|
7075
8254
|
exports.ApiConsoleHaloRunV1alpha1IndicesApi = ApiConsoleHaloRunV1alpha1IndicesApi;
|
|
7076
8255
|
exports.ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator;
|
|
7077
8256
|
exports.ApiConsoleHaloRunV1alpha1IndicesApiFactory = ApiConsoleHaloRunV1alpha1IndicesApiFactory;
|
|
@@ -7151,10 +8330,6 @@ exports.MetricsHaloRunV1alpha1CounterApi = MetricsHaloRunV1alpha1CounterApi;
|
|
|
7151
8330
|
exports.MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = MetricsHaloRunV1alpha1CounterApiAxiosParamCreator;
|
|
7152
8331
|
exports.MetricsHaloRunV1alpha1CounterApiFactory = MetricsHaloRunV1alpha1CounterApiFactory;
|
|
7153
8332
|
exports.MetricsHaloRunV1alpha1CounterApiFp = MetricsHaloRunV1alpha1CounterApiFp;
|
|
7154
|
-
exports.MigrationControllerApi = MigrationControllerApi;
|
|
7155
|
-
exports.MigrationControllerApiAxiosParamCreator = MigrationControllerApiAxiosParamCreator;
|
|
7156
|
-
exports.MigrationControllerApiFactory = MigrationControllerApiFactory;
|
|
7157
|
-
exports.MigrationControllerApiFp = MigrationControllerApiFp;
|
|
7158
8333
|
exports.PluginHaloRunV1alpha1PluginApi = PluginHaloRunV1alpha1PluginApi;
|
|
7159
8334
|
exports.PluginHaloRunV1alpha1PluginApiAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator;
|
|
7160
8335
|
exports.PluginHaloRunV1alpha1PluginApiFactory = PluginHaloRunV1alpha1PluginApiFactory;
|