@halo-dev/api-client 0.0.23 → 0.0.25
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 +60 -60
- package/dist/index.d.ts +135 -109
- package/dist/index.mjs +60 -60
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -124,7 +124,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
124
124
|
options: localVarRequestOptions
|
|
125
125
|
};
|
|
126
126
|
},
|
|
127
|
-
listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
127
|
+
listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
128
128
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
129
129
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
130
130
|
let baseOptions;
|
|
@@ -139,6 +139,15 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
139
139
|
if (sort !== void 0) {
|
|
140
140
|
localVarQueryParameter["sort"] = sort;
|
|
141
141
|
}
|
|
142
|
+
if (keyword !== void 0) {
|
|
143
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
144
|
+
}
|
|
145
|
+
if (hidden !== void 0) {
|
|
146
|
+
localVarQueryParameter["hidden"] = hidden;
|
|
147
|
+
}
|
|
148
|
+
if (top !== void 0) {
|
|
149
|
+
localVarQueryParameter["top"] = top;
|
|
150
|
+
}
|
|
142
151
|
if (sortOrder !== void 0) {
|
|
143
152
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
144
153
|
}
|
|
@@ -160,27 +169,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
160
169
|
if (subjectName !== void 0) {
|
|
161
170
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
162
171
|
}
|
|
163
|
-
if (keyword !== void 0) {
|
|
164
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
165
|
-
}
|
|
166
|
-
if (hidden !== void 0) {
|
|
167
|
-
localVarQueryParameter["hidden"] = hidden;
|
|
168
|
-
}
|
|
169
|
-
if (top !== void 0) {
|
|
170
|
-
localVarQueryParameter["top"] = top;
|
|
171
|
-
}
|
|
172
172
|
if (size !== void 0) {
|
|
173
173
|
localVarQueryParameter["size"] = size;
|
|
174
174
|
}
|
|
175
|
+
if (page !== void 0) {
|
|
176
|
+
localVarQueryParameter["page"] = page;
|
|
177
|
+
}
|
|
175
178
|
if (labelSelector) {
|
|
176
179
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
177
180
|
}
|
|
178
181
|
if (fieldSelector) {
|
|
179
182
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
180
183
|
}
|
|
181
|
-
if (page !== void 0) {
|
|
182
|
-
localVarQueryParameter["page"] = page;
|
|
183
|
-
}
|
|
184
184
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
185
185
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
186
186
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -202,8 +202,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
202
202
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
203
203
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
204
204
|
},
|
|
205
|
-
async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
206
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
205
|
+
async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
206
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
|
|
207
207
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
208
208
|
}
|
|
209
209
|
};
|
|
@@ -217,8 +217,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
217
217
|
createReply(name, replyRequest, options) {
|
|
218
218
|
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
219
219
|
},
|
|
220
|
-
listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
221
|
-
return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
220
|
+
listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
221
|
+
return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
};
|
|
@@ -230,7 +230,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
230
230
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
231
231
|
}
|
|
232
232
|
listComments(requestParameters = {}, options) {
|
|
233
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.
|
|
233
|
+
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));
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
|
|
@@ -462,7 +462,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
462
462
|
options: localVarRequestOptions
|
|
463
463
|
};
|
|
464
464
|
},
|
|
465
|
-
listPosts: async (contributors, categories,
|
|
465
|
+
listPosts: async (tags, contributors, categories, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
466
466
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
467
467
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
468
468
|
let baseOptions;
|
|
@@ -474,27 +474,27 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
474
474
|
const localVarQueryParameter = {};
|
|
475
475
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
476
476
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
477
|
+
if (tags) {
|
|
478
|
+
localVarQueryParameter["tags"] = Array.from(tags);
|
|
479
|
+
}
|
|
477
480
|
if (contributors) {
|
|
478
481
|
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
479
482
|
}
|
|
480
483
|
if (categories) {
|
|
481
484
|
localVarQueryParameter["categories"] = Array.from(categories);
|
|
482
485
|
}
|
|
483
|
-
if (tags) {
|
|
484
|
-
localVarQueryParameter["tags"] = Array.from(tags);
|
|
485
|
-
}
|
|
486
486
|
if (size !== void 0) {
|
|
487
487
|
localVarQueryParameter["size"] = size;
|
|
488
488
|
}
|
|
489
|
+
if (page !== void 0) {
|
|
490
|
+
localVarQueryParameter["page"] = page;
|
|
491
|
+
}
|
|
489
492
|
if (labelSelector) {
|
|
490
493
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
491
494
|
}
|
|
492
495
|
if (fieldSelector) {
|
|
493
496
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
494
497
|
}
|
|
495
|
-
if (page !== void 0) {
|
|
496
|
-
localVarQueryParameter["page"] = page;
|
|
497
|
-
}
|
|
498
498
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
499
499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
500
500
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -557,8 +557,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
557
557
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
558
558
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
559
559
|
},
|
|
560
|
-
async listPosts(contributors, categories,
|
|
561
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories,
|
|
560
|
+
async listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options) {
|
|
561
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options);
|
|
562
562
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
563
563
|
},
|
|
564
564
|
async publishPost(name, options) {
|
|
@@ -577,8 +577,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
577
577
|
draftPost(postRequest, options) {
|
|
578
578
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
579
579
|
},
|
|
580
|
-
listPosts(contributors, categories,
|
|
581
|
-
return localVarFp.listPosts(contributors, categories,
|
|
580
|
+
listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options) {
|
|
581
|
+
return localVarFp.listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
582
582
|
},
|
|
583
583
|
publishPost(name, options) {
|
|
584
584
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
@@ -593,7 +593,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
593
593
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
594
594
|
}
|
|
595
595
|
listPosts(requestParameters = {}, options) {
|
|
596
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.
|
|
596
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.tags, requestParameters.contributors, requestParameters.categories, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
597
597
|
}
|
|
598
598
|
publishPost(requestParameters, options) {
|
|
599
599
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -605,7 +605,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
605
605
|
|
|
606
606
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
607
607
|
return {
|
|
608
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
608
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
609
609
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
610
610
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
611
611
|
let baseOptions;
|
|
@@ -623,15 +623,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
623
623
|
if (size !== void 0) {
|
|
624
624
|
localVarQueryParameter["size"] = size;
|
|
625
625
|
}
|
|
626
|
+
if (page !== void 0) {
|
|
627
|
+
localVarQueryParameter["page"] = page;
|
|
628
|
+
}
|
|
626
629
|
if (labelSelector) {
|
|
627
630
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
628
631
|
}
|
|
629
632
|
if (fieldSelector) {
|
|
630
633
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
631
634
|
}
|
|
632
|
-
if (page !== void 0) {
|
|
633
|
-
localVarQueryParameter["page"] = page;
|
|
634
|
-
}
|
|
635
635
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
636
636
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
637
637
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -645,8 +645,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
645
645
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
646
646
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
647
647
|
return {
|
|
648
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
649
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
648
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
|
|
650
650
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
651
651
|
}
|
|
652
652
|
};
|
|
@@ -654,14 +654,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
654
654
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
655
655
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
656
656
|
return {
|
|
657
|
-
listReplies(commentName, size, labelSelector, fieldSelector,
|
|
658
|
-
return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
657
|
+
listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
658
|
+
return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
659
659
|
}
|
|
660
660
|
};
|
|
661
661
|
};
|
|
662
662
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
663
663
|
listReplies(requestParameters = {}, options) {
|
|
664
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.
|
|
664
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
|
|
@@ -690,7 +690,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
690
690
|
options: localVarRequestOptions
|
|
691
691
|
};
|
|
692
692
|
},
|
|
693
|
-
listSinglePages: async (contributors, size, labelSelector, fieldSelector,
|
|
693
|
+
listSinglePages: async (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
694
694
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
695
695
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
696
696
|
let baseOptions;
|
|
@@ -708,15 +708,15 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
708
708
|
if (size !== void 0) {
|
|
709
709
|
localVarQueryParameter["size"] = size;
|
|
710
710
|
}
|
|
711
|
+
if (page !== void 0) {
|
|
712
|
+
localVarQueryParameter["page"] = page;
|
|
713
|
+
}
|
|
711
714
|
if (labelSelector) {
|
|
712
715
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
713
716
|
}
|
|
714
717
|
if (fieldSelector) {
|
|
715
718
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
716
719
|
}
|
|
717
|
-
if (page !== void 0) {
|
|
718
|
-
localVarQueryParameter["page"] = page;
|
|
719
|
-
}
|
|
720
720
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
721
721
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
722
722
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -779,8 +779,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
779
779
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
780
780
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
781
781
|
},
|
|
782
|
-
async listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
783
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
782
|
+
async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
|
|
783
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
|
|
784
784
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
785
785
|
},
|
|
786
786
|
async publishSinglePage(name, options) {
|
|
@@ -799,8 +799,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
799
799
|
draftSinglePage(singlePageRequest, options) {
|
|
800
800
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
801
801
|
},
|
|
802
|
-
listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
803
|
-
return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
802
|
+
listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
|
|
803
|
+
return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
804
804
|
},
|
|
805
805
|
publishSinglePage(name, options) {
|
|
806
806
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -815,7 +815,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
815
815
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
816
816
|
}
|
|
817
817
|
listSinglePages(requestParameters = {}, options) {
|
|
818
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.
|
|
818
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
819
819
|
}
|
|
820
820
|
publishSinglePage(requestParameters, options) {
|
|
821
821
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2797,7 +2797,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
2797
2797
|
options: localVarRequestOptions
|
|
2798
2798
|
};
|
|
2799
2799
|
},
|
|
2800
|
-
searchAttachments: async (policy, displayName,
|
|
2800
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
2801
2801
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
2802
2802
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2803
2803
|
let baseOptions;
|
|
@@ -2815,24 +2815,24 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
2815
2815
|
if (displayName !== void 0) {
|
|
2816
2816
|
localVarQueryParameter["displayName"] = displayName;
|
|
2817
2817
|
}
|
|
2818
|
-
if (uploadedBy !== void 0) {
|
|
2819
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2820
|
-
}
|
|
2821
2818
|
if (group !== void 0) {
|
|
2822
2819
|
localVarQueryParameter["group"] = group;
|
|
2823
2820
|
}
|
|
2821
|
+
if (uploadedBy !== void 0) {
|
|
2822
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2823
|
+
}
|
|
2824
2824
|
if (size !== void 0) {
|
|
2825
2825
|
localVarQueryParameter["size"] = size;
|
|
2826
2826
|
}
|
|
2827
|
+
if (page !== void 0) {
|
|
2828
|
+
localVarQueryParameter["page"] = page;
|
|
2829
|
+
}
|
|
2827
2830
|
if (labelSelector) {
|
|
2828
2831
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2829
2832
|
}
|
|
2830
2833
|
if (fieldSelector) {
|
|
2831
2834
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2832
2835
|
}
|
|
2833
|
-
if (page !== void 0) {
|
|
2834
|
-
localVarQueryParameter["page"] = page;
|
|
2835
|
-
}
|
|
2836
2836
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2837
2837
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2838
2838
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2919,8 +2919,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
2919
2919
|
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
2920
2920
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2921
2921
|
},
|
|
2922
|
-
async searchAttachments(policy, displayName,
|
|
2923
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName,
|
|
2922
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2923
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
2924
2924
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2925
2925
|
},
|
|
2926
2926
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
@@ -2948,8 +2948,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
|
|
|
2948
2948
|
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2949
2949
|
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2950
2950
|
},
|
|
2951
|
-
searchAttachments(policy, displayName,
|
|
2952
|
-
return localVarFp.searchAttachments(policy, displayName,
|
|
2951
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2952
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2953
2953
|
},
|
|
2954
2954
|
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2955
2955
|
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
@@ -2973,7 +2973,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
2973
2973
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2974
2974
|
}
|
|
2975
2975
|
searchAttachments(requestParameters = {}, options) {
|
|
2976
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.
|
|
2976
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2977
2977
|
}
|
|
2978
2978
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2979
2979
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|