@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.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, displayName, uploadedBy, group, size, labelSelector, fieldSelector,
|
|
80
|
+
searchAttachments: async (policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, 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;
|
|
@@ -104,15 +104,15 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
104
104
|
if (size !== void 0) {
|
|
105
105
|
localVarQueryParameter["size"] = size;
|
|
106
106
|
}
|
|
107
|
+
if (page !== void 0) {
|
|
108
|
+
localVarQueryParameter["page"] = page;
|
|
109
|
+
}
|
|
107
110
|
if (labelSelector) {
|
|
108
111
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
109
112
|
}
|
|
110
113
|
if (fieldSelector) {
|
|
111
114
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
112
115
|
}
|
|
113
|
-
if (page !== void 0) {
|
|
114
|
-
localVarQueryParameter["page"] = page;
|
|
115
|
-
}
|
|
116
116
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
117
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
118
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -160,8 +160,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
160
160
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
161
161
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
162
162
|
return {
|
|
163
|
-
async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector,
|
|
164
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector,
|
|
163
|
+
async searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options) {
|
|
164
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options);
|
|
165
165
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
166
166
|
},
|
|
167
167
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -173,8 +173,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
173
173
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
174
174
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
175
175
|
return {
|
|
176
|
-
searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector,
|
|
177
|
-
return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector,
|
|
176
|
+
searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options) {
|
|
177
|
+
return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
178
178
|
},
|
|
179
179
|
uploadAttachment(file, policyName, groupName, options) {
|
|
180
180
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -183,7 +183,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
183
183
|
};
|
|
184
184
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
185
185
|
searchAttachments(requestParameters = {}, options) {
|
|
186
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.
|
|
186
|
+
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));
|
|
187
187
|
}
|
|
188
188
|
uploadAttachment(requestParameters, options) {
|
|
189
189
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -239,7 +239,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
239
239
|
options: localVarRequestOptions
|
|
240
240
|
};
|
|
241
241
|
},
|
|
242
|
-
listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
242
|
+
listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
243
243
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
244
244
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
245
245
|
let baseOptions;
|
|
@@ -254,6 +254,15 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
254
254
|
if (sort !== void 0) {
|
|
255
255
|
localVarQueryParameter["sort"] = sort;
|
|
256
256
|
}
|
|
257
|
+
if (keyword !== void 0) {
|
|
258
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
259
|
+
}
|
|
260
|
+
if (hidden !== void 0) {
|
|
261
|
+
localVarQueryParameter["hidden"] = hidden;
|
|
262
|
+
}
|
|
263
|
+
if (top !== void 0) {
|
|
264
|
+
localVarQueryParameter["top"] = top;
|
|
265
|
+
}
|
|
257
266
|
if (sortOrder !== void 0) {
|
|
258
267
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
259
268
|
}
|
|
@@ -275,27 +284,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
275
284
|
if (subjectName !== void 0) {
|
|
276
285
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
277
286
|
}
|
|
278
|
-
if (keyword !== void 0) {
|
|
279
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
280
|
-
}
|
|
281
|
-
if (hidden !== void 0) {
|
|
282
|
-
localVarQueryParameter["hidden"] = hidden;
|
|
283
|
-
}
|
|
284
|
-
if (top !== void 0) {
|
|
285
|
-
localVarQueryParameter["top"] = top;
|
|
286
|
-
}
|
|
287
287
|
if (size !== void 0) {
|
|
288
288
|
localVarQueryParameter["size"] = size;
|
|
289
289
|
}
|
|
290
|
+
if (page !== void 0) {
|
|
291
|
+
localVarQueryParameter["page"] = page;
|
|
292
|
+
}
|
|
290
293
|
if (labelSelector) {
|
|
291
294
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
292
295
|
}
|
|
293
296
|
if (fieldSelector) {
|
|
294
297
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
295
298
|
}
|
|
296
|
-
if (page !== void 0) {
|
|
297
|
-
localVarQueryParameter["page"] = page;
|
|
298
|
-
}
|
|
299
299
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
300
300
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
301
301
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -317,8 +317,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
317
317
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
318
318
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
319
319
|
},
|
|
320
|
-
async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
321
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
320
|
+
async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
|
|
322
322
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
323
323
|
}
|
|
324
324
|
};
|
|
@@ -332,8 +332,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
332
332
|
createReply(name, replyRequest, options) {
|
|
333
333
|
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
334
334
|
},
|
|
335
|
-
listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
336
|
-
return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
335
|
+
listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
336
|
+
return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
};
|
|
@@ -345,7 +345,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
345
345
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
346
346
|
}
|
|
347
347
|
listComments(requestParameters = {}, options) {
|
|
348
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.
|
|
348
|
+
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));
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
|
|
@@ -464,6 +464,53 @@ class ApiConsoleHaloRunV1alpha1ContentApi extends BaseAPI {
|
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator = function(configuration) {
|
|
468
|
+
return {
|
|
469
|
+
buildPostIndices: async (options = {}) => {
|
|
470
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/indices/post`;
|
|
471
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
472
|
+
let baseOptions;
|
|
473
|
+
if (configuration) {
|
|
474
|
+
baseOptions = configuration.baseOptions;
|
|
475
|
+
}
|
|
476
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
477
|
+
const localVarHeaderParameter = {};
|
|
478
|
+
const localVarQueryParameter = {};
|
|
479
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
480
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
481
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
482
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
483
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
484
|
+
return {
|
|
485
|
+
url: toPathString(localVarUrlObj),
|
|
486
|
+
options: localVarRequestOptions
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiFp = function(configuration) {
|
|
492
|
+
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator(configuration);
|
|
493
|
+
return {
|
|
494
|
+
async buildPostIndices(options) {
|
|
495
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.buildPostIndices(options);
|
|
496
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiFactory = function(configuration, basePath, axios) {
|
|
501
|
+
const localVarFp = ApiConsoleHaloRunV1alpha1IndicesApiFp(configuration);
|
|
502
|
+
return {
|
|
503
|
+
buildPostIndices(options) {
|
|
504
|
+
return localVarFp.buildPostIndices(options).then((request) => request(axios, basePath));
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
class ApiConsoleHaloRunV1alpha1IndicesApi extends BaseAPI {
|
|
509
|
+
buildPostIndices(options) {
|
|
510
|
+
return ApiConsoleHaloRunV1alpha1IndicesApiFp(this.configuration).buildPostIndices(options).then((request) => request(this.axios, this.basePath));
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
467
514
|
const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
468
515
|
return {
|
|
469
516
|
installPlugin: async (file, options = {}) => {
|
|
@@ -493,7 +540,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
493
540
|
options: localVarRequestOptions
|
|
494
541
|
};
|
|
495
542
|
},
|
|
496
|
-
listPlugins: async (sort,
|
|
543
|
+
listPlugins: async (sort, keyword, enabled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
497
544
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
498
545
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
499
546
|
let baseOptions;
|
|
@@ -508,24 +555,24 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
508
555
|
if (sort) {
|
|
509
556
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
510
557
|
}
|
|
511
|
-
if (enabled !== void 0) {
|
|
512
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
513
|
-
}
|
|
514
558
|
if (keyword !== void 0) {
|
|
515
559
|
localVarQueryParameter["keyword"] = keyword;
|
|
516
560
|
}
|
|
561
|
+
if (enabled !== void 0) {
|
|
562
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
563
|
+
}
|
|
517
564
|
if (size !== void 0) {
|
|
518
565
|
localVarQueryParameter["size"] = size;
|
|
519
566
|
}
|
|
567
|
+
if (page !== void 0) {
|
|
568
|
+
localVarQueryParameter["page"] = page;
|
|
569
|
+
}
|
|
520
570
|
if (labelSelector) {
|
|
521
571
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
522
572
|
}
|
|
523
573
|
if (fieldSelector) {
|
|
524
574
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
525
575
|
}
|
|
526
|
-
if (page !== void 0) {
|
|
527
|
-
localVarQueryParameter["page"] = page;
|
|
528
|
-
}
|
|
529
576
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
530
577
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
531
578
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -571,8 +618,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
571
618
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
572
619
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
573
620
|
},
|
|
574
|
-
async listPlugins(sort,
|
|
575
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
621
|
+
async listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
622
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options);
|
|
576
623
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
577
624
|
},
|
|
578
625
|
async upgradePlugin(name, file, options) {
|
|
@@ -587,8 +634,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
587
634
|
installPlugin(file, options) {
|
|
588
635
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
589
636
|
},
|
|
590
|
-
listPlugins(sort,
|
|
591
|
-
return localVarFp.listPlugins(sort,
|
|
637
|
+
listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
638
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
592
639
|
},
|
|
593
640
|
upgradePlugin(name, file, options) {
|
|
594
641
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -600,7 +647,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
600
647
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
601
648
|
}
|
|
602
649
|
listPlugins(requestParameters = {}, options) {
|
|
603
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
650
|
+
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));
|
|
604
651
|
}
|
|
605
652
|
upgradePlugin(requestParameters, options) {
|
|
606
653
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -632,7 +679,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
632
679
|
options: localVarRequestOptions
|
|
633
680
|
};
|
|
634
681
|
},
|
|
635
|
-
listPosts: async (sort,
|
|
682
|
+
listPosts: async (sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
636
683
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
637
684
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
638
685
|
let baseOptions;
|
|
@@ -647,8 +694,14 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
647
694
|
if (sort !== void 0) {
|
|
648
695
|
localVarQueryParameter["sort"] = sort;
|
|
649
696
|
}
|
|
650
|
-
if (
|
|
651
|
-
localVarQueryParameter["
|
|
697
|
+
if (keyword !== void 0) {
|
|
698
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
699
|
+
}
|
|
700
|
+
if (visible !== void 0) {
|
|
701
|
+
localVarQueryParameter["visible"] = visible;
|
|
702
|
+
}
|
|
703
|
+
if (tag) {
|
|
704
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
652
705
|
}
|
|
653
706
|
if (sortOrder !== void 0) {
|
|
654
707
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -659,27 +712,21 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
659
712
|
if (category) {
|
|
660
713
|
localVarQueryParameter["category"] = Array.from(category);
|
|
661
714
|
}
|
|
662
|
-
if (
|
|
663
|
-
localVarQueryParameter["
|
|
664
|
-
}
|
|
665
|
-
if (keyword !== void 0) {
|
|
666
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
667
|
-
}
|
|
668
|
-
if (visible !== void 0) {
|
|
669
|
-
localVarQueryParameter["visible"] = visible;
|
|
715
|
+
if (contributor) {
|
|
716
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
670
717
|
}
|
|
671
718
|
if (size !== void 0) {
|
|
672
719
|
localVarQueryParameter["size"] = size;
|
|
673
720
|
}
|
|
721
|
+
if (page !== void 0) {
|
|
722
|
+
localVarQueryParameter["page"] = page;
|
|
723
|
+
}
|
|
674
724
|
if (labelSelector) {
|
|
675
725
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
676
726
|
}
|
|
677
727
|
if (fieldSelector) {
|
|
678
728
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
679
729
|
}
|
|
680
|
-
if (page !== void 0) {
|
|
681
|
-
localVarQueryParameter["page"] = page;
|
|
682
|
-
}
|
|
683
730
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
684
731
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
685
732
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -709,6 +756,48 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
709
756
|
options: localVarRequestOptions
|
|
710
757
|
};
|
|
711
758
|
},
|
|
759
|
+
recyclePost: async (name, options = {}) => {
|
|
760
|
+
assertParamExists("recyclePost", "name", name);
|
|
761
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
762
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
763
|
+
let baseOptions;
|
|
764
|
+
if (configuration) {
|
|
765
|
+
baseOptions = configuration.baseOptions;
|
|
766
|
+
}
|
|
767
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
768
|
+
const localVarHeaderParameter = {};
|
|
769
|
+
const localVarQueryParameter = {};
|
|
770
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
771
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
772
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
773
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
774
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
775
|
+
return {
|
|
776
|
+
url: toPathString(localVarUrlObj),
|
|
777
|
+
options: localVarRequestOptions
|
|
778
|
+
};
|
|
779
|
+
},
|
|
780
|
+
unpublishPost: async (name, options = {}) => {
|
|
781
|
+
assertParamExists("unpublishPost", "name", name);
|
|
782
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
783
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
784
|
+
let baseOptions;
|
|
785
|
+
if (configuration) {
|
|
786
|
+
baseOptions = configuration.baseOptions;
|
|
787
|
+
}
|
|
788
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
789
|
+
const localVarHeaderParameter = {};
|
|
790
|
+
const localVarQueryParameter = {};
|
|
791
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
792
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
793
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
794
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
795
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
796
|
+
return {
|
|
797
|
+
url: toPathString(localVarUrlObj),
|
|
798
|
+
options: localVarRequestOptions
|
|
799
|
+
};
|
|
800
|
+
},
|
|
712
801
|
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
713
802
|
assertParamExists("updateDraftPost", "name", name);
|
|
714
803
|
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
@@ -742,14 +831,22 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
742
831
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
743
832
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
744
833
|
},
|
|
745
|
-
async listPosts(sort,
|
|
746
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
834
|
+
async listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
|
|
747
836
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
748
837
|
},
|
|
749
838
|
async publishPost(name, options) {
|
|
750
839
|
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
751
840
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
752
841
|
},
|
|
842
|
+
async recyclePost(name, options) {
|
|
843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recyclePost(name, options);
|
|
844
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
845
|
+
},
|
|
846
|
+
async unpublishPost(name, options) {
|
|
847
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unpublishPost(name, options);
|
|
848
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
849
|
+
},
|
|
753
850
|
async updateDraftPost(name, postRequest, options) {
|
|
754
851
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
755
852
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
@@ -762,12 +859,18 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
762
859
|
draftPost(postRequest, options) {
|
|
763
860
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
764
861
|
},
|
|
765
|
-
listPosts(sort,
|
|
766
|
-
return localVarFp.listPosts(sort,
|
|
862
|
+
listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
863
|
+
return localVarFp.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
767
864
|
},
|
|
768
865
|
publishPost(name, options) {
|
|
769
866
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
770
867
|
},
|
|
868
|
+
recyclePost(name, options) {
|
|
869
|
+
return localVarFp.recyclePost(name, options).then((request) => request(axios, basePath));
|
|
870
|
+
},
|
|
871
|
+
unpublishPost(name, options) {
|
|
872
|
+
return localVarFp.unpublishPost(name, options).then((request) => request(axios, basePath));
|
|
873
|
+
},
|
|
771
874
|
updateDraftPost(name, postRequest, options) {
|
|
772
875
|
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
773
876
|
}
|
|
@@ -778,11 +881,17 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
778
881
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
779
882
|
}
|
|
780
883
|
listPosts(requestParameters = {}, options) {
|
|
781
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
884
|
+
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));
|
|
782
885
|
}
|
|
783
886
|
publishPost(requestParameters, options) {
|
|
784
887
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
785
888
|
}
|
|
889
|
+
recyclePost(requestParameters, options) {
|
|
890
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).recyclePost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
891
|
+
}
|
|
892
|
+
unpublishPost(requestParameters, options) {
|
|
893
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).unpublishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
894
|
+
}
|
|
786
895
|
updateDraftPost(requestParameters, options) {
|
|
787
896
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
788
897
|
}
|
|
@@ -790,7 +899,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
790
899
|
|
|
791
900
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
792
901
|
return {
|
|
793
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
902
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
794
903
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
795
904
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
796
905
|
let baseOptions;
|
|
@@ -808,15 +917,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
808
917
|
if (size !== void 0) {
|
|
809
918
|
localVarQueryParameter["size"] = size;
|
|
810
919
|
}
|
|
920
|
+
if (page !== void 0) {
|
|
921
|
+
localVarQueryParameter["page"] = page;
|
|
922
|
+
}
|
|
811
923
|
if (labelSelector) {
|
|
812
924
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
813
925
|
}
|
|
814
926
|
if (fieldSelector) {
|
|
815
927
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
816
928
|
}
|
|
817
|
-
if (page !== void 0) {
|
|
818
|
-
localVarQueryParameter["page"] = page;
|
|
819
|
-
}
|
|
820
929
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
821
930
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
822
931
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -830,8 +939,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
830
939
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
831
940
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
832
941
|
return {
|
|
833
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
834
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
942
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
|
|
835
944
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
836
945
|
}
|
|
837
946
|
};
|
|
@@ -839,14 +948,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
839
948
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
840
949
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
841
950
|
return {
|
|
842
|
-
listReplies(commentName, size, labelSelector, fieldSelector,
|
|
843
|
-
return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
951
|
+
listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
952
|
+
return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
844
953
|
}
|
|
845
954
|
};
|
|
846
955
|
};
|
|
847
956
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
848
957
|
listReplies(requestParameters = {}, options) {
|
|
849
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.
|
|
958
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
850
959
|
}
|
|
851
960
|
}
|
|
852
961
|
|
|
@@ -875,7 +984,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
875
984
|
options: localVarRequestOptions
|
|
876
985
|
};
|
|
877
986
|
},
|
|
878
|
-
listSinglePages: async (sort,
|
|
987
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
879
988
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
880
989
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
881
990
|
let baseOptions;
|
|
@@ -890,8 +999,11 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
890
999
|
if (sort !== void 0) {
|
|
891
1000
|
localVarQueryParameter["sort"] = sort;
|
|
892
1001
|
}
|
|
893
|
-
if (
|
|
894
|
-
localVarQueryParameter["
|
|
1002
|
+
if (keyword !== void 0) {
|
|
1003
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1004
|
+
}
|
|
1005
|
+
if (visible !== void 0) {
|
|
1006
|
+
localVarQueryParameter["visible"] = visible;
|
|
895
1007
|
}
|
|
896
1008
|
if (sortOrder !== void 0) {
|
|
897
1009
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -899,24 +1011,21 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
899
1011
|
if (publishPhase !== void 0) {
|
|
900
1012
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
901
1013
|
}
|
|
902
|
-
if (
|
|
903
|
-
localVarQueryParameter["
|
|
904
|
-
}
|
|
905
|
-
if (visible !== void 0) {
|
|
906
|
-
localVarQueryParameter["visible"] = visible;
|
|
1014
|
+
if (contributor) {
|
|
1015
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
907
1016
|
}
|
|
908
1017
|
if (size !== void 0) {
|
|
909
1018
|
localVarQueryParameter["size"] = size;
|
|
910
1019
|
}
|
|
1020
|
+
if (page !== void 0) {
|
|
1021
|
+
localVarQueryParameter["page"] = page;
|
|
1022
|
+
}
|
|
911
1023
|
if (labelSelector) {
|
|
912
1024
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
913
1025
|
}
|
|
914
1026
|
if (fieldSelector) {
|
|
915
1027
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
916
1028
|
}
|
|
917
|
-
if (page !== void 0) {
|
|
918
|
-
localVarQueryParameter["page"] = page;
|
|
919
|
-
}
|
|
920
1029
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
921
1030
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
922
1031
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -979,8 +1088,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
979
1088
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
980
1089
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
981
1090
|
},
|
|
982
|
-
async listSinglePages(sort,
|
|
983
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1091
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1092
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options);
|
|
984
1093
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
985
1094
|
},
|
|
986
1095
|
async publishSinglePage(name, options) {
|
|
@@ -999,8 +1108,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
999
1108
|
draftSinglePage(singlePageRequest, options) {
|
|
1000
1109
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1001
1110
|
},
|
|
1002
|
-
listSinglePages(sort,
|
|
1003
|
-
return localVarFp.listSinglePages(sort,
|
|
1111
|
+
listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1112
|
+
return localVarFp.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1004
1113
|
},
|
|
1005
1114
|
publishSinglePage(name, options) {
|
|
1006
1115
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1015,7 +1124,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1015
1124
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1016
1125
|
}
|
|
1017
1126
|
listSinglePages(requestParameters = {}, options) {
|
|
1018
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1127
|
+
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));
|
|
1019
1128
|
}
|
|
1020
1129
|
publishSinglePage(requestParameters, options) {
|
|
1021
1130
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1101,7 +1210,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1101
1210
|
options: localVarRequestOptions
|
|
1102
1211
|
};
|
|
1103
1212
|
},
|
|
1104
|
-
listThemes: async (uninstalled, size, labelSelector, fieldSelector,
|
|
1213
|
+
listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1105
1214
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1106
1215
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1107
1216
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1120,15 +1229,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1120
1229
|
if (size !== void 0) {
|
|
1121
1230
|
localVarQueryParameter["size"] = size;
|
|
1122
1231
|
}
|
|
1232
|
+
if (page !== void 0) {
|
|
1233
|
+
localVarQueryParameter["page"] = page;
|
|
1234
|
+
}
|
|
1123
1235
|
if (labelSelector) {
|
|
1124
1236
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1125
1237
|
}
|
|
1126
1238
|
if (fieldSelector) {
|
|
1127
1239
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1128
1240
|
}
|
|
1129
|
-
if (page !== void 0) {
|
|
1130
|
-
localVarQueryParameter["page"] = page;
|
|
1131
|
-
}
|
|
1132
1241
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1133
1242
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1134
1243
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1195,8 +1304,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1195
1304
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1196
1305
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1197
1306
|
},
|
|
1198
|
-
async listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1199
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1307
|
+
async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1308
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options);
|
|
1200
1309
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1201
1310
|
},
|
|
1202
1311
|
async reloadThemeSetting(name, options) {
|
|
@@ -1215,8 +1324,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1215
1324
|
installTheme(file, options) {
|
|
1216
1325
|
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
1217
1326
|
},
|
|
1218
|
-
listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1219
|
-
return localVarFp.listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1327
|
+
listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1328
|
+
return localVarFp.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1220
1329
|
},
|
|
1221
1330
|
reloadThemeSetting(name, options) {
|
|
1222
1331
|
return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
@@ -1231,7 +1340,7 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1231
1340
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1232
1341
|
}
|
|
1233
1342
|
listThemes(requestParameters, options) {
|
|
1234
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.
|
|
1343
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1235
1344
|
}
|
|
1236
1345
|
reloadThemeSetting(requestParameters, options) {
|
|
1237
1346
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1505,12 +1614,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1505
1614
|
if (version !== void 0) {
|
|
1506
1615
|
localVarQueryParameter["version"] = version;
|
|
1507
1616
|
}
|
|
1508
|
-
if (kind !== void 0) {
|
|
1509
|
-
localVarQueryParameter["kind"] = kind;
|
|
1510
|
-
}
|
|
1511
1617
|
if (group !== void 0) {
|
|
1512
1618
|
localVarQueryParameter["group"] = group;
|
|
1513
1619
|
}
|
|
1620
|
+
if (kind !== void 0) {
|
|
1621
|
+
localVarQueryParameter["kind"] = kind;
|
|
1622
|
+
}
|
|
1514
1623
|
if (size !== void 0) {
|
|
1515
1624
|
localVarQueryParameter["size"] = size;
|
|
1516
1625
|
}
|
|
@@ -1590,6 +1699,66 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
1590
1699
|
}
|
|
1591
1700
|
}
|
|
1592
1701
|
|
|
1702
|
+
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
1703
|
+
return {
|
|
1704
|
+
searchPost: async (keyword, limit, highlightPreTag, highlightPostTag, options = {}) => {
|
|
1705
|
+
assertParamExists("searchPost", "keyword", keyword);
|
|
1706
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
|
|
1707
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1708
|
+
let baseOptions;
|
|
1709
|
+
if (configuration) {
|
|
1710
|
+
baseOptions = configuration.baseOptions;
|
|
1711
|
+
}
|
|
1712
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1713
|
+
const localVarHeaderParameter = {};
|
|
1714
|
+
const localVarQueryParameter = {};
|
|
1715
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1716
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1717
|
+
if (keyword !== void 0) {
|
|
1718
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1719
|
+
}
|
|
1720
|
+
if (limit !== void 0) {
|
|
1721
|
+
localVarQueryParameter["limit"] = limit;
|
|
1722
|
+
}
|
|
1723
|
+
if (highlightPreTag !== void 0) {
|
|
1724
|
+
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1725
|
+
}
|
|
1726
|
+
if (highlightPostTag !== void 0) {
|
|
1727
|
+
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1728
|
+
}
|
|
1729
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1730
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1731
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1732
|
+
return {
|
|
1733
|
+
url: toPathString(localVarUrlObj),
|
|
1734
|
+
options: localVarRequestOptions
|
|
1735
|
+
};
|
|
1736
|
+
}
|
|
1737
|
+
};
|
|
1738
|
+
};
|
|
1739
|
+
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
1740
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
1741
|
+
return {
|
|
1742
|
+
async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1743
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options);
|
|
1744
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1745
|
+
}
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1749
|
+
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
1750
|
+
return {
|
|
1751
|
+
searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1752
|
+
return localVarFp.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options).then((request) => request(axios, basePath));
|
|
1753
|
+
}
|
|
1754
|
+
};
|
|
1755
|
+
};
|
|
1756
|
+
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1757
|
+
searchPost(requestParameters, options) {
|
|
1758
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.limit, requestParameters.highlightPreTag, requestParameters.highlightPostTag, options).then((request) => request(this.axios, this.basePath));
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1593
1762
|
const ApiHaloRunV1alpha1TrackerApiAxiosParamCreator = function(configuration) {
|
|
1594
1763
|
return {
|
|
1595
1764
|
count: async (counterRequest, options = {}) => {
|
|
@@ -3566,6 +3735,192 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
3566
3735
|
}
|
|
3567
3736
|
}
|
|
3568
3737
|
|
|
3738
|
+
const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configuration) {
|
|
3739
|
+
return {
|
|
3740
|
+
createpluginHaloRunV1alpha1SearchEngine: async (searchEngine, options = {}) => {
|
|
3741
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines`;
|
|
3742
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3743
|
+
let baseOptions;
|
|
3744
|
+
if (configuration) {
|
|
3745
|
+
baseOptions = configuration.baseOptions;
|
|
3746
|
+
}
|
|
3747
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3748
|
+
const localVarHeaderParameter = {};
|
|
3749
|
+
const localVarQueryParameter = {};
|
|
3750
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3751
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3752
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3753
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3754
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3755
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3756
|
+
localVarRequestOptions.data = serializeDataIfNeeded(searchEngine, localVarRequestOptions, configuration);
|
|
3757
|
+
return {
|
|
3758
|
+
url: toPathString(localVarUrlObj),
|
|
3759
|
+
options: localVarRequestOptions
|
|
3760
|
+
};
|
|
3761
|
+
},
|
|
3762
|
+
deletepluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
3763
|
+
assertParamExists("deletepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3764
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3765
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3766
|
+
let baseOptions;
|
|
3767
|
+
if (configuration) {
|
|
3768
|
+
baseOptions = configuration.baseOptions;
|
|
3769
|
+
}
|
|
3770
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3771
|
+
const localVarHeaderParameter = {};
|
|
3772
|
+
const localVarQueryParameter = {};
|
|
3773
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3774
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3775
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3776
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3777
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3778
|
+
return {
|
|
3779
|
+
url: toPathString(localVarUrlObj),
|
|
3780
|
+
options: localVarRequestOptions
|
|
3781
|
+
};
|
|
3782
|
+
},
|
|
3783
|
+
getpluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
3784
|
+
assertParamExists("getpluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3785
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3786
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3787
|
+
let baseOptions;
|
|
3788
|
+
if (configuration) {
|
|
3789
|
+
baseOptions = configuration.baseOptions;
|
|
3790
|
+
}
|
|
3791
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3792
|
+
const localVarHeaderParameter = {};
|
|
3793
|
+
const localVarQueryParameter = {};
|
|
3794
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3795
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3796
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3797
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3798
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3799
|
+
return {
|
|
3800
|
+
url: toPathString(localVarUrlObj),
|
|
3801
|
+
options: localVarRequestOptions
|
|
3802
|
+
};
|
|
3803
|
+
},
|
|
3804
|
+
listpluginHaloRunV1alpha1SearchEngine: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3805
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines`;
|
|
3806
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3807
|
+
let baseOptions;
|
|
3808
|
+
if (configuration) {
|
|
3809
|
+
baseOptions = configuration.baseOptions;
|
|
3810
|
+
}
|
|
3811
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3812
|
+
const localVarHeaderParameter = {};
|
|
3813
|
+
const localVarQueryParameter = {};
|
|
3814
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3815
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3816
|
+
if (page !== void 0) {
|
|
3817
|
+
localVarQueryParameter["page"] = page;
|
|
3818
|
+
}
|
|
3819
|
+
if (size !== void 0) {
|
|
3820
|
+
localVarQueryParameter["size"] = size;
|
|
3821
|
+
}
|
|
3822
|
+
if (labelSelector) {
|
|
3823
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3824
|
+
}
|
|
3825
|
+
if (fieldSelector) {
|
|
3826
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3827
|
+
}
|
|
3828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3830
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3831
|
+
return {
|
|
3832
|
+
url: toPathString(localVarUrlObj),
|
|
3833
|
+
options: localVarRequestOptions
|
|
3834
|
+
};
|
|
3835
|
+
},
|
|
3836
|
+
updatepluginHaloRunV1alpha1SearchEngine: async (name, searchEngine, options = {}) => {
|
|
3837
|
+
assertParamExists("updatepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3838
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3839
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3840
|
+
let baseOptions;
|
|
3841
|
+
if (configuration) {
|
|
3842
|
+
baseOptions = configuration.baseOptions;
|
|
3843
|
+
}
|
|
3844
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3845
|
+
const localVarHeaderParameter = {};
|
|
3846
|
+
const localVarQueryParameter = {};
|
|
3847
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3848
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3849
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3850
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3851
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3852
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3853
|
+
localVarRequestOptions.data = serializeDataIfNeeded(searchEngine, localVarRequestOptions, configuration);
|
|
3854
|
+
return {
|
|
3855
|
+
url: toPathString(localVarUrlObj),
|
|
3856
|
+
options: localVarRequestOptions
|
|
3857
|
+
};
|
|
3858
|
+
}
|
|
3859
|
+
};
|
|
3860
|
+
};
|
|
3861
|
+
const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
3862
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator(configuration);
|
|
3863
|
+
return {
|
|
3864
|
+
async createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
3865
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options);
|
|
3866
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3867
|
+
},
|
|
3868
|
+
async deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3869
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1SearchEngine(name, options);
|
|
3870
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3871
|
+
},
|
|
3872
|
+
async getpluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1SearchEngine(name, options);
|
|
3874
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3875
|
+
},
|
|
3876
|
+
async listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
3877
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options);
|
|
3878
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3879
|
+
},
|
|
3880
|
+
async updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
3881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options);
|
|
3882
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3883
|
+
}
|
|
3884
|
+
};
|
|
3885
|
+
};
|
|
3886
|
+
const PluginHaloRunV1alpha1SearchEngineApiFactory = function(configuration, basePath, axios) {
|
|
3887
|
+
const localVarFp = PluginHaloRunV1alpha1SearchEngineApiFp(configuration);
|
|
3888
|
+
return {
|
|
3889
|
+
createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
3890
|
+
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options).then((request) => request(axios, basePath));
|
|
3891
|
+
},
|
|
3892
|
+
deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3893
|
+
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
3894
|
+
},
|
|
3895
|
+
getpluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3896
|
+
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
3897
|
+
},
|
|
3898
|
+
listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
3899
|
+
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3900
|
+
},
|
|
3901
|
+
updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
3902
|
+
return localVarFp.updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options).then((request) => request(axios, basePath));
|
|
3903
|
+
}
|
|
3904
|
+
};
|
|
3905
|
+
};
|
|
3906
|
+
class PluginHaloRunV1alpha1SearchEngineApi extends BaseAPI {
|
|
3907
|
+
createpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
3908
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).createpluginHaloRunV1alpha1SearchEngine(requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
3909
|
+
}
|
|
3910
|
+
deletepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3911
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).deletepluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3912
|
+
}
|
|
3913
|
+
getpluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3914
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3915
|
+
}
|
|
3916
|
+
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
3917
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3918
|
+
}
|
|
3919
|
+
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3920
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
3921
|
+
}
|
|
3922
|
+
}
|
|
3923
|
+
|
|
3569
3924
|
const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
3570
3925
|
return {
|
|
3571
3926
|
createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
|
|
@@ -6039,6 +6394,10 @@ exports.ApiConsoleHaloRunV1alpha1ContentApi = ApiConsoleHaloRunV1alpha1ContentAp
|
|
|
6039
6394
|
exports.ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator;
|
|
6040
6395
|
exports.ApiConsoleHaloRunV1alpha1ContentApiFactory = ApiConsoleHaloRunV1alpha1ContentApiFactory;
|
|
6041
6396
|
exports.ApiConsoleHaloRunV1alpha1ContentApiFp = ApiConsoleHaloRunV1alpha1ContentApiFp;
|
|
6397
|
+
exports.ApiConsoleHaloRunV1alpha1IndicesApi = ApiConsoleHaloRunV1alpha1IndicesApi;
|
|
6398
|
+
exports.ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator;
|
|
6399
|
+
exports.ApiConsoleHaloRunV1alpha1IndicesApiFactory = ApiConsoleHaloRunV1alpha1IndicesApiFactory;
|
|
6400
|
+
exports.ApiConsoleHaloRunV1alpha1IndicesApiFp = ApiConsoleHaloRunV1alpha1IndicesApiFp;
|
|
6042
6401
|
exports.ApiConsoleHaloRunV1alpha1PluginApi = ApiConsoleHaloRunV1alpha1PluginApi;
|
|
6043
6402
|
exports.ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator;
|
|
6044
6403
|
exports.ApiConsoleHaloRunV1alpha1PluginApiFactory = ApiConsoleHaloRunV1alpha1PluginApiFactory;
|
|
@@ -6071,6 +6430,10 @@ exports.ApiHaloRunV1alpha1CommentApi = ApiHaloRunV1alpha1CommentApi;
|
|
|
6071
6430
|
exports.ApiHaloRunV1alpha1CommentApiAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator;
|
|
6072
6431
|
exports.ApiHaloRunV1alpha1CommentApiFactory = ApiHaloRunV1alpha1CommentApiFactory;
|
|
6073
6432
|
exports.ApiHaloRunV1alpha1CommentApiFp = ApiHaloRunV1alpha1CommentApiFp;
|
|
6433
|
+
exports.ApiHaloRunV1alpha1PostApi = ApiHaloRunV1alpha1PostApi;
|
|
6434
|
+
exports.ApiHaloRunV1alpha1PostApiAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator;
|
|
6435
|
+
exports.ApiHaloRunV1alpha1PostApiFactory = ApiHaloRunV1alpha1PostApiFactory;
|
|
6436
|
+
exports.ApiHaloRunV1alpha1PostApiFp = ApiHaloRunV1alpha1PostApiFp;
|
|
6074
6437
|
exports.ApiHaloRunV1alpha1TrackerApi = ApiHaloRunV1alpha1TrackerApi;
|
|
6075
6438
|
exports.ApiHaloRunV1alpha1TrackerApiAxiosParamCreator = ApiHaloRunV1alpha1TrackerApiAxiosParamCreator;
|
|
6076
6439
|
exports.ApiHaloRunV1alpha1TrackerApiFactory = ApiHaloRunV1alpha1TrackerApiFactory;
|
|
@@ -6117,6 +6480,10 @@ exports.PluginHaloRunV1alpha1ReverseProxyApi = PluginHaloRunV1alpha1ReverseProxy
|
|
|
6117
6480
|
exports.PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator;
|
|
6118
6481
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFactory = PluginHaloRunV1alpha1ReverseProxyApiFactory;
|
|
6119
6482
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFp = PluginHaloRunV1alpha1ReverseProxyApiFp;
|
|
6483
|
+
exports.PluginHaloRunV1alpha1SearchEngineApi = PluginHaloRunV1alpha1SearchEngineApi;
|
|
6484
|
+
exports.PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator;
|
|
6485
|
+
exports.PluginHaloRunV1alpha1SearchEngineApiFactory = PluginHaloRunV1alpha1SearchEngineApiFactory;
|
|
6486
|
+
exports.PluginHaloRunV1alpha1SearchEngineApiFp = PluginHaloRunV1alpha1SearchEngineApiFp;
|
|
6120
6487
|
exports.PluginStatusPhaseEnum = PluginStatusPhaseEnum;
|
|
6121
6488
|
exports.PostSpecVisibleEnum = PostSpecVisibleEnum;
|
|
6122
6489
|
exports.SinglePageSpecVisibleEnum = SinglePageSpecVisibleEnum;
|