@halo-dev/api-client 0.0.44 → 0.0.46
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 +108 -105
- package/dist/index.d.ts +178 -169
- package/dist/index.mjs +108 -105
- 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,
|
|
80
|
+
searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, 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
|
-
}
|
|
110
107
|
if (labelSelector) {
|
|
111
108
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
112
109
|
}
|
|
113
110
|
if (fieldSelector) {
|
|
114
111
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
115
112
|
}
|
|
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,
|
|
164
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size,
|
|
163
|
+
async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
|
|
164
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, 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,
|
|
177
|
-
return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size,
|
|
176
|
+
searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
|
|
177
|
+
return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, 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.labelSelector, requestParameters.fieldSelector, requestParameters.page, 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,
|
|
242
|
+
listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, 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,15 +254,6 @@ 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
|
-
}
|
|
266
257
|
if (sortOrder !== void 0) {
|
|
267
258
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
268
259
|
}
|
|
@@ -284,18 +275,27 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
284
275
|
if (subjectName !== void 0) {
|
|
285
276
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
286
277
|
}
|
|
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
|
-
}
|
|
293
290
|
if (labelSelector) {
|
|
294
291
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
295
292
|
}
|
|
296
293
|
if (fieldSelector) {
|
|
297
294
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
298
295
|
}
|
|
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,
|
|
321
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort,
|
|
320
|
+
async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
|
|
321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, 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,
|
|
336
|
-
return localVarFp.listComments(sort,
|
|
335
|
+
listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
|
|
336
|
+
return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, 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.sortOrder, requestParameters.approved, requestParameters.allowNotification, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.keyword, requestParameters.hidden, requestParameters.top, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
|
|
@@ -540,7 +540,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
540
540
|
options: localVarRequestOptions
|
|
541
541
|
};
|
|
542
542
|
},
|
|
543
|
-
listPlugins: async (sort, keyword, enabled, size,
|
|
543
|
+
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
544
544
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
545
545
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
546
546
|
let baseOptions;
|
|
@@ -564,15 +564,15 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
564
564
|
if (size !== void 0) {
|
|
565
565
|
localVarQueryParameter["size"] = size;
|
|
566
566
|
}
|
|
567
|
-
if (page !== void 0) {
|
|
568
|
-
localVarQueryParameter["page"] = page;
|
|
569
|
-
}
|
|
570
567
|
if (labelSelector) {
|
|
571
568
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
572
569
|
}
|
|
573
570
|
if (fieldSelector) {
|
|
574
571
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
575
572
|
}
|
|
573
|
+
if (page !== void 0) {
|
|
574
|
+
localVarQueryParameter["page"] = page;
|
|
575
|
+
}
|
|
576
576
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
577
577
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
578
578
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -618,8 +618,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
618
618
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
619
619
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
620
620
|
},
|
|
621
|
-
async listPlugins(sort, keyword, enabled, size,
|
|
622
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size,
|
|
621
|
+
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
622
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options);
|
|
623
623
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
624
624
|
},
|
|
625
625
|
async upgradePlugin(name, file, options) {
|
|
@@ -634,8 +634,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
634
634
|
installPlugin(file, options) {
|
|
635
635
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
636
636
|
},
|
|
637
|
-
listPlugins(sort, keyword, enabled, size,
|
|
638
|
-
return localVarFp.listPlugins(sort, keyword, enabled, size,
|
|
637
|
+
listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
638
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
639
639
|
},
|
|
640
640
|
upgradePlugin(name, file, options) {
|
|
641
641
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -647,7 +647,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
647
647
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
648
648
|
}
|
|
649
649
|
listPlugins(requestParameters = {}, options) {
|
|
650
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.
|
|
650
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
651
651
|
}
|
|
652
652
|
upgradePlugin(requestParameters, options) {
|
|
653
653
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -679,7 +679,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
679
679
|
options: localVarRequestOptions
|
|
680
680
|
};
|
|
681
681
|
},
|
|
682
|
-
listPosts: async (sort,
|
|
682
|
+
listPosts: async (sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
683
683
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
684
684
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
685
685
|
let baseOptions;
|
|
@@ -694,15 +694,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
694
694
|
if (sort !== void 0) {
|
|
695
695
|
localVarQueryParameter["sort"] = sort;
|
|
696
696
|
}
|
|
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);
|
|
705
|
-
}
|
|
706
697
|
if (sortOrder !== void 0) {
|
|
707
698
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
708
699
|
}
|
|
@@ -715,18 +706,27 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
715
706
|
if (contributor) {
|
|
716
707
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
717
708
|
}
|
|
709
|
+
if (keyword !== void 0) {
|
|
710
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
711
|
+
}
|
|
712
|
+
if (visible !== void 0) {
|
|
713
|
+
localVarQueryParameter["visible"] = visible;
|
|
714
|
+
}
|
|
715
|
+
if (tag) {
|
|
716
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
717
|
+
}
|
|
718
718
|
if (size !== void 0) {
|
|
719
719
|
localVarQueryParameter["size"] = size;
|
|
720
720
|
}
|
|
721
|
-
if (page !== void 0) {
|
|
722
|
-
localVarQueryParameter["page"] = page;
|
|
723
|
-
}
|
|
724
721
|
if (labelSelector) {
|
|
725
722
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
726
723
|
}
|
|
727
724
|
if (fieldSelector) {
|
|
728
725
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
729
726
|
}
|
|
727
|
+
if (page !== void 0) {
|
|
728
|
+
localVarQueryParameter["page"] = page;
|
|
729
|
+
}
|
|
730
730
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
731
731
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
732
732
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -735,7 +735,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
735
735
|
options: localVarRequestOptions
|
|
736
736
|
};
|
|
737
737
|
},
|
|
738
|
-
publishPost: async (name, options = {}) => {
|
|
738
|
+
publishPost: async (name, headSnapshot, options = {}) => {
|
|
739
739
|
assertParamExists("publishPost", "name", name);
|
|
740
740
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
741
741
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -748,6 +748,9 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
748
748
|
const localVarQueryParameter = {};
|
|
749
749
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
750
750
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
751
|
+
if (headSnapshot !== void 0) {
|
|
752
|
+
localVarQueryParameter["headSnapshot"] = headSnapshot;
|
|
753
|
+
}
|
|
751
754
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
752
755
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
753
756
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -831,12 +834,12 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
831
834
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
832
835
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
833
836
|
},
|
|
834
|
-
async listPosts(sort,
|
|
835
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
837
|
+
async listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
838
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options);
|
|
836
839
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
837
840
|
},
|
|
838
|
-
async publishPost(name, options) {
|
|
839
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
841
|
+
async publishPost(name, headSnapshot, options) {
|
|
842
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, headSnapshot, options);
|
|
840
843
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
841
844
|
},
|
|
842
845
|
async recyclePost(name, options) {
|
|
@@ -859,11 +862,11 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
859
862
|
draftPost(postRequest, options) {
|
|
860
863
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
861
864
|
},
|
|
862
|
-
listPosts(sort,
|
|
863
|
-
return localVarFp.listPosts(sort,
|
|
865
|
+
listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
866
|
+
return localVarFp.listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
864
867
|
},
|
|
865
|
-
publishPost(name, options) {
|
|
866
|
-
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
868
|
+
publishPost(name, headSnapshot, options) {
|
|
869
|
+
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
867
870
|
},
|
|
868
871
|
recyclePost(name, options) {
|
|
869
872
|
return localVarFp.recyclePost(name, options).then((request) => request(axios, basePath));
|
|
@@ -881,10 +884,10 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
881
884
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
882
885
|
}
|
|
883
886
|
listPosts(requestParameters = {}, options) {
|
|
884
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
887
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
885
888
|
}
|
|
886
889
|
publishPost(requestParameters, options) {
|
|
887
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
890
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
888
891
|
}
|
|
889
892
|
recyclePost(requestParameters, options) {
|
|
890
893
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).recyclePost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -899,7 +902,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
899
902
|
|
|
900
903
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
901
904
|
return {
|
|
902
|
-
listReplies: async (commentName, size,
|
|
905
|
+
listReplies: async (commentName, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
903
906
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
904
907
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
905
908
|
let baseOptions;
|
|
@@ -917,15 +920,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
917
920
|
if (size !== void 0) {
|
|
918
921
|
localVarQueryParameter["size"] = size;
|
|
919
922
|
}
|
|
920
|
-
if (page !== void 0) {
|
|
921
|
-
localVarQueryParameter["page"] = page;
|
|
922
|
-
}
|
|
923
923
|
if (labelSelector) {
|
|
924
924
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
925
925
|
}
|
|
926
926
|
if (fieldSelector) {
|
|
927
927
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
928
928
|
}
|
|
929
|
+
if (page !== void 0) {
|
|
930
|
+
localVarQueryParameter["page"] = page;
|
|
931
|
+
}
|
|
929
932
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
930
933
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
931
934
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -939,8 +942,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
939
942
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
940
943
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
941
944
|
return {
|
|
942
|
-
async listReplies(commentName, size,
|
|
943
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size,
|
|
945
|
+
async listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
|
|
946
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector, page, options);
|
|
944
947
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
945
948
|
}
|
|
946
949
|
};
|
|
@@ -948,14 +951,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
948
951
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
949
952
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
950
953
|
return {
|
|
951
|
-
listReplies(commentName, size,
|
|
952
|
-
return localVarFp.listReplies(commentName, size,
|
|
954
|
+
listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
|
|
955
|
+
return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
953
956
|
}
|
|
954
957
|
};
|
|
955
958
|
};
|
|
956
959
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
957
960
|
listReplies(requestParameters = {}, options) {
|
|
958
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.
|
|
961
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
959
962
|
}
|
|
960
963
|
}
|
|
961
964
|
|
|
@@ -984,7 +987,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
984
987
|
options: localVarRequestOptions
|
|
985
988
|
};
|
|
986
989
|
},
|
|
987
|
-
listSinglePages: async (sort,
|
|
990
|
+
listSinglePages: async (sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
988
991
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
989
992
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
990
993
|
let baseOptions;
|
|
@@ -999,12 +1002,6 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
999
1002
|
if (sort !== void 0) {
|
|
1000
1003
|
localVarQueryParameter["sort"] = sort;
|
|
1001
1004
|
}
|
|
1002
|
-
if (keyword !== void 0) {
|
|
1003
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
1004
|
-
}
|
|
1005
|
-
if (visible !== void 0) {
|
|
1006
|
-
localVarQueryParameter["visible"] = visible;
|
|
1007
|
-
}
|
|
1008
1005
|
if (sortOrder !== void 0) {
|
|
1009
1006
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1010
1007
|
}
|
|
@@ -1014,18 +1011,24 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1014
1011
|
if (contributor) {
|
|
1015
1012
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1016
1013
|
}
|
|
1014
|
+
if (keyword !== void 0) {
|
|
1015
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1016
|
+
}
|
|
1017
|
+
if (visible !== void 0) {
|
|
1018
|
+
localVarQueryParameter["visible"] = visible;
|
|
1019
|
+
}
|
|
1017
1020
|
if (size !== void 0) {
|
|
1018
1021
|
localVarQueryParameter["size"] = size;
|
|
1019
1022
|
}
|
|
1020
|
-
if (page !== void 0) {
|
|
1021
|
-
localVarQueryParameter["page"] = page;
|
|
1022
|
-
}
|
|
1023
1023
|
if (labelSelector) {
|
|
1024
1024
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1025
1025
|
}
|
|
1026
1026
|
if (fieldSelector) {
|
|
1027
1027
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1028
1028
|
}
|
|
1029
|
+
if (page !== void 0) {
|
|
1030
|
+
localVarQueryParameter["page"] = page;
|
|
1031
|
+
}
|
|
1029
1032
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1030
1033
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1031
1034
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1088,8 +1091,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1088
1091
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1089
1092
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1090
1093
|
},
|
|
1091
|
-
async listSinglePages(sort,
|
|
1092
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1094
|
+
async listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options);
|
|
1093
1096
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1094
1097
|
},
|
|
1095
1098
|
async publishSinglePage(name, options) {
|
|
@@ -1108,8 +1111,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1108
1111
|
draftSinglePage(singlePageRequest, options) {
|
|
1109
1112
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1110
1113
|
},
|
|
1111
|
-
listSinglePages(sort,
|
|
1112
|
-
return localVarFp.listSinglePages(sort,
|
|
1114
|
+
listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1115
|
+
return localVarFp.listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
1113
1116
|
},
|
|
1114
1117
|
publishSinglePage(name, options) {
|
|
1115
1118
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1124,7 +1127,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1124
1127
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1125
1128
|
}
|
|
1126
1129
|
listSinglePages(requestParameters = {}, options) {
|
|
1127
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1130
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1128
1131
|
}
|
|
1129
1132
|
publishSinglePage(requestParameters, options) {
|
|
1130
1133
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1210,7 +1213,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1210
1213
|
options: localVarRequestOptions
|
|
1211
1214
|
};
|
|
1212
1215
|
},
|
|
1213
|
-
listThemes: async (uninstalled, size,
|
|
1216
|
+
listThemes: async (uninstalled, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
1214
1217
|
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1215
1218
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1216
1219
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1229,15 +1232,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1229
1232
|
if (size !== void 0) {
|
|
1230
1233
|
localVarQueryParameter["size"] = size;
|
|
1231
1234
|
}
|
|
1232
|
-
if (page !== void 0) {
|
|
1233
|
-
localVarQueryParameter["page"] = page;
|
|
1234
|
-
}
|
|
1235
1235
|
if (labelSelector) {
|
|
1236
1236
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1237
1237
|
}
|
|
1238
1238
|
if (fieldSelector) {
|
|
1239
1239
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1240
1240
|
}
|
|
1241
|
+
if (page !== void 0) {
|
|
1242
|
+
localVarQueryParameter["page"] = page;
|
|
1243
|
+
}
|
|
1241
1244
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1242
1245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1243
1246
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1304,8 +1307,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1304
1307
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1305
1308
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1306
1309
|
},
|
|
1307
|
-
async listThemes(uninstalled, size,
|
|
1308
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size,
|
|
1310
|
+
async listThemes(uninstalled, size, labelSelector, fieldSelector, page, options) {
|
|
1311
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, labelSelector, fieldSelector, page, options);
|
|
1309
1312
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1310
1313
|
},
|
|
1311
1314
|
async reloadThemeSetting(name, options) {
|
|
@@ -1324,8 +1327,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1324
1327
|
installTheme(file, options) {
|
|
1325
1328
|
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
1326
1329
|
},
|
|
1327
|
-
listThemes(uninstalled, size,
|
|
1328
|
-
return localVarFp.listThemes(uninstalled, size,
|
|
1330
|
+
listThemes(uninstalled, size, labelSelector, fieldSelector, page, options) {
|
|
1331
|
+
return localVarFp.listThemes(uninstalled, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
1329
1332
|
},
|
|
1330
1333
|
reloadThemeSetting(name, options) {
|
|
1331
1334
|
return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
@@ -1340,7 +1343,7 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1340
1343
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1341
1344
|
}
|
|
1342
1345
|
listThemes(requestParameters, options) {
|
|
1343
|
-
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.
|
|
1346
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1344
1347
|
}
|
|
1345
1348
|
reloadThemeSetting(requestParameters, options) {
|
|
1346
1349
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1701,7 +1704,7 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
1701
1704
|
|
|
1702
1705
|
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
1703
1706
|
return {
|
|
1704
|
-
searchPost: async (keyword,
|
|
1707
|
+
searchPost: async (keyword, highlightPreTag, highlightPostTag, limit, options = {}) => {
|
|
1705
1708
|
assertParamExists("searchPost", "keyword", keyword);
|
|
1706
1709
|
const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
|
|
1707
1710
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1714,18 +1717,18 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1714
1717
|
const localVarQueryParameter = {};
|
|
1715
1718
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1716
1719
|
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
1720
|
if (highlightPreTag !== void 0) {
|
|
1724
1721
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1725
1722
|
}
|
|
1726
1723
|
if (highlightPostTag !== void 0) {
|
|
1727
1724
|
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1728
1725
|
}
|
|
1726
|
+
if (keyword !== void 0) {
|
|
1727
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1728
|
+
}
|
|
1729
|
+
if (limit !== void 0) {
|
|
1730
|
+
localVarQueryParameter["limit"] = limit;
|
|
1731
|
+
}
|
|
1729
1732
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1730
1733
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1731
1734
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1739,8 +1742,8 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1739
1742
|
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
1740
1743
|
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
1741
1744
|
return {
|
|
1742
|
-
async searchPost(keyword,
|
|
1743
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword,
|
|
1745
|
+
async searchPost(keyword, highlightPreTag, highlightPostTag, limit, options) {
|
|
1746
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, highlightPreTag, highlightPostTag, limit, options);
|
|
1744
1747
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1745
1748
|
}
|
|
1746
1749
|
};
|
|
@@ -1748,14 +1751,14 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
1748
1751
|
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1749
1752
|
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
1750
1753
|
return {
|
|
1751
|
-
searchPost(keyword,
|
|
1752
|
-
return localVarFp.searchPost(keyword,
|
|
1754
|
+
searchPost(keyword, highlightPreTag, highlightPostTag, limit, options) {
|
|
1755
|
+
return localVarFp.searchPost(keyword, highlightPreTag, highlightPostTag, limit, options).then((request) => request(axios, basePath));
|
|
1753
1756
|
}
|
|
1754
1757
|
};
|
|
1755
1758
|
};
|
|
1756
1759
|
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1757
1760
|
searchPost(requestParameters, options) {
|
|
1758
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.
|
|
1761
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.highlightPreTag, requestParameters.highlightPostTag, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
|
|
1759
1762
|
}
|
|
1760
1763
|
}
|
|
1761
1764
|
|