@halo-dev/api-client 0.0.19 → 0.0.21
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 +197 -34
- package/dist/index.d.ts +744 -96
- package/dist/index.mjs +194 -35
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -67,6 +67,165 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
+
const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
71
|
+
return {
|
|
72
|
+
createComment: async (commentRequest, options = {}) => {
|
|
73
|
+
assertParamExists("createComment", "commentRequest", commentRequest);
|
|
74
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments`;
|
|
75
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
76
|
+
let baseOptions;
|
|
77
|
+
if (configuration) {
|
|
78
|
+
baseOptions = configuration.baseOptions;
|
|
79
|
+
}
|
|
80
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
81
|
+
const localVarHeaderParameter = {};
|
|
82
|
+
const localVarQueryParameter = {};
|
|
83
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
84
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
85
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
86
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
87
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
89
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commentRequest, localVarRequestOptions, configuration);
|
|
90
|
+
return {
|
|
91
|
+
url: toPathString(localVarUrlObj),
|
|
92
|
+
options: localVarRequestOptions
|
|
93
|
+
};
|
|
94
|
+
},
|
|
95
|
+
createReply: async (name, replyRequest, options = {}) => {
|
|
96
|
+
assertParamExists("createReply", "name", name);
|
|
97
|
+
assertParamExists("createReply", "replyRequest", replyRequest);
|
|
98
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
99
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
100
|
+
let baseOptions;
|
|
101
|
+
if (configuration) {
|
|
102
|
+
baseOptions = configuration.baseOptions;
|
|
103
|
+
}
|
|
104
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
105
|
+
const localVarHeaderParameter = {};
|
|
106
|
+
const localVarQueryParameter = {};
|
|
107
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
108
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
109
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
110
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
111
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
112
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
113
|
+
localVarRequestOptions.data = serializeDataIfNeeded(replyRequest, localVarRequestOptions, configuration);
|
|
114
|
+
return {
|
|
115
|
+
url: toPathString(localVarUrlObj),
|
|
116
|
+
options: localVarRequestOptions
|
|
117
|
+
};
|
|
118
|
+
},
|
|
119
|
+
listComments: async (sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
120
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments`;
|
|
121
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
122
|
+
let baseOptions;
|
|
123
|
+
if (configuration) {
|
|
124
|
+
baseOptions = configuration.baseOptions;
|
|
125
|
+
}
|
|
126
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
127
|
+
const localVarHeaderParameter = {};
|
|
128
|
+
const localVarQueryParameter = {};
|
|
129
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
130
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
131
|
+
if (sort !== void 0) {
|
|
132
|
+
localVarQueryParameter["sort"] = sort;
|
|
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
|
+
}
|
|
143
|
+
if (approved !== void 0) {
|
|
144
|
+
localVarQueryParameter["approved"] = approved;
|
|
145
|
+
}
|
|
146
|
+
if (allowNotification !== void 0) {
|
|
147
|
+
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
148
|
+
}
|
|
149
|
+
if (ownerKind !== void 0) {
|
|
150
|
+
localVarQueryParameter["ownerKind"] = ownerKind;
|
|
151
|
+
}
|
|
152
|
+
if (ownerName !== void 0) {
|
|
153
|
+
localVarQueryParameter["ownerName"] = ownerName;
|
|
154
|
+
}
|
|
155
|
+
if (subjectKind !== void 0) {
|
|
156
|
+
localVarQueryParameter["subjectKind"] = subjectKind;
|
|
157
|
+
}
|
|
158
|
+
if (subjectName !== void 0) {
|
|
159
|
+
localVarQueryParameter["subjectName"] = subjectName;
|
|
160
|
+
}
|
|
161
|
+
if (sortOrder !== void 0) {
|
|
162
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
163
|
+
}
|
|
164
|
+
if (size !== void 0) {
|
|
165
|
+
localVarQueryParameter["size"] = size;
|
|
166
|
+
}
|
|
167
|
+
if (page !== void 0) {
|
|
168
|
+
localVarQueryParameter["page"] = page;
|
|
169
|
+
}
|
|
170
|
+
if (labelSelector) {
|
|
171
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
172
|
+
}
|
|
173
|
+
if (fieldSelector) {
|
|
174
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
175
|
+
}
|
|
176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
179
|
+
return {
|
|
180
|
+
url: toPathString(localVarUrlObj),
|
|
181
|
+
options: localVarRequestOptions
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
187
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator(configuration);
|
|
188
|
+
return {
|
|
189
|
+
async createComment(commentRequest, options) {
|
|
190
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createComment(commentRequest, options);
|
|
191
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
192
|
+
},
|
|
193
|
+
async createReply(name, replyRequest, options) {
|
|
194
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
195
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
196
|
+
},
|
|
197
|
+
async listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options) {
|
|
198
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options);
|
|
199
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
const ApiHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
204
|
+
const localVarFp = ApiHaloRunV1alpha1CommentApiFp(configuration);
|
|
205
|
+
return {
|
|
206
|
+
createComment(commentRequest, options) {
|
|
207
|
+
return localVarFp.createComment(commentRequest, options).then((request) => request(axios, basePath));
|
|
208
|
+
},
|
|
209
|
+
createReply(name, replyRequest, options) {
|
|
210
|
+
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
211
|
+
},
|
|
212
|
+
listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options) {
|
|
213
|
+
return localVarFp.listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
218
|
+
createComment(requestParameters, options) {
|
|
219
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).createComment(requestParameters.commentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
220
|
+
}
|
|
221
|
+
createReply(requestParameters, options) {
|
|
222
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
223
|
+
}
|
|
224
|
+
listComments(requestParameters = {}, options) {
|
|
225
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.keyword, requestParameters.hidden, requestParameters.top, requestParameters.approved, requestParameters.allowNotification, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.sortOrder, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
70
229
|
const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
|
|
71
230
|
return {
|
|
72
231
|
draftSnapshotContent: async (contentRequest, options = {}) => {
|
|
@@ -295,7 +454,7 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
295
454
|
options: localVarRequestOptions
|
|
296
455
|
};
|
|
297
456
|
},
|
|
298
|
-
listPosts: async (
|
|
457
|
+
listPosts: async (tags, categories, contributors, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
299
458
|
const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
|
|
300
459
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
301
460
|
let baseOptions;
|
|
@@ -307,27 +466,27 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
307
466
|
const localVarQueryParameter = {};
|
|
308
467
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
309
468
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
310
|
-
if (
|
|
311
|
-
localVarQueryParameter["
|
|
469
|
+
if (tags) {
|
|
470
|
+
localVarQueryParameter["tags"] = Array.from(tags);
|
|
312
471
|
}
|
|
313
472
|
if (categories) {
|
|
314
473
|
localVarQueryParameter["categories"] = Array.from(categories);
|
|
315
474
|
}
|
|
316
|
-
if (
|
|
317
|
-
localVarQueryParameter["
|
|
475
|
+
if (contributors) {
|
|
476
|
+
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
318
477
|
}
|
|
319
478
|
if (size !== void 0) {
|
|
320
479
|
localVarQueryParameter["size"] = size;
|
|
321
480
|
}
|
|
481
|
+
if (page !== void 0) {
|
|
482
|
+
localVarQueryParameter["page"] = page;
|
|
483
|
+
}
|
|
322
484
|
if (labelSelector) {
|
|
323
485
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
324
486
|
}
|
|
325
487
|
if (fieldSelector) {
|
|
326
488
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
327
489
|
}
|
|
328
|
-
if (page !== void 0) {
|
|
329
|
-
localVarQueryParameter["page"] = page;
|
|
330
|
-
}
|
|
331
490
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
332
491
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
333
492
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -390,8 +549,8 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
390
549
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
391
550
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
392
551
|
},
|
|
393
|
-
async listPosts(
|
|
394
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(
|
|
552
|
+
async listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options) {
|
|
553
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options);
|
|
395
554
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
396
555
|
},
|
|
397
556
|
async publishPost(name, options) {
|
|
@@ -410,8 +569,8 @@ const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios
|
|
|
410
569
|
draftPost(postRequest, options) {
|
|
411
570
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
412
571
|
},
|
|
413
|
-
listPosts(
|
|
414
|
-
return localVarFp.listPosts(
|
|
572
|
+
listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options) {
|
|
573
|
+
return localVarFp.listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
415
574
|
},
|
|
416
575
|
publishPost(name, options) {
|
|
417
576
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
@@ -426,7 +585,7 @@ class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
426
585
|
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
427
586
|
}
|
|
428
587
|
listPosts(requestParameters = {}, options) {
|
|
429
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.
|
|
588
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.tags, requestParameters.categories, requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
430
589
|
}
|
|
431
590
|
publishPost(requestParameters, options) {
|
|
432
591
|
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -461,7 +620,7 @@ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration)
|
|
|
461
620
|
options: localVarRequestOptions
|
|
462
621
|
};
|
|
463
622
|
},
|
|
464
|
-
listSinglePages: async (contributors, size, labelSelector, fieldSelector,
|
|
623
|
+
listSinglePages: async (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
465
624
|
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
466
625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
467
626
|
let baseOptions;
|
|
@@ -479,15 +638,15 @@ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration)
|
|
|
479
638
|
if (size !== void 0) {
|
|
480
639
|
localVarQueryParameter["size"] = size;
|
|
481
640
|
}
|
|
641
|
+
if (page !== void 0) {
|
|
642
|
+
localVarQueryParameter["page"] = page;
|
|
643
|
+
}
|
|
482
644
|
if (labelSelector) {
|
|
483
645
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
484
646
|
}
|
|
485
647
|
if (fieldSelector) {
|
|
486
648
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
487
649
|
}
|
|
488
|
-
if (page !== void 0) {
|
|
489
|
-
localVarQueryParameter["page"] = page;
|
|
490
|
-
}
|
|
491
650
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
492
651
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
493
652
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -550,8 +709,8 @@ const ApiHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
550
709
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
551
710
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
552
711
|
},
|
|
553
|
-
async listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
554
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
712
|
+
async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
|
|
713
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
|
|
555
714
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
556
715
|
},
|
|
557
716
|
async publishSinglePage(name, options) {
|
|
@@ -570,8 +729,8 @@ const ApiHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath,
|
|
|
570
729
|
draftSinglePage(singlePageRequest, options) {
|
|
571
730
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
572
731
|
},
|
|
573
|
-
listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
574
|
-
return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
732
|
+
listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
|
|
733
|
+
return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
575
734
|
},
|
|
576
735
|
publishSinglePage(name, options) {
|
|
577
736
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -586,7 +745,7 @@ class ApiHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
586
745
|
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
587
746
|
}
|
|
588
747
|
listSinglePages(requestParameters = {}, options) {
|
|
589
|
-
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.
|
|
748
|
+
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
590
749
|
}
|
|
591
750
|
publishSinglePage(requestParameters, options) {
|
|
592
751
|
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2568,7 +2727,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
2568
2727
|
options: localVarRequestOptions
|
|
2569
2728
|
};
|
|
2570
2729
|
},
|
|
2571
|
-
searchAttachments: async (policy, displayName,
|
|
2730
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
2572
2731
|
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
|
|
2573
2732
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2574
2733
|
let baseOptions;
|
|
@@ -2586,24 +2745,24 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
2586
2745
|
if (displayName !== void 0) {
|
|
2587
2746
|
localVarQueryParameter["displayName"] = displayName;
|
|
2588
2747
|
}
|
|
2589
|
-
if (uploadedBy !== void 0) {
|
|
2590
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2591
|
-
}
|
|
2592
2748
|
if (group !== void 0) {
|
|
2593
2749
|
localVarQueryParameter["group"] = group;
|
|
2594
2750
|
}
|
|
2751
|
+
if (uploadedBy !== void 0) {
|
|
2752
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2753
|
+
}
|
|
2595
2754
|
if (size !== void 0) {
|
|
2596
2755
|
localVarQueryParameter["size"] = size;
|
|
2597
2756
|
}
|
|
2757
|
+
if (page !== void 0) {
|
|
2758
|
+
localVarQueryParameter["page"] = page;
|
|
2759
|
+
}
|
|
2598
2760
|
if (labelSelector) {
|
|
2599
2761
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2600
2762
|
}
|
|
2601
2763
|
if (fieldSelector) {
|
|
2602
2764
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2603
2765
|
}
|
|
2604
|
-
if (page !== void 0) {
|
|
2605
|
-
localVarQueryParameter["page"] = page;
|
|
2606
|
-
}
|
|
2607
2766
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2608
2767
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2609
2768
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2690,8 +2849,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
2690
2849
|
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
2691
2850
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2692
2851
|
},
|
|
2693
|
-
async searchAttachments(policy, displayName,
|
|
2694
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName,
|
|
2852
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2853
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
2695
2854
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2696
2855
|
},
|
|
2697
2856
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
@@ -2719,8 +2878,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
|
|
|
2719
2878
|
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2720
2879
|
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2721
2880
|
},
|
|
2722
|
-
searchAttachments(policy, displayName,
|
|
2723
|
-
return localVarFp.searchAttachments(policy, displayName,
|
|
2881
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2882
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2724
2883
|
},
|
|
2725
2884
|
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2726
2885
|
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
@@ -2744,7 +2903,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
2744
2903
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2745
2904
|
}
|
|
2746
2905
|
searchAttachments(requestParameters = {}, options) {
|
|
2747
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.
|
|
2906
|
+
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));
|
|
2748
2907
|
}
|
|
2749
2908
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2750
2909
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5029,4 +5188,4 @@ const SinglePageSpecVisibleEnum = {
|
|
|
5029
5188
|
Private: "PRIVATE"
|
|
5030
5189
|
};
|
|
5031
5190
|
|
|
5032
|
-
export { ApiHaloRunV1alpha1ContentApi, ApiHaloRunV1alpha1ContentApiAxiosParamCreator, ApiHaloRunV1alpha1ContentApiFactory, ApiHaloRunV1alpha1ContentApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1SinglePageApi, ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiHaloRunV1alpha1SinglePageApiFactory, ApiHaloRunV1alpha1SinglePageApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|
|
5191
|
+
export { ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp, ApiHaloRunV1alpha1ContentApi, ApiHaloRunV1alpha1ContentApiAxiosParamCreator, ApiHaloRunV1alpha1ContentApiFactory, ApiHaloRunV1alpha1ContentApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1SinglePageApi, ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiHaloRunV1alpha1SinglePageApiFactory, ApiHaloRunV1alpha1SinglePageApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|