@halo-dev/api-client 0.0.63 → 0.0.64
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 +113 -113
- package/dist/index.d.ts +192 -192
- package/dist/index.mjs +113 -113
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -69,7 +69,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
69
69
|
|
|
70
70
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
71
71
|
return {
|
|
72
|
-
searchAttachments: async (policy, sort, displayName, ungrouped, uploadedBy,
|
|
72
|
+
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, 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;
|
|
@@ -90,27 +90,27 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
90
90
|
if (displayName !== void 0) {
|
|
91
91
|
localVarQueryParameter["displayName"] = displayName;
|
|
92
92
|
}
|
|
93
|
+
if (group !== void 0) {
|
|
94
|
+
localVarQueryParameter["group"] = group;
|
|
95
|
+
}
|
|
93
96
|
if (ungrouped !== void 0) {
|
|
94
97
|
localVarQueryParameter["ungrouped"] = ungrouped;
|
|
95
98
|
}
|
|
96
99
|
if (uploadedBy !== void 0) {
|
|
97
100
|
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
98
101
|
}
|
|
99
|
-
if (group !== void 0) {
|
|
100
|
-
localVarQueryParameter["group"] = group;
|
|
101
|
-
}
|
|
102
102
|
if (size !== void 0) {
|
|
103
103
|
localVarQueryParameter["size"] = size;
|
|
104
104
|
}
|
|
105
|
+
if (page !== void 0) {
|
|
106
|
+
localVarQueryParameter["page"] = page;
|
|
107
|
+
}
|
|
105
108
|
if (labelSelector) {
|
|
106
109
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
107
110
|
}
|
|
108
111
|
if (fieldSelector) {
|
|
109
112
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
110
113
|
}
|
|
111
|
-
if (page !== void 0) {
|
|
112
|
-
localVarQueryParameter["page"] = page;
|
|
113
|
-
}
|
|
114
114
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
115
115
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
116
116
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -158,8 +158,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
158
158
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
159
159
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
160
160
|
return {
|
|
161
|
-
async searchAttachments(policy, sort, displayName, ungrouped, uploadedBy,
|
|
162
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, ungrouped, uploadedBy,
|
|
161
|
+
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
162
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
163
163
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
164
164
|
},
|
|
165
165
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -171,8 +171,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
171
171
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
172
172
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
173
173
|
return {
|
|
174
|
-
searchAttachments(policy, sort, displayName, ungrouped, uploadedBy,
|
|
175
|
-
return localVarFp.searchAttachments(policy, sort, displayName, ungrouped, uploadedBy,
|
|
174
|
+
searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
175
|
+
return localVarFp.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
176
176
|
},
|
|
177
177
|
uploadAttachment(file, policyName, groupName, options) {
|
|
178
178
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -181,7 +181,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
181
181
|
};
|
|
182
182
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
183
183
|
searchAttachments(requestParameters = {}, options) {
|
|
184
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.
|
|
184
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
185
185
|
}
|
|
186
186
|
uploadAttachment(requestParameters, options) {
|
|
187
187
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -237,7 +237,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
237
237
|
options: localVarRequestOptions
|
|
238
238
|
};
|
|
239
239
|
},
|
|
240
|
-
listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
240
|
+
listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
241
241
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
242
242
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
243
243
|
let baseOptions;
|
|
@@ -252,6 +252,15 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
252
252
|
if (sort !== void 0) {
|
|
253
253
|
localVarQueryParameter["sort"] = sort;
|
|
254
254
|
}
|
|
255
|
+
if (keyword !== void 0) {
|
|
256
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
257
|
+
}
|
|
258
|
+
if (hidden !== void 0) {
|
|
259
|
+
localVarQueryParameter["hidden"] = hidden;
|
|
260
|
+
}
|
|
261
|
+
if (top !== void 0) {
|
|
262
|
+
localVarQueryParameter["top"] = top;
|
|
263
|
+
}
|
|
255
264
|
if (sortOrder !== void 0) {
|
|
256
265
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
257
266
|
}
|
|
@@ -273,27 +282,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
273
282
|
if (subjectName !== void 0) {
|
|
274
283
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
275
284
|
}
|
|
276
|
-
if (keyword !== void 0) {
|
|
277
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
278
|
-
}
|
|
279
|
-
if (hidden !== void 0) {
|
|
280
|
-
localVarQueryParameter["hidden"] = hidden;
|
|
281
|
-
}
|
|
282
|
-
if (top !== void 0) {
|
|
283
|
-
localVarQueryParameter["top"] = top;
|
|
284
|
-
}
|
|
285
285
|
if (size !== void 0) {
|
|
286
286
|
localVarQueryParameter["size"] = size;
|
|
287
287
|
}
|
|
288
|
+
if (page !== void 0) {
|
|
289
|
+
localVarQueryParameter["page"] = page;
|
|
290
|
+
}
|
|
288
291
|
if (labelSelector) {
|
|
289
292
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
290
293
|
}
|
|
291
294
|
if (fieldSelector) {
|
|
292
295
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
293
296
|
}
|
|
294
|
-
if (page !== void 0) {
|
|
295
|
-
localVarQueryParameter["page"] = page;
|
|
296
|
-
}
|
|
297
297
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
298
298
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
299
299
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -315,8 +315,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
315
315
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
316
316
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
317
317
|
},
|
|
318
|
-
async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
319
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
318
|
+
async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
|
|
320
320
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
321
321
|
}
|
|
322
322
|
};
|
|
@@ -330,8 +330,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
330
330
|
createReply(name, replyRequest, options) {
|
|
331
331
|
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
332
332
|
},
|
|
333
|
-
listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
334
|
-
return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
333
|
+
listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
334
|
+
return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
};
|
|
@@ -343,7 +343,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
343
343
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
344
344
|
}
|
|
345
345
|
listComments(requestParameters = {}, options) {
|
|
346
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.
|
|
346
|
+
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.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));
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
|
|
@@ -538,7 +538,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
538
538
|
options: localVarRequestOptions
|
|
539
539
|
};
|
|
540
540
|
},
|
|
541
|
-
listPlugins: async (sort,
|
|
541
|
+
listPlugins: async (sort, keyword, enabled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
542
542
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
543
543
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
544
544
|
let baseOptions;
|
|
@@ -553,24 +553,24 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
553
553
|
if (sort) {
|
|
554
554
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
555
555
|
}
|
|
556
|
-
if (enabled !== void 0) {
|
|
557
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
558
|
-
}
|
|
559
556
|
if (keyword !== void 0) {
|
|
560
557
|
localVarQueryParameter["keyword"] = keyword;
|
|
561
558
|
}
|
|
559
|
+
if (enabled !== void 0) {
|
|
560
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
561
|
+
}
|
|
562
562
|
if (size !== void 0) {
|
|
563
563
|
localVarQueryParameter["size"] = size;
|
|
564
564
|
}
|
|
565
|
+
if (page !== void 0) {
|
|
566
|
+
localVarQueryParameter["page"] = page;
|
|
567
|
+
}
|
|
565
568
|
if (labelSelector) {
|
|
566
569
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
567
570
|
}
|
|
568
571
|
if (fieldSelector) {
|
|
569
572
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
570
573
|
}
|
|
571
|
-
if (page !== void 0) {
|
|
572
|
-
localVarQueryParameter["page"] = page;
|
|
573
|
-
}
|
|
574
574
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
575
575
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
576
576
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -637,8 +637,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
637
637
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
638
638
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
639
639
|
},
|
|
640
|
-
async listPlugins(sort,
|
|
641
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
640
|
+
async listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
641
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options);
|
|
642
642
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
643
643
|
},
|
|
644
644
|
async resetPluginConfig(name, options) {
|
|
@@ -657,8 +657,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
657
657
|
installPlugin(file, options) {
|
|
658
658
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
659
659
|
},
|
|
660
|
-
listPlugins(sort,
|
|
661
|
-
return localVarFp.listPlugins(sort,
|
|
660
|
+
listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
661
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
662
662
|
},
|
|
663
663
|
resetPluginConfig(name, options) {
|
|
664
664
|
return localVarFp.resetPluginConfig(name, options).then((request) => request(axios, basePath));
|
|
@@ -673,7 +673,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
673
673
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
674
674
|
}
|
|
675
675
|
listPlugins(requestParameters = {}, options) {
|
|
676
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
676
|
+
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));
|
|
677
677
|
}
|
|
678
678
|
resetPluginConfig(requestParameters, options) {
|
|
679
679
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -708,7 +708,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
708
708
|
options: localVarRequestOptions
|
|
709
709
|
};
|
|
710
710
|
},
|
|
711
|
-
listPosts: async (sort,
|
|
711
|
+
listPosts: async (sort, visible, keyword, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
712
712
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
713
713
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
714
714
|
let baseOptions;
|
|
@@ -723,39 +723,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
723
723
|
if (sort !== void 0) {
|
|
724
724
|
localVarQueryParameter["sort"] = sort;
|
|
725
725
|
}
|
|
726
|
-
if (
|
|
727
|
-
localVarQueryParameter["
|
|
726
|
+
if (visible !== void 0) {
|
|
727
|
+
localVarQueryParameter["visible"] = visible;
|
|
728
728
|
}
|
|
729
|
-
if (
|
|
730
|
-
localVarQueryParameter["
|
|
729
|
+
if (keyword !== void 0) {
|
|
730
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
731
731
|
}
|
|
732
|
-
if (
|
|
733
|
-
localVarQueryParameter["
|
|
732
|
+
if (tag) {
|
|
733
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
734
734
|
}
|
|
735
735
|
if (sortOrder !== void 0) {
|
|
736
736
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
737
737
|
}
|
|
738
|
-
if (
|
|
739
|
-
localVarQueryParameter["
|
|
738
|
+
if (publishPhase !== void 0) {
|
|
739
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
740
740
|
}
|
|
741
|
-
if (
|
|
742
|
-
localVarQueryParameter["
|
|
741
|
+
if (category) {
|
|
742
|
+
localVarQueryParameter["category"] = Array.from(category);
|
|
743
743
|
}
|
|
744
|
-
if (
|
|
745
|
-
localVarQueryParameter["
|
|
744
|
+
if (contributor) {
|
|
745
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
746
746
|
}
|
|
747
747
|
if (size !== void 0) {
|
|
748
748
|
localVarQueryParameter["size"] = size;
|
|
749
749
|
}
|
|
750
|
+
if (page !== void 0) {
|
|
751
|
+
localVarQueryParameter["page"] = page;
|
|
752
|
+
}
|
|
750
753
|
if (labelSelector) {
|
|
751
754
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
752
755
|
}
|
|
753
756
|
if (fieldSelector) {
|
|
754
757
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
755
758
|
}
|
|
756
|
-
if (page !== void 0) {
|
|
757
|
-
localVarQueryParameter["page"] = page;
|
|
758
|
-
}
|
|
759
759
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
760
760
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
761
761
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -887,8 +887,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
887
887
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
888
888
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
889
889
|
},
|
|
890
|
-
async listPosts(sort,
|
|
891
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
890
|
+
async listPosts(sort, visible, keyword, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, visible, keyword, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
|
|
892
892
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
893
893
|
},
|
|
894
894
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -919,8 +919,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
919
919
|
draftPost(postRequest, options) {
|
|
920
920
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
921
921
|
},
|
|
922
|
-
listPosts(sort,
|
|
923
|
-
return localVarFp.listPosts(sort,
|
|
922
|
+
listPosts(sort, visible, keyword, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
923
|
+
return localVarFp.listPosts(sort, visible, keyword, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
924
924
|
},
|
|
925
925
|
publishPost(name, headSnapshot, options) {
|
|
926
926
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -944,7 +944,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
944
944
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
945
945
|
}
|
|
946
946
|
listPosts(requestParameters = {}, options) {
|
|
947
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
947
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.visible, requestParameters.keyword, 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));
|
|
948
948
|
}
|
|
949
949
|
publishPost(requestParameters, options) {
|
|
950
950
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -965,7 +965,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
965
965
|
|
|
966
966
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
967
967
|
return {
|
|
968
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
968
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
969
969
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
970
970
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
971
971
|
let baseOptions;
|
|
@@ -983,15 +983,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
983
983
|
if (size !== void 0) {
|
|
984
984
|
localVarQueryParameter["size"] = size;
|
|
985
985
|
}
|
|
986
|
+
if (page !== void 0) {
|
|
987
|
+
localVarQueryParameter["page"] = page;
|
|
988
|
+
}
|
|
986
989
|
if (labelSelector) {
|
|
987
990
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
988
991
|
}
|
|
989
992
|
if (fieldSelector) {
|
|
990
993
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
991
994
|
}
|
|
992
|
-
if (page !== void 0) {
|
|
993
|
-
localVarQueryParameter["page"] = page;
|
|
994
|
-
}
|
|
995
995
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
996
996
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
997
997
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1005,8 +1005,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
1005
1005
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
1006
1006
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
1007
1007
|
return {
|
|
1008
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
1009
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
1008
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
1009
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
|
|
1010
1010
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1011
1011
|
}
|
|
1012
1012
|
};
|
|
@@ -1014,14 +1014,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
1014
1014
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
1015
1015
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
1016
1016
|
return {
|
|
1017
|
-
listReplies(commentName, size, labelSelector, fieldSelector,
|
|
1018
|
-
return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
1017
|
+
listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
1018
|
+
return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1019
1019
|
}
|
|
1020
1020
|
};
|
|
1021
1021
|
};
|
|
1022
1022
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1023
1023
|
listReplies(requestParameters = {}, options) {
|
|
1024
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.
|
|
1024
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
@@ -1050,7 +1050,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1050
1050
|
options: localVarRequestOptions
|
|
1051
1051
|
};
|
|
1052
1052
|
},
|
|
1053
|
-
listSinglePages: async (sort,
|
|
1053
|
+
listSinglePages: async (sort, visible, keyword, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1054
1054
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1055
1055
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1056
1056
|
let baseOptions;
|
|
@@ -1065,33 +1065,33 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1065
1065
|
if (sort !== void 0) {
|
|
1066
1066
|
localVarQueryParameter["sort"] = sort;
|
|
1067
1067
|
}
|
|
1068
|
-
if (
|
|
1069
|
-
localVarQueryParameter["
|
|
1068
|
+
if (visible !== void 0) {
|
|
1069
|
+
localVarQueryParameter["visible"] = visible;
|
|
1070
1070
|
}
|
|
1071
|
-
if (
|
|
1072
|
-
localVarQueryParameter["
|
|
1071
|
+
if (keyword !== void 0) {
|
|
1072
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1073
1073
|
}
|
|
1074
1074
|
if (sortOrder !== void 0) {
|
|
1075
1075
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1076
1076
|
}
|
|
1077
|
-
if (
|
|
1078
|
-
localVarQueryParameter["
|
|
1077
|
+
if (publishPhase !== void 0) {
|
|
1078
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1079
1079
|
}
|
|
1080
|
-
if (
|
|
1081
|
-
localVarQueryParameter["
|
|
1080
|
+
if (contributor) {
|
|
1081
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1082
1082
|
}
|
|
1083
1083
|
if (size !== void 0) {
|
|
1084
1084
|
localVarQueryParameter["size"] = size;
|
|
1085
1085
|
}
|
|
1086
|
+
if (page !== void 0) {
|
|
1087
|
+
localVarQueryParameter["page"] = page;
|
|
1088
|
+
}
|
|
1086
1089
|
if (labelSelector) {
|
|
1087
1090
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1088
1091
|
}
|
|
1089
1092
|
if (fieldSelector) {
|
|
1090
1093
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1091
1094
|
}
|
|
1092
|
-
if (page !== void 0) {
|
|
1093
|
-
localVarQueryParameter["page"] = page;
|
|
1094
|
-
}
|
|
1095
1095
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1096
1096
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1097
1097
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1178,8 +1178,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1178
1178
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1179
1179
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1180
1180
|
},
|
|
1181
|
-
async listSinglePages(sort,
|
|
1182
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1181
|
+
async listSinglePages(sort, visible, keyword, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1182
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options);
|
|
1183
1183
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1184
1184
|
},
|
|
1185
1185
|
async publishSinglePage(name, options) {
|
|
@@ -1202,8 +1202,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1202
1202
|
draftSinglePage(singlePageRequest, options) {
|
|
1203
1203
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1204
1204
|
},
|
|
1205
|
-
listSinglePages(sort,
|
|
1206
|
-
return localVarFp.listSinglePages(sort,
|
|
1205
|
+
listSinglePages(sort, visible, keyword, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1206
|
+
return localVarFp.listSinglePages(sort, visible, keyword, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1207
1207
|
},
|
|
1208
1208
|
publishSinglePage(name, options) {
|
|
1209
1209
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1221,7 +1221,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1221
1221
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1222
1222
|
}
|
|
1223
1223
|
listSinglePages(requestParameters = {}, options) {
|
|
1224
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1224
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.visible, requestParameters.keyword, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1225
1225
|
}
|
|
1226
1226
|
publishSinglePage(requestParameters, options) {
|
|
1227
1227
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1310,7 +1310,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1310
1310
|
options: localVarRequestOptions
|
|
1311
1311
|
};
|
|
1312
1312
|
},
|
|
1313
|
-
listThemes: async (uninstalled, size, labelSelector, fieldSelector,
|
|
1313
|
+
listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1314
1314
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1315
1315
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1316
1316
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1329,15 +1329,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1329
1329
|
if (size !== void 0) {
|
|
1330
1330
|
localVarQueryParameter["size"] = size;
|
|
1331
1331
|
}
|
|
1332
|
+
if (page !== void 0) {
|
|
1333
|
+
localVarQueryParameter["page"] = page;
|
|
1334
|
+
}
|
|
1332
1335
|
if (labelSelector) {
|
|
1333
1336
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1334
1337
|
}
|
|
1335
1338
|
if (fieldSelector) {
|
|
1336
1339
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1337
1340
|
}
|
|
1338
|
-
if (page !== void 0) {
|
|
1339
|
-
localVarQueryParameter["page"] = page;
|
|
1340
|
-
}
|
|
1341
1341
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1342
1342
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1343
1343
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1425,8 +1425,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1425
1425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1426
1426
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1427
1427
|
},
|
|
1428
|
-
async listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1429
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1428
|
+
async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1429
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options);
|
|
1430
1430
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1431
1431
|
},
|
|
1432
1432
|
async reload(name, options) {
|
|
@@ -1449,8 +1449,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1449
1449
|
installTheme(file, options) {
|
|
1450
1450
|
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
1451
1451
|
},
|
|
1452
|
-
listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1453
|
-
return localVarFp.listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1452
|
+
listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1453
|
+
return localVarFp.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1454
1454
|
},
|
|
1455
1455
|
reload(name, options) {
|
|
1456
1456
|
return localVarFp.reload(name, options).then((request) => request(axios, basePath));
|
|
@@ -1468,7 +1468,7 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1468
1468
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1469
1469
|
}
|
|
1470
1470
|
listThemes(requestParameters, options) {
|
|
1471
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.
|
|
1471
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1472
1472
|
}
|
|
1473
1473
|
reload(requestParameters, options) {
|
|
1474
1474
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1745,12 +1745,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1745
1745
|
if (version !== void 0) {
|
|
1746
1746
|
localVarQueryParameter["version"] = version;
|
|
1747
1747
|
}
|
|
1748
|
-
if (kind !== void 0) {
|
|
1749
|
-
localVarQueryParameter["kind"] = kind;
|
|
1750
|
-
}
|
|
1751
1748
|
if (group !== void 0) {
|
|
1752
1749
|
localVarQueryParameter["group"] = group;
|
|
1753
1750
|
}
|
|
1751
|
+
if (kind !== void 0) {
|
|
1752
|
+
localVarQueryParameter["kind"] = kind;
|
|
1753
|
+
}
|
|
1754
1754
|
if (size !== void 0) {
|
|
1755
1755
|
localVarQueryParameter["size"] = size;
|
|
1756
1756
|
}
|
|
@@ -1832,7 +1832,7 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
1832
1832
|
|
|
1833
1833
|
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
1834
1834
|
return {
|
|
1835
|
-
searchPost: async (keyword, highlightPreTag, highlightPostTag,
|
|
1835
|
+
searchPost: async (keyword, limit, highlightPreTag, highlightPostTag, options = {}) => {
|
|
1836
1836
|
assertParamExists("searchPost", "keyword", keyword);
|
|
1837
1837
|
const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
|
|
1838
1838
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1845,18 +1845,18 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1845
1845
|
const localVarQueryParameter = {};
|
|
1846
1846
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1847
1847
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1848
|
+
if (keyword !== void 0) {
|
|
1849
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1850
|
+
}
|
|
1851
|
+
if (limit !== void 0) {
|
|
1852
|
+
localVarQueryParameter["limit"] = limit;
|
|
1853
|
+
}
|
|
1848
1854
|
if (highlightPreTag !== void 0) {
|
|
1849
1855
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1850
1856
|
}
|
|
1851
1857
|
if (highlightPostTag !== void 0) {
|
|
1852
1858
|
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1853
1859
|
}
|
|
1854
|
-
if (limit !== void 0) {
|
|
1855
|
-
localVarQueryParameter["limit"] = limit;
|
|
1856
|
-
}
|
|
1857
|
-
if (keyword !== void 0) {
|
|
1858
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
1859
|
-
}
|
|
1860
1860
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1861
1861
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1862
1862
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1870,8 +1870,8 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1870
1870
|
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
1871
1871
|
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
1872
1872
|
return {
|
|
1873
|
-
async searchPost(keyword, highlightPreTag, highlightPostTag,
|
|
1874
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, highlightPreTag, highlightPostTag,
|
|
1873
|
+
async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1874
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options);
|
|
1875
1875
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1876
1876
|
}
|
|
1877
1877
|
};
|
|
@@ -1879,14 +1879,14 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
1879
1879
|
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1880
1880
|
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
1881
1881
|
return {
|
|
1882
|
-
searchPost(keyword, highlightPreTag, highlightPostTag,
|
|
1883
|
-
return localVarFp.searchPost(keyword, highlightPreTag, highlightPostTag,
|
|
1882
|
+
searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1883
|
+
return localVarFp.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options).then((request) => request(axios, basePath));
|
|
1884
1884
|
}
|
|
1885
1885
|
};
|
|
1886
1886
|
};
|
|
1887
1887
|
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1888
1888
|
searchPost(requestParameters, options) {
|
|
1889
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.
|
|
1889
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.limit, requestParameters.highlightPreTag, requestParameters.highlightPostTag, options).then((request) => request(this.axios, this.basePath));
|
|
1890
1890
|
}
|
|
1891
1891
|
}
|
|
1892
1892
|
|