@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.cjs
CHANGED
|
@@ -75,6 +75,121 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
+
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
79
|
+
return {
|
|
80
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
81
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
82
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83
|
+
let baseOptions;
|
|
84
|
+
if (configuration) {
|
|
85
|
+
baseOptions = configuration.baseOptions;
|
|
86
|
+
}
|
|
87
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
88
|
+
const localVarHeaderParameter = {};
|
|
89
|
+
const localVarQueryParameter = {};
|
|
90
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
91
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
92
|
+
if (policy !== void 0) {
|
|
93
|
+
localVarQueryParameter["policy"] = policy;
|
|
94
|
+
}
|
|
95
|
+
if (displayName !== void 0) {
|
|
96
|
+
localVarQueryParameter["displayName"] = displayName;
|
|
97
|
+
}
|
|
98
|
+
if (group !== void 0) {
|
|
99
|
+
localVarQueryParameter["group"] = group;
|
|
100
|
+
}
|
|
101
|
+
if (uploadedBy !== void 0) {
|
|
102
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
103
|
+
}
|
|
104
|
+
if (size !== void 0) {
|
|
105
|
+
localVarQueryParameter["size"] = size;
|
|
106
|
+
}
|
|
107
|
+
if (page !== void 0) {
|
|
108
|
+
localVarQueryParameter["page"] = page;
|
|
109
|
+
}
|
|
110
|
+
if (labelSelector) {
|
|
111
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
112
|
+
}
|
|
113
|
+
if (fieldSelector) {
|
|
114
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
115
|
+
}
|
|
116
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
119
|
+
return {
|
|
120
|
+
url: toPathString(localVarUrlObj),
|
|
121
|
+
options: localVarRequestOptions
|
|
122
|
+
};
|
|
123
|
+
},
|
|
124
|
+
uploadAttachment: async (file, policyName, groupName, options = {}) => {
|
|
125
|
+
assertParamExists("uploadAttachment", "file", file);
|
|
126
|
+
assertParamExists("uploadAttachment", "policyName", policyName);
|
|
127
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments/upload`;
|
|
128
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
129
|
+
let baseOptions;
|
|
130
|
+
if (configuration) {
|
|
131
|
+
baseOptions = configuration.baseOptions;
|
|
132
|
+
}
|
|
133
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
134
|
+
const localVarHeaderParameter = {};
|
|
135
|
+
const localVarQueryParameter = {};
|
|
136
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
137
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
138
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
139
|
+
if (file !== void 0) {
|
|
140
|
+
localVarFormParams.append("file", file);
|
|
141
|
+
}
|
|
142
|
+
if (policyName !== void 0) {
|
|
143
|
+
localVarFormParams.append("policyName", policyName);
|
|
144
|
+
}
|
|
145
|
+
if (groupName !== void 0) {
|
|
146
|
+
localVarFormParams.append("groupName", groupName);
|
|
147
|
+
}
|
|
148
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
149
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
151
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
152
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
153
|
+
return {
|
|
154
|
+
url: toPathString(localVarUrlObj),
|
|
155
|
+
options: localVarRequestOptions
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
161
|
+
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
162
|
+
return {
|
|
163
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
164
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
165
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
166
|
+
},
|
|
167
|
+
async uploadAttachment(file, policyName, groupName, options) {
|
|
168
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
|
|
169
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
174
|
+
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
175
|
+
return {
|
|
176
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
177
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
178
|
+
},
|
|
179
|
+
uploadAttachment(file, policyName, groupName, options) {
|
|
180
|
+
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
185
|
+
searchAttachments(requestParameters = {}, options) {
|
|
186
|
+
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));
|
|
187
|
+
}
|
|
188
|
+
uploadAttachment(requestParameters, options) {
|
|
189
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
78
193
|
const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
79
194
|
return {
|
|
80
195
|
createComment: async (commentRequest, options = {}) => {
|
|
@@ -124,7 +239,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
124
239
|
options: localVarRequestOptions
|
|
125
240
|
};
|
|
126
241
|
},
|
|
127
|
-
listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
242
|
+
listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
128
243
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
129
244
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
130
245
|
let baseOptions;
|
|
@@ -139,6 +254,15 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
139
254
|
if (sort !== void 0) {
|
|
140
255
|
localVarQueryParameter["sort"] = sort;
|
|
141
256
|
}
|
|
257
|
+
if (keyword !== void 0) {
|
|
258
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
259
|
+
}
|
|
260
|
+
if (hidden !== void 0) {
|
|
261
|
+
localVarQueryParameter["hidden"] = hidden;
|
|
262
|
+
}
|
|
263
|
+
if (top !== void 0) {
|
|
264
|
+
localVarQueryParameter["top"] = top;
|
|
265
|
+
}
|
|
142
266
|
if (sortOrder !== void 0) {
|
|
143
267
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
144
268
|
}
|
|
@@ -160,27 +284,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
160
284
|
if (subjectName !== void 0) {
|
|
161
285
|
localVarQueryParameter["subjectName"] = subjectName;
|
|
162
286
|
}
|
|
163
|
-
if (keyword !== void 0) {
|
|
164
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
165
|
-
}
|
|
166
|
-
if (hidden !== void 0) {
|
|
167
|
-
localVarQueryParameter["hidden"] = hidden;
|
|
168
|
-
}
|
|
169
|
-
if (top !== void 0) {
|
|
170
|
-
localVarQueryParameter["top"] = top;
|
|
171
|
-
}
|
|
172
287
|
if (size !== void 0) {
|
|
173
288
|
localVarQueryParameter["size"] = size;
|
|
174
289
|
}
|
|
290
|
+
if (page !== void 0) {
|
|
291
|
+
localVarQueryParameter["page"] = page;
|
|
292
|
+
}
|
|
175
293
|
if (labelSelector) {
|
|
176
294
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
177
295
|
}
|
|
178
296
|
if (fieldSelector) {
|
|
179
297
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
180
298
|
}
|
|
181
|
-
if (page !== void 0) {
|
|
182
|
-
localVarQueryParameter["page"] = page;
|
|
183
|
-
}
|
|
184
299
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
185
300
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
186
301
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -202,8 +317,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
202
317
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
|
|
203
318
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
204
319
|
},
|
|
205
|
-
async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
206
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
320
|
+
async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
|
|
207
322
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
208
323
|
}
|
|
209
324
|
};
|
|
@@ -217,8 +332,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
217
332
|
createReply(name, replyRequest, options) {
|
|
218
333
|
return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
219
334
|
},
|
|
220
|
-
listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
221
|
-
return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
335
|
+
listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
|
|
336
|
+
return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
222
337
|
}
|
|
223
338
|
};
|
|
224
339
|
};
|
|
@@ -230,7 +345,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
230
345
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
231
346
|
}
|
|
232
347
|
listComments(requestParameters = {}, options) {
|
|
233
|
-
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.
|
|
348
|
+
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.keyword, requestParameters.hidden, requestParameters.top, requestParameters.sortOrder, requestParameters.approved, requestParameters.allowNotification, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
234
349
|
}
|
|
235
350
|
}
|
|
236
351
|
|
|
@@ -412,7 +527,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
412
527
|
options: localVarRequestOptions
|
|
413
528
|
};
|
|
414
529
|
},
|
|
415
|
-
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector,
|
|
530
|
+
listPlugins: async (sort, keyword, enabled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
416
531
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
417
532
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
418
533
|
let baseOptions;
|
|
@@ -436,15 +551,15 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
436
551
|
if (size !== void 0) {
|
|
437
552
|
localVarQueryParameter["size"] = size;
|
|
438
553
|
}
|
|
554
|
+
if (page !== void 0) {
|
|
555
|
+
localVarQueryParameter["page"] = page;
|
|
556
|
+
}
|
|
439
557
|
if (labelSelector) {
|
|
440
558
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
441
559
|
}
|
|
442
560
|
if (fieldSelector) {
|
|
443
561
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
444
562
|
}
|
|
445
|
-
if (page !== void 0) {
|
|
446
|
-
localVarQueryParameter["page"] = page;
|
|
447
|
-
}
|
|
448
563
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
449
564
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
450
565
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -462,8 +577,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
462
577
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
463
578
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
464
579
|
},
|
|
465
|
-
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector,
|
|
466
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector,
|
|
580
|
+
async listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
581
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options);
|
|
467
582
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
468
583
|
}
|
|
469
584
|
};
|
|
@@ -474,8 +589,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
474
589
|
installPlugin(file, options) {
|
|
475
590
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
476
591
|
},
|
|
477
|
-
listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector,
|
|
478
|
-
return localVarFp.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector,
|
|
592
|
+
listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
593
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
479
594
|
}
|
|
480
595
|
};
|
|
481
596
|
};
|
|
@@ -484,7 +599,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
484
599
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
485
600
|
}
|
|
486
601
|
listPlugins(requestParameters = {}, options) {
|
|
487
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.
|
|
602
|
+
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));
|
|
488
603
|
}
|
|
489
604
|
}
|
|
490
605
|
|
|
@@ -513,7 +628,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
513
628
|
options: localVarRequestOptions
|
|
514
629
|
};
|
|
515
630
|
},
|
|
516
|
-
listPosts: async (sort,
|
|
631
|
+
listPosts: async (sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
517
632
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
518
633
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
519
634
|
let baseOptions;
|
|
@@ -528,6 +643,15 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
528
643
|
if (sort !== void 0) {
|
|
529
644
|
localVarQueryParameter["sort"] = sort;
|
|
530
645
|
}
|
|
646
|
+
if (keyword !== void 0) {
|
|
647
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
648
|
+
}
|
|
649
|
+
if (visible !== void 0) {
|
|
650
|
+
localVarQueryParameter["visible"] = visible;
|
|
651
|
+
}
|
|
652
|
+
if (tag) {
|
|
653
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
654
|
+
}
|
|
531
655
|
if (sortOrder !== void 0) {
|
|
532
656
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
533
657
|
}
|
|
@@ -540,27 +664,18 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
540
664
|
if (contributor) {
|
|
541
665
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
542
666
|
}
|
|
543
|
-
if (keyword !== void 0) {
|
|
544
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
545
|
-
}
|
|
546
|
-
if (visible !== void 0) {
|
|
547
|
-
localVarQueryParameter["visible"] = visible;
|
|
548
|
-
}
|
|
549
|
-
if (tag) {
|
|
550
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
551
|
-
}
|
|
552
667
|
if (size !== void 0) {
|
|
553
668
|
localVarQueryParameter["size"] = size;
|
|
554
669
|
}
|
|
670
|
+
if (page !== void 0) {
|
|
671
|
+
localVarQueryParameter["page"] = page;
|
|
672
|
+
}
|
|
555
673
|
if (labelSelector) {
|
|
556
674
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
557
675
|
}
|
|
558
676
|
if (fieldSelector) {
|
|
559
677
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
560
678
|
}
|
|
561
|
-
if (page !== void 0) {
|
|
562
|
-
localVarQueryParameter["page"] = page;
|
|
563
|
-
}
|
|
564
679
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
565
680
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
566
681
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -623,8 +738,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
623
738
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
624
739
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
625
740
|
},
|
|
626
|
-
async listPosts(sort,
|
|
627
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
741
|
+
async listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
742
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
|
|
628
743
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
629
744
|
},
|
|
630
745
|
async publishPost(name, options) {
|
|
@@ -643,8 +758,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
643
758
|
draftPost(postRequest, options) {
|
|
644
759
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
645
760
|
},
|
|
646
|
-
listPosts(sort,
|
|
647
|
-
return localVarFp.listPosts(sort,
|
|
761
|
+
listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
762
|
+
return localVarFp.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
648
763
|
},
|
|
649
764
|
publishPost(name, options) {
|
|
650
765
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
@@ -659,7 +774,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
659
774
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
660
775
|
}
|
|
661
776
|
listPosts(requestParameters = {}, options) {
|
|
662
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
777
|
+
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));
|
|
663
778
|
}
|
|
664
779
|
publishPost(requestParameters, options) {
|
|
665
780
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -671,7 +786,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
671
786
|
|
|
672
787
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
673
788
|
return {
|
|
674
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
789
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
675
790
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
676
791
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
677
792
|
let baseOptions;
|
|
@@ -689,15 +804,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
689
804
|
if (size !== void 0) {
|
|
690
805
|
localVarQueryParameter["size"] = size;
|
|
691
806
|
}
|
|
807
|
+
if (page !== void 0) {
|
|
808
|
+
localVarQueryParameter["page"] = page;
|
|
809
|
+
}
|
|
692
810
|
if (labelSelector) {
|
|
693
811
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
694
812
|
}
|
|
695
813
|
if (fieldSelector) {
|
|
696
814
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
697
815
|
}
|
|
698
|
-
if (page !== void 0) {
|
|
699
|
-
localVarQueryParameter["page"] = page;
|
|
700
|
-
}
|
|
701
816
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
702
817
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
703
818
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -711,8 +826,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
711
826
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
712
827
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
713
828
|
return {
|
|
714
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
715
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
829
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
830
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
|
|
716
831
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
717
832
|
}
|
|
718
833
|
};
|
|
@@ -720,14 +835,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
720
835
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
721
836
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
722
837
|
return {
|
|
723
|
-
listReplies(commentName, size, labelSelector, fieldSelector,
|
|
724
|
-
return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
838
|
+
listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
839
|
+
return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
725
840
|
}
|
|
726
841
|
};
|
|
727
842
|
};
|
|
728
843
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
729
844
|
listReplies(requestParameters = {}, options) {
|
|
730
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.
|
|
845
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
731
846
|
}
|
|
732
847
|
}
|
|
733
848
|
|
|
@@ -756,7 +871,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
756
871
|
options: localVarRequestOptions
|
|
757
872
|
};
|
|
758
873
|
},
|
|
759
|
-
listSinglePages: async (sort, sortOrder, publishPhase, contributor,
|
|
874
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
760
875
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
761
876
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
762
877
|
let baseOptions;
|
|
@@ -771,6 +886,12 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
771
886
|
if (sort !== void 0) {
|
|
772
887
|
localVarQueryParameter["sort"] = sort;
|
|
773
888
|
}
|
|
889
|
+
if (keyword !== void 0) {
|
|
890
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
891
|
+
}
|
|
892
|
+
if (visible !== void 0) {
|
|
893
|
+
localVarQueryParameter["visible"] = visible;
|
|
894
|
+
}
|
|
774
895
|
if (sortOrder !== void 0) {
|
|
775
896
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
776
897
|
}
|
|
@@ -780,24 +901,18 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
780
901
|
if (contributor) {
|
|
781
902
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
782
903
|
}
|
|
783
|
-
if (keyword !== void 0) {
|
|
784
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
785
|
-
}
|
|
786
|
-
if (visible !== void 0) {
|
|
787
|
-
localVarQueryParameter["visible"] = visible;
|
|
788
|
-
}
|
|
789
904
|
if (size !== void 0) {
|
|
790
905
|
localVarQueryParameter["size"] = size;
|
|
791
906
|
}
|
|
907
|
+
if (page !== void 0) {
|
|
908
|
+
localVarQueryParameter["page"] = page;
|
|
909
|
+
}
|
|
792
910
|
if (labelSelector) {
|
|
793
911
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
794
912
|
}
|
|
795
913
|
if (fieldSelector) {
|
|
796
914
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
797
915
|
}
|
|
798
|
-
if (page !== void 0) {
|
|
799
|
-
localVarQueryParameter["page"] = page;
|
|
800
|
-
}
|
|
801
916
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
802
917
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
918
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -860,8 +975,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
860
975
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
861
976
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
862
977
|
},
|
|
863
|
-
async listSinglePages(sort, sortOrder, publishPhase, contributor,
|
|
864
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, sortOrder, publishPhase, contributor,
|
|
978
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
979
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options);
|
|
865
980
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
866
981
|
},
|
|
867
982
|
async publishSinglePage(name, options) {
|
|
@@ -880,8 +995,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
880
995
|
draftSinglePage(singlePageRequest, options) {
|
|
881
996
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
882
997
|
},
|
|
883
|
-
listSinglePages(sort, sortOrder, publishPhase, contributor,
|
|
884
|
-
return localVarFp.listSinglePages(sort, sortOrder, publishPhase, contributor,
|
|
998
|
+
listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
999
|
+
return localVarFp.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
885
1000
|
},
|
|
886
1001
|
publishSinglePage(name, options) {
|
|
887
1002
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -896,7 +1011,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
896
1011
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
897
1012
|
}
|
|
898
1013
|
listSinglePages(requestParameters = {}, options) {
|
|
899
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1014
|
+
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));
|
|
900
1015
|
}
|
|
901
1016
|
publishSinglePage(requestParameters, options) {
|
|
902
1017
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -982,6 +1097,42 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
982
1097
|
options: localVarRequestOptions
|
|
983
1098
|
};
|
|
984
1099
|
},
|
|
1100
|
+
listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1101
|
+
assertParamExists("listThemes", "uninstalled", uninstalled);
|
|
1102
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
|
|
1103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1104
|
+
let baseOptions;
|
|
1105
|
+
if (configuration) {
|
|
1106
|
+
baseOptions = configuration.baseOptions;
|
|
1107
|
+
}
|
|
1108
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1109
|
+
const localVarHeaderParameter = {};
|
|
1110
|
+
const localVarQueryParameter = {};
|
|
1111
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1112
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1113
|
+
if (uninstalled !== void 0) {
|
|
1114
|
+
localVarQueryParameter["uninstalled"] = uninstalled;
|
|
1115
|
+
}
|
|
1116
|
+
if (size !== void 0) {
|
|
1117
|
+
localVarQueryParameter["size"] = size;
|
|
1118
|
+
}
|
|
1119
|
+
if (page !== void 0) {
|
|
1120
|
+
localVarQueryParameter["page"] = page;
|
|
1121
|
+
}
|
|
1122
|
+
if (labelSelector) {
|
|
1123
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1124
|
+
}
|
|
1125
|
+
if (fieldSelector) {
|
|
1126
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1127
|
+
}
|
|
1128
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1130
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1131
|
+
return {
|
|
1132
|
+
url: toPathString(localVarUrlObj),
|
|
1133
|
+
options: localVarRequestOptions
|
|
1134
|
+
};
|
|
1135
|
+
},
|
|
985
1136
|
reloadThemeSetting: async (name, options = {}) => {
|
|
986
1137
|
assertParamExists("reloadThemeSetting", "name", name);
|
|
987
1138
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload-setting`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
@@ -1012,6 +1163,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1012
1163
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
1013
1164
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1014
1165
|
},
|
|
1166
|
+
async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1167
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options);
|
|
1168
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1169
|
+
},
|
|
1015
1170
|
async reloadThemeSetting(name, options) {
|
|
1016
1171
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reloadThemeSetting(name, options);
|
|
1017
1172
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
@@ -1024,6 +1179,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1024
1179
|
installTheme(file, options) {
|
|
1025
1180
|
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
1026
1181
|
},
|
|
1182
|
+
listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
|
|
1183
|
+
return localVarFp.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1184
|
+
},
|
|
1027
1185
|
reloadThemeSetting(name, options) {
|
|
1028
1186
|
return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
1029
1187
|
}
|
|
@@ -1033,6 +1191,9 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1033
1191
|
installTheme(requestParameters, options) {
|
|
1034
1192
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1035
1193
|
}
|
|
1194
|
+
listThemes(requestParameters, options) {
|
|
1195
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1196
|
+
}
|
|
1036
1197
|
reloadThemeSetting(requestParameters, options) {
|
|
1037
1198
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1038
1199
|
}
|
|
@@ -1411,36 +1572,10 @@ const ApiHaloRunV1alpha1TrackerApiAxiosParamCreator = function(configuration) {
|
|
|
1411
1572
|
url: toPathString(localVarUrlObj),
|
|
1412
1573
|
options: localVarRequestOptions
|
|
1413
1574
|
};
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
const
|
|
1418
|
-
const localVarAxiosParamCreator = ApiHaloRunV1alpha1TrackerApiAxiosParamCreator(configuration);
|
|
1419
|
-
return {
|
|
1420
|
-
async count(counterRequest, options) {
|
|
1421
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.count(counterRequest, options);
|
|
1422
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1423
|
-
}
|
|
1424
|
-
};
|
|
1425
|
-
};
|
|
1426
|
-
const ApiHaloRunV1alpha1TrackerApiFactory = function(configuration, basePath, axios) {
|
|
1427
|
-
const localVarFp = ApiHaloRunV1alpha1TrackerApiFp(configuration);
|
|
1428
|
-
return {
|
|
1429
|
-
count(counterRequest, options) {
|
|
1430
|
-
return localVarFp.count(counterRequest, options).then((request) => request(axios, basePath));
|
|
1431
|
-
}
|
|
1432
|
-
};
|
|
1433
|
-
};
|
|
1434
|
-
class ApiHaloRunV1alpha1TrackerApi extends BaseAPI {
|
|
1435
|
-
count(requestParameters, options) {
|
|
1436
|
-
return ApiHaloRunV1alpha1TrackerApiFp(this.configuration).count(requestParameters.counterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
|
|
1441
|
-
return {
|
|
1442
|
-
createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
|
|
1443
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/categories`;
|
|
1575
|
+
},
|
|
1576
|
+
downvote: async (voteRequest, options = {}) => {
|
|
1577
|
+
assertParamExists("downvote", "voteRequest", voteRequest);
|
|
1578
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/trackers/downvote`;
|
|
1444
1579
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1445
1580
|
let baseOptions;
|
|
1446
1581
|
if (configuration) {
|
|
@@ -1455,35 +1590,127 @@ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuratio
|
|
|
1455
1590
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1456
1591
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1457
1592
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1458
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1593
|
+
localVarRequestOptions.data = serializeDataIfNeeded(voteRequest, localVarRequestOptions, configuration);
|
|
1459
1594
|
return {
|
|
1460
1595
|
url: toPathString(localVarUrlObj),
|
|
1461
1596
|
options: localVarRequestOptions
|
|
1462
1597
|
};
|
|
1463
1598
|
},
|
|
1464
|
-
|
|
1465
|
-
assertParamExists("
|
|
1466
|
-
const localVarPath = `/apis/
|
|
1599
|
+
upvote: async (voteRequest, options = {}) => {
|
|
1600
|
+
assertParamExists("upvote", "voteRequest", voteRequest);
|
|
1601
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/trackers/upvote`;
|
|
1467
1602
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1468
1603
|
let baseOptions;
|
|
1469
1604
|
if (configuration) {
|
|
1470
1605
|
baseOptions = configuration.baseOptions;
|
|
1471
1606
|
}
|
|
1472
|
-
const localVarRequestOptions = { method: "
|
|
1607
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1473
1608
|
const localVarHeaderParameter = {};
|
|
1474
1609
|
const localVarQueryParameter = {};
|
|
1475
1610
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1476
1611
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1612
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1477
1613
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1478
1614
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1479
1615
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1616
|
+
localVarRequestOptions.data = serializeDataIfNeeded(voteRequest, localVarRequestOptions, configuration);
|
|
1480
1617
|
return {
|
|
1481
1618
|
url: toPathString(localVarUrlObj),
|
|
1482
1619
|
options: localVarRequestOptions
|
|
1483
1620
|
};
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
|
|
1621
|
+
}
|
|
1622
|
+
};
|
|
1623
|
+
};
|
|
1624
|
+
const ApiHaloRunV1alpha1TrackerApiFp = function(configuration) {
|
|
1625
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1TrackerApiAxiosParamCreator(configuration);
|
|
1626
|
+
return {
|
|
1627
|
+
async count(counterRequest, options) {
|
|
1628
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.count(counterRequest, options);
|
|
1629
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1630
|
+
},
|
|
1631
|
+
async downvote(voteRequest, options) {
|
|
1632
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downvote(voteRequest, options);
|
|
1633
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1634
|
+
},
|
|
1635
|
+
async upvote(voteRequest, options) {
|
|
1636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upvote(voteRequest, options);
|
|
1637
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1638
|
+
}
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
1641
|
+
const ApiHaloRunV1alpha1TrackerApiFactory = function(configuration, basePath, axios) {
|
|
1642
|
+
const localVarFp = ApiHaloRunV1alpha1TrackerApiFp(configuration);
|
|
1643
|
+
return {
|
|
1644
|
+
count(counterRequest, options) {
|
|
1645
|
+
return localVarFp.count(counterRequest, options).then((request) => request(axios, basePath));
|
|
1646
|
+
},
|
|
1647
|
+
downvote(voteRequest, options) {
|
|
1648
|
+
return localVarFp.downvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
1649
|
+
},
|
|
1650
|
+
upvote(voteRequest, options) {
|
|
1651
|
+
return localVarFp.upvote(voteRequest, options).then((request) => request(axios, basePath));
|
|
1652
|
+
}
|
|
1653
|
+
};
|
|
1654
|
+
};
|
|
1655
|
+
class ApiHaloRunV1alpha1TrackerApi extends BaseAPI {
|
|
1656
|
+
count(requestParameters, options) {
|
|
1657
|
+
return ApiHaloRunV1alpha1TrackerApiFp(this.configuration).count(requestParameters.counterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1658
|
+
}
|
|
1659
|
+
downvote(requestParameters, options) {
|
|
1660
|
+
return ApiHaloRunV1alpha1TrackerApiFp(this.configuration).downvote(requestParameters.voteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1661
|
+
}
|
|
1662
|
+
upvote(requestParameters, options) {
|
|
1663
|
+
return ApiHaloRunV1alpha1TrackerApiFp(this.configuration).upvote(requestParameters.voteRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
|
|
1668
|
+
return {
|
|
1669
|
+
createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
|
|
1670
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories`;
|
|
1671
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1672
|
+
let baseOptions;
|
|
1673
|
+
if (configuration) {
|
|
1674
|
+
baseOptions = configuration.baseOptions;
|
|
1675
|
+
}
|
|
1676
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1677
|
+
const localVarHeaderParameter = {};
|
|
1678
|
+
const localVarQueryParameter = {};
|
|
1679
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1680
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1681
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1682
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1683
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1684
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1685
|
+
localVarRequestOptions.data = serializeDataIfNeeded(category, localVarRequestOptions, configuration);
|
|
1686
|
+
return {
|
|
1687
|
+
url: toPathString(localVarUrlObj),
|
|
1688
|
+
options: localVarRequestOptions
|
|
1689
|
+
};
|
|
1690
|
+
},
|
|
1691
|
+
deletecontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
1692
|
+
assertParamExists("deletecontentHaloRunV1alpha1Category", "name", name);
|
|
1693
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1694
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1695
|
+
let baseOptions;
|
|
1696
|
+
if (configuration) {
|
|
1697
|
+
baseOptions = configuration.baseOptions;
|
|
1698
|
+
}
|
|
1699
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1700
|
+
const localVarHeaderParameter = {};
|
|
1701
|
+
const localVarQueryParameter = {};
|
|
1702
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1703
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1704
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1705
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1706
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1707
|
+
return {
|
|
1708
|
+
url: toPathString(localVarUrlObj),
|
|
1709
|
+
options: localVarRequestOptions
|
|
1710
|
+
};
|
|
1711
|
+
},
|
|
1712
|
+
getcontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
1713
|
+
assertParamExists("getcontentHaloRunV1alpha1Category", "name", name);
|
|
1487
1714
|
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1488
1715
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1489
1716
|
let baseOptions;
|
|
@@ -2739,378 +2966,6 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
2739
2966
|
}
|
|
2740
2967
|
}
|
|
2741
2968
|
|
|
2742
|
-
const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
2743
|
-
return {
|
|
2744
|
-
createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
|
|
2745
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
2746
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2747
|
-
let baseOptions;
|
|
2748
|
-
if (configuration) {
|
|
2749
|
-
baseOptions = configuration.baseOptions;
|
|
2750
|
-
}
|
|
2751
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2752
|
-
const localVarHeaderParameter = {};
|
|
2753
|
-
const localVarQueryParameter = {};
|
|
2754
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2755
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2756
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2757
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2758
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2759
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2760
|
-
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
2761
|
-
return {
|
|
2762
|
-
url: toPathString(localVarUrlObj),
|
|
2763
|
-
options: localVarRequestOptions
|
|
2764
|
-
};
|
|
2765
|
-
},
|
|
2766
|
-
deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
2767
|
-
assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
|
|
2768
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2769
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2770
|
-
let baseOptions;
|
|
2771
|
-
if (configuration) {
|
|
2772
|
-
baseOptions = configuration.baseOptions;
|
|
2773
|
-
}
|
|
2774
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2775
|
-
const localVarHeaderParameter = {};
|
|
2776
|
-
const localVarQueryParameter = {};
|
|
2777
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2778
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2779
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2780
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2781
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2782
|
-
return {
|
|
2783
|
-
url: toPathString(localVarUrlObj),
|
|
2784
|
-
options: localVarRequestOptions
|
|
2785
|
-
};
|
|
2786
|
-
},
|
|
2787
|
-
getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
2788
|
-
assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
|
|
2789
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2790
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2791
|
-
let baseOptions;
|
|
2792
|
-
if (configuration) {
|
|
2793
|
-
baseOptions = configuration.baseOptions;
|
|
2794
|
-
}
|
|
2795
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2796
|
-
const localVarHeaderParameter = {};
|
|
2797
|
-
const localVarQueryParameter = {};
|
|
2798
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2799
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2800
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2801
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2802
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2803
|
-
return {
|
|
2804
|
-
url: toPathString(localVarUrlObj),
|
|
2805
|
-
options: localVarRequestOptions
|
|
2806
|
-
};
|
|
2807
|
-
},
|
|
2808
|
-
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2809
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
2810
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2811
|
-
let baseOptions;
|
|
2812
|
-
if (configuration) {
|
|
2813
|
-
baseOptions = configuration.baseOptions;
|
|
2814
|
-
}
|
|
2815
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2816
|
-
const localVarHeaderParameter = {};
|
|
2817
|
-
const localVarQueryParameter = {};
|
|
2818
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2819
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2820
|
-
if (page !== void 0) {
|
|
2821
|
-
localVarQueryParameter["page"] = page;
|
|
2822
|
-
}
|
|
2823
|
-
if (size !== void 0) {
|
|
2824
|
-
localVarQueryParameter["size"] = size;
|
|
2825
|
-
}
|
|
2826
|
-
if (labelSelector) {
|
|
2827
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2828
|
-
}
|
|
2829
|
-
if (fieldSelector) {
|
|
2830
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2831
|
-
}
|
|
2832
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2833
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2834
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2835
|
-
return {
|
|
2836
|
-
url: toPathString(localVarUrlObj),
|
|
2837
|
-
options: localVarRequestOptions
|
|
2838
|
-
};
|
|
2839
|
-
},
|
|
2840
|
-
updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
|
|
2841
|
-
assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
|
|
2842
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2843
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2844
|
-
let baseOptions;
|
|
2845
|
-
if (configuration) {
|
|
2846
|
-
baseOptions = configuration.baseOptions;
|
|
2847
|
-
}
|
|
2848
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2849
|
-
const localVarHeaderParameter = {};
|
|
2850
|
-
const localVarQueryParameter = {};
|
|
2851
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2852
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2853
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2854
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2855
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2856
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2857
|
-
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
2858
|
-
return {
|
|
2859
|
-
url: toPathString(localVarUrlObj),
|
|
2860
|
-
options: localVarRequestOptions
|
|
2861
|
-
};
|
|
2862
|
-
}
|
|
2863
|
-
};
|
|
2864
|
-
};
|
|
2865
|
-
const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
2866
|
-
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
|
|
2867
|
-
return {
|
|
2868
|
-
async createcoreHaloRunV1alpha1Link(link, options) {
|
|
2869
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
|
|
2870
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2871
|
-
},
|
|
2872
|
-
async deletecoreHaloRunV1alpha1Link(name, options) {
|
|
2873
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
|
|
2874
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2875
|
-
},
|
|
2876
|
-
async getcoreHaloRunV1alpha1Link(name, options) {
|
|
2877
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
2878
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2879
|
-
},
|
|
2880
|
-
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
2881
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
2882
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2883
|
-
},
|
|
2884
|
-
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
2885
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
|
|
2886
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2887
|
-
}
|
|
2888
|
-
};
|
|
2889
|
-
};
|
|
2890
|
-
const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
|
|
2891
|
-
const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
|
|
2892
|
-
return {
|
|
2893
|
-
createcoreHaloRunV1alpha1Link(link, options) {
|
|
2894
|
-
return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
|
|
2895
|
-
},
|
|
2896
|
-
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
2897
|
-
return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
2898
|
-
},
|
|
2899
|
-
getcoreHaloRunV1alpha1Link(name, options) {
|
|
2900
|
-
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
2901
|
-
},
|
|
2902
|
-
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
2903
|
-
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2904
|
-
},
|
|
2905
|
-
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
2906
|
-
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
2907
|
-
}
|
|
2908
|
-
};
|
|
2909
|
-
};
|
|
2910
|
-
class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
2911
|
-
createcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
|
|
2912
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(requestParameters.link, options).then((request) => request(this.axios, this.basePath));
|
|
2913
|
-
}
|
|
2914
|
-
deletecoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
2915
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2916
|
-
}
|
|
2917
|
-
getcoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
2918
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2919
|
-
}
|
|
2920
|
-
listcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
|
|
2921
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2922
|
-
}
|
|
2923
|
-
updatecoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
2924
|
-
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(requestParameters.name, requestParameters.link, options).then((request) => request(this.axios, this.basePath));
|
|
2925
|
-
}
|
|
2926
|
-
}
|
|
2927
|
-
|
|
2928
|
-
const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
|
|
2929
|
-
return {
|
|
2930
|
-
createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
|
|
2931
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
2932
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2933
|
-
let baseOptions;
|
|
2934
|
-
if (configuration) {
|
|
2935
|
-
baseOptions = configuration.baseOptions;
|
|
2936
|
-
}
|
|
2937
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2938
|
-
const localVarHeaderParameter = {};
|
|
2939
|
-
const localVarQueryParameter = {};
|
|
2940
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2941
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2942
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2943
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2944
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2945
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2946
|
-
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
2947
|
-
return {
|
|
2948
|
-
url: toPathString(localVarUrlObj),
|
|
2949
|
-
options: localVarRequestOptions
|
|
2950
|
-
};
|
|
2951
|
-
},
|
|
2952
|
-
deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
2953
|
-
assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
2954
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2955
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2956
|
-
let baseOptions;
|
|
2957
|
-
if (configuration) {
|
|
2958
|
-
baseOptions = configuration.baseOptions;
|
|
2959
|
-
}
|
|
2960
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2961
|
-
const localVarHeaderParameter = {};
|
|
2962
|
-
const localVarQueryParameter = {};
|
|
2963
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2964
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2965
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2966
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2967
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2968
|
-
return {
|
|
2969
|
-
url: toPathString(localVarUrlObj),
|
|
2970
|
-
options: localVarRequestOptions
|
|
2971
|
-
};
|
|
2972
|
-
},
|
|
2973
|
-
getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
2974
|
-
assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
2975
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2976
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2977
|
-
let baseOptions;
|
|
2978
|
-
if (configuration) {
|
|
2979
|
-
baseOptions = configuration.baseOptions;
|
|
2980
|
-
}
|
|
2981
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2982
|
-
const localVarHeaderParameter = {};
|
|
2983
|
-
const localVarQueryParameter = {};
|
|
2984
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2985
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2986
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2987
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2988
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2989
|
-
return {
|
|
2990
|
-
url: toPathString(localVarUrlObj),
|
|
2991
|
-
options: localVarRequestOptions
|
|
2992
|
-
};
|
|
2993
|
-
},
|
|
2994
|
-
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2995
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
2996
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2997
|
-
let baseOptions;
|
|
2998
|
-
if (configuration) {
|
|
2999
|
-
baseOptions = configuration.baseOptions;
|
|
3000
|
-
}
|
|
3001
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3002
|
-
const localVarHeaderParameter = {};
|
|
3003
|
-
const localVarQueryParameter = {};
|
|
3004
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3005
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3006
|
-
if (page !== void 0) {
|
|
3007
|
-
localVarQueryParameter["page"] = page;
|
|
3008
|
-
}
|
|
3009
|
-
if (size !== void 0) {
|
|
3010
|
-
localVarQueryParameter["size"] = size;
|
|
3011
|
-
}
|
|
3012
|
-
if (labelSelector) {
|
|
3013
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3014
|
-
}
|
|
3015
|
-
if (fieldSelector) {
|
|
3016
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3017
|
-
}
|
|
3018
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3019
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3020
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3021
|
-
return {
|
|
3022
|
-
url: toPathString(localVarUrlObj),
|
|
3023
|
-
options: localVarRequestOptions
|
|
3024
|
-
};
|
|
3025
|
-
},
|
|
3026
|
-
updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
|
|
3027
|
-
assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
3028
|
-
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3029
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3030
|
-
let baseOptions;
|
|
3031
|
-
if (configuration) {
|
|
3032
|
-
baseOptions = configuration.baseOptions;
|
|
3033
|
-
}
|
|
3034
|
-
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3035
|
-
const localVarHeaderParameter = {};
|
|
3036
|
-
const localVarQueryParameter = {};
|
|
3037
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3038
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3039
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3040
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3041
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3042
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3043
|
-
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
3044
|
-
return {
|
|
3045
|
-
url: toPathString(localVarUrlObj),
|
|
3046
|
-
options: localVarRequestOptions
|
|
3047
|
-
};
|
|
3048
|
-
}
|
|
3049
|
-
};
|
|
3050
|
-
};
|
|
3051
|
-
const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
3052
|
-
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
|
|
3053
|
-
return {
|
|
3054
|
-
async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
3055
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
|
|
3056
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3057
|
-
},
|
|
3058
|
-
async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3059
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
|
|
3060
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3061
|
-
},
|
|
3062
|
-
async getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3063
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
3064
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3065
|
-
},
|
|
3066
|
-
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
3067
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
3068
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3069
|
-
},
|
|
3070
|
-
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
3071
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
|
|
3072
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3073
|
-
}
|
|
3074
|
-
};
|
|
3075
|
-
};
|
|
3076
|
-
const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
|
|
3077
|
-
const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
|
|
3078
|
-
return {
|
|
3079
|
-
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
3080
|
-
return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
|
|
3081
|
-
},
|
|
3082
|
-
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3083
|
-
return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
3084
|
-
},
|
|
3085
|
-
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3086
|
-
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
3087
|
-
},
|
|
3088
|
-
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
3089
|
-
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3090
|
-
},
|
|
3091
|
-
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
3092
|
-
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
3093
|
-
}
|
|
3094
|
-
};
|
|
3095
|
-
};
|
|
3096
|
-
class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
3097
|
-
createcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
|
|
3098
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
3099
|
-
}
|
|
3100
|
-
deletecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3101
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3102
|
-
}
|
|
3103
|
-
getcoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3104
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3105
|
-
}
|
|
3106
|
-
listcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
|
|
3107
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3108
|
-
}
|
|
3109
|
-
updatecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3110
|
-
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(requestParameters.name, requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
3111
|
-
}
|
|
3112
|
-
}
|
|
3113
|
-
|
|
3114
2969
|
const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration) {
|
|
3115
2970
|
return {
|
|
3116
2971
|
createmetricsHaloRunV1alpha1Counter: async (counter, options = {}) => {
|
|
@@ -3767,50 +3622,6 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
3767
3622
|
options: localVarRequestOptions
|
|
3768
3623
|
};
|
|
3769
3624
|
},
|
|
3770
|
-
searchAttachments: async (policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
3771
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
3772
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3773
|
-
let baseOptions;
|
|
3774
|
-
if (configuration) {
|
|
3775
|
-
baseOptions = configuration.baseOptions;
|
|
3776
|
-
}
|
|
3777
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3778
|
-
const localVarHeaderParameter = {};
|
|
3779
|
-
const localVarQueryParameter = {};
|
|
3780
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3781
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3782
|
-
if (policy !== void 0) {
|
|
3783
|
-
localVarQueryParameter["policy"] = policy;
|
|
3784
|
-
}
|
|
3785
|
-
if (displayName !== void 0) {
|
|
3786
|
-
localVarQueryParameter["displayName"] = displayName;
|
|
3787
|
-
}
|
|
3788
|
-
if (group !== void 0) {
|
|
3789
|
-
localVarQueryParameter["group"] = group;
|
|
3790
|
-
}
|
|
3791
|
-
if (uploadedBy !== void 0) {
|
|
3792
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
3793
|
-
}
|
|
3794
|
-
if (size !== void 0) {
|
|
3795
|
-
localVarQueryParameter["size"] = size;
|
|
3796
|
-
}
|
|
3797
|
-
if (labelSelector) {
|
|
3798
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3799
|
-
}
|
|
3800
|
-
if (fieldSelector) {
|
|
3801
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3802
|
-
}
|
|
3803
|
-
if (page !== void 0) {
|
|
3804
|
-
localVarQueryParameter["page"] = page;
|
|
3805
|
-
}
|
|
3806
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3807
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3808
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3809
|
-
return {
|
|
3810
|
-
url: toPathString(localVarUrlObj),
|
|
3811
|
-
options: localVarRequestOptions
|
|
3812
|
-
};
|
|
3813
|
-
},
|
|
3814
3625
|
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
3815
3626
|
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
3816
3627
|
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
@@ -3833,40 +3644,6 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
3833
3644
|
url: toPathString(localVarUrlObj),
|
|
3834
3645
|
options: localVarRequestOptions
|
|
3835
3646
|
};
|
|
3836
|
-
},
|
|
3837
|
-
uploadAttachment: async (file, policyName, groupName, options = {}) => {
|
|
3838
|
-
assertParamExists("uploadAttachment", "file", file);
|
|
3839
|
-
assertParamExists("uploadAttachment", "policyName", policyName);
|
|
3840
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments/upload`;
|
|
3841
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3842
|
-
let baseOptions;
|
|
3843
|
-
if (configuration) {
|
|
3844
|
-
baseOptions = configuration.baseOptions;
|
|
3845
|
-
}
|
|
3846
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3847
|
-
const localVarHeaderParameter = {};
|
|
3848
|
-
const localVarQueryParameter = {};
|
|
3849
|
-
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
3850
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3851
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3852
|
-
if (file !== void 0) {
|
|
3853
|
-
localVarFormParams.append("file", file);
|
|
3854
|
-
}
|
|
3855
|
-
if (policyName !== void 0) {
|
|
3856
|
-
localVarFormParams.append("policyName", policyName);
|
|
3857
|
-
}
|
|
3858
|
-
if (groupName !== void 0) {
|
|
3859
|
-
localVarFormParams.append("groupName", groupName);
|
|
3860
|
-
}
|
|
3861
|
-
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
3862
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3863
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3864
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3865
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
3866
|
-
return {
|
|
3867
|
-
url: toPathString(localVarUrlObj),
|
|
3868
|
-
options: localVarRequestOptions
|
|
3869
|
-
};
|
|
3870
3647
|
}
|
|
3871
3648
|
};
|
|
3872
3649
|
};
|
|
@@ -3889,17 +3666,9 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
3889
3666
|
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
3890
3667
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3891
3668
|
},
|
|
3892
|
-
async searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
3893
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options);
|
|
3894
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3895
|
-
},
|
|
3896
3669
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
3897
3670
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(name, attachment, options);
|
|
3898
3671
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3899
|
-
},
|
|
3900
|
-
async uploadAttachment(file, policyName, groupName, options) {
|
|
3901
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
|
|
3902
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3903
3672
|
}
|
|
3904
3673
|
};
|
|
3905
3674
|
};
|
|
@@ -3918,14 +3687,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
|
|
|
3918
3687
|
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
3919
3688
|
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3920
3689
|
},
|
|
3921
|
-
searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
3922
|
-
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
3923
|
-
},
|
|
3924
3690
|
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
3925
3691
|
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
3926
|
-
},
|
|
3927
|
-
uploadAttachment(file, policyName, groupName, options) {
|
|
3928
|
-
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
3929
3692
|
}
|
|
3930
3693
|
};
|
|
3931
3694
|
};
|
|
@@ -3942,15 +3705,9 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
3942
3705
|
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
3943
3706
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3944
3707
|
}
|
|
3945
|
-
searchAttachments(requestParameters = {}, options) {
|
|
3946
|
-
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));
|
|
3947
|
-
}
|
|
3948
3708
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
3949
3709
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
3950
3710
|
}
|
|
3951
|
-
uploadAttachment(requestParameters, options) {
|
|
3952
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
3953
|
-
}
|
|
3954
3711
|
}
|
|
3955
3712
|
|
|
3956
3713
|
const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration) {
|
|
@@ -6228,6 +5985,10 @@ const SinglePageSpecVisibleEnum = {
|
|
|
6228
5985
|
Private: "PRIVATE"
|
|
6229
5986
|
};
|
|
6230
5987
|
|
|
5988
|
+
exports.ApiConsoleHaloRunV1alpha1AttachmentApi = ApiConsoleHaloRunV1alpha1AttachmentApi;
|
|
5989
|
+
exports.ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator;
|
|
5990
|
+
exports.ApiConsoleHaloRunV1alpha1AttachmentApiFactory = ApiConsoleHaloRunV1alpha1AttachmentApiFactory;
|
|
5991
|
+
exports.ApiConsoleHaloRunV1alpha1AttachmentApiFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp;
|
|
6231
5992
|
exports.ApiConsoleHaloRunV1alpha1CommentApi = ApiConsoleHaloRunV1alpha1CommentApi;
|
|
6232
5993
|
exports.ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator;
|
|
6233
5994
|
exports.ApiConsoleHaloRunV1alpha1CommentApiFactory = ApiConsoleHaloRunV1alpha1CommentApiFactory;
|
|
@@ -6302,14 +6063,6 @@ exports.ContentHaloRunV1alpha1TagApi = ContentHaloRunV1alpha1TagApi;
|
|
|
6302
6063
|
exports.ContentHaloRunV1alpha1TagApiAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator;
|
|
6303
6064
|
exports.ContentHaloRunV1alpha1TagApiFactory = ContentHaloRunV1alpha1TagApiFactory;
|
|
6304
6065
|
exports.ContentHaloRunV1alpha1TagApiFp = ContentHaloRunV1alpha1TagApiFp;
|
|
6305
|
-
exports.CoreHaloRunV1alpha1LinkApi = CoreHaloRunV1alpha1LinkApi;
|
|
6306
|
-
exports.CoreHaloRunV1alpha1LinkApiAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator;
|
|
6307
|
-
exports.CoreHaloRunV1alpha1LinkApiFactory = CoreHaloRunV1alpha1LinkApiFactory;
|
|
6308
|
-
exports.CoreHaloRunV1alpha1LinkApiFp = CoreHaloRunV1alpha1LinkApiFp;
|
|
6309
|
-
exports.CoreHaloRunV1alpha1LinkGroupApi = CoreHaloRunV1alpha1LinkGroupApi;
|
|
6310
|
-
exports.CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator;
|
|
6311
|
-
exports.CoreHaloRunV1alpha1LinkGroupApiFactory = CoreHaloRunV1alpha1LinkGroupApiFactory;
|
|
6312
|
-
exports.CoreHaloRunV1alpha1LinkGroupApiFp = CoreHaloRunV1alpha1LinkGroupApiFp;
|
|
6313
6066
|
exports.MetricsHaloRunV1alpha1CounterApi = MetricsHaloRunV1alpha1CounterApi;
|
|
6314
6067
|
exports.MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = MetricsHaloRunV1alpha1CounterApiAxiosParamCreator;
|
|
6315
6068
|
exports.MetricsHaloRunV1alpha1CounterApiFactory = MetricsHaloRunV1alpha1CounterApiFactory;
|