@halo-dev/api-client 0.0.10 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -67,6 +67,11 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
67
67
  };
68
68
  };
69
69
 
70
+ const ConditionStatusEnum = {
71
+ True: "TRUE",
72
+ False: "FALSE",
73
+ Unknown: "UNKNOWN"
74
+ };
70
75
  const PluginStatusPhaseEnum = {
71
76
  Created: "CREATED",
72
77
  Disabled: "DISABLED",
@@ -75,6 +80,159 @@ const PluginStatusPhaseEnum = {
75
80
  Stopped: "STOPPED",
76
81
  Failed: "FAILED"
77
82
  };
83
+ const PostSpecVisibleEnum = {
84
+ Public: "PUBLIC",
85
+ Internal: "INTERNAL",
86
+ Private: "PRIVATE"
87
+ };
88
+ const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
89
+ return {
90
+ draftSnapshotContent: async (contentRequest, options = {}) => {
91
+ assertParamExists("draftSnapshotContent", "contentRequest", contentRequest);
92
+ const localVarPath = `/apis/api.halo.run/v1alpha1/contents`;
93
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
94
+ let baseOptions;
95
+ if (configuration) {
96
+ baseOptions = configuration.baseOptions;
97
+ }
98
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
99
+ const localVarHeaderParameter = {};
100
+ const localVarQueryParameter = {};
101
+ setBasicAuthToObject(localVarRequestOptions, configuration);
102
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
103
+ localVarHeaderParameter["Content-Type"] = "application/json";
104
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
105
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
106
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
107
+ localVarRequestOptions.data = serializeDataIfNeeded(contentRequest, localVarRequestOptions, configuration);
108
+ return {
109
+ url: toPathString(localVarUrlObj),
110
+ options: localVarRequestOptions
111
+ };
112
+ },
113
+ obtainSnapshotContent: async (snapshotName, options = {}) => {
114
+ assertParamExists("obtainSnapshotContent", "snapshotName", snapshotName);
115
+ const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
116
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
117
+ let baseOptions;
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ }
121
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
122
+ const localVarHeaderParameter = {};
123
+ const localVarQueryParameter = {};
124
+ setBasicAuthToObject(localVarRequestOptions, configuration);
125
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
126
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
127
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
129
+ return {
130
+ url: toPathString(localVarUrlObj),
131
+ options: localVarRequestOptions
132
+ };
133
+ },
134
+ publishSnapshotContent: async (snapshotName, subjectRef, options = {}) => {
135
+ assertParamExists("publishSnapshotContent", "snapshotName", snapshotName);
136
+ assertParamExists("publishSnapshotContent", "subjectRef", subjectRef);
137
+ const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}/publish`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
138
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
139
+ let baseOptions;
140
+ if (configuration) {
141
+ baseOptions = configuration.baseOptions;
142
+ }
143
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
144
+ const localVarHeaderParameter = {};
145
+ const localVarQueryParameter = {};
146
+ setBasicAuthToObject(localVarRequestOptions, configuration);
147
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
148
+ localVarHeaderParameter["Content-Type"] = "application/json";
149
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
150
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
151
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
152
+ localVarRequestOptions.data = serializeDataIfNeeded(subjectRef, localVarRequestOptions, configuration);
153
+ return {
154
+ url: toPathString(localVarUrlObj),
155
+ options: localVarRequestOptions
156
+ };
157
+ },
158
+ updateSnapshotContent: async (snapshotName, contentRequest, options = {}) => {
159
+ assertParamExists("updateSnapshotContent", "snapshotName", snapshotName);
160
+ assertParamExists("updateSnapshotContent", "contentRequest", contentRequest);
161
+ const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
162
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
163
+ let baseOptions;
164
+ if (configuration) {
165
+ baseOptions = configuration.baseOptions;
166
+ }
167
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
168
+ const localVarHeaderParameter = {};
169
+ const localVarQueryParameter = {};
170
+ setBasicAuthToObject(localVarRequestOptions, configuration);
171
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
172
+ localVarHeaderParameter["Content-Type"] = "application/json";
173
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
175
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
176
+ localVarRequestOptions.data = serializeDataIfNeeded(contentRequest, localVarRequestOptions, configuration);
177
+ return {
178
+ url: toPathString(localVarUrlObj),
179
+ options: localVarRequestOptions
180
+ };
181
+ }
182
+ };
183
+ };
184
+ const ApiHaloRunV1alpha1ContentApiFp = function(configuration) {
185
+ const localVarAxiosParamCreator = ApiHaloRunV1alpha1ContentApiAxiosParamCreator(configuration);
186
+ return {
187
+ async draftSnapshotContent(contentRequest, options) {
188
+ const localVarAxiosArgs = await localVarAxiosParamCreator.draftSnapshotContent(contentRequest, options);
189
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
190
+ },
191
+ async obtainSnapshotContent(snapshotName, options) {
192
+ const localVarAxiosArgs = await localVarAxiosParamCreator.obtainSnapshotContent(snapshotName, options);
193
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
194
+ },
195
+ async publishSnapshotContent(snapshotName, subjectRef, options) {
196
+ const localVarAxiosArgs = await localVarAxiosParamCreator.publishSnapshotContent(snapshotName, subjectRef, options);
197
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
198
+ },
199
+ async updateSnapshotContent(snapshotName, contentRequest, options) {
200
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSnapshotContent(snapshotName, contentRequest, options);
201
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
202
+ }
203
+ };
204
+ };
205
+ const ApiHaloRunV1alpha1ContentApiFactory = function(configuration, basePath, axios) {
206
+ const localVarFp = ApiHaloRunV1alpha1ContentApiFp(configuration);
207
+ return {
208
+ draftSnapshotContent(contentRequest, options) {
209
+ return localVarFp.draftSnapshotContent(contentRequest, options).then((request) => request(axios, basePath));
210
+ },
211
+ obtainSnapshotContent(snapshotName, options) {
212
+ return localVarFp.obtainSnapshotContent(snapshotName, options).then((request) => request(axios, basePath));
213
+ },
214
+ publishSnapshotContent(snapshotName, subjectRef, options) {
215
+ return localVarFp.publishSnapshotContent(snapshotName, subjectRef, options).then((request) => request(axios, basePath));
216
+ },
217
+ updateSnapshotContent(snapshotName, contentRequest, options) {
218
+ return localVarFp.updateSnapshotContent(snapshotName, contentRequest, options).then((request) => request(axios, basePath));
219
+ }
220
+ };
221
+ };
222
+ class ApiHaloRunV1alpha1ContentApi extends BaseAPI {
223
+ draftSnapshotContent(contentRequest, options) {
224
+ return ApiHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(contentRequest, options).then((request) => request(this.axios, this.basePath));
225
+ }
226
+ obtainSnapshotContent(snapshotName, options) {
227
+ return ApiHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(snapshotName, options).then((request) => request(this.axios, this.basePath));
228
+ }
229
+ publishSnapshotContent(snapshotName, subjectRef, options) {
230
+ return ApiHaloRunV1alpha1ContentApiFp(this.configuration).publishSnapshotContent(snapshotName, subjectRef, options).then((request) => request(this.axios, this.basePath));
231
+ }
232
+ updateSnapshotContent(snapshotName, contentRequest, options) {
233
+ return ApiHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(snapshotName, contentRequest, options).then((request) => request(this.axios, this.basePath));
234
+ }
235
+ }
78
236
  const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
79
237
  return {
80
238
  installPlugin: async (file, options = {}) => {
@@ -128,6 +286,171 @@ class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
128
286
  return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
129
287
  }
130
288
  }
289
+ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
290
+ return {
291
+ draftPost: async (postRequest, options = {}) => {
292
+ assertParamExists("draftPost", "postRequest", postRequest);
293
+ const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
294
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
295
+ let baseOptions;
296
+ if (configuration) {
297
+ baseOptions = configuration.baseOptions;
298
+ }
299
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
300
+ const localVarHeaderParameter = {};
301
+ const localVarQueryParameter = {};
302
+ setBasicAuthToObject(localVarRequestOptions, configuration);
303
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
304
+ localVarHeaderParameter["Content-Type"] = "application/json";
305
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
306
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
307
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
308
+ localVarRequestOptions.data = serializeDataIfNeeded(postRequest, localVarRequestOptions, configuration);
309
+ return {
310
+ url: toPathString(localVarUrlObj),
311
+ options: localVarRequestOptions
312
+ };
313
+ },
314
+ listPosts: async (page, size, labelSelector, fieldSelector, contributors, categories, tags, options = {}) => {
315
+ const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
316
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
317
+ let baseOptions;
318
+ if (configuration) {
319
+ baseOptions = configuration.baseOptions;
320
+ }
321
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
322
+ const localVarHeaderParameter = {};
323
+ const localVarQueryParameter = {};
324
+ setBasicAuthToObject(localVarRequestOptions, configuration);
325
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
326
+ if (page !== void 0) {
327
+ localVarQueryParameter["page"] = page;
328
+ }
329
+ if (size !== void 0) {
330
+ localVarQueryParameter["size"] = size;
331
+ }
332
+ if (labelSelector) {
333
+ localVarQueryParameter["labelSelector"] = labelSelector;
334
+ }
335
+ if (fieldSelector) {
336
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
337
+ }
338
+ if (contributors) {
339
+ localVarQueryParameter["contributors"] = Array.from(contributors);
340
+ }
341
+ if (categories) {
342
+ localVarQueryParameter["categories"] = Array.from(categories);
343
+ }
344
+ if (tags) {
345
+ localVarQueryParameter["tags"] = Array.from(tags);
346
+ }
347
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
348
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
349
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
350
+ return {
351
+ url: toPathString(localVarUrlObj),
352
+ options: localVarRequestOptions
353
+ };
354
+ },
355
+ publishPost: async (name, options = {}) => {
356
+ assertParamExists("publishPost", "name", name);
357
+ const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
358
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
359
+ let baseOptions;
360
+ if (configuration) {
361
+ baseOptions = configuration.baseOptions;
362
+ }
363
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
364
+ const localVarHeaderParameter = {};
365
+ const localVarQueryParameter = {};
366
+ setBasicAuthToObject(localVarRequestOptions, configuration);
367
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
368
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
369
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
370
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
371
+ return {
372
+ url: toPathString(localVarUrlObj),
373
+ options: localVarRequestOptions
374
+ };
375
+ },
376
+ updateDraftPost: async (name, postRequest, options = {}) => {
377
+ assertParamExists("updateDraftPost", "name", name);
378
+ assertParamExists("updateDraftPost", "postRequest", postRequest);
379
+ const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
380
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
381
+ let baseOptions;
382
+ if (configuration) {
383
+ baseOptions = configuration.baseOptions;
384
+ }
385
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
386
+ const localVarHeaderParameter = {};
387
+ const localVarQueryParameter = {};
388
+ setBasicAuthToObject(localVarRequestOptions, configuration);
389
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
390
+ localVarHeaderParameter["Content-Type"] = "application/json";
391
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
392
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
393
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
394
+ localVarRequestOptions.data = serializeDataIfNeeded(postRequest, localVarRequestOptions, configuration);
395
+ return {
396
+ url: toPathString(localVarUrlObj),
397
+ options: localVarRequestOptions
398
+ };
399
+ }
400
+ };
401
+ };
402
+ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
403
+ const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
404
+ return {
405
+ async draftPost(postRequest, options) {
406
+ const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
407
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
408
+ },
409
+ async listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options) {
410
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options);
411
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
412
+ },
413
+ async publishPost(name, options) {
414
+ const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
415
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
416
+ },
417
+ async updateDraftPost(name, postRequest, options) {
418
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
419
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
420
+ }
421
+ };
422
+ };
423
+ const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
424
+ const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
425
+ return {
426
+ draftPost(postRequest, options) {
427
+ return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
428
+ },
429
+ listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options) {
430
+ return localVarFp.listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options).then((request) => request(axios, basePath));
431
+ },
432
+ publishPost(name, options) {
433
+ return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
434
+ },
435
+ updateDraftPost(name, postRequest, options) {
436
+ return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
437
+ }
438
+ };
439
+ };
440
+ class ApiHaloRunV1alpha1PostApi extends BaseAPI {
441
+ draftPost(postRequest, options) {
442
+ return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(postRequest, options).then((request) => request(this.axios, this.basePath));
443
+ }
444
+ listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options) {
445
+ return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options).then((request) => request(this.axios, this.basePath));
446
+ }
447
+ publishPost(name, options) {
448
+ return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(name, options).then((request) => request(this.axios, this.basePath));
449
+ }
450
+ updateDraftPost(name, postRequest, options) {
451
+ return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(name, postRequest, options).then((request) => request(this.axios, this.basePath));
452
+ }
453
+ }
131
454
  const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
132
455
  return {
133
456
  installTheme: async (file, options = {}) => {
@@ -326,85 +649,60 @@ class ApiHaloRunV1alpha1UserApi extends BaseAPI {
326
649
  return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
327
650
  }
328
651
  }
329
- const ApplesControllerApiAxiosParamCreator = function(configuration) {
652
+ const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
330
653
  return {
331
- hello: async (options = {}) => {
332
- const localVarPath = `/apis/plugin.api.halo.run/v1alpha1/plugins/PluginTemplate/apples`;
654
+ createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
655
+ const localVarPath = `/apis/content.halo.run/v1alpha1/categories`;
333
656
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
334
657
  let baseOptions;
335
658
  if (configuration) {
336
659
  baseOptions = configuration.baseOptions;
337
660
  }
338
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
661
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
339
662
  const localVarHeaderParameter = {};
340
663
  const localVarQueryParameter = {};
341
664
  setBasicAuthToObject(localVarRequestOptions, configuration);
342
665
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
666
+ localVarHeaderParameter["Content-Type"] = "application/json";
343
667
  setSearchParams(localVarUrlObj, localVarQueryParameter);
344
668
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
345
669
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
670
+ localVarRequestOptions.data = serializeDataIfNeeded(category, localVarRequestOptions, configuration);
346
671
  return {
347
672
  url: toPathString(localVarUrlObj),
348
673
  options: localVarRequestOptions
349
674
  };
350
- }
351
- };
352
- };
353
- const ApplesControllerApiFp = function(configuration) {
354
- const localVarAxiosParamCreator = ApplesControllerApiAxiosParamCreator(configuration);
355
- return {
356
- async hello(options) {
357
- const localVarAxiosArgs = await localVarAxiosParamCreator.hello(options);
358
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
359
- }
360
- };
361
- };
362
- const ApplesControllerApiFactory = function(configuration, basePath, axios) {
363
- const localVarFp = ApplesControllerApiFp(configuration);
364
- return {
365
- hello(options) {
366
- return localVarFp.hello(options).then((request) => request(axios, basePath));
367
- }
368
- };
369
- };
370
- class ApplesControllerApi extends BaseAPI {
371
- hello(options) {
372
- return ApplesControllerApiFp(this.configuration).hello(options).then((request) => request(this.axios, this.basePath));
373
- }
374
- }
375
- const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
376
- return {
377
- createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
378
- const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
675
+ },
676
+ deletecontentHaloRunV1alpha1Category: async (name, options = {}) => {
677
+ assertParamExists("deletecontentHaloRunV1alpha1Category", "name", name);
678
+ const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
379
679
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
380
680
  let baseOptions;
381
681
  if (configuration) {
382
682
  baseOptions = configuration.baseOptions;
383
683
  }
384
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
684
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
385
685
  const localVarHeaderParameter = {};
386
686
  const localVarQueryParameter = {};
387
687
  setBasicAuthToObject(localVarRequestOptions, configuration);
388
688
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
389
- localVarHeaderParameter["Content-Type"] = "application/json";
390
689
  setSearchParams(localVarUrlObj, localVarQueryParameter);
391
690
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
392
691
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
393
- localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
394
692
  return {
395
693
  url: toPathString(localVarUrlObj),
396
694
  options: localVarRequestOptions
397
695
  };
398
696
  },
399
- deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
400
- assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
401
- const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
697
+ getcontentHaloRunV1alpha1Category: async (name, options = {}) => {
698
+ assertParamExists("getcontentHaloRunV1alpha1Category", "name", name);
699
+ const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
402
700
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
403
701
  let baseOptions;
404
702
  if (configuration) {
405
703
  baseOptions = configuration.baseOptions;
406
704
  }
407
- const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
705
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
408
706
  const localVarHeaderParameter = {};
409
707
  const localVarQueryParameter = {};
410
708
  setBasicAuthToObject(localVarRequestOptions, configuration);
@@ -417,9 +715,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
417
715
  options: localVarRequestOptions
418
716
  };
419
717
  },
420
- getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
421
- assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
422
- const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
718
+ listcontentHaloRunV1alpha1Category: async (page, size, labelSelector, fieldSelector, options = {}) => {
719
+ const localVarPath = `/apis/content.halo.run/v1alpha1/categories`;
423
720
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
424
721
  let baseOptions;
425
722
  if (configuration) {
@@ -430,16 +727,1476 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
430
727
  const localVarQueryParameter = {};
431
728
  setBasicAuthToObject(localVarRequestOptions, configuration);
432
729
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
433
- setSearchParams(localVarUrlObj, localVarQueryParameter);
434
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
435
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
436
- return {
730
+ if (page !== void 0) {
731
+ localVarQueryParameter["page"] = page;
732
+ }
733
+ if (size !== void 0) {
734
+ localVarQueryParameter["size"] = size;
735
+ }
736
+ if (labelSelector) {
737
+ localVarQueryParameter["labelSelector"] = labelSelector;
738
+ }
739
+ if (fieldSelector) {
740
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
741
+ }
742
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
743
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
744
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
745
+ return {
746
+ url: toPathString(localVarUrlObj),
747
+ options: localVarRequestOptions
748
+ };
749
+ },
750
+ updatecontentHaloRunV1alpha1Category: async (name, category, options = {}) => {
751
+ assertParamExists("updatecontentHaloRunV1alpha1Category", "name", name);
752
+ const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
753
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
754
+ let baseOptions;
755
+ if (configuration) {
756
+ baseOptions = configuration.baseOptions;
757
+ }
758
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
759
+ const localVarHeaderParameter = {};
760
+ const localVarQueryParameter = {};
761
+ setBasicAuthToObject(localVarRequestOptions, configuration);
762
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
763
+ localVarHeaderParameter["Content-Type"] = "application/json";
764
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
765
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
766
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
767
+ localVarRequestOptions.data = serializeDataIfNeeded(category, localVarRequestOptions, configuration);
768
+ return {
769
+ url: toPathString(localVarUrlObj),
770
+ options: localVarRequestOptions
771
+ };
772
+ }
773
+ };
774
+ };
775
+ const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
776
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1CategoryApiAxiosParamCreator(configuration);
777
+ return {
778
+ async createcontentHaloRunV1alpha1Category(category, options) {
779
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Category(category, options);
780
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
781
+ },
782
+ async deletecontentHaloRunV1alpha1Category(name, options) {
783
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Category(name, options);
784
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
785
+ },
786
+ async getcontentHaloRunV1alpha1Category(name, options) {
787
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Category(name, options);
788
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
789
+ },
790
+ async listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
791
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options);
792
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
793
+ },
794
+ async updatecontentHaloRunV1alpha1Category(name, category, options) {
795
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(name, category, options);
796
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
797
+ }
798
+ };
799
+ };
800
+ const ContentHaloRunV1alpha1CategoryApiFactory = function(configuration, basePath, axios) {
801
+ const localVarFp = ContentHaloRunV1alpha1CategoryApiFp(configuration);
802
+ return {
803
+ createcontentHaloRunV1alpha1Category(category, options) {
804
+ return localVarFp.createcontentHaloRunV1alpha1Category(category, options).then((request) => request(axios, basePath));
805
+ },
806
+ deletecontentHaloRunV1alpha1Category(name, options) {
807
+ return localVarFp.deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
808
+ },
809
+ getcontentHaloRunV1alpha1Category(name, options) {
810
+ return localVarFp.getcontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
811
+ },
812
+ listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
813
+ return localVarFp.listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
814
+ },
815
+ updatecontentHaloRunV1alpha1Category(name, category, options) {
816
+ return localVarFp.updatecontentHaloRunV1alpha1Category(name, category, options).then((request) => request(axios, basePath));
817
+ }
818
+ };
819
+ };
820
+ class ContentHaloRunV1alpha1CategoryApi extends BaseAPI {
821
+ createcontentHaloRunV1alpha1Category(category, options) {
822
+ return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).createcontentHaloRunV1alpha1Category(category, options).then((request) => request(this.axios, this.basePath));
823
+ }
824
+ deletecontentHaloRunV1alpha1Category(name, options) {
825
+ return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(this.axios, this.basePath));
826
+ }
827
+ getcontentHaloRunV1alpha1Category(name, options) {
828
+ return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(name, options).then((request) => request(this.axios, this.basePath));
829
+ }
830
+ listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
831
+ return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
832
+ }
833
+ updatecontentHaloRunV1alpha1Category(name, category, options) {
834
+ return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(name, category, options).then((request) => request(this.axios, this.basePath));
835
+ }
836
+ }
837
+ const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
838
+ return {
839
+ createcontentHaloRunV1alpha1Comment: async (comment, options = {}) => {
840
+ const localVarPath = `/apis/content.halo.run/v1alpha1/comments`;
841
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
842
+ let baseOptions;
843
+ if (configuration) {
844
+ baseOptions = configuration.baseOptions;
845
+ }
846
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
847
+ const localVarHeaderParameter = {};
848
+ const localVarQueryParameter = {};
849
+ setBasicAuthToObject(localVarRequestOptions, configuration);
850
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
851
+ localVarHeaderParameter["Content-Type"] = "application/json";
852
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
853
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
854
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
855
+ localVarRequestOptions.data = serializeDataIfNeeded(comment, localVarRequestOptions, configuration);
856
+ return {
857
+ url: toPathString(localVarUrlObj),
858
+ options: localVarRequestOptions
859
+ };
860
+ },
861
+ deletecontentHaloRunV1alpha1Comment: async (name, options = {}) => {
862
+ assertParamExists("deletecontentHaloRunV1alpha1Comment", "name", name);
863
+ const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
864
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
865
+ let baseOptions;
866
+ if (configuration) {
867
+ baseOptions = configuration.baseOptions;
868
+ }
869
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
870
+ const localVarHeaderParameter = {};
871
+ const localVarQueryParameter = {};
872
+ setBasicAuthToObject(localVarRequestOptions, configuration);
873
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
874
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
875
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
876
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
877
+ return {
878
+ url: toPathString(localVarUrlObj),
879
+ options: localVarRequestOptions
880
+ };
881
+ },
882
+ getcontentHaloRunV1alpha1Comment: async (name, options = {}) => {
883
+ assertParamExists("getcontentHaloRunV1alpha1Comment", "name", name);
884
+ const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
885
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
886
+ let baseOptions;
887
+ if (configuration) {
888
+ baseOptions = configuration.baseOptions;
889
+ }
890
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
891
+ const localVarHeaderParameter = {};
892
+ const localVarQueryParameter = {};
893
+ setBasicAuthToObject(localVarRequestOptions, configuration);
894
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
895
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
896
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
897
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
898
+ return {
899
+ url: toPathString(localVarUrlObj),
900
+ options: localVarRequestOptions
901
+ };
902
+ },
903
+ listcontentHaloRunV1alpha1Comment: async (page, size, labelSelector, fieldSelector, options = {}) => {
904
+ const localVarPath = `/apis/content.halo.run/v1alpha1/comments`;
905
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
906
+ let baseOptions;
907
+ if (configuration) {
908
+ baseOptions = configuration.baseOptions;
909
+ }
910
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
911
+ const localVarHeaderParameter = {};
912
+ const localVarQueryParameter = {};
913
+ setBasicAuthToObject(localVarRequestOptions, configuration);
914
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
915
+ if (page !== void 0) {
916
+ localVarQueryParameter["page"] = page;
917
+ }
918
+ if (size !== void 0) {
919
+ localVarQueryParameter["size"] = size;
920
+ }
921
+ if (labelSelector) {
922
+ localVarQueryParameter["labelSelector"] = labelSelector;
923
+ }
924
+ if (fieldSelector) {
925
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
926
+ }
927
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
928
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
929
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
930
+ return {
931
+ url: toPathString(localVarUrlObj),
932
+ options: localVarRequestOptions
933
+ };
934
+ },
935
+ updatecontentHaloRunV1alpha1Comment: async (name, comment, options = {}) => {
936
+ assertParamExists("updatecontentHaloRunV1alpha1Comment", "name", name);
937
+ const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
938
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
939
+ let baseOptions;
940
+ if (configuration) {
941
+ baseOptions = configuration.baseOptions;
942
+ }
943
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
944
+ const localVarHeaderParameter = {};
945
+ const localVarQueryParameter = {};
946
+ setBasicAuthToObject(localVarRequestOptions, configuration);
947
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
948
+ localVarHeaderParameter["Content-Type"] = "application/json";
949
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
950
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
951
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
952
+ localVarRequestOptions.data = serializeDataIfNeeded(comment, localVarRequestOptions, configuration);
953
+ return {
954
+ url: toPathString(localVarUrlObj),
955
+ options: localVarRequestOptions
956
+ };
957
+ }
958
+ };
959
+ };
960
+ const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
961
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1CommentApiAxiosParamCreator(configuration);
962
+ return {
963
+ async createcontentHaloRunV1alpha1Comment(comment, options) {
964
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Comment(comment, options);
965
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
966
+ },
967
+ async deletecontentHaloRunV1alpha1Comment(name, options) {
968
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Comment(name, options);
969
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
970
+ },
971
+ async getcontentHaloRunV1alpha1Comment(name, options) {
972
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Comment(name, options);
973
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
974
+ },
975
+ async listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
976
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options);
977
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
978
+ },
979
+ async updatecontentHaloRunV1alpha1Comment(name, comment, options) {
980
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(name, comment, options);
981
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
982
+ }
983
+ };
984
+ };
985
+ const ContentHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
986
+ const localVarFp = ContentHaloRunV1alpha1CommentApiFp(configuration);
987
+ return {
988
+ createcontentHaloRunV1alpha1Comment(comment, options) {
989
+ return localVarFp.createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(axios, basePath));
990
+ },
991
+ deletecontentHaloRunV1alpha1Comment(name, options) {
992
+ return localVarFp.deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
993
+ },
994
+ getcontentHaloRunV1alpha1Comment(name, options) {
995
+ return localVarFp.getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
996
+ },
997
+ listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
998
+ return localVarFp.listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
999
+ },
1000
+ updatecontentHaloRunV1alpha1Comment(name, comment, options) {
1001
+ return localVarFp.updatecontentHaloRunV1alpha1Comment(name, comment, options).then((request) => request(axios, basePath));
1002
+ }
1003
+ };
1004
+ };
1005
+ class ContentHaloRunV1alpha1CommentApi extends BaseAPI {
1006
+ createcontentHaloRunV1alpha1Comment(comment, options) {
1007
+ return ContentHaloRunV1alpha1CommentApiFp(this.configuration).createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(this.axios, this.basePath));
1008
+ }
1009
+ deletecontentHaloRunV1alpha1Comment(name, options) {
1010
+ return ContentHaloRunV1alpha1CommentApiFp(this.configuration).deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(this.axios, this.basePath));
1011
+ }
1012
+ getcontentHaloRunV1alpha1Comment(name, options) {
1013
+ return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(this.axios, this.basePath));
1014
+ }
1015
+ listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
1016
+ return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
1017
+ }
1018
+ updatecontentHaloRunV1alpha1Comment(name, comment, options) {
1019
+ return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(name, comment, options).then((request) => request(this.axios, this.basePath));
1020
+ }
1021
+ }
1022
+ const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
1023
+ return {
1024
+ createcontentHaloRunV1alpha1Post: async (post, options = {}) => {
1025
+ const localVarPath = `/apis/content.halo.run/v1alpha1/posts`;
1026
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1027
+ let baseOptions;
1028
+ if (configuration) {
1029
+ baseOptions = configuration.baseOptions;
1030
+ }
1031
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1032
+ const localVarHeaderParameter = {};
1033
+ const localVarQueryParameter = {};
1034
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1035
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1036
+ localVarHeaderParameter["Content-Type"] = "application/json";
1037
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1038
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1039
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1040
+ localVarRequestOptions.data = serializeDataIfNeeded(post, localVarRequestOptions, configuration);
1041
+ return {
1042
+ url: toPathString(localVarUrlObj),
1043
+ options: localVarRequestOptions
1044
+ };
1045
+ },
1046
+ deletecontentHaloRunV1alpha1Post: async (name, options = {}) => {
1047
+ assertParamExists("deletecontentHaloRunV1alpha1Post", "name", name);
1048
+ const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1049
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1050
+ let baseOptions;
1051
+ if (configuration) {
1052
+ baseOptions = configuration.baseOptions;
1053
+ }
1054
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
1055
+ const localVarHeaderParameter = {};
1056
+ const localVarQueryParameter = {};
1057
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1058
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1059
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1060
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1061
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1062
+ return {
1063
+ url: toPathString(localVarUrlObj),
1064
+ options: localVarRequestOptions
1065
+ };
1066
+ },
1067
+ getcontentHaloRunV1alpha1Post: async (name, options = {}) => {
1068
+ assertParamExists("getcontentHaloRunV1alpha1Post", "name", name);
1069
+ const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1070
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1071
+ let baseOptions;
1072
+ if (configuration) {
1073
+ baseOptions = configuration.baseOptions;
1074
+ }
1075
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1076
+ const localVarHeaderParameter = {};
1077
+ const localVarQueryParameter = {};
1078
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1079
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1080
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1081
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1082
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1083
+ return {
1084
+ url: toPathString(localVarUrlObj),
1085
+ options: localVarRequestOptions
1086
+ };
1087
+ },
1088
+ listcontentHaloRunV1alpha1Post: async (page, size, labelSelector, fieldSelector, options = {}) => {
1089
+ const localVarPath = `/apis/content.halo.run/v1alpha1/posts`;
1090
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1091
+ let baseOptions;
1092
+ if (configuration) {
1093
+ baseOptions = configuration.baseOptions;
1094
+ }
1095
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1096
+ const localVarHeaderParameter = {};
1097
+ const localVarQueryParameter = {};
1098
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1099
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1100
+ if (page !== void 0) {
1101
+ localVarQueryParameter["page"] = page;
1102
+ }
1103
+ if (size !== void 0) {
1104
+ localVarQueryParameter["size"] = size;
1105
+ }
1106
+ if (labelSelector) {
1107
+ localVarQueryParameter["labelSelector"] = labelSelector;
1108
+ }
1109
+ if (fieldSelector) {
1110
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
1111
+ }
1112
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1113
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1114
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1115
+ return {
1116
+ url: toPathString(localVarUrlObj),
1117
+ options: localVarRequestOptions
1118
+ };
1119
+ },
1120
+ updatecontentHaloRunV1alpha1Post: async (name, post, options = {}) => {
1121
+ assertParamExists("updatecontentHaloRunV1alpha1Post", "name", name);
1122
+ const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1123
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1124
+ let baseOptions;
1125
+ if (configuration) {
1126
+ baseOptions = configuration.baseOptions;
1127
+ }
1128
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1129
+ const localVarHeaderParameter = {};
1130
+ const localVarQueryParameter = {};
1131
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1132
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1133
+ localVarHeaderParameter["Content-Type"] = "application/json";
1134
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1135
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1136
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1137
+ localVarRequestOptions.data = serializeDataIfNeeded(post, localVarRequestOptions, configuration);
1138
+ return {
1139
+ url: toPathString(localVarUrlObj),
1140
+ options: localVarRequestOptions
1141
+ };
1142
+ }
1143
+ };
1144
+ };
1145
+ const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
1146
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
1147
+ return {
1148
+ async createcontentHaloRunV1alpha1Post(post, options) {
1149
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Post(post, options);
1150
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1151
+ },
1152
+ async deletecontentHaloRunV1alpha1Post(name, options) {
1153
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Post(name, options);
1154
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1155
+ },
1156
+ async getcontentHaloRunV1alpha1Post(name, options) {
1157
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Post(name, options);
1158
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1159
+ },
1160
+ async listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
1161
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options);
1162
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1163
+ },
1164
+ async updatecontentHaloRunV1alpha1Post(name, post, options) {
1165
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Post(name, post, options);
1166
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1167
+ }
1168
+ };
1169
+ };
1170
+ const ContentHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
1171
+ const localVarFp = ContentHaloRunV1alpha1PostApiFp(configuration);
1172
+ return {
1173
+ createcontentHaloRunV1alpha1Post(post, options) {
1174
+ return localVarFp.createcontentHaloRunV1alpha1Post(post, options).then((request) => request(axios, basePath));
1175
+ },
1176
+ deletecontentHaloRunV1alpha1Post(name, options) {
1177
+ return localVarFp.deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
1178
+ },
1179
+ getcontentHaloRunV1alpha1Post(name, options) {
1180
+ return localVarFp.getcontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
1181
+ },
1182
+ listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
1183
+ return localVarFp.listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1184
+ },
1185
+ updatecontentHaloRunV1alpha1Post(name, post, options) {
1186
+ return localVarFp.updatecontentHaloRunV1alpha1Post(name, post, options).then((request) => request(axios, basePath));
1187
+ }
1188
+ };
1189
+ };
1190
+ class ContentHaloRunV1alpha1PostApi extends BaseAPI {
1191
+ createcontentHaloRunV1alpha1Post(post, options) {
1192
+ return ContentHaloRunV1alpha1PostApiFp(this.configuration).createcontentHaloRunV1alpha1Post(post, options).then((request) => request(this.axios, this.basePath));
1193
+ }
1194
+ deletecontentHaloRunV1alpha1Post(name, options) {
1195
+ return ContentHaloRunV1alpha1PostApiFp(this.configuration).deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(this.axios, this.basePath));
1196
+ }
1197
+ getcontentHaloRunV1alpha1Post(name, options) {
1198
+ return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(name, options).then((request) => request(this.axios, this.basePath));
1199
+ }
1200
+ listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
1201
+ return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
1202
+ }
1203
+ updatecontentHaloRunV1alpha1Post(name, post, options) {
1204
+ return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(name, post, options).then((request) => request(this.axios, this.basePath));
1205
+ }
1206
+ }
1207
+ const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
1208
+ return {
1209
+ createcontentHaloRunV1alpha1Reply: async (reply, options = {}) => {
1210
+ const localVarPath = `/apis/content.halo.run/v1alpha1/replies`;
1211
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1212
+ let baseOptions;
1213
+ if (configuration) {
1214
+ baseOptions = configuration.baseOptions;
1215
+ }
1216
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1217
+ const localVarHeaderParameter = {};
1218
+ const localVarQueryParameter = {};
1219
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1220
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1221
+ localVarHeaderParameter["Content-Type"] = "application/json";
1222
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1223
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1224
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1225
+ localVarRequestOptions.data = serializeDataIfNeeded(reply, localVarRequestOptions, configuration);
1226
+ return {
1227
+ url: toPathString(localVarUrlObj),
1228
+ options: localVarRequestOptions
1229
+ };
1230
+ },
1231
+ deletecontentHaloRunV1alpha1Reply: async (name, options = {}) => {
1232
+ assertParamExists("deletecontentHaloRunV1alpha1Reply", "name", name);
1233
+ const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1234
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1235
+ let baseOptions;
1236
+ if (configuration) {
1237
+ baseOptions = configuration.baseOptions;
1238
+ }
1239
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
1240
+ const localVarHeaderParameter = {};
1241
+ const localVarQueryParameter = {};
1242
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1243
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1244
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1245
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1246
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1247
+ return {
1248
+ url: toPathString(localVarUrlObj),
1249
+ options: localVarRequestOptions
1250
+ };
1251
+ },
1252
+ getcontentHaloRunV1alpha1Reply: async (name, options = {}) => {
1253
+ assertParamExists("getcontentHaloRunV1alpha1Reply", "name", name);
1254
+ const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1255
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1256
+ let baseOptions;
1257
+ if (configuration) {
1258
+ baseOptions = configuration.baseOptions;
1259
+ }
1260
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1261
+ const localVarHeaderParameter = {};
1262
+ const localVarQueryParameter = {};
1263
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1264
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1265
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1266
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1267
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1268
+ return {
1269
+ url: toPathString(localVarUrlObj),
1270
+ options: localVarRequestOptions
1271
+ };
1272
+ },
1273
+ listcontentHaloRunV1alpha1Reply: async (page, size, labelSelector, fieldSelector, options = {}) => {
1274
+ const localVarPath = `/apis/content.halo.run/v1alpha1/replies`;
1275
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1276
+ let baseOptions;
1277
+ if (configuration) {
1278
+ baseOptions = configuration.baseOptions;
1279
+ }
1280
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1281
+ const localVarHeaderParameter = {};
1282
+ const localVarQueryParameter = {};
1283
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1284
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1285
+ if (page !== void 0) {
1286
+ localVarQueryParameter["page"] = page;
1287
+ }
1288
+ if (size !== void 0) {
1289
+ localVarQueryParameter["size"] = size;
1290
+ }
1291
+ if (labelSelector) {
1292
+ localVarQueryParameter["labelSelector"] = labelSelector;
1293
+ }
1294
+ if (fieldSelector) {
1295
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
1296
+ }
1297
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1298
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1299
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1300
+ return {
1301
+ url: toPathString(localVarUrlObj),
1302
+ options: localVarRequestOptions
1303
+ };
1304
+ },
1305
+ updatecontentHaloRunV1alpha1Reply: async (name, reply, options = {}) => {
1306
+ assertParamExists("updatecontentHaloRunV1alpha1Reply", "name", name);
1307
+ const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1308
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1309
+ let baseOptions;
1310
+ if (configuration) {
1311
+ baseOptions = configuration.baseOptions;
1312
+ }
1313
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1314
+ const localVarHeaderParameter = {};
1315
+ const localVarQueryParameter = {};
1316
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1317
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1318
+ localVarHeaderParameter["Content-Type"] = "application/json";
1319
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1320
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1321
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1322
+ localVarRequestOptions.data = serializeDataIfNeeded(reply, localVarRequestOptions, configuration);
1323
+ return {
1324
+ url: toPathString(localVarUrlObj),
1325
+ options: localVarRequestOptions
1326
+ };
1327
+ }
1328
+ };
1329
+ };
1330
+ const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
1331
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
1332
+ return {
1333
+ async createcontentHaloRunV1alpha1Reply(reply, options) {
1334
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Reply(reply, options);
1335
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1336
+ },
1337
+ async deletecontentHaloRunV1alpha1Reply(name, options) {
1338
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Reply(name, options);
1339
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1340
+ },
1341
+ async getcontentHaloRunV1alpha1Reply(name, options) {
1342
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Reply(name, options);
1343
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1344
+ },
1345
+ async listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
1346
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options);
1347
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1348
+ },
1349
+ async updatecontentHaloRunV1alpha1Reply(name, reply, options) {
1350
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Reply(name, reply, options);
1351
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1352
+ }
1353
+ };
1354
+ };
1355
+ const ContentHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
1356
+ const localVarFp = ContentHaloRunV1alpha1ReplyApiFp(configuration);
1357
+ return {
1358
+ createcontentHaloRunV1alpha1Reply(reply, options) {
1359
+ return localVarFp.createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(axios, basePath));
1360
+ },
1361
+ deletecontentHaloRunV1alpha1Reply(name, options) {
1362
+ return localVarFp.deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
1363
+ },
1364
+ getcontentHaloRunV1alpha1Reply(name, options) {
1365
+ return localVarFp.getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
1366
+ },
1367
+ listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
1368
+ return localVarFp.listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1369
+ },
1370
+ updatecontentHaloRunV1alpha1Reply(name, reply, options) {
1371
+ return localVarFp.updatecontentHaloRunV1alpha1Reply(name, reply, options).then((request) => request(axios, basePath));
1372
+ }
1373
+ };
1374
+ };
1375
+ class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
1376
+ createcontentHaloRunV1alpha1Reply(reply, options) {
1377
+ return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(this.axios, this.basePath));
1378
+ }
1379
+ deletecontentHaloRunV1alpha1Reply(name, options) {
1380
+ return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(this.axios, this.basePath));
1381
+ }
1382
+ getcontentHaloRunV1alpha1Reply(name, options) {
1383
+ return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(this.axios, this.basePath));
1384
+ }
1385
+ listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
1386
+ return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
1387
+ }
1388
+ updatecontentHaloRunV1alpha1Reply(name, reply, options) {
1389
+ return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(name, reply, options).then((request) => request(this.axios, this.basePath));
1390
+ }
1391
+ }
1392
+ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuration) {
1393
+ return {
1394
+ createcontentHaloRunV1alpha1Snapshot: async (snapshot, options = {}) => {
1395
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
1396
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1397
+ let baseOptions;
1398
+ if (configuration) {
1399
+ baseOptions = configuration.baseOptions;
1400
+ }
1401
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1402
+ const localVarHeaderParameter = {};
1403
+ const localVarQueryParameter = {};
1404
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1405
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1406
+ localVarHeaderParameter["Content-Type"] = "application/json";
1407
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1408
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1409
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1410
+ localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
1411
+ return {
1412
+ url: toPathString(localVarUrlObj),
1413
+ options: localVarRequestOptions
1414
+ };
1415
+ },
1416
+ deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
1417
+ assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
1418
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1419
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1420
+ let baseOptions;
1421
+ if (configuration) {
1422
+ baseOptions = configuration.baseOptions;
1423
+ }
1424
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
1425
+ const localVarHeaderParameter = {};
1426
+ const localVarQueryParameter = {};
1427
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1428
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1429
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1430
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1431
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1432
+ return {
1433
+ url: toPathString(localVarUrlObj),
1434
+ options: localVarRequestOptions
1435
+ };
1436
+ },
1437
+ getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
1438
+ assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
1439
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1440
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1441
+ let baseOptions;
1442
+ if (configuration) {
1443
+ baseOptions = configuration.baseOptions;
1444
+ }
1445
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1446
+ const localVarHeaderParameter = {};
1447
+ const localVarQueryParameter = {};
1448
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1449
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1450
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1451
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1452
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1453
+ return {
1454
+ url: toPathString(localVarUrlObj),
1455
+ options: localVarRequestOptions
1456
+ };
1457
+ },
1458
+ listcontentHaloRunV1alpha1Snapshot: async (page, size, labelSelector, fieldSelector, options = {}) => {
1459
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
1460
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1461
+ let baseOptions;
1462
+ if (configuration) {
1463
+ baseOptions = configuration.baseOptions;
1464
+ }
1465
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1466
+ const localVarHeaderParameter = {};
1467
+ const localVarQueryParameter = {};
1468
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1469
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1470
+ if (page !== void 0) {
1471
+ localVarQueryParameter["page"] = page;
1472
+ }
1473
+ if (size !== void 0) {
1474
+ localVarQueryParameter["size"] = size;
1475
+ }
1476
+ if (labelSelector) {
1477
+ localVarQueryParameter["labelSelector"] = labelSelector;
1478
+ }
1479
+ if (fieldSelector) {
1480
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
1481
+ }
1482
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1483
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1484
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1485
+ return {
1486
+ url: toPathString(localVarUrlObj),
1487
+ options: localVarRequestOptions
1488
+ };
1489
+ },
1490
+ updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
1491
+ assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
1492
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1493
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1494
+ let baseOptions;
1495
+ if (configuration) {
1496
+ baseOptions = configuration.baseOptions;
1497
+ }
1498
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1499
+ const localVarHeaderParameter = {};
1500
+ const localVarQueryParameter = {};
1501
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1502
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1503
+ localVarHeaderParameter["Content-Type"] = "application/json";
1504
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1505
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1506
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1507
+ localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
1508
+ return {
1509
+ url: toPathString(localVarUrlObj),
1510
+ options: localVarRequestOptions
1511
+ };
1512
+ }
1513
+ };
1514
+ };
1515
+ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
1516
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator(configuration);
1517
+ return {
1518
+ async createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1519
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Snapshot(snapshot, options);
1520
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1521
+ },
1522
+ async deletecontentHaloRunV1alpha1Snapshot(name, options) {
1523
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Snapshot(name, options);
1524
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1525
+ },
1526
+ async getcontentHaloRunV1alpha1Snapshot(name, options) {
1527
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Snapshot(name, options);
1528
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1529
+ },
1530
+ async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1531
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options);
1532
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1533
+ },
1534
+ async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1535
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options);
1536
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1537
+ }
1538
+ };
1539
+ };
1540
+ const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
1541
+ const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
1542
+ return {
1543
+ createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1544
+ return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
1545
+ },
1546
+ deletecontentHaloRunV1alpha1Snapshot(name, options) {
1547
+ return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
1548
+ },
1549
+ getcontentHaloRunV1alpha1Snapshot(name, options) {
1550
+ return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
1551
+ },
1552
+ listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1553
+ return localVarFp.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1554
+ },
1555
+ updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1556
+ return localVarFp.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(axios, basePath));
1557
+ }
1558
+ };
1559
+ };
1560
+ class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
1561
+ createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1562
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(this.axios, this.basePath));
1563
+ }
1564
+ deletecontentHaloRunV1alpha1Snapshot(name, options) {
1565
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(this.axios, this.basePath));
1566
+ }
1567
+ getcontentHaloRunV1alpha1Snapshot(name, options) {
1568
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(this.axios, this.basePath));
1569
+ }
1570
+ listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1571
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
1572
+ }
1573
+ updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1574
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(this.axios, this.basePath));
1575
+ }
1576
+ }
1577
+ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1578
+ return {
1579
+ createcontentHaloRunV1alpha1Tag: async (tag, options = {}) => {
1580
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
1581
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1582
+ let baseOptions;
1583
+ if (configuration) {
1584
+ baseOptions = configuration.baseOptions;
1585
+ }
1586
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1587
+ const localVarHeaderParameter = {};
1588
+ const localVarQueryParameter = {};
1589
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1590
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1591
+ localVarHeaderParameter["Content-Type"] = "application/json";
1592
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1593
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1594
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1595
+ localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
1596
+ return {
1597
+ url: toPathString(localVarUrlObj),
1598
+ options: localVarRequestOptions
1599
+ };
1600
+ },
1601
+ deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
1602
+ assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
1603
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1604
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1605
+ let baseOptions;
1606
+ if (configuration) {
1607
+ baseOptions = configuration.baseOptions;
1608
+ }
1609
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
1610
+ const localVarHeaderParameter = {};
1611
+ const localVarQueryParameter = {};
1612
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1613
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1614
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1615
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1616
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1617
+ return {
1618
+ url: toPathString(localVarUrlObj),
1619
+ options: localVarRequestOptions
1620
+ };
1621
+ },
1622
+ getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
1623
+ assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
1624
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1625
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1626
+ let baseOptions;
1627
+ if (configuration) {
1628
+ baseOptions = configuration.baseOptions;
1629
+ }
1630
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1631
+ const localVarHeaderParameter = {};
1632
+ const localVarQueryParameter = {};
1633
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1634
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1635
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1636
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1637
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1638
+ return {
1639
+ url: toPathString(localVarUrlObj),
1640
+ options: localVarRequestOptions
1641
+ };
1642
+ },
1643
+ listcontentHaloRunV1alpha1Tag: async (page, size, labelSelector, fieldSelector, options = {}) => {
1644
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
1645
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1646
+ let baseOptions;
1647
+ if (configuration) {
1648
+ baseOptions = configuration.baseOptions;
1649
+ }
1650
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1651
+ const localVarHeaderParameter = {};
1652
+ const localVarQueryParameter = {};
1653
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1654
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1655
+ if (page !== void 0) {
1656
+ localVarQueryParameter["page"] = page;
1657
+ }
1658
+ if (size !== void 0) {
1659
+ localVarQueryParameter["size"] = size;
1660
+ }
1661
+ if (labelSelector) {
1662
+ localVarQueryParameter["labelSelector"] = labelSelector;
1663
+ }
1664
+ if (fieldSelector) {
1665
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
1666
+ }
1667
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1668
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1669
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1670
+ return {
1671
+ url: toPathString(localVarUrlObj),
1672
+ options: localVarRequestOptions
1673
+ };
1674
+ },
1675
+ updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
1676
+ assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
1677
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1678
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1679
+ let baseOptions;
1680
+ if (configuration) {
1681
+ baseOptions = configuration.baseOptions;
1682
+ }
1683
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1684
+ const localVarHeaderParameter = {};
1685
+ const localVarQueryParameter = {};
1686
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1687
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1688
+ localVarHeaderParameter["Content-Type"] = "application/json";
1689
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1690
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1691
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1692
+ localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
1693
+ return {
1694
+ url: toPathString(localVarUrlObj),
1695
+ options: localVarRequestOptions
1696
+ };
1697
+ }
1698
+ };
1699
+ };
1700
+ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
1701
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator(configuration);
1702
+ return {
1703
+ async createcontentHaloRunV1alpha1Tag(tag, options) {
1704
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Tag(tag, options);
1705
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1706
+ },
1707
+ async deletecontentHaloRunV1alpha1Tag(name, options) {
1708
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Tag(name, options);
1709
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1710
+ },
1711
+ async getcontentHaloRunV1alpha1Tag(name, options) {
1712
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Tag(name, options);
1713
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1714
+ },
1715
+ async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
1716
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options);
1717
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1718
+ },
1719
+ async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
1720
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Tag(name, tag, options);
1721
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1722
+ }
1723
+ };
1724
+ };
1725
+ const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
1726
+ const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
1727
+ return {
1728
+ createcontentHaloRunV1alpha1Tag(tag, options) {
1729
+ return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
1730
+ },
1731
+ deletecontentHaloRunV1alpha1Tag(name, options) {
1732
+ return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
1733
+ },
1734
+ getcontentHaloRunV1alpha1Tag(name, options) {
1735
+ return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
1736
+ },
1737
+ listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
1738
+ return localVarFp.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1739
+ },
1740
+ updatecontentHaloRunV1alpha1Tag(name, tag, options) {
1741
+ return localVarFp.updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(axios, basePath));
1742
+ }
1743
+ };
1744
+ };
1745
+ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
1746
+ createcontentHaloRunV1alpha1Tag(tag, options) {
1747
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(this.axios, this.basePath));
1748
+ }
1749
+ deletecontentHaloRunV1alpha1Tag(name, options) {
1750
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(this.axios, this.basePath));
1751
+ }
1752
+ getcontentHaloRunV1alpha1Tag(name, options) {
1753
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(this.axios, this.basePath));
1754
+ }
1755
+ listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
1756
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
1757
+ }
1758
+ updatecontentHaloRunV1alpha1Tag(name, tag, options) {
1759
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(this.axios, this.basePath));
1760
+ }
1761
+ }
1762
+ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
1763
+ return {
1764
+ createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
1765
+ const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
1766
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1767
+ let baseOptions;
1768
+ if (configuration) {
1769
+ baseOptions = configuration.baseOptions;
1770
+ }
1771
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1772
+ const localVarHeaderParameter = {};
1773
+ const localVarQueryParameter = {};
1774
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1775
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1776
+ localVarHeaderParameter["Content-Type"] = "application/json";
1777
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1778
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1779
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1780
+ localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
1781
+ return {
1782
+ url: toPathString(localVarUrlObj),
1783
+ options: localVarRequestOptions
1784
+ };
1785
+ },
1786
+ deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
1787
+ assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
1788
+ const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1789
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1790
+ let baseOptions;
1791
+ if (configuration) {
1792
+ baseOptions = configuration.baseOptions;
1793
+ }
1794
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
1795
+ const localVarHeaderParameter = {};
1796
+ const localVarQueryParameter = {};
1797
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1798
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1799
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1800
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1801
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1802
+ return {
1803
+ url: toPathString(localVarUrlObj),
1804
+ options: localVarRequestOptions
1805
+ };
1806
+ },
1807
+ getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
1808
+ assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
1809
+ const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1810
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1811
+ let baseOptions;
1812
+ if (configuration) {
1813
+ baseOptions = configuration.baseOptions;
1814
+ }
1815
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1816
+ const localVarHeaderParameter = {};
1817
+ const localVarQueryParameter = {};
1818
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1819
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1820
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1821
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1822
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1823
+ return {
1824
+ url: toPathString(localVarUrlObj),
1825
+ options: localVarRequestOptions
1826
+ };
1827
+ },
1828
+ listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
1829
+ const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
1830
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1831
+ let baseOptions;
1832
+ if (configuration) {
1833
+ baseOptions = configuration.baseOptions;
1834
+ }
1835
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1836
+ const localVarHeaderParameter = {};
1837
+ const localVarQueryParameter = {};
1838
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1839
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1840
+ if (page !== void 0) {
1841
+ localVarQueryParameter["page"] = page;
1842
+ }
1843
+ if (size !== void 0) {
1844
+ localVarQueryParameter["size"] = size;
1845
+ }
1846
+ if (labelSelector) {
1847
+ localVarQueryParameter["labelSelector"] = labelSelector;
1848
+ }
1849
+ if (fieldSelector) {
1850
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
1851
+ }
1852
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1853
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1854
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1855
+ return {
1856
+ url: toPathString(localVarUrlObj),
1857
+ options: localVarRequestOptions
1858
+ };
1859
+ },
1860
+ updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
1861
+ assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
1862
+ const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1863
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1864
+ let baseOptions;
1865
+ if (configuration) {
1866
+ baseOptions = configuration.baseOptions;
1867
+ }
1868
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1869
+ const localVarHeaderParameter = {};
1870
+ const localVarQueryParameter = {};
1871
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1872
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1873
+ localVarHeaderParameter["Content-Type"] = "application/json";
1874
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1875
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1876
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1877
+ localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
1878
+ return {
1879
+ url: toPathString(localVarUrlObj),
1880
+ options: localVarRequestOptions
1881
+ };
1882
+ }
1883
+ };
1884
+ };
1885
+ const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
1886
+ const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
1887
+ return {
1888
+ async createcoreHaloRunV1alpha1Link(link, options) {
1889
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
1890
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1891
+ },
1892
+ async deletecoreHaloRunV1alpha1Link(name, options) {
1893
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
1894
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1895
+ },
1896
+ async getcoreHaloRunV1alpha1Link(name, options) {
1897
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
1898
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1899
+ },
1900
+ async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
1901
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
1902
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1903
+ },
1904
+ async updatecoreHaloRunV1alpha1Link(name, link, options) {
1905
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
1906
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1907
+ }
1908
+ };
1909
+ };
1910
+ const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
1911
+ const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
1912
+ return {
1913
+ createcoreHaloRunV1alpha1Link(link, options) {
1914
+ return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
1915
+ },
1916
+ deletecoreHaloRunV1alpha1Link(name, options) {
1917
+ return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
1918
+ },
1919
+ getcoreHaloRunV1alpha1Link(name, options) {
1920
+ return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
1921
+ },
1922
+ listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
1923
+ return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1924
+ },
1925
+ updatecoreHaloRunV1alpha1Link(name, link, options) {
1926
+ return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
1927
+ }
1928
+ };
1929
+ };
1930
+ class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
1931
+ createcoreHaloRunV1alpha1Link(link, options) {
1932
+ return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(link, options).then((request) => request(this.axios, this.basePath));
1933
+ }
1934
+ deletecoreHaloRunV1alpha1Link(name, options) {
1935
+ return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
1936
+ }
1937
+ getcoreHaloRunV1alpha1Link(name, options) {
1938
+ return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
1939
+ }
1940
+ listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
1941
+ return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
1942
+ }
1943
+ updatecoreHaloRunV1alpha1Link(name, link, options) {
1944
+ return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(this.axios, this.basePath));
1945
+ }
1946
+ }
1947
+ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
1948
+ return {
1949
+ createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
1950
+ const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
1951
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1952
+ let baseOptions;
1953
+ if (configuration) {
1954
+ baseOptions = configuration.baseOptions;
1955
+ }
1956
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1957
+ const localVarHeaderParameter = {};
1958
+ const localVarQueryParameter = {};
1959
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1960
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1961
+ localVarHeaderParameter["Content-Type"] = "application/json";
1962
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1963
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1964
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1965
+ localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
1966
+ return {
1967
+ url: toPathString(localVarUrlObj),
1968
+ options: localVarRequestOptions
1969
+ };
1970
+ },
1971
+ deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
1972
+ assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
1973
+ const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1974
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1975
+ let baseOptions;
1976
+ if (configuration) {
1977
+ baseOptions = configuration.baseOptions;
1978
+ }
1979
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
1980
+ const localVarHeaderParameter = {};
1981
+ const localVarQueryParameter = {};
1982
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1983
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1984
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1985
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1986
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1987
+ return {
1988
+ url: toPathString(localVarUrlObj),
1989
+ options: localVarRequestOptions
1990
+ };
1991
+ },
1992
+ getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
1993
+ assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
1994
+ const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1995
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1996
+ let baseOptions;
1997
+ if (configuration) {
1998
+ baseOptions = configuration.baseOptions;
1999
+ }
2000
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2001
+ const localVarHeaderParameter = {};
2002
+ const localVarQueryParameter = {};
2003
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2004
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2005
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2006
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2007
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2008
+ return {
2009
+ url: toPathString(localVarUrlObj),
2010
+ options: localVarRequestOptions
2011
+ };
2012
+ },
2013
+ listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
2014
+ const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
2015
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2016
+ let baseOptions;
2017
+ if (configuration) {
2018
+ baseOptions = configuration.baseOptions;
2019
+ }
2020
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2021
+ const localVarHeaderParameter = {};
2022
+ const localVarQueryParameter = {};
2023
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2024
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2025
+ if (page !== void 0) {
2026
+ localVarQueryParameter["page"] = page;
2027
+ }
2028
+ if (size !== void 0) {
2029
+ localVarQueryParameter["size"] = size;
2030
+ }
2031
+ if (labelSelector) {
2032
+ localVarQueryParameter["labelSelector"] = labelSelector;
2033
+ }
2034
+ if (fieldSelector) {
2035
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2036
+ }
2037
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2038
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2039
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2040
+ return {
2041
+ url: toPathString(localVarUrlObj),
2042
+ options: localVarRequestOptions
2043
+ };
2044
+ },
2045
+ updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
2046
+ assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
2047
+ const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2048
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2049
+ let baseOptions;
2050
+ if (configuration) {
2051
+ baseOptions = configuration.baseOptions;
2052
+ }
2053
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
2054
+ const localVarHeaderParameter = {};
2055
+ const localVarQueryParameter = {};
2056
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2057
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2058
+ localVarHeaderParameter["Content-Type"] = "application/json";
2059
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2060
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2061
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2062
+ localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
2063
+ return {
2064
+ url: toPathString(localVarUrlObj),
2065
+ options: localVarRequestOptions
2066
+ };
2067
+ }
2068
+ };
2069
+ };
2070
+ const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
2071
+ const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
2072
+ return {
2073
+ async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
2074
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
2075
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2076
+ },
2077
+ async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
2078
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
2079
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2080
+ },
2081
+ async getcoreHaloRunV1alpha1LinkGroup(name, options) {
2082
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
2083
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2084
+ },
2085
+ async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
2086
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
2087
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2088
+ },
2089
+ async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
2090
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
2091
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2092
+ }
2093
+ };
2094
+ };
2095
+ const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
2096
+ const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
2097
+ return {
2098
+ createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
2099
+ return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
2100
+ },
2101
+ deletecoreHaloRunV1alpha1LinkGroup(name, options) {
2102
+ return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
2103
+ },
2104
+ getcoreHaloRunV1alpha1LinkGroup(name, options) {
2105
+ return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
2106
+ },
2107
+ listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
2108
+ return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2109
+ },
2110
+ updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
2111
+ return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
2112
+ }
2113
+ };
2114
+ };
2115
+ class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
2116
+ createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
2117
+ return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(this.axios, this.basePath));
2118
+ }
2119
+ deletecoreHaloRunV1alpha1LinkGroup(name, options) {
2120
+ return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
2121
+ }
2122
+ getcoreHaloRunV1alpha1LinkGroup(name, options) {
2123
+ return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
2124
+ }
2125
+ listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
2126
+ return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
2127
+ }
2128
+ updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
2129
+ return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(this.axios, this.basePath));
2130
+ }
2131
+ }
2132
+ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
2133
+ return {
2134
+ createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
2135
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
2136
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2137
+ let baseOptions;
2138
+ if (configuration) {
2139
+ baseOptions = configuration.baseOptions;
2140
+ }
2141
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2142
+ const localVarHeaderParameter = {};
2143
+ const localVarQueryParameter = {};
2144
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2145
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2146
+ localVarHeaderParameter["Content-Type"] = "application/json";
2147
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2148
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2149
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2150
+ localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
2151
+ return {
2152
+ url: toPathString(localVarUrlObj),
2153
+ options: localVarRequestOptions
2154
+ };
2155
+ },
2156
+ deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
2157
+ assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
2158
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2159
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2160
+ let baseOptions;
2161
+ if (configuration) {
2162
+ baseOptions = configuration.baseOptions;
2163
+ }
2164
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2165
+ const localVarHeaderParameter = {};
2166
+ const localVarQueryParameter = {};
2167
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2168
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2169
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2171
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2172
+ return {
437
2173
  url: toPathString(localVarUrlObj),
438
2174
  options: localVarRequestOptions
439
2175
  };
440
2176
  },
441
- listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
442
- const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
2177
+ getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
2178
+ assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
2179
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2180
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2181
+ let baseOptions;
2182
+ if (configuration) {
2183
+ baseOptions = configuration.baseOptions;
2184
+ }
2185
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2186
+ const localVarHeaderParameter = {};
2187
+ const localVarQueryParameter = {};
2188
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2189
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2190
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2191
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2192
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2193
+ return {
2194
+ url: toPathString(localVarUrlObj),
2195
+ options: localVarRequestOptions
2196
+ };
2197
+ },
2198
+ listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
2199
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
443
2200
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
444
2201
  let baseOptions;
445
2202
  if (configuration) {
@@ -470,9 +2227,9 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
470
2227
  options: localVarRequestOptions
471
2228
  };
472
2229
  },
473
- updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
474
- assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
475
- const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2230
+ updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
2231
+ assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
2232
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
476
2233
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
477
2234
  let baseOptions;
478
2235
  if (configuration) {
@@ -487,7 +2244,7 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
487
2244
  setSearchParams(localVarUrlObj, localVarQueryParameter);
488
2245
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
489
2246
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
490
- localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
2247
+ localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
491
2248
  return {
492
2249
  url: toPathString(localVarUrlObj),
493
2250
  options: localVarRequestOptions
@@ -495,72 +2252,257 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
495
2252
  }
496
2253
  };
497
2254
  };
498
- const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
499
- const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
2255
+ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
2256
+ const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
500
2257
  return {
501
- async createcoreHaloRunV1alpha1Link(link, options) {
502
- const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
2258
+ async createpluginHaloRunV1alpha1Plugin(plugin, options) {
2259
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
503
2260
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
504
2261
  },
505
- async deletecoreHaloRunV1alpha1Link(name, options) {
506
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
2262
+ async deletepluginHaloRunV1alpha1Plugin(name, options) {
2263
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
507
2264
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
508
2265
  },
509
- async getcoreHaloRunV1alpha1Link(name, options) {
510
- const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
2266
+ async getpluginHaloRunV1alpha1Plugin(name, options) {
2267
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
511
2268
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
512
2269
  },
513
- async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
514
- const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
2270
+ async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
2271
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
515
2272
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
516
2273
  },
517
- async updatecoreHaloRunV1alpha1Link(name, link, options) {
518
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
2274
+ async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
2275
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
519
2276
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
520
2277
  }
521
2278
  };
522
2279
  };
523
- const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
524
- const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
2280
+ const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
2281
+ const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
525
2282
  return {
526
- createcoreHaloRunV1alpha1Link(link, options) {
527
- return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
2283
+ createpluginHaloRunV1alpha1Plugin(plugin, options) {
2284
+ return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
528
2285
  },
529
- deletecoreHaloRunV1alpha1Link(name, options) {
530
- return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
2286
+ deletepluginHaloRunV1alpha1Plugin(name, options) {
2287
+ return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
2288
+ },
2289
+ getpluginHaloRunV1alpha1Plugin(name, options) {
2290
+ return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
2291
+ },
2292
+ listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
2293
+ return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2294
+ },
2295
+ updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
2296
+ return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
2297
+ }
2298
+ };
2299
+ };
2300
+ class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
2301
+ createpluginHaloRunV1alpha1Plugin(plugin, options) {
2302
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(this.axios, this.basePath));
2303
+ }
2304
+ deletepluginHaloRunV1alpha1Plugin(name, options) {
2305
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
2306
+ }
2307
+ getpluginHaloRunV1alpha1Plugin(name, options) {
2308
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
2309
+ }
2310
+ listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
2311
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
2312
+ }
2313
+ updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
2314
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
2315
+ }
2316
+ }
2317
+ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
2318
+ return {
2319
+ createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
2320
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
2321
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2322
+ let baseOptions;
2323
+ if (configuration) {
2324
+ baseOptions = configuration.baseOptions;
2325
+ }
2326
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2327
+ const localVarHeaderParameter = {};
2328
+ const localVarQueryParameter = {};
2329
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2330
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2331
+ localVarHeaderParameter["Content-Type"] = "application/json";
2332
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2333
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2334
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2335
+ localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
2336
+ return {
2337
+ url: toPathString(localVarUrlObj),
2338
+ options: localVarRequestOptions
2339
+ };
2340
+ },
2341
+ deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
2342
+ assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
2343
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2344
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2345
+ let baseOptions;
2346
+ if (configuration) {
2347
+ baseOptions = configuration.baseOptions;
2348
+ }
2349
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2350
+ const localVarHeaderParameter = {};
2351
+ const localVarQueryParameter = {};
2352
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2353
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2354
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2355
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2356
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2357
+ return {
2358
+ url: toPathString(localVarUrlObj),
2359
+ options: localVarRequestOptions
2360
+ };
2361
+ },
2362
+ getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
2363
+ assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
2364
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2365
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2366
+ let baseOptions;
2367
+ if (configuration) {
2368
+ baseOptions = configuration.baseOptions;
2369
+ }
2370
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2371
+ const localVarHeaderParameter = {};
2372
+ const localVarQueryParameter = {};
2373
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2374
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2375
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2376
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2377
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2378
+ return {
2379
+ url: toPathString(localVarUrlObj),
2380
+ options: localVarRequestOptions
2381
+ };
2382
+ },
2383
+ listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
2384
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
2385
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2386
+ let baseOptions;
2387
+ if (configuration) {
2388
+ baseOptions = configuration.baseOptions;
2389
+ }
2390
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2391
+ const localVarHeaderParameter = {};
2392
+ const localVarQueryParameter = {};
2393
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2394
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2395
+ if (page !== void 0) {
2396
+ localVarQueryParameter["page"] = page;
2397
+ }
2398
+ if (size !== void 0) {
2399
+ localVarQueryParameter["size"] = size;
2400
+ }
2401
+ if (labelSelector) {
2402
+ localVarQueryParameter["labelSelector"] = labelSelector;
2403
+ }
2404
+ if (fieldSelector) {
2405
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2406
+ }
2407
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2408
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2409
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2410
+ return {
2411
+ url: toPathString(localVarUrlObj),
2412
+ options: localVarRequestOptions
2413
+ };
2414
+ },
2415
+ updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
2416
+ assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
2417
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2418
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2419
+ let baseOptions;
2420
+ if (configuration) {
2421
+ baseOptions = configuration.baseOptions;
2422
+ }
2423
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
2424
+ const localVarHeaderParameter = {};
2425
+ const localVarQueryParameter = {};
2426
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2427
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2428
+ localVarHeaderParameter["Content-Type"] = "application/json";
2429
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2430
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2431
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2432
+ localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
2433
+ return {
2434
+ url: toPathString(localVarUrlObj),
2435
+ options: localVarRequestOptions
2436
+ };
2437
+ }
2438
+ };
2439
+ };
2440
+ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
2441
+ const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
2442
+ return {
2443
+ async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2444
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
2445
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2446
+ },
2447
+ async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2448
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
2449
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2450
+ },
2451
+ async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2452
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
2453
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2454
+ },
2455
+ async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2456
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
2457
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2458
+ },
2459
+ async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2460
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
2461
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2462
+ }
2463
+ };
2464
+ };
2465
+ const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
2466
+ const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
2467
+ return {
2468
+ createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2469
+ return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
2470
+ },
2471
+ deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2472
+ return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
531
2473
  },
532
- getcoreHaloRunV1alpha1Link(name, options) {
533
- return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
2474
+ getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2475
+ return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
534
2476
  },
535
- listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
536
- return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2477
+ listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2478
+ return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
537
2479
  },
538
- updatecoreHaloRunV1alpha1Link(name, link, options) {
539
- return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
2480
+ updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2481
+ return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
540
2482
  }
541
2483
  };
542
2484
  };
543
- class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
544
- createcoreHaloRunV1alpha1Link(link, options) {
545
- return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(link, options).then((request) => request(this.axios, this.basePath));
2485
+ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
2486
+ createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2487
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(this.axios, this.basePath));
546
2488
  }
547
- deletecoreHaloRunV1alpha1Link(name, options) {
548
- return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
2489
+ deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2490
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
549
2491
  }
550
- getcoreHaloRunV1alpha1Link(name, options) {
551
- return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(name, options).then((request) => request(this.axios, this.basePath));
2492
+ getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2493
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
552
2494
  }
553
- listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
554
- return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
2495
+ listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2496
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
555
2497
  }
556
- updatecoreHaloRunV1alpha1Link(name, link, options) {
557
- return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(this.axios, this.basePath));
2498
+ updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2499
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
558
2500
  }
559
2501
  }
560
- const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
2502
+ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
561
2503
  return {
562
- createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
563
- const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
2504
+ createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
2505
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
564
2506
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
565
2507
  let baseOptions;
566
2508
  if (configuration) {
@@ -575,15 +2517,15 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
575
2517
  setSearchParams(localVarUrlObj, localVarQueryParameter);
576
2518
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
577
2519
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
578
- localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
2520
+ localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
579
2521
  return {
580
2522
  url: toPathString(localVarUrlObj),
581
2523
  options: localVarRequestOptions
582
2524
  };
583
2525
  },
584
- deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
585
- assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
586
- const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2526
+ deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
2527
+ assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
2528
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
587
2529
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
588
2530
  let baseOptions;
589
2531
  if (configuration) {
@@ -602,9 +2544,9 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
602
2544
  options: localVarRequestOptions
603
2545
  };
604
2546
  },
605
- getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
606
- assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
607
- const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2547
+ getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
2548
+ assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
2549
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
608
2550
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
609
2551
  let baseOptions;
610
2552
  if (configuration) {
@@ -623,8 +2565,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
623
2565
  options: localVarRequestOptions
624
2566
  };
625
2567
  },
626
- listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
627
- const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
2568
+ liststorageHaloRunV1alpha1Attachment: async (page, size, labelSelector, fieldSelector, options = {}) => {
2569
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
628
2570
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
629
2571
  let baseOptions;
630
2572
  if (configuration) {
@@ -655,9 +2597,53 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
655
2597
  options: localVarRequestOptions
656
2598
  };
657
2599
  },
658
- updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
659
- assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
660
- const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2600
+ searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
2601
+ const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
2602
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2603
+ let baseOptions;
2604
+ if (configuration) {
2605
+ baseOptions = configuration.baseOptions;
2606
+ }
2607
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2608
+ const localVarHeaderParameter = {};
2609
+ const localVarQueryParameter = {};
2610
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2611
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2612
+ if (policy !== void 0) {
2613
+ localVarQueryParameter["policy"] = policy;
2614
+ }
2615
+ if (displayName !== void 0) {
2616
+ localVarQueryParameter["displayName"] = displayName;
2617
+ }
2618
+ if (group !== void 0) {
2619
+ localVarQueryParameter["group"] = group;
2620
+ }
2621
+ if (uploadedBy !== void 0) {
2622
+ localVarQueryParameter["uploadedBy"] = uploadedBy;
2623
+ }
2624
+ if (size !== void 0) {
2625
+ localVarQueryParameter["size"] = size;
2626
+ }
2627
+ if (page !== void 0) {
2628
+ localVarQueryParameter["page"] = page;
2629
+ }
2630
+ if (labelSelector) {
2631
+ localVarQueryParameter["labelSelector"] = labelSelector;
2632
+ }
2633
+ if (fieldSelector) {
2634
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2635
+ }
2636
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2637
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2638
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2639
+ return {
2640
+ url: toPathString(localVarUrlObj),
2641
+ options: localVarRequestOptions
2642
+ };
2643
+ },
2644
+ updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
2645
+ assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
2646
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
661
2647
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
662
2648
  let baseOptions;
663
2649
  if (configuration) {
@@ -672,7 +2658,41 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
672
2658
  setSearchParams(localVarUrlObj, localVarQueryParameter);
673
2659
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
674
2660
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
675
- localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
2661
+ localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
2662
+ return {
2663
+ url: toPathString(localVarUrlObj),
2664
+ options: localVarRequestOptions
2665
+ };
2666
+ },
2667
+ uploadAttachment: async (file, policyName, groupName, options = {}) => {
2668
+ assertParamExists("uploadAttachment", "file", file);
2669
+ assertParamExists("uploadAttachment", "policyName", policyName);
2670
+ const localVarPath = `/apis/api.halo.run/v1alpha1/attachments/upload`;
2671
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2672
+ let baseOptions;
2673
+ if (configuration) {
2674
+ baseOptions = configuration.baseOptions;
2675
+ }
2676
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2677
+ const localVarHeaderParameter = {};
2678
+ const localVarQueryParameter = {};
2679
+ const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
2680
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2681
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2682
+ if (file !== void 0) {
2683
+ localVarFormParams.append("file", file);
2684
+ }
2685
+ if (policyName !== void 0) {
2686
+ localVarFormParams.append("policyName", policyName);
2687
+ }
2688
+ if (groupName !== void 0) {
2689
+ localVarFormParams.append("groupName", groupName);
2690
+ }
2691
+ localVarHeaderParameter["Content-Type"] = "multipart/form-data";
2692
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2693
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2694
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2695
+ localVarRequestOptions.data = localVarFormParams;
676
2696
  return {
677
2697
  url: toPathString(localVarUrlObj),
678
2698
  options: localVarRequestOptions
@@ -680,72 +2700,92 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
680
2700
  }
681
2701
  };
682
2702
  };
683
- const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
684
- const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
2703
+ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
2704
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
685
2705
  return {
686
- async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
687
- const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
2706
+ async createstorageHaloRunV1alpha1Attachment(attachment, options) {
2707
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(attachment, options);
688
2708
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
689
2709
  },
690
- async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
691
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
2710
+ async deletestorageHaloRunV1alpha1Attachment(name, options) {
2711
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Attachment(name, options);
692
2712
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
693
2713
  },
694
- async getcoreHaloRunV1alpha1LinkGroup(name, options) {
695
- const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
2714
+ async getstorageHaloRunV1alpha1Attachment(name, options) {
2715
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Attachment(name, options);
696
2716
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
697
2717
  },
698
- async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
699
- const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
2718
+ async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2719
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
700
2720
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
701
2721
  },
702
- async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
703
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
2722
+ async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
2723
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
2724
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2725
+ },
2726
+ async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2727
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(name, attachment, options);
2728
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2729
+ },
2730
+ async uploadAttachment(file, policyName, groupName, options) {
2731
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
704
2732
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
705
2733
  }
706
2734
  };
707
2735
  };
708
- const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
709
- const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
2736
+ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
2737
+ const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
710
2738
  return {
711
- createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
712
- return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
2739
+ createstorageHaloRunV1alpha1Attachment(attachment, options) {
2740
+ return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
713
2741
  },
714
- deletecoreHaloRunV1alpha1LinkGroup(name, options) {
715
- return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
2742
+ deletestorageHaloRunV1alpha1Attachment(name, options) {
2743
+ return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
716
2744
  },
717
- getcoreHaloRunV1alpha1LinkGroup(name, options) {
718
- return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
2745
+ getstorageHaloRunV1alpha1Attachment(name, options) {
2746
+ return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
719
2747
  },
720
- listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
721
- return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2748
+ liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2749
+ return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
722
2750
  },
723
- updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
724
- return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
2751
+ searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
2752
+ return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2753
+ },
2754
+ updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2755
+ return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
2756
+ },
2757
+ uploadAttachment(file, policyName, groupName, options) {
2758
+ return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
725
2759
  }
726
2760
  };
727
2761
  };
728
- class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
729
- createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
730
- return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(this.axios, this.basePath));
2762
+ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
2763
+ createstorageHaloRunV1alpha1Attachment(attachment, options) {
2764
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(this.axios, this.basePath));
731
2765
  }
732
- deletecoreHaloRunV1alpha1LinkGroup(name, options) {
733
- return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
2766
+ deletestorageHaloRunV1alpha1Attachment(name, options) {
2767
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(this.axios, this.basePath));
734
2768
  }
735
- getcoreHaloRunV1alpha1LinkGroup(name, options) {
736
- return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(this.axios, this.basePath));
2769
+ getstorageHaloRunV1alpha1Attachment(name, options) {
2770
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(this.axios, this.basePath));
737
2771
  }
738
- listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
739
- return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
2772
+ liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2773
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
740
2774
  }
741
- updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
742
- return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(this.axios, this.basePath));
2775
+ searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
2776
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
2777
+ }
2778
+ updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2779
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(this.axios, this.basePath));
2780
+ }
2781
+ uploadAttachment(file, policyName, groupName, options) {
2782
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(file, policyName, groupName, options).then((request) => request(this.axios, this.basePath));
743
2783
  }
744
2784
  }
745
- const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
2785
+ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration) {
746
2786
  return {
747
- createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
748
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
2787
+ createstorageHaloRunV1alpha1Group: async (group, options = {}) => {
2788
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
749
2789
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
750
2790
  let baseOptions;
751
2791
  if (configuration) {
@@ -760,15 +2800,15 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
760
2800
  setSearchParams(localVarUrlObj, localVarQueryParameter);
761
2801
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
762
2802
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
763
- localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
2803
+ localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
764
2804
  return {
765
2805
  url: toPathString(localVarUrlObj),
766
2806
  options: localVarRequestOptions
767
2807
  };
768
2808
  },
769
- deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
770
- assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
771
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2809
+ deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
2810
+ assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
2811
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
772
2812
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
773
2813
  let baseOptions;
774
2814
  if (configuration) {
@@ -787,9 +2827,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
787
2827
  options: localVarRequestOptions
788
2828
  };
789
2829
  },
790
- getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
791
- assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
792
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2830
+ getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
2831
+ assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
2832
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
793
2833
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
794
2834
  let baseOptions;
795
2835
  if (configuration) {
@@ -808,8 +2848,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
808
2848
  options: localVarRequestOptions
809
2849
  };
810
2850
  },
811
- listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
812
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
2851
+ liststorageHaloRunV1alpha1Group: async (page, size, labelSelector, fieldSelector, options = {}) => {
2852
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
813
2853
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
814
2854
  let baseOptions;
815
2855
  if (configuration) {
@@ -840,9 +2880,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
840
2880
  options: localVarRequestOptions
841
2881
  };
842
2882
  },
843
- updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
844
- assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
845
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2883
+ updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
2884
+ assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
2885
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
846
2886
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
847
2887
  let baseOptions;
848
2888
  if (configuration) {
@@ -857,7 +2897,7 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
857
2897
  setSearchParams(localVarUrlObj, localVarQueryParameter);
858
2898
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
859
2899
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
860
- localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
2900
+ localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
861
2901
  return {
862
2902
  url: toPathString(localVarUrlObj),
863
2903
  options: localVarRequestOptions
@@ -865,72 +2905,72 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
865
2905
  }
866
2906
  };
867
2907
  };
868
- const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
869
- const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
2908
+ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
2909
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator(configuration);
870
2910
  return {
871
- async createpluginHaloRunV1alpha1Plugin(plugin, options) {
872
- const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
2911
+ async createstorageHaloRunV1alpha1Group(group, options) {
2912
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Group(group, options);
873
2913
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
874
2914
  },
875
- async deletepluginHaloRunV1alpha1Plugin(name, options) {
876
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
2915
+ async deletestorageHaloRunV1alpha1Group(name, options) {
2916
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Group(name, options);
877
2917
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
878
2918
  },
879
- async getpluginHaloRunV1alpha1Plugin(name, options) {
880
- const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
2919
+ async getstorageHaloRunV1alpha1Group(name, options) {
2920
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Group(name, options);
881
2921
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
882
2922
  },
883
- async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
884
- const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
2923
+ async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
2924
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options);
885
2925
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
886
2926
  },
887
- async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
888
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
2927
+ async updatestorageHaloRunV1alpha1Group(name, group, options) {
2928
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Group(name, group, options);
889
2929
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
890
2930
  }
891
2931
  };
892
2932
  };
893
- const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
894
- const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
2933
+ const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
2934
+ const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
895
2935
  return {
896
- createpluginHaloRunV1alpha1Plugin(plugin, options) {
897
- return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
2936
+ createstorageHaloRunV1alpha1Group(group, options) {
2937
+ return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
898
2938
  },
899
- deletepluginHaloRunV1alpha1Plugin(name, options) {
900
- return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
2939
+ deletestorageHaloRunV1alpha1Group(name, options) {
2940
+ return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
901
2941
  },
902
- getpluginHaloRunV1alpha1Plugin(name, options) {
903
- return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
2942
+ getstorageHaloRunV1alpha1Group(name, options) {
2943
+ return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
904
2944
  },
905
- listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
906
- return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2945
+ liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
2946
+ return localVarFp.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
907
2947
  },
908
- updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
909
- return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
2948
+ updatestorageHaloRunV1alpha1Group(name, group, options) {
2949
+ return localVarFp.updatestorageHaloRunV1alpha1Group(name, group, options).then((request) => request(axios, basePath));
910
2950
  }
911
2951
  };
912
2952
  };
913
- class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
914
- createpluginHaloRunV1alpha1Plugin(plugin, options) {
915
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(this.axios, this.basePath));
2953
+ class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
2954
+ createstorageHaloRunV1alpha1Group(group, options) {
2955
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).createstorageHaloRunV1alpha1Group(group, options).then((request) => request(this.axios, this.basePath));
916
2956
  }
917
- deletepluginHaloRunV1alpha1Plugin(name, options) {
918
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
2957
+ deletestorageHaloRunV1alpha1Group(name, options) {
2958
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(this.axios, this.basePath));
919
2959
  }
920
- getpluginHaloRunV1alpha1Plugin(name, options) {
921
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
2960
+ getstorageHaloRunV1alpha1Group(name, options) {
2961
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(name, options).then((request) => request(this.axios, this.basePath));
922
2962
  }
923
- listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
924
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
2963
+ liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
2964
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
925
2965
  }
926
- updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
927
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
2966
+ updatestorageHaloRunV1alpha1Group(name, group, options) {
2967
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(name, group, options).then((request) => request(this.axios, this.basePath));
928
2968
  }
929
2969
  }
930
- const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
2970
+ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration) {
931
2971
  return {
932
- createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
933
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
2972
+ createstorageHaloRunV1alpha1Policy: async (policy, options = {}) => {
2973
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
934
2974
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
935
2975
  let baseOptions;
936
2976
  if (configuration) {
@@ -945,15 +2985,15 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
945
2985
  setSearchParams(localVarUrlObj, localVarQueryParameter);
946
2986
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
947
2987
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
948
- localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
2988
+ localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
949
2989
  return {
950
2990
  url: toPathString(localVarUrlObj),
951
2991
  options: localVarRequestOptions
952
2992
  };
953
2993
  },
954
- deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
955
- assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
956
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2994
+ deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
2995
+ assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
2996
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
957
2997
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
958
2998
  let baseOptions;
959
2999
  if (configuration) {
@@ -972,9 +3012,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
972
3012
  options: localVarRequestOptions
973
3013
  };
974
3014
  },
975
- getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
976
- assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
977
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3015
+ getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
3016
+ assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
3017
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
978
3018
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
979
3019
  let baseOptions;
980
3020
  if (configuration) {
@@ -993,8 +3033,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
993
3033
  options: localVarRequestOptions
994
3034
  };
995
3035
  },
996
- listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
997
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
3036
+ liststorageHaloRunV1alpha1Policy: async (page, size, labelSelector, fieldSelector, options = {}) => {
3037
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
998
3038
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
999
3039
  let baseOptions;
1000
3040
  if (configuration) {
@@ -1025,9 +3065,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
1025
3065
  options: localVarRequestOptions
1026
3066
  };
1027
3067
  },
1028
- updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
1029
- assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
1030
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3068
+ updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
3069
+ assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
3070
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1031
3071
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1032
3072
  let baseOptions;
1033
3073
  if (configuration) {
@@ -1042,7 +3082,7 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
1042
3082
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1043
3083
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1044
3084
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1045
- localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
3085
+ localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
1046
3086
  return {
1047
3087
  url: toPathString(localVarUrlObj),
1048
3088
  options: localVarRequestOptions
@@ -1050,72 +3090,72 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
1050
3090
  }
1051
3091
  };
1052
3092
  };
1053
- const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
1054
- const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
3093
+ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
3094
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator(configuration);
1055
3095
  return {
1056
- async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
1057
- const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
3096
+ async createstorageHaloRunV1alpha1Policy(policy, options) {
3097
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Policy(policy, options);
1058
3098
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1059
3099
  },
1060
- async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
1061
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
3100
+ async deletestorageHaloRunV1alpha1Policy(name, options) {
3101
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Policy(name, options);
1062
3102
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1063
3103
  },
1064
- async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
1065
- const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
3104
+ async getstorageHaloRunV1alpha1Policy(name, options) {
3105
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Policy(name, options);
1066
3106
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1067
3107
  },
1068
- async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
1069
- const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
3108
+ async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
3109
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options);
1070
3110
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1071
3111
  },
1072
- async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
1073
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
3112
+ async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
3113
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(name, policy, options);
1074
3114
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1075
3115
  }
1076
3116
  };
1077
3117
  };
1078
- const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
1079
- const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
3118
+ const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
3119
+ const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
1080
3120
  return {
1081
- createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
1082
- return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
3121
+ createstorageHaloRunV1alpha1Policy(policy, options) {
3122
+ return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
1083
3123
  },
1084
- deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
1085
- return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
3124
+ deletestorageHaloRunV1alpha1Policy(name, options) {
3125
+ return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
1086
3126
  },
1087
- getpluginHaloRunV1alpha1ReverseProxy(name, options) {
1088
- return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
3127
+ getstorageHaloRunV1alpha1Policy(name, options) {
3128
+ return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
1089
3129
  },
1090
- listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
1091
- return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
3130
+ liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
3131
+ return localVarFp.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1092
3132
  },
1093
- updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
1094
- return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
3133
+ updatestorageHaloRunV1alpha1Policy(name, policy, options) {
3134
+ return localVarFp.updatestorageHaloRunV1alpha1Policy(name, policy, options).then((request) => request(axios, basePath));
1095
3135
  }
1096
3136
  };
1097
3137
  };
1098
- class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
1099
- createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
1100
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(this.axios, this.basePath));
3138
+ class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
3139
+ createstorageHaloRunV1alpha1Policy(policy, options) {
3140
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(this.axios, this.basePath));
1101
3141
  }
1102
- deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
1103
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
3142
+ deletestorageHaloRunV1alpha1Policy(name, options) {
3143
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(this.axios, this.basePath));
1104
3144
  }
1105
- getpluginHaloRunV1alpha1ReverseProxy(name, options) {
1106
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
3145
+ getstorageHaloRunV1alpha1Policy(name, options) {
3146
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(this.axios, this.basePath));
1107
3147
  }
1108
- listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
1109
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
3148
+ liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
3149
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
1110
3150
  }
1111
- updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
1112
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
3151
+ updatestorageHaloRunV1alpha1Policy(name, policy, options) {
3152
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(name, policy, options).then((request) => request(this.axios, this.basePath));
1113
3153
  }
1114
3154
  }
1115
- const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration) {
3155
+ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(configuration) {
1116
3156
  return {
1117
- createrunHaloTemplateV1alpha1Apple: async (apple, options = {}) => {
1118
- const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
3157
+ createstorageHaloRunV1alpha1PolicyTemplate: async (policyTemplate, options = {}) => {
3158
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
1119
3159
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1120
3160
  let baseOptions;
1121
3161
  if (configuration) {
@@ -1130,15 +3170,15 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
1130
3170
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1131
3171
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1132
3172
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1133
- localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
3173
+ localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
1134
3174
  return {
1135
3175
  url: toPathString(localVarUrlObj),
1136
3176
  options: localVarRequestOptions
1137
3177
  };
1138
3178
  },
1139
- deleterunHaloTemplateV1alpha1Apple: async (name, options = {}) => {
1140
- assertParamExists("deleterunHaloTemplateV1alpha1Apple", "name", name);
1141
- const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3179
+ deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
3180
+ assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
3181
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1142
3182
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1143
3183
  let baseOptions;
1144
3184
  if (configuration) {
@@ -1157,9 +3197,9 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
1157
3197
  options: localVarRequestOptions
1158
3198
  };
1159
3199
  },
1160
- getrunHaloTemplateV1alpha1Apple: async (name, options = {}) => {
1161
- assertParamExists("getrunHaloTemplateV1alpha1Apple", "name", name);
1162
- const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3200
+ getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
3201
+ assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
3202
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1163
3203
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1164
3204
  let baseOptions;
1165
3205
  if (configuration) {
@@ -1178,8 +3218,8 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
1178
3218
  options: localVarRequestOptions
1179
3219
  };
1180
3220
  },
1181
- listrunHaloTemplateV1alpha1Apple: async (page, size, labelSelector, fieldSelector, options = {}) => {
1182
- const localVarPath = `/apis/run.halo.template/v1alpha1/apples`;
3221
+ liststorageHaloRunV1alpha1PolicyTemplate: async (page, size, labelSelector, fieldSelector, options = {}) => {
3222
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
1183
3223
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1184
3224
  let baseOptions;
1185
3225
  if (configuration) {
@@ -1210,9 +3250,9 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
1210
3250
  options: localVarRequestOptions
1211
3251
  };
1212
3252
  },
1213
- updaterunHaloTemplateV1alpha1Apple: async (name, apple, options = {}) => {
1214
- assertParamExists("updaterunHaloTemplateV1alpha1Apple", "name", name);
1215
- const localVarPath = `/apis/run.halo.template/v1alpha1/apples/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3253
+ updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
3254
+ assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
3255
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1216
3256
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1217
3257
  let baseOptions;
1218
3258
  if (configuration) {
@@ -1227,7 +3267,7 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
1227
3267
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1228
3268
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1229
3269
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1230
- localVarRequestOptions.data = serializeDataIfNeeded(apple, localVarRequestOptions, configuration);
3270
+ localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
1231
3271
  return {
1232
3272
  url: toPathString(localVarUrlObj),
1233
3273
  options: localVarRequestOptions
@@ -1235,66 +3275,66 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
1235
3275
  }
1236
3276
  };
1237
3277
  };
1238
- const RunHaloTemplateV1alpha1AppleApiFp = function(configuration) {
1239
- const localVarAxiosParamCreator = RunHaloTemplateV1alpha1AppleApiAxiosParamCreator(configuration);
3278
+ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
3279
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
1240
3280
  return {
1241
- async createrunHaloTemplateV1alpha1Apple(apple, options) {
1242
- const localVarAxiosArgs = await localVarAxiosParamCreator.createrunHaloTemplateV1alpha1Apple(apple, options);
3281
+ async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
3282
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options);
1243
3283
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1244
3284
  },
1245
- async deleterunHaloTemplateV1alpha1Apple(name, options) {
1246
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleterunHaloTemplateV1alpha1Apple(name, options);
3285
+ async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
3286
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(name, options);
1247
3287
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1248
3288
  },
1249
- async getrunHaloTemplateV1alpha1Apple(name, options) {
1250
- const localVarAxiosArgs = await localVarAxiosParamCreator.getrunHaloTemplateV1alpha1Apple(name, options);
3289
+ async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
3290
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1PolicyTemplate(name, options);
1251
3291
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1252
3292
  },
1253
- async listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
1254
- const localVarAxiosArgs = await localVarAxiosParamCreator.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options);
3293
+ async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
3294
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options);
1255
3295
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1256
3296
  },
1257
- async updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
1258
- const localVarAxiosArgs = await localVarAxiosParamCreator.updaterunHaloTemplateV1alpha1Apple(name, apple, options);
3297
+ async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
3298
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options);
1259
3299
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1260
3300
  }
1261
3301
  };
1262
3302
  };
1263
- const RunHaloTemplateV1alpha1AppleApiFactory = function(configuration, basePath, axios) {
1264
- const localVarFp = RunHaloTemplateV1alpha1AppleApiFp(configuration);
3303
+ const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
3304
+ const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
1265
3305
  return {
1266
- createrunHaloTemplateV1alpha1Apple(apple, options) {
1267
- return localVarFp.createrunHaloTemplateV1alpha1Apple(apple, options).then((request) => request(axios, basePath));
3306
+ createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
3307
+ return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
1268
3308
  },
1269
- deleterunHaloTemplateV1alpha1Apple(name, options) {
1270
- return localVarFp.deleterunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
3309
+ deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
3310
+ return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
1271
3311
  },
1272
- getrunHaloTemplateV1alpha1Apple(name, options) {
1273
- return localVarFp.getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(axios, basePath));
3312
+ getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
3313
+ return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
1274
3314
  },
1275
- listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
1276
- return localVarFp.listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
3315
+ liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
3316
+ return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1277
3317
  },
1278
- updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
1279
- return localVarFp.updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(axios, basePath));
3318
+ updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
3319
+ return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options).then((request) => request(axios, basePath));
1280
3320
  }
1281
3321
  };
1282
3322
  };
1283
- class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
1284
- createrunHaloTemplateV1alpha1Apple(apple, options) {
1285
- return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).createrunHaloTemplateV1alpha1Apple(apple, options).then((request) => request(this.axios, this.basePath));
3323
+ class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
3324
+ createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
3325
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(this.axios, this.basePath));
1286
3326
  }
1287
- deleterunHaloTemplateV1alpha1Apple(name, options) {
1288
- return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).deleterunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
3327
+ deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
3328
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(this.axios, this.basePath));
1289
3329
  }
1290
- getrunHaloTemplateV1alpha1Apple(name, options) {
1291
- return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).getrunHaloTemplateV1alpha1Apple(name, options).then((request) => request(this.axios, this.basePath));
3330
+ getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
3331
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(this.axios, this.basePath));
1292
3332
  }
1293
- listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options) {
1294
- return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).listrunHaloTemplateV1alpha1Apple(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
3333
+ liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
3334
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
1295
3335
  }
1296
- updaterunHaloTemplateV1alpha1Apple(name, apple, options) {
1297
- return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
3336
+ updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
3337
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options).then((request) => request(this.axios, this.basePath));
1298
3338
  }
1299
3339
  }
1300
3340
  const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
@@ -2979,4 +5019,4 @@ class Configuration {
2979
5019
  }
2980
5020
  }
2981
5021
 
2982
- export { ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ApplesControllerApi, ApplesControllerApiAxiosParamCreator, ApplesControllerApiFactory, ApplesControllerApiFp, Configuration, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, RunHaloTemplateV1alpha1AppleApi, RunHaloTemplateV1alpha1AppleApiAxiosParamCreator, RunHaloTemplateV1alpha1AppleApiFactory, RunHaloTemplateV1alpha1AppleApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
5022
+ export { ApiHaloRunV1alpha1ContentApi, ApiHaloRunV1alpha1ContentApiAxiosParamCreator, ApiHaloRunV1alpha1ContentApiFactory, ApiHaloRunV1alpha1ContentApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };