@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.cjs
CHANGED
|
@@ -75,6 +75,165 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
+
const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
79
|
+
return {
|
|
80
|
+
createComment: async (commentRequest, options = {}) => {
|
|
81
|
+
assertParamExists("createComment", "commentRequest", commentRequest);
|
|
82
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments`;
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
92
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
93
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
94
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
97
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commentRequest, localVarRequestOptions, configuration);
|
|
98
|
+
return {
|
|
99
|
+
url: toPathString(localVarUrlObj),
|
|
100
|
+
options: localVarRequestOptions
|
|
101
|
+
};
|
|
102
|
+
},
|
|
103
|
+
createReply: async (name, replyRequest, options = {}) => {
|
|
104
|
+
assertParamExists("createReply", "name", name);
|
|
105
|
+
assertParamExists("createReply", "replyRequest", replyRequest);
|
|
106
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
107
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108
|
+
let baseOptions;
|
|
109
|
+
if (configuration) {
|
|
110
|
+
baseOptions = configuration.baseOptions;
|
|
111
|
+
}
|
|
112
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
113
|
+
const localVarHeaderParameter = {};
|
|
114
|
+
const localVarQueryParameter = {};
|
|
115
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
116
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
117
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
118
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
119
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
121
|
+
localVarRequestOptions.data = serializeDataIfNeeded(replyRequest, localVarRequestOptions, configuration);
|
|
122
|
+
return {
|
|
123
|
+
url: toPathString(localVarUrlObj),
|
|
124
|
+
options: localVarRequestOptions
|
|
125
|
+
};
|
|
126
|
+
},
|
|
127
|
+
listComments: async (sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
128
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments`;
|
|
129
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
130
|
+
let baseOptions;
|
|
131
|
+
if (configuration) {
|
|
132
|
+
baseOptions = configuration.baseOptions;
|
|
133
|
+
}
|
|
134
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
135
|
+
const localVarHeaderParameter = {};
|
|
136
|
+
const localVarQueryParameter = {};
|
|
137
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
138
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
139
|
+
if (sort !== void 0) {
|
|
140
|
+
localVarQueryParameter["sort"] = sort;
|
|
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
|
+
}
|
|
151
|
+
if (approved !== void 0) {
|
|
152
|
+
localVarQueryParameter["approved"] = approved;
|
|
153
|
+
}
|
|
154
|
+
if (allowNotification !== void 0) {
|
|
155
|
+
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
156
|
+
}
|
|
157
|
+
if (ownerKind !== void 0) {
|
|
158
|
+
localVarQueryParameter["ownerKind"] = ownerKind;
|
|
159
|
+
}
|
|
160
|
+
if (ownerName !== void 0) {
|
|
161
|
+
localVarQueryParameter["ownerName"] = ownerName;
|
|
162
|
+
}
|
|
163
|
+
if (subjectKind !== void 0) {
|
|
164
|
+
localVarQueryParameter["subjectKind"] = subjectKind;
|
|
165
|
+
}
|
|
166
|
+
if (subjectName !== void 0) {
|
|
167
|
+
localVarQueryParameter["subjectName"] = subjectName;
|
|
168
|
+
}
|
|
169
|
+
if (sortOrder !== void 0) {
|
|
170
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
171
|
+
}
|
|
172
|
+
if (size !== void 0) {
|
|
173
|
+
localVarQueryParameter["size"] = size;
|
|
174
|
+
}
|
|
175
|
+
if (page !== void 0) {
|
|
176
|
+
localVarQueryParameter["page"] = page;
|
|
177
|
+
}
|
|
178
|
+
if (labelSelector) {
|
|
179
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
180
|
+
}
|
|
181
|
+
if (fieldSelector) {
|
|
182
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
183
|
+
}
|
|
184
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
186
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
187
|
+
return {
|
|
188
|
+
url: toPathString(localVarUrlObj),
|
|
189
|
+
options: localVarRequestOptions
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
195
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator(configuration);
|
|
196
|
+
return {
|
|
197
|
+
async createComment(commentRequest, options) {
|
|
198
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createComment(commentRequest, options);
|
|
199
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
200
|
+
},
|
|
201
|
+
async createReply(name, replyRequest, options) {
|
|
202
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
203
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
204
|
+
},
|
|
205
|
+
async listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options) {
|
|
206
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options);
|
|
207
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
const ApiHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
212
|
+
const localVarFp = ApiHaloRunV1alpha1CommentApiFp(configuration);
|
|
213
|
+
return {
|
|
214
|
+
createComment(commentRequest, options) {
|
|
215
|
+
return localVarFp.createComment(commentRequest, options).then((request) => request(axios, basePath));
|
|
216
|
+
},
|
|
217
|
+
createReply(name, replyRequest, options) {
|
|
218
|
+
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
219
|
+
},
|
|
220
|
+
listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options) {
|
|
221
|
+
return localVarFp.listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
226
|
+
createComment(requestParameters, options) {
|
|
227
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).createComment(requestParameters.commentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
228
|
+
}
|
|
229
|
+
createReply(requestParameters, options) {
|
|
230
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
231
|
+
}
|
|
232
|
+
listComments(requestParameters = {}, options) {
|
|
233
|
+
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));
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
78
237
|
const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
|
|
79
238
|
return {
|
|
80
239
|
draftSnapshotContent: async (contentRequest, options = {}) => {
|
|
@@ -303,7 +462,7 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
303
462
|
options: localVarRequestOptions
|
|
304
463
|
};
|
|
305
464
|
},
|
|
306
|
-
listPosts: async (
|
|
465
|
+
listPosts: async (tags, categories, contributors, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
307
466
|
const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
|
|
308
467
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
309
468
|
let baseOptions;
|
|
@@ -315,27 +474,27 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
315
474
|
const localVarQueryParameter = {};
|
|
316
475
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
317
476
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
318
|
-
if (
|
|
319
|
-
localVarQueryParameter["
|
|
477
|
+
if (tags) {
|
|
478
|
+
localVarQueryParameter["tags"] = Array.from(tags);
|
|
320
479
|
}
|
|
321
480
|
if (categories) {
|
|
322
481
|
localVarQueryParameter["categories"] = Array.from(categories);
|
|
323
482
|
}
|
|
324
|
-
if (
|
|
325
|
-
localVarQueryParameter["
|
|
483
|
+
if (contributors) {
|
|
484
|
+
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
326
485
|
}
|
|
327
486
|
if (size !== void 0) {
|
|
328
487
|
localVarQueryParameter["size"] = size;
|
|
329
488
|
}
|
|
489
|
+
if (page !== void 0) {
|
|
490
|
+
localVarQueryParameter["page"] = page;
|
|
491
|
+
}
|
|
330
492
|
if (labelSelector) {
|
|
331
493
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
332
494
|
}
|
|
333
495
|
if (fieldSelector) {
|
|
334
496
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
335
497
|
}
|
|
336
|
-
if (page !== void 0) {
|
|
337
|
-
localVarQueryParameter["page"] = page;
|
|
338
|
-
}
|
|
339
498
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
340
499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
341
500
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -398,8 +557,8 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
398
557
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
399
558
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
400
559
|
},
|
|
401
|
-
async listPosts(
|
|
402
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(
|
|
560
|
+
async listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options) {
|
|
561
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options);
|
|
403
562
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
404
563
|
},
|
|
405
564
|
async publishPost(name, options) {
|
|
@@ -418,8 +577,8 @@ const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios
|
|
|
418
577
|
draftPost(postRequest, options) {
|
|
419
578
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
420
579
|
},
|
|
421
|
-
listPosts(
|
|
422
|
-
return localVarFp.listPosts(
|
|
580
|
+
listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options) {
|
|
581
|
+
return localVarFp.listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
423
582
|
},
|
|
424
583
|
publishPost(name, options) {
|
|
425
584
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
@@ -434,7 +593,7 @@ class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
434
593
|
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
435
594
|
}
|
|
436
595
|
listPosts(requestParameters = {}, options) {
|
|
437
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.
|
|
596
|
+
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));
|
|
438
597
|
}
|
|
439
598
|
publishPost(requestParameters, options) {
|
|
440
599
|
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -469,7 +628,7 @@ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration)
|
|
|
469
628
|
options: localVarRequestOptions
|
|
470
629
|
};
|
|
471
630
|
},
|
|
472
|
-
listSinglePages: async (contributors, size, labelSelector, fieldSelector,
|
|
631
|
+
listSinglePages: async (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
473
632
|
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
474
633
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
475
634
|
let baseOptions;
|
|
@@ -487,15 +646,15 @@ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration)
|
|
|
487
646
|
if (size !== void 0) {
|
|
488
647
|
localVarQueryParameter["size"] = size;
|
|
489
648
|
}
|
|
649
|
+
if (page !== void 0) {
|
|
650
|
+
localVarQueryParameter["page"] = page;
|
|
651
|
+
}
|
|
490
652
|
if (labelSelector) {
|
|
491
653
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
492
654
|
}
|
|
493
655
|
if (fieldSelector) {
|
|
494
656
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
495
657
|
}
|
|
496
|
-
if (page !== void 0) {
|
|
497
|
-
localVarQueryParameter["page"] = page;
|
|
498
|
-
}
|
|
499
658
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
500
659
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
501
660
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -558,8 +717,8 @@ const ApiHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
558
717
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
559
718
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
560
719
|
},
|
|
561
|
-
async listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
562
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
720
|
+
async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
|
|
721
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
|
|
563
722
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
564
723
|
},
|
|
565
724
|
async publishSinglePage(name, options) {
|
|
@@ -578,8 +737,8 @@ const ApiHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath,
|
|
|
578
737
|
draftSinglePage(singlePageRequest, options) {
|
|
579
738
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
580
739
|
},
|
|
581
|
-
listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
582
|
-
return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector,
|
|
740
|
+
listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
|
|
741
|
+
return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
583
742
|
},
|
|
584
743
|
publishSinglePage(name, options) {
|
|
585
744
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -594,7 +753,7 @@ class ApiHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
594
753
|
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
595
754
|
}
|
|
596
755
|
listSinglePages(requestParameters = {}, options) {
|
|
597
|
-
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.
|
|
756
|
+
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
598
757
|
}
|
|
599
758
|
publishSinglePage(requestParameters, options) {
|
|
600
759
|
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2576,7 +2735,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
2576
2735
|
options: localVarRequestOptions
|
|
2577
2736
|
};
|
|
2578
2737
|
},
|
|
2579
|
-
searchAttachments: async (policy, displayName,
|
|
2738
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
2580
2739
|
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
|
|
2581
2740
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2582
2741
|
let baseOptions;
|
|
@@ -2594,24 +2753,24 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
2594
2753
|
if (displayName !== void 0) {
|
|
2595
2754
|
localVarQueryParameter["displayName"] = displayName;
|
|
2596
2755
|
}
|
|
2597
|
-
if (uploadedBy !== void 0) {
|
|
2598
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2599
|
-
}
|
|
2600
2756
|
if (group !== void 0) {
|
|
2601
2757
|
localVarQueryParameter["group"] = group;
|
|
2602
2758
|
}
|
|
2759
|
+
if (uploadedBy !== void 0) {
|
|
2760
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2761
|
+
}
|
|
2603
2762
|
if (size !== void 0) {
|
|
2604
2763
|
localVarQueryParameter["size"] = size;
|
|
2605
2764
|
}
|
|
2765
|
+
if (page !== void 0) {
|
|
2766
|
+
localVarQueryParameter["page"] = page;
|
|
2767
|
+
}
|
|
2606
2768
|
if (labelSelector) {
|
|
2607
2769
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2608
2770
|
}
|
|
2609
2771
|
if (fieldSelector) {
|
|
2610
2772
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2611
2773
|
}
|
|
2612
|
-
if (page !== void 0) {
|
|
2613
|
-
localVarQueryParameter["page"] = page;
|
|
2614
|
-
}
|
|
2615
2774
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2616
2775
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2617
2776
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2698,8 +2857,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
2698
2857
|
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
2699
2858
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2700
2859
|
},
|
|
2701
|
-
async searchAttachments(policy, displayName,
|
|
2702
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName,
|
|
2860
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2861
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
2703
2862
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2704
2863
|
},
|
|
2705
2864
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
@@ -2727,8 +2886,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
|
|
|
2727
2886
|
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2728
2887
|
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2729
2888
|
},
|
|
2730
|
-
searchAttachments(policy, displayName,
|
|
2731
|
-
return localVarFp.searchAttachments(policy, displayName,
|
|
2889
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2890
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2732
2891
|
},
|
|
2733
2892
|
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2734
2893
|
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
@@ -2752,7 +2911,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
2752
2911
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2753
2912
|
}
|
|
2754
2913
|
searchAttachments(requestParameters = {}, options) {
|
|
2755
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.
|
|
2914
|
+
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));
|
|
2756
2915
|
}
|
|
2757
2916
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2758
2917
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5037,6 +5196,10 @@ const SinglePageSpecVisibleEnum = {
|
|
|
5037
5196
|
Private: "PRIVATE"
|
|
5038
5197
|
};
|
|
5039
5198
|
|
|
5199
|
+
exports.ApiHaloRunV1alpha1CommentApi = ApiHaloRunV1alpha1CommentApi;
|
|
5200
|
+
exports.ApiHaloRunV1alpha1CommentApiAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator;
|
|
5201
|
+
exports.ApiHaloRunV1alpha1CommentApiFactory = ApiHaloRunV1alpha1CommentApiFactory;
|
|
5202
|
+
exports.ApiHaloRunV1alpha1CommentApiFp = ApiHaloRunV1alpha1CommentApiFp;
|
|
5040
5203
|
exports.ApiHaloRunV1alpha1ContentApi = ApiHaloRunV1alpha1ContentApi;
|
|
5041
5204
|
exports.ApiHaloRunV1alpha1ContentApiAxiosParamCreator = ApiHaloRunV1alpha1ContentApiAxiosParamCreator;
|
|
5042
5205
|
exports.ApiHaloRunV1alpha1ContentApiFactory = ApiHaloRunV1alpha1ContentApiFactory;
|