@halo-dev/api-client 0.0.12 → 0.0.15
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/README.md +37 -0
- package/dist/index.cjs +1250 -368
- package/dist/index.d.ts +7097 -2468
- package/dist/index.mjs +1235 -369
- package/package.json +10 -11
package/dist/index.cjs
CHANGED
|
@@ -75,24 +75,6 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
const ConditionStatusEnum = {
|
|
79
|
-
True: "TRUE",
|
|
80
|
-
False: "FALSE",
|
|
81
|
-
Unknown: "UNKNOWN"
|
|
82
|
-
};
|
|
83
|
-
const PluginStatusPhaseEnum = {
|
|
84
|
-
Created: "CREATED",
|
|
85
|
-
Disabled: "DISABLED",
|
|
86
|
-
Resolved: "RESOLVED",
|
|
87
|
-
Started: "STARTED",
|
|
88
|
-
Stopped: "STOPPED",
|
|
89
|
-
Failed: "FAILED"
|
|
90
|
-
};
|
|
91
|
-
const PostSpecVisibleEnum = {
|
|
92
|
-
Public: "PUBLIC",
|
|
93
|
-
Internal: "INTERNAL",
|
|
94
|
-
Private: "PRIVATE"
|
|
95
|
-
};
|
|
96
78
|
const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
|
|
97
79
|
return {
|
|
98
80
|
draftSnapshotContent: async (contentRequest, options = {}) => {
|
|
@@ -228,19 +210,20 @@ const ApiHaloRunV1alpha1ContentApiFactory = function(configuration, basePath, ax
|
|
|
228
210
|
};
|
|
229
211
|
};
|
|
230
212
|
class ApiHaloRunV1alpha1ContentApi extends BaseAPI {
|
|
231
|
-
draftSnapshotContent(
|
|
232
|
-
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
213
|
+
draftSnapshotContent(requestParameters, options) {
|
|
214
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
233
215
|
}
|
|
234
|
-
obtainSnapshotContent(
|
|
235
|
-
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(snapshotName, options).then((request) => request(this.axios, this.basePath));
|
|
216
|
+
obtainSnapshotContent(requestParameters, options) {
|
|
217
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(requestParameters.snapshotName, options).then((request) => request(this.axios, this.basePath));
|
|
236
218
|
}
|
|
237
|
-
publishSnapshotContent(
|
|
238
|
-
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).publishSnapshotContent(snapshotName, subjectRef, options).then((request) => request(this.axios, this.basePath));
|
|
219
|
+
publishSnapshotContent(requestParameters, options) {
|
|
220
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).publishSnapshotContent(requestParameters.snapshotName, requestParameters.subjectRef, options).then((request) => request(this.axios, this.basePath));
|
|
239
221
|
}
|
|
240
|
-
updateSnapshotContent(
|
|
241
|
-
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(snapshotName, contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
222
|
+
updateSnapshotContent(requestParameters, options) {
|
|
223
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(requestParameters.snapshotName, requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
242
224
|
}
|
|
243
225
|
}
|
|
226
|
+
|
|
244
227
|
const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
245
228
|
return {
|
|
246
229
|
installPlugin: async (file, options = {}) => {
|
|
@@ -290,10 +273,11 @@ const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axi
|
|
|
290
273
|
};
|
|
291
274
|
};
|
|
292
275
|
class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
293
|
-
installPlugin(
|
|
294
|
-
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
276
|
+
installPlugin(requestParameters, options) {
|
|
277
|
+
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
295
278
|
}
|
|
296
279
|
}
|
|
280
|
+
|
|
297
281
|
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
298
282
|
return {
|
|
299
283
|
draftPost: async (postRequest, options = {}) => {
|
|
@@ -446,19 +430,20 @@ const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios
|
|
|
446
430
|
};
|
|
447
431
|
};
|
|
448
432
|
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
449
|
-
draftPost(
|
|
450
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
433
|
+
draftPost(requestParameters, options) {
|
|
434
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
451
435
|
}
|
|
452
|
-
listPosts(
|
|
453
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options).then((request) => request(this.axios, this.basePath));
|
|
436
|
+
listPosts(requestParameters = {}, options) {
|
|
437
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.contributors, requestParameters.categories, requestParameters.tags, options).then((request) => request(this.axios, this.basePath));
|
|
454
438
|
}
|
|
455
|
-
publishPost(
|
|
456
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(name, options).then((request) => request(this.axios, this.basePath));
|
|
439
|
+
publishPost(requestParameters, options) {
|
|
440
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
457
441
|
}
|
|
458
|
-
updateDraftPost(
|
|
459
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(name, postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
442
|
+
updateDraftPost(requestParameters, options) {
|
|
443
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
460
444
|
}
|
|
461
445
|
}
|
|
446
|
+
|
|
462
447
|
const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
463
448
|
return {
|
|
464
449
|
installTheme: async (file, options = {}) => {
|
|
@@ -508,10 +493,11 @@ const ApiHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axio
|
|
|
508
493
|
};
|
|
509
494
|
};
|
|
510
495
|
class ApiHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
511
|
-
installTheme(
|
|
512
|
-
return ApiHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(file, options).then((request) => request(this.axios, this.basePath));
|
|
496
|
+
installTheme(requestParameters, options) {
|
|
497
|
+
return ApiHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
513
498
|
}
|
|
514
499
|
}
|
|
500
|
+
|
|
515
501
|
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
516
502
|
return {
|
|
517
503
|
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
@@ -644,19 +630,20 @@ const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios
|
|
|
644
630
|
};
|
|
645
631
|
};
|
|
646
632
|
class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
647
|
-
changePassword(
|
|
648
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(name, changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
633
|
+
changePassword(requestParameters, options) {
|
|
634
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(requestParameters.name, requestParameters.changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
649
635
|
}
|
|
650
636
|
getCurrentUserDetail(options) {
|
|
651
637
|
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
|
|
652
638
|
}
|
|
653
|
-
getPermissions(
|
|
654
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(name, options).then((request) => request(this.axios, this.basePath));
|
|
639
|
+
getPermissions(requestParameters, options) {
|
|
640
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
655
641
|
}
|
|
656
|
-
grantPermission(
|
|
657
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
642
|
+
grantPermission(requestParameters, options) {
|
|
643
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
658
644
|
}
|
|
659
645
|
}
|
|
646
|
+
|
|
660
647
|
const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
|
|
661
648
|
return {
|
|
662
649
|
createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
|
|
@@ -826,22 +813,23 @@ const ContentHaloRunV1alpha1CategoryApiFactory = function(configuration, basePat
|
|
|
826
813
|
};
|
|
827
814
|
};
|
|
828
815
|
class ContentHaloRunV1alpha1CategoryApi extends BaseAPI {
|
|
829
|
-
createcontentHaloRunV1alpha1Category(
|
|
830
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).createcontentHaloRunV1alpha1Category(category, options).then((request) => request(this.axios, this.basePath));
|
|
816
|
+
createcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
817
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).createcontentHaloRunV1alpha1Category(requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
831
818
|
}
|
|
832
|
-
deletecontentHaloRunV1alpha1Category(
|
|
833
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(this.axios, this.basePath));
|
|
819
|
+
deletecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
820
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).deletecontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
834
821
|
}
|
|
835
|
-
getcontentHaloRunV1alpha1Category(
|
|
836
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(name, options).then((request) => request(this.axios, this.basePath));
|
|
822
|
+
getcontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
823
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
837
824
|
}
|
|
838
|
-
listcontentHaloRunV1alpha1Category(
|
|
839
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
825
|
+
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
826
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
840
827
|
}
|
|
841
|
-
updatecontentHaloRunV1alpha1Category(
|
|
842
|
-
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(name, category, options).then((request) => request(this.axios, this.basePath));
|
|
828
|
+
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
829
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
843
830
|
}
|
|
844
831
|
}
|
|
832
|
+
|
|
845
833
|
const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
846
834
|
return {
|
|
847
835
|
createcontentHaloRunV1alpha1Comment: async (comment, options = {}) => {
|
|
@@ -1011,22 +999,23 @@ const ContentHaloRunV1alpha1CommentApiFactory = function(configuration, basePath
|
|
|
1011
999
|
};
|
|
1012
1000
|
};
|
|
1013
1001
|
class ContentHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
1014
|
-
createcontentHaloRunV1alpha1Comment(
|
|
1015
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(this.axios, this.basePath));
|
|
1002
|
+
createcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
1003
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).createcontentHaloRunV1alpha1Comment(requestParameters.comment, options).then((request) => request(this.axios, this.basePath));
|
|
1016
1004
|
}
|
|
1017
|
-
deletecontentHaloRunV1alpha1Comment(
|
|
1018
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(this.axios, this.basePath));
|
|
1005
|
+
deletecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
1006
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).deletecontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1019
1007
|
}
|
|
1020
|
-
getcontentHaloRunV1alpha1Comment(
|
|
1021
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(this.axios, this.basePath));
|
|
1008
|
+
getcontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
1009
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1022
1010
|
}
|
|
1023
|
-
listcontentHaloRunV1alpha1Comment(
|
|
1024
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1011
|
+
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
1012
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1025
1013
|
}
|
|
1026
|
-
updatecontentHaloRunV1alpha1Comment(
|
|
1027
|
-
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(name, comment, options).then((request) => request(this.axios, this.basePath));
|
|
1014
|
+
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
1015
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(this.axios, this.basePath));
|
|
1028
1016
|
}
|
|
1029
1017
|
}
|
|
1018
|
+
|
|
1030
1019
|
const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
1031
1020
|
return {
|
|
1032
1021
|
createcontentHaloRunV1alpha1Post: async (post, options = {}) => {
|
|
@@ -1196,22 +1185,23 @@ const ContentHaloRunV1alpha1PostApiFactory = function(configuration, basePath, a
|
|
|
1196
1185
|
};
|
|
1197
1186
|
};
|
|
1198
1187
|
class ContentHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1199
|
-
createcontentHaloRunV1alpha1Post(
|
|
1200
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).createcontentHaloRunV1alpha1Post(post, options).then((request) => request(this.axios, this.basePath));
|
|
1188
|
+
createcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
1189
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).createcontentHaloRunV1alpha1Post(requestParameters.post, options).then((request) => request(this.axios, this.basePath));
|
|
1201
1190
|
}
|
|
1202
|
-
deletecontentHaloRunV1alpha1Post(
|
|
1203
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(this.axios, this.basePath));
|
|
1191
|
+
deletecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
1192
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).deletecontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1204
1193
|
}
|
|
1205
|
-
getcontentHaloRunV1alpha1Post(
|
|
1206
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(name, options).then((request) => request(this.axios, this.basePath));
|
|
1194
|
+
getcontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
1195
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1207
1196
|
}
|
|
1208
|
-
listcontentHaloRunV1alpha1Post(
|
|
1209
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1197
|
+
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
1198
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1210
1199
|
}
|
|
1211
|
-
updatecontentHaloRunV1alpha1Post(
|
|
1212
|
-
return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(name, post, options).then((request) => request(this.axios, this.basePath));
|
|
1200
|
+
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
1201
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(this.axios, this.basePath));
|
|
1213
1202
|
}
|
|
1214
1203
|
}
|
|
1204
|
+
|
|
1215
1205
|
const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
1216
1206
|
return {
|
|
1217
1207
|
createcontentHaloRunV1alpha1Reply: async (reply, options = {}) => {
|
|
@@ -1381,22 +1371,23 @@ const ContentHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath,
|
|
|
1381
1371
|
};
|
|
1382
1372
|
};
|
|
1383
1373
|
class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1384
|
-
createcontentHaloRunV1alpha1Reply(
|
|
1385
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(this.axios, this.basePath));
|
|
1374
|
+
createcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
1375
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).createcontentHaloRunV1alpha1Reply(requestParameters.reply, options).then((request) => request(this.axios, this.basePath));
|
|
1386
1376
|
}
|
|
1387
|
-
deletecontentHaloRunV1alpha1Reply(
|
|
1388
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(this.axios, this.basePath));
|
|
1377
|
+
deletecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
1378
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).deletecontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1389
1379
|
}
|
|
1390
|
-
getcontentHaloRunV1alpha1Reply(
|
|
1391
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(this.axios, this.basePath));
|
|
1380
|
+
getcontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
1381
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1392
1382
|
}
|
|
1393
|
-
listcontentHaloRunV1alpha1Reply(
|
|
1394
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1383
|
+
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
1384
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1395
1385
|
}
|
|
1396
|
-
updatecontentHaloRunV1alpha1Reply(
|
|
1397
|
-
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(name, reply, options).then((request) => request(this.axios, this.basePath));
|
|
1386
|
+
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
1387
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(this.axios, this.basePath));
|
|
1398
1388
|
}
|
|
1399
1389
|
}
|
|
1390
|
+
|
|
1400
1391
|
const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuration) {
|
|
1401
1392
|
return {
|
|
1402
1393
|
createcontentHaloRunV1alpha1Snapshot: async (snapshot, options = {}) => {
|
|
@@ -1566,22 +1557,23 @@ const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePat
|
|
|
1566
1557
|
};
|
|
1567
1558
|
};
|
|
1568
1559
|
class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
|
|
1569
|
-
createcontentHaloRunV1alpha1Snapshot(
|
|
1570
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1560
|
+
createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
1561
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1571
1562
|
}
|
|
1572
|
-
deletecontentHaloRunV1alpha1Snapshot(
|
|
1573
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(this.axios, this.basePath));
|
|
1563
|
+
deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1564
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1574
1565
|
}
|
|
1575
|
-
getcontentHaloRunV1alpha1Snapshot(
|
|
1576
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(this.axios, this.basePath));
|
|
1566
|
+
getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1567
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1577
1568
|
}
|
|
1578
|
-
listcontentHaloRunV1alpha1Snapshot(
|
|
1579
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1569
|
+
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
1570
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1580
1571
|
}
|
|
1581
|
-
updatecontentHaloRunV1alpha1Snapshot(
|
|
1582
|
-
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1572
|
+
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1573
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1583
1574
|
}
|
|
1584
1575
|
}
|
|
1576
|
+
|
|
1585
1577
|
const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
1586
1578
|
return {
|
|
1587
1579
|
createcontentHaloRunV1alpha1Tag: async (tag, options = {}) => {
|
|
@@ -1751,22 +1743,23 @@ const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, ax
|
|
|
1751
1743
|
};
|
|
1752
1744
|
};
|
|
1753
1745
|
class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
1754
|
-
createcontentHaloRunV1alpha1Tag(
|
|
1755
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(this.axios, this.basePath));
|
|
1746
|
+
createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
1747
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
1756
1748
|
}
|
|
1757
|
-
deletecontentHaloRunV1alpha1Tag(
|
|
1758
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(this.axios, this.basePath));
|
|
1749
|
+
deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
1750
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1759
1751
|
}
|
|
1760
|
-
getcontentHaloRunV1alpha1Tag(
|
|
1761
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(this.axios, this.basePath));
|
|
1752
|
+
getcontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
1753
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1762
1754
|
}
|
|
1763
|
-
listcontentHaloRunV1alpha1Tag(
|
|
1764
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1755
|
+
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
1756
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1765
1757
|
}
|
|
1766
|
-
updatecontentHaloRunV1alpha1Tag(
|
|
1767
|
-
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(this.axios, this.basePath));
|
|
1758
|
+
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
1759
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
1768
1760
|
}
|
|
1769
1761
|
}
|
|
1762
|
+
|
|
1770
1763
|
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
1771
1764
|
return {
|
|
1772
1765
|
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
@@ -1936,22 +1929,23 @@ const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath,
|
|
|
1936
1929
|
};
|
|
1937
1930
|
};
|
|
1938
1931
|
class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
1939
|
-
createpluginHaloRunV1alpha1Plugin(
|
|
1940
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(this.axios, this.basePath));
|
|
1932
|
+
createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
1933
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
1941
1934
|
}
|
|
1942
|
-
deletepluginHaloRunV1alpha1Plugin(
|
|
1943
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
1935
|
+
deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
1936
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1944
1937
|
}
|
|
1945
|
-
getpluginHaloRunV1alpha1Plugin(
|
|
1946
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
1938
|
+
getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
1939
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1947
1940
|
}
|
|
1948
|
-
listpluginHaloRunV1alpha1Plugin(
|
|
1949
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1941
|
+
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
1942
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1950
1943
|
}
|
|
1951
|
-
updatepluginHaloRunV1alpha1Plugin(
|
|
1952
|
-
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
|
|
1944
|
+
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
1945
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
1953
1946
|
}
|
|
1954
1947
|
}
|
|
1948
|
+
|
|
1955
1949
|
const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
|
|
1956
1950
|
return {
|
|
1957
1951
|
createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
|
|
@@ -2121,26 +2115,27 @@ const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, base
|
|
|
2121
2115
|
};
|
|
2122
2116
|
};
|
|
2123
2117
|
class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
2124
|
-
createpluginHaloRunV1alpha1ReverseProxy(
|
|
2125
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2118
|
+
createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
2119
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2126
2120
|
}
|
|
2127
|
-
deletepluginHaloRunV1alpha1ReverseProxy(
|
|
2128
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
2121
|
+
deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2122
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2129
2123
|
}
|
|
2130
|
-
getpluginHaloRunV1alpha1ReverseProxy(
|
|
2131
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
2124
|
+
getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2125
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2132
2126
|
}
|
|
2133
|
-
listpluginHaloRunV1alpha1ReverseProxy(
|
|
2134
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2127
|
+
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
2128
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2135
2129
|
}
|
|
2136
|
-
updatepluginHaloRunV1alpha1ReverseProxy(
|
|
2137
|
-
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2130
|
+
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2131
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2138
2132
|
}
|
|
2139
2133
|
}
|
|
2140
|
-
|
|
2134
|
+
|
|
2135
|
+
const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
2141
2136
|
return {
|
|
2142
|
-
|
|
2143
|
-
const localVarPath = `/apis/
|
|
2137
|
+
createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
|
|
2138
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
|
|
2144
2139
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2145
2140
|
let baseOptions;
|
|
2146
2141
|
if (configuration) {
|
|
@@ -2155,15 +2150,15 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2155
2150
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2156
2151
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2157
2152
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2158
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2153
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
|
|
2159
2154
|
return {
|
|
2160
2155
|
url: toPathString(localVarUrlObj),
|
|
2161
2156
|
options: localVarRequestOptions
|
|
2162
2157
|
};
|
|
2163
2158
|
},
|
|
2164
|
-
|
|
2165
|
-
assertParamExists("
|
|
2166
|
-
const localVarPath = `/apis/
|
|
2159
|
+
deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
2160
|
+
assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
|
|
2161
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2167
2162
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2168
2163
|
let baseOptions;
|
|
2169
2164
|
if (configuration) {
|
|
@@ -2182,9 +2177,9 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2182
2177
|
options: localVarRequestOptions
|
|
2183
2178
|
};
|
|
2184
2179
|
},
|
|
2185
|
-
|
|
2186
|
-
assertParamExists("
|
|
2187
|
-
const localVarPath = `/apis/
|
|
2180
|
+
getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
2181
|
+
assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
|
|
2182
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2188
2183
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2189
2184
|
let baseOptions;
|
|
2190
2185
|
if (configuration) {
|
|
@@ -2203,8 +2198,8 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2203
2198
|
options: localVarRequestOptions
|
|
2204
2199
|
};
|
|
2205
2200
|
},
|
|
2206
|
-
|
|
2207
|
-
const localVarPath = `/apis/
|
|
2201
|
+
liststorageHaloRunV1alpha1Attachment: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2202
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
|
|
2208
2203
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2209
2204
|
let baseOptions;
|
|
2210
2205
|
if (configuration) {
|
|
@@ -2235,9 +2230,53 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2235
2230
|
options: localVarRequestOptions
|
|
2236
2231
|
};
|
|
2237
2232
|
},
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
const
|
|
2233
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
2234
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
|
|
2235
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2236
|
+
let baseOptions;
|
|
2237
|
+
if (configuration) {
|
|
2238
|
+
baseOptions = configuration.baseOptions;
|
|
2239
|
+
}
|
|
2240
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2241
|
+
const localVarHeaderParameter = {};
|
|
2242
|
+
const localVarQueryParameter = {};
|
|
2243
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2244
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2245
|
+
if (policy !== void 0) {
|
|
2246
|
+
localVarQueryParameter["policy"] = policy;
|
|
2247
|
+
}
|
|
2248
|
+
if (displayName !== void 0) {
|
|
2249
|
+
localVarQueryParameter["displayName"] = displayName;
|
|
2250
|
+
}
|
|
2251
|
+
if (group !== void 0) {
|
|
2252
|
+
localVarQueryParameter["group"] = group;
|
|
2253
|
+
}
|
|
2254
|
+
if (uploadedBy !== void 0) {
|
|
2255
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2256
|
+
}
|
|
2257
|
+
if (size !== void 0) {
|
|
2258
|
+
localVarQueryParameter["size"] = size;
|
|
2259
|
+
}
|
|
2260
|
+
if (page !== void 0) {
|
|
2261
|
+
localVarQueryParameter["page"] = page;
|
|
2262
|
+
}
|
|
2263
|
+
if (labelSelector) {
|
|
2264
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2265
|
+
}
|
|
2266
|
+
if (fieldSelector) {
|
|
2267
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2268
|
+
}
|
|
2269
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2270
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2271
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2272
|
+
return {
|
|
2273
|
+
url: toPathString(localVarUrlObj),
|
|
2274
|
+
options: localVarRequestOptions
|
|
2275
|
+
};
|
|
2276
|
+
},
|
|
2277
|
+
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
2278
|
+
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
2279
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2241
2280
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2242
2281
|
let baseOptions;
|
|
2243
2282
|
if (configuration) {
|
|
@@ -2252,7 +2291,41 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2252
2291
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2253
2292
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2254
2293
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2255
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2294
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
|
|
2295
|
+
return {
|
|
2296
|
+
url: toPathString(localVarUrlObj),
|
|
2297
|
+
options: localVarRequestOptions
|
|
2298
|
+
};
|
|
2299
|
+
},
|
|
2300
|
+
uploadAttachment: async (file, policyName, groupName, options = {}) => {
|
|
2301
|
+
assertParamExists("uploadAttachment", "file", file);
|
|
2302
|
+
assertParamExists("uploadAttachment", "policyName", policyName);
|
|
2303
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments/upload`;
|
|
2304
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2305
|
+
let baseOptions;
|
|
2306
|
+
if (configuration) {
|
|
2307
|
+
baseOptions = configuration.baseOptions;
|
|
2308
|
+
}
|
|
2309
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2310
|
+
const localVarHeaderParameter = {};
|
|
2311
|
+
const localVarQueryParameter = {};
|
|
2312
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
2313
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2314
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2315
|
+
if (file !== void 0) {
|
|
2316
|
+
localVarFormParams.append("file", file);
|
|
2317
|
+
}
|
|
2318
|
+
if (policyName !== void 0) {
|
|
2319
|
+
localVarFormParams.append("policyName", policyName);
|
|
2320
|
+
}
|
|
2321
|
+
if (groupName !== void 0) {
|
|
2322
|
+
localVarFormParams.append("groupName", groupName);
|
|
2323
|
+
}
|
|
2324
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
2325
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2326
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2327
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2328
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
2256
2329
|
return {
|
|
2257
2330
|
url: toPathString(localVarUrlObj),
|
|
2258
2331
|
options: localVarRequestOptions
|
|
@@ -2260,72 +2333,93 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
2260
2333
|
}
|
|
2261
2334
|
};
|
|
2262
2335
|
};
|
|
2263
|
-
const
|
|
2264
|
-
const localVarAxiosParamCreator =
|
|
2336
|
+
const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
2337
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
2265
2338
|
return {
|
|
2266
|
-
async
|
|
2267
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2339
|
+
async createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2340
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(attachment, options);
|
|
2268
2341
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2269
2342
|
},
|
|
2270
|
-
async
|
|
2271
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2343
|
+
async deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Attachment(name, options);
|
|
2272
2345
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2273
2346
|
},
|
|
2274
|
-
async
|
|
2275
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2347
|
+
async getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Attachment(name, options);
|
|
2276
2349
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2277
2350
|
},
|
|
2278
|
-
async
|
|
2279
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2351
|
+
async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2352
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
2280
2353
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2281
2354
|
},
|
|
2282
|
-
async
|
|
2283
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2355
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2356
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
2357
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2358
|
+
},
|
|
2359
|
+
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2360
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(name, attachment, options);
|
|
2361
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2362
|
+
},
|
|
2363
|
+
async uploadAttachment(file, policyName, groupName, options) {
|
|
2364
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
|
|
2284
2365
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2285
2366
|
}
|
|
2286
2367
|
};
|
|
2287
2368
|
};
|
|
2288
|
-
const
|
|
2289
|
-
const localVarFp =
|
|
2369
|
+
const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
2370
|
+
const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
2290
2371
|
return {
|
|
2291
|
-
|
|
2292
|
-
return localVarFp.
|
|
2372
|
+
createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2373
|
+
return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
|
|
2293
2374
|
},
|
|
2294
|
-
|
|
2295
|
-
return localVarFp.
|
|
2375
|
+
deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2376
|
+
return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
2296
2377
|
},
|
|
2297
|
-
|
|
2298
|
-
return localVarFp.
|
|
2378
|
+
getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2379
|
+
return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
2299
2380
|
},
|
|
2300
|
-
|
|
2301
|
-
return localVarFp.
|
|
2381
|
+
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2382
|
+
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2302
2383
|
},
|
|
2303
|
-
|
|
2304
|
-
return localVarFp.
|
|
2384
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
2385
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2386
|
+
},
|
|
2387
|
+
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2388
|
+
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
2389
|
+
},
|
|
2390
|
+
uploadAttachment(file, policyName, groupName, options) {
|
|
2391
|
+
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
2305
2392
|
}
|
|
2306
2393
|
};
|
|
2307
2394
|
};
|
|
2308
|
-
class
|
|
2309
|
-
|
|
2310
|
-
return
|
|
2395
|
+
class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
2396
|
+
createstorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
2397
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).createstorageHaloRunV1alpha1Attachment(requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
2398
|
+
}
|
|
2399
|
+
deletestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2400
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).deletestorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2401
|
+
}
|
|
2402
|
+
getstorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2403
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2311
2404
|
}
|
|
2312
|
-
|
|
2313
|
-
return
|
|
2405
|
+
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
2406
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2314
2407
|
}
|
|
2315
|
-
|
|
2316
|
-
return
|
|
2408
|
+
searchAttachments(requestParameters = {}, options) {
|
|
2409
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2317
2410
|
}
|
|
2318
|
-
|
|
2319
|
-
return
|
|
2411
|
+
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2412
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
2320
2413
|
}
|
|
2321
|
-
|
|
2322
|
-
return
|
|
2414
|
+
uploadAttachment(requestParameters, options) {
|
|
2415
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
2323
2416
|
}
|
|
2324
2417
|
}
|
|
2325
|
-
|
|
2418
|
+
|
|
2419
|
+
const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration) {
|
|
2326
2420
|
return {
|
|
2327
|
-
|
|
2328
|
-
const localVarPath = `/
|
|
2421
|
+
createstorageHaloRunV1alpha1Group: async (group, options = {}) => {
|
|
2422
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
|
|
2329
2423
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2330
2424
|
let baseOptions;
|
|
2331
2425
|
if (configuration) {
|
|
@@ -2340,15 +2434,15 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2340
2434
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2341
2435
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2342
2436
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2343
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2437
|
+
localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
|
|
2344
2438
|
return {
|
|
2345
2439
|
url: toPathString(localVarUrlObj),
|
|
2346
2440
|
options: localVarRequestOptions
|
|
2347
2441
|
};
|
|
2348
2442
|
},
|
|
2349
|
-
|
|
2350
|
-
assertParamExists("
|
|
2351
|
-
const localVarPath = `/
|
|
2443
|
+
deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
2444
|
+
assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
|
|
2445
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2352
2446
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2353
2447
|
let baseOptions;
|
|
2354
2448
|
if (configuration) {
|
|
@@ -2367,9 +2461,9 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2367
2461
|
options: localVarRequestOptions
|
|
2368
2462
|
};
|
|
2369
2463
|
},
|
|
2370
|
-
|
|
2371
|
-
assertParamExists("
|
|
2372
|
-
const localVarPath = `/
|
|
2464
|
+
getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
2465
|
+
assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
|
|
2466
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2373
2467
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2374
2468
|
let baseOptions;
|
|
2375
2469
|
if (configuration) {
|
|
@@ -2388,8 +2482,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2388
2482
|
options: localVarRequestOptions
|
|
2389
2483
|
};
|
|
2390
2484
|
},
|
|
2391
|
-
|
|
2392
|
-
const localVarPath = `/
|
|
2485
|
+
liststorageHaloRunV1alpha1Group: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2486
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
|
|
2393
2487
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2394
2488
|
let baseOptions;
|
|
2395
2489
|
if (configuration) {
|
|
@@ -2420,9 +2514,9 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2420
2514
|
options: localVarRequestOptions
|
|
2421
2515
|
};
|
|
2422
2516
|
},
|
|
2423
|
-
|
|
2424
|
-
assertParamExists("
|
|
2425
|
-
const localVarPath = `/
|
|
2517
|
+
updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
|
|
2518
|
+
assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
|
|
2519
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2426
2520
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2427
2521
|
let baseOptions;
|
|
2428
2522
|
if (configuration) {
|
|
@@ -2437,7 +2531,7 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2437
2531
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2438
2532
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2439
2533
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2440
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2534
|
+
localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
|
|
2441
2535
|
return {
|
|
2442
2536
|
url: toPathString(localVarUrlObj),
|
|
2443
2537
|
options: localVarRequestOptions
|
|
@@ -2445,72 +2539,73 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
2445
2539
|
}
|
|
2446
2540
|
};
|
|
2447
2541
|
};
|
|
2448
|
-
const
|
|
2449
|
-
const localVarAxiosParamCreator =
|
|
2542
|
+
const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
2543
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator(configuration);
|
|
2450
2544
|
return {
|
|
2451
|
-
async
|
|
2452
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2545
|
+
async createstorageHaloRunV1alpha1Group(group, options) {
|
|
2546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Group(group, options);
|
|
2453
2547
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2454
2548
|
},
|
|
2455
|
-
async
|
|
2456
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2549
|
+
async deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Group(name, options);
|
|
2457
2551
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2458
2552
|
},
|
|
2459
|
-
async
|
|
2460
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2553
|
+
async getstorageHaloRunV1alpha1Group(name, options) {
|
|
2554
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Group(name, options);
|
|
2461
2555
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2462
2556
|
},
|
|
2463
|
-
async
|
|
2464
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2557
|
+
async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2558
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options);
|
|
2465
2559
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2466
2560
|
},
|
|
2467
|
-
async
|
|
2468
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2561
|
+
async updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2562
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Group(name, group, options);
|
|
2469
2563
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2470
2564
|
}
|
|
2471
2565
|
};
|
|
2472
2566
|
};
|
|
2473
|
-
const
|
|
2474
|
-
const localVarFp =
|
|
2567
|
+
const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
|
|
2568
|
+
const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
|
|
2475
2569
|
return {
|
|
2476
|
-
|
|
2477
|
-
return localVarFp.
|
|
2570
|
+
createstorageHaloRunV1alpha1Group(group, options) {
|
|
2571
|
+
return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
|
|
2478
2572
|
},
|
|
2479
|
-
|
|
2480
|
-
return localVarFp.
|
|
2573
|
+
deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2574
|
+
return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
2481
2575
|
},
|
|
2482
|
-
|
|
2483
|
-
return localVarFp.
|
|
2576
|
+
getstorageHaloRunV1alpha1Group(name, options) {
|
|
2577
|
+
return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
2484
2578
|
},
|
|
2485
|
-
|
|
2486
|
-
return localVarFp.
|
|
2579
|
+
liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2580
|
+
return localVarFp.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2487
2581
|
},
|
|
2488
|
-
|
|
2489
|
-
return localVarFp.
|
|
2582
|
+
updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2583
|
+
return localVarFp.updatestorageHaloRunV1alpha1Group(name, group, options).then((request) => request(axios, basePath));
|
|
2490
2584
|
}
|
|
2491
2585
|
};
|
|
2492
2586
|
};
|
|
2493
|
-
class
|
|
2494
|
-
|
|
2495
|
-
return
|
|
2587
|
+
class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
|
|
2588
|
+
createstorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
2589
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).createstorageHaloRunV1alpha1Group(requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
2496
2590
|
}
|
|
2497
|
-
|
|
2498
|
-
return
|
|
2591
|
+
deletestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2592
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).deletestorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2499
2593
|
}
|
|
2500
|
-
|
|
2501
|
-
return
|
|
2594
|
+
getstorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2595
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2502
2596
|
}
|
|
2503
|
-
|
|
2504
|
-
return
|
|
2597
|
+
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
2598
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2505
2599
|
}
|
|
2506
|
-
|
|
2507
|
-
return
|
|
2600
|
+
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2601
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
2508
2602
|
}
|
|
2509
2603
|
}
|
|
2510
|
-
|
|
2604
|
+
|
|
2605
|
+
const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration) {
|
|
2511
2606
|
return {
|
|
2512
|
-
|
|
2513
|
-
const localVarPath = `/
|
|
2607
|
+
createstorageHaloRunV1alpha1Policy: async (policy, options = {}) => {
|
|
2608
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
|
|
2514
2609
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2515
2610
|
let baseOptions;
|
|
2516
2611
|
if (configuration) {
|
|
@@ -2525,15 +2620,15 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2525
2620
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2526
2621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2527
2622
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2528
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2623
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
|
|
2529
2624
|
return {
|
|
2530
2625
|
url: toPathString(localVarUrlObj),
|
|
2531
2626
|
options: localVarRequestOptions
|
|
2532
2627
|
};
|
|
2533
2628
|
},
|
|
2534
|
-
|
|
2535
|
-
assertParamExists("
|
|
2536
|
-
const localVarPath = `/
|
|
2629
|
+
deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
2630
|
+
assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
|
|
2631
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2537
2632
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2538
2633
|
let baseOptions;
|
|
2539
2634
|
if (configuration) {
|
|
@@ -2552,9 +2647,9 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2552
2647
|
options: localVarRequestOptions
|
|
2553
2648
|
};
|
|
2554
2649
|
},
|
|
2555
|
-
|
|
2556
|
-
assertParamExists("
|
|
2557
|
-
const localVarPath = `/
|
|
2650
|
+
getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
2651
|
+
assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
|
|
2652
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2558
2653
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2559
2654
|
let baseOptions;
|
|
2560
2655
|
if (configuration) {
|
|
@@ -2573,8 +2668,8 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2573
2668
|
options: localVarRequestOptions
|
|
2574
2669
|
};
|
|
2575
2670
|
},
|
|
2576
|
-
|
|
2577
|
-
const localVarPath = `/
|
|
2671
|
+
liststorageHaloRunV1alpha1Policy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2672
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
|
|
2578
2673
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2579
2674
|
let baseOptions;
|
|
2580
2675
|
if (configuration) {
|
|
@@ -2605,9 +2700,9 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2605
2700
|
options: localVarRequestOptions
|
|
2606
2701
|
};
|
|
2607
2702
|
},
|
|
2608
|
-
|
|
2609
|
-
assertParamExists("
|
|
2610
|
-
const localVarPath = `/
|
|
2703
|
+
updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
|
|
2704
|
+
assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
|
|
2705
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2611
2706
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2612
2707
|
let baseOptions;
|
|
2613
2708
|
if (configuration) {
|
|
@@ -2622,7 +2717,7 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2622
2717
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2623
2718
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2624
2719
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2625
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2720
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
|
|
2626
2721
|
return {
|
|
2627
2722
|
url: toPathString(localVarUrlObj),
|
|
2628
2723
|
options: localVarRequestOptions
|
|
@@ -2630,72 +2725,73 @@ const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
|
2630
2725
|
}
|
|
2631
2726
|
};
|
|
2632
2727
|
};
|
|
2633
|
-
const
|
|
2634
|
-
const localVarAxiosParamCreator =
|
|
2728
|
+
const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
2729
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator(configuration);
|
|
2635
2730
|
return {
|
|
2636
|
-
async
|
|
2637
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2731
|
+
async createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
2732
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Policy(policy, options);
|
|
2638
2733
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2639
2734
|
},
|
|
2640
|
-
async
|
|
2641
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2735
|
+
async deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
2736
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Policy(name, options);
|
|
2642
2737
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2643
2738
|
},
|
|
2644
|
-
async
|
|
2645
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2739
|
+
async getstorageHaloRunV1alpha1Policy(name, options) {
|
|
2740
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Policy(name, options);
|
|
2646
2741
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2647
2742
|
},
|
|
2648
|
-
async
|
|
2649
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2743
|
+
async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
2744
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options);
|
|
2650
2745
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2651
2746
|
},
|
|
2652
|
-
async
|
|
2653
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2747
|
+
async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
2748
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(name, policy, options);
|
|
2654
2749
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2655
2750
|
}
|
|
2656
2751
|
};
|
|
2657
2752
|
};
|
|
2658
|
-
const
|
|
2659
|
-
const localVarFp =
|
|
2753
|
+
const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
|
|
2754
|
+
const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
|
|
2660
2755
|
return {
|
|
2661
|
-
|
|
2662
|
-
return localVarFp.
|
|
2756
|
+
createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
2757
|
+
return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
|
|
2663
2758
|
},
|
|
2664
|
-
|
|
2665
|
-
return localVarFp.
|
|
2759
|
+
deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
2760
|
+
return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
2666
2761
|
},
|
|
2667
|
-
|
|
2668
|
-
return localVarFp.
|
|
2762
|
+
getstorageHaloRunV1alpha1Policy(name, options) {
|
|
2763
|
+
return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
2669
2764
|
},
|
|
2670
|
-
|
|
2671
|
-
return localVarFp.
|
|
2765
|
+
liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
2766
|
+
return localVarFp.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2672
2767
|
},
|
|
2673
|
-
|
|
2674
|
-
return localVarFp.
|
|
2768
|
+
updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
2769
|
+
return localVarFp.updatestorageHaloRunV1alpha1Policy(name, policy, options).then((request) => request(axios, basePath));
|
|
2675
2770
|
}
|
|
2676
2771
|
};
|
|
2677
2772
|
};
|
|
2678
|
-
class
|
|
2679
|
-
|
|
2680
|
-
return
|
|
2773
|
+
class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
|
|
2774
|
+
createstorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
2775
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).createstorageHaloRunV1alpha1Policy(requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
2681
2776
|
}
|
|
2682
|
-
|
|
2683
|
-
return
|
|
2777
|
+
deletestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
2778
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).deletestorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2684
2779
|
}
|
|
2685
|
-
|
|
2686
|
-
return
|
|
2780
|
+
getstorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
2781
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2687
2782
|
}
|
|
2688
|
-
|
|
2689
|
-
return
|
|
2783
|
+
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
2784
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2690
2785
|
}
|
|
2691
|
-
|
|
2692
|
-
return
|
|
2786
|
+
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
2787
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
2693
2788
|
}
|
|
2694
2789
|
}
|
|
2695
|
-
|
|
2790
|
+
|
|
2791
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(configuration) {
|
|
2696
2792
|
return {
|
|
2697
|
-
|
|
2698
|
-
const localVarPath = `/
|
|
2793
|
+
createstorageHaloRunV1alpha1PolicyTemplate: async (policyTemplate, options = {}) => {
|
|
2794
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
|
|
2699
2795
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2700
2796
|
let baseOptions;
|
|
2701
2797
|
if (configuration) {
|
|
@@ -2710,15 +2806,15 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2710
2806
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2711
2807
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2712
2808
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2713
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2809
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
|
|
2714
2810
|
return {
|
|
2715
2811
|
url: toPathString(localVarUrlObj),
|
|
2716
2812
|
options: localVarRequestOptions
|
|
2717
2813
|
};
|
|
2718
2814
|
},
|
|
2719
|
-
|
|
2720
|
-
assertParamExists("
|
|
2721
|
-
const localVarPath = `/
|
|
2815
|
+
deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
2816
|
+
assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
2817
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2722
2818
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2723
2819
|
let baseOptions;
|
|
2724
2820
|
if (configuration) {
|
|
@@ -2737,9 +2833,9 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2737
2833
|
options: localVarRequestOptions
|
|
2738
2834
|
};
|
|
2739
2835
|
},
|
|
2740
|
-
|
|
2741
|
-
assertParamExists("
|
|
2742
|
-
const localVarPath = `/
|
|
2836
|
+
getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
2837
|
+
assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
2838
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2743
2839
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2744
2840
|
let baseOptions;
|
|
2745
2841
|
if (configuration) {
|
|
@@ -2758,8 +2854,8 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2758
2854
|
options: localVarRequestOptions
|
|
2759
2855
|
};
|
|
2760
2856
|
},
|
|
2761
|
-
|
|
2762
|
-
const localVarPath = `/
|
|
2857
|
+
liststorageHaloRunV1alpha1PolicyTemplate: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2858
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
|
|
2763
2859
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2764
2860
|
let baseOptions;
|
|
2765
2861
|
if (configuration) {
|
|
@@ -2790,9 +2886,9 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2790
2886
|
options: localVarRequestOptions
|
|
2791
2887
|
};
|
|
2792
2888
|
},
|
|
2793
|
-
|
|
2794
|
-
assertParamExists("
|
|
2795
|
-
const localVarPath = `/
|
|
2889
|
+
updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
|
|
2890
|
+
assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
2891
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2796
2892
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2797
2893
|
let baseOptions;
|
|
2798
2894
|
if (configuration) {
|
|
@@ -2807,7 +2903,7 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2807
2903
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2808
2904
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2809
2905
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2810
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2906
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
|
|
2811
2907
|
return {
|
|
2812
2908
|
url: toPathString(localVarUrlObj),
|
|
2813
2909
|
options: localVarRequestOptions
|
|
@@ -2815,35 +2911,779 @@ const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
|
2815
2911
|
}
|
|
2816
2912
|
};
|
|
2817
2913
|
};
|
|
2818
|
-
const
|
|
2819
|
-
const localVarAxiosParamCreator =
|
|
2914
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
2915
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
|
|
2820
2916
|
return {
|
|
2821
|
-
async
|
|
2822
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2917
|
+
async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
2918
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options);
|
|
2823
2919
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2824
2920
|
},
|
|
2825
|
-
async
|
|
2826
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2921
|
+
async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
2922
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(name, options);
|
|
2827
2923
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2828
2924
|
},
|
|
2829
|
-
async
|
|
2830
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2925
|
+
async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
2926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1PolicyTemplate(name, options);
|
|
2831
2927
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2832
2928
|
},
|
|
2833
|
-
async
|
|
2834
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2929
|
+
async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
2930
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options);
|
|
2835
2931
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2836
2932
|
},
|
|
2837
|
-
async
|
|
2838
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2933
|
+
async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
2934
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options);
|
|
2839
2935
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2840
2936
|
}
|
|
2841
2937
|
};
|
|
2842
2938
|
};
|
|
2843
|
-
const
|
|
2844
|
-
const localVarFp =
|
|
2939
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
|
|
2940
|
+
const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
|
|
2845
2941
|
return {
|
|
2846
|
-
|
|
2942
|
+
createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
2943
|
+
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
|
|
2944
|
+
},
|
|
2945
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
2946
|
+
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
2947
|
+
},
|
|
2948
|
+
getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
2949
|
+
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
2950
|
+
},
|
|
2951
|
+
liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
2952
|
+
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2953
|
+
},
|
|
2954
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
2955
|
+
return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options).then((request) => request(axios, basePath));
|
|
2956
|
+
}
|
|
2957
|
+
};
|
|
2958
|
+
};
|
|
2959
|
+
class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
|
|
2960
|
+
createstorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
2961
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).createstorageHaloRunV1alpha1PolicyTemplate(requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
2962
|
+
}
|
|
2963
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
2964
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2965
|
+
}
|
|
2966
|
+
getstorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
2967
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2968
|
+
}
|
|
2969
|
+
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
2970
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2971
|
+
}
|
|
2972
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
2973
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
2974
|
+
}
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
2978
|
+
return {
|
|
2979
|
+
createthemeHaloRunV1alpha1Theme: async (theme, options = {}) => {
|
|
2980
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
2981
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2982
|
+
let baseOptions;
|
|
2983
|
+
if (configuration) {
|
|
2984
|
+
baseOptions = configuration.baseOptions;
|
|
2985
|
+
}
|
|
2986
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2987
|
+
const localVarHeaderParameter = {};
|
|
2988
|
+
const localVarQueryParameter = {};
|
|
2989
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2990
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2991
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2992
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2993
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2994
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2995
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
2996
|
+
return {
|
|
2997
|
+
url: toPathString(localVarUrlObj),
|
|
2998
|
+
options: localVarRequestOptions
|
|
2999
|
+
};
|
|
3000
|
+
},
|
|
3001
|
+
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
3002
|
+
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
3003
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3004
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3005
|
+
let baseOptions;
|
|
3006
|
+
if (configuration) {
|
|
3007
|
+
baseOptions = configuration.baseOptions;
|
|
3008
|
+
}
|
|
3009
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3010
|
+
const localVarHeaderParameter = {};
|
|
3011
|
+
const localVarQueryParameter = {};
|
|
3012
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3013
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3014
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3015
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3016
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3017
|
+
return {
|
|
3018
|
+
url: toPathString(localVarUrlObj),
|
|
3019
|
+
options: localVarRequestOptions
|
|
3020
|
+
};
|
|
3021
|
+
},
|
|
3022
|
+
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
3023
|
+
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
3024
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3025
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3026
|
+
let baseOptions;
|
|
3027
|
+
if (configuration) {
|
|
3028
|
+
baseOptions = configuration.baseOptions;
|
|
3029
|
+
}
|
|
3030
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3031
|
+
const localVarHeaderParameter = {};
|
|
3032
|
+
const localVarQueryParameter = {};
|
|
3033
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3034
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3035
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3036
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3037
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3038
|
+
return {
|
|
3039
|
+
url: toPathString(localVarUrlObj),
|
|
3040
|
+
options: localVarRequestOptions
|
|
3041
|
+
};
|
|
3042
|
+
},
|
|
3043
|
+
listthemeHaloRunV1alpha1Theme: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3044
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
3045
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3046
|
+
let baseOptions;
|
|
3047
|
+
if (configuration) {
|
|
3048
|
+
baseOptions = configuration.baseOptions;
|
|
3049
|
+
}
|
|
3050
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3051
|
+
const localVarHeaderParameter = {};
|
|
3052
|
+
const localVarQueryParameter = {};
|
|
3053
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3054
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3055
|
+
if (page !== void 0) {
|
|
3056
|
+
localVarQueryParameter["page"] = page;
|
|
3057
|
+
}
|
|
3058
|
+
if (size !== void 0) {
|
|
3059
|
+
localVarQueryParameter["size"] = size;
|
|
3060
|
+
}
|
|
3061
|
+
if (labelSelector) {
|
|
3062
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3063
|
+
}
|
|
3064
|
+
if (fieldSelector) {
|
|
3065
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3066
|
+
}
|
|
3067
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3068
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3069
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3070
|
+
return {
|
|
3071
|
+
url: toPathString(localVarUrlObj),
|
|
3072
|
+
options: localVarRequestOptions
|
|
3073
|
+
};
|
|
3074
|
+
},
|
|
3075
|
+
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
3076
|
+
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
3077
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3078
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3079
|
+
let baseOptions;
|
|
3080
|
+
if (configuration) {
|
|
3081
|
+
baseOptions = configuration.baseOptions;
|
|
3082
|
+
}
|
|
3083
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3084
|
+
const localVarHeaderParameter = {};
|
|
3085
|
+
const localVarQueryParameter = {};
|
|
3086
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3087
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3088
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3089
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3090
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3091
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3092
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
3093
|
+
return {
|
|
3094
|
+
url: toPathString(localVarUrlObj),
|
|
3095
|
+
options: localVarRequestOptions
|
|
3096
|
+
};
|
|
3097
|
+
}
|
|
3098
|
+
};
|
|
3099
|
+
};
|
|
3100
|
+
const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
3101
|
+
const localVarAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
3102
|
+
return {
|
|
3103
|
+
async createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
3104
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createthemeHaloRunV1alpha1Theme(theme, options);
|
|
3105
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3106
|
+
},
|
|
3107
|
+
async deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
3108
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletethemeHaloRunV1alpha1Theme(name, options);
|
|
3109
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3110
|
+
},
|
|
3111
|
+
async getthemeHaloRunV1alpha1Theme(name, options) {
|
|
3112
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getthemeHaloRunV1alpha1Theme(name, options);
|
|
3113
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3114
|
+
},
|
|
3115
|
+
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
3116
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options);
|
|
3117
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3118
|
+
},
|
|
3119
|
+
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
3120
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatethemeHaloRunV1alpha1Theme(name, theme, options);
|
|
3121
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3122
|
+
}
|
|
3123
|
+
};
|
|
3124
|
+
};
|
|
3125
|
+
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
3126
|
+
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
3127
|
+
return {
|
|
3128
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
3129
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
3130
|
+
},
|
|
3131
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
3132
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
3133
|
+
},
|
|
3134
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
3135
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
3136
|
+
},
|
|
3137
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
3138
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3139
|
+
},
|
|
3140
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
3141
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(axios, basePath));
|
|
3142
|
+
}
|
|
3143
|
+
};
|
|
3144
|
+
};
|
|
3145
|
+
class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
3146
|
+
createthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
3147
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).createthemeHaloRunV1alpha1Theme(requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
3148
|
+
}
|
|
3149
|
+
deletethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
3150
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).deletethemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3151
|
+
}
|
|
3152
|
+
getthemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
3153
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3154
|
+
}
|
|
3155
|
+
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
3156
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3157
|
+
}
|
|
3158
|
+
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
3159
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
3160
|
+
}
|
|
3161
|
+
}
|
|
3162
|
+
|
|
3163
|
+
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
3164
|
+
return {
|
|
3165
|
+
createv1alpha1ConfigMap: async (configMap, options = {}) => {
|
|
3166
|
+
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
3167
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3168
|
+
let baseOptions;
|
|
3169
|
+
if (configuration) {
|
|
3170
|
+
baseOptions = configuration.baseOptions;
|
|
3171
|
+
}
|
|
3172
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3173
|
+
const localVarHeaderParameter = {};
|
|
3174
|
+
const localVarQueryParameter = {};
|
|
3175
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3176
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3177
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3178
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3179
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3180
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3181
|
+
localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
|
|
3182
|
+
return {
|
|
3183
|
+
url: toPathString(localVarUrlObj),
|
|
3184
|
+
options: localVarRequestOptions
|
|
3185
|
+
};
|
|
3186
|
+
},
|
|
3187
|
+
deletev1alpha1ConfigMap: async (name, options = {}) => {
|
|
3188
|
+
assertParamExists("deletev1alpha1ConfigMap", "name", name);
|
|
3189
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3190
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3191
|
+
let baseOptions;
|
|
3192
|
+
if (configuration) {
|
|
3193
|
+
baseOptions = configuration.baseOptions;
|
|
3194
|
+
}
|
|
3195
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3196
|
+
const localVarHeaderParameter = {};
|
|
3197
|
+
const localVarQueryParameter = {};
|
|
3198
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3199
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3202
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3203
|
+
return {
|
|
3204
|
+
url: toPathString(localVarUrlObj),
|
|
3205
|
+
options: localVarRequestOptions
|
|
3206
|
+
};
|
|
3207
|
+
},
|
|
3208
|
+
getv1alpha1ConfigMap: async (name, options = {}) => {
|
|
3209
|
+
assertParamExists("getv1alpha1ConfigMap", "name", name);
|
|
3210
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3211
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3212
|
+
let baseOptions;
|
|
3213
|
+
if (configuration) {
|
|
3214
|
+
baseOptions = configuration.baseOptions;
|
|
3215
|
+
}
|
|
3216
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3217
|
+
const localVarHeaderParameter = {};
|
|
3218
|
+
const localVarQueryParameter = {};
|
|
3219
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3220
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3221
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3222
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3223
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3224
|
+
return {
|
|
3225
|
+
url: toPathString(localVarUrlObj),
|
|
3226
|
+
options: localVarRequestOptions
|
|
3227
|
+
};
|
|
3228
|
+
},
|
|
3229
|
+
listv1alpha1ConfigMap: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3230
|
+
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
3231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3232
|
+
let baseOptions;
|
|
3233
|
+
if (configuration) {
|
|
3234
|
+
baseOptions = configuration.baseOptions;
|
|
3235
|
+
}
|
|
3236
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3237
|
+
const localVarHeaderParameter = {};
|
|
3238
|
+
const localVarQueryParameter = {};
|
|
3239
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3240
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3241
|
+
if (page !== void 0) {
|
|
3242
|
+
localVarQueryParameter["page"] = page;
|
|
3243
|
+
}
|
|
3244
|
+
if (size !== void 0) {
|
|
3245
|
+
localVarQueryParameter["size"] = size;
|
|
3246
|
+
}
|
|
3247
|
+
if (labelSelector) {
|
|
3248
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3249
|
+
}
|
|
3250
|
+
if (fieldSelector) {
|
|
3251
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3252
|
+
}
|
|
3253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3254
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3255
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3256
|
+
return {
|
|
3257
|
+
url: toPathString(localVarUrlObj),
|
|
3258
|
+
options: localVarRequestOptions
|
|
3259
|
+
};
|
|
3260
|
+
},
|
|
3261
|
+
updatev1alpha1ConfigMap: async (name, configMap, options = {}) => {
|
|
3262
|
+
assertParamExists("updatev1alpha1ConfigMap", "name", name);
|
|
3263
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3264
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3265
|
+
let baseOptions;
|
|
3266
|
+
if (configuration) {
|
|
3267
|
+
baseOptions = configuration.baseOptions;
|
|
3268
|
+
}
|
|
3269
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3270
|
+
const localVarHeaderParameter = {};
|
|
3271
|
+
const localVarQueryParameter = {};
|
|
3272
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3273
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3274
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3275
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3277
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3278
|
+
localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
|
|
3279
|
+
return {
|
|
3280
|
+
url: toPathString(localVarUrlObj),
|
|
3281
|
+
options: localVarRequestOptions
|
|
3282
|
+
};
|
|
3283
|
+
}
|
|
3284
|
+
};
|
|
3285
|
+
};
|
|
3286
|
+
const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
3287
|
+
const localVarAxiosParamCreator = V1alpha1ConfigMapApiAxiosParamCreator(configuration);
|
|
3288
|
+
return {
|
|
3289
|
+
async createv1alpha1ConfigMap(configMap, options) {
|
|
3290
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1ConfigMap(configMap, options);
|
|
3291
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3292
|
+
},
|
|
3293
|
+
async deletev1alpha1ConfigMap(name, options) {
|
|
3294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1ConfigMap(name, options);
|
|
3295
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3296
|
+
},
|
|
3297
|
+
async getv1alpha1ConfigMap(name, options) {
|
|
3298
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1ConfigMap(name, options);
|
|
3299
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3300
|
+
},
|
|
3301
|
+
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
3302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options);
|
|
3303
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3304
|
+
},
|
|
3305
|
+
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
3306
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1ConfigMap(name, configMap, options);
|
|
3307
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3308
|
+
}
|
|
3309
|
+
};
|
|
3310
|
+
};
|
|
3311
|
+
const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
3312
|
+
const localVarFp = V1alpha1ConfigMapApiFp(configuration);
|
|
3313
|
+
return {
|
|
3314
|
+
createv1alpha1ConfigMap(configMap, options) {
|
|
3315
|
+
return localVarFp.createv1alpha1ConfigMap(configMap, options).then((request) => request(axios, basePath));
|
|
3316
|
+
},
|
|
3317
|
+
deletev1alpha1ConfigMap(name, options) {
|
|
3318
|
+
return localVarFp.deletev1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
3319
|
+
},
|
|
3320
|
+
getv1alpha1ConfigMap(name, options) {
|
|
3321
|
+
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
3322
|
+
},
|
|
3323
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
3324
|
+
return localVarFp.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3325
|
+
},
|
|
3326
|
+
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
3327
|
+
return localVarFp.updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(axios, basePath));
|
|
3328
|
+
}
|
|
3329
|
+
};
|
|
3330
|
+
};
|
|
3331
|
+
class V1alpha1ConfigMapApi extends BaseAPI {
|
|
3332
|
+
createv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
3333
|
+
return V1alpha1ConfigMapApiFp(this.configuration).createv1alpha1ConfigMap(requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
3334
|
+
}
|
|
3335
|
+
deletev1alpha1ConfigMap(requestParameters, options) {
|
|
3336
|
+
return V1alpha1ConfigMapApiFp(this.configuration).deletev1alpha1ConfigMap(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3337
|
+
}
|
|
3338
|
+
getv1alpha1ConfigMap(requestParameters, options) {
|
|
3339
|
+
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3340
|
+
}
|
|
3341
|
+
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
3342
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3343
|
+
}
|
|
3344
|
+
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
3345
|
+
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
3346
|
+
}
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3349
|
+
const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
3350
|
+
return {
|
|
3351
|
+
createv1alpha1Menu: async (menu, options = {}) => {
|
|
3352
|
+
const localVarPath = `/api/v1alpha1/menus`;
|
|
3353
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3354
|
+
let baseOptions;
|
|
3355
|
+
if (configuration) {
|
|
3356
|
+
baseOptions = configuration.baseOptions;
|
|
3357
|
+
}
|
|
3358
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3359
|
+
const localVarHeaderParameter = {};
|
|
3360
|
+
const localVarQueryParameter = {};
|
|
3361
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3362
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3363
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3364
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3365
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3366
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3367
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menu, localVarRequestOptions, configuration);
|
|
3368
|
+
return {
|
|
3369
|
+
url: toPathString(localVarUrlObj),
|
|
3370
|
+
options: localVarRequestOptions
|
|
3371
|
+
};
|
|
3372
|
+
},
|
|
3373
|
+
deletev1alpha1Menu: async (name, options = {}) => {
|
|
3374
|
+
assertParamExists("deletev1alpha1Menu", "name", name);
|
|
3375
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3376
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3377
|
+
let baseOptions;
|
|
3378
|
+
if (configuration) {
|
|
3379
|
+
baseOptions = configuration.baseOptions;
|
|
3380
|
+
}
|
|
3381
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3382
|
+
const localVarHeaderParameter = {};
|
|
3383
|
+
const localVarQueryParameter = {};
|
|
3384
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3385
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3386
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3387
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3388
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3389
|
+
return {
|
|
3390
|
+
url: toPathString(localVarUrlObj),
|
|
3391
|
+
options: localVarRequestOptions
|
|
3392
|
+
};
|
|
3393
|
+
},
|
|
3394
|
+
getv1alpha1Menu: async (name, options = {}) => {
|
|
3395
|
+
assertParamExists("getv1alpha1Menu", "name", name);
|
|
3396
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3397
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3398
|
+
let baseOptions;
|
|
3399
|
+
if (configuration) {
|
|
3400
|
+
baseOptions = configuration.baseOptions;
|
|
3401
|
+
}
|
|
3402
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3403
|
+
const localVarHeaderParameter = {};
|
|
3404
|
+
const localVarQueryParameter = {};
|
|
3405
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3406
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3407
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3408
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3409
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3410
|
+
return {
|
|
3411
|
+
url: toPathString(localVarUrlObj),
|
|
3412
|
+
options: localVarRequestOptions
|
|
3413
|
+
};
|
|
3414
|
+
},
|
|
3415
|
+
listv1alpha1Menu: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3416
|
+
const localVarPath = `/api/v1alpha1/menus`;
|
|
3417
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3418
|
+
let baseOptions;
|
|
3419
|
+
if (configuration) {
|
|
3420
|
+
baseOptions = configuration.baseOptions;
|
|
3421
|
+
}
|
|
3422
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3423
|
+
const localVarHeaderParameter = {};
|
|
3424
|
+
const localVarQueryParameter = {};
|
|
3425
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3426
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3427
|
+
if (page !== void 0) {
|
|
3428
|
+
localVarQueryParameter["page"] = page;
|
|
3429
|
+
}
|
|
3430
|
+
if (size !== void 0) {
|
|
3431
|
+
localVarQueryParameter["size"] = size;
|
|
3432
|
+
}
|
|
3433
|
+
if (labelSelector) {
|
|
3434
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3435
|
+
}
|
|
3436
|
+
if (fieldSelector) {
|
|
3437
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3438
|
+
}
|
|
3439
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3440
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3441
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3442
|
+
return {
|
|
3443
|
+
url: toPathString(localVarUrlObj),
|
|
3444
|
+
options: localVarRequestOptions
|
|
3445
|
+
};
|
|
3446
|
+
},
|
|
3447
|
+
updatev1alpha1Menu: async (name, menu, options = {}) => {
|
|
3448
|
+
assertParamExists("updatev1alpha1Menu", "name", name);
|
|
3449
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3450
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3451
|
+
let baseOptions;
|
|
3452
|
+
if (configuration) {
|
|
3453
|
+
baseOptions = configuration.baseOptions;
|
|
3454
|
+
}
|
|
3455
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3456
|
+
const localVarHeaderParameter = {};
|
|
3457
|
+
const localVarQueryParameter = {};
|
|
3458
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3459
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3460
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3461
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3462
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3463
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3464
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menu, localVarRequestOptions, configuration);
|
|
3465
|
+
return {
|
|
3466
|
+
url: toPathString(localVarUrlObj),
|
|
3467
|
+
options: localVarRequestOptions
|
|
3468
|
+
};
|
|
3469
|
+
}
|
|
3470
|
+
};
|
|
3471
|
+
};
|
|
3472
|
+
const V1alpha1MenuApiFp = function(configuration) {
|
|
3473
|
+
const localVarAxiosParamCreator = V1alpha1MenuApiAxiosParamCreator(configuration);
|
|
3474
|
+
return {
|
|
3475
|
+
async createv1alpha1Menu(menu, options) {
|
|
3476
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1Menu(menu, options);
|
|
3477
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3478
|
+
},
|
|
3479
|
+
async deletev1alpha1Menu(name, options) {
|
|
3480
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1Menu(name, options);
|
|
3481
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3482
|
+
},
|
|
3483
|
+
async getv1alpha1Menu(name, options) {
|
|
3484
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Menu(name, options);
|
|
3485
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3486
|
+
},
|
|
3487
|
+
async listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
3488
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(page, size, labelSelector, fieldSelector, options);
|
|
3489
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3490
|
+
},
|
|
3491
|
+
async updatev1alpha1Menu(name, menu, options) {
|
|
3492
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1Menu(name, menu, options);
|
|
3493
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3494
|
+
}
|
|
3495
|
+
};
|
|
3496
|
+
};
|
|
3497
|
+
const V1alpha1MenuApiFactory = function(configuration, basePath, axios) {
|
|
3498
|
+
const localVarFp = V1alpha1MenuApiFp(configuration);
|
|
3499
|
+
return {
|
|
3500
|
+
createv1alpha1Menu(menu, options) {
|
|
3501
|
+
return localVarFp.createv1alpha1Menu(menu, options).then((request) => request(axios, basePath));
|
|
3502
|
+
},
|
|
3503
|
+
deletev1alpha1Menu(name, options) {
|
|
3504
|
+
return localVarFp.deletev1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
3505
|
+
},
|
|
3506
|
+
getv1alpha1Menu(name, options) {
|
|
3507
|
+
return localVarFp.getv1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
3508
|
+
},
|
|
3509
|
+
listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
3510
|
+
return localVarFp.listv1alpha1Menu(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3511
|
+
},
|
|
3512
|
+
updatev1alpha1Menu(name, menu, options) {
|
|
3513
|
+
return localVarFp.updatev1alpha1Menu(name, menu, options).then((request) => request(axios, basePath));
|
|
3514
|
+
}
|
|
3515
|
+
};
|
|
3516
|
+
};
|
|
3517
|
+
class V1alpha1MenuApi extends BaseAPI {
|
|
3518
|
+
createv1alpha1Menu(requestParameters = {}, options) {
|
|
3519
|
+
return V1alpha1MenuApiFp(this.configuration).createv1alpha1Menu(requestParameters.menu, options).then((request) => request(this.axios, this.basePath));
|
|
3520
|
+
}
|
|
3521
|
+
deletev1alpha1Menu(requestParameters, options) {
|
|
3522
|
+
return V1alpha1MenuApiFp(this.configuration).deletev1alpha1Menu(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3523
|
+
}
|
|
3524
|
+
getv1alpha1Menu(requestParameters, options) {
|
|
3525
|
+
return V1alpha1MenuApiFp(this.configuration).getv1alpha1Menu(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3526
|
+
}
|
|
3527
|
+
listv1alpha1Menu(requestParameters = {}, options) {
|
|
3528
|
+
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3529
|
+
}
|
|
3530
|
+
updatev1alpha1Menu(requestParameters, options) {
|
|
3531
|
+
return V1alpha1MenuApiFp(this.configuration).updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(this.axios, this.basePath));
|
|
3532
|
+
}
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
3536
|
+
return {
|
|
3537
|
+
createv1alpha1MenuItem: async (menuItem, options = {}) => {
|
|
3538
|
+
const localVarPath = `/api/v1alpha1/menuitems`;
|
|
3539
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3540
|
+
let baseOptions;
|
|
3541
|
+
if (configuration) {
|
|
3542
|
+
baseOptions = configuration.baseOptions;
|
|
3543
|
+
}
|
|
3544
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3545
|
+
const localVarHeaderParameter = {};
|
|
3546
|
+
const localVarQueryParameter = {};
|
|
3547
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3548
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3549
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3550
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3551
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3552
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3553
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuItem, localVarRequestOptions, configuration);
|
|
3554
|
+
return {
|
|
3555
|
+
url: toPathString(localVarUrlObj),
|
|
3556
|
+
options: localVarRequestOptions
|
|
3557
|
+
};
|
|
3558
|
+
},
|
|
3559
|
+
deletev1alpha1MenuItem: async (name, options = {}) => {
|
|
3560
|
+
assertParamExists("deletev1alpha1MenuItem", "name", name);
|
|
3561
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3562
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3563
|
+
let baseOptions;
|
|
3564
|
+
if (configuration) {
|
|
3565
|
+
baseOptions = configuration.baseOptions;
|
|
3566
|
+
}
|
|
3567
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3568
|
+
const localVarHeaderParameter = {};
|
|
3569
|
+
const localVarQueryParameter = {};
|
|
3570
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3571
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3572
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3573
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3574
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3575
|
+
return {
|
|
3576
|
+
url: toPathString(localVarUrlObj),
|
|
3577
|
+
options: localVarRequestOptions
|
|
3578
|
+
};
|
|
3579
|
+
},
|
|
3580
|
+
getv1alpha1MenuItem: async (name, options = {}) => {
|
|
3581
|
+
assertParamExists("getv1alpha1MenuItem", "name", name);
|
|
3582
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3583
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3584
|
+
let baseOptions;
|
|
3585
|
+
if (configuration) {
|
|
3586
|
+
baseOptions = configuration.baseOptions;
|
|
3587
|
+
}
|
|
3588
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3589
|
+
const localVarHeaderParameter = {};
|
|
3590
|
+
const localVarQueryParameter = {};
|
|
3591
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3592
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3593
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3594
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3595
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3596
|
+
return {
|
|
3597
|
+
url: toPathString(localVarUrlObj),
|
|
3598
|
+
options: localVarRequestOptions
|
|
3599
|
+
};
|
|
3600
|
+
},
|
|
3601
|
+
listv1alpha1MenuItem: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3602
|
+
const localVarPath = `/api/v1alpha1/menuitems`;
|
|
3603
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3604
|
+
let baseOptions;
|
|
3605
|
+
if (configuration) {
|
|
3606
|
+
baseOptions = configuration.baseOptions;
|
|
3607
|
+
}
|
|
3608
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3609
|
+
const localVarHeaderParameter = {};
|
|
3610
|
+
const localVarQueryParameter = {};
|
|
3611
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3612
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3613
|
+
if (page !== void 0) {
|
|
3614
|
+
localVarQueryParameter["page"] = page;
|
|
3615
|
+
}
|
|
3616
|
+
if (size !== void 0) {
|
|
3617
|
+
localVarQueryParameter["size"] = size;
|
|
3618
|
+
}
|
|
3619
|
+
if (labelSelector) {
|
|
3620
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3621
|
+
}
|
|
3622
|
+
if (fieldSelector) {
|
|
3623
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3624
|
+
}
|
|
3625
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3626
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3627
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3628
|
+
return {
|
|
3629
|
+
url: toPathString(localVarUrlObj),
|
|
3630
|
+
options: localVarRequestOptions
|
|
3631
|
+
};
|
|
3632
|
+
},
|
|
3633
|
+
updatev1alpha1MenuItem: async (name, menuItem, options = {}) => {
|
|
3634
|
+
assertParamExists("updatev1alpha1MenuItem", "name", name);
|
|
3635
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3636
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3637
|
+
let baseOptions;
|
|
3638
|
+
if (configuration) {
|
|
3639
|
+
baseOptions = configuration.baseOptions;
|
|
3640
|
+
}
|
|
3641
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3642
|
+
const localVarHeaderParameter = {};
|
|
3643
|
+
const localVarQueryParameter = {};
|
|
3644
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3645
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3646
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3647
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3648
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3649
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3650
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuItem, localVarRequestOptions, configuration);
|
|
3651
|
+
return {
|
|
3652
|
+
url: toPathString(localVarUrlObj),
|
|
3653
|
+
options: localVarRequestOptions
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3656
|
+
};
|
|
3657
|
+
};
|
|
3658
|
+
const V1alpha1MenuItemApiFp = function(configuration) {
|
|
3659
|
+
const localVarAxiosParamCreator = V1alpha1MenuItemApiAxiosParamCreator(configuration);
|
|
3660
|
+
return {
|
|
3661
|
+
async createv1alpha1MenuItem(menuItem, options) {
|
|
3662
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1MenuItem(menuItem, options);
|
|
3663
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3664
|
+
},
|
|
3665
|
+
async deletev1alpha1MenuItem(name, options) {
|
|
3666
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1MenuItem(name, options);
|
|
3667
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3668
|
+
},
|
|
3669
|
+
async getv1alpha1MenuItem(name, options) {
|
|
3670
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1MenuItem(name, options);
|
|
3671
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3672
|
+
},
|
|
3673
|
+
async listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
3674
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options);
|
|
3675
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3676
|
+
},
|
|
3677
|
+
async updatev1alpha1MenuItem(name, menuItem, options) {
|
|
3678
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1MenuItem(name, menuItem, options);
|
|
3679
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3680
|
+
}
|
|
3681
|
+
};
|
|
3682
|
+
};
|
|
3683
|
+
const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
3684
|
+
const localVarFp = V1alpha1MenuItemApiFp(configuration);
|
|
3685
|
+
return {
|
|
3686
|
+
createv1alpha1MenuItem(menuItem, options) {
|
|
2847
3687
|
return localVarFp.createv1alpha1MenuItem(menuItem, options).then((request) => request(axios, basePath));
|
|
2848
3688
|
},
|
|
2849
3689
|
deletev1alpha1MenuItem(name, options) {
|
|
@@ -2861,22 +3701,23 @@ const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
|
2861
3701
|
};
|
|
2862
3702
|
};
|
|
2863
3703
|
class V1alpha1MenuItemApi extends BaseAPI {
|
|
2864
|
-
createv1alpha1MenuItem(
|
|
2865
|
-
return V1alpha1MenuItemApiFp(this.configuration).createv1alpha1MenuItem(menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
3704
|
+
createv1alpha1MenuItem(requestParameters = {}, options) {
|
|
3705
|
+
return V1alpha1MenuItemApiFp(this.configuration).createv1alpha1MenuItem(requestParameters.menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
2866
3706
|
}
|
|
2867
|
-
deletev1alpha1MenuItem(
|
|
2868
|
-
return V1alpha1MenuItemApiFp(this.configuration).deletev1alpha1MenuItem(name, options).then((request) => request(this.axios, this.basePath));
|
|
3707
|
+
deletev1alpha1MenuItem(requestParameters, options) {
|
|
3708
|
+
return V1alpha1MenuItemApiFp(this.configuration).deletev1alpha1MenuItem(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2869
3709
|
}
|
|
2870
|
-
getv1alpha1MenuItem(
|
|
2871
|
-
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(name, options).then((request) => request(this.axios, this.basePath));
|
|
3710
|
+
getv1alpha1MenuItem(requestParameters, options) {
|
|
3711
|
+
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2872
3712
|
}
|
|
2873
|
-
listv1alpha1MenuItem(
|
|
2874
|
-
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3713
|
+
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
3714
|
+
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2875
3715
|
}
|
|
2876
|
-
updatev1alpha1MenuItem(
|
|
2877
|
-
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(name, menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
3716
|
+
updatev1alpha1MenuItem(requestParameters, options) {
|
|
3717
|
+
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
2878
3718
|
}
|
|
2879
3719
|
}
|
|
3720
|
+
|
|
2880
3721
|
const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration) {
|
|
2881
3722
|
return {
|
|
2882
3723
|
createv1alpha1PersonalAccessToken: async (personalAccessToken, options = {}) => {
|
|
@@ -3046,22 +3887,23 @@ const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath,
|
|
|
3046
3887
|
};
|
|
3047
3888
|
};
|
|
3048
3889
|
class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
3049
|
-
createv1alpha1PersonalAccessToken(
|
|
3050
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).createv1alpha1PersonalAccessToken(personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
3890
|
+
createv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
3891
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).createv1alpha1PersonalAccessToken(requestParameters.personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
3051
3892
|
}
|
|
3052
|
-
deletev1alpha1PersonalAccessToken(
|
|
3053
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).deletev1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
3893
|
+
deletev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
3894
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).deletev1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3054
3895
|
}
|
|
3055
|
-
getv1alpha1PersonalAccessToken(
|
|
3056
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
3896
|
+
getv1alpha1PersonalAccessToken(requestParameters, options) {
|
|
3897
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3057
3898
|
}
|
|
3058
|
-
listv1alpha1PersonalAccessToken(
|
|
3059
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3899
|
+
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
3900
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3060
3901
|
}
|
|
3061
|
-
updatev1alpha1PersonalAccessToken(
|
|
3062
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
3902
|
+
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
3903
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
3063
3904
|
}
|
|
3064
3905
|
}
|
|
3906
|
+
|
|
3065
3907
|
const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
3066
3908
|
return {
|
|
3067
3909
|
createv1alpha1Role: async (role, options = {}) => {
|
|
@@ -3231,22 +4073,23 @@ const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
|
3231
4073
|
};
|
|
3232
4074
|
};
|
|
3233
4075
|
class V1alpha1RoleApi extends BaseAPI {
|
|
3234
|
-
createv1alpha1Role(
|
|
3235
|
-
return V1alpha1RoleApiFp(this.configuration).createv1alpha1Role(role, options).then((request) => request(this.axios, this.basePath));
|
|
4076
|
+
createv1alpha1Role(requestParameters = {}, options) {
|
|
4077
|
+
return V1alpha1RoleApiFp(this.configuration).createv1alpha1Role(requestParameters.role, options).then((request) => request(this.axios, this.basePath));
|
|
3236
4078
|
}
|
|
3237
|
-
deletev1alpha1Role(
|
|
3238
|
-
return V1alpha1RoleApiFp(this.configuration).deletev1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
4079
|
+
deletev1alpha1Role(requestParameters, options) {
|
|
4080
|
+
return V1alpha1RoleApiFp(this.configuration).deletev1alpha1Role(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3239
4081
|
}
|
|
3240
|
-
getv1alpha1Role(
|
|
3241
|
-
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
4082
|
+
getv1alpha1Role(requestParameters, options) {
|
|
4083
|
+
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3242
4084
|
}
|
|
3243
|
-
listv1alpha1Role(
|
|
3244
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4085
|
+
listv1alpha1Role(requestParameters = {}, options) {
|
|
4086
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3245
4087
|
}
|
|
3246
|
-
updatev1alpha1Role(
|
|
3247
|
-
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(name, role, options).then((request) => request(this.axios, this.basePath));
|
|
4088
|
+
updatev1alpha1Role(requestParameters, options) {
|
|
4089
|
+
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(this.axios, this.basePath));
|
|
3248
4090
|
}
|
|
3249
4091
|
}
|
|
4092
|
+
|
|
3250
4093
|
const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
3251
4094
|
return {
|
|
3252
4095
|
createv1alpha1RoleBinding: async (roleBinding, options = {}) => {
|
|
@@ -3416,22 +4259,23 @@ const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
|
3416
4259
|
};
|
|
3417
4260
|
};
|
|
3418
4261
|
class V1alpha1RoleBindingApi extends BaseAPI {
|
|
3419
|
-
createv1alpha1RoleBinding(
|
|
3420
|
-
return V1alpha1RoleBindingApiFp(this.configuration).createv1alpha1RoleBinding(roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
4262
|
+
createv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
4263
|
+
return V1alpha1RoleBindingApiFp(this.configuration).createv1alpha1RoleBinding(requestParameters.roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
3421
4264
|
}
|
|
3422
|
-
deletev1alpha1RoleBinding(
|
|
3423
|
-
return V1alpha1RoleBindingApiFp(this.configuration).deletev1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
4265
|
+
deletev1alpha1RoleBinding(requestParameters, options) {
|
|
4266
|
+
return V1alpha1RoleBindingApiFp(this.configuration).deletev1alpha1RoleBinding(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3424
4267
|
}
|
|
3425
|
-
getv1alpha1RoleBinding(
|
|
3426
|
-
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
4268
|
+
getv1alpha1RoleBinding(requestParameters, options) {
|
|
4269
|
+
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3427
4270
|
}
|
|
3428
|
-
listv1alpha1RoleBinding(
|
|
3429
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4271
|
+
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
4272
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3430
4273
|
}
|
|
3431
|
-
updatev1alpha1RoleBinding(
|
|
3432
|
-
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
4274
|
+
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
4275
|
+
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
3433
4276
|
}
|
|
3434
4277
|
}
|
|
4278
|
+
|
|
3435
4279
|
const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
3436
4280
|
return {
|
|
3437
4281
|
createv1alpha1Setting: async (setting, options = {}) => {
|
|
@@ -3601,22 +4445,23 @@ const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
|
3601
4445
|
};
|
|
3602
4446
|
};
|
|
3603
4447
|
class V1alpha1SettingApi extends BaseAPI {
|
|
3604
|
-
createv1alpha1Setting(
|
|
3605
|
-
return V1alpha1SettingApiFp(this.configuration).createv1alpha1Setting(setting, options).then((request) => request(this.axios, this.basePath));
|
|
4448
|
+
createv1alpha1Setting(requestParameters = {}, options) {
|
|
4449
|
+
return V1alpha1SettingApiFp(this.configuration).createv1alpha1Setting(requestParameters.setting, options).then((request) => request(this.axios, this.basePath));
|
|
3606
4450
|
}
|
|
3607
|
-
deletev1alpha1Setting(
|
|
3608
|
-
return V1alpha1SettingApiFp(this.configuration).deletev1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
4451
|
+
deletev1alpha1Setting(requestParameters, options) {
|
|
4452
|
+
return V1alpha1SettingApiFp(this.configuration).deletev1alpha1Setting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3609
4453
|
}
|
|
3610
|
-
getv1alpha1Setting(
|
|
3611
|
-
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
4454
|
+
getv1alpha1Setting(requestParameters, options) {
|
|
4455
|
+
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3612
4456
|
}
|
|
3613
|
-
listv1alpha1Setting(
|
|
3614
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4457
|
+
listv1alpha1Setting(requestParameters = {}, options) {
|
|
4458
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3615
4459
|
}
|
|
3616
|
-
updatev1alpha1Setting(
|
|
3617
|
-
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(name, setting, options).then((request) => request(this.axios, this.basePath));
|
|
4460
|
+
updatev1alpha1Setting(requestParameters, options) {
|
|
4461
|
+
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(this.axios, this.basePath));
|
|
3618
4462
|
}
|
|
3619
4463
|
}
|
|
4464
|
+
|
|
3620
4465
|
const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
3621
4466
|
return {
|
|
3622
4467
|
createv1alpha1User: async (user, options = {}) => {
|
|
@@ -3786,20 +4631,20 @@ const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
|
3786
4631
|
};
|
|
3787
4632
|
};
|
|
3788
4633
|
class V1alpha1UserApi extends BaseAPI {
|
|
3789
|
-
createv1alpha1User(
|
|
3790
|
-
return V1alpha1UserApiFp(this.configuration).createv1alpha1User(user, options).then((request) => request(this.axios, this.basePath));
|
|
4634
|
+
createv1alpha1User(requestParameters = {}, options) {
|
|
4635
|
+
return V1alpha1UserApiFp(this.configuration).createv1alpha1User(requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
3791
4636
|
}
|
|
3792
|
-
deletev1alpha1User(
|
|
3793
|
-
return V1alpha1UserApiFp(this.configuration).deletev1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
4637
|
+
deletev1alpha1User(requestParameters, options) {
|
|
4638
|
+
return V1alpha1UserApiFp(this.configuration).deletev1alpha1User(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3794
4639
|
}
|
|
3795
|
-
getv1alpha1User(
|
|
3796
|
-
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
4640
|
+
getv1alpha1User(requestParameters, options) {
|
|
4641
|
+
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3797
4642
|
}
|
|
3798
|
-
listv1alpha1User(
|
|
3799
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4643
|
+
listv1alpha1User(requestParameters = {}, options) {
|
|
4644
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3800
4645
|
}
|
|
3801
|
-
updatev1alpha1User(
|
|
3802
|
-
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(name, user, options).then((request) => request(this.axios, this.basePath));
|
|
4646
|
+
updatev1alpha1User(requestParameters, options) {
|
|
4647
|
+
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
3803
4648
|
}
|
|
3804
4649
|
}
|
|
3805
4650
|
|
|
@@ -3819,6 +4664,27 @@ class Configuration {
|
|
|
3819
4664
|
}
|
|
3820
4665
|
}
|
|
3821
4666
|
|
|
4667
|
+
const ConditionStatusEnum = {
|
|
4668
|
+
True: "TRUE",
|
|
4669
|
+
False: "FALSE",
|
|
4670
|
+
Unknown: "UNKNOWN"
|
|
4671
|
+
};
|
|
4672
|
+
|
|
4673
|
+
const PluginStatusPhaseEnum = {
|
|
4674
|
+
Created: "CREATED",
|
|
4675
|
+
Disabled: "DISABLED",
|
|
4676
|
+
Resolved: "RESOLVED",
|
|
4677
|
+
Started: "STARTED",
|
|
4678
|
+
Stopped: "STOPPED",
|
|
4679
|
+
Failed: "FAILED"
|
|
4680
|
+
};
|
|
4681
|
+
|
|
4682
|
+
const PostSpecVisibleEnum = {
|
|
4683
|
+
Public: "PUBLIC",
|
|
4684
|
+
Internal: "INTERNAL",
|
|
4685
|
+
Private: "PRIVATE"
|
|
4686
|
+
};
|
|
4687
|
+
|
|
3822
4688
|
exports.ApiHaloRunV1alpha1ContentApi = ApiHaloRunV1alpha1ContentApi;
|
|
3823
4689
|
exports.ApiHaloRunV1alpha1ContentApiAxiosParamCreator = ApiHaloRunV1alpha1ContentApiAxiosParamCreator;
|
|
3824
4690
|
exports.ApiHaloRunV1alpha1ContentApiFactory = ApiHaloRunV1alpha1ContentApiFactory;
|
|
@@ -3875,6 +4741,22 @@ exports.PluginHaloRunV1alpha1ReverseProxyApiFactory = PluginHaloRunV1alpha1Rever
|
|
|
3875
4741
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFp = PluginHaloRunV1alpha1ReverseProxyApiFp;
|
|
3876
4742
|
exports.PluginStatusPhaseEnum = PluginStatusPhaseEnum;
|
|
3877
4743
|
exports.PostSpecVisibleEnum = PostSpecVisibleEnum;
|
|
4744
|
+
exports.StorageHaloRunV1alpha1AttachmentApi = StorageHaloRunV1alpha1AttachmentApi;
|
|
4745
|
+
exports.StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator;
|
|
4746
|
+
exports.StorageHaloRunV1alpha1AttachmentApiFactory = StorageHaloRunV1alpha1AttachmentApiFactory;
|
|
4747
|
+
exports.StorageHaloRunV1alpha1AttachmentApiFp = StorageHaloRunV1alpha1AttachmentApiFp;
|
|
4748
|
+
exports.StorageHaloRunV1alpha1GroupApi = StorageHaloRunV1alpha1GroupApi;
|
|
4749
|
+
exports.StorageHaloRunV1alpha1GroupApiAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator;
|
|
4750
|
+
exports.StorageHaloRunV1alpha1GroupApiFactory = StorageHaloRunV1alpha1GroupApiFactory;
|
|
4751
|
+
exports.StorageHaloRunV1alpha1GroupApiFp = StorageHaloRunV1alpha1GroupApiFp;
|
|
4752
|
+
exports.StorageHaloRunV1alpha1PolicyApi = StorageHaloRunV1alpha1PolicyApi;
|
|
4753
|
+
exports.StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator;
|
|
4754
|
+
exports.StorageHaloRunV1alpha1PolicyApiFactory = StorageHaloRunV1alpha1PolicyApiFactory;
|
|
4755
|
+
exports.StorageHaloRunV1alpha1PolicyApiFp = StorageHaloRunV1alpha1PolicyApiFp;
|
|
4756
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApi = StorageHaloRunV1alpha1PolicyTemplateApi;
|
|
4757
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator;
|
|
4758
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApiFactory = StorageHaloRunV1alpha1PolicyTemplateApiFactory;
|
|
4759
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApiFp = StorageHaloRunV1alpha1PolicyTemplateApiFp;
|
|
3878
4760
|
exports.ThemeHaloRunV1alpha1ThemeApi = ThemeHaloRunV1alpha1ThemeApi;
|
|
3879
4761
|
exports.ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator;
|
|
3880
4762
|
exports.ThemeHaloRunV1alpha1ThemeApiFactory = ThemeHaloRunV1alpha1ThemeApiFactory;
|