@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.mjs
CHANGED
|
@@ -116,7 +116,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
116
116
|
options: localVarRequestOptions
|
|
117
117
|
};
|
|
118
118
|
},
|
|
119
|
-
listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
119
|
+
listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
120
120
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
121
121
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
122
122
|
let baseOptions;
|
|
@@ -131,6 +131,15 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
131
131
|
if (sort !== void 0) {
|
|
132
132
|
localVarQueryParameter["sort"] = sort;
|
|
133
133
|
}
|
|
134
|
+
if (keyword !== void 0) {
|
|
135
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
136
|
+
}
|
|
137
|
+
if (hidden !== void 0) {
|
|
138
|
+
localVarQueryParameter["hidden"] = hidden;
|
|
139
|
+
}
|
|
140
|
+
if (top !== void 0) {
|
|
141
|
+
localVarQueryParameter["top"] = top;
|
|
142
|
+
}
|
|
134
143
|
if (sortOrder !== void 0) {
|
|
135
144
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
136
145
|
}
|
|
@@ -152,27 +161,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
152
161
|
if (subjectName !== void 0) {
|
|
153
162
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
154
163
|
}
|
|
155
|
-
if (keyword !== void 0) {
|
|
156
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
157
|
-
}
|
|
158
|
-
if (hidden !== void 0) {
|
|
159
|
-
localVarQueryParameter["hidden"] = hidden;
|
|
160
|
-
}
|
|
161
|
-
if (top !== void 0) {
|
|
162
|
-
localVarQueryParameter["top"] = top;
|
|
163
|
-
}
|
|
164
164
|
if (size !== void 0) {
|
|
165
165
|
localVarQueryParameter["size"] = size;
|
|
166
166
|
}
|
|
167
|
+
if (page !== void 0) {
|
|
168
|
+
localVarQueryParameter["page"] = page;
|
|
169
|
+
}
|
|
167
170
|
if (labelSelector) {
|
|
168
171
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
169
172
|
}
|
|
170
173
|
if (fieldSelector) {
|
|
171
174
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
172
175
|
}
|
|
173
|
-
if (page !== void 0) {
|
|
174
|
-
localVarQueryParameter["page"] = page;
|
|
175
|
-
}
|
|
176
176
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
177
177
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
178
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -194,8 +194,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
194
194
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
195
195
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
196
196
|
},
|
|
197
|
-
async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
198
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
197
|
+
async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
198
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
|
|
199
199
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
@@ -209,8 +209,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
209
209
|
createReply(name, replyRequest, options) {
|
|
210
210
|
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
211
211
|
},
|
|
212
|
-
listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
213
|
-
return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
212
|
+
listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
213
|
+
return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
216
|
};
|
|
@@ -222,7 +222,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
222
222
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
223
223
|
}
|
|
224
224
|
listComments(requestParameters = {}, options) {
|
|
225
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.
|
|
225
|
+
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));
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
|
|
@@ -454,7 +454,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
454
454
|
options: localVarRequestOptions
|
|
455
455
|
};
|
|
456
456
|
},
|
|
457
|
-
listPosts: async (contributors, categories,
|
|
457
|
+
listPosts: async (tags, contributors, categories, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
458
458
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
459
459
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
460
460
|
let baseOptions;
|
|
@@ -466,27 +466,27 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
466
466
|
const localVarQueryParameter = {};
|
|
467
467
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
468
468
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
469
|
+
if (tags) {
|
|
470
|
+
localVarQueryParameter["tags"] = Array.from(tags);
|
|
471
|
+
}
|
|
469
472
|
if (contributors) {
|
|
470
473
|
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
471
474
|
}
|
|
472
475
|
if (categories) {
|
|
473
476
|
localVarQueryParameter["categories"] = Array.from(categories);
|
|
474
477
|
}
|
|
475
|
-
if (tags) {
|
|
476
|
-
localVarQueryParameter["tags"] = Array.from(tags);
|
|
477
|
-
}
|
|
478
478
|
if (size !== void 0) {
|
|
479
479
|
localVarQueryParameter["size"] = size;
|
|
480
480
|
}
|
|
481
|
+
if (page !== void 0) {
|
|
482
|
+
localVarQueryParameter["page"] = page;
|
|
483
|
+
}
|
|
481
484
|
if (labelSelector) {
|
|
482
485
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
483
486
|
}
|
|
484
487
|
if (fieldSelector) {
|
|
485
488
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
486
489
|
}
|
|
487
|
-
if (page !== void 0) {
|
|
488
|
-
localVarQueryParameter["page"] = page;
|
|
489
|
-
}
|
|
490
490
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
491
491
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
492
492
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -549,8 +549,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
549
549
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
550
550
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
551
551
|
},
|
|
552
|
-
async listPosts(contributors, categories,
|
|
553
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories,
|
|
552
|
+
async listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options) {
|
|
553
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options);
|
|
554
554
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
555
555
|
},
|
|
556
556
|
async publishPost(name, options) {
|
|
@@ -569,8 +569,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
569
569
|
draftPost(postRequest, options) {
|
|
570
570
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
571
571
|
},
|
|
572
|
-
listPosts(contributors, categories,
|
|
573
|
-
return localVarFp.listPosts(contributors, categories,
|
|
572
|
+
listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options) {
|
|
573
|
+
return localVarFp.listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
574
574
|
},
|
|
575
575
|
publishPost(name, options) {
|
|
576
576
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
@@ -585,7 +585,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
585
585
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
586
586
|
}
|
|
587
587
|
listPosts(requestParameters = {}, options) {
|
|
588
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.
|
|
588
|
+
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));
|
|
589
589
|
}
|
|
590
590
|
publishPost(requestParameters, options) {
|
|
591
591
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -597,7 +597,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
597
597
|
|
|
598
598
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
599
599
|
return {
|
|
600
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
600
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
601
601
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
602
602
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
603
603
|
let baseOptions;
|
|
@@ -615,15 +615,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
615
615
|
if (size !== void 0) {
|
|
616
616
|
localVarQueryParameter["size"] = size;
|
|
617
617
|
}
|
|
618
|
+
if (page !== void 0) {
|
|
619
|
+
localVarQueryParameter["page"] = page;
|
|
620
|
+
}
|
|
618
621
|
if (labelSelector) {
|
|
619
622
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
620
623
|
}
|
|
621
624
|
if (fieldSelector) {
|
|
622
625
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
623
626
|
}
|
|
624
|
-
if (page !== void 0) {
|
|
625
|
-
localVarQueryParameter["page"] = page;
|
|
626
|
-
}
|
|
627
627
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
628
628
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
629
629
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -637,8 +637,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
637
637
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
638
638
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
639
639
|
return {
|
|
640
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
641
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
640
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
641
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
|
|
642
642
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
643
643
|
}
|
|
644
644
|
};
|
|
@@ -646,14 +646,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
646
646
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
647
647
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
648
648
|
return {
|
|
649
|
-
listReplies(commentName, size, labelSelector, fieldSelector,
|
|
650
|
-
return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
649
|
+
listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
650
|
+
return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
651
651
|
}
|
|
652
652
|
};
|
|
653
653
|
};
|
|
654
654
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
655
655
|
listReplies(requestParameters = {}, options) {
|
|
656
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.
|
|
656
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
659
|
|
|
@@ -682,7 +682,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
682
682
|
options: localVarRequestOptions
|
|
683
683
|
};
|
|
684
684
|
},
|
|
685
|
-
listSinglePages: async (contributors, size, labelSelector, fieldSelector,
|
|
685
|
+
listSinglePages: async (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
686
686
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
687
687
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
688
688
|
let baseOptions;
|
|
@@ -700,15 +700,15 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
700
700
|
if (size !== void 0) {
|
|
701
701
|
localVarQueryParameter["size"] = size;
|
|
702
702
|
}
|
|
703
|
+
if (page !== void 0) {
|
|
704
|
+
localVarQueryParameter["page"] = page;
|
|
705
|
+
}
|
|
703
706
|
if (labelSelector) {
|
|
704
707
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
705
708
|
}
|
|
706
709
|
if (fieldSelector) {
|
|
707
710
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
708
711
|
}
|
|
709
|
-
if (page !== void 0) {
|
|
710
|
-
localVarQueryParameter["page"] = page;
|
|
711
|
-
}
|
|
712
712
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
713
713
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
714
714
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -771,8 +771,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
771
771
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
772
772
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
773
773
|
},
|
|
774
|
-
async listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
775
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
774
|
+
async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
|
|
775
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
|
|
776
776
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
777
777
|
},
|
|
778
778
|
async publishSinglePage(name, options) {
|
|
@@ -791,8 +791,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
791
791
|
draftSinglePage(singlePageRequest, options) {
|
|
792
792
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
793
793
|
},
|
|
794
|
-
listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
795
|
-
return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
794
|
+
listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
|
|
795
|
+
return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
796
796
|
},
|
|
797
797
|
publishSinglePage(name, options) {
|
|
798
798
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -807,7 +807,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
807
807
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
808
808
|
}
|
|
809
809
|
listSinglePages(requestParameters = {}, options) {
|
|
810
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.
|
|
810
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
811
811
|
}
|
|
812
812
|
publishSinglePage(requestParameters, options) {
|
|
813
813
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2789,7 +2789,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
2789
2789
|
options: localVarRequestOptions
|
|
2790
2790
|
};
|
|
2791
2791
|
},
|
|
2792
|
-
searchAttachments: async (policy, displayName,
|
|
2792
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
2793
2793
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
2794
2794
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2795
2795
|
let baseOptions;
|
|
@@ -2807,24 +2807,24 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
2807
2807
|
if (displayName !== void 0) {
|
|
2808
2808
|
localVarQueryParameter["displayName"] = displayName;
|
|
2809
2809
|
}
|
|
2810
|
-
if (uploadedBy !== void 0) {
|
|
2811
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2812
|
-
}
|
|
2813
2810
|
if (group !== void 0) {
|
|
2814
2811
|
localVarQueryParameter["group"] = group;
|
|
2815
2812
|
}
|
|
2813
|
+
if (uploadedBy !== void 0) {
|
|
2814
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2815
|
+
}
|
|
2816
2816
|
if (size !== void 0) {
|
|
2817
2817
|
localVarQueryParameter["size"] = size;
|
|
2818
2818
|
}
|
|
2819
|
+
if (page !== void 0) {
|
|
2820
|
+
localVarQueryParameter["page"] = page;
|
|
2821
|
+
}
|
|
2819
2822
|
if (labelSelector) {
|
|
2820
2823
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2821
2824
|
}
|
|
2822
2825
|
if (fieldSelector) {
|
|
2823
2826
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2824
2827
|
}
|
|
2825
|
-
if (page !== void 0) {
|
|
2826
|
-
localVarQueryParameter["page"] = page;
|
|
2827
|
-
}
|
|
2828
2828
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2829
2829
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2830
2830
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2911,8 +2911,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
2911
2911
|
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
2912
2912
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2913
2913
|
},
|
|
2914
|
-
async searchAttachments(policy, displayName,
|
|
2915
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName,
|
|
2914
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2915
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
2916
2916
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2917
2917
|
},
|
|
2918
2918
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
@@ -2940,8 +2940,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
|
|
|
2940
2940
|
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2941
2941
|
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2942
2942
|
},
|
|
2943
|
-
searchAttachments(policy, displayName,
|
|
2944
|
-
return localVarFp.searchAttachments(policy, displayName,
|
|
2943
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2944
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2945
2945
|
},
|
|
2946
2946
|
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2947
2947
|
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
@@ -2965,7 +2965,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
2965
2965
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2966
2966
|
}
|
|
2967
2967
|
searchAttachments(requestParameters = {}, options) {
|
|
2968
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.
|
|
2968
|
+
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));
|
|
2969
2969
|
}
|
|
2970
2970
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2971
2971
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|