@platzio/sdk 0.6.0-beta.0 → 0.6.0-beta.1-1

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/src/api.ts CHANGED
@@ -23,6 +23,62 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface AllDeploymentKinds200Response
30
+ */
31
+ export interface AllDeploymentKinds200Response {
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof AllDeploymentKinds200Response
36
+ */
37
+ 'page': number;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof AllDeploymentKinds200Response
42
+ */
43
+ 'per_page': number;
44
+ /**
45
+ *
46
+ * @type {Array<AllDeploymentKinds200ResponseItemsInner>}
47
+ * @memberof AllDeploymentKinds200Response
48
+ */
49
+ 'items': Array<AllDeploymentKinds200ResponseItemsInner>;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof AllDeploymentKinds200Response
54
+ */
55
+ 'num_total': number;
56
+ }
57
+ /**
58
+ *
59
+ * @export
60
+ * @interface AllDeploymentKinds200ResponseItemsInner
61
+ */
62
+ export interface AllDeploymentKinds200ResponseItemsInner {
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof AllDeploymentKinds200ResponseItemsInner
67
+ */
68
+ 'id': string;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof AllDeploymentKinds200ResponseItemsInner
73
+ */
74
+ 'created_at': string;
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof AllDeploymentKinds200ResponseItemsInner
79
+ */
80
+ 'name': string;
81
+ }
26
82
  /**
27
83
  *
28
84
  * @export
@@ -84,12 +140,6 @@ export interface AllDeploymentPermissions200ResponseItemsInner {
84
140
  * @memberof AllDeploymentPermissions200ResponseItemsInner
85
141
  */
86
142
  'user_id': string;
87
- /**
88
- *
89
- * @type {string}
90
- * @memberof AllDeploymentPermissions200ResponseItemsInner
91
- */
92
- 'kind': string;
93
143
  /**
94
144
  *
95
145
  * @type {string}
@@ -160,12 +210,6 @@ export interface AllDeploymentResourceTypes200ResponseItemsInner {
160
210
  * @memberof AllDeploymentResourceTypes200ResponseItemsInner
161
211
  */
162
212
  'env_id': string | null;
163
- /**
164
- *
165
- * @type {string}
166
- * @memberof AllDeploymentResourceTypes200ResponseItemsInner
167
- */
168
- 'deployment_kind': string;
169
213
  /**
170
214
  *
171
215
  * @type {string}
@@ -464,12 +508,6 @@ export interface AllDeployments200ResponseItemsInner {
464
508
  * @memberof AllDeployments200ResponseItemsInner
465
509
  */
466
510
  'name': string;
467
- /**
468
- *
469
- * @type {string}
470
- * @memberof AllDeployments200ResponseItemsInner
471
- */
472
- 'kind': string;
473
511
  /**
474
512
  *
475
513
  * @type {string}
@@ -878,12 +916,6 @@ export interface AllHelmRegistries200ResponseItemsInner {
878
916
  * @memberof AllHelmRegistries200ResponseItemsInner
879
917
  */
880
918
  'repo_name': string;
881
- /**
882
- *
883
- * @type {string}
884
- * @memberof AllHelmRegistries200ResponseItemsInner
885
- */
886
- 'kind': string;
887
919
  /**
888
920
  *
889
921
  * @type {string}
@@ -2199,7 +2231,7 @@ export interface CreateDeploymentTask {
2199
2231
  * @type {string}
2200
2232
  * @memberof CreateDeploymentTask
2201
2233
  */
2202
- 'execute_at': string | null;
2234
+ 'execute_at'?: string | null;
2203
2235
  }
2204
2236
  /**
2205
2237
  *
@@ -2359,12 +2391,6 @@ export interface Deployment {
2359
2391
  * @memberof Deployment
2360
2392
  */
2361
2393
  'name': string;
2362
- /**
2363
- *
2364
- * @type {string}
2365
- * @memberof Deployment
2366
- */
2367
- 'kind': string;
2368
2394
  /**
2369
2395
  *
2370
2396
  * @type {string}
@@ -2484,6 +2510,31 @@ export interface DeploymentInvokeActionTask {
2484
2510
  */
2485
2511
  'body': any;
2486
2512
  }
2513
+ /**
2514
+ *
2515
+ * @export
2516
+ * @interface DeploymentKind
2517
+ */
2518
+ export interface DeploymentKind {
2519
+ /**
2520
+ *
2521
+ * @type {string}
2522
+ * @memberof DeploymentKind
2523
+ */
2524
+ 'id': string;
2525
+ /**
2526
+ *
2527
+ * @type {string}
2528
+ * @memberof DeploymentKind
2529
+ */
2530
+ 'created_at': string;
2531
+ /**
2532
+ *
2533
+ * @type {string}
2534
+ * @memberof DeploymentKind
2535
+ */
2536
+ 'name': string;
2537
+ }
2487
2538
  /**
2488
2539
  *
2489
2540
  * @export
@@ -2514,12 +2565,6 @@ export interface DeploymentPermission {
2514
2565
  * @memberof DeploymentPermission
2515
2566
  */
2516
2567
  'user_id': string;
2517
- /**
2518
- *
2519
- * @type {string}
2520
- * @memberof DeploymentPermission
2521
- */
2522
- 'kind': string;
2523
2568
  /**
2524
2569
  *
2525
2570
  * @type {string}
@@ -2852,12 +2897,6 @@ export interface DeploymentResourceType {
2852
2897
  * @memberof DeploymentResourceType
2853
2898
  */
2854
2899
  'env_id': string | null;
2855
- /**
2856
- *
2857
- * @type {string}
2858
- * @memberof DeploymentResourceType
2859
- */
2860
- 'deployment_kind': string;
2861
2900
  /**
2862
2901
  *
2863
2902
  * @type {string}
@@ -3409,12 +3448,6 @@ export interface HelmRegistry {
3409
3448
  * @memberof HelmRegistry
3410
3449
  */
3411
3450
  'repo_name': string;
3412
- /**
3413
- *
3414
- * @type {string}
3415
- * @memberof HelmRegistry
3416
- */
3417
- 'kind': string;
3418
3451
  /**
3419
3452
  *
3420
3453
  * @type {string}
@@ -3680,12 +3713,6 @@ export interface NewDeployment {
3680
3713
  * @memberof NewDeployment
3681
3714
  */
3682
3715
  'name'?: string;
3683
- /**
3684
- *
3685
- * @type {string}
3686
- * @memberof NewDeployment
3687
- */
3688
- 'kind': string;
3689
3716
  /**
3690
3717
  *
3691
3718
  * @type {string}
@@ -3761,13 +3788,13 @@ export interface NewDeploymentResource {
3761
3788
  * @type {string}
3762
3789
  * @memberof NewDeploymentResource
3763
3790
  */
3764
- 'id': string | null;
3791
+ 'id'?: string | null;
3765
3792
  /**
3766
3793
  *
3767
3794
  * @type {string}
3768
3795
  * @memberof NewDeploymentResource
3769
3796
  */
3770
- 'created_at': string | null;
3797
+ 'created_at'?: string | null;
3771
3798
  /**
3772
3799
  *
3773
3800
  * @type {string}
@@ -3797,7 +3824,7 @@ export interface NewDeploymentResource {
3797
3824
  * @type {DeploymentResourceSyncStatus}
3798
3825
  * @memberof NewDeploymentResource
3799
3826
  */
3800
- 'sync_status': DeploymentResourceSyncStatus | null;
3827
+ 'sync_status'?: DeploymentResourceSyncStatus | null;
3801
3828
  }
3802
3829
 
3803
3830
 
@@ -3818,7 +3845,7 @@ export interface NewEnv {
3818
3845
  * @type {boolean}
3819
3846
  * @memberof NewEnv
3820
3847
  */
3821
- 'auto_add_new_users': boolean | null;
3848
+ 'auto_add_new_users'?: boolean;
3822
3849
  }
3823
3850
  /**
3824
3851
  *
@@ -4386,43 +4413,56 @@ export interface UpdateDeployment {
4386
4413
  * @type {string}
4387
4414
  * @memberof UpdateDeployment
4388
4415
  */
4389
- 'name': string | null;
4416
+ 'name'?: string | null;
4390
4417
  /**
4391
4418
  *
4392
4419
  * @type {string}
4393
4420
  * @memberof UpdateDeployment
4394
4421
  */
4395
- 'cluster_id': string | null;
4422
+ 'cluster_id'?: string | null;
4396
4423
  /**
4397
4424
  *
4398
4425
  * @type {string}
4399
4426
  * @memberof UpdateDeployment
4400
4427
  */
4401
- 'helm_chart_id': string | null;
4428
+ 'helm_chart_id'?: string | null;
4402
4429
  /**
4403
4430
  *
4404
4431
  * @type {any}
4405
4432
  * @memberof UpdateDeployment
4406
4433
  */
4407
- 'config': any | null;
4434
+ 'config'?: any | null;
4408
4435
  /**
4409
4436
  *
4410
4437
  * @type {any}
4411
4438
  * @memberof UpdateDeployment
4412
4439
  */
4413
- 'values_override': any | null;
4440
+ 'values_override'?: any | null;
4414
4441
  /**
4415
4442
  *
4416
4443
  * @type {boolean}
4417
4444
  * @memberof UpdateDeployment
4418
4445
  */
4419
- 'enabled': boolean | null;
4446
+ 'enabled'?: boolean | null;
4420
4447
  /**
4421
4448
  *
4422
4449
  * @type {string}
4423
4450
  * @memberof UpdateDeployment
4424
4451
  */
4425
- 'description_md': string | null;
4452
+ 'description_md'?: string | null;
4453
+ }
4454
+ /**
4455
+ *
4456
+ * @export
4457
+ * @interface UpdateDeploymentKind
4458
+ */
4459
+ export interface UpdateDeploymentKind {
4460
+ /**
4461
+ *
4462
+ * @type {string}
4463
+ * @memberof UpdateDeploymentKind
4464
+ */
4465
+ 'name': string;
4426
4466
  }
4427
4467
  /**
4428
4468
  *
@@ -4435,13 +4475,13 @@ export interface UpdateDeploymentResource {
4435
4475
  * @type {string}
4436
4476
  * @memberof UpdateDeploymentResource
4437
4477
  */
4438
- 'name': string | null;
4478
+ 'name'?: string | null;
4439
4479
  /**
4440
4480
  *
4441
4481
  * @type {any}
4442
4482
  * @memberof UpdateDeploymentResource
4443
4483
  */
4444
- 'props': any | null;
4484
+ 'props'?: any | null;
4445
4485
  }
4446
4486
  /**
4447
4487
  *
@@ -4454,25 +4494,25 @@ export interface UpdateEnv {
4454
4494
  * @type {string}
4455
4495
  * @memberof UpdateEnv
4456
4496
  */
4457
- 'name': string | null;
4497
+ 'name'?: string | null;
4458
4498
  /**
4459
4499
  *
4460
4500
  * @type {any}
4461
4501
  * @memberof UpdateEnv
4462
4502
  */
4463
- 'node_selector': any | null;
4503
+ 'node_selector'?: any | null;
4464
4504
  /**
4465
4505
  *
4466
4506
  * @type {any}
4467
4507
  * @memberof UpdateEnv
4468
4508
  */
4469
- 'tolerations': any | null;
4509
+ 'tolerations'?: any | null;
4470
4510
  /**
4471
4511
  *
4472
4512
  * @type {boolean}
4473
4513
  * @memberof UpdateEnv
4474
4514
  */
4475
- 'auto_add_new_users': boolean | null;
4515
+ 'auto_add_new_users'?: boolean | null;
4476
4516
  }
4477
4517
  /**
4478
4518
  *
@@ -4485,7 +4525,7 @@ export interface UpdateHelmRegistry {
4485
4525
  * @type {string}
4486
4526
  * @memberof UpdateHelmRegistry
4487
4527
  */
4488
- 'fa_icon': string | null;
4528
+ 'fa_icon'?: string | null;
4489
4529
  }
4490
4530
  /**
4491
4531
  *
@@ -4504,7 +4544,7 @@ export interface UpdateK8sCluster {
4504
4544
  * @type {boolean}
4505
4545
  * @memberof UpdateK8sCluster
4506
4546
  */
4507
- 'ignore': boolean | null;
4547
+ 'ignore'?: boolean | null;
4508
4548
  /**
4509
4549
  *
4510
4550
  * @type {string}
@@ -4539,21 +4579,21 @@ export interface UpdateK8sCluster {
4539
4579
  /**
4540
4580
  *
4541
4581
  * @export
4542
- * @interface UpdateSecretApi
4582
+ * @interface UpdateSecret
4543
4583
  */
4544
- export interface UpdateSecretApi {
4584
+ export interface UpdateSecret {
4545
4585
  /**
4546
4586
  *
4547
4587
  * @type {string}
4548
- * @memberof UpdateSecretApi
4588
+ * @memberof UpdateSecret
4549
4589
  */
4550
- 'name': string | null;
4590
+ 'name'?: string | null;
4551
4591
  /**
4552
4592
  *
4553
4593
  * @type {string}
4554
- * @memberof UpdateSecretApi
4594
+ * @memberof UpdateSecret
4555
4595
  */
4556
- 'contents': string | null;
4596
+ 'contents'?: string | null;
4557
4597
  }
4558
4598
  /**
4559
4599
  *
@@ -4566,13 +4606,13 @@ export interface UpdateUser {
4566
4606
  * @type {boolean}
4567
4607
  * @memberof UpdateUser
4568
4608
  */
4569
- 'is_admin': boolean | null;
4609
+ 'is_admin'?: boolean | null;
4570
4610
  /**
4571
4611
  *
4572
4612
  * @type {boolean}
4573
4613
  * @memberof UpdateUser
4574
4614
  */
4575
- 'is_active': boolean | null;
4615
+ 'is_active'?: boolean | null;
4576
4616
  }
4577
4617
  /**
4578
4618
  *
@@ -4900,6 +4940,344 @@ export class AuthenticationApi extends BaseAPI {
4900
4940
 
4901
4941
 
4902
4942
 
4943
+ /**
4944
+ * DeploymentKindsApi - axios parameter creator
4945
+ * @export
4946
+ */
4947
+ export const DeploymentKindsApiAxiosParamCreator = function (configuration?: Configuration) {
4948
+ return {
4949
+ /**
4950
+ *
4951
+ * @param {string | null} [name]
4952
+ * @param {number | null} [page]
4953
+ * @param {number | null} [perPage]
4954
+ * @param {*} [options] Override http request option.
4955
+ * @throws {RequiredError}
4956
+ */
4957
+ allDeploymentKinds: async (name?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4958
+ const localVarPath = `/api/v2/deployment-kinds`;
4959
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4960
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4961
+ let baseOptions;
4962
+ if (configuration) {
4963
+ baseOptions = configuration.baseOptions;
4964
+ }
4965
+
4966
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4967
+ const localVarHeaderParameter = {} as any;
4968
+ const localVarQueryParameter = {} as any;
4969
+
4970
+ // authentication access_token required
4971
+ // http bearer authentication required
4972
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4973
+
4974
+ // authentication user_token required
4975
+ await setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration)
4976
+
4977
+ if (name !== undefined) {
4978
+ localVarQueryParameter['name'] = name;
4979
+ }
4980
+
4981
+ if (page !== undefined) {
4982
+ localVarQueryParameter['page'] = page;
4983
+ }
4984
+
4985
+ if (perPage !== undefined) {
4986
+ localVarQueryParameter['per_page'] = perPage;
4987
+ }
4988
+
4989
+
4990
+
4991
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4992
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4993
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4994
+
4995
+ return {
4996
+ url: toPathString(localVarUrlObj),
4997
+ options: localVarRequestOptions,
4998
+ };
4999
+ },
5000
+ /**
5001
+ *
5002
+ * @param {string} id
5003
+ * @param {*} [options] Override http request option.
5004
+ * @throws {RequiredError}
5005
+ */
5006
+ getDeploymentKind: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5007
+ // verify required parameter 'id' is not null or undefined
5008
+ assertParamExists('getDeploymentKind', 'id', id)
5009
+ const localVarPath = `/api/v2/deployment-kinds/{id}`
5010
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5011
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5012
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5013
+ let baseOptions;
5014
+ if (configuration) {
5015
+ baseOptions = configuration.baseOptions;
5016
+ }
5017
+
5018
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5019
+ const localVarHeaderParameter = {} as any;
5020
+ const localVarQueryParameter = {} as any;
5021
+
5022
+ // authentication access_token required
5023
+ // http bearer authentication required
5024
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5025
+
5026
+ // authentication user_token required
5027
+ await setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration)
5028
+
5029
+
5030
+
5031
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5032
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5033
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5034
+
5035
+ return {
5036
+ url: toPathString(localVarUrlObj),
5037
+ options: localVarRequestOptions,
5038
+ };
5039
+ },
5040
+ /**
5041
+ *
5042
+ * @param {string} id
5043
+ * @param {UpdateDeploymentKind} updateDeploymentKind
5044
+ * @param {*} [options] Override http request option.
5045
+ * @throws {RequiredError}
5046
+ */
5047
+ updateDeploymentKind: async (id: string, updateDeploymentKind: UpdateDeploymentKind, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5048
+ // verify required parameter 'id' is not null or undefined
5049
+ assertParamExists('updateDeploymentKind', 'id', id)
5050
+ // verify required parameter 'updateDeploymentKind' is not null or undefined
5051
+ assertParamExists('updateDeploymentKind', 'updateDeploymentKind', updateDeploymentKind)
5052
+ const localVarPath = `/api/v2/deployment-kinds/{id}`
5053
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5054
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5055
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5056
+ let baseOptions;
5057
+ if (configuration) {
5058
+ baseOptions = configuration.baseOptions;
5059
+ }
5060
+
5061
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5062
+ const localVarHeaderParameter = {} as any;
5063
+ const localVarQueryParameter = {} as any;
5064
+
5065
+ // authentication access_token required
5066
+ // http bearer authentication required
5067
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5068
+
5069
+ // authentication user_token required
5070
+ await setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration)
5071
+
5072
+
5073
+
5074
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5075
+
5076
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5077
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5078
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5079
+ localVarRequestOptions.data = serializeDataIfNeeded(updateDeploymentKind, localVarRequestOptions, configuration)
5080
+
5081
+ return {
5082
+ url: toPathString(localVarUrlObj),
5083
+ options: localVarRequestOptions,
5084
+ };
5085
+ },
5086
+ }
5087
+ };
5088
+
5089
+ /**
5090
+ * DeploymentKindsApi - functional programming interface
5091
+ * @export
5092
+ */
5093
+ export const DeploymentKindsApiFp = function(configuration?: Configuration) {
5094
+ const localVarAxiosParamCreator = DeploymentKindsApiAxiosParamCreator(configuration)
5095
+ return {
5096
+ /**
5097
+ *
5098
+ * @param {string | null} [name]
5099
+ * @param {number | null} [page]
5100
+ * @param {number | null} [perPage]
5101
+ * @param {*} [options] Override http request option.
5102
+ * @throws {RequiredError}
5103
+ */
5104
+ async allDeploymentKinds(name?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentKinds200Response>> {
5105
+ const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentKinds(name, page, perPage, options);
5106
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5107
+ const localVarOperationServerBasePath = operationServerMap['DeploymentKindsApi.allDeploymentKinds']?.[localVarOperationServerIndex]?.url;
5108
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5109
+ },
5110
+ /**
5111
+ *
5112
+ * @param {string} id
5113
+ * @param {*} [options] Override http request option.
5114
+ * @throws {RequiredError}
5115
+ */
5116
+ async getDeploymentKind(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentKind>> {
5117
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentKind(id, options);
5118
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5119
+ const localVarOperationServerBasePath = operationServerMap['DeploymentKindsApi.getDeploymentKind']?.[localVarOperationServerIndex]?.url;
5120
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5121
+ },
5122
+ /**
5123
+ *
5124
+ * @param {string} id
5125
+ * @param {UpdateDeploymentKind} updateDeploymentKind
5126
+ * @param {*} [options] Override http request option.
5127
+ * @throws {RequiredError}
5128
+ */
5129
+ async updateDeploymentKind(id: string, updateDeploymentKind: UpdateDeploymentKind, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentKind>> {
5130
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateDeploymentKind(id, updateDeploymentKind, options);
5131
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5132
+ const localVarOperationServerBasePath = operationServerMap['DeploymentKindsApi.updateDeploymentKind']?.[localVarOperationServerIndex]?.url;
5133
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5134
+ },
5135
+ }
5136
+ };
5137
+
5138
+ /**
5139
+ * DeploymentKindsApi - factory interface
5140
+ * @export
5141
+ */
5142
+ export const DeploymentKindsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
5143
+ const localVarFp = DeploymentKindsApiFp(configuration)
5144
+ return {
5145
+ /**
5146
+ *
5147
+ * @param {DeploymentKindsApiAllDeploymentKindsRequest} requestParameters Request parameters.
5148
+ * @param {*} [options] Override http request option.
5149
+ * @throws {RequiredError}
5150
+ */
5151
+ allDeploymentKinds(requestParameters: DeploymentKindsApiAllDeploymentKindsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllDeploymentKinds200Response> {
5152
+ return localVarFp.allDeploymentKinds(requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
5153
+ },
5154
+ /**
5155
+ *
5156
+ * @param {DeploymentKindsApiGetDeploymentKindRequest} requestParameters Request parameters.
5157
+ * @param {*} [options] Override http request option.
5158
+ * @throws {RequiredError}
5159
+ */
5160
+ getDeploymentKind(requestParameters: DeploymentKindsApiGetDeploymentKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentKind> {
5161
+ return localVarFp.getDeploymentKind(requestParameters.id, options).then((request) => request(axios, basePath));
5162
+ },
5163
+ /**
5164
+ *
5165
+ * @param {DeploymentKindsApiUpdateDeploymentKindRequest} requestParameters Request parameters.
5166
+ * @param {*} [options] Override http request option.
5167
+ * @throws {RequiredError}
5168
+ */
5169
+ updateDeploymentKind(requestParameters: DeploymentKindsApiUpdateDeploymentKindRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentKind> {
5170
+ return localVarFp.updateDeploymentKind(requestParameters.id, requestParameters.updateDeploymentKind, options).then((request) => request(axios, basePath));
5171
+ },
5172
+ };
5173
+ };
5174
+
5175
+ /**
5176
+ * Request parameters for allDeploymentKinds operation in DeploymentKindsApi.
5177
+ * @export
5178
+ * @interface DeploymentKindsApiAllDeploymentKindsRequest
5179
+ */
5180
+ export interface DeploymentKindsApiAllDeploymentKindsRequest {
5181
+ /**
5182
+ *
5183
+ * @type {string}
5184
+ * @memberof DeploymentKindsApiAllDeploymentKinds
5185
+ */
5186
+ readonly name?: string | null
5187
+
5188
+ /**
5189
+ *
5190
+ * @type {number}
5191
+ * @memberof DeploymentKindsApiAllDeploymentKinds
5192
+ */
5193
+ readonly page?: number | null
5194
+
5195
+ /**
5196
+ *
5197
+ * @type {number}
5198
+ * @memberof DeploymentKindsApiAllDeploymentKinds
5199
+ */
5200
+ readonly perPage?: number | null
5201
+ }
5202
+
5203
+ /**
5204
+ * Request parameters for getDeploymentKind operation in DeploymentKindsApi.
5205
+ * @export
5206
+ * @interface DeploymentKindsApiGetDeploymentKindRequest
5207
+ */
5208
+ export interface DeploymentKindsApiGetDeploymentKindRequest {
5209
+ /**
5210
+ *
5211
+ * @type {string}
5212
+ * @memberof DeploymentKindsApiGetDeploymentKind
5213
+ */
5214
+ readonly id: string
5215
+ }
5216
+
5217
+ /**
5218
+ * Request parameters for updateDeploymentKind operation in DeploymentKindsApi.
5219
+ * @export
5220
+ * @interface DeploymentKindsApiUpdateDeploymentKindRequest
5221
+ */
5222
+ export interface DeploymentKindsApiUpdateDeploymentKindRequest {
5223
+ /**
5224
+ *
5225
+ * @type {string}
5226
+ * @memberof DeploymentKindsApiUpdateDeploymentKind
5227
+ */
5228
+ readonly id: string
5229
+
5230
+ /**
5231
+ *
5232
+ * @type {UpdateDeploymentKind}
5233
+ * @memberof DeploymentKindsApiUpdateDeploymentKind
5234
+ */
5235
+ readonly updateDeploymentKind: UpdateDeploymentKind
5236
+ }
5237
+
5238
+ /**
5239
+ * DeploymentKindsApi - object-oriented interface
5240
+ * @export
5241
+ * @class DeploymentKindsApi
5242
+ * @extends {BaseAPI}
5243
+ */
5244
+ export class DeploymentKindsApi extends BaseAPI {
5245
+ /**
5246
+ *
5247
+ * @param {DeploymentKindsApiAllDeploymentKindsRequest} requestParameters Request parameters.
5248
+ * @param {*} [options] Override http request option.
5249
+ * @throws {RequiredError}
5250
+ * @memberof DeploymentKindsApi
5251
+ */
5252
+ public allDeploymentKinds(requestParameters: DeploymentKindsApiAllDeploymentKindsRequest = {}, options?: RawAxiosRequestConfig) {
5253
+ return DeploymentKindsApiFp(this.configuration).allDeploymentKinds(requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
5254
+ }
5255
+
5256
+ /**
5257
+ *
5258
+ * @param {DeploymentKindsApiGetDeploymentKindRequest} requestParameters Request parameters.
5259
+ * @param {*} [options] Override http request option.
5260
+ * @throws {RequiredError}
5261
+ * @memberof DeploymentKindsApi
5262
+ */
5263
+ public getDeploymentKind(requestParameters: DeploymentKindsApiGetDeploymentKindRequest, options?: RawAxiosRequestConfig) {
5264
+ return DeploymentKindsApiFp(this.configuration).getDeploymentKind(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5265
+ }
5266
+
5267
+ /**
5268
+ *
5269
+ * @param {DeploymentKindsApiUpdateDeploymentKindRequest} requestParameters Request parameters.
5270
+ * @param {*} [options] Override http request option.
5271
+ * @throws {RequiredError}
5272
+ * @memberof DeploymentKindsApi
5273
+ */
5274
+ public updateDeploymentKind(requestParameters: DeploymentKindsApiUpdateDeploymentKindRequest, options?: RawAxiosRequestConfig) {
5275
+ return DeploymentKindsApiFp(this.configuration).updateDeploymentKind(requestParameters.id, requestParameters.updateDeploymentKind, options).then((request) => request(this.axios, this.basePath));
5276
+ }
5277
+ }
5278
+
5279
+
5280
+
4903
5281
  /**
4904
5282
  * DeploymentPermissionsApi - axios parameter creator
4905
5283
  * @export
@@ -5321,7 +5699,6 @@ export const DeploymentResourceTypesApiAxiosParamCreator = function (configurati
5321
5699
  /**
5322
5700
  *
5323
5701
  * @param {string | null} [envId]
5324
- * @param {string | null} [deploymentKind]
5325
5702
  * @param {string | null} [deploymentKindId]
5326
5703
  * @param {string | null} [key]
5327
5704
  * @param {number | null} [page]
@@ -5329,7 +5706,7 @@ export const DeploymentResourceTypesApiAxiosParamCreator = function (configurati
5329
5706
  * @param {*} [options] Override http request option.
5330
5707
  * @throws {RequiredError}
5331
5708
  */
5332
- allDeploymentResourceTypes: async (envId?: string | null, deploymentKind?: string | null, deploymentKindId?: string | null, key?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5709
+ allDeploymentResourceTypes: async (envId?: string | null, deploymentKindId?: string | null, key?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5333
5710
  const localVarPath = `/api/v2/deployment-resource-types`;
5334
5711
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5335
5712
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5353,10 +5730,6 @@ export const DeploymentResourceTypesApiAxiosParamCreator = function (configurati
5353
5730
  localVarQueryParameter['env_id'] = envId;
5354
5731
  }
5355
5732
 
5356
- if (deploymentKind !== undefined) {
5357
- localVarQueryParameter['deployment_kind'] = deploymentKind;
5358
- }
5359
-
5360
5733
  if (deploymentKindId !== undefined) {
5361
5734
  localVarQueryParameter['deployment_kind_id'] = deploymentKindId;
5362
5735
  }
@@ -5437,7 +5810,6 @@ export const DeploymentResourceTypesApiFp = function(configuration?: Configurati
5437
5810
  /**
5438
5811
  *
5439
5812
  * @param {string | null} [envId]
5440
- * @param {string | null} [deploymentKind]
5441
5813
  * @param {string | null} [deploymentKindId]
5442
5814
  * @param {string | null} [key]
5443
5815
  * @param {number | null} [page]
@@ -5445,8 +5817,8 @@ export const DeploymentResourceTypesApiFp = function(configuration?: Configurati
5445
5817
  * @param {*} [options] Override http request option.
5446
5818
  * @throws {RequiredError}
5447
5819
  */
5448
- async allDeploymentResourceTypes(envId?: string | null, deploymentKind?: string | null, deploymentKindId?: string | null, key?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentResourceTypes200Response>> {
5449
- const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentResourceTypes(envId, deploymentKind, deploymentKindId, key, page, perPage, options);
5820
+ async allDeploymentResourceTypes(envId?: string | null, deploymentKindId?: string | null, key?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentResourceTypes200Response>> {
5821
+ const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentResourceTypes(envId, deploymentKindId, key, page, perPage, options);
5450
5822
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5451
5823
  const localVarOperationServerBasePath = operationServerMap['DeploymentResourceTypesApi.allDeploymentResourceTypes']?.[localVarOperationServerIndex]?.url;
5452
5824
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5480,7 +5852,7 @@ export const DeploymentResourceTypesApiFactory = function (configuration?: Confi
5480
5852
  * @throws {RequiredError}
5481
5853
  */
5482
5854
  allDeploymentResourceTypes(requestParameters: DeploymentResourceTypesApiAllDeploymentResourceTypesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllDeploymentResourceTypes200Response> {
5483
- return localVarFp.allDeploymentResourceTypes(requestParameters.envId, requestParameters.deploymentKind, requestParameters.deploymentKindId, requestParameters.key, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
5855
+ return localVarFp.allDeploymentResourceTypes(requestParameters.envId, requestParameters.deploymentKindId, requestParameters.key, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
5484
5856
  },
5485
5857
  /**
5486
5858
  *
@@ -5507,13 +5879,6 @@ export interface DeploymentResourceTypesApiAllDeploymentResourceTypesRequest {
5507
5879
  */
5508
5880
  readonly envId?: string | null
5509
5881
 
5510
- /**
5511
- *
5512
- * @type {string}
5513
- * @memberof DeploymentResourceTypesApiAllDeploymentResourceTypes
5514
- */
5515
- readonly deploymentKind?: string | null
5516
-
5517
5882
  /**
5518
5883
  *
5519
5884
  * @type {string}
@@ -5572,7 +5937,7 @@ export class DeploymentResourceTypesApi extends BaseAPI {
5572
5937
  * @memberof DeploymentResourceTypesApi
5573
5938
  */
5574
5939
  public allDeploymentResourceTypes(requestParameters: DeploymentResourceTypesApiAllDeploymentResourceTypesRequest = {}, options?: RawAxiosRequestConfig) {
5575
- return DeploymentResourceTypesApiFp(this.configuration).allDeploymentResourceTypes(requestParameters.envId, requestParameters.deploymentKind, requestParameters.deploymentKindId, requestParameters.key, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
5940
+ return DeploymentResourceTypesApiFp(this.configuration).allDeploymentResourceTypes(requestParameters.envId, requestParameters.deploymentKindId, requestParameters.key, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
5576
5941
  }
5577
5942
 
5578
5943
  /**
@@ -6449,7 +6814,6 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
6449
6814
  /**
6450
6815
  *
6451
6816
  * @param {string | null} [name]
6452
- * @param {string | null} [kind]
6453
6817
  * @param {string | null} [kindId]
6454
6818
  * @param {string | null} [clusterId]
6455
6819
  * @param {boolean | null} [enabled]
@@ -6458,7 +6822,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
6458
6822
  * @param {*} [options] Override http request option.
6459
6823
  * @throws {RequiredError}
6460
6824
  */
6461
- allDeployments: async (name?: string | null, kind?: string | null, kindId?: string | null, clusterId?: string | null, enabled?: boolean | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6825
+ allDeployments: async (name?: string | null, kindId?: string | null, clusterId?: string | null, enabled?: boolean | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6462
6826
  const localVarPath = `/api/v2/deployments`;
6463
6827
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6464
6828
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6482,10 +6846,6 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
6482
6846
  localVarQueryParameter['name'] = name;
6483
6847
  }
6484
6848
 
6485
- if (kind !== undefined) {
6486
- localVarQueryParameter['kind'] = kind;
6487
- }
6488
-
6489
6849
  if (kindId !== undefined) {
6490
6850
  localVarQueryParameter['kind_id'] = kindId;
6491
6851
  }
@@ -6698,7 +7058,6 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
6698
7058
  /**
6699
7059
  *
6700
7060
  * @param {string | null} [name]
6701
- * @param {string | null} [kind]
6702
7061
  * @param {string | null} [kindId]
6703
7062
  * @param {string | null} [clusterId]
6704
7063
  * @param {boolean | null} [enabled]
@@ -6707,8 +7066,8 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
6707
7066
  * @param {*} [options] Override http request option.
6708
7067
  * @throws {RequiredError}
6709
7068
  */
6710
- async allDeployments(name?: string | null, kind?: string | null, kindId?: string | null, clusterId?: string | null, enabled?: boolean | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeployments200Response>> {
6711
- const localVarAxiosArgs = await localVarAxiosParamCreator.allDeployments(name, kind, kindId, clusterId, enabled, page, perPage, options);
7069
+ async allDeployments(name?: string | null, kindId?: string | null, clusterId?: string | null, enabled?: boolean | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeployments200Response>> {
7070
+ const localVarAxiosArgs = await localVarAxiosParamCreator.allDeployments(name, kindId, clusterId, enabled, page, perPage, options);
6712
7071
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6713
7072
  const localVarOperationServerBasePath = operationServerMap['DeploymentsApi.allDeployments']?.[localVarOperationServerIndex]?.url;
6714
7073
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6779,7 +7138,7 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
6779
7138
  * @throws {RequiredError}
6780
7139
  */
6781
7140
  allDeployments(requestParameters: DeploymentsApiAllDeploymentsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllDeployments200Response> {
6782
- return localVarFp.allDeployments(requestParameters.name, requestParameters.kind, requestParameters.kindId, requestParameters.clusterId, requestParameters.enabled, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
7141
+ return localVarFp.allDeployments(requestParameters.name, requestParameters.kindId, requestParameters.clusterId, requestParameters.enabled, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
6783
7142
  },
6784
7143
  /**
6785
7144
  *
@@ -6833,13 +7192,6 @@ export interface DeploymentsApiAllDeploymentsRequest {
6833
7192
  */
6834
7193
  readonly name?: string | null
6835
7194
 
6836
- /**
6837
- *
6838
- * @type {string}
6839
- * @memberof DeploymentsApiAllDeployments
6840
- */
6841
- readonly kind?: string | null
6842
-
6843
7195
  /**
6844
7196
  *
6845
7197
  * @type {string}
@@ -6954,7 +7306,7 @@ export class DeploymentsApi extends BaseAPI {
6954
7306
  * @memberof DeploymentsApi
6955
7307
  */
6956
7308
  public allDeployments(requestParameters: DeploymentsApiAllDeploymentsRequest = {}, options?: RawAxiosRequestConfig) {
6957
- return DeploymentsApiFp(this.configuration).allDeployments(requestParameters.name, requestParameters.kind, requestParameters.kindId, requestParameters.clusterId, requestParameters.enabled, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
7309
+ return DeploymentsApiFp(this.configuration).allDeployments(requestParameters.name, requestParameters.kindId, requestParameters.clusterId, requestParameters.enabled, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
6958
7310
  }
6959
7311
 
6960
7312
  /**
@@ -8201,14 +8553,13 @@ export const HelmRegistriesApiAxiosParamCreator = function (configuration?: Conf
8201
8553
  /**
8202
8554
  *
8203
8555
  * @param {string | null} [repoName]
8204
- * @param {string | null} [kind]
8205
8556
  * @param {string | null} [kindId]
8206
8557
  * @param {number | null} [page]
8207
8558
  * @param {number | null} [perPage]
8208
8559
  * @param {*} [options] Override http request option.
8209
8560
  * @throws {RequiredError}
8210
8561
  */
8211
- allHelmRegistries: async (repoName?: string | null, kind?: string | null, kindId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8562
+ allHelmRegistries: async (repoName?: string | null, kindId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8212
8563
  const localVarPath = `/api/v2/helm-registries`;
8213
8564
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8214
8565
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8232,10 +8583,6 @@ export const HelmRegistriesApiAxiosParamCreator = function (configuration?: Conf
8232
8583
  localVarQueryParameter['repo_name'] = repoName;
8233
8584
  }
8234
8585
 
8235
- if (kind !== undefined) {
8236
- localVarQueryParameter['kind'] = kind;
8237
- }
8238
-
8239
8586
  if (kindId !== undefined) {
8240
8587
  localVarQueryParameter['kind_id'] = kindId;
8241
8588
  }
@@ -8358,15 +8705,14 @@ export const HelmRegistriesApiFp = function(configuration?: Configuration) {
8358
8705
  /**
8359
8706
  *
8360
8707
  * @param {string | null} [repoName]
8361
- * @param {string | null} [kind]
8362
8708
  * @param {string | null} [kindId]
8363
8709
  * @param {number | null} [page]
8364
8710
  * @param {number | null} [perPage]
8365
8711
  * @param {*} [options] Override http request option.
8366
8712
  * @throws {RequiredError}
8367
8713
  */
8368
- async allHelmRegistries(repoName?: string | null, kind?: string | null, kindId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllHelmRegistries200Response>> {
8369
- const localVarAxiosArgs = await localVarAxiosParamCreator.allHelmRegistries(repoName, kind, kindId, page, perPage, options);
8714
+ async allHelmRegistries(repoName?: string | null, kindId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllHelmRegistries200Response>> {
8715
+ const localVarAxiosArgs = await localVarAxiosParamCreator.allHelmRegistries(repoName, kindId, page, perPage, options);
8370
8716
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8371
8717
  const localVarOperationServerBasePath = operationServerMap['HelmRegistriesApi.allHelmRegistries']?.[localVarOperationServerIndex]?.url;
8372
8718
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -8413,7 +8759,7 @@ export const HelmRegistriesApiFactory = function (configuration?: Configuration,
8413
8759
  * @throws {RequiredError}
8414
8760
  */
8415
8761
  allHelmRegistries(requestParameters: HelmRegistriesApiAllHelmRegistriesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllHelmRegistries200Response> {
8416
- return localVarFp.allHelmRegistries(requestParameters.repoName, requestParameters.kind, requestParameters.kindId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
8762
+ return localVarFp.allHelmRegistries(requestParameters.repoName, requestParameters.kindId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
8417
8763
  },
8418
8764
  /**
8419
8765
  *
@@ -8449,13 +8795,6 @@ export interface HelmRegistriesApiAllHelmRegistriesRequest {
8449
8795
  */
8450
8796
  readonly repoName?: string | null
8451
8797
 
8452
- /**
8453
- *
8454
- * @type {string}
8455
- * @memberof HelmRegistriesApiAllHelmRegistries
8456
- */
8457
- readonly kind?: string | null
8458
-
8459
8798
  /**
8460
8799
  *
8461
8800
  * @type {string}
@@ -8528,7 +8867,7 @@ export class HelmRegistriesApi extends BaseAPI {
8528
8867
  * @memberof HelmRegistriesApi
8529
8868
  */
8530
8869
  public allHelmRegistries(requestParameters: HelmRegistriesApiAllHelmRegistriesRequest = {}, options?: RawAxiosRequestConfig) {
8531
- return HelmRegistriesApiFp(this.configuration).allHelmRegistries(requestParameters.repoName, requestParameters.kind, requestParameters.kindId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
8870
+ return HelmRegistriesApiFp(this.configuration).allHelmRegistries(requestParameters.repoName, requestParameters.kindId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
8532
8871
  }
8533
8872
 
8534
8873
  /**
@@ -9874,15 +10213,15 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
9874
10213
  /**
9875
10214
  *
9876
10215
  * @param {string} id
9877
- * @param {UpdateSecretApi} updateSecretApi
10216
+ * @param {UpdateSecret} updateSecret
9878
10217
  * @param {*} [options] Override http request option.
9879
10218
  * @throws {RequiredError}
9880
10219
  */
9881
- updateSecret: async (id: string, updateSecretApi: UpdateSecretApi, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10220
+ updateSecret: async (id: string, updateSecret: UpdateSecret, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9882
10221
  // verify required parameter 'id' is not null or undefined
9883
10222
  assertParamExists('updateSecret', 'id', id)
9884
- // verify required parameter 'updateSecretApi' is not null or undefined
9885
- assertParamExists('updateSecret', 'updateSecretApi', updateSecretApi)
10223
+ // verify required parameter 'updateSecret' is not null or undefined
10224
+ assertParamExists('updateSecret', 'updateSecret', updateSecret)
9886
10225
  const localVarPath = `/api/v2/secrets/{id}`
9887
10226
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
9888
10227
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -9910,7 +10249,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
9910
10249
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9911
10250
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9912
10251
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9913
- localVarRequestOptions.data = serializeDataIfNeeded(updateSecretApi, localVarRequestOptions, configuration)
10252
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSecret, localVarRequestOptions, configuration)
9914
10253
 
9915
10254
  return {
9916
10255
  url: toPathString(localVarUrlObj),
@@ -9982,12 +10321,12 @@ export const SecretsApiFp = function(configuration?: Configuration) {
9982
10321
  /**
9983
10322
  *
9984
10323
  * @param {string} id
9985
- * @param {UpdateSecretApi} updateSecretApi
10324
+ * @param {UpdateSecret} updateSecret
9986
10325
  * @param {*} [options] Override http request option.
9987
10326
  * @throws {RequiredError}
9988
10327
  */
9989
- async updateSecret(id: string, updateSecretApi: UpdateSecretApi, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
9990
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateSecret(id, updateSecretApi, options);
10328
+ async updateSecret(id: string, updateSecret: UpdateSecret, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
10329
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSecret(id, updateSecret, options);
9991
10330
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9992
10331
  const localVarOperationServerBasePath = operationServerMap['SecretsApi.updateSecret']?.[localVarOperationServerIndex]?.url;
9993
10332
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -10045,7 +10384,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
10045
10384
  * @throws {RequiredError}
10046
10385
  */
10047
10386
  updateSecret(requestParameters: SecretsApiUpdateSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<Secret> {
10048
- return localVarFp.updateSecret(requestParameters.id, requestParameters.updateSecretApi, options).then((request) => request(axios, basePath));
10387
+ return localVarFp.updateSecret(requestParameters.id, requestParameters.updateSecret, options).then((request) => request(axios, basePath));
10049
10388
  },
10050
10389
  };
10051
10390
  };
@@ -10149,10 +10488,10 @@ export interface SecretsApiUpdateSecretRequest {
10149
10488
 
10150
10489
  /**
10151
10490
  *
10152
- * @type {UpdateSecretApi}
10491
+ * @type {UpdateSecret}
10153
10492
  * @memberof SecretsApiUpdateSecret
10154
10493
  */
10155
- readonly updateSecretApi: UpdateSecretApi
10494
+ readonly updateSecret: UpdateSecret
10156
10495
  }
10157
10496
 
10158
10497
  /**
@@ -10214,7 +10553,7 @@ export class SecretsApi extends BaseAPI {
10214
10553
  * @memberof SecretsApi
10215
10554
  */
10216
10555
  public updateSecret(requestParameters: SecretsApiUpdateSecretRequest, options?: RawAxiosRequestConfig) {
10217
- return SecretsApiFp(this.configuration).updateSecret(requestParameters.id, requestParameters.updateSecretApi, options).then((request) => request(this.axios, this.basePath));
10556
+ return SecretsApiFp(this.configuration).updateSecret(requestParameters.id, requestParameters.updateSecret, options).then((request) => request(this.axios, this.basePath));
10218
10557
  }
10219
10558
  }
10220
10559