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