@halo-dev/api-client 0.0.68 → 0.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +188 -85
- package/dist/index.d.ts +286 -125
- package/dist/index.mjs +188 -86
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -69,7 +69,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
69
69
|
|
|
70
70
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
71
71
|
return {
|
|
72
|
-
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
72
|
+
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
73
73
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
74
74
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
75
|
let baseOptions;
|
|
@@ -105,12 +105,12 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
105
105
|
if (page !== void 0) {
|
|
106
106
|
localVarQueryParameter["page"] = page;
|
|
107
107
|
}
|
|
108
|
-
if (labelSelector) {
|
|
109
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
110
|
-
}
|
|
111
108
|
if (fieldSelector) {
|
|
112
109
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
113
110
|
}
|
|
111
|
+
if (labelSelector) {
|
|
112
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
113
|
+
}
|
|
114
114
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
115
115
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
116
116
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -158,8 +158,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
158
158
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
159
159
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
160
160
|
return {
|
|
161
|
-
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
162
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
161
|
+
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options) {
|
|
162
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options);
|
|
163
163
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
164
164
|
},
|
|
165
165
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -171,8 +171,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
171
171
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
172
172
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
173
173
|
return {
|
|
174
|
-
searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
175
|
-
return localVarFp.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
174
|
+
searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options) {
|
|
175
|
+
return localVarFp.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
176
176
|
},
|
|
177
177
|
uploadAttachment(file, policyName, groupName, options) {
|
|
178
178
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -181,7 +181,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
181
181
|
};
|
|
182
182
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
183
183
|
searchAttachments(requestParameters = {}, options) {
|
|
184
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.
|
|
184
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
|
|
185
185
|
}
|
|
186
186
|
uploadAttachment(requestParameters, options) {
|
|
187
187
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -237,7 +237,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
237
237
|
options: localVarRequestOptions
|
|
238
238
|
};
|
|
239
239
|
},
|
|
240
|
-
listComments: async (sort,
|
|
240
|
+
listComments: async (sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
241
241
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
242
242
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
243
243
|
let baseOptions;
|
|
@@ -252,17 +252,14 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
252
252
|
if (sort !== void 0) {
|
|
253
253
|
localVarQueryParameter["sort"] = sort;
|
|
254
254
|
}
|
|
255
|
-
if (
|
|
256
|
-
localVarQueryParameter["
|
|
255
|
+
if (top !== void 0) {
|
|
256
|
+
localVarQueryParameter["top"] = top;
|
|
257
257
|
}
|
|
258
258
|
if (hidden !== void 0) {
|
|
259
259
|
localVarQueryParameter["hidden"] = hidden;
|
|
260
260
|
}
|
|
261
|
-
if (
|
|
262
|
-
localVarQueryParameter["
|
|
263
|
-
}
|
|
264
|
-
if (sortOrder !== void 0) {
|
|
265
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
261
|
+
if (keyword !== void 0) {
|
|
262
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
266
263
|
}
|
|
267
264
|
if (approved !== void 0) {
|
|
268
265
|
localVarQueryParameter["approved"] = approved;
|
|
@@ -270,6 +267,9 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
270
267
|
if (allowNotification !== void 0) {
|
|
271
268
|
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
272
269
|
}
|
|
270
|
+
if (sortOrder !== void 0) {
|
|
271
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
272
|
+
}
|
|
273
273
|
if (ownerKind !== void 0) {
|
|
274
274
|
localVarQueryParameter["ownerKind"] = ownerKind;
|
|
275
275
|
}
|
|
@@ -288,12 +288,12 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
288
288
|
if (page !== void 0) {
|
|
289
289
|
localVarQueryParameter["page"] = page;
|
|
290
290
|
}
|
|
291
|
-
if (labelSelector) {
|
|
292
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
293
|
-
}
|
|
294
291
|
if (fieldSelector) {
|
|
295
292
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
296
293
|
}
|
|
294
|
+
if (labelSelector) {
|
|
295
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
296
|
+
}
|
|
297
297
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
298
298
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
299
299
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -315,8 +315,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
315
315
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
316
316
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
317
317
|
},
|
|
318
|
-
async listComments(sort,
|
|
319
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort,
|
|
318
|
+
async listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options) {
|
|
319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options);
|
|
320
320
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
321
321
|
}
|
|
322
322
|
};
|
|
@@ -330,8 +330,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
330
330
|
createReply(name, replyRequest, options) {
|
|
331
331
|
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
332
332
|
},
|
|
333
|
-
listComments(sort,
|
|
334
|
-
return localVarFp.listComments(sort,
|
|
333
|
+
listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options) {
|
|
334
|
+
return localVarFp.listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
};
|
|
@@ -343,7 +343,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
343
343
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
344
344
|
}
|
|
345
345
|
listComments(requestParameters = {}, options) {
|
|
346
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.
|
|
346
|
+
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.top, requestParameters.hidden, requestParameters.keyword, requestParameters.approved, requestParameters.allowNotification, requestParameters.sortOrder, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
|
|
@@ -511,6 +511,48 @@ class ApiConsoleHaloRunV1alpha1IndicesApi extends BaseAPI {
|
|
|
511
511
|
|
|
512
512
|
const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
513
513
|
return {
|
|
514
|
+
fetchPluginConfig: async (name, options = {}) => {
|
|
515
|
+
assertParamExists("fetchPluginConfig", "name", name);
|
|
516
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
517
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
518
|
+
let baseOptions;
|
|
519
|
+
if (configuration) {
|
|
520
|
+
baseOptions = configuration.baseOptions;
|
|
521
|
+
}
|
|
522
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
523
|
+
const localVarHeaderParameter = {};
|
|
524
|
+
const localVarQueryParameter = {};
|
|
525
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
526
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
527
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
528
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
529
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
530
|
+
return {
|
|
531
|
+
url: toPathString(localVarUrlObj),
|
|
532
|
+
options: localVarRequestOptions
|
|
533
|
+
};
|
|
534
|
+
},
|
|
535
|
+
fetchPluginSetting: async (name, options = {}) => {
|
|
536
|
+
assertParamExists("fetchPluginSetting", "name", name);
|
|
537
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/setting`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
538
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
539
|
+
let baseOptions;
|
|
540
|
+
if (configuration) {
|
|
541
|
+
baseOptions = configuration.baseOptions;
|
|
542
|
+
}
|
|
543
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
544
|
+
const localVarHeaderParameter = {};
|
|
545
|
+
const localVarQueryParameter = {};
|
|
546
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
547
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
548
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
549
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
550
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
551
|
+
return {
|
|
552
|
+
url: toPathString(localVarUrlObj),
|
|
553
|
+
options: localVarRequestOptions
|
|
554
|
+
};
|
|
555
|
+
},
|
|
514
556
|
installPlugin: async (file, options = {}) => {
|
|
515
557
|
assertParamExists("installPlugin", "file", file);
|
|
516
558
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/install`;
|
|
@@ -538,7 +580,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
538
580
|
options: localVarRequestOptions
|
|
539
581
|
};
|
|
540
582
|
},
|
|
541
|
-
listPlugins: async (sort, enabled, keyword, size, page,
|
|
583
|
+
listPlugins: async (sort, enabled, keyword, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
542
584
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
543
585
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
544
586
|
let baseOptions;
|
|
@@ -565,12 +607,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
565
607
|
if (page !== void 0) {
|
|
566
608
|
localVarQueryParameter["page"] = page;
|
|
567
609
|
}
|
|
568
|
-
if (labelSelector) {
|
|
569
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
570
|
-
}
|
|
571
610
|
if (fieldSelector) {
|
|
572
611
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
573
612
|
}
|
|
613
|
+
if (labelSelector) {
|
|
614
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
615
|
+
}
|
|
574
616
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
575
617
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
576
618
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -600,6 +642,30 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
600
642
|
options: localVarRequestOptions
|
|
601
643
|
};
|
|
602
644
|
},
|
|
645
|
+
updatePluginConfig: async (name, configMap, options = {}) => {
|
|
646
|
+
assertParamExists("updatePluginConfig", "name", name);
|
|
647
|
+
assertParamExists("updatePluginConfig", "configMap", configMap);
|
|
648
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
649
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
650
|
+
let baseOptions;
|
|
651
|
+
if (configuration) {
|
|
652
|
+
baseOptions = configuration.baseOptions;
|
|
653
|
+
}
|
|
654
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
655
|
+
const localVarHeaderParameter = {};
|
|
656
|
+
const localVarQueryParameter = {};
|
|
657
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
658
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
659
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
660
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
661
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
662
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
663
|
+
localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
|
|
664
|
+
return {
|
|
665
|
+
url: toPathString(localVarUrlObj),
|
|
666
|
+
options: localVarRequestOptions
|
|
667
|
+
};
|
|
668
|
+
},
|
|
603
669
|
upgradePlugin: async (name, file, options = {}) => {
|
|
604
670
|
assertParamExists("upgradePlugin", "name", name);
|
|
605
671
|
assertParamExists("upgradePlugin", "file", file);
|
|
@@ -633,18 +699,30 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
633
699
|
const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
634
700
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
635
701
|
return {
|
|
702
|
+
async fetchPluginConfig(name, options) {
|
|
703
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPluginConfig(name, options);
|
|
704
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
705
|
+
},
|
|
706
|
+
async fetchPluginSetting(name, options) {
|
|
707
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPluginSetting(name, options);
|
|
708
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
709
|
+
},
|
|
636
710
|
async installPlugin(file, options) {
|
|
637
711
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
638
712
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
639
713
|
},
|
|
640
|
-
async listPlugins(sort, enabled, keyword, size, page,
|
|
641
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page,
|
|
714
|
+
async listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options) {
|
|
715
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options);
|
|
642
716
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
643
717
|
},
|
|
644
718
|
async resetPluginConfig(name, options) {
|
|
645
719
|
const localVarAxiosArgs = await localVarAxiosParamCreator.resetPluginConfig(name, options);
|
|
646
720
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
647
721
|
},
|
|
722
|
+
async updatePluginConfig(name, configMap, options) {
|
|
723
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginConfig(name, configMap, options);
|
|
724
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
725
|
+
},
|
|
648
726
|
async upgradePlugin(name, file, options) {
|
|
649
727
|
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, options);
|
|
650
728
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
@@ -654,30 +732,48 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
654
732
|
const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
655
733
|
const localVarFp = ApiConsoleHaloRunV1alpha1PluginApiFp(configuration);
|
|
656
734
|
return {
|
|
735
|
+
fetchPluginConfig(name, options) {
|
|
736
|
+
return localVarFp.fetchPluginConfig(name, options).then((request) => request(axios, basePath));
|
|
737
|
+
},
|
|
738
|
+
fetchPluginSetting(name, options) {
|
|
739
|
+
return localVarFp.fetchPluginSetting(name, options).then((request) => request(axios, basePath));
|
|
740
|
+
},
|
|
657
741
|
installPlugin(file, options) {
|
|
658
742
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
659
743
|
},
|
|
660
|
-
listPlugins(sort, enabled, keyword, size, page,
|
|
661
|
-
return localVarFp.listPlugins(sort, enabled, keyword, size, page,
|
|
744
|
+
listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options) {
|
|
745
|
+
return localVarFp.listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
662
746
|
},
|
|
663
747
|
resetPluginConfig(name, options) {
|
|
664
748
|
return localVarFp.resetPluginConfig(name, options).then((request) => request(axios, basePath));
|
|
665
749
|
},
|
|
750
|
+
updatePluginConfig(name, configMap, options) {
|
|
751
|
+
return localVarFp.updatePluginConfig(name, configMap, options).then((request) => request(axios, basePath));
|
|
752
|
+
},
|
|
666
753
|
upgradePlugin(name, file, options) {
|
|
667
754
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
668
755
|
}
|
|
669
756
|
};
|
|
670
757
|
};
|
|
671
758
|
class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
759
|
+
fetchPluginConfig(requestParameters, options) {
|
|
760
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).fetchPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
761
|
+
}
|
|
762
|
+
fetchPluginSetting(requestParameters, options) {
|
|
763
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).fetchPluginSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
764
|
+
}
|
|
672
765
|
installPlugin(requestParameters, options) {
|
|
673
766
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
674
767
|
}
|
|
675
768
|
listPlugins(requestParameters = {}, options) {
|
|
676
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.enabled, requestParameters.keyword, requestParameters.size, requestParameters.page, requestParameters.
|
|
769
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.enabled, requestParameters.keyword, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
|
|
677
770
|
}
|
|
678
771
|
resetPluginConfig(requestParameters, options) {
|
|
679
772
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
680
773
|
}
|
|
774
|
+
updatePluginConfig(requestParameters, options) {
|
|
775
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).updatePluginConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
776
|
+
}
|
|
681
777
|
upgradePlugin(requestParameters, options) {
|
|
682
778
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
683
779
|
}
|
|
@@ -708,7 +804,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
708
804
|
options: localVarRequestOptions
|
|
709
805
|
};
|
|
710
806
|
},
|
|
711
|
-
listPosts: async (sort,
|
|
807
|
+
listPosts: async (sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
712
808
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
713
809
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
714
810
|
let baseOptions;
|
|
@@ -723,39 +819,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
723
819
|
if (sort !== void 0) {
|
|
724
820
|
localVarQueryParameter["sort"] = sort;
|
|
725
821
|
}
|
|
726
|
-
if (tag) {
|
|
727
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
728
|
-
}
|
|
729
822
|
if (visible !== void 0) {
|
|
730
823
|
localVarQueryParameter["visible"] = visible;
|
|
731
824
|
}
|
|
825
|
+
if (tag) {
|
|
826
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
827
|
+
}
|
|
732
828
|
if (keyword !== void 0) {
|
|
733
829
|
localVarQueryParameter["keyword"] = keyword;
|
|
734
830
|
}
|
|
735
|
-
if (contributor) {
|
|
736
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
737
|
-
}
|
|
738
|
-
if (sortOrder !== void 0) {
|
|
739
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
740
|
-
}
|
|
741
831
|
if (publishPhase !== void 0) {
|
|
742
832
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
743
833
|
}
|
|
744
834
|
if (category) {
|
|
745
835
|
localVarQueryParameter["category"] = Array.from(category);
|
|
746
836
|
}
|
|
837
|
+
if (contributor) {
|
|
838
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
839
|
+
}
|
|
840
|
+
if (sortOrder !== void 0) {
|
|
841
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
842
|
+
}
|
|
747
843
|
if (size !== void 0) {
|
|
748
844
|
localVarQueryParameter["size"] = size;
|
|
749
845
|
}
|
|
750
846
|
if (page !== void 0) {
|
|
751
847
|
localVarQueryParameter["page"] = page;
|
|
752
848
|
}
|
|
753
|
-
if (labelSelector) {
|
|
754
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
755
|
-
}
|
|
756
849
|
if (fieldSelector) {
|
|
757
850
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
758
851
|
}
|
|
852
|
+
if (labelSelector) {
|
|
853
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
854
|
+
}
|
|
759
855
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
760
856
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
761
857
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -887,8 +983,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
887
983
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
888
984
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
889
985
|
},
|
|
890
|
-
async listPosts(sort,
|
|
891
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
986
|
+
async listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
|
|
987
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options);
|
|
892
988
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
893
989
|
},
|
|
894
990
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -919,8 +1015,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
919
1015
|
draftPost(postRequest, options) {
|
|
920
1016
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
921
1017
|
},
|
|
922
|
-
listPosts(sort,
|
|
923
|
-
return localVarFp.listPosts(sort,
|
|
1018
|
+
listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
|
|
1019
|
+
return localVarFp.listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
924
1020
|
},
|
|
925
1021
|
publishPost(name, headSnapshot, options) {
|
|
926
1022
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -944,7 +1040,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
944
1040
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
945
1041
|
}
|
|
946
1042
|
listPosts(requestParameters = {}, options) {
|
|
947
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
1043
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.visible, requestParameters.tag, requestParameters.keyword, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.sortOrder, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
|
|
948
1044
|
}
|
|
949
1045
|
publishPost(requestParameters, options) {
|
|
950
1046
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -965,7 +1061,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
965
1061
|
|
|
966
1062
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
967
1063
|
return {
|
|
968
|
-
listReplies: async (commentName, size, page,
|
|
1064
|
+
listReplies: async (commentName, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
969
1065
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
970
1066
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
971
1067
|
let baseOptions;
|
|
@@ -986,12 +1082,12 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
986
1082
|
if (page !== void 0) {
|
|
987
1083
|
localVarQueryParameter["page"] = page;
|
|
988
1084
|
}
|
|
989
|
-
if (labelSelector) {
|
|
990
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
991
|
-
}
|
|
992
1085
|
if (fieldSelector) {
|
|
993
1086
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
994
1087
|
}
|
|
1088
|
+
if (labelSelector) {
|
|
1089
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1090
|
+
}
|
|
995
1091
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
996
1092
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
997
1093
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1005,8 +1101,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1005
1101
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
1006
1102
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
1007
1103
|
return {
|
|
1008
|
-
async listReplies(commentName, size, page,
|
|
1009
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page,
|
|
1104
|
+
async listReplies(commentName, size, page, fieldSelector, labelSelector, options) {
|
|
1105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, fieldSelector, labelSelector, options);
|
|
1010
1106
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1011
1107
|
}
|
|
1012
1108
|
};
|
|
@@ -1014,14 +1110,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
1014
1110
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
1015
1111
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
1016
1112
|
return {
|
|
1017
|
-
listReplies(commentName, size, page,
|
|
1018
|
-
return localVarFp.listReplies(commentName, size, page,
|
|
1113
|
+
listReplies(commentName, size, page, fieldSelector, labelSelector, options) {
|
|
1114
|
+
return localVarFp.listReplies(commentName, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
1019
1115
|
}
|
|
1020
1116
|
};
|
|
1021
1117
|
};
|
|
1022
1118
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1023
1119
|
listReplies(requestParameters = {}, options) {
|
|
1024
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.
|
|
1120
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1025
1121
|
}
|
|
1026
1122
|
}
|
|
1027
1123
|
|
|
@@ -1050,7 +1146,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1050
1146
|
options: localVarRequestOptions
|
|
1051
1147
|
};
|
|
1052
1148
|
},
|
|
1053
|
-
listSinglePages: async (sort, visible, keyword, contributor, sortOrder,
|
|
1149
|
+
listSinglePages: async (sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
1054
1150
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1055
1151
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1056
1152
|
let baseOptions;
|
|
@@ -1071,27 +1167,27 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1071
1167
|
if (keyword !== void 0) {
|
|
1072
1168
|
localVarQueryParameter["keyword"] = keyword;
|
|
1073
1169
|
}
|
|
1170
|
+
if (publishPhase !== void 0) {
|
|
1171
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1172
|
+
}
|
|
1074
1173
|
if (contributor) {
|
|
1075
1174
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1076
1175
|
}
|
|
1077
1176
|
if (sortOrder !== void 0) {
|
|
1078
1177
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1079
1178
|
}
|
|
1080
|
-
if (publishPhase !== void 0) {
|
|
1081
|
-
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1082
|
-
}
|
|
1083
1179
|
if (size !== void 0) {
|
|
1084
1180
|
localVarQueryParameter["size"] = size;
|
|
1085
1181
|
}
|
|
1086
1182
|
if (page !== void 0) {
|
|
1087
1183
|
localVarQueryParameter["page"] = page;
|
|
1088
1184
|
}
|
|
1089
|
-
if (labelSelector) {
|
|
1090
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1091
|
-
}
|
|
1092
1185
|
if (fieldSelector) {
|
|
1093
1186
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1094
1187
|
}
|
|
1188
|
+
if (labelSelector) {
|
|
1189
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1190
|
+
}
|
|
1095
1191
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1096
1192
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1097
1193
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1178,8 +1274,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1178
1274
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1179
1275
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1180
1276
|
},
|
|
1181
|
-
async listSinglePages(sort, visible, keyword, contributor, sortOrder,
|
|
1182
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, contributor, sortOrder,
|
|
1277
|
+
async listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
|
|
1278
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options);
|
|
1183
1279
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1184
1280
|
},
|
|
1185
1281
|
async publishSinglePage(name, options) {
|
|
@@ -1202,8 +1298,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1202
1298
|
draftSinglePage(singlePageRequest, options) {
|
|
1203
1299
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1204
1300
|
},
|
|
1205
|
-
listSinglePages(sort, visible, keyword, contributor, sortOrder,
|
|
1206
|
-
return localVarFp.listSinglePages(sort, visible, keyword, contributor, sortOrder,
|
|
1301
|
+
listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
|
|
1302
|
+
return localVarFp.listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
1207
1303
|
},
|
|
1208
1304
|
publishSinglePage(name, options) {
|
|
1209
1305
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1221,7 +1317,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1221
1317
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1222
1318
|
}
|
|
1223
1319
|
listSinglePages(requestParameters = {}, options) {
|
|
1224
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.visible, requestParameters.keyword, requestParameters.
|
|
1320
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.visible, requestParameters.keyword, requestParameters.publishPhase, requestParameters.contributor, requestParameters.sortOrder, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1225
1321
|
}
|
|
1226
1322
|
publishSinglePage(requestParameters, options) {
|
|
1227
1323
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1393,7 +1489,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1393
1489
|
options: localVarRequestOptions
|
|
1394
1490
|
};
|
|
1395
1491
|
},
|
|
1396
|
-
listThemes: async (uninstalled, size, page,
|
|
1492
|
+
listThemes: async (uninstalled, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
1397
1493
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1398
1494
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1399
1495
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1415,12 +1511,12 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1415
1511
|
if (page !== void 0) {
|
|
1416
1512
|
localVarQueryParameter["page"] = page;
|
|
1417
1513
|
}
|
|
1418
|
-
if (labelSelector) {
|
|
1419
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1420
|
-
}
|
|
1421
1514
|
if (fieldSelector) {
|
|
1422
1515
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1423
1516
|
}
|
|
1517
|
+
if (labelSelector) {
|
|
1518
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1519
|
+
}
|
|
1424
1520
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1425
1521
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1426
1522
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1548,8 +1644,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1548
1644
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1549
1645
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1550
1646
|
},
|
|
1551
|
-
async listThemes(uninstalled, size, page,
|
|
1552
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page,
|
|
1647
|
+
async listThemes(uninstalled, size, page, fieldSelector, labelSelector, options) {
|
|
1648
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, fieldSelector, labelSelector, options);
|
|
1553
1649
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1554
1650
|
},
|
|
1555
1651
|
async reload(name, options) {
|
|
@@ -1588,8 +1684,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1588
1684
|
installTheme(file, options) {
|
|
1589
1685
|
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
1590
1686
|
},
|
|
1591
|
-
listThemes(uninstalled, size, page,
|
|
1592
|
-
return localVarFp.listThemes(uninstalled, size, page,
|
|
1687
|
+
listThemes(uninstalled, size, page, fieldSelector, labelSelector, options) {
|
|
1688
|
+
return localVarFp.listThemes(uninstalled, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
1593
1689
|
},
|
|
1594
1690
|
reload(name, options) {
|
|
1595
1691
|
return localVarFp.reload(name, options).then((request) => request(axios, basePath));
|
|
@@ -1622,7 +1718,7 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1622
1718
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1623
1719
|
}
|
|
1624
1720
|
listThemes(requestParameters, options) {
|
|
1625
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.
|
|
1721
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1626
1722
|
}
|
|
1627
1723
|
reload(requestParameters, options) {
|
|
1628
1724
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1935,12 +2031,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1935
2031
|
if (version !== void 0) {
|
|
1936
2032
|
localVarQueryParameter["version"] = version;
|
|
1937
2033
|
}
|
|
1938
|
-
if (kind !== void 0) {
|
|
1939
|
-
localVarQueryParameter["kind"] = kind;
|
|
1940
|
-
}
|
|
1941
2034
|
if (group !== void 0) {
|
|
1942
2035
|
localVarQueryParameter["group"] = group;
|
|
1943
2036
|
}
|
|
2037
|
+
if (kind !== void 0) {
|
|
2038
|
+
localVarQueryParameter["kind"] = kind;
|
|
2039
|
+
}
|
|
1944
2040
|
if (size !== void 0) {
|
|
1945
2041
|
localVarQueryParameter["size"] = size;
|
|
1946
2042
|
}
|
|
@@ -6950,4 +7046,10 @@ const SinglePageSpecVisibleEnum = {
|
|
|
6950
7046
|
Private: "PRIVATE"
|
|
6951
7047
|
};
|
|
6952
7048
|
|
|
6953
|
-
|
|
7049
|
+
const ThemeStatusPhaseEnum = {
|
|
7050
|
+
Ready: "READY",
|
|
7051
|
+
Failed: "FAILED",
|
|
7052
|
+
Unknown: "UNKNOWN"
|
|
7053
|
+
};
|
|
7054
|
+
|
|
7055
|
+
export { ApiConsoleHaloRunV1alpha1AttachmentApi, ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1AttachmentApiFactory, ApiConsoleHaloRunV1alpha1AttachmentApiFp, ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1ContentApi, ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ContentApiFactory, ApiConsoleHaloRunV1alpha1ContentApiFp, ApiConsoleHaloRunV1alpha1IndicesApi, ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1IndicesApiFactory, ApiConsoleHaloRunV1alpha1IndicesApiFp, ApiConsoleHaloRunV1alpha1PluginApi, ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PluginApiFactory, ApiConsoleHaloRunV1alpha1PluginApiFp, ApiConsoleHaloRunV1alpha1PostApi, ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PostApiFactory, ApiConsoleHaloRunV1alpha1PostApiFp, ApiConsoleHaloRunV1alpha1ReplyApi, ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ReplyApiFactory, ApiConsoleHaloRunV1alpha1ReplyApiFp, ApiConsoleHaloRunV1alpha1SinglePageApi, ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1SinglePageApiFactory, ApiConsoleHaloRunV1alpha1SinglePageApiFp, ApiConsoleHaloRunV1alpha1StatsApi, ApiConsoleHaloRunV1alpha1StatsApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1StatsApiFactory, ApiConsoleHaloRunV1alpha1StatsApiFp, ApiConsoleHaloRunV1alpha1ThemeApi, ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ThemeApiFactory, ApiConsoleHaloRunV1alpha1ThemeApiFp, ApiConsoleHaloRunV1alpha1UserApi, ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1UserApiFactory, ApiConsoleHaloRunV1alpha1UserApiFp, ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1TrackerApi, ApiHaloRunV1alpha1TrackerApiAxiosParamCreator, ApiHaloRunV1alpha1TrackerApiFactory, ApiHaloRunV1alpha1TrackerApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, MenuItemSpecTargetEnum, MetricsHaloRunV1alpha1CounterApi, MetricsHaloRunV1alpha1CounterApiAxiosParamCreator, MetricsHaloRunV1alpha1CounterApiFactory, MetricsHaloRunV1alpha1CounterApiFp, MigrationControllerApi, MigrationControllerApiAxiosParamCreator, MigrationControllerApiFactory, MigrationControllerApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginHaloRunV1alpha1SearchEngineApi, PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator, PluginHaloRunV1alpha1SearchEngineApiFactory, PluginHaloRunV1alpha1SearchEngineApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, ThemeStatusPhaseEnum, V1alpha1AnnotationSettingApi, V1alpha1AnnotationSettingApiAxiosParamCreator, V1alpha1AnnotationSettingApiFactory, V1alpha1AnnotationSettingApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|