@halo-dev/api-client 0.0.42 → 0.0.44
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 +462 -95
- package/dist/index.d.ts +1195 -237
- package/dist/index.mjs +451 -96
- 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, displayName, uploadedBy, group, size, labelSelector, fieldSelector,
|
|
72
|
+
searchAttachments: async (policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, 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;
|
|
@@ -96,15 +96,15 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
96
96
|
if (size !== void 0) {
|
|
97
97
|
localVarQueryParameter["size"] = size;
|
|
98
98
|
}
|
|
99
|
+
if (page !== void 0) {
|
|
100
|
+
localVarQueryParameter["page"] = page;
|
|
101
|
+
}
|
|
99
102
|
if (labelSelector) {
|
|
100
103
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
101
104
|
}
|
|
102
105
|
if (fieldSelector) {
|
|
103
106
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
104
107
|
}
|
|
105
|
-
if (page !== void 0) {
|
|
106
|
-
localVarQueryParameter["page"] = page;
|
|
107
|
-
}
|
|
108
108
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
109
109
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
110
110
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -152,8 +152,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
152
152
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
153
153
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
154
154
|
return {
|
|
155
|
-
async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector,
|
|
156
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector,
|
|
155
|
+
async searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options) {
|
|
156
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options);
|
|
157
157
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
158
158
|
},
|
|
159
159
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -165,8 +165,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
165
165
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
166
166
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
167
167
|
return {
|
|
168
|
-
searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector,
|
|
169
|
-
return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector,
|
|
168
|
+
searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options) {
|
|
169
|
+
return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
170
170
|
},
|
|
171
171
|
uploadAttachment(file, policyName, groupName, options) {
|
|
172
172
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -175,7 +175,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
175
175
|
};
|
|
176
176
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
177
177
|
searchAttachments(requestParameters = {}, options) {
|
|
178
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.
|
|
178
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
179
179
|
}
|
|
180
180
|
uploadAttachment(requestParameters, options) {
|
|
181
181
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -231,7 +231,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
231
231
|
options: localVarRequestOptions
|
|
232
232
|
};
|
|
233
233
|
},
|
|
234
|
-
listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
234
|
+
listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
235
235
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
236
236
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
237
237
|
let baseOptions;
|
|
@@ -246,6 +246,15 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
246
246
|
if (sort !== void 0) {
|
|
247
247
|
localVarQueryParameter["sort"] = sort;
|
|
248
248
|
}
|
|
249
|
+
if (keyword !== void 0) {
|
|
250
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
251
|
+
}
|
|
252
|
+
if (hidden !== void 0) {
|
|
253
|
+
localVarQueryParameter["hidden"] = hidden;
|
|
254
|
+
}
|
|
255
|
+
if (top !== void 0) {
|
|
256
|
+
localVarQueryParameter["top"] = top;
|
|
257
|
+
}
|
|
249
258
|
if (sortOrder !== void 0) {
|
|
250
259
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
251
260
|
}
|
|
@@ -267,27 +276,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
267
276
|
if (subjectName !== void 0) {
|
|
268
277
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
269
278
|
}
|
|
270
|
-
if (keyword !== void 0) {
|
|
271
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
272
|
-
}
|
|
273
|
-
if (hidden !== void 0) {
|
|
274
|
-
localVarQueryParameter["hidden"] = hidden;
|
|
275
|
-
}
|
|
276
|
-
if (top !== void 0) {
|
|
277
|
-
localVarQueryParameter["top"] = top;
|
|
278
|
-
}
|
|
279
279
|
if (size !== void 0) {
|
|
280
280
|
localVarQueryParameter["size"] = size;
|
|
281
281
|
}
|
|
282
|
+
if (page !== void 0) {
|
|
283
|
+
localVarQueryParameter["page"] = page;
|
|
284
|
+
}
|
|
282
285
|
if (labelSelector) {
|
|
283
286
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
284
287
|
}
|
|
285
288
|
if (fieldSelector) {
|
|
286
289
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
287
290
|
}
|
|
288
|
-
if (page !== void 0) {
|
|
289
|
-
localVarQueryParameter["page"] = page;
|
|
290
|
-
}
|
|
291
291
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
292
292
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
293
293
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -309,8 +309,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
309
309
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
310
310
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
311
311
|
},
|
|
312
|
-
async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
313
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
312
|
+
async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
313
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
|
|
314
314
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
315
315
|
}
|
|
316
316
|
};
|
|
@@ -324,8 +324,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
324
324
|
createReply(name, replyRequest, options) {
|
|
325
325
|
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
326
326
|
},
|
|
327
|
-
listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
328
|
-
return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
327
|
+
listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
328
|
+
return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
329
329
|
}
|
|
330
330
|
};
|
|
331
331
|
};
|
|
@@ -337,7 +337,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
337
337
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
338
338
|
}
|
|
339
339
|
listComments(requestParameters = {}, options) {
|
|
340
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.
|
|
340
|
+
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.keyword, requestParameters.hidden, requestParameters.top, requestParameters.sortOrder, requestParameters.approved, requestParameters.allowNotification, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
|
|
@@ -456,6 +456,53 @@ class ApiConsoleHaloRunV1alpha1ContentApi extends BaseAPI {
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator = function(configuration) {
|
|
460
|
+
return {
|
|
461
|
+
buildPostIndices: async (options = {}) => {
|
|
462
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/indices/post`;
|
|
463
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
464
|
+
let baseOptions;
|
|
465
|
+
if (configuration) {
|
|
466
|
+
baseOptions = configuration.baseOptions;
|
|
467
|
+
}
|
|
468
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
469
|
+
const localVarHeaderParameter = {};
|
|
470
|
+
const localVarQueryParameter = {};
|
|
471
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
472
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
473
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
474
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
475
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
476
|
+
return {
|
|
477
|
+
url: toPathString(localVarUrlObj),
|
|
478
|
+
options: localVarRequestOptions
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiFp = function(configuration) {
|
|
484
|
+
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator(configuration);
|
|
485
|
+
return {
|
|
486
|
+
async buildPostIndices(options) {
|
|
487
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.buildPostIndices(options);
|
|
488
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
489
|
+
}
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiFactory = function(configuration, basePath, axios) {
|
|
493
|
+
const localVarFp = ApiConsoleHaloRunV1alpha1IndicesApiFp(configuration);
|
|
494
|
+
return {
|
|
495
|
+
buildPostIndices(options) {
|
|
496
|
+
return localVarFp.buildPostIndices(options).then((request) => request(axios, basePath));
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
class ApiConsoleHaloRunV1alpha1IndicesApi extends BaseAPI {
|
|
501
|
+
buildPostIndices(options) {
|
|
502
|
+
return ApiConsoleHaloRunV1alpha1IndicesApiFp(this.configuration).buildPostIndices(options).then((request) => request(this.axios, this.basePath));
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
459
506
|
const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
460
507
|
return {
|
|
461
508
|
installPlugin: async (file, options = {}) => {
|
|
@@ -485,7 +532,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
485
532
|
options: localVarRequestOptions
|
|
486
533
|
};
|
|
487
534
|
},
|
|
488
|
-
listPlugins: async (sort,
|
|
535
|
+
listPlugins: async (sort, keyword, enabled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
489
536
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
490
537
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
491
538
|
let baseOptions;
|
|
@@ -500,24 +547,24 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
500
547
|
if (sort) {
|
|
501
548
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
502
549
|
}
|
|
503
|
-
if (enabled !== void 0) {
|
|
504
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
505
|
-
}
|
|
506
550
|
if (keyword !== void 0) {
|
|
507
551
|
localVarQueryParameter["keyword"] = keyword;
|
|
508
552
|
}
|
|
553
|
+
if (enabled !== void 0) {
|
|
554
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
555
|
+
}
|
|
509
556
|
if (size !== void 0) {
|
|
510
557
|
localVarQueryParameter["size"] = size;
|
|
511
558
|
}
|
|
559
|
+
if (page !== void 0) {
|
|
560
|
+
localVarQueryParameter["page"] = page;
|
|
561
|
+
}
|
|
512
562
|
if (labelSelector) {
|
|
513
563
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
514
564
|
}
|
|
515
565
|
if (fieldSelector) {
|
|
516
566
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
517
567
|
}
|
|
518
|
-
if (page !== void 0) {
|
|
519
|
-
localVarQueryParameter["page"] = page;
|
|
520
|
-
}
|
|
521
568
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
522
569
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
523
570
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -563,8 +610,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
563
610
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
564
611
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
565
612
|
},
|
|
566
|
-
async listPlugins(sort,
|
|
567
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
613
|
+
async listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
614
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options);
|
|
568
615
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
569
616
|
},
|
|
570
617
|
async upgradePlugin(name, file, options) {
|
|
@@ -579,8 +626,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
579
626
|
installPlugin(file, options) {
|
|
580
627
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
581
628
|
},
|
|
582
|
-
listPlugins(sort,
|
|
583
|
-
return localVarFp.listPlugins(sort,
|
|
629
|
+
listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
630
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
584
631
|
},
|
|
585
632
|
upgradePlugin(name, file, options) {
|
|
586
633
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -592,7 +639,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
592
639
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
593
640
|
}
|
|
594
641
|
listPlugins(requestParameters = {}, options) {
|
|
595
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
642
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
596
643
|
}
|
|
597
644
|
upgradePlugin(requestParameters, options) {
|
|
598
645
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -624,7 +671,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
624
671
|
options: localVarRequestOptions
|
|
625
672
|
};
|
|
626
673
|
},
|
|
627
|
-
listPosts: async (sort,
|
|
674
|
+
listPosts: async (sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
628
675
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
629
676
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
630
677
|
let baseOptions;
|
|
@@ -639,8 +686,14 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
639
686
|
if (sort !== void 0) {
|
|
640
687
|
localVarQueryParameter["sort"] = sort;
|
|
641
688
|
}
|
|
642
|
-
if (
|
|
643
|
-
localVarQueryParameter["
|
|
689
|
+
if (keyword !== void 0) {
|
|
690
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
691
|
+
}
|
|
692
|
+
if (visible !== void 0) {
|
|
693
|
+
localVarQueryParameter["visible"] = visible;
|
|
694
|
+
}
|
|
695
|
+
if (tag) {
|
|
696
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
644
697
|
}
|
|
645
698
|
if (sortOrder !== void 0) {
|
|
646
699
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -651,27 +704,21 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
651
704
|
if (category) {
|
|
652
705
|
localVarQueryParameter["category"] = Array.from(category);
|
|
653
706
|
}
|
|
654
|
-
if (
|
|
655
|
-
localVarQueryParameter["
|
|
656
|
-
}
|
|
657
|
-
if (keyword !== void 0) {
|
|
658
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
659
|
-
}
|
|
660
|
-
if (visible !== void 0) {
|
|
661
|
-
localVarQueryParameter["visible"] = visible;
|
|
707
|
+
if (contributor) {
|
|
708
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
662
709
|
}
|
|
663
710
|
if (size !== void 0) {
|
|
664
711
|
localVarQueryParameter["size"] = size;
|
|
665
712
|
}
|
|
713
|
+
if (page !== void 0) {
|
|
714
|
+
localVarQueryParameter["page"] = page;
|
|
715
|
+
}
|
|
666
716
|
if (labelSelector) {
|
|
667
717
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
668
718
|
}
|
|
669
719
|
if (fieldSelector) {
|
|
670
720
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
671
721
|
}
|
|
672
|
-
if (page !== void 0) {
|
|
673
|
-
localVarQueryParameter["page"] = page;
|
|
674
|
-
}
|
|
675
722
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
676
723
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
677
724
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -701,6 +748,48 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
701
748
|
options: localVarRequestOptions
|
|
702
749
|
};
|
|
703
750
|
},
|
|
751
|
+
recyclePost: async (name, options = {}) => {
|
|
752
|
+
assertParamExists("recyclePost", "name", name);
|
|
753
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
754
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
755
|
+
let baseOptions;
|
|
756
|
+
if (configuration) {
|
|
757
|
+
baseOptions = configuration.baseOptions;
|
|
758
|
+
}
|
|
759
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
760
|
+
const localVarHeaderParameter = {};
|
|
761
|
+
const localVarQueryParameter = {};
|
|
762
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
763
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
764
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
765
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
766
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
767
|
+
return {
|
|
768
|
+
url: toPathString(localVarUrlObj),
|
|
769
|
+
options: localVarRequestOptions
|
|
770
|
+
};
|
|
771
|
+
},
|
|
772
|
+
unpublishPost: async (name, options = {}) => {
|
|
773
|
+
assertParamExists("unpublishPost", "name", name);
|
|
774
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
775
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
776
|
+
let baseOptions;
|
|
777
|
+
if (configuration) {
|
|
778
|
+
baseOptions = configuration.baseOptions;
|
|
779
|
+
}
|
|
780
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
781
|
+
const localVarHeaderParameter = {};
|
|
782
|
+
const localVarQueryParameter = {};
|
|
783
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
784
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
785
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
786
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
787
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
788
|
+
return {
|
|
789
|
+
url: toPathString(localVarUrlObj),
|
|
790
|
+
options: localVarRequestOptions
|
|
791
|
+
};
|
|
792
|
+
},
|
|
704
793
|
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
705
794
|
assertParamExists("updateDraftPost", "name", name);
|
|
706
795
|
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
@@ -734,14 +823,22 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
734
823
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
735
824
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
736
825
|
},
|
|
737
|
-
async listPosts(sort,
|
|
738
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
826
|
+
async listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
|
|
739
828
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
740
829
|
},
|
|
741
830
|
async publishPost(name, options) {
|
|
742
831
|
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
743
832
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
744
833
|
},
|
|
834
|
+
async recyclePost(name, options) {
|
|
835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recyclePost(name, options);
|
|
836
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
837
|
+
},
|
|
838
|
+
async unpublishPost(name, options) {
|
|
839
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unpublishPost(name, options);
|
|
840
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
841
|
+
},
|
|
745
842
|
async updateDraftPost(name, postRequest, options) {
|
|
746
843
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
747
844
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
@@ -754,12 +851,18 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
754
851
|
draftPost(postRequest, options) {
|
|
755
852
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
756
853
|
},
|
|
757
|
-
listPosts(sort,
|
|
758
|
-
return localVarFp.listPosts(sort,
|
|
854
|
+
listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
855
|
+
return localVarFp.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
759
856
|
},
|
|
760
857
|
publishPost(name, options) {
|
|
761
858
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
762
859
|
},
|
|
860
|
+
recyclePost(name, options) {
|
|
861
|
+
return localVarFp.recyclePost(name, options).then((request) => request(axios, basePath));
|
|
862
|
+
},
|
|
863
|
+
unpublishPost(name, options) {
|
|
864
|
+
return localVarFp.unpublishPost(name, options).then((request) => request(axios, basePath));
|
|
865
|
+
},
|
|
763
866
|
updateDraftPost(name, postRequest, options) {
|
|
764
867
|
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
765
868
|
}
|
|
@@ -770,11 +873,17 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
770
873
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
771
874
|
}
|
|
772
875
|
listPosts(requestParameters = {}, options) {
|
|
773
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
876
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
774
877
|
}
|
|
775
878
|
publishPost(requestParameters, options) {
|
|
776
879
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
777
880
|
}
|
|
881
|
+
recyclePost(requestParameters, options) {
|
|
882
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).recyclePost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
883
|
+
}
|
|
884
|
+
unpublishPost(requestParameters, options) {
|
|
885
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).unpublishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
886
|
+
}
|
|
778
887
|
updateDraftPost(requestParameters, options) {
|
|
779
888
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
780
889
|
}
|
|
@@ -782,7 +891,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
782
891
|
|
|
783
892
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
784
893
|
return {
|
|
785
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
894
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
786
895
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
787
896
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
788
897
|
let baseOptions;
|
|
@@ -800,15 +909,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
800
909
|
if (size !== void 0) {
|
|
801
910
|
localVarQueryParameter["size"] = size;
|
|
802
911
|
}
|
|
912
|
+
if (page !== void 0) {
|
|
913
|
+
localVarQueryParameter["page"] = page;
|
|
914
|
+
}
|
|
803
915
|
if (labelSelector) {
|
|
804
916
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
805
917
|
}
|
|
806
918
|
if (fieldSelector) {
|
|
807
919
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
808
920
|
}
|
|
809
|
-
if (page !== void 0) {
|
|
810
|
-
localVarQueryParameter["page"] = page;
|
|
811
|
-
}
|
|
812
921
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
813
922
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
814
923
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -822,8 +931,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
822
931
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
823
932
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
824
933
|
return {
|
|
825
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
826
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
934
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
935
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
|
|
827
936
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
828
937
|
}
|
|
829
938
|
};
|
|
@@ -831,14 +940,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
831
940
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
832
941
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
833
942
|
return {
|
|
834
|
-
listReplies(commentName, size, labelSelector, fieldSelector,
|
|
835
|
-
return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
943
|
+
listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
944
|
+
return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
836
945
|
}
|
|
837
946
|
};
|
|
838
947
|
};
|
|
839
948
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
840
949
|
listReplies(requestParameters = {}, options) {
|
|
841
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.
|
|
950
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
842
951
|
}
|
|
843
952
|
}
|
|
844
953
|
|
|
@@ -867,7 +976,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
867
976
|
options: localVarRequestOptions
|
|
868
977
|
};
|
|
869
978
|
},
|
|
870
|
-
listSinglePages: async (sort,
|
|
979
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
871
980
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
872
981
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
873
982
|
let baseOptions;
|
|
@@ -882,8 +991,11 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
882
991
|
if (sort !== void 0) {
|
|
883
992
|
localVarQueryParameter["sort"] = sort;
|
|
884
993
|
}
|
|
885
|
-
if (
|
|
886
|
-
localVarQueryParameter["
|
|
994
|
+
if (keyword !== void 0) {
|
|
995
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
996
|
+
}
|
|
997
|
+
if (visible !== void 0) {
|
|
998
|
+
localVarQueryParameter["visible"] = visible;
|
|
887
999
|
}
|
|
888
1000
|
if (sortOrder !== void 0) {
|
|
889
1001
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -891,24 +1003,21 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
891
1003
|
if (publishPhase !== void 0) {
|
|
892
1004
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
893
1005
|
}
|
|
894
|
-
if (
|
|
895
|
-
localVarQueryParameter["
|
|
896
|
-
}
|
|
897
|
-
if (visible !== void 0) {
|
|
898
|
-
localVarQueryParameter["visible"] = visible;
|
|
1006
|
+
if (contributor) {
|
|
1007
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
899
1008
|
}
|
|
900
1009
|
if (size !== void 0) {
|
|
901
1010
|
localVarQueryParameter["size"] = size;
|
|
902
1011
|
}
|
|
1012
|
+
if (page !== void 0) {
|
|
1013
|
+
localVarQueryParameter["page"] = page;
|
|
1014
|
+
}
|
|
903
1015
|
if (labelSelector) {
|
|
904
1016
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
905
1017
|
}
|
|
906
1018
|
if (fieldSelector) {
|
|
907
1019
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
908
1020
|
}
|
|
909
|
-
if (page !== void 0) {
|
|
910
|
-
localVarQueryParameter["page"] = page;
|
|
911
|
-
}
|
|
912
1021
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
913
1022
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
914
1023
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -971,8 +1080,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
971
1080
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
972
1081
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
973
1082
|
},
|
|
974
|
-
async listSinglePages(sort,
|
|
975
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1083
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1084
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options);
|
|
976
1085
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
977
1086
|
},
|
|
978
1087
|
async publishSinglePage(name, options) {
|
|
@@ -991,8 +1100,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
991
1100
|
draftSinglePage(singlePageRequest, options) {
|
|
992
1101
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
993
1102
|
},
|
|
994
|
-
listSinglePages(sort,
|
|
995
|
-
return localVarFp.listSinglePages(sort,
|
|
1103
|
+
listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1104
|
+
return localVarFp.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
996
1105
|
},
|
|
997
1106
|
publishSinglePage(name, options) {
|
|
998
1107
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1007,7 +1116,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1007
1116
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1008
1117
|
}
|
|
1009
1118
|
listSinglePages(requestParameters = {}, options) {
|
|
1010
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1119
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1011
1120
|
}
|
|
1012
1121
|
publishSinglePage(requestParameters, options) {
|
|
1013
1122
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1093,7 +1202,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1093
1202
|
options: localVarRequestOptions
|
|
1094
1203
|
};
|
|
1095
1204
|
},
|
|
1096
|
-
listThemes: async (uninstalled, size, labelSelector, fieldSelector,
|
|
1205
|
+
listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1097
1206
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1098
1207
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1099
1208
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1112,15 +1221,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1112
1221
|
if (size !== void 0) {
|
|
1113
1222
|
localVarQueryParameter["size"] = size;
|
|
1114
1223
|
}
|
|
1224
|
+
if (page !== void 0) {
|
|
1225
|
+
localVarQueryParameter["page"] = page;
|
|
1226
|
+
}
|
|
1115
1227
|
if (labelSelector) {
|
|
1116
1228
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1117
1229
|
}
|
|
1118
1230
|
if (fieldSelector) {
|
|
1119
1231
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1120
1232
|
}
|
|
1121
|
-
if (page !== void 0) {
|
|
1122
|
-
localVarQueryParameter["page"] = page;
|
|
1123
|
-
}
|
|
1124
1233
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1125
1234
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1126
1235
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1187,8 +1296,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1187
1296
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1188
1297
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1189
1298
|
},
|
|
1190
|
-
async listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1191
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1299
|
+
async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1300
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options);
|
|
1192
1301
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1193
1302
|
},
|
|
1194
1303
|
async reloadThemeSetting(name, options) {
|
|
@@ -1207,8 +1316,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1207
1316
|
installTheme(file, options) {
|
|
1208
1317
|
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
1209
1318
|
},
|
|
1210
|
-
listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1211
|
-
return localVarFp.listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1319
|
+
listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1320
|
+
return localVarFp.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1212
1321
|
},
|
|
1213
1322
|
reloadThemeSetting(name, options) {
|
|
1214
1323
|
return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
@@ -1223,7 +1332,7 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1223
1332
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1224
1333
|
}
|
|
1225
1334
|
listThemes(requestParameters, options) {
|
|
1226
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.
|
|
1335
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1227
1336
|
}
|
|
1228
1337
|
reloadThemeSetting(requestParameters, options) {
|
|
1229
1338
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1497,12 +1606,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1497
1606
|
if (version !== void 0) {
|
|
1498
1607
|
localVarQueryParameter["version"] = version;
|
|
1499
1608
|
}
|
|
1500
|
-
if (kind !== void 0) {
|
|
1501
|
-
localVarQueryParameter["kind"] = kind;
|
|
1502
|
-
}
|
|
1503
1609
|
if (group !== void 0) {
|
|
1504
1610
|
localVarQueryParameter["group"] = group;
|
|
1505
1611
|
}
|
|
1612
|
+
if (kind !== void 0) {
|
|
1613
|
+
localVarQueryParameter["kind"] = kind;
|
|
1614
|
+
}
|
|
1506
1615
|
if (size !== void 0) {
|
|
1507
1616
|
localVarQueryParameter["size"] = size;
|
|
1508
1617
|
}
|
|
@@ -1582,6 +1691,66 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
1582
1691
|
}
|
|
1583
1692
|
}
|
|
1584
1693
|
|
|
1694
|
+
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
1695
|
+
return {
|
|
1696
|
+
searchPost: async (keyword, limit, highlightPreTag, highlightPostTag, options = {}) => {
|
|
1697
|
+
assertParamExists("searchPost", "keyword", keyword);
|
|
1698
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
|
|
1699
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1700
|
+
let baseOptions;
|
|
1701
|
+
if (configuration) {
|
|
1702
|
+
baseOptions = configuration.baseOptions;
|
|
1703
|
+
}
|
|
1704
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1705
|
+
const localVarHeaderParameter = {};
|
|
1706
|
+
const localVarQueryParameter = {};
|
|
1707
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1708
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1709
|
+
if (keyword !== void 0) {
|
|
1710
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1711
|
+
}
|
|
1712
|
+
if (limit !== void 0) {
|
|
1713
|
+
localVarQueryParameter["limit"] = limit;
|
|
1714
|
+
}
|
|
1715
|
+
if (highlightPreTag !== void 0) {
|
|
1716
|
+
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1717
|
+
}
|
|
1718
|
+
if (highlightPostTag !== void 0) {
|
|
1719
|
+
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1720
|
+
}
|
|
1721
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1722
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1723
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1724
|
+
return {
|
|
1725
|
+
url: toPathString(localVarUrlObj),
|
|
1726
|
+
options: localVarRequestOptions
|
|
1727
|
+
};
|
|
1728
|
+
}
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1731
|
+
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
1732
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
1733
|
+
return {
|
|
1734
|
+
async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1735
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options);
|
|
1736
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1737
|
+
}
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1741
|
+
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
1742
|
+
return {
|
|
1743
|
+
searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1744
|
+
return localVarFp.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options).then((request) => request(axios, basePath));
|
|
1745
|
+
}
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1749
|
+
searchPost(requestParameters, options) {
|
|
1750
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.limit, requestParameters.highlightPreTag, requestParameters.highlightPostTag, options).then((request) => request(this.axios, this.basePath));
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1585
1754
|
const ApiHaloRunV1alpha1TrackerApiAxiosParamCreator = function(configuration) {
|
|
1586
1755
|
return {
|
|
1587
1756
|
count: async (counterRequest, options = {}) => {
|
|
@@ -3558,6 +3727,192 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
3558
3727
|
}
|
|
3559
3728
|
}
|
|
3560
3729
|
|
|
3730
|
+
const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configuration) {
|
|
3731
|
+
return {
|
|
3732
|
+
createpluginHaloRunV1alpha1SearchEngine: async (searchEngine, options = {}) => {
|
|
3733
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines`;
|
|
3734
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3735
|
+
let baseOptions;
|
|
3736
|
+
if (configuration) {
|
|
3737
|
+
baseOptions = configuration.baseOptions;
|
|
3738
|
+
}
|
|
3739
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3740
|
+
const localVarHeaderParameter = {};
|
|
3741
|
+
const localVarQueryParameter = {};
|
|
3742
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3743
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3744
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3745
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3746
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3747
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3748
|
+
localVarRequestOptions.data = serializeDataIfNeeded(searchEngine, localVarRequestOptions, configuration);
|
|
3749
|
+
return {
|
|
3750
|
+
url: toPathString(localVarUrlObj),
|
|
3751
|
+
options: localVarRequestOptions
|
|
3752
|
+
};
|
|
3753
|
+
},
|
|
3754
|
+
deletepluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
3755
|
+
assertParamExists("deletepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3756
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3757
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3758
|
+
let baseOptions;
|
|
3759
|
+
if (configuration) {
|
|
3760
|
+
baseOptions = configuration.baseOptions;
|
|
3761
|
+
}
|
|
3762
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3763
|
+
const localVarHeaderParameter = {};
|
|
3764
|
+
const localVarQueryParameter = {};
|
|
3765
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3766
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3767
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3769
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3770
|
+
return {
|
|
3771
|
+
url: toPathString(localVarUrlObj),
|
|
3772
|
+
options: localVarRequestOptions
|
|
3773
|
+
};
|
|
3774
|
+
},
|
|
3775
|
+
getpluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
3776
|
+
assertParamExists("getpluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3777
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3778
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3779
|
+
let baseOptions;
|
|
3780
|
+
if (configuration) {
|
|
3781
|
+
baseOptions = configuration.baseOptions;
|
|
3782
|
+
}
|
|
3783
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3784
|
+
const localVarHeaderParameter = {};
|
|
3785
|
+
const localVarQueryParameter = {};
|
|
3786
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3787
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3788
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3789
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3790
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3791
|
+
return {
|
|
3792
|
+
url: toPathString(localVarUrlObj),
|
|
3793
|
+
options: localVarRequestOptions
|
|
3794
|
+
};
|
|
3795
|
+
},
|
|
3796
|
+
listpluginHaloRunV1alpha1SearchEngine: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3797
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines`;
|
|
3798
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3799
|
+
let baseOptions;
|
|
3800
|
+
if (configuration) {
|
|
3801
|
+
baseOptions = configuration.baseOptions;
|
|
3802
|
+
}
|
|
3803
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3804
|
+
const localVarHeaderParameter = {};
|
|
3805
|
+
const localVarQueryParameter = {};
|
|
3806
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3807
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3808
|
+
if (page !== void 0) {
|
|
3809
|
+
localVarQueryParameter["page"] = page;
|
|
3810
|
+
}
|
|
3811
|
+
if (size !== void 0) {
|
|
3812
|
+
localVarQueryParameter["size"] = size;
|
|
3813
|
+
}
|
|
3814
|
+
if (labelSelector) {
|
|
3815
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3816
|
+
}
|
|
3817
|
+
if (fieldSelector) {
|
|
3818
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3819
|
+
}
|
|
3820
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3821
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3822
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3823
|
+
return {
|
|
3824
|
+
url: toPathString(localVarUrlObj),
|
|
3825
|
+
options: localVarRequestOptions
|
|
3826
|
+
};
|
|
3827
|
+
},
|
|
3828
|
+
updatepluginHaloRunV1alpha1SearchEngine: async (name, searchEngine, options = {}) => {
|
|
3829
|
+
assertParamExists("updatepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3830
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3831
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3832
|
+
let baseOptions;
|
|
3833
|
+
if (configuration) {
|
|
3834
|
+
baseOptions = configuration.baseOptions;
|
|
3835
|
+
}
|
|
3836
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3837
|
+
const localVarHeaderParameter = {};
|
|
3838
|
+
const localVarQueryParameter = {};
|
|
3839
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3840
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3841
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3842
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3843
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3844
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3845
|
+
localVarRequestOptions.data = serializeDataIfNeeded(searchEngine, localVarRequestOptions, configuration);
|
|
3846
|
+
return {
|
|
3847
|
+
url: toPathString(localVarUrlObj),
|
|
3848
|
+
options: localVarRequestOptions
|
|
3849
|
+
};
|
|
3850
|
+
}
|
|
3851
|
+
};
|
|
3852
|
+
};
|
|
3853
|
+
const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
3854
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator(configuration);
|
|
3855
|
+
return {
|
|
3856
|
+
async createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
3857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options);
|
|
3858
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3859
|
+
},
|
|
3860
|
+
async deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3861
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1SearchEngine(name, options);
|
|
3862
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3863
|
+
},
|
|
3864
|
+
async getpluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3865
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1SearchEngine(name, options);
|
|
3866
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3867
|
+
},
|
|
3868
|
+
async listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
3869
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options);
|
|
3870
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3871
|
+
},
|
|
3872
|
+
async updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
3873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options);
|
|
3874
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3875
|
+
}
|
|
3876
|
+
};
|
|
3877
|
+
};
|
|
3878
|
+
const PluginHaloRunV1alpha1SearchEngineApiFactory = function(configuration, basePath, axios) {
|
|
3879
|
+
const localVarFp = PluginHaloRunV1alpha1SearchEngineApiFp(configuration);
|
|
3880
|
+
return {
|
|
3881
|
+
createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
3882
|
+
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options).then((request) => request(axios, basePath));
|
|
3883
|
+
},
|
|
3884
|
+
deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3885
|
+
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
3886
|
+
},
|
|
3887
|
+
getpluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3888
|
+
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
3889
|
+
},
|
|
3890
|
+
listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
3891
|
+
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3892
|
+
},
|
|
3893
|
+
updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
3894
|
+
return localVarFp.updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options).then((request) => request(axios, basePath));
|
|
3895
|
+
}
|
|
3896
|
+
};
|
|
3897
|
+
};
|
|
3898
|
+
class PluginHaloRunV1alpha1SearchEngineApi extends BaseAPI {
|
|
3899
|
+
createpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
3900
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).createpluginHaloRunV1alpha1SearchEngine(requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
3901
|
+
}
|
|
3902
|
+
deletepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3903
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).deletepluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3904
|
+
}
|
|
3905
|
+
getpluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3906
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3907
|
+
}
|
|
3908
|
+
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
3909
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3910
|
+
}
|
|
3911
|
+
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3912
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
3913
|
+
}
|
|
3914
|
+
}
|
|
3915
|
+
|
|
3561
3916
|
const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
3562
3917
|
return {
|
|
3563
3918
|
createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
|
|
@@ -6019,4 +6374,4 @@ const SinglePageSpecVisibleEnum = {
|
|
|
6019
6374
|
Private: "PRIVATE"
|
|
6020
6375
|
};
|
|
6021
6376
|
|
|
6022
|
-
export { ApiConsoleHaloRunV1alpha1AttachmentApi, ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1AttachmentApiFactory, ApiConsoleHaloRunV1alpha1AttachmentApiFp, ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1ContentApi, ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ContentApiFactory, ApiConsoleHaloRunV1alpha1ContentApiFp, 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, 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, MetricsHaloRunV1alpha1CounterApi, MetricsHaloRunV1alpha1CounterApiAxiosParamCreator, MetricsHaloRunV1alpha1CounterApiFactory, MetricsHaloRunV1alpha1CounterApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, 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 };
|
|
6377
|
+
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, MetricsHaloRunV1alpha1CounterApi, MetricsHaloRunV1alpha1CounterApiAxiosParamCreator, MetricsHaloRunV1alpha1CounterApiFactory, MetricsHaloRunV1alpha1CounterApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginHaloRunV1alpha1SearchEngineApi, PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator, PluginHaloRunV1alpha1SearchEngineApiFactory, PluginHaloRunV1alpha1SearchEngineApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, 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 };
|