@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.cjs
CHANGED
|
@@ -77,7 +77,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
77
77
|
|
|
78
78
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
79
79
|
return {
|
|
80
|
-
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
80
|
+
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
81
81
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
82
82
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83
83
|
let baseOptions;
|
|
@@ -113,12 +113,12 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
113
113
|
if (page !== void 0) {
|
|
114
114
|
localVarQueryParameter["page"] = page;
|
|
115
115
|
}
|
|
116
|
-
if (labelSelector) {
|
|
117
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
118
|
-
}
|
|
119
116
|
if (fieldSelector) {
|
|
120
117
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
121
118
|
}
|
|
119
|
+
if (labelSelector) {
|
|
120
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
121
|
+
}
|
|
122
122
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
123
123
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
124
124
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -166,8 +166,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
166
166
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
167
167
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
168
168
|
return {
|
|
169
|
-
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
170
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
169
|
+
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options) {
|
|
170
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options);
|
|
171
171
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
172
172
|
},
|
|
173
173
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -179,8 +179,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
179
179
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
180
180
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
181
181
|
return {
|
|
182
|
-
searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
183
|
-
return localVarFp.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page,
|
|
182
|
+
searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options) {
|
|
183
|
+
return localVarFp.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
184
184
|
},
|
|
185
185
|
uploadAttachment(file, policyName, groupName, options) {
|
|
186
186
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -189,7 +189,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
189
189
|
};
|
|
190
190
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
191
191
|
searchAttachments(requestParameters = {}, options) {
|
|
192
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.
|
|
192
|
+
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));
|
|
193
193
|
}
|
|
194
194
|
uploadAttachment(requestParameters, options) {
|
|
195
195
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -245,7 +245,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
245
245
|
options: localVarRequestOptions
|
|
246
246
|
};
|
|
247
247
|
},
|
|
248
|
-
listComments: async (sort,
|
|
248
|
+
listComments: async (sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
249
249
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
250
250
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
251
251
|
let baseOptions;
|
|
@@ -260,17 +260,14 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
260
260
|
if (sort !== void 0) {
|
|
261
261
|
localVarQueryParameter["sort"] = sort;
|
|
262
262
|
}
|
|
263
|
-
if (
|
|
264
|
-
localVarQueryParameter["
|
|
263
|
+
if (top !== void 0) {
|
|
264
|
+
localVarQueryParameter["top"] = top;
|
|
265
265
|
}
|
|
266
266
|
if (hidden !== void 0) {
|
|
267
267
|
localVarQueryParameter["hidden"] = hidden;
|
|
268
268
|
}
|
|
269
|
-
if (
|
|
270
|
-
localVarQueryParameter["
|
|
271
|
-
}
|
|
272
|
-
if (sortOrder !== void 0) {
|
|
273
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
269
|
+
if (keyword !== void 0) {
|
|
270
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
274
271
|
}
|
|
275
272
|
if (approved !== void 0) {
|
|
276
273
|
localVarQueryParameter["approved"] = approved;
|
|
@@ -278,6 +275,9 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
278
275
|
if (allowNotification !== void 0) {
|
|
279
276
|
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
280
277
|
}
|
|
278
|
+
if (sortOrder !== void 0) {
|
|
279
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
280
|
+
}
|
|
281
281
|
if (ownerKind !== void 0) {
|
|
282
282
|
localVarQueryParameter["ownerKind"] = ownerKind;
|
|
283
283
|
}
|
|
@@ -296,12 +296,12 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
296
296
|
if (page !== void 0) {
|
|
297
297
|
localVarQueryParameter["page"] = page;
|
|
298
298
|
}
|
|
299
|
-
if (labelSelector) {
|
|
300
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
301
|
-
}
|
|
302
299
|
if (fieldSelector) {
|
|
303
300
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
304
301
|
}
|
|
302
|
+
if (labelSelector) {
|
|
303
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
304
|
+
}
|
|
305
305
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
306
306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
307
307
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -323,8 +323,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
323
323
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
324
324
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
325
325
|
},
|
|
326
|
-
async listComments(sort,
|
|
327
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort,
|
|
326
|
+
async listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options) {
|
|
327
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options);
|
|
328
328
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
329
329
|
}
|
|
330
330
|
};
|
|
@@ -338,8 +338,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
338
338
|
createReply(name, replyRequest, options) {
|
|
339
339
|
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
340
340
|
},
|
|
341
|
-
listComments(sort,
|
|
342
|
-
return localVarFp.listComments(sort,
|
|
341
|
+
listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options) {
|
|
342
|
+
return localVarFp.listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
345
|
};
|
|
@@ -351,7 +351,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
351
351
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
352
352
|
}
|
|
353
353
|
listComments(requestParameters = {}, options) {
|
|
354
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.
|
|
354
|
+
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));
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
|
|
@@ -519,6 +519,48 @@ class ApiConsoleHaloRunV1alpha1IndicesApi extends BaseAPI {
|
|
|
519
519
|
|
|
520
520
|
const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
521
521
|
return {
|
|
522
|
+
fetchPluginConfig: async (name, options = {}) => {
|
|
523
|
+
assertParamExists("fetchPluginConfig", "name", name);
|
|
524
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
525
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
526
|
+
let baseOptions;
|
|
527
|
+
if (configuration) {
|
|
528
|
+
baseOptions = configuration.baseOptions;
|
|
529
|
+
}
|
|
530
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
531
|
+
const localVarHeaderParameter = {};
|
|
532
|
+
const localVarQueryParameter = {};
|
|
533
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
534
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
535
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
536
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
537
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
538
|
+
return {
|
|
539
|
+
url: toPathString(localVarUrlObj),
|
|
540
|
+
options: localVarRequestOptions
|
|
541
|
+
};
|
|
542
|
+
},
|
|
543
|
+
fetchPluginSetting: async (name, options = {}) => {
|
|
544
|
+
assertParamExists("fetchPluginSetting", "name", name);
|
|
545
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/setting`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
546
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
547
|
+
let baseOptions;
|
|
548
|
+
if (configuration) {
|
|
549
|
+
baseOptions = configuration.baseOptions;
|
|
550
|
+
}
|
|
551
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
552
|
+
const localVarHeaderParameter = {};
|
|
553
|
+
const localVarQueryParameter = {};
|
|
554
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
555
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
556
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
557
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
558
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
559
|
+
return {
|
|
560
|
+
url: toPathString(localVarUrlObj),
|
|
561
|
+
options: localVarRequestOptions
|
|
562
|
+
};
|
|
563
|
+
},
|
|
522
564
|
installPlugin: async (file, options = {}) => {
|
|
523
565
|
assertParamExists("installPlugin", "file", file);
|
|
524
566
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/install`;
|
|
@@ -546,7 +588,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
546
588
|
options: localVarRequestOptions
|
|
547
589
|
};
|
|
548
590
|
},
|
|
549
|
-
listPlugins: async (sort, enabled, keyword, size, page,
|
|
591
|
+
listPlugins: async (sort, enabled, keyword, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
550
592
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
551
593
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
552
594
|
let baseOptions;
|
|
@@ -573,12 +615,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
573
615
|
if (page !== void 0) {
|
|
574
616
|
localVarQueryParameter["page"] = page;
|
|
575
617
|
}
|
|
576
|
-
if (labelSelector) {
|
|
577
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
578
|
-
}
|
|
579
618
|
if (fieldSelector) {
|
|
580
619
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
581
620
|
}
|
|
621
|
+
if (labelSelector) {
|
|
622
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
623
|
+
}
|
|
582
624
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
583
625
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
584
626
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -608,6 +650,30 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
608
650
|
options: localVarRequestOptions
|
|
609
651
|
};
|
|
610
652
|
},
|
|
653
|
+
updatePluginConfig: async (name, configMap, options = {}) => {
|
|
654
|
+
assertParamExists("updatePluginConfig", "name", name);
|
|
655
|
+
assertParamExists("updatePluginConfig", "configMap", configMap);
|
|
656
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/config`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
657
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
658
|
+
let baseOptions;
|
|
659
|
+
if (configuration) {
|
|
660
|
+
baseOptions = configuration.baseOptions;
|
|
661
|
+
}
|
|
662
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
663
|
+
const localVarHeaderParameter = {};
|
|
664
|
+
const localVarQueryParameter = {};
|
|
665
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
666
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
667
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
668
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
669
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
670
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
671
|
+
localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
|
|
672
|
+
return {
|
|
673
|
+
url: toPathString(localVarUrlObj),
|
|
674
|
+
options: localVarRequestOptions
|
|
675
|
+
};
|
|
676
|
+
},
|
|
611
677
|
upgradePlugin: async (name, file, options = {}) => {
|
|
612
678
|
assertParamExists("upgradePlugin", "name", name);
|
|
613
679
|
assertParamExists("upgradePlugin", "file", file);
|
|
@@ -641,18 +707,30 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
641
707
|
const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
642
708
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
643
709
|
return {
|
|
710
|
+
async fetchPluginConfig(name, options) {
|
|
711
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPluginConfig(name, options);
|
|
712
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
713
|
+
},
|
|
714
|
+
async fetchPluginSetting(name, options) {
|
|
715
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.fetchPluginSetting(name, options);
|
|
716
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
717
|
+
},
|
|
644
718
|
async installPlugin(file, options) {
|
|
645
719
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
646
720
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
647
721
|
},
|
|
648
|
-
async listPlugins(sort, enabled, keyword, size, page,
|
|
649
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page,
|
|
722
|
+
async listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options) {
|
|
723
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options);
|
|
650
724
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
651
725
|
},
|
|
652
726
|
async resetPluginConfig(name, options) {
|
|
653
727
|
const localVarAxiosArgs = await localVarAxiosParamCreator.resetPluginConfig(name, options);
|
|
654
728
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
655
729
|
},
|
|
730
|
+
async updatePluginConfig(name, configMap, options) {
|
|
731
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginConfig(name, configMap, options);
|
|
732
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
733
|
+
},
|
|
656
734
|
async upgradePlugin(name, file, options) {
|
|
657
735
|
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, options);
|
|
658
736
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
@@ -662,30 +740,48 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
662
740
|
const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
663
741
|
const localVarFp = ApiConsoleHaloRunV1alpha1PluginApiFp(configuration);
|
|
664
742
|
return {
|
|
743
|
+
fetchPluginConfig(name, options) {
|
|
744
|
+
return localVarFp.fetchPluginConfig(name, options).then((request) => request(axios, basePath));
|
|
745
|
+
},
|
|
746
|
+
fetchPluginSetting(name, options) {
|
|
747
|
+
return localVarFp.fetchPluginSetting(name, options).then((request) => request(axios, basePath));
|
|
748
|
+
},
|
|
665
749
|
installPlugin(file, options) {
|
|
666
750
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
667
751
|
},
|
|
668
|
-
listPlugins(sort, enabled, keyword, size, page,
|
|
669
|
-
return localVarFp.listPlugins(sort, enabled, keyword, size, page,
|
|
752
|
+
listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options) {
|
|
753
|
+
return localVarFp.listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
670
754
|
},
|
|
671
755
|
resetPluginConfig(name, options) {
|
|
672
756
|
return localVarFp.resetPluginConfig(name, options).then((request) => request(axios, basePath));
|
|
673
757
|
},
|
|
758
|
+
updatePluginConfig(name, configMap, options) {
|
|
759
|
+
return localVarFp.updatePluginConfig(name, configMap, options).then((request) => request(axios, basePath));
|
|
760
|
+
},
|
|
674
761
|
upgradePlugin(name, file, options) {
|
|
675
762
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
676
763
|
}
|
|
677
764
|
};
|
|
678
765
|
};
|
|
679
766
|
class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
767
|
+
fetchPluginConfig(requestParameters, options) {
|
|
768
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).fetchPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
769
|
+
}
|
|
770
|
+
fetchPluginSetting(requestParameters, options) {
|
|
771
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).fetchPluginSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
772
|
+
}
|
|
680
773
|
installPlugin(requestParameters, options) {
|
|
681
774
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
682
775
|
}
|
|
683
776
|
listPlugins(requestParameters = {}, options) {
|
|
684
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.enabled, requestParameters.keyword, requestParameters.size, requestParameters.page, requestParameters.
|
|
777
|
+
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));
|
|
685
778
|
}
|
|
686
779
|
resetPluginConfig(requestParameters, options) {
|
|
687
780
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
688
781
|
}
|
|
782
|
+
updatePluginConfig(requestParameters, options) {
|
|
783
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).updatePluginConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
784
|
+
}
|
|
689
785
|
upgradePlugin(requestParameters, options) {
|
|
690
786
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
691
787
|
}
|
|
@@ -716,7 +812,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
716
812
|
options: localVarRequestOptions
|
|
717
813
|
};
|
|
718
814
|
},
|
|
719
|
-
listPosts: async (sort,
|
|
815
|
+
listPosts: async (sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
720
816
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
721
817
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
722
818
|
let baseOptions;
|
|
@@ -731,39 +827,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
731
827
|
if (sort !== void 0) {
|
|
732
828
|
localVarQueryParameter["sort"] = sort;
|
|
733
829
|
}
|
|
734
|
-
if (tag) {
|
|
735
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
736
|
-
}
|
|
737
830
|
if (visible !== void 0) {
|
|
738
831
|
localVarQueryParameter["visible"] = visible;
|
|
739
832
|
}
|
|
833
|
+
if (tag) {
|
|
834
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
835
|
+
}
|
|
740
836
|
if (keyword !== void 0) {
|
|
741
837
|
localVarQueryParameter["keyword"] = keyword;
|
|
742
838
|
}
|
|
743
|
-
if (contributor) {
|
|
744
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
745
|
-
}
|
|
746
|
-
if (sortOrder !== void 0) {
|
|
747
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
748
|
-
}
|
|
749
839
|
if (publishPhase !== void 0) {
|
|
750
840
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
751
841
|
}
|
|
752
842
|
if (category) {
|
|
753
843
|
localVarQueryParameter["category"] = Array.from(category);
|
|
754
844
|
}
|
|
845
|
+
if (contributor) {
|
|
846
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
847
|
+
}
|
|
848
|
+
if (sortOrder !== void 0) {
|
|
849
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
850
|
+
}
|
|
755
851
|
if (size !== void 0) {
|
|
756
852
|
localVarQueryParameter["size"] = size;
|
|
757
853
|
}
|
|
758
854
|
if (page !== void 0) {
|
|
759
855
|
localVarQueryParameter["page"] = page;
|
|
760
856
|
}
|
|
761
|
-
if (labelSelector) {
|
|
762
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
763
|
-
}
|
|
764
857
|
if (fieldSelector) {
|
|
765
858
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
766
859
|
}
|
|
860
|
+
if (labelSelector) {
|
|
861
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
862
|
+
}
|
|
767
863
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
768
864
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
769
865
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -895,8 +991,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
895
991
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
896
992
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
897
993
|
},
|
|
898
|
-
async listPosts(sort,
|
|
899
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
994
|
+
async listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
|
|
995
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options);
|
|
900
996
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
901
997
|
},
|
|
902
998
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -927,8 +1023,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
927
1023
|
draftPost(postRequest, options) {
|
|
928
1024
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
929
1025
|
},
|
|
930
|
-
listPosts(sort,
|
|
931
|
-
return localVarFp.listPosts(sort,
|
|
1026
|
+
listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
|
|
1027
|
+
return localVarFp.listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
932
1028
|
},
|
|
933
1029
|
publishPost(name, headSnapshot, options) {
|
|
934
1030
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -952,7 +1048,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
952
1048
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
953
1049
|
}
|
|
954
1050
|
listPosts(requestParameters = {}, options) {
|
|
955
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
1051
|
+
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));
|
|
956
1052
|
}
|
|
957
1053
|
publishPost(requestParameters, options) {
|
|
958
1054
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -973,7 +1069,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
973
1069
|
|
|
974
1070
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
975
1071
|
return {
|
|
976
|
-
listReplies: async (commentName, size, page,
|
|
1072
|
+
listReplies: async (commentName, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
977
1073
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
978
1074
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
979
1075
|
let baseOptions;
|
|
@@ -994,12 +1090,12 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
994
1090
|
if (page !== void 0) {
|
|
995
1091
|
localVarQueryParameter["page"] = page;
|
|
996
1092
|
}
|
|
997
|
-
if (labelSelector) {
|
|
998
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
999
|
-
}
|
|
1000
1093
|
if (fieldSelector) {
|
|
1001
1094
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1002
1095
|
}
|
|
1096
|
+
if (labelSelector) {
|
|
1097
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1098
|
+
}
|
|
1003
1099
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1004
1100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1005
1101
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1013,8 +1109,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1013
1109
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
1014
1110
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
1015
1111
|
return {
|
|
1016
|
-
async listReplies(commentName, size, page,
|
|
1017
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page,
|
|
1112
|
+
async listReplies(commentName, size, page, fieldSelector, labelSelector, options) {
|
|
1113
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, fieldSelector, labelSelector, options);
|
|
1018
1114
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1019
1115
|
}
|
|
1020
1116
|
};
|
|
@@ -1022,14 +1118,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
1022
1118
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
1023
1119
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
1024
1120
|
return {
|
|
1025
|
-
listReplies(commentName, size, page,
|
|
1026
|
-
return localVarFp.listReplies(commentName, size, page,
|
|
1121
|
+
listReplies(commentName, size, page, fieldSelector, labelSelector, options) {
|
|
1122
|
+
return localVarFp.listReplies(commentName, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
1027
1123
|
}
|
|
1028
1124
|
};
|
|
1029
1125
|
};
|
|
1030
1126
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1031
1127
|
listReplies(requestParameters = {}, options) {
|
|
1032
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.
|
|
1128
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1033
1129
|
}
|
|
1034
1130
|
}
|
|
1035
1131
|
|
|
@@ -1058,7 +1154,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1058
1154
|
options: localVarRequestOptions
|
|
1059
1155
|
};
|
|
1060
1156
|
},
|
|
1061
|
-
listSinglePages: async (sort, visible, keyword, contributor, sortOrder,
|
|
1157
|
+
listSinglePages: async (sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
1062
1158
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1063
1159
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1064
1160
|
let baseOptions;
|
|
@@ -1079,27 +1175,27 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1079
1175
|
if (keyword !== void 0) {
|
|
1080
1176
|
localVarQueryParameter["keyword"] = keyword;
|
|
1081
1177
|
}
|
|
1178
|
+
if (publishPhase !== void 0) {
|
|
1179
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1180
|
+
}
|
|
1082
1181
|
if (contributor) {
|
|
1083
1182
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1084
1183
|
}
|
|
1085
1184
|
if (sortOrder !== void 0) {
|
|
1086
1185
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1087
1186
|
}
|
|
1088
|
-
if (publishPhase !== void 0) {
|
|
1089
|
-
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1090
|
-
}
|
|
1091
1187
|
if (size !== void 0) {
|
|
1092
1188
|
localVarQueryParameter["size"] = size;
|
|
1093
1189
|
}
|
|
1094
1190
|
if (page !== void 0) {
|
|
1095
1191
|
localVarQueryParameter["page"] = page;
|
|
1096
1192
|
}
|
|
1097
|
-
if (labelSelector) {
|
|
1098
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1099
|
-
}
|
|
1100
1193
|
if (fieldSelector) {
|
|
1101
1194
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1102
1195
|
}
|
|
1196
|
+
if (labelSelector) {
|
|
1197
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1198
|
+
}
|
|
1103
1199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1104
1200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1105
1201
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1186,8 +1282,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1186
1282
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1187
1283
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1188
1284
|
},
|
|
1189
|
-
async listSinglePages(sort, visible, keyword, contributor, sortOrder,
|
|
1190
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, contributor, sortOrder,
|
|
1285
|
+
async listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
|
|
1286
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options);
|
|
1191
1287
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1192
1288
|
},
|
|
1193
1289
|
async publishSinglePage(name, options) {
|
|
@@ -1210,8 +1306,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1210
1306
|
draftSinglePage(singlePageRequest, options) {
|
|
1211
1307
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1212
1308
|
},
|
|
1213
|
-
listSinglePages(sort, visible, keyword, contributor, sortOrder,
|
|
1214
|
-
return localVarFp.listSinglePages(sort, visible, keyword, contributor, sortOrder,
|
|
1309
|
+
listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
|
|
1310
|
+
return localVarFp.listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
1215
1311
|
},
|
|
1216
1312
|
publishSinglePage(name, options) {
|
|
1217
1313
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1229,7 +1325,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1229
1325
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1230
1326
|
}
|
|
1231
1327
|
listSinglePages(requestParameters = {}, options) {
|
|
1232
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.visible, requestParameters.keyword, requestParameters.
|
|
1328
|
+
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));
|
|
1233
1329
|
}
|
|
1234
1330
|
publishSinglePage(requestParameters, options) {
|
|
1235
1331
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1401,7 +1497,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1401
1497
|
options: localVarRequestOptions
|
|
1402
1498
|
};
|
|
1403
1499
|
},
|
|
1404
|
-
listThemes: async (uninstalled, size, page,
|
|
1500
|
+
listThemes: async (uninstalled, size, page, fieldSelector, labelSelector, options = {}) => {
|
|
1405
1501
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1406
1502
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1407
1503
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1423,12 +1519,12 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1423
1519
|
if (page !== void 0) {
|
|
1424
1520
|
localVarQueryParameter["page"] = page;
|
|
1425
1521
|
}
|
|
1426
|
-
if (labelSelector) {
|
|
1427
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1428
|
-
}
|
|
1429
1522
|
if (fieldSelector) {
|
|
1430
1523
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1431
1524
|
}
|
|
1525
|
+
if (labelSelector) {
|
|
1526
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1527
|
+
}
|
|
1432
1528
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1433
1529
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1434
1530
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1556,8 +1652,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1556
1652
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1557
1653
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1558
1654
|
},
|
|
1559
|
-
async listThemes(uninstalled, size, page,
|
|
1560
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page,
|
|
1655
|
+
async listThemes(uninstalled, size, page, fieldSelector, labelSelector, options) {
|
|
1656
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, fieldSelector, labelSelector, options);
|
|
1561
1657
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1562
1658
|
},
|
|
1563
1659
|
async reload(name, options) {
|
|
@@ -1596,8 +1692,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1596
1692
|
installTheme(file, options) {
|
|
1597
1693
|
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
1598
1694
|
},
|
|
1599
|
-
listThemes(uninstalled, size, page,
|
|
1600
|
-
return localVarFp.listThemes(uninstalled, size, page,
|
|
1695
|
+
listThemes(uninstalled, size, page, fieldSelector, labelSelector, options) {
|
|
1696
|
+
return localVarFp.listThemes(uninstalled, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
|
|
1601
1697
|
},
|
|
1602
1698
|
reload(name, options) {
|
|
1603
1699
|
return localVarFp.reload(name, options).then((request) => request(axios, basePath));
|
|
@@ -1630,7 +1726,7 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1630
1726
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1631
1727
|
}
|
|
1632
1728
|
listThemes(requestParameters, options) {
|
|
1633
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.
|
|
1729
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1634
1730
|
}
|
|
1635
1731
|
reload(requestParameters, options) {
|
|
1636
1732
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1943,12 +2039,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1943
2039
|
if (version !== void 0) {
|
|
1944
2040
|
localVarQueryParameter["version"] = version;
|
|
1945
2041
|
}
|
|
1946
|
-
if (kind !== void 0) {
|
|
1947
|
-
localVarQueryParameter["kind"] = kind;
|
|
1948
|
-
}
|
|
1949
2042
|
if (group !== void 0) {
|
|
1950
2043
|
localVarQueryParameter["group"] = group;
|
|
1951
2044
|
}
|
|
2045
|
+
if (kind !== void 0) {
|
|
2046
|
+
localVarQueryParameter["kind"] = kind;
|
|
2047
|
+
}
|
|
1952
2048
|
if (size !== void 0) {
|
|
1953
2049
|
localVarQueryParameter["size"] = size;
|
|
1954
2050
|
}
|
|
@@ -6958,6 +7054,12 @@ const SinglePageSpecVisibleEnum = {
|
|
|
6958
7054
|
Private: "PRIVATE"
|
|
6959
7055
|
};
|
|
6960
7056
|
|
|
7057
|
+
const ThemeStatusPhaseEnum = {
|
|
7058
|
+
Ready: "READY",
|
|
7059
|
+
Failed: "FAILED",
|
|
7060
|
+
Unknown: "UNKNOWN"
|
|
7061
|
+
};
|
|
7062
|
+
|
|
6961
7063
|
exports.ApiConsoleHaloRunV1alpha1AttachmentApi = ApiConsoleHaloRunV1alpha1AttachmentApi;
|
|
6962
7064
|
exports.ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator;
|
|
6963
7065
|
exports.ApiConsoleHaloRunV1alpha1AttachmentApiFactory = ApiConsoleHaloRunV1alpha1AttachmentApiFactory;
|
|
@@ -7088,6 +7190,7 @@ exports.ThemeHaloRunV1alpha1ThemeApi = ThemeHaloRunV1alpha1ThemeApi;
|
|
|
7088
7190
|
exports.ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator;
|
|
7089
7191
|
exports.ThemeHaloRunV1alpha1ThemeApiFactory = ThemeHaloRunV1alpha1ThemeApiFactory;
|
|
7090
7192
|
exports.ThemeHaloRunV1alpha1ThemeApiFp = ThemeHaloRunV1alpha1ThemeApiFp;
|
|
7193
|
+
exports.ThemeStatusPhaseEnum = ThemeStatusPhaseEnum;
|
|
7091
7194
|
exports.V1alpha1AnnotationSettingApi = V1alpha1AnnotationSettingApi;
|
|
7092
7195
|
exports.V1alpha1AnnotationSettingApiAxiosParamCreator = V1alpha1AnnotationSettingApiAxiosParamCreator;
|
|
7093
7196
|
exports.V1alpha1AnnotationSettingApiFactory = V1alpha1AnnotationSettingApiFactory;
|