@halo-dev/api-client 0.0.35 → 0.0.36
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 +338 -585
- package/dist/index.d.ts +675 -1163
- package/dist/index.mjs +335 -578
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -67,6 +67,121 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
+
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
71
|
+
return {
|
|
72
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
73
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
74
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
|
+
let baseOptions;
|
|
76
|
+
if (configuration) {
|
|
77
|
+
baseOptions = configuration.baseOptions;
|
|
78
|
+
}
|
|
79
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
80
|
+
const localVarHeaderParameter = {};
|
|
81
|
+
const localVarQueryParameter = {};
|
|
82
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
83
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
84
|
+
if (policy !== void 0) {
|
|
85
|
+
localVarQueryParameter["policy"] = policy;
|
|
86
|
+
}
|
|
87
|
+
if (displayName !== void 0) {
|
|
88
|
+
localVarQueryParameter["displayName"] = displayName;
|
|
89
|
+
}
|
|
90
|
+
if (group !== void 0) {
|
|
91
|
+
localVarQueryParameter["group"] = group;
|
|
92
|
+
}
|
|
93
|
+
if (uploadedBy !== void 0) {
|
|
94
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
95
|
+
}
|
|
96
|
+
if (size !== void 0) {
|
|
97
|
+
localVarQueryParameter["size"] = size;
|
|
98
|
+
}
|
|
99
|
+
if (page !== void 0) {
|
|
100
|
+
localVarQueryParameter["page"] = page;
|
|
101
|
+
}
|
|
102
|
+
if (labelSelector) {
|
|
103
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
104
|
+
}
|
|
105
|
+
if (fieldSelector) {
|
|
106
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
107
|
+
}
|
|
108
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
109
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
110
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
111
|
+
return {
|
|
112
|
+
url: toPathString(localVarUrlObj),
|
|
113
|
+
options: localVarRequestOptions
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
uploadAttachment: async (file, policyName, groupName, options = {}) => {
|
|
117
|
+
assertParamExists("uploadAttachment", "file", file);
|
|
118
|
+
assertParamExists("uploadAttachment", "policyName", policyName);
|
|
119
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments/upload`;
|
|
120
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
121
|
+
let baseOptions;
|
|
122
|
+
if (configuration) {
|
|
123
|
+
baseOptions = configuration.baseOptions;
|
|
124
|
+
}
|
|
125
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
126
|
+
const localVarHeaderParameter = {};
|
|
127
|
+
const localVarQueryParameter = {};
|
|
128
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
129
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
130
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
131
|
+
if (file !== void 0) {
|
|
132
|
+
localVarFormParams.append("file", file);
|
|
133
|
+
}
|
|
134
|
+
if (policyName !== void 0) {
|
|
135
|
+
localVarFormParams.append("policyName", policyName);
|
|
136
|
+
}
|
|
137
|
+
if (groupName !== void 0) {
|
|
138
|
+
localVarFormParams.append("groupName", groupName);
|
|
139
|
+
}
|
|
140
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
141
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
142
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
143
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
144
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
145
|
+
return {
|
|
146
|
+
url: toPathString(localVarUrlObj),
|
|
147
|
+
options: localVarRequestOptions
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
153
|
+
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
154
|
+
return {
|
|
155
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
156
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
157
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
158
|
+
},
|
|
159
|
+
async uploadAttachment(file, policyName, groupName, options) {
|
|
160
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
|
|
161
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
166
|
+
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
167
|
+
return {
|
|
168
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
169
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
170
|
+
},
|
|
171
|
+
uploadAttachment(file, policyName, groupName, options) {
|
|
172
|
+
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
177
|
+
searchAttachments(requestParameters = {}, options) {
|
|
178
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(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));
|
|
179
|
+
}
|
|
180
|
+
uploadAttachment(requestParameters, options) {
|
|
181
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
70
185
|
const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
71
186
|
return {
|
|
72
187
|
createComment: async (commentRequest, options = {}) => {
|
|
@@ -116,7 +231,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
116
231
|
options: localVarRequestOptions
|
|
117
232
|
};
|
|
118
233
|
},
|
|
119
|
-
listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
234
|
+
listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
120
235
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
121
236
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
122
237
|
let baseOptions;
|
|
@@ -131,6 +246,15 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
131
246
|
if (sort !== void 0) {
|
|
132
247
|
localVarQueryParameter["sort"] = sort;
|
|
133
248
|
}
|
|
249
|
+
if (keyword !== void 0) {
|
|
250
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
251
|
+
}
|
|
252
|
+
if (hidden !== void 0) {
|
|
253
|
+
localVarQueryParameter["hidden"] = hidden;
|
|
254
|
+
}
|
|
255
|
+
if (top !== void 0) {
|
|
256
|
+
localVarQueryParameter["top"] = top;
|
|
257
|
+
}
|
|
134
258
|
if (sortOrder !== void 0) {
|
|
135
259
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
136
260
|
}
|
|
@@ -152,27 +276,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
152
276
|
if (subjectName !== void 0) {
|
|
153
277
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
154
278
|
}
|
|
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
279
|
if (size !== void 0) {
|
|
165
280
|
localVarQueryParameter["size"] = size;
|
|
166
281
|
}
|
|
282
|
+
if (page !== void 0) {
|
|
283
|
+
localVarQueryParameter["page"] = page;
|
|
284
|
+
}
|
|
167
285
|
if (labelSelector) {
|
|
168
286
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
169
287
|
}
|
|
170
288
|
if (fieldSelector) {
|
|
171
289
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
172
290
|
}
|
|
173
|
-
if (page !== void 0) {
|
|
174
|
-
localVarQueryParameter["page"] = page;
|
|
175
|
-
}
|
|
176
291
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
177
292
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
293
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -194,8 +309,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
194
309
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
195
310
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
196
311
|
},
|
|
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,
|
|
312
|
+
async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
313
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
|
|
199
314
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
200
315
|
}
|
|
201
316
|
};
|
|
@@ -209,8 +324,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
209
324
|
createReply(name, replyRequest, options) {
|
|
210
325
|
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
211
326
|
},
|
|
212
|
-
listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
213
|
-
return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
327
|
+
listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
328
|
+
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
329
|
}
|
|
215
330
|
};
|
|
216
331
|
};
|
|
@@ -222,7 +337,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
222
337
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
223
338
|
}
|
|
224
339
|
listComments(requestParameters = {}, options) {
|
|
225
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.
|
|
340
|
+
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
341
|
}
|
|
227
342
|
}
|
|
228
343
|
|
|
@@ -404,7 +519,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
404
519
|
options: localVarRequestOptions
|
|
405
520
|
};
|
|
406
521
|
},
|
|
407
|
-
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector,
|
|
522
|
+
listPlugins: async (sort, keyword, enabled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
408
523
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
409
524
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
410
525
|
let baseOptions;
|
|
@@ -428,15 +543,15 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
428
543
|
if (size !== void 0) {
|
|
429
544
|
localVarQueryParameter["size"] = size;
|
|
430
545
|
}
|
|
546
|
+
if (page !== void 0) {
|
|
547
|
+
localVarQueryParameter["page"] = page;
|
|
548
|
+
}
|
|
431
549
|
if (labelSelector) {
|
|
432
550
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
433
551
|
}
|
|
434
552
|
if (fieldSelector) {
|
|
435
553
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
436
554
|
}
|
|
437
|
-
if (page !== void 0) {
|
|
438
|
-
localVarQueryParameter["page"] = page;
|
|
439
|
-
}
|
|
440
555
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
441
556
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
442
557
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -454,8 +569,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
454
569
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
455
570
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
456
571
|
},
|
|
457
|
-
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector,
|
|
458
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector,
|
|
572
|
+
async listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
573
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options);
|
|
459
574
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
460
575
|
}
|
|
461
576
|
};
|
|
@@ -466,8 +581,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
466
581
|
installPlugin(file, options) {
|
|
467
582
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
468
583
|
},
|
|
469
|
-
listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector,
|
|
470
|
-
return localVarFp.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector,
|
|
584
|
+
listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
585
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
471
586
|
}
|
|
472
587
|
};
|
|
473
588
|
};
|
|
@@ -476,7 +591,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
476
591
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
477
592
|
}
|
|
478
593
|
listPlugins(requestParameters = {}, options) {
|
|
479
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.
|
|
594
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
480
595
|
}
|
|
481
596
|
}
|
|
482
597
|
|
|
@@ -505,7 +620,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
505
620
|
options: localVarRequestOptions
|
|
506
621
|
};
|
|
507
622
|
},
|
|
508
|
-
listPosts: async (sort,
|
|
623
|
+
listPosts: async (sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
509
624
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
510
625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
511
626
|
let baseOptions;
|
|
@@ -520,6 +635,15 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
520
635
|
if (sort !== void 0) {
|
|
521
636
|
localVarQueryParameter["sort"] = sort;
|
|
522
637
|
}
|
|
638
|
+
if (keyword !== void 0) {
|
|
639
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
640
|
+
}
|
|
641
|
+
if (visible !== void 0) {
|
|
642
|
+
localVarQueryParameter["visible"] = visible;
|
|
643
|
+
}
|
|
644
|
+
if (tag) {
|
|
645
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
646
|
+
}
|
|
523
647
|
if (sortOrder !== void 0) {
|
|
524
648
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
525
649
|
}
|
|
@@ -532,27 +656,18 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
532
656
|
if (contributor) {
|
|
533
657
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
534
658
|
}
|
|
535
|
-
if (keyword !== void 0) {
|
|
536
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
537
|
-
}
|
|
538
|
-
if (visible !== void 0) {
|
|
539
|
-
localVarQueryParameter["visible"] = visible;
|
|
540
|
-
}
|
|
541
|
-
if (tag) {
|
|
542
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
543
|
-
}
|
|
544
659
|
if (size !== void 0) {
|
|
545
660
|
localVarQueryParameter["size"] = size;
|
|
546
661
|
}
|
|
662
|
+
if (page !== void 0) {
|
|
663
|
+
localVarQueryParameter["page"] = page;
|
|
664
|
+
}
|
|
547
665
|
if (labelSelector) {
|
|
548
666
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
549
667
|
}
|
|
550
668
|
if (fieldSelector) {
|
|
551
669
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
552
670
|
}
|
|
553
|
-
if (page !== void 0) {
|
|
554
|
-
localVarQueryParameter["page"] = page;
|
|
555
|
-
}
|
|
556
671
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
557
672
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
558
673
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -615,8 +730,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
615
730
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
616
731
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
617
732
|
},
|
|
618
|
-
async listPosts(sort,
|
|
619
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
733
|
+
async listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
734
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
|
|
620
735
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
621
736
|
},
|
|
622
737
|
async publishPost(name, options) {
|
|
@@ -635,8 +750,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
635
750
|
draftPost(postRequest, options) {
|
|
636
751
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
637
752
|
},
|
|
638
|
-
listPosts(sort,
|
|
639
|
-
return localVarFp.listPosts(sort,
|
|
753
|
+
listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
754
|
+
return localVarFp.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
640
755
|
},
|
|
641
756
|
publishPost(name, options) {
|
|
642
757
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
@@ -651,7 +766,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
651
766
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
652
767
|
}
|
|
653
768
|
listPosts(requestParameters = {}, options) {
|
|
654
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
769
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
655
770
|
}
|
|
656
771
|
publishPost(requestParameters, options) {
|
|
657
772
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -663,7 +778,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
663
778
|
|
|
664
779
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
665
780
|
return {
|
|
666
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
781
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
667
782
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
668
783
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
669
784
|
let baseOptions;
|
|
@@ -681,15 +796,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
681
796
|
if (size !== void 0) {
|
|
682
797
|
localVarQueryParameter["size"] = size;
|
|
683
798
|
}
|
|
799
|
+
if (page !== void 0) {
|
|
800
|
+
localVarQueryParameter["page"] = page;
|
|
801
|
+
}
|
|
684
802
|
if (labelSelector) {
|
|
685
803
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
686
804
|
}
|
|
687
805
|
if (fieldSelector) {
|
|
688
806
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
689
807
|
}
|
|
690
|
-
if (page !== void 0) {
|
|
691
|
-
localVarQueryParameter["page"] = page;
|
|
692
|
-
}
|
|
693
808
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
694
809
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
695
810
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -703,8 +818,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
703
818
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
704
819
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
705
820
|
return {
|
|
706
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
707
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
821
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
822
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
|
|
708
823
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
709
824
|
}
|
|
710
825
|
};
|
|
@@ -712,14 +827,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
712
827
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
713
828
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
714
829
|
return {
|
|
715
|
-
listReplies(commentName, size, labelSelector, fieldSelector,
|
|
716
|
-
return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
830
|
+
listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
831
|
+
return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
717
832
|
}
|
|
718
833
|
};
|
|
719
834
|
};
|
|
720
835
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
721
836
|
listReplies(requestParameters = {}, options) {
|
|
722
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.
|
|
837
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
723
838
|
}
|
|
724
839
|
}
|
|
725
840
|
|
|
@@ -748,7 +863,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
748
863
|
options: localVarRequestOptions
|
|
749
864
|
};
|
|
750
865
|
},
|
|
751
|
-
listSinglePages: async (sort, sortOrder, publishPhase, contributor,
|
|
866
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
752
867
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
753
868
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
754
869
|
let baseOptions;
|
|
@@ -763,6 +878,12 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
763
878
|
if (sort !== void 0) {
|
|
764
879
|
localVarQueryParameter["sort"] = sort;
|
|
765
880
|
}
|
|
881
|
+
if (keyword !== void 0) {
|
|
882
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
883
|
+
}
|
|
884
|
+
if (visible !== void 0) {
|
|
885
|
+
localVarQueryParameter["visible"] = visible;
|
|
886
|
+
}
|
|
766
887
|
if (sortOrder !== void 0) {
|
|
767
888
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
768
889
|
}
|
|
@@ -772,24 +893,18 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
772
893
|
if (contributor) {
|
|
773
894
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
774
895
|
}
|
|
775
|
-
if (keyword !== void 0) {
|
|
776
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
777
|
-
}
|
|
778
|
-
if (visible !== void 0) {
|
|
779
|
-
localVarQueryParameter["visible"] = visible;
|
|
780
|
-
}
|
|
781
896
|
if (size !== void 0) {
|
|
782
897
|
localVarQueryParameter["size"] = size;
|
|
783
898
|
}
|
|
899
|
+
if (page !== void 0) {
|
|
900
|
+
localVarQueryParameter["page"] = page;
|
|
901
|
+
}
|
|
784
902
|
if (labelSelector) {
|
|
785
903
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
786
904
|
}
|
|
787
905
|
if (fieldSelector) {
|
|
788
906
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
789
907
|
}
|
|
790
|
-
if (page !== void 0) {
|
|
791
|
-
localVarQueryParameter["page"] = page;
|
|
792
|
-
}
|
|
793
908
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
794
909
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
795
910
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -852,8 +967,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
852
967
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
853
968
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
854
969
|
},
|
|
855
|
-
async listSinglePages(sort, sortOrder, publishPhase, contributor,
|
|
856
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, sortOrder, publishPhase, contributor,
|
|
970
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options);
|
|
857
972
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
858
973
|
},
|
|
859
974
|
async publishSinglePage(name, options) {
|
|
@@ -872,8 +987,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
872
987
|
draftSinglePage(singlePageRequest, options) {
|
|
873
988
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
874
989
|
},
|
|
875
|
-
listSinglePages(sort, sortOrder, publishPhase, contributor,
|
|
876
|
-
return localVarFp.listSinglePages(sort, sortOrder, publishPhase, contributor,
|
|
990
|
+
listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
991
|
+
return localVarFp.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
877
992
|
},
|
|
878
993
|
publishSinglePage(name, options) {
|
|
879
994
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -888,7 +1003,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
888
1003
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
889
1004
|
}
|
|
890
1005
|
listSinglePages(requestParameters = {}, options) {
|
|
891
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1006
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
892
1007
|
}
|
|
893
1008
|
publishSinglePage(requestParameters, options) {
|
|
894
1009
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -974,6 +1089,42 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
974
1089
|
options: localVarRequestOptions
|
|
975
1090
|
};
|
|
976
1091
|
},
|
|
1092
|
+
listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1093
|
+
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1094
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1095
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1096
|
+
let baseOptions;
|
|
1097
|
+
if (configuration) {
|
|
1098
|
+
baseOptions = configuration.baseOptions;
|
|
1099
|
+
}
|
|
1100
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1101
|
+
const localVarHeaderParameter = {};
|
|
1102
|
+
const localVarQueryParameter = {};
|
|
1103
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1104
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1105
|
+
if (uninstalled !== void 0) {
|
|
1106
|
+
localVarQueryParameter["uninstalled"] = uninstalled;
|
|
1107
|
+
}
|
|
1108
|
+
if (size !== void 0) {
|
|
1109
|
+
localVarQueryParameter["size"] = size;
|
|
1110
|
+
}
|
|
1111
|
+
if (page !== void 0) {
|
|
1112
|
+
localVarQueryParameter["page"] = page;
|
|
1113
|
+
}
|
|
1114
|
+
if (labelSelector) {
|
|
1115
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1116
|
+
}
|
|
1117
|
+
if (fieldSelector) {
|
|
1118
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1119
|
+
}
|
|
1120
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1122
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1123
|
+
return {
|
|
1124
|
+
url: toPathString(localVarUrlObj),
|
|
1125
|
+
options: localVarRequestOptions
|
|
1126
|
+
};
|
|
1127
|
+
},
|
|
977
1128
|
reloadThemeSetting: async (name, options = {}) => {
|
|
978
1129
|
assertParamExists("reloadThemeSetting", "name", name);
|
|
979
1130
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload-setting`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
@@ -1004,6 +1155,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1004
1155
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1005
1156
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1006
1157
|
},
|
|
1158
|
+
async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options);
|
|
1160
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1161
|
+
},
|
|
1007
1162
|
async reloadThemeSetting(name, options) {
|
|
1008
1163
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reloadThemeSetting(name, options);
|
|
1009
1164
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
@@ -1016,6 +1171,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1016
1171
|
installTheme(file, options) {
|
|
1017
1172
|
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
1018
1173
|
},
|
|
1174
|
+
listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1175
|
+
return localVarFp.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1176
|
+
},
|
|
1019
1177
|
reloadThemeSetting(name, options) {
|
|
1020
1178
|
return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
1021
1179
|
}
|
|
@@ -1025,6 +1183,9 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1025
1183
|
installTheme(requestParameters, options) {
|
|
1026
1184
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1027
1185
|
}
|
|
1186
|
+
listThemes(requestParameters, options) {
|
|
1187
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1188
|
+
}
|
|
1028
1189
|
reloadThemeSetting(requestParameters, options) {
|
|
1029
1190
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1030
1191
|
}
|
|
@@ -1403,36 +1564,10 @@ const ApiHaloRunV1alpha1TrackerApiAxiosParamCreator = function(configuration) {
|
|
|
1403
1564
|
url: toPathString(localVarUrlObj),
|
|
1404
1565
|
options: localVarRequestOptions
|
|
1405
1566
|
};
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
const
|
|
1410
|
-
const localVarAxiosParamCreator = ApiHaloRunV1alpha1TrackerApiAxiosParamCreator(configuration);
|
|
1411
|
-
return {
|
|
1412
|
-
async count(counterRequest, options) {
|
|
1413
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.count(counterRequest, options);
|
|
1414
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1415
|
-
}
|
|
1416
|
-
};
|
|
1417
|
-
};
|
|
1418
|
-
const ApiHaloRunV1alpha1TrackerApiFactory = function(configuration, basePath, axios) {
|
|
1419
|
-
const localVarFp = ApiHaloRunV1alpha1TrackerApiFp(configuration);
|
|
1420
|
-
return {
|
|
1421
|
-
count(counterRequest, options) {
|
|
1422
|
-
return localVarFp.count(counterRequest, options).then((request) => request(axios, basePath));
|
|
1423
|
-
}
|
|
1424
|
-
};
|
|
1425
|
-
};
|
|
1426
|
-
class ApiHaloRunV1alpha1TrackerApi extends BaseAPI {
|
|
1427
|
-
count(requestParameters, options) {
|
|
1428
|
-
return ApiHaloRunV1alpha1TrackerApiFp(this.configuration).count(requestParameters.counterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1429
|
-
}
|
|
1430
|
-
}
|
|
1431
|
-
|
|
1432
|
-
const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
|
|
1433
|
-
return {
|
|
1434
|
-
createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
|
|
1435
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories`;
|
|
1567
|
+
},
|
|
1568
|
+
downvote: async (voteRequest, options = {}) => {
|
|
1569
|
+
assertParamExists("downvote", "voteRequest", voteRequest);
|
|
1570
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/trackers/downvote`;
|
|
1436
1571
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1437
1572
|
let baseOptions;
|
|
1438
1573
|
if (configuration) {
|
|
@@ -1447,35 +1582,127 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
1447
1582
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1448
1583
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1449
1584
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1450
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1585
|
+
localVarRequestOptions.data = serializeDataIfNeeded(voteRequest, localVarRequestOptions, configuration);
|
|
1451
1586
|
return {
|
|
1452
1587
|
url: toPathString(localVarUrlObj),
|
|
1453
1588
|
options: localVarRequestOptions
|
|
1454
1589
|
};
|
|
1455
1590
|
},
|
|
1456
|
-
|
|
1457
|
-
assertParamExists("
|
|
1458
|
-
const localVarPath = `/apis/
|
|
1591
|
+
upvote: async (voteRequest, options = {}) => {
|
|
1592
|
+
assertParamExists("upvote", "voteRequest", voteRequest);
|
|
1593
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/trackers/upvote`;
|
|
1459
1594
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1460
1595
|
let baseOptions;
|
|
1461
1596
|
if (configuration) {
|
|
1462
1597
|
baseOptions = configuration.baseOptions;
|
|
1463
1598
|
}
|
|
1464
|
-
const localVarRequestOptions = { method: "
|
|
1599
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1465
1600
|
const localVarHeaderParameter = {};
|
|
1466
1601
|
const localVarQueryParameter = {};
|
|
1467
1602
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1468
1603
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1604
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1469
1605
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1470
1606
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1471
1607
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1608
|
+
localVarRequestOptions.data = serializeDataIfNeeded(voteRequest, localVarRequestOptions, configuration);
|
|
1472
1609
|
return {
|
|
1473
1610
|
url: toPathString(localVarUrlObj),
|
|
1474
1611
|
options: localVarRequestOptions
|
|
1475
1612
|
};
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
-
|
|
1613
|
+
}
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
const ApiHaloRunV1alpha1TrackerApiFp = function(configuration) {
|
|
1617
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1TrackerApiAxiosParamCreator(configuration);
|
|
1618
|
+
return {
|
|
1619
|
+
async count(counterRequest, options) {
|
|
1620
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.count(counterRequest, options);
|
|
1621
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1622
|
+
},
|
|
1623
|
+
async downvote(voteRequest, options) {
|
|
1624
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downvote(voteRequest, options);
|
|
1625
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1626
|
+
},
|
|
1627
|
+
async upvote(voteRequest, options) {
|
|
1628
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upvote(voteRequest, options);
|
|
1629
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1630
|
+
}
|
|
1631
|
+
};
|
|
1632
|
+
};
|
|
1633
|
+
const ApiHaloRunV1alpha1TrackerApiFactory = function(configuration, basePath, axios) {
|
|
1634
|
+
const localVarFp = ApiHaloRunV1alpha1TrackerApiFp(configuration);
|
|
1635
|
+
return {
|
|
1636
|
+
count(counterRequest, options) {
|
|
1637
|
+
return localVarFp.count(counterRequest, options).then((request) => request(axios, basePath));
|
|
1638
|
+
},
|
|
1639
|
+
downvote(voteRequest, options) {
|
|
1640
|
+
return localVarFp.downvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
1641
|
+
},
|
|
1642
|
+
upvote(voteRequest, options) {
|
|
1643
|
+
return localVarFp.upvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
1644
|
+
}
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
class ApiHaloRunV1alpha1TrackerApi extends BaseAPI {
|
|
1648
|
+
count(requestParameters, options) {
|
|
1649
|
+
return ApiHaloRunV1alpha1TrackerApiFp(this.configuration).count(requestParameters.counterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1650
|
+
}
|
|
1651
|
+
downvote(requestParameters, options) {
|
|
1652
|
+
return ApiHaloRunV1alpha1TrackerApiFp(this.configuration).downvote(requestParameters.voteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1653
|
+
}
|
|
1654
|
+
upvote(requestParameters, options) {
|
|
1655
|
+
return ApiHaloRunV1alpha1TrackerApiFp(this.configuration).upvote(requestParameters.voteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
|
|
1660
|
+
return {
|
|
1661
|
+
createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
|
|
1662
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories`;
|
|
1663
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1664
|
+
let baseOptions;
|
|
1665
|
+
if (configuration) {
|
|
1666
|
+
baseOptions = configuration.baseOptions;
|
|
1667
|
+
}
|
|
1668
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1669
|
+
const localVarHeaderParameter = {};
|
|
1670
|
+
const localVarQueryParameter = {};
|
|
1671
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1672
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1673
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1674
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1675
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1676
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1677
|
+
localVarRequestOptions.data = serializeDataIfNeeded(category, localVarRequestOptions, configuration);
|
|
1678
|
+
return {
|
|
1679
|
+
url: toPathString(localVarUrlObj),
|
|
1680
|
+
options: localVarRequestOptions
|
|
1681
|
+
};
|
|
1682
|
+
},
|
|
1683
|
+
deletecontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
1684
|
+
assertParamExists("deletecontentHaloRunV1alpha1Category", "name", name);
|
|
1685
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1686
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1687
|
+
let baseOptions;
|
|
1688
|
+
if (configuration) {
|
|
1689
|
+
baseOptions = configuration.baseOptions;
|
|
1690
|
+
}
|
|
1691
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1692
|
+
const localVarHeaderParameter = {};
|
|
1693
|
+
const localVarQueryParameter = {};
|
|
1694
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1695
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1696
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1697
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1698
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1699
|
+
return {
|
|
1700
|
+
url: toPathString(localVarUrlObj),
|
|
1701
|
+
options: localVarRequestOptions
|
|
1702
|
+
};
|
|
1703
|
+
},
|
|
1704
|
+
getcontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
1705
|
+
assertParamExists("getcontentHaloRunV1alpha1Category", "name", name);
|
|
1479
1706
|
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1480
1707
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1481
1708
|
let baseOptions;
|
|
@@ -2731,378 +2958,6 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
2731
2958
|
}
|
|
2732
2959
|
}
|
|
2733
2960
|
|
|
2734
|
-
const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
2735
|
-
return {
|
|
2736
|
-
createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
|
|
2737
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
2738
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2739
|
-
let baseOptions;
|
|
2740
|
-
if (configuration) {
|
|
2741
|
-
baseOptions = configuration.baseOptions;
|
|
2742
|
-
}
|
|
2743
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2744
|
-
const localVarHeaderParameter = {};
|
|
2745
|
-
const localVarQueryParameter = {};
|
|
2746
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2747
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2748
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2749
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2750
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2751
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2752
|
-
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
2753
|
-
return {
|
|
2754
|
-
url: toPathString(localVarUrlObj),
|
|
2755
|
-
options: localVarRequestOptions
|
|
2756
|
-
};
|
|
2757
|
-
},
|
|
2758
|
-
deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
2759
|
-
assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
|
|
2760
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2761
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2762
|
-
let baseOptions;
|
|
2763
|
-
if (configuration) {
|
|
2764
|
-
baseOptions = configuration.baseOptions;
|
|
2765
|
-
}
|
|
2766
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2767
|
-
const localVarHeaderParameter = {};
|
|
2768
|
-
const localVarQueryParameter = {};
|
|
2769
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2770
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2771
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2772
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2773
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2774
|
-
return {
|
|
2775
|
-
url: toPathString(localVarUrlObj),
|
|
2776
|
-
options: localVarRequestOptions
|
|
2777
|
-
};
|
|
2778
|
-
},
|
|
2779
|
-
getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
2780
|
-
assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
|
|
2781
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2782
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2783
|
-
let baseOptions;
|
|
2784
|
-
if (configuration) {
|
|
2785
|
-
baseOptions = configuration.baseOptions;
|
|
2786
|
-
}
|
|
2787
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2788
|
-
const localVarHeaderParameter = {};
|
|
2789
|
-
const localVarQueryParameter = {};
|
|
2790
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2791
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2792
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2793
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2794
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2795
|
-
return {
|
|
2796
|
-
url: toPathString(localVarUrlObj),
|
|
2797
|
-
options: localVarRequestOptions
|
|
2798
|
-
};
|
|
2799
|
-
},
|
|
2800
|
-
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2801
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
2802
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2803
|
-
let baseOptions;
|
|
2804
|
-
if (configuration) {
|
|
2805
|
-
baseOptions = configuration.baseOptions;
|
|
2806
|
-
}
|
|
2807
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2808
|
-
const localVarHeaderParameter = {};
|
|
2809
|
-
const localVarQueryParameter = {};
|
|
2810
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2811
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2812
|
-
if (page !== void 0) {
|
|
2813
|
-
localVarQueryParameter["page"] = page;
|
|
2814
|
-
}
|
|
2815
|
-
if (size !== void 0) {
|
|
2816
|
-
localVarQueryParameter["size"] = size;
|
|
2817
|
-
}
|
|
2818
|
-
if (labelSelector) {
|
|
2819
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2820
|
-
}
|
|
2821
|
-
if (fieldSelector) {
|
|
2822
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2823
|
-
}
|
|
2824
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2825
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2826
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2827
|
-
return {
|
|
2828
|
-
url: toPathString(localVarUrlObj),
|
|
2829
|
-
options: localVarRequestOptions
|
|
2830
|
-
};
|
|
2831
|
-
},
|
|
2832
|
-
updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
|
|
2833
|
-
assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
|
|
2834
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2835
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2836
|
-
let baseOptions;
|
|
2837
|
-
if (configuration) {
|
|
2838
|
-
baseOptions = configuration.baseOptions;
|
|
2839
|
-
}
|
|
2840
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2841
|
-
const localVarHeaderParameter = {};
|
|
2842
|
-
const localVarQueryParameter = {};
|
|
2843
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2844
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2845
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2846
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2847
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2848
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2849
|
-
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
2850
|
-
return {
|
|
2851
|
-
url: toPathString(localVarUrlObj),
|
|
2852
|
-
options: localVarRequestOptions
|
|
2853
|
-
};
|
|
2854
|
-
}
|
|
2855
|
-
};
|
|
2856
|
-
};
|
|
2857
|
-
const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
2858
|
-
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
|
|
2859
|
-
return {
|
|
2860
|
-
async createcoreHaloRunV1alpha1Link(link, options) {
|
|
2861
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
|
|
2862
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2863
|
-
},
|
|
2864
|
-
async deletecoreHaloRunV1alpha1Link(name, options) {
|
|
2865
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
|
|
2866
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2867
|
-
},
|
|
2868
|
-
async getcoreHaloRunV1alpha1Link(name, options) {
|
|
2869
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
2870
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2871
|
-
},
|
|
2872
|
-
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
2873
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
2874
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2875
|
-
},
|
|
2876
|
-
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
2877
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
|
|
2878
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2879
|
-
}
|
|
2880
|
-
};
|
|
2881
|
-
};
|
|
2882
|
-
const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
|
|
2883
|
-
const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
|
|
2884
|
-
return {
|
|
2885
|
-
createcoreHaloRunV1alpha1Link(link, options) {
|
|
2886
|
-
return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
|
|
2887
|
-
},
|
|
2888
|
-
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
2889
|
-
return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
2890
|
-
},
|
|
2891
|
-
getcoreHaloRunV1alpha1Link(name, options) {
|
|
2892
|
-
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
2893
|
-
},
|
|
2894
|
-
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
2895
|
-
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2896
|
-
},
|
|
2897
|
-
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
2898
|
-
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
2899
|
-
}
|
|
2900
|
-
};
|
|
2901
|
-
};
|
|
2902
|
-
class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
2903
|
-
createcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
|
|
2904
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(requestParameters.link, options).then((request) => request(this.axios, this.basePath));
|
|
2905
|
-
}
|
|
2906
|
-
deletecoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
2907
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2908
|
-
}
|
|
2909
|
-
getcoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
2910
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2911
|
-
}
|
|
2912
|
-
listcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
|
|
2913
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2914
|
-
}
|
|
2915
|
-
updatecoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
2916
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(requestParameters.name, requestParameters.link, options).then((request) => request(this.axios, this.basePath));
|
|
2917
|
-
}
|
|
2918
|
-
}
|
|
2919
|
-
|
|
2920
|
-
const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
|
|
2921
|
-
return {
|
|
2922
|
-
createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
|
|
2923
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
2924
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2925
|
-
let baseOptions;
|
|
2926
|
-
if (configuration) {
|
|
2927
|
-
baseOptions = configuration.baseOptions;
|
|
2928
|
-
}
|
|
2929
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2930
|
-
const localVarHeaderParameter = {};
|
|
2931
|
-
const localVarQueryParameter = {};
|
|
2932
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2933
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2934
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2935
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2936
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2937
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2938
|
-
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
2939
|
-
return {
|
|
2940
|
-
url: toPathString(localVarUrlObj),
|
|
2941
|
-
options: localVarRequestOptions
|
|
2942
|
-
};
|
|
2943
|
-
},
|
|
2944
|
-
deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
2945
|
-
assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
2946
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2947
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2948
|
-
let baseOptions;
|
|
2949
|
-
if (configuration) {
|
|
2950
|
-
baseOptions = configuration.baseOptions;
|
|
2951
|
-
}
|
|
2952
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2953
|
-
const localVarHeaderParameter = {};
|
|
2954
|
-
const localVarQueryParameter = {};
|
|
2955
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2956
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2957
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2958
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2959
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2960
|
-
return {
|
|
2961
|
-
url: toPathString(localVarUrlObj),
|
|
2962
|
-
options: localVarRequestOptions
|
|
2963
|
-
};
|
|
2964
|
-
},
|
|
2965
|
-
getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
2966
|
-
assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
2967
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2968
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2969
|
-
let baseOptions;
|
|
2970
|
-
if (configuration) {
|
|
2971
|
-
baseOptions = configuration.baseOptions;
|
|
2972
|
-
}
|
|
2973
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2974
|
-
const localVarHeaderParameter = {};
|
|
2975
|
-
const localVarQueryParameter = {};
|
|
2976
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2977
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2978
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2979
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2980
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2981
|
-
return {
|
|
2982
|
-
url: toPathString(localVarUrlObj),
|
|
2983
|
-
options: localVarRequestOptions
|
|
2984
|
-
};
|
|
2985
|
-
},
|
|
2986
|
-
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2987
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
2988
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2989
|
-
let baseOptions;
|
|
2990
|
-
if (configuration) {
|
|
2991
|
-
baseOptions = configuration.baseOptions;
|
|
2992
|
-
}
|
|
2993
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2994
|
-
const localVarHeaderParameter = {};
|
|
2995
|
-
const localVarQueryParameter = {};
|
|
2996
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2997
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2998
|
-
if (page !== void 0) {
|
|
2999
|
-
localVarQueryParameter["page"] = page;
|
|
3000
|
-
}
|
|
3001
|
-
if (size !== void 0) {
|
|
3002
|
-
localVarQueryParameter["size"] = size;
|
|
3003
|
-
}
|
|
3004
|
-
if (labelSelector) {
|
|
3005
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3006
|
-
}
|
|
3007
|
-
if (fieldSelector) {
|
|
3008
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3009
|
-
}
|
|
3010
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3011
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3012
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3013
|
-
return {
|
|
3014
|
-
url: toPathString(localVarUrlObj),
|
|
3015
|
-
options: localVarRequestOptions
|
|
3016
|
-
};
|
|
3017
|
-
},
|
|
3018
|
-
updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
|
|
3019
|
-
assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
3020
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3021
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3022
|
-
let baseOptions;
|
|
3023
|
-
if (configuration) {
|
|
3024
|
-
baseOptions = configuration.baseOptions;
|
|
3025
|
-
}
|
|
3026
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3027
|
-
const localVarHeaderParameter = {};
|
|
3028
|
-
const localVarQueryParameter = {};
|
|
3029
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3030
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3031
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3032
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3033
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3034
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3035
|
-
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
3036
|
-
return {
|
|
3037
|
-
url: toPathString(localVarUrlObj),
|
|
3038
|
-
options: localVarRequestOptions
|
|
3039
|
-
};
|
|
3040
|
-
}
|
|
3041
|
-
};
|
|
3042
|
-
};
|
|
3043
|
-
const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
3044
|
-
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
|
|
3045
|
-
return {
|
|
3046
|
-
async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
3047
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
|
|
3048
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3049
|
-
},
|
|
3050
|
-
async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3051
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
|
|
3052
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3053
|
-
},
|
|
3054
|
-
async getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3055
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
3056
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3057
|
-
},
|
|
3058
|
-
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
3059
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
3060
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3061
|
-
},
|
|
3062
|
-
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
3063
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
|
|
3064
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3065
|
-
}
|
|
3066
|
-
};
|
|
3067
|
-
};
|
|
3068
|
-
const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
|
|
3069
|
-
const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
|
|
3070
|
-
return {
|
|
3071
|
-
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
3072
|
-
return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
|
|
3073
|
-
},
|
|
3074
|
-
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3075
|
-
return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
3076
|
-
},
|
|
3077
|
-
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3078
|
-
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
3079
|
-
},
|
|
3080
|
-
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
3081
|
-
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3082
|
-
},
|
|
3083
|
-
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
3084
|
-
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
3085
|
-
}
|
|
3086
|
-
};
|
|
3087
|
-
};
|
|
3088
|
-
class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
3089
|
-
createcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
|
|
3090
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
3091
|
-
}
|
|
3092
|
-
deletecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3093
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3094
|
-
}
|
|
3095
|
-
getcoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3096
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3097
|
-
}
|
|
3098
|
-
listcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
|
|
3099
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3100
|
-
}
|
|
3101
|
-
updatecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3102
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(requestParameters.name, requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
3103
|
-
}
|
|
3104
|
-
}
|
|
3105
|
-
|
|
3106
2961
|
const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration) {
|
|
3107
2962
|
return {
|
|
3108
2963
|
createmetricsHaloRunV1alpha1Counter: async (counter, options = {}) => {
|
|
@@ -3759,50 +3614,6 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
3759
3614
|
options: localVarRequestOptions
|
|
3760
3615
|
};
|
|
3761
3616
|
},
|
|
3762
|
-
searchAttachments: async (policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
3763
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
3764
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3765
|
-
let baseOptions;
|
|
3766
|
-
if (configuration) {
|
|
3767
|
-
baseOptions = configuration.baseOptions;
|
|
3768
|
-
}
|
|
3769
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3770
|
-
const localVarHeaderParameter = {};
|
|
3771
|
-
const localVarQueryParameter = {};
|
|
3772
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3773
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3774
|
-
if (policy !== void 0) {
|
|
3775
|
-
localVarQueryParameter["policy"] = policy;
|
|
3776
|
-
}
|
|
3777
|
-
if (displayName !== void 0) {
|
|
3778
|
-
localVarQueryParameter["displayName"] = displayName;
|
|
3779
|
-
}
|
|
3780
|
-
if (group !== void 0) {
|
|
3781
|
-
localVarQueryParameter["group"] = group;
|
|
3782
|
-
}
|
|
3783
|
-
if (uploadedBy !== void 0) {
|
|
3784
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
3785
|
-
}
|
|
3786
|
-
if (size !== void 0) {
|
|
3787
|
-
localVarQueryParameter["size"] = size;
|
|
3788
|
-
}
|
|
3789
|
-
if (labelSelector) {
|
|
3790
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3791
|
-
}
|
|
3792
|
-
if (fieldSelector) {
|
|
3793
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3794
|
-
}
|
|
3795
|
-
if (page !== void 0) {
|
|
3796
|
-
localVarQueryParameter["page"] = page;
|
|
3797
|
-
}
|
|
3798
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3799
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3800
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3801
|
-
return {
|
|
3802
|
-
url: toPathString(localVarUrlObj),
|
|
3803
|
-
options: localVarRequestOptions
|
|
3804
|
-
};
|
|
3805
|
-
},
|
|
3806
3617
|
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
3807
3618
|
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
3808
3619
|
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
@@ -3825,40 +3636,6 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
3825
3636
|
url: toPathString(localVarUrlObj),
|
|
3826
3637
|
options: localVarRequestOptions
|
|
3827
3638
|
};
|
|
3828
|
-
},
|
|
3829
|
-
uploadAttachment: async (file, policyName, groupName, options = {}) => {
|
|
3830
|
-
assertParamExists("uploadAttachment", "file", file);
|
|
3831
|
-
assertParamExists("uploadAttachment", "policyName", policyName);
|
|
3832
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments/upload`;
|
|
3833
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3834
|
-
let baseOptions;
|
|
3835
|
-
if (configuration) {
|
|
3836
|
-
baseOptions = configuration.baseOptions;
|
|
3837
|
-
}
|
|
3838
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3839
|
-
const localVarHeaderParameter = {};
|
|
3840
|
-
const localVarQueryParameter = {};
|
|
3841
|
-
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
3842
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3843
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3844
|
-
if (file !== void 0) {
|
|
3845
|
-
localVarFormParams.append("file", file);
|
|
3846
|
-
}
|
|
3847
|
-
if (policyName !== void 0) {
|
|
3848
|
-
localVarFormParams.append("policyName", policyName);
|
|
3849
|
-
}
|
|
3850
|
-
if (groupName !== void 0) {
|
|
3851
|
-
localVarFormParams.append("groupName", groupName);
|
|
3852
|
-
}
|
|
3853
|
-
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
3854
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3855
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3856
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3857
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
3858
|
-
return {
|
|
3859
|
-
url: toPathString(localVarUrlObj),
|
|
3860
|
-
options: localVarRequestOptions
|
|
3861
|
-
};
|
|
3862
3639
|
}
|
|
3863
3640
|
};
|
|
3864
3641
|
};
|
|
@@ -3881,17 +3658,9 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
3881
3658
|
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
3882
3659
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3883
3660
|
},
|
|
3884
|
-
async searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
3885
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options);
|
|
3886
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3887
|
-
},
|
|
3888
3661
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
3889
3662
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(name, attachment, options);
|
|
3890
3663
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3891
|
-
},
|
|
3892
|
-
async uploadAttachment(file, policyName, groupName, options) {
|
|
3893
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
|
|
3894
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3895
3664
|
}
|
|
3896
3665
|
};
|
|
3897
3666
|
};
|
|
@@ -3910,14 +3679,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
|
|
|
3910
3679
|
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
3911
3680
|
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3912
3681
|
},
|
|
3913
|
-
searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
3914
|
-
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
3915
|
-
},
|
|
3916
3682
|
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
3917
3683
|
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
3918
|
-
},
|
|
3919
|
-
uploadAttachment(file, policyName, groupName, options) {
|
|
3920
|
-
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
3921
3684
|
}
|
|
3922
3685
|
};
|
|
3923
3686
|
};
|
|
@@ -3934,15 +3697,9 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
3934
3697
|
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
3935
3698
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3936
3699
|
}
|
|
3937
|
-
searchAttachments(requestParameters = {}, options) {
|
|
3938
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
3939
|
-
}
|
|
3940
3700
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
3941
3701
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
3942
3702
|
}
|
|
3943
|
-
uploadAttachment(requestParameters, options) {
|
|
3944
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
3945
|
-
}
|
|
3946
3703
|
}
|
|
3947
3704
|
|
|
3948
3705
|
const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration) {
|
|
@@ -6220,4 +5977,4 @@ const SinglePageSpecVisibleEnum = {
|
|
|
6220
5977
|
Private: "PRIVATE"
|
|
6221
5978
|
};
|
|
6222
5979
|
|
|
6223
|
-
export { ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1ContentApi, ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ContentApiFactory, ApiConsoleHaloRunV1alpha1ContentApiFp, ApiConsoleHaloRunV1alpha1PluginApi, ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PluginApiFactory, ApiConsoleHaloRunV1alpha1PluginApiFp, ApiConsoleHaloRunV1alpha1PostApi, ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PostApiFactory, ApiConsoleHaloRunV1alpha1PostApiFp, ApiConsoleHaloRunV1alpha1ReplyApi, ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ReplyApiFactory, ApiConsoleHaloRunV1alpha1ReplyApiFp, ApiConsoleHaloRunV1alpha1SinglePageApi, ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1SinglePageApiFactory, ApiConsoleHaloRunV1alpha1SinglePageApiFp, ApiConsoleHaloRunV1alpha1StatsApi, ApiConsoleHaloRunV1alpha1StatsApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1StatsApiFactory, ApiConsoleHaloRunV1alpha1StatsApiFp, ApiConsoleHaloRunV1alpha1ThemeApi, ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ThemeApiFactory, ApiConsoleHaloRunV1alpha1ThemeApiFp, ApiConsoleHaloRunV1alpha1UserApi, ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1UserApiFactory, ApiConsoleHaloRunV1alpha1UserApiFp, ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp, ApiHaloRunV1alpha1TrackerApi, ApiHaloRunV1alpha1TrackerApiAxiosParamCreator, ApiHaloRunV1alpha1TrackerApiFactory, ApiHaloRunV1alpha1TrackerApiFp, 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,
|
|
5980
|
+
export { ApiConsoleHaloRunV1alpha1AttachmentApi, ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1AttachmentApiFactory, ApiConsoleHaloRunV1alpha1AttachmentApiFp, ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1ContentApi, ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ContentApiFactory, ApiConsoleHaloRunV1alpha1ContentApiFp, ApiConsoleHaloRunV1alpha1PluginApi, ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PluginApiFactory, ApiConsoleHaloRunV1alpha1PluginApiFp, ApiConsoleHaloRunV1alpha1PostApi, ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PostApiFactory, ApiConsoleHaloRunV1alpha1PostApiFp, ApiConsoleHaloRunV1alpha1ReplyApi, ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ReplyApiFactory, ApiConsoleHaloRunV1alpha1ReplyApiFp, ApiConsoleHaloRunV1alpha1SinglePageApi, ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1SinglePageApiFactory, ApiConsoleHaloRunV1alpha1SinglePageApiFp, ApiConsoleHaloRunV1alpha1StatsApi, ApiConsoleHaloRunV1alpha1StatsApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1StatsApiFactory, ApiConsoleHaloRunV1alpha1StatsApiFp, ApiConsoleHaloRunV1alpha1ThemeApi, ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ThemeApiFactory, ApiConsoleHaloRunV1alpha1ThemeApiFp, ApiConsoleHaloRunV1alpha1UserApi, ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1UserApiFactory, ApiConsoleHaloRunV1alpha1UserApiFp, ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp, ApiHaloRunV1alpha1TrackerApi, ApiHaloRunV1alpha1TrackerApiAxiosParamCreator, ApiHaloRunV1alpha1TrackerApiFactory, ApiHaloRunV1alpha1TrackerApiFp, 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, MetricsHaloRunV1alpha1CounterApi, MetricsHaloRunV1alpha1CounterApiAxiosParamCreator, MetricsHaloRunV1alpha1CounterApiFactory, MetricsHaloRunV1alpha1CounterApiFp, 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 };
|