@halo-dev/api-client 0.0.46 → 0.0.47
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 +116 -113
- package/dist/index.d.ts +201 -192
- package/dist/index.mjs +116 -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,
|
|
72
|
+
searchAttachments: async (policy, sort, displayName, group, 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;
|
|
@@ -84,27 +84,30 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
84
84
|
if (policy !== void 0) {
|
|
85
85
|
localVarQueryParameter["policy"] = policy;
|
|
86
86
|
}
|
|
87
|
+
if (sort) {
|
|
88
|
+
localVarQueryParameter["sort"] = Array.from(sort);
|
|
89
|
+
}
|
|
87
90
|
if (displayName !== void 0) {
|
|
88
91
|
localVarQueryParameter["displayName"] = displayName;
|
|
89
92
|
}
|
|
90
|
-
if (uploadedBy !== void 0) {
|
|
91
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
92
|
-
}
|
|
93
93
|
if (group !== void 0) {
|
|
94
94
|
localVarQueryParameter["group"] = group;
|
|
95
95
|
}
|
|
96
|
+
if (uploadedBy !== void 0) {
|
|
97
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
98
|
+
}
|
|
96
99
|
if (size !== void 0) {
|
|
97
100
|
localVarQueryParameter["size"] = size;
|
|
98
101
|
}
|
|
102
|
+
if (page !== void 0) {
|
|
103
|
+
localVarQueryParameter["page"] = page;
|
|
104
|
+
}
|
|
99
105
|
if (labelSelector) {
|
|
100
106
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
101
107
|
}
|
|
102
108
|
if (fieldSelector) {
|
|
103
109
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
104
110
|
}
|
|
105
|
-
if (page !== void 0) {
|
|
106
|
-
localVarQueryParameter["page"] = page;
|
|
107
|
-
}
|
|
108
111
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
109
112
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
110
113
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -152,8 +155,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
152
155
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
153
156
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
154
157
|
return {
|
|
155
|
-
async searchAttachments(policy,
|
|
156
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy,
|
|
158
|
+
async searchAttachments(policy, sort, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
157
160
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
158
161
|
},
|
|
159
162
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -165,8 +168,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
165
168
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
166
169
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
167
170
|
return {
|
|
168
|
-
searchAttachments(policy,
|
|
169
|
-
return localVarFp.searchAttachments(policy,
|
|
171
|
+
searchAttachments(policy, sort, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
172
|
+
return localVarFp.searchAttachments(policy, sort, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
170
173
|
},
|
|
171
174
|
uploadAttachment(file, policyName, groupName, options) {
|
|
172
175
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -175,7 +178,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
175
178
|
};
|
|
176
179
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
177
180
|
searchAttachments(requestParameters = {}, options) {
|
|
178
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.
|
|
181
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
179
182
|
}
|
|
180
183
|
uploadAttachment(requestParameters, options) {
|
|
181
184
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -231,7 +234,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
231
234
|
options: localVarRequestOptions
|
|
232
235
|
};
|
|
233
236
|
},
|
|
234
|
-
listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
237
|
+
listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
235
238
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
236
239
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
237
240
|
let baseOptions;
|
|
@@ -246,6 +249,15 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
246
249
|
if (sort !== void 0) {
|
|
247
250
|
localVarQueryParameter["sort"] = sort;
|
|
248
251
|
}
|
|
252
|
+
if (keyword !== void 0) {
|
|
253
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
254
|
+
}
|
|
255
|
+
if (hidden !== void 0) {
|
|
256
|
+
localVarQueryParameter["hidden"] = hidden;
|
|
257
|
+
}
|
|
258
|
+
if (top !== void 0) {
|
|
259
|
+
localVarQueryParameter["top"] = top;
|
|
260
|
+
}
|
|
249
261
|
if (sortOrder !== void 0) {
|
|
250
262
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
251
263
|
}
|
|
@@ -267,27 +279,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
267
279
|
if (subjectName !== void 0) {
|
|
268
280
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
269
281
|
}
|
|
270
|
-
if (keyword !== void 0) {
|
|
271
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
272
|
-
}
|
|
273
|
-
if (hidden !== void 0) {
|
|
274
|
-
localVarQueryParameter["hidden"] = hidden;
|
|
275
|
-
}
|
|
276
|
-
if (top !== void 0) {
|
|
277
|
-
localVarQueryParameter["top"] = top;
|
|
278
|
-
}
|
|
279
282
|
if (size !== void 0) {
|
|
280
283
|
localVarQueryParameter["size"] = size;
|
|
281
284
|
}
|
|
285
|
+
if (page !== void 0) {
|
|
286
|
+
localVarQueryParameter["page"] = page;
|
|
287
|
+
}
|
|
282
288
|
if (labelSelector) {
|
|
283
289
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
284
290
|
}
|
|
285
291
|
if (fieldSelector) {
|
|
286
292
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
287
293
|
}
|
|
288
|
-
if (page !== void 0) {
|
|
289
|
-
localVarQueryParameter["page"] = page;
|
|
290
|
-
}
|
|
291
294
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
292
295
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
293
296
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -309,8 +312,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
309
312
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
310
313
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
311
314
|
},
|
|
312
|
-
async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
313
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
315
|
+
async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
|
|
314
317
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
315
318
|
}
|
|
316
319
|
};
|
|
@@ -324,8 +327,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
324
327
|
createReply(name, replyRequest, options) {
|
|
325
328
|
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
326
329
|
},
|
|
327
|
-
listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
328
|
-
return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
330
|
+
listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
331
|
+
return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
329
332
|
}
|
|
330
333
|
};
|
|
331
334
|
};
|
|
@@ -337,7 +340,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
337
340
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
338
341
|
}
|
|
339
342
|
listComments(requestParameters = {}, options) {
|
|
340
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.
|
|
343
|
+
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.keyword, requestParameters.hidden, requestParameters.top, requestParameters.sortOrder, requestParameters.approved, requestParameters.allowNotification, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
341
344
|
}
|
|
342
345
|
}
|
|
343
346
|
|
|
@@ -532,7 +535,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
532
535
|
options: localVarRequestOptions
|
|
533
536
|
};
|
|
534
537
|
},
|
|
535
|
-
listPlugins: async (sort,
|
|
538
|
+
listPlugins: async (sort, enabled, keyword, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
536
539
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
537
540
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
538
541
|
let baseOptions;
|
|
@@ -547,24 +550,24 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
547
550
|
if (sort) {
|
|
548
551
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
549
552
|
}
|
|
550
|
-
if (keyword !== void 0) {
|
|
551
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
552
|
-
}
|
|
553
553
|
if (enabled !== void 0) {
|
|
554
554
|
localVarQueryParameter["enabled"] = enabled;
|
|
555
555
|
}
|
|
556
|
+
if (keyword !== void 0) {
|
|
557
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
558
|
+
}
|
|
556
559
|
if (size !== void 0) {
|
|
557
560
|
localVarQueryParameter["size"] = size;
|
|
558
561
|
}
|
|
562
|
+
if (page !== void 0) {
|
|
563
|
+
localVarQueryParameter["page"] = page;
|
|
564
|
+
}
|
|
559
565
|
if (labelSelector) {
|
|
560
566
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
561
567
|
}
|
|
562
568
|
if (fieldSelector) {
|
|
563
569
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
564
570
|
}
|
|
565
|
-
if (page !== void 0) {
|
|
566
|
-
localVarQueryParameter["page"] = page;
|
|
567
|
-
}
|
|
568
571
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
569
572
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
570
573
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -610,8 +613,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
610
613
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
611
614
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
612
615
|
},
|
|
613
|
-
async listPlugins(sort,
|
|
614
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
616
|
+
async listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
|
|
617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options);
|
|
615
618
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
616
619
|
},
|
|
617
620
|
async upgradePlugin(name, file, options) {
|
|
@@ -626,8 +629,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
626
629
|
installPlugin(file, options) {
|
|
627
630
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
628
631
|
},
|
|
629
|
-
listPlugins(sort,
|
|
630
|
-
return localVarFp.listPlugins(sort,
|
|
632
|
+
listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
|
|
633
|
+
return localVarFp.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
631
634
|
},
|
|
632
635
|
upgradePlugin(name, file, options) {
|
|
633
636
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -639,7 +642,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
639
642
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
640
643
|
}
|
|
641
644
|
listPlugins(requestParameters = {}, options) {
|
|
642
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
645
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.enabled, requestParameters.keyword, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
643
646
|
}
|
|
644
647
|
upgradePlugin(requestParameters, options) {
|
|
645
648
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -671,7 +674,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
671
674
|
options: localVarRequestOptions
|
|
672
675
|
};
|
|
673
676
|
},
|
|
674
|
-
listPosts: async (sort,
|
|
677
|
+
listPosts: async (sort, tag, keyword, visible, contributor, publishPhase, category, sortOrder, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
675
678
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
676
679
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
677
680
|
let baseOptions;
|
|
@@ -686,39 +689,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
686
689
|
if (sort !== void 0) {
|
|
687
690
|
localVarQueryParameter["sort"] = sort;
|
|
688
691
|
}
|
|
689
|
-
if (
|
|
690
|
-
localVarQueryParameter["
|
|
692
|
+
if (tag) {
|
|
693
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
691
694
|
}
|
|
692
|
-
if (
|
|
693
|
-
localVarQueryParameter["
|
|
695
|
+
if (keyword !== void 0) {
|
|
696
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
694
697
|
}
|
|
695
|
-
if (
|
|
696
|
-
localVarQueryParameter["
|
|
698
|
+
if (visible !== void 0) {
|
|
699
|
+
localVarQueryParameter["visible"] = visible;
|
|
697
700
|
}
|
|
698
701
|
if (contributor) {
|
|
699
702
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
700
703
|
}
|
|
701
|
-
if (
|
|
702
|
-
localVarQueryParameter["
|
|
704
|
+
if (publishPhase !== void 0) {
|
|
705
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
703
706
|
}
|
|
704
|
-
if (
|
|
705
|
-
localVarQueryParameter["
|
|
707
|
+
if (category) {
|
|
708
|
+
localVarQueryParameter["category"] = Array.from(category);
|
|
706
709
|
}
|
|
707
|
-
if (
|
|
708
|
-
localVarQueryParameter["
|
|
710
|
+
if (sortOrder !== void 0) {
|
|
711
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
709
712
|
}
|
|
710
713
|
if (size !== void 0) {
|
|
711
714
|
localVarQueryParameter["size"] = size;
|
|
712
715
|
}
|
|
716
|
+
if (page !== void 0) {
|
|
717
|
+
localVarQueryParameter["page"] = page;
|
|
718
|
+
}
|
|
713
719
|
if (labelSelector) {
|
|
714
720
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
715
721
|
}
|
|
716
722
|
if (fieldSelector) {
|
|
717
723
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
718
724
|
}
|
|
719
|
-
if (page !== void 0) {
|
|
720
|
-
localVarQueryParameter["page"] = page;
|
|
721
|
-
}
|
|
722
725
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
723
726
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
724
727
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -826,8 +829,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
826
829
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
827
830
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
828
831
|
},
|
|
829
|
-
async listPosts(sort,
|
|
830
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
832
|
+
async listPosts(sort, tag, keyword, visible, contributor, publishPhase, category, sortOrder, size, page, labelSelector, fieldSelector, options) {
|
|
833
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, tag, keyword, visible, contributor, publishPhase, category, sortOrder, size, page, labelSelector, fieldSelector, options);
|
|
831
834
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
832
835
|
},
|
|
833
836
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -854,8 +857,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
854
857
|
draftPost(postRequest, options) {
|
|
855
858
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
856
859
|
},
|
|
857
|
-
listPosts(sort,
|
|
858
|
-
return localVarFp.listPosts(sort,
|
|
860
|
+
listPosts(sort, tag, keyword, visible, contributor, publishPhase, category, sortOrder, size, page, labelSelector, fieldSelector, options) {
|
|
861
|
+
return localVarFp.listPosts(sort, tag, keyword, visible, contributor, publishPhase, category, sortOrder, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
859
862
|
},
|
|
860
863
|
publishPost(name, headSnapshot, options) {
|
|
861
864
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -876,7 +879,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
876
879
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
877
880
|
}
|
|
878
881
|
listPosts(requestParameters = {}, options) {
|
|
879
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
882
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.tag, requestParameters.keyword, requestParameters.visible, requestParameters.contributor, requestParameters.publishPhase, requestParameters.category, requestParameters.sortOrder, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
880
883
|
}
|
|
881
884
|
publishPost(requestParameters, options) {
|
|
882
885
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -894,7 +897,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
894
897
|
|
|
895
898
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
896
899
|
return {
|
|
897
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
900
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
898
901
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
899
902
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
900
903
|
let baseOptions;
|
|
@@ -912,15 +915,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
912
915
|
if (size !== void 0) {
|
|
913
916
|
localVarQueryParameter["size"] = size;
|
|
914
917
|
}
|
|
918
|
+
if (page !== void 0) {
|
|
919
|
+
localVarQueryParameter["page"] = page;
|
|
920
|
+
}
|
|
915
921
|
if (labelSelector) {
|
|
916
922
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
917
923
|
}
|
|
918
924
|
if (fieldSelector) {
|
|
919
925
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
920
926
|
}
|
|
921
|
-
if (page !== void 0) {
|
|
922
|
-
localVarQueryParameter["page"] = page;
|
|
923
|
-
}
|
|
924
927
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
925
928
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
926
929
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -934,8 +937,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
934
937
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
935
938
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
936
939
|
return {
|
|
937
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
938
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
940
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
941
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
|
|
939
942
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
940
943
|
}
|
|
941
944
|
};
|
|
@@ -943,14 +946,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
943
946
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
944
947
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
945
948
|
return {
|
|
946
|
-
listReplies(commentName, size, labelSelector, fieldSelector,
|
|
947
|
-
return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
949
|
+
listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
950
|
+
return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
948
951
|
}
|
|
949
952
|
};
|
|
950
953
|
};
|
|
951
954
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
952
955
|
listReplies(requestParameters = {}, options) {
|
|
953
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.
|
|
956
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
954
957
|
}
|
|
955
958
|
}
|
|
956
959
|
|
|
@@ -979,7 +982,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
979
982
|
options: localVarRequestOptions
|
|
980
983
|
};
|
|
981
984
|
},
|
|
982
|
-
listSinglePages: async (sort,
|
|
985
|
+
listSinglePages: async (sort, keyword, visible, contributor, publishPhase, sortOrder, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
983
986
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
984
987
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
985
988
|
let baseOptions;
|
|
@@ -994,33 +997,33 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
994
997
|
if (sort !== void 0) {
|
|
995
998
|
localVarQueryParameter["sort"] = sort;
|
|
996
999
|
}
|
|
997
|
-
if (
|
|
998
|
-
localVarQueryParameter["
|
|
1000
|
+
if (keyword !== void 0) {
|
|
1001
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
999
1002
|
}
|
|
1000
|
-
if (
|
|
1001
|
-
localVarQueryParameter["
|
|
1003
|
+
if (visible !== void 0) {
|
|
1004
|
+
localVarQueryParameter["visible"] = visible;
|
|
1002
1005
|
}
|
|
1003
1006
|
if (contributor) {
|
|
1004
1007
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1005
1008
|
}
|
|
1006
|
-
if (
|
|
1007
|
-
localVarQueryParameter["
|
|
1009
|
+
if (publishPhase !== void 0) {
|
|
1010
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1008
1011
|
}
|
|
1009
|
-
if (
|
|
1010
|
-
localVarQueryParameter["
|
|
1012
|
+
if (sortOrder !== void 0) {
|
|
1013
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1011
1014
|
}
|
|
1012
1015
|
if (size !== void 0) {
|
|
1013
1016
|
localVarQueryParameter["size"] = size;
|
|
1014
1017
|
}
|
|
1018
|
+
if (page !== void 0) {
|
|
1019
|
+
localVarQueryParameter["page"] = page;
|
|
1020
|
+
}
|
|
1015
1021
|
if (labelSelector) {
|
|
1016
1022
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1017
1023
|
}
|
|
1018
1024
|
if (fieldSelector) {
|
|
1019
1025
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1020
1026
|
}
|
|
1021
|
-
if (page !== void 0) {
|
|
1022
|
-
localVarQueryParameter["page"] = page;
|
|
1023
|
-
}
|
|
1024
1027
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1025
1028
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1026
1029
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1083,8 +1086,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1083
1086
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1084
1087
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1085
1088
|
},
|
|
1086
|
-
async listSinglePages(sort,
|
|
1087
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1089
|
+
async listSinglePages(sort, keyword, visible, contributor, publishPhase, sortOrder, size, page, labelSelector, fieldSelector, options) {
|
|
1090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible, contributor, publishPhase, sortOrder, size, page, labelSelector, fieldSelector, options);
|
|
1088
1091
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1089
1092
|
},
|
|
1090
1093
|
async publishSinglePage(name, options) {
|
|
@@ -1103,8 +1106,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1103
1106
|
draftSinglePage(singlePageRequest, options) {
|
|
1104
1107
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1105
1108
|
},
|
|
1106
|
-
listSinglePages(sort,
|
|
1107
|
-
return localVarFp.listSinglePages(sort,
|
|
1109
|
+
listSinglePages(sort, keyword, visible, contributor, publishPhase, sortOrder, size, page, labelSelector, fieldSelector, options) {
|
|
1110
|
+
return localVarFp.listSinglePages(sort, keyword, visible, contributor, publishPhase, sortOrder, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1108
1111
|
},
|
|
1109
1112
|
publishSinglePage(name, options) {
|
|
1110
1113
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1119,7 +1122,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1119
1122
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1120
1123
|
}
|
|
1121
1124
|
listSinglePages(requestParameters = {}, options) {
|
|
1122
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1125
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.contributor, requestParameters.publishPhase, requestParameters.sortOrder, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1123
1126
|
}
|
|
1124
1127
|
publishSinglePage(requestParameters, options) {
|
|
1125
1128
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1205,7 +1208,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1205
1208
|
options: localVarRequestOptions
|
|
1206
1209
|
};
|
|
1207
1210
|
},
|
|
1208
|
-
listThemes: async (uninstalled, size, labelSelector, fieldSelector,
|
|
1211
|
+
listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1209
1212
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1210
1213
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1211
1214
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1224,15 +1227,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1224
1227
|
if (size !== void 0) {
|
|
1225
1228
|
localVarQueryParameter["size"] = size;
|
|
1226
1229
|
}
|
|
1230
|
+
if (page !== void 0) {
|
|
1231
|
+
localVarQueryParameter["page"] = page;
|
|
1232
|
+
}
|
|
1227
1233
|
if (labelSelector) {
|
|
1228
1234
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1229
1235
|
}
|
|
1230
1236
|
if (fieldSelector) {
|
|
1231
1237
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1232
1238
|
}
|
|
1233
|
-
if (page !== void 0) {
|
|
1234
|
-
localVarQueryParameter["page"] = page;
|
|
1235
|
-
}
|
|
1236
1239
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1237
1240
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1238
1241
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1299,8 +1302,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1299
1302
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1300
1303
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1301
1304
|
},
|
|
1302
|
-
async listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1303
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1305
|
+
async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1306
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options);
|
|
1304
1307
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1305
1308
|
},
|
|
1306
1309
|
async reloadThemeSetting(name, options) {
|
|
@@ -1319,8 +1322,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1319
1322
|
installTheme(file, options) {
|
|
1320
1323
|
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
1321
1324
|
},
|
|
1322
|
-
listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1323
|
-
return localVarFp.listThemes(uninstalled, size, labelSelector, fieldSelector,
|
|
1325
|
+
listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1326
|
+
return localVarFp.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1324
1327
|
},
|
|
1325
1328
|
reloadThemeSetting(name, options) {
|
|
1326
1329
|
return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
@@ -1335,7 +1338,7 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1335
1338
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1336
1339
|
}
|
|
1337
1340
|
listThemes(requestParameters, options) {
|
|
1338
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.
|
|
1341
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1339
1342
|
}
|
|
1340
1343
|
reloadThemeSetting(requestParameters, options) {
|
|
1341
1344
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1609,12 +1612,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1609
1612
|
if (version !== void 0) {
|
|
1610
1613
|
localVarQueryParameter["version"] = version;
|
|
1611
1614
|
}
|
|
1612
|
-
if (group !== void 0) {
|
|
1613
|
-
localVarQueryParameter["group"] = group;
|
|
1614
|
-
}
|
|
1615
1615
|
if (kind !== void 0) {
|
|
1616
1616
|
localVarQueryParameter["kind"] = kind;
|
|
1617
1617
|
}
|
|
1618
|
+
if (group !== void 0) {
|
|
1619
|
+
localVarQueryParameter["group"] = group;
|
|
1620
|
+
}
|
|
1618
1621
|
if (size !== void 0) {
|
|
1619
1622
|
localVarQueryParameter["size"] = size;
|
|
1620
1623
|
}
|
|
@@ -1696,7 +1699,7 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
1696
1699
|
|
|
1697
1700
|
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
1698
1701
|
return {
|
|
1699
|
-
searchPost: async (keyword, highlightPreTag, highlightPostTag,
|
|
1702
|
+
searchPost: async (keyword, limit, highlightPreTag, highlightPostTag, options = {}) => {
|
|
1700
1703
|
assertParamExists("searchPost", "keyword", keyword);
|
|
1701
1704
|
const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
|
|
1702
1705
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1709,18 +1712,18 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1709
1712
|
const localVarQueryParameter = {};
|
|
1710
1713
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1711
1714
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1715
|
+
if (limit !== void 0) {
|
|
1716
|
+
localVarQueryParameter["limit"] = limit;
|
|
1717
|
+
}
|
|
1718
|
+
if (keyword !== void 0) {
|
|
1719
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1720
|
+
}
|
|
1712
1721
|
if (highlightPreTag !== void 0) {
|
|
1713
1722
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1714
1723
|
}
|
|
1715
1724
|
if (highlightPostTag !== void 0) {
|
|
1716
1725
|
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1717
1726
|
}
|
|
1718
|
-
if (keyword !== void 0) {
|
|
1719
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
1720
|
-
}
|
|
1721
|
-
if (limit !== void 0) {
|
|
1722
|
-
localVarQueryParameter["limit"] = limit;
|
|
1723
|
-
}
|
|
1724
1727
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1725
1728
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1726
1729
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1734,8 +1737,8 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1734
1737
|
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
1735
1738
|
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
1736
1739
|
return {
|
|
1737
|
-
async searchPost(keyword, highlightPreTag, highlightPostTag,
|
|
1738
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, highlightPreTag, highlightPostTag,
|
|
1740
|
+
async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1741
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options);
|
|
1739
1742
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1740
1743
|
}
|
|
1741
1744
|
};
|
|
@@ -1743,14 +1746,14 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
1743
1746
|
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1744
1747
|
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
1745
1748
|
return {
|
|
1746
|
-
searchPost(keyword, highlightPreTag, highlightPostTag,
|
|
1747
|
-
return localVarFp.searchPost(keyword, highlightPreTag, highlightPostTag,
|
|
1749
|
+
searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1750
|
+
return localVarFp.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options).then((request) => request(axios, basePath));
|
|
1748
1751
|
}
|
|
1749
1752
|
};
|
|
1750
1753
|
};
|
|
1751
1754
|
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1752
1755
|
searchPost(requestParameters, options) {
|
|
1753
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.
|
|
1756
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.limit, requestParameters.highlightPreTag, requestParameters.highlightPostTag, options).then((request) => request(this.axios, this.basePath));
|
|
1754
1757
|
}
|
|
1755
1758
|
}
|
|
1756
1759
|
|