@platzio/sdk 0.5.3-beta.3 → 0.6.0-beta.0

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.
@@ -14,14 +14,14 @@
14
14
 
15
15
 
16
16
  import type { Configuration } from './configuration';
17
- import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
18
  import globalAxios from 'axios';
19
19
  // Some imports not used depending on template conditions
20
20
  // @ts-ignore
21
21
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
22
22
  import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
- import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
24
+ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
26
  /**
27
27
  *
@@ -90,6 +90,12 @@ export interface AllDeploymentPermissions200ResponseItemsInner {
90
90
  * @memberof AllDeploymentPermissions200ResponseItemsInner
91
91
  */
92
92
  'kind': string;
93
+ /**
94
+ *
95
+ * @type {string}
96
+ * @memberof AllDeploymentPermissions200ResponseItemsInner
97
+ */
98
+ 'kind_id': string;
93
99
  /**
94
100
  *
95
101
  * @type {UserDeploymentRole}
@@ -153,13 +159,19 @@ export interface AllDeploymentResourceTypes200ResponseItemsInner {
153
159
  * @type {string}
154
160
  * @memberof AllDeploymentResourceTypes200ResponseItemsInner
155
161
  */
156
- 'env_id'?: string | null;
162
+ 'env_id': string | null;
157
163
  /**
158
164
  *
159
165
  * @type {string}
160
166
  * @memberof AllDeploymentResourceTypes200ResponseItemsInner
161
167
  */
162
168
  'deployment_kind': string;
169
+ /**
170
+ *
171
+ * @type {string}
172
+ * @memberof AllDeploymentResourceTypes200ResponseItemsInner
173
+ */
174
+ 'deployment_kind_id': string;
163
175
  /**
164
176
  *
165
177
  * @type {string}
@@ -233,7 +245,7 @@ export interface AllDeploymentResources200ResponseItemsInner {
233
245
  * @type {string}
234
246
  * @memberof AllDeploymentResources200ResponseItemsInner
235
247
  */
236
- 'deployment_id'?: string | null;
248
+ 'deployment_id': string | null;
237
249
  /**
238
250
  *
239
251
  * @type {string}
@@ -263,7 +275,7 @@ export interface AllDeploymentResources200ResponseItemsInner {
263
275
  * @type {string}
264
276
  * @memberof AllDeploymentResources200ResponseItemsInner
265
277
  */
266
- 'sync_reason'?: string | null;
278
+ 'sync_reason': string | null;
267
279
  }
268
280
 
269
281
 
@@ -321,19 +333,25 @@ export interface AllDeploymentTasks200ResponseItemsInner {
321
333
  * @type {string}
322
334
  * @memberof AllDeploymentTasks200ResponseItemsInner
323
335
  */
324
- 'first_attempted_at'?: string | null;
336
+ 'execute_at': string;
337
+ /**
338
+ *
339
+ * @type {string}
340
+ * @memberof AllDeploymentTasks200ResponseItemsInner
341
+ */
342
+ 'first_attempted_at': string | null;
325
343
  /**
326
344
  *
327
345
  * @type {string}
328
346
  * @memberof AllDeploymentTasks200ResponseItemsInner
329
347
  */
330
- 'started_at'?: string | null;
348
+ 'started_at': string | null;
331
349
  /**
332
350
  *
333
351
  * @type {string}
334
352
  * @memberof AllDeploymentTasks200ResponseItemsInner
335
353
  */
336
- 'finished_at'?: string | null;
354
+ 'finished_at': string | null;
337
355
  /**
338
356
  *
339
357
  * @type {string}
@@ -351,13 +369,25 @@ export interface AllDeploymentTasks200ResponseItemsInner {
351
369
  * @type {string}
352
370
  * @memberof AllDeploymentTasks200ResponseItemsInner
353
371
  */
354
- 'acting_user_id'?: string | null;
372
+ 'acting_user_id': string | null;
373
+ /**
374
+ *
375
+ * @type {string}
376
+ * @memberof AllDeploymentTasks200ResponseItemsInner
377
+ */
378
+ 'acting_deployment_id': string | null;
379
+ /**
380
+ *
381
+ * @type {string}
382
+ * @memberof AllDeploymentTasks200ResponseItemsInner
383
+ */
384
+ 'canceled_by_user_id': string | null;
355
385
  /**
356
386
  *
357
387
  * @type {string}
358
388
  * @memberof AllDeploymentTasks200ResponseItemsInner
359
389
  */
360
- 'acting_deployment_id'?: string | null;
390
+ 'canceled_by_deployment_id': string | null;
361
391
  /**
362
392
  *
363
393
  * @type {DeploymentTaskOperation}
@@ -375,7 +405,7 @@ export interface AllDeploymentTasks200ResponseItemsInner {
375
405
  * @type {string}
376
406
  * @memberof AllDeploymentTasks200ResponseItemsInner
377
407
  */
378
- 'reason'?: string | null;
408
+ 'reason': string | null;
379
409
  }
380
410
 
381
411
 
@@ -440,6 +470,12 @@ export interface AllDeployments200ResponseItemsInner {
440
470
  * @memberof AllDeployments200ResponseItemsInner
441
471
  */
442
472
  'kind': string;
473
+ /**
474
+ *
475
+ * @type {string}
476
+ * @memberof AllDeployments200ResponseItemsInner
477
+ */
478
+ 'kind_id': string;
443
479
  /**
444
480
  *
445
481
  * @type {string}
@@ -463,25 +499,25 @@ export interface AllDeployments200ResponseItemsInner {
463
499
  * @type {string}
464
500
  * @memberof AllDeployments200ResponseItemsInner
465
501
  */
466
- 'description_md'?: string | null;
502
+ 'description_md': string | null;
467
503
  /**
468
504
  *
469
505
  * @type {string}
470
506
  * @memberof AllDeployments200ResponseItemsInner
471
507
  */
472
- 'reason'?: string | null;
508
+ 'reason': string | null;
473
509
  /**
474
510
  *
475
511
  * @type {string}
476
512
  * @memberof AllDeployments200ResponseItemsInner
477
513
  */
478
- 'revision_id'?: string | null;
514
+ 'revision_id': string | null;
479
515
  /**
480
516
  *
481
517
  * @type {DeploymentReportedStatus}
482
518
  * @memberof AllDeployments200ResponseItemsInner
483
519
  */
484
- 'reported_status'?: DeploymentReportedStatus | null;
520
+ 'reported_status': DeploymentReportedStatus | null;
485
521
  /**
486
522
  *
487
523
  * @type {string}
@@ -499,7 +535,7 @@ export interface AllDeployments200ResponseItemsInner {
499
535
  * @type {any}
500
536
  * @memberof AllDeployments200ResponseItemsInner
501
537
  */
502
- 'values_override'?: any | null;
538
+ 'values_override': any | null;
503
539
  }
504
540
 
505
541
 
@@ -725,61 +761,61 @@ export interface AllHelmCharts200ResponseItemsInner {
725
761
  * @type {UiSchema}
726
762
  * @memberof AllHelmCharts200ResponseItemsInner
727
763
  */
728
- 'values_ui'?: UiSchema | null;
764
+ 'values_ui': UiSchema | null;
729
765
  /**
730
766
  *
731
767
  * @type {ChartExtActions}
732
768
  * @memberof AllHelmCharts200ResponseItemsInner
733
769
  */
734
- 'actions_schema'?: ChartExtActions | null;
770
+ 'actions_schema': ChartExtActions | null;
735
771
  /**
736
772
  *
737
773
  * @type {ChartExtFeatures}
738
774
  * @memberof AllHelmCharts200ResponseItemsInner
739
775
  */
740
- 'features'?: ChartExtFeatures | null;
776
+ 'features': ChartExtFeatures | null;
741
777
  /**
742
778
  *
743
779
  * @type {Array<ChartExtResourceType>}
744
780
  * @memberof AllHelmCharts200ResponseItemsInner
745
781
  */
746
- 'resource_types'?: Array<ChartExtResourceType> | null;
782
+ 'resource_types': Array<ChartExtResourceType> | null;
747
783
  /**
748
784
  *
749
785
  * @type {string}
750
786
  * @memberof AllHelmCharts200ResponseItemsInner
751
787
  */
752
- 'error'?: string | null;
788
+ 'error': string | null;
753
789
  /**
754
790
  *
755
791
  * @type {string}
756
792
  * @memberof AllHelmCharts200ResponseItemsInner
757
793
  */
758
- 'tag_format_id'?: string | null;
794
+ 'tag_format_id': string | null;
759
795
  /**
760
796
  *
761
797
  * @type {string}
762
798
  * @memberof AllHelmCharts200ResponseItemsInner
763
799
  */
764
- 'parsed_version'?: string | null;
800
+ 'parsed_version': string | null;
765
801
  /**
766
802
  *
767
803
  * @type {string}
768
804
  * @memberof AllHelmCharts200ResponseItemsInner
769
805
  */
770
- 'parsed_revision'?: string | null;
806
+ 'parsed_revision': string | null;
771
807
  /**
772
808
  *
773
809
  * @type {string}
774
810
  * @memberof AllHelmCharts200ResponseItemsInner
775
811
  */
776
- 'parsed_branch'?: string | null;
812
+ 'parsed_branch': string | null;
777
813
  /**
778
814
  *
779
815
  * @type {string}
780
816
  * @memberof AllHelmCharts200ResponseItemsInner
781
817
  */
782
- 'parsed_commit'?: string | null;
818
+ 'parsed_commit': string | null;
783
819
  }
784
820
  /**
785
821
  *
@@ -848,6 +884,12 @@ export interface AllHelmRegistries200ResponseItemsInner {
848
884
  * @memberof AllHelmRegistries200ResponseItemsInner
849
885
  */
850
886
  'kind': string;
887
+ /**
888
+ *
889
+ * @type {string}
890
+ * @memberof AllHelmRegistries200ResponseItemsInner
891
+ */
892
+ 'kind_id': string;
851
893
  /**
852
894
  *
853
895
  * @type {boolean}
@@ -965,7 +1007,7 @@ export interface AllK8sClusters200ResponseItemsInner {
965
1007
  * @type {string}
966
1008
  * @memberof AllK8sClusters200ResponseItemsInner
967
1009
  */
968
- 'env_id'?: string | null;
1010
+ 'env_id': string | null;
969
1011
  /**
970
1012
  *
971
1013
  * @type {string}
@@ -1007,7 +1049,7 @@ export interface AllK8sClusters200ResponseItemsInner {
1007
1049
  * @type {string}
1008
1050
  * @memberof AllK8sClusters200ResponseItemsInner
1009
1051
  */
1010
- 'not_ok_reason'?: string | null;
1052
+ 'not_ok_reason': string | null;
1011
1053
  /**
1012
1054
  *
1013
1055
  * @type {boolean}
@@ -1019,31 +1061,31 @@ export interface AllK8sClusters200ResponseItemsInner {
1019
1061
  * @type {string}
1020
1062
  * @memberof AllK8sClusters200ResponseItemsInner
1021
1063
  */
1022
- 'ingress_domain'?: string | null;
1064
+ 'ingress_domain': string | null;
1023
1065
  /**
1024
1066
  *
1025
1067
  * @type {string}
1026
1068
  * @memberof AllK8sClusters200ResponseItemsInner
1027
1069
  */
1028
- 'ingress_class'?: string | null;
1070
+ 'ingress_class': string | null;
1029
1071
  /**
1030
1072
  *
1031
1073
  * @type {string}
1032
1074
  * @memberof AllK8sClusters200ResponseItemsInner
1033
1075
  */
1034
- 'ingress_tls_secret_name'?: string | null;
1076
+ 'ingress_tls_secret_name': string | null;
1035
1077
  /**
1036
1078
  *
1037
1079
  * @type {string}
1038
1080
  * @memberof AllK8sClusters200ResponseItemsInner
1039
1081
  */
1040
- 'grafana_url'?: string | null;
1082
+ 'grafana_url': string | null;
1041
1083
  /**
1042
1084
  *
1043
1085
  * @type {string}
1044
1086
  * @memberof AllK8sClusters200ResponseItemsInner
1045
1087
  */
1046
- 'grafana_datasource_name'?: string | null;
1088
+ 'grafana_datasource_name': string | null;
1047
1089
  }
1048
1090
  /**
1049
1091
  *
@@ -1341,6 +1383,19 @@ export interface AllUsers200ResponseItemsInner {
1341
1383
  */
1342
1384
  'is_active': boolean;
1343
1385
  }
1386
+ /**
1387
+ *
1388
+ * @export
1389
+ * @interface CancelDeploymentTask
1390
+ */
1391
+ export interface CancelDeploymentTask {
1392
+ /**
1393
+ *
1394
+ * @type {string}
1395
+ * @memberof CancelDeploymentTask
1396
+ */
1397
+ 'reason': string | null;
1398
+ }
1344
1399
  /**
1345
1400
  *
1346
1401
  * @export
@@ -2139,6 +2194,12 @@ export interface CreateDeploymentTask {
2139
2194
  * @memberof CreateDeploymentTask
2140
2195
  */
2141
2196
  'operation': DeploymentTaskOperation;
2197
+ /**
2198
+ *
2199
+ * @type {string}
2200
+ * @memberof CreateDeploymentTask
2201
+ */
2202
+ 'execute_at': string | null;
2142
2203
  }
2143
2204
  /**
2144
2205
  *
@@ -2151,7 +2212,7 @@ export interface CreateUserToken {
2151
2212
  * @type {string}
2152
2213
  * @memberof CreateUserToken
2153
2214
  */
2154
- 'user_id'?: string | null;
2215
+ 'user_id': string | null;
2155
2216
  }
2156
2217
  /**
2157
2218
  *
@@ -2228,6 +2289,7 @@ export type DbEventOperation = typeof DbEventOperation[keyof typeof DbEventOpera
2228
2289
  */
2229
2290
 
2230
2291
  export const DbTable = {
2292
+ DeploymentKinds: 'deployment_kinds',
2231
2293
  DeploymentResources: 'deployment_resources',
2232
2294
  DeploymentResourceTypes: 'deployment_resource_types',
2233
2295
  Deployments: 'deployments',
@@ -2241,6 +2303,7 @@ export const DbTable = {
2241
2303
  K8sClusters: 'k8s_clusters',
2242
2304
  K8sResources: 'k8s_resources',
2243
2305
  Secrets: 'secrets',
2306
+ Settings: 'settings',
2244
2307
  Users: 'users'
2245
2308
  } as const;
2246
2309
 
@@ -2302,6 +2365,12 @@ export interface Deployment {
2302
2365
  * @memberof Deployment
2303
2366
  */
2304
2367
  'kind': string;
2368
+ /**
2369
+ *
2370
+ * @type {string}
2371
+ * @memberof Deployment
2372
+ */
2373
+ 'kind_id': string;
2305
2374
  /**
2306
2375
  *
2307
2376
  * @type {string}
@@ -2325,25 +2394,25 @@ export interface Deployment {
2325
2394
  * @type {string}
2326
2395
  * @memberof Deployment
2327
2396
  */
2328
- 'description_md'?: string | null;
2397
+ 'description_md': string | null;
2329
2398
  /**
2330
2399
  *
2331
2400
  * @type {string}
2332
2401
  * @memberof Deployment
2333
2402
  */
2334
- 'reason'?: string | null;
2403
+ 'reason': string | null;
2335
2404
  /**
2336
2405
  *
2337
2406
  * @type {string}
2338
2407
  * @memberof Deployment
2339
2408
  */
2340
- 'revision_id'?: string | null;
2409
+ 'revision_id': string | null;
2341
2410
  /**
2342
2411
  *
2343
2412
  * @type {DeploymentReportedStatus}
2344
2413
  * @memberof Deployment
2345
2414
  */
2346
- 'reported_status'?: DeploymentReportedStatus | null;
2415
+ 'reported_status': DeploymentReportedStatus | null;
2347
2416
  /**
2348
2417
  *
2349
2418
  * @type {string}
@@ -2361,7 +2430,7 @@ export interface Deployment {
2361
2430
  * @type {any}
2362
2431
  * @memberof Deployment
2363
2432
  */
2364
- 'values_override'?: any | null;
2433
+ 'values_override': any | null;
2365
2434
  }
2366
2435
 
2367
2436
 
@@ -2388,7 +2457,7 @@ export interface DeploymentInstallTask {
2388
2457
  * @type {any}
2389
2458
  * @memberof DeploymentInstallTask
2390
2459
  */
2391
- 'values_override'?: any | null;
2460
+ 'values_override': any | null;
2392
2461
  }
2393
2462
  /**
2394
2463
  *
@@ -2451,6 +2520,12 @@ export interface DeploymentPermission {
2451
2520
  * @memberof DeploymentPermission
2452
2521
  */
2453
2522
  'kind': string;
2523
+ /**
2524
+ *
2525
+ * @type {string}
2526
+ * @memberof DeploymentPermission
2527
+ */
2528
+ 'kind_id': string;
2454
2529
  /**
2455
2530
  *
2456
2531
  * @type {UserDeploymentRole}
@@ -2533,7 +2608,7 @@ export interface DeploymentReportedMetric {
2533
2608
  * @type {DeploymentReportedStatusColor}
2534
2609
  * @memberof DeploymentReportedMetric
2535
2610
  */
2536
- 'color'?: DeploymentReportedStatusColor | null;
2611
+ 'color': DeploymentReportedStatusColor | null;
2537
2612
  }
2538
2613
 
2539
2614
 
@@ -2596,13 +2671,13 @@ export interface DeploymentReportedStatus {
2596
2671
  * @type {DeploymentReportedStatusContent}
2597
2672
  * @memberof DeploymentReportedStatus
2598
2673
  */
2599
- 'content'?: DeploymentReportedStatusContent | null;
2674
+ 'content': DeploymentReportedStatusContent | null;
2600
2675
  /**
2601
2676
  *
2602
2677
  * @type {string}
2603
2678
  * @memberof DeploymentReportedStatus
2604
2679
  */
2605
- 'error'?: string | null;
2680
+ 'error': string | null;
2606
2681
  }
2607
2682
  /**
2608
2683
  *
@@ -2638,13 +2713,13 @@ export interface DeploymentReportedStatusContent {
2638
2713
  * @type {DeploymentReportedMetric}
2639
2714
  * @memberof DeploymentReportedStatusContent
2640
2715
  */
2641
- 'primary_metric'?: DeploymentReportedMetric | null;
2716
+ 'primary_metric': DeploymentReportedMetric | null;
2642
2717
  /**
2643
2718
  *
2644
2719
  * @type {Array<DeploymentReportedMetric>}
2645
2720
  * @memberof DeploymentReportedStatusContent
2646
2721
  */
2647
- 'metrics'?: Array<DeploymentReportedMetric> | null;
2722
+ 'metrics': Array<DeploymentReportedMetric> | null;
2648
2723
  /**
2649
2724
  *
2650
2725
  * @type {Array<DeploymentReportedNotice>}
@@ -2702,7 +2777,7 @@ export interface DeploymentResource {
2702
2777
  * @type {string}
2703
2778
  * @memberof DeploymentResource
2704
2779
  */
2705
- 'deployment_id'?: string | null;
2780
+ 'deployment_id': string | null;
2706
2781
  /**
2707
2782
  *
2708
2783
  * @type {string}
@@ -2732,7 +2807,7 @@ export interface DeploymentResource {
2732
2807
  * @type {string}
2733
2808
  * @memberof DeploymentResource
2734
2809
  */
2735
- 'sync_reason'?: string | null;
2810
+ 'sync_reason': string | null;
2736
2811
  }
2737
2812
 
2738
2813
 
@@ -2776,13 +2851,19 @@ export interface DeploymentResourceType {
2776
2851
  * @type {string}
2777
2852
  * @memberof DeploymentResourceType
2778
2853
  */
2779
- 'env_id'?: string | null;
2854
+ 'env_id': string | null;
2780
2855
  /**
2781
2856
  *
2782
2857
  * @type {string}
2783
2858
  * @memberof DeploymentResourceType
2784
2859
  */
2785
2860
  'deployment_kind': string;
2861
+ /**
2862
+ *
2863
+ * @type {string}
2864
+ * @memberof DeploymentResourceType
2865
+ */
2866
+ 'deployment_kind_id': string;
2786
2867
  /**
2787
2868
  *
2788
2869
  * @type {string}
@@ -2859,19 +2940,25 @@ export interface DeploymentTask {
2859
2940
  * @type {string}
2860
2941
  * @memberof DeploymentTask
2861
2942
  */
2862
- 'first_attempted_at'?: string | null;
2943
+ 'execute_at': string;
2863
2944
  /**
2864
2945
  *
2865
2946
  * @type {string}
2866
2947
  * @memberof DeploymentTask
2867
2948
  */
2868
- 'started_at'?: string | null;
2949
+ 'first_attempted_at': string | null;
2869
2950
  /**
2870
2951
  *
2871
2952
  * @type {string}
2872
2953
  * @memberof DeploymentTask
2873
2954
  */
2874
- 'finished_at'?: string | null;
2955
+ 'started_at': string | null;
2956
+ /**
2957
+ *
2958
+ * @type {string}
2959
+ * @memberof DeploymentTask
2960
+ */
2961
+ 'finished_at': string | null;
2875
2962
  /**
2876
2963
  *
2877
2964
  * @type {string}
@@ -2889,13 +2976,25 @@ export interface DeploymentTask {
2889
2976
  * @type {string}
2890
2977
  * @memberof DeploymentTask
2891
2978
  */
2892
- 'acting_user_id'?: string | null;
2979
+ 'acting_user_id': string | null;
2980
+ /**
2981
+ *
2982
+ * @type {string}
2983
+ * @memberof DeploymentTask
2984
+ */
2985
+ 'acting_deployment_id': string | null;
2893
2986
  /**
2894
2987
  *
2895
2988
  * @type {string}
2896
2989
  * @memberof DeploymentTask
2897
2990
  */
2898
- 'acting_deployment_id'?: string | null;
2991
+ 'canceled_by_user_id': string | null;
2992
+ /**
2993
+ *
2994
+ * @type {string}
2995
+ * @memberof DeploymentTask
2996
+ */
2997
+ 'canceled_by_deployment_id': string | null;
2899
2998
  /**
2900
2999
  *
2901
3000
  * @type {DeploymentTaskOperation}
@@ -2913,7 +3012,7 @@ export interface DeploymentTask {
2913
3012
  * @type {string}
2914
3013
  * @memberof DeploymentTask
2915
3014
  */
2916
- 'reason'?: string | null;
3015
+ 'reason': string | null;
2917
3016
  }
2918
3017
 
2919
3018
 
@@ -3024,6 +3123,7 @@ export const DeploymentTaskStatus = {
3024
3123
  Pending: 'Pending',
3025
3124
  Started: 'Started',
3026
3125
  Failed: 'Failed',
3126
+ Canceled: 'Canceled',
3027
3127
  Done: 'Done'
3028
3128
  } as const;
3029
3129
 
@@ -3047,7 +3147,7 @@ export interface DeploymentUpgradeTask {
3047
3147
  * @type {string}
3048
3148
  * @memberof DeploymentUpgradeTask
3049
3149
  */
3050
- 'prev_helm_chart_id'?: string | null;
3150
+ 'prev_helm_chart_id': string | null;
3051
3151
  /**
3052
3152
  *
3053
3153
  * @type {any}
@@ -3059,13 +3159,13 @@ export interface DeploymentUpgradeTask {
3059
3159
  * @type {{ [key: string]: Array<any>; }}
3060
3160
  * @memberof DeploymentUpgradeTask
3061
3161
  */
3062
- 'config_delta'?: { [key: string]: Array<any>; } | null;
3162
+ 'config_delta': { [key: string]: Array<any>; } | null;
3063
3163
  /**
3064
3164
  *
3065
3165
  * @type {any}
3066
3166
  * @memberof DeploymentUpgradeTask
3067
3167
  */
3068
- 'values_override'?: any | null;
3168
+ 'values_override': any | null;
3069
3169
  }
3070
3170
  /**
3071
3171
  *
@@ -3223,61 +3323,61 @@ export interface HelmChart {
3223
3323
  * @type {UiSchema}
3224
3324
  * @memberof HelmChart
3225
3325
  */
3226
- 'values_ui'?: UiSchema | null;
3326
+ 'values_ui': UiSchema | null;
3227
3327
  /**
3228
3328
  *
3229
3329
  * @type {ChartExtActions}
3230
3330
  * @memberof HelmChart
3231
3331
  */
3232
- 'actions_schema'?: ChartExtActions | null;
3332
+ 'actions_schema': ChartExtActions | null;
3233
3333
  /**
3234
3334
  *
3235
3335
  * @type {ChartExtFeatures}
3236
3336
  * @memberof HelmChart
3237
3337
  */
3238
- 'features'?: ChartExtFeatures | null;
3338
+ 'features': ChartExtFeatures | null;
3239
3339
  /**
3240
3340
  *
3241
3341
  * @type {Array<ChartExtResourceType>}
3242
3342
  * @memberof HelmChart
3243
3343
  */
3244
- 'resource_types'?: Array<ChartExtResourceType> | null;
3344
+ 'resource_types': Array<ChartExtResourceType> | null;
3245
3345
  /**
3246
3346
  *
3247
3347
  * @type {string}
3248
3348
  * @memberof HelmChart
3249
3349
  */
3250
- 'error'?: string | null;
3350
+ 'error': string | null;
3251
3351
  /**
3252
3352
  *
3253
3353
  * @type {string}
3254
3354
  * @memberof HelmChart
3255
3355
  */
3256
- 'tag_format_id'?: string | null;
3356
+ 'tag_format_id': string | null;
3257
3357
  /**
3258
3358
  *
3259
3359
  * @type {string}
3260
3360
  * @memberof HelmChart
3261
3361
  */
3262
- 'parsed_version'?: string | null;
3362
+ 'parsed_version': string | null;
3263
3363
  /**
3264
3364
  *
3265
3365
  * @type {string}
3266
3366
  * @memberof HelmChart
3267
3367
  */
3268
- 'parsed_revision'?: string | null;
3368
+ 'parsed_revision': string | null;
3269
3369
  /**
3270
3370
  *
3271
3371
  * @type {string}
3272
3372
  * @memberof HelmChart
3273
3373
  */
3274
- 'parsed_branch'?: string | null;
3374
+ 'parsed_branch': string | null;
3275
3375
  /**
3276
3376
  *
3277
3377
  * @type {string}
3278
3378
  * @memberof HelmChart
3279
3379
  */
3280
- 'parsed_commit'?: string | null;
3380
+ 'parsed_commit': string | null;
3281
3381
  }
3282
3382
  /**
3283
3383
  *
@@ -3315,6 +3415,12 @@ export interface HelmRegistry {
3315
3415
  * @memberof HelmRegistry
3316
3416
  */
3317
3417
  'kind': string;
3418
+ /**
3419
+ *
3420
+ * @type {string}
3421
+ * @memberof HelmRegistry
3422
+ */
3423
+ 'kind_id': string;
3318
3424
  /**
3319
3425
  *
3320
3426
  * @type {boolean}
@@ -3370,7 +3476,7 @@ export interface K8sCluster {
3370
3476
  * @type {string}
3371
3477
  * @memberof K8sCluster
3372
3478
  */
3373
- 'env_id'?: string | null;
3479
+ 'env_id': string | null;
3374
3480
  /**
3375
3481
  *
3376
3482
  * @type {string}
@@ -3412,7 +3518,7 @@ export interface K8sCluster {
3412
3518
  * @type {string}
3413
3519
  * @memberof K8sCluster
3414
3520
  */
3415
- 'not_ok_reason'?: string | null;
3521
+ 'not_ok_reason': string | null;
3416
3522
  /**
3417
3523
  *
3418
3524
  * @type {boolean}
@@ -3424,31 +3530,31 @@ export interface K8sCluster {
3424
3530
  * @type {string}
3425
3531
  * @memberof K8sCluster
3426
3532
  */
3427
- 'ingress_domain'?: string | null;
3533
+ 'ingress_domain': string | null;
3428
3534
  /**
3429
3535
  *
3430
3536
  * @type {string}
3431
3537
  * @memberof K8sCluster
3432
3538
  */
3433
- 'ingress_class'?: string | null;
3539
+ 'ingress_class': string | null;
3434
3540
  /**
3435
3541
  *
3436
3542
  * @type {string}
3437
3543
  * @memberof K8sCluster
3438
3544
  */
3439
- 'ingress_tls_secret_name'?: string | null;
3545
+ 'ingress_tls_secret_name': string | null;
3440
3546
  /**
3441
3547
  *
3442
3548
  * @type {string}
3443
3549
  * @memberof K8sCluster
3444
3550
  */
3445
- 'grafana_url'?: string | null;
3551
+ 'grafana_url': string | null;
3446
3552
  /**
3447
3553
  *
3448
3554
  * @type {string}
3449
3555
  * @memberof K8sCluster
3450
3556
  */
3451
- 'grafana_datasource_name'?: string | null;
3557
+ 'grafana_datasource_name': string | null;
3452
3558
  }
3453
3559
  /**
3454
3560
  *
@@ -3580,6 +3686,12 @@ export interface NewDeployment {
3580
3686
  * @memberof NewDeployment
3581
3687
  */
3582
3688
  'kind': string;
3689
+ /**
3690
+ *
3691
+ * @type {string}
3692
+ * @memberof NewDeployment
3693
+ */
3694
+ 'kind_id': string;
3583
3695
  /**
3584
3696
  *
3585
3697
  * @type {string}
@@ -3597,13 +3709,13 @@ export interface NewDeployment {
3597
3709
  * @type {any}
3598
3710
  * @memberof NewDeployment
3599
3711
  */
3600
- 'config'?: any | null;
3712
+ 'config': any | null;
3601
3713
  /**
3602
3714
  *
3603
3715
  * @type {any}
3604
3716
  * @memberof NewDeployment
3605
3717
  */
3606
- 'values_override'?: any | null;
3718
+ 'values_override': any | null;
3607
3719
  }
3608
3720
  /**
3609
3721
  *
@@ -3628,7 +3740,7 @@ export interface NewDeploymentPermission {
3628
3740
  * @type {string}
3629
3741
  * @memberof NewDeploymentPermission
3630
3742
  */
3631
- 'kind': string;
3743
+ 'kind_id': string;
3632
3744
  /**
3633
3745
  *
3634
3746
  * @type {UserDeploymentRole}
@@ -3649,13 +3761,13 @@ export interface NewDeploymentResource {
3649
3761
  * @type {string}
3650
3762
  * @memberof NewDeploymentResource
3651
3763
  */
3652
- 'id'?: string | null;
3764
+ 'id': string | null;
3653
3765
  /**
3654
3766
  *
3655
3767
  * @type {string}
3656
3768
  * @memberof NewDeploymentResource
3657
3769
  */
3658
- 'created_at'?: string | null;
3770
+ 'created_at': string | null;
3659
3771
  /**
3660
3772
  *
3661
3773
  * @type {string}
@@ -3685,7 +3797,7 @@ export interface NewDeploymentResource {
3685
3797
  * @type {DeploymentResourceSyncStatus}
3686
3798
  * @memberof NewDeploymentResource
3687
3799
  */
3688
- 'sync_status'?: DeploymentResourceSyncStatus | null;
3800
+ 'sync_status': DeploymentResourceSyncStatus | null;
3689
3801
  }
3690
3802
 
3691
3803
 
@@ -3706,7 +3818,7 @@ export interface NewEnv {
3706
3818
  * @type {boolean}
3707
3819
  * @memberof NewEnv
3708
3820
  */
3709
- 'auto_add_new_users'?: boolean | null;
3821
+ 'auto_add_new_users': boolean | null;
3710
3822
  }
3711
3823
  /**
3712
3824
  *
@@ -4274,43 +4386,43 @@ export interface UpdateDeployment {
4274
4386
  * @type {string}
4275
4387
  * @memberof UpdateDeployment
4276
4388
  */
4277
- 'name'?: string | null;
4389
+ 'name': string | null;
4278
4390
  /**
4279
4391
  *
4280
4392
  * @type {string}
4281
4393
  * @memberof UpdateDeployment
4282
4394
  */
4283
- 'cluster_id'?: string | null;
4395
+ 'cluster_id': string | null;
4284
4396
  /**
4285
4397
  *
4286
4398
  * @type {string}
4287
4399
  * @memberof UpdateDeployment
4288
4400
  */
4289
- 'helm_chart_id'?: string | null;
4401
+ 'helm_chart_id': string | null;
4290
4402
  /**
4291
4403
  *
4292
4404
  * @type {any}
4293
4405
  * @memberof UpdateDeployment
4294
4406
  */
4295
- 'config'?: any | null;
4407
+ 'config': any | null;
4296
4408
  /**
4297
4409
  *
4298
4410
  * @type {any}
4299
4411
  * @memberof UpdateDeployment
4300
4412
  */
4301
- 'values_override'?: any | null;
4413
+ 'values_override': any | null;
4302
4414
  /**
4303
4415
  *
4304
4416
  * @type {boolean}
4305
4417
  * @memberof UpdateDeployment
4306
4418
  */
4307
- 'enabled'?: boolean | null;
4419
+ 'enabled': boolean | null;
4308
4420
  /**
4309
4421
  *
4310
4422
  * @type {string}
4311
4423
  * @memberof UpdateDeployment
4312
4424
  */
4313
- 'description_md'?: string | null;
4425
+ 'description_md': string | null;
4314
4426
  }
4315
4427
  /**
4316
4428
  *
@@ -4323,13 +4435,13 @@ export interface UpdateDeploymentResource {
4323
4435
  * @type {string}
4324
4436
  * @memberof UpdateDeploymentResource
4325
4437
  */
4326
- 'name'?: string | null;
4438
+ 'name': string | null;
4327
4439
  /**
4328
4440
  *
4329
4441
  * @type {any}
4330
4442
  * @memberof UpdateDeploymentResource
4331
4443
  */
4332
- 'props'?: any | null;
4444
+ 'props': any | null;
4333
4445
  }
4334
4446
  /**
4335
4447
  *
@@ -4342,25 +4454,25 @@ export interface UpdateEnv {
4342
4454
  * @type {string}
4343
4455
  * @memberof UpdateEnv
4344
4456
  */
4345
- 'name'?: string | null;
4457
+ 'name': string | null;
4346
4458
  /**
4347
4459
  *
4348
4460
  * @type {any}
4349
4461
  * @memberof UpdateEnv
4350
4462
  */
4351
- 'node_selector'?: any | null;
4463
+ 'node_selector': any | null;
4352
4464
  /**
4353
4465
  *
4354
4466
  * @type {any}
4355
4467
  * @memberof UpdateEnv
4356
4468
  */
4357
- 'tolerations'?: any | null;
4469
+ 'tolerations': any | null;
4358
4470
  /**
4359
4471
  *
4360
4472
  * @type {boolean}
4361
4473
  * @memberof UpdateEnv
4362
4474
  */
4363
- 'auto_add_new_users'?: boolean | null;
4475
+ 'auto_add_new_users': boolean | null;
4364
4476
  }
4365
4477
  /**
4366
4478
  *
@@ -4373,7 +4485,7 @@ export interface UpdateHelmRegistry {
4373
4485
  * @type {string}
4374
4486
  * @memberof UpdateHelmRegistry
4375
4487
  */
4376
- 'fa_icon'?: string | null;
4488
+ 'fa_icon': string | null;
4377
4489
  }
4378
4490
  /**
4379
4491
  *
@@ -4392,7 +4504,7 @@ export interface UpdateK8sCluster {
4392
4504
  * @type {boolean}
4393
4505
  * @memberof UpdateK8sCluster
4394
4506
  */
4395
- 'ignore'?: boolean | null;
4507
+ 'ignore': boolean | null;
4396
4508
  /**
4397
4509
  *
4398
4510
  * @type {string}
@@ -4435,13 +4547,13 @@ export interface UpdateSecretApi {
4435
4547
  * @type {string}
4436
4548
  * @memberof UpdateSecretApi
4437
4549
  */
4438
- 'name'?: string | null;
4550
+ 'name': string | null;
4439
4551
  /**
4440
4552
  *
4441
4553
  * @type {string}
4442
4554
  * @memberof UpdateSecretApi
4443
4555
  */
4444
- 'contents'?: string | null;
4556
+ 'contents': string | null;
4445
4557
  }
4446
4558
  /**
4447
4559
  *
@@ -4454,13 +4566,13 @@ export interface UpdateUser {
4454
4566
  * @type {boolean}
4455
4567
  * @memberof UpdateUser
4456
4568
  */
4457
- 'is_admin'?: boolean | null;
4569
+ 'is_admin': boolean | null;
4458
4570
  /**
4459
4571
  *
4460
4572
  * @type {boolean}
4461
4573
  * @memberof UpdateUser
4462
4574
  */
4463
- 'is_active'?: boolean | null;
4575
+ 'is_active': boolean | null;
4464
4576
  }
4465
4577
  /**
4466
4578
  *
@@ -4556,7 +4668,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
4556
4668
  * @param {*} [options] Override http request option.
4557
4669
  * @throws {RequiredError}
4558
4670
  */
4559
- authMe: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4671
+ authMe: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4560
4672
  const localVarPath = `/api/v2/auth/me`;
4561
4673
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4562
4674
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4593,7 +4705,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
4593
4705
  * @param {*} [options] Override http request option.
4594
4706
  * @throws {RequiredError}
4595
4707
  */
4596
- finishGoogleLogin: async (oAuth2Response: OAuth2Response, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4708
+ finishGoogleLogin: async (oAuth2Response: OAuth2Response, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4597
4709
  // verify required parameter 'oAuth2Response' is not null or undefined
4598
4710
  assertParamExists('finishGoogleLogin', 'oAuth2Response', oAuth2Response)
4599
4711
  const localVarPath = `/api/v2/auth/google/callback`;
@@ -4627,7 +4739,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
4627
4739
  * @param {*} [options] Override http request option.
4628
4740
  * @throws {RequiredError}
4629
4741
  */
4630
- startGoogleLogin: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4742
+ startGoogleLogin: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4631
4743
  const localVarPath = `/api/v2/auth/google`;
4632
4744
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4633
4745
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4666,9 +4778,11 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
4666
4778
  * @param {*} [options] Override http request option.
4667
4779
  * @throws {RequiredError}
4668
4780
  */
4669
- async authMe(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MeResponse>> {
4781
+ async authMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MeResponse>> {
4670
4782
  const localVarAxiosArgs = await localVarAxiosParamCreator.authMe(options);
4671
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4783
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4784
+ const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.authMe']?.[localVarOperationServerIndex]?.url;
4785
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4672
4786
  },
4673
4787
  /**
4674
4788
  *
@@ -4676,18 +4790,22 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
4676
4790
  * @param {*} [options] Override http request option.
4677
4791
  * @throws {RequiredError}
4678
4792
  */
4679
- async finishGoogleLogin(oAuth2Response: OAuth2Response, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FinishGoogleLoginResponse>> {
4793
+ async finishGoogleLogin(oAuth2Response: OAuth2Response, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FinishGoogleLoginResponse>> {
4680
4794
  const localVarAxiosArgs = await localVarAxiosParamCreator.finishGoogleLogin(oAuth2Response, options);
4681
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4795
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4796
+ const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.finishGoogleLogin']?.[localVarOperationServerIndex]?.url;
4797
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4682
4798
  },
4683
4799
  /**
4684
4800
  *
4685
4801
  * @param {*} [options] Override http request option.
4686
4802
  * @throws {RequiredError}
4687
4803
  */
4688
- async startGoogleLogin(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StartGoogleLoginResponse>> {
4804
+ async startGoogleLogin(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StartGoogleLoginResponse>> {
4689
4805
  const localVarAxiosArgs = await localVarAxiosParamCreator.startGoogleLogin(options);
4690
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4806
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4807
+ const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.startGoogleLogin']?.[localVarOperationServerIndex]?.url;
4808
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4691
4809
  },
4692
4810
  }
4693
4811
  };
@@ -4704,7 +4822,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
4704
4822
  * @param {*} [options] Override http request option.
4705
4823
  * @throws {RequiredError}
4706
4824
  */
4707
- authMe(options?: AxiosRequestConfig): AxiosPromise<MeResponse> {
4825
+ authMe(options?: RawAxiosRequestConfig): AxiosPromise<MeResponse> {
4708
4826
  return localVarFp.authMe(options).then((request) => request(axios, basePath));
4709
4827
  },
4710
4828
  /**
@@ -4713,7 +4831,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
4713
4831
  * @param {*} [options] Override http request option.
4714
4832
  * @throws {RequiredError}
4715
4833
  */
4716
- finishGoogleLogin(requestParameters: AuthenticationApiFinishGoogleLoginRequest, options?: AxiosRequestConfig): AxiosPromise<FinishGoogleLoginResponse> {
4834
+ finishGoogleLogin(requestParameters: AuthenticationApiFinishGoogleLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<FinishGoogleLoginResponse> {
4717
4835
  return localVarFp.finishGoogleLogin(requestParameters.oAuth2Response, options).then((request) => request(axios, basePath));
4718
4836
  },
4719
4837
  /**
@@ -4721,7 +4839,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
4721
4839
  * @param {*} [options] Override http request option.
4722
4840
  * @throws {RequiredError}
4723
4841
  */
4724
- startGoogleLogin(options?: AxiosRequestConfig): AxiosPromise<StartGoogleLoginResponse> {
4842
+ startGoogleLogin(options?: RawAxiosRequestConfig): AxiosPromise<StartGoogleLoginResponse> {
4725
4843
  return localVarFp.startGoogleLogin(options).then((request) => request(axios, basePath));
4726
4844
  },
4727
4845
  };
@@ -4754,7 +4872,7 @@ export class AuthenticationApi extends BaseAPI {
4754
4872
  * @throws {RequiredError}
4755
4873
  * @memberof AuthenticationApi
4756
4874
  */
4757
- public authMe(options?: AxiosRequestConfig) {
4875
+ public authMe(options?: RawAxiosRequestConfig) {
4758
4876
  return AuthenticationApiFp(this.configuration).authMe(options).then((request) => request(this.axios, this.basePath));
4759
4877
  }
4760
4878
 
@@ -4765,7 +4883,7 @@ export class AuthenticationApi extends BaseAPI {
4765
4883
  * @throws {RequiredError}
4766
4884
  * @memberof AuthenticationApi
4767
4885
  */
4768
- public finishGoogleLogin(requestParameters: AuthenticationApiFinishGoogleLoginRequest, options?: AxiosRequestConfig) {
4886
+ public finishGoogleLogin(requestParameters: AuthenticationApiFinishGoogleLoginRequest, options?: RawAxiosRequestConfig) {
4769
4887
  return AuthenticationApiFp(this.configuration).finishGoogleLogin(requestParameters.oAuth2Response, options).then((request) => request(this.axios, this.basePath));
4770
4888
  }
4771
4889
 
@@ -4775,7 +4893,7 @@ export class AuthenticationApi extends BaseAPI {
4775
4893
  * @throws {RequiredError}
4776
4894
  * @memberof AuthenticationApi
4777
4895
  */
4778
- public startGoogleLogin(options?: AxiosRequestConfig) {
4896
+ public startGoogleLogin(options?: RawAxiosRequestConfig) {
4779
4897
  return AuthenticationApiFp(this.configuration).startGoogleLogin(options).then((request) => request(this.axios, this.basePath));
4780
4898
  }
4781
4899
  }
@@ -4796,7 +4914,7 @@ export const DeploymentPermissionsApiAxiosParamCreator = function (configuration
4796
4914
  * @param {*} [options] Override http request option.
4797
4915
  * @throws {RequiredError}
4798
4916
  */
4799
- allDeploymentPermissions: async (envId?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4917
+ allDeploymentPermissions: async (envId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4800
4918
  const localVarPath = `/api/v2/deployment-permissions`;
4801
4919
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4802
4920
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4845,7 +4963,7 @@ export const DeploymentPermissionsApiAxiosParamCreator = function (configuration
4845
4963
  * @param {*} [options] Override http request option.
4846
4964
  * @throws {RequiredError}
4847
4965
  */
4848
- createDeploymentPermission: async (newDeploymentPermission: NewDeploymentPermission, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4966
+ createDeploymentPermission: async (newDeploymentPermission: NewDeploymentPermission, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4849
4967
  // verify required parameter 'newDeploymentPermission' is not null or undefined
4850
4968
  assertParamExists('createDeploymentPermission', 'newDeploymentPermission', newDeploymentPermission)
4851
4969
  const localVarPath = `/api/v2/deployment-permissions`;
@@ -4887,7 +5005,7 @@ export const DeploymentPermissionsApiAxiosParamCreator = function (configuration
4887
5005
  * @param {*} [options] Override http request option.
4888
5006
  * @throws {RequiredError}
4889
5007
  */
4890
- deleteDeploymentPermission: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5008
+ deleteDeploymentPermission: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4891
5009
  // verify required parameter 'id' is not null or undefined
4892
5010
  assertParamExists('deleteDeploymentPermission', 'id', id)
4893
5011
  const localVarPath = `/api/v2/deployment-permissions/{id}`
@@ -4927,7 +5045,7 @@ export const DeploymentPermissionsApiAxiosParamCreator = function (configuration
4927
5045
  * @param {*} [options] Override http request option.
4928
5046
  * @throws {RequiredError}
4929
5047
  */
4930
- getDeploymentPermission: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5048
+ getDeploymentPermission: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4931
5049
  // verify required parameter 'id' is not null or undefined
4932
5050
  assertParamExists('getDeploymentPermission', 'id', id)
4933
5051
  const localVarPath = `/api/v2/deployment-permissions/{id}`
@@ -4979,9 +5097,11 @@ export const DeploymentPermissionsApiFp = function(configuration?: Configuration
4979
5097
  * @param {*} [options] Override http request option.
4980
5098
  * @throws {RequiredError}
4981
5099
  */
4982
- async allDeploymentPermissions(envId?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentPermissions200Response>> {
5100
+ async allDeploymentPermissions(envId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentPermissions200Response>> {
4983
5101
  const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentPermissions(envId, page, perPage, options);
4984
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5102
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5103
+ const localVarOperationServerBasePath = operationServerMap['DeploymentPermissionsApi.allDeploymentPermissions']?.[localVarOperationServerIndex]?.url;
5104
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4985
5105
  },
4986
5106
  /**
4987
5107
  *
@@ -4989,9 +5109,11 @@ export const DeploymentPermissionsApiFp = function(configuration?: Configuration
4989
5109
  * @param {*} [options] Override http request option.
4990
5110
  * @throws {RequiredError}
4991
5111
  */
4992
- async createDeploymentPermission(newDeploymentPermission: NewDeploymentPermission, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentPermission>> {
5112
+ async createDeploymentPermission(newDeploymentPermission: NewDeploymentPermission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentPermission>> {
4993
5113
  const localVarAxiosArgs = await localVarAxiosParamCreator.createDeploymentPermission(newDeploymentPermission, options);
4994
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5114
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5115
+ const localVarOperationServerBasePath = operationServerMap['DeploymentPermissionsApi.createDeploymentPermission']?.[localVarOperationServerIndex]?.url;
5116
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4995
5117
  },
4996
5118
  /**
4997
5119
  *
@@ -4999,9 +5121,11 @@ export const DeploymentPermissionsApiFp = function(configuration?: Configuration
4999
5121
  * @param {*} [options] Override http request option.
5000
5122
  * @throws {RequiredError}
5001
5123
  */
5002
- async deleteDeploymentPermission(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
5124
+ async deleteDeploymentPermission(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
5003
5125
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeploymentPermission(id, options);
5004
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5126
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5127
+ const localVarOperationServerBasePath = operationServerMap['DeploymentPermissionsApi.deleteDeploymentPermission']?.[localVarOperationServerIndex]?.url;
5128
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5005
5129
  },
5006
5130
  /**
5007
5131
  *
@@ -5009,9 +5133,11 @@ export const DeploymentPermissionsApiFp = function(configuration?: Configuration
5009
5133
  * @param {*} [options] Override http request option.
5010
5134
  * @throws {RequiredError}
5011
5135
  */
5012
- async getDeploymentPermission(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentPermission>> {
5136
+ async getDeploymentPermission(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentPermission>> {
5013
5137
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentPermission(id, options);
5014
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5138
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5139
+ const localVarOperationServerBasePath = operationServerMap['DeploymentPermissionsApi.getDeploymentPermission']?.[localVarOperationServerIndex]?.url;
5140
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5015
5141
  },
5016
5142
  }
5017
5143
  };
@@ -5029,7 +5155,7 @@ export const DeploymentPermissionsApiFactory = function (configuration?: Configu
5029
5155
  * @param {*} [options] Override http request option.
5030
5156
  * @throws {RequiredError}
5031
5157
  */
5032
- allDeploymentPermissions(requestParameters: DeploymentPermissionsApiAllDeploymentPermissionsRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllDeploymentPermissions200Response> {
5158
+ allDeploymentPermissions(requestParameters: DeploymentPermissionsApiAllDeploymentPermissionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllDeploymentPermissions200Response> {
5033
5159
  return localVarFp.allDeploymentPermissions(requestParameters.envId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
5034
5160
  },
5035
5161
  /**
@@ -5038,7 +5164,7 @@ export const DeploymentPermissionsApiFactory = function (configuration?: Configu
5038
5164
  * @param {*} [options] Override http request option.
5039
5165
  * @throws {RequiredError}
5040
5166
  */
5041
- createDeploymentPermission(requestParameters: DeploymentPermissionsApiCreateDeploymentPermissionRequest, options?: AxiosRequestConfig): AxiosPromise<DeploymentPermission> {
5167
+ createDeploymentPermission(requestParameters: DeploymentPermissionsApiCreateDeploymentPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentPermission> {
5042
5168
  return localVarFp.createDeploymentPermission(requestParameters.newDeploymentPermission, options).then((request) => request(axios, basePath));
5043
5169
  },
5044
5170
  /**
@@ -5047,7 +5173,7 @@ export const DeploymentPermissionsApiFactory = function (configuration?: Configu
5047
5173
  * @param {*} [options] Override http request option.
5048
5174
  * @throws {RequiredError}
5049
5175
  */
5050
- deleteDeploymentPermission(requestParameters: DeploymentPermissionsApiDeleteDeploymentPermissionRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
5176
+ deleteDeploymentPermission(requestParameters: DeploymentPermissionsApiDeleteDeploymentPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
5051
5177
  return localVarFp.deleteDeploymentPermission(requestParameters.id, options).then((request) => request(axios, basePath));
5052
5178
  },
5053
5179
  /**
@@ -5056,7 +5182,7 @@ export const DeploymentPermissionsApiFactory = function (configuration?: Configu
5056
5182
  * @param {*} [options] Override http request option.
5057
5183
  * @throws {RequiredError}
5058
5184
  */
5059
- getDeploymentPermission(requestParameters: DeploymentPermissionsApiGetDeploymentPermissionRequest, options?: AxiosRequestConfig): AxiosPromise<DeploymentPermission> {
5185
+ getDeploymentPermission(requestParameters: DeploymentPermissionsApiGetDeploymentPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentPermission> {
5060
5186
  return localVarFp.getDeploymentPermission(requestParameters.id, options).then((request) => request(axios, basePath));
5061
5187
  },
5062
5188
  };
@@ -5146,7 +5272,7 @@ export class DeploymentPermissionsApi extends BaseAPI {
5146
5272
  * @throws {RequiredError}
5147
5273
  * @memberof DeploymentPermissionsApi
5148
5274
  */
5149
- public allDeploymentPermissions(requestParameters: DeploymentPermissionsApiAllDeploymentPermissionsRequest = {}, options?: AxiosRequestConfig) {
5275
+ public allDeploymentPermissions(requestParameters: DeploymentPermissionsApiAllDeploymentPermissionsRequest = {}, options?: RawAxiosRequestConfig) {
5150
5276
  return DeploymentPermissionsApiFp(this.configuration).allDeploymentPermissions(requestParameters.envId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
5151
5277
  }
5152
5278
 
@@ -5157,7 +5283,7 @@ export class DeploymentPermissionsApi extends BaseAPI {
5157
5283
  * @throws {RequiredError}
5158
5284
  * @memberof DeploymentPermissionsApi
5159
5285
  */
5160
- public createDeploymentPermission(requestParameters: DeploymentPermissionsApiCreateDeploymentPermissionRequest, options?: AxiosRequestConfig) {
5286
+ public createDeploymentPermission(requestParameters: DeploymentPermissionsApiCreateDeploymentPermissionRequest, options?: RawAxiosRequestConfig) {
5161
5287
  return DeploymentPermissionsApiFp(this.configuration).createDeploymentPermission(requestParameters.newDeploymentPermission, options).then((request) => request(this.axios, this.basePath));
5162
5288
  }
5163
5289
 
@@ -5168,7 +5294,7 @@ export class DeploymentPermissionsApi extends BaseAPI {
5168
5294
  * @throws {RequiredError}
5169
5295
  * @memberof DeploymentPermissionsApi
5170
5296
  */
5171
- public deleteDeploymentPermission(requestParameters: DeploymentPermissionsApiDeleteDeploymentPermissionRequest, options?: AxiosRequestConfig) {
5297
+ public deleteDeploymentPermission(requestParameters: DeploymentPermissionsApiDeleteDeploymentPermissionRequest, options?: RawAxiosRequestConfig) {
5172
5298
  return DeploymentPermissionsApiFp(this.configuration).deleteDeploymentPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5173
5299
  }
5174
5300
 
@@ -5179,7 +5305,7 @@ export class DeploymentPermissionsApi extends BaseAPI {
5179
5305
  * @throws {RequiredError}
5180
5306
  * @memberof DeploymentPermissionsApi
5181
5307
  */
5182
- public getDeploymentPermission(requestParameters: DeploymentPermissionsApiGetDeploymentPermissionRequest, options?: AxiosRequestConfig) {
5308
+ public getDeploymentPermission(requestParameters: DeploymentPermissionsApiGetDeploymentPermissionRequest, options?: RawAxiosRequestConfig) {
5183
5309
  return DeploymentPermissionsApiFp(this.configuration).getDeploymentPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5184
5310
  }
5185
5311
  }
@@ -5196,13 +5322,14 @@ export const DeploymentResourceTypesApiAxiosParamCreator = function (configurati
5196
5322
  *
5197
5323
  * @param {string | null} [envId]
5198
5324
  * @param {string | null} [deploymentKind]
5325
+ * @param {string | null} [deploymentKindId]
5199
5326
  * @param {string | null} [key]
5200
5327
  * @param {number | null} [page]
5201
5328
  * @param {number | null} [perPage]
5202
5329
  * @param {*} [options] Override http request option.
5203
5330
  * @throws {RequiredError}
5204
5331
  */
5205
- allDeploymentResourceTypes: async (envId?: string | null, deploymentKind?: string | null, key?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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> => {
5206
5333
  const localVarPath = `/api/v2/deployment-resource-types`;
5207
5334
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5208
5335
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5230,6 +5357,10 @@ export const DeploymentResourceTypesApiAxiosParamCreator = function (configurati
5230
5357
  localVarQueryParameter['deployment_kind'] = deploymentKind;
5231
5358
  }
5232
5359
 
5360
+ if (deploymentKindId !== undefined) {
5361
+ localVarQueryParameter['deployment_kind_id'] = deploymentKindId;
5362
+ }
5363
+
5233
5364
  if (key !== undefined) {
5234
5365
  localVarQueryParameter['key'] = key;
5235
5366
  }
@@ -5259,7 +5390,7 @@ export const DeploymentResourceTypesApiAxiosParamCreator = function (configurati
5259
5390
  * @param {*} [options] Override http request option.
5260
5391
  * @throws {RequiredError}
5261
5392
  */
5262
- getDeploymentResourceType: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5393
+ getDeploymentResourceType: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5263
5394
  // verify required parameter 'id' is not null or undefined
5264
5395
  assertParamExists('getDeploymentResourceType', 'id', id)
5265
5396
  const localVarPath = `/api/v2/deployment-resource-types/{id}`
@@ -5307,15 +5438,18 @@ export const DeploymentResourceTypesApiFp = function(configuration?: Configurati
5307
5438
  *
5308
5439
  * @param {string | null} [envId]
5309
5440
  * @param {string | null} [deploymentKind]
5441
+ * @param {string | null} [deploymentKindId]
5310
5442
  * @param {string | null} [key]
5311
5443
  * @param {number | null} [page]
5312
5444
  * @param {number | null} [perPage]
5313
5445
  * @param {*} [options] Override http request option.
5314
5446
  * @throws {RequiredError}
5315
5447
  */
5316
- async allDeploymentResourceTypes(envId?: string | null, deploymentKind?: string | null, key?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentResourceTypes200Response>> {
5317
- const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentResourceTypes(envId, deploymentKind, key, page, perPage, options);
5318
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
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);
5450
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5451
+ const localVarOperationServerBasePath = operationServerMap['DeploymentResourceTypesApi.allDeploymentResourceTypes']?.[localVarOperationServerIndex]?.url;
5452
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5319
5453
  },
5320
5454
  /**
5321
5455
  *
@@ -5323,9 +5457,11 @@ export const DeploymentResourceTypesApiFp = function(configuration?: Configurati
5323
5457
  * @param {*} [options] Override http request option.
5324
5458
  * @throws {RequiredError}
5325
5459
  */
5326
- async getDeploymentResourceType(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResourceType>> {
5460
+ async getDeploymentResourceType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResourceType>> {
5327
5461
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentResourceType(id, options);
5328
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5462
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5463
+ const localVarOperationServerBasePath = operationServerMap['DeploymentResourceTypesApi.getDeploymentResourceType']?.[localVarOperationServerIndex]?.url;
5464
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5329
5465
  },
5330
5466
  }
5331
5467
  };
@@ -5343,8 +5479,8 @@ export const DeploymentResourceTypesApiFactory = function (configuration?: Confi
5343
5479
  * @param {*} [options] Override http request option.
5344
5480
  * @throws {RequiredError}
5345
5481
  */
5346
- allDeploymentResourceTypes(requestParameters: DeploymentResourceTypesApiAllDeploymentResourceTypesRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllDeploymentResourceTypes200Response> {
5347
- return localVarFp.allDeploymentResourceTypes(requestParameters.envId, requestParameters.deploymentKind, requestParameters.key, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
5482
+ 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));
5348
5484
  },
5349
5485
  /**
5350
5486
  *
@@ -5352,7 +5488,7 @@ export const DeploymentResourceTypesApiFactory = function (configuration?: Confi
5352
5488
  * @param {*} [options] Override http request option.
5353
5489
  * @throws {RequiredError}
5354
5490
  */
5355
- getDeploymentResourceType(requestParameters: DeploymentResourceTypesApiGetDeploymentResourceTypeRequest, options?: AxiosRequestConfig): AxiosPromise<DeploymentResourceType> {
5491
+ getDeploymentResourceType(requestParameters: DeploymentResourceTypesApiGetDeploymentResourceTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentResourceType> {
5356
5492
  return localVarFp.getDeploymentResourceType(requestParameters.id, options).then((request) => request(axios, basePath));
5357
5493
  },
5358
5494
  };
@@ -5378,6 +5514,13 @@ export interface DeploymentResourceTypesApiAllDeploymentResourceTypesRequest {
5378
5514
  */
5379
5515
  readonly deploymentKind?: string | null
5380
5516
 
5517
+ /**
5518
+ *
5519
+ * @type {string}
5520
+ * @memberof DeploymentResourceTypesApiAllDeploymentResourceTypes
5521
+ */
5522
+ readonly deploymentKindId?: string | null
5523
+
5381
5524
  /**
5382
5525
  *
5383
5526
  * @type {string}
@@ -5428,8 +5571,8 @@ export class DeploymentResourceTypesApi extends BaseAPI {
5428
5571
  * @throws {RequiredError}
5429
5572
  * @memberof DeploymentResourceTypesApi
5430
5573
  */
5431
- public allDeploymentResourceTypes(requestParameters: DeploymentResourceTypesApiAllDeploymentResourceTypesRequest = {}, options?: AxiosRequestConfig) {
5432
- return DeploymentResourceTypesApiFp(this.configuration).allDeploymentResourceTypes(requestParameters.envId, requestParameters.deploymentKind, requestParameters.key, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
5574
+ 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));
5433
5576
  }
5434
5577
 
5435
5578
  /**
@@ -5439,7 +5582,7 @@ export class DeploymentResourceTypesApi extends BaseAPI {
5439
5582
  * @throws {RequiredError}
5440
5583
  * @memberof DeploymentResourceTypesApi
5441
5584
  */
5442
- public getDeploymentResourceType(requestParameters: DeploymentResourceTypesApiGetDeploymentResourceTypeRequest, options?: AxiosRequestConfig) {
5585
+ public getDeploymentResourceType(requestParameters: DeploymentResourceTypesApiGetDeploymentResourceTypeRequest, options?: RawAxiosRequestConfig) {
5443
5586
  return DeploymentResourceTypesApiFp(this.configuration).getDeploymentResourceType(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5444
5587
  }
5445
5588
  }
@@ -5460,7 +5603,7 @@ export const DeploymentResourcesApiAxiosParamCreator = function (configuration?:
5460
5603
  * @param {*} [options] Override http request option.
5461
5604
  * @throws {RequiredError}
5462
5605
  */
5463
- allDeploymentResources: async (typeId?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5606
+ allDeploymentResources: async (typeId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5464
5607
  const localVarPath = `/api/v2/deployment-resources`;
5465
5608
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5466
5609
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5509,7 +5652,7 @@ export const DeploymentResourcesApiAxiosParamCreator = function (configuration?:
5509
5652
  * @param {*} [options] Override http request option.
5510
5653
  * @throws {RequiredError}
5511
5654
  */
5512
- createDeploymentResource: async (newDeploymentResource: NewDeploymentResource, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5655
+ createDeploymentResource: async (newDeploymentResource: NewDeploymentResource, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5513
5656
  // verify required parameter 'newDeploymentResource' is not null or undefined
5514
5657
  assertParamExists('createDeploymentResource', 'newDeploymentResource', newDeploymentResource)
5515
5658
  const localVarPath = `/api/v2/deployment-resources`;
@@ -5551,7 +5694,7 @@ export const DeploymentResourcesApiAxiosParamCreator = function (configuration?:
5551
5694
  * @param {*} [options] Override http request option.
5552
5695
  * @throws {RequiredError}
5553
5696
  */
5554
- deleteDeploymentResource: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5697
+ deleteDeploymentResource: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5555
5698
  // verify required parameter 'id' is not null or undefined
5556
5699
  assertParamExists('deleteDeploymentResource', 'id', id)
5557
5700
  const localVarPath = `/api/v2/deployment-resources/{id}`
@@ -5591,7 +5734,7 @@ export const DeploymentResourcesApiAxiosParamCreator = function (configuration?:
5591
5734
  * @param {*} [options] Override http request option.
5592
5735
  * @throws {RequiredError}
5593
5736
  */
5594
- getDeploymentResource: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5737
+ getDeploymentResource: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5595
5738
  // verify required parameter 'id' is not null or undefined
5596
5739
  assertParamExists('getDeploymentResource', 'id', id)
5597
5740
  const localVarPath = `/api/v2/deployment-resources/{id}`
@@ -5632,7 +5775,7 @@ export const DeploymentResourcesApiAxiosParamCreator = function (configuration?:
5632
5775
  * @param {*} [options] Override http request option.
5633
5776
  * @throws {RequiredError}
5634
5777
  */
5635
- updateDeploymentResource: async (id: string, updateDeploymentResource: UpdateDeploymentResource, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5778
+ updateDeploymentResource: async (id: string, updateDeploymentResource: UpdateDeploymentResource, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5636
5779
  // verify required parameter 'id' is not null or undefined
5637
5780
  assertParamExists('updateDeploymentResource', 'id', id)
5638
5781
  // verify required parameter 'updateDeploymentResource' is not null or undefined
@@ -5689,9 +5832,11 @@ export const DeploymentResourcesApiFp = function(configuration?: Configuration)
5689
5832
  * @param {*} [options] Override http request option.
5690
5833
  * @throws {RequiredError}
5691
5834
  */
5692
- async allDeploymentResources(typeId?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentResources200Response>> {
5835
+ async allDeploymentResources(typeId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentResources200Response>> {
5693
5836
  const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentResources(typeId, page, perPage, options);
5694
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5837
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5838
+ const localVarOperationServerBasePath = operationServerMap['DeploymentResourcesApi.allDeploymentResources']?.[localVarOperationServerIndex]?.url;
5839
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5695
5840
  },
5696
5841
  /**
5697
5842
  *
@@ -5699,9 +5844,11 @@ export const DeploymentResourcesApiFp = function(configuration?: Configuration)
5699
5844
  * @param {*} [options] Override http request option.
5700
5845
  * @throws {RequiredError}
5701
5846
  */
5702
- async createDeploymentResource(newDeploymentResource: NewDeploymentResource, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResource>> {
5847
+ async createDeploymentResource(newDeploymentResource: NewDeploymentResource, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResource>> {
5703
5848
  const localVarAxiosArgs = await localVarAxiosParamCreator.createDeploymentResource(newDeploymentResource, options);
5704
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5849
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5850
+ const localVarOperationServerBasePath = operationServerMap['DeploymentResourcesApi.createDeploymentResource']?.[localVarOperationServerIndex]?.url;
5851
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5705
5852
  },
5706
5853
  /**
5707
5854
  *
@@ -5709,9 +5856,11 @@ export const DeploymentResourcesApiFp = function(configuration?: Configuration)
5709
5856
  * @param {*} [options] Override http request option.
5710
5857
  * @throws {RequiredError}
5711
5858
  */
5712
- async deleteDeploymentResource(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
5859
+ async deleteDeploymentResource(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
5713
5860
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeploymentResource(id, options);
5714
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5861
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5862
+ const localVarOperationServerBasePath = operationServerMap['DeploymentResourcesApi.deleteDeploymentResource']?.[localVarOperationServerIndex]?.url;
5863
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5715
5864
  },
5716
5865
  /**
5717
5866
  *
@@ -5719,9 +5868,11 @@ export const DeploymentResourcesApiFp = function(configuration?: Configuration)
5719
5868
  * @param {*} [options] Override http request option.
5720
5869
  * @throws {RequiredError}
5721
5870
  */
5722
- async getDeploymentResource(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResource>> {
5871
+ async getDeploymentResource(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResource>> {
5723
5872
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentResource(id, options);
5724
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5873
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5874
+ const localVarOperationServerBasePath = operationServerMap['DeploymentResourcesApi.getDeploymentResource']?.[localVarOperationServerIndex]?.url;
5875
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5725
5876
  },
5726
5877
  /**
5727
5878
  *
@@ -5730,9 +5881,11 @@ export const DeploymentResourcesApiFp = function(configuration?: Configuration)
5730
5881
  * @param {*} [options] Override http request option.
5731
5882
  * @throws {RequiredError}
5732
5883
  */
5733
- async updateDeploymentResource(id: string, updateDeploymentResource: UpdateDeploymentResource, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResource>> {
5884
+ async updateDeploymentResource(id: string, updateDeploymentResource: UpdateDeploymentResource, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResource>> {
5734
5885
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateDeploymentResource(id, updateDeploymentResource, options);
5735
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5886
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5887
+ const localVarOperationServerBasePath = operationServerMap['DeploymentResourcesApi.updateDeploymentResource']?.[localVarOperationServerIndex]?.url;
5888
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5736
5889
  },
5737
5890
  }
5738
5891
  };
@@ -5750,7 +5903,7 @@ export const DeploymentResourcesApiFactory = function (configuration?: Configura
5750
5903
  * @param {*} [options] Override http request option.
5751
5904
  * @throws {RequiredError}
5752
5905
  */
5753
- allDeploymentResources(requestParameters: DeploymentResourcesApiAllDeploymentResourcesRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllDeploymentResources200Response> {
5906
+ allDeploymentResources(requestParameters: DeploymentResourcesApiAllDeploymentResourcesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllDeploymentResources200Response> {
5754
5907
  return localVarFp.allDeploymentResources(requestParameters.typeId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
5755
5908
  },
5756
5909
  /**
@@ -5759,7 +5912,7 @@ export const DeploymentResourcesApiFactory = function (configuration?: Configura
5759
5912
  * @param {*} [options] Override http request option.
5760
5913
  * @throws {RequiredError}
5761
5914
  */
5762
- createDeploymentResource(requestParameters: DeploymentResourcesApiCreateDeploymentResourceRequest, options?: AxiosRequestConfig): AxiosPromise<DeploymentResource> {
5915
+ createDeploymentResource(requestParameters: DeploymentResourcesApiCreateDeploymentResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentResource> {
5763
5916
  return localVarFp.createDeploymentResource(requestParameters.newDeploymentResource, options).then((request) => request(axios, basePath));
5764
5917
  },
5765
5918
  /**
@@ -5768,7 +5921,7 @@ export const DeploymentResourcesApiFactory = function (configuration?: Configura
5768
5921
  * @param {*} [options] Override http request option.
5769
5922
  * @throws {RequiredError}
5770
5923
  */
5771
- deleteDeploymentResource(requestParameters: DeploymentResourcesApiDeleteDeploymentResourceRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
5924
+ deleteDeploymentResource(requestParameters: DeploymentResourcesApiDeleteDeploymentResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
5772
5925
  return localVarFp.deleteDeploymentResource(requestParameters.id, options).then((request) => request(axios, basePath));
5773
5926
  },
5774
5927
  /**
@@ -5777,7 +5930,7 @@ export const DeploymentResourcesApiFactory = function (configuration?: Configura
5777
5930
  * @param {*} [options] Override http request option.
5778
5931
  * @throws {RequiredError}
5779
5932
  */
5780
- getDeploymentResource(requestParameters: DeploymentResourcesApiGetDeploymentResourceRequest, options?: AxiosRequestConfig): AxiosPromise<DeploymentResource> {
5933
+ getDeploymentResource(requestParameters: DeploymentResourcesApiGetDeploymentResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentResource> {
5781
5934
  return localVarFp.getDeploymentResource(requestParameters.id, options).then((request) => request(axios, basePath));
5782
5935
  },
5783
5936
  /**
@@ -5786,7 +5939,7 @@ export const DeploymentResourcesApiFactory = function (configuration?: Configura
5786
5939
  * @param {*} [options] Override http request option.
5787
5940
  * @throws {RequiredError}
5788
5941
  */
5789
- updateDeploymentResource(requestParameters: DeploymentResourcesApiUpdateDeploymentResourceRequest, options?: AxiosRequestConfig): AxiosPromise<DeploymentResource> {
5942
+ updateDeploymentResource(requestParameters: DeploymentResourcesApiUpdateDeploymentResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentResource> {
5790
5943
  return localVarFp.updateDeploymentResource(requestParameters.id, requestParameters.updateDeploymentResource, options).then((request) => request(axios, basePath));
5791
5944
  },
5792
5945
  };
@@ -5897,7 +6050,7 @@ export class DeploymentResourcesApi extends BaseAPI {
5897
6050
  * @throws {RequiredError}
5898
6051
  * @memberof DeploymentResourcesApi
5899
6052
  */
5900
- public allDeploymentResources(requestParameters: DeploymentResourcesApiAllDeploymentResourcesRequest = {}, options?: AxiosRequestConfig) {
6053
+ public allDeploymentResources(requestParameters: DeploymentResourcesApiAllDeploymentResourcesRequest = {}, options?: RawAxiosRequestConfig) {
5901
6054
  return DeploymentResourcesApiFp(this.configuration).allDeploymentResources(requestParameters.typeId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
5902
6055
  }
5903
6056
 
@@ -5908,7 +6061,7 @@ export class DeploymentResourcesApi extends BaseAPI {
5908
6061
  * @throws {RequiredError}
5909
6062
  * @memberof DeploymentResourcesApi
5910
6063
  */
5911
- public createDeploymentResource(requestParameters: DeploymentResourcesApiCreateDeploymentResourceRequest, options?: AxiosRequestConfig) {
6064
+ public createDeploymentResource(requestParameters: DeploymentResourcesApiCreateDeploymentResourceRequest, options?: RawAxiosRequestConfig) {
5912
6065
  return DeploymentResourcesApiFp(this.configuration).createDeploymentResource(requestParameters.newDeploymentResource, options).then((request) => request(this.axios, this.basePath));
5913
6066
  }
5914
6067
 
@@ -5919,7 +6072,7 @@ export class DeploymentResourcesApi extends BaseAPI {
5919
6072
  * @throws {RequiredError}
5920
6073
  * @memberof DeploymentResourcesApi
5921
6074
  */
5922
- public deleteDeploymentResource(requestParameters: DeploymentResourcesApiDeleteDeploymentResourceRequest, options?: AxiosRequestConfig) {
6075
+ public deleteDeploymentResource(requestParameters: DeploymentResourcesApiDeleteDeploymentResourceRequest, options?: RawAxiosRequestConfig) {
5923
6076
  return DeploymentResourcesApiFp(this.configuration).deleteDeploymentResource(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5924
6077
  }
5925
6078
 
@@ -5930,7 +6083,7 @@ export class DeploymentResourcesApi extends BaseAPI {
5930
6083
  * @throws {RequiredError}
5931
6084
  * @memberof DeploymentResourcesApi
5932
6085
  */
5933
- public getDeploymentResource(requestParameters: DeploymentResourcesApiGetDeploymentResourceRequest, options?: AxiosRequestConfig) {
6086
+ public getDeploymentResource(requestParameters: DeploymentResourcesApiGetDeploymentResourceRequest, options?: RawAxiosRequestConfig) {
5934
6087
  return DeploymentResourcesApiFp(this.configuration).getDeploymentResource(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5935
6088
  }
5936
6089
 
@@ -5941,7 +6094,7 @@ export class DeploymentResourcesApi extends BaseAPI {
5941
6094
  * @throws {RequiredError}
5942
6095
  * @memberof DeploymentResourcesApi
5943
6096
  */
5944
- public updateDeploymentResource(requestParameters: DeploymentResourcesApiUpdateDeploymentResourceRequest, options?: AxiosRequestConfig) {
6097
+ public updateDeploymentResource(requestParameters: DeploymentResourcesApiUpdateDeploymentResourceRequest, options?: RawAxiosRequestConfig) {
5945
6098
  return DeploymentResourcesApiFp(this.configuration).updateDeploymentResource(requestParameters.id, requestParameters.updateDeploymentResource, options).then((request) => request(this.axios, this.basePath));
5946
6099
  }
5947
6100
  }
@@ -5963,7 +6116,7 @@ export const DeploymentTasksApiAxiosParamCreator = function (configuration?: Con
5963
6116
  * @param {*} [options] Override http request option.
5964
6117
  * @throws {RequiredError}
5965
6118
  */
5966
- allDeploymentTasks: async (clusterId?: string | null, deploymentId?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6119
+ allDeploymentTasks: async (clusterId?: string | null, deploymentId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5967
6120
  const localVarPath = `/api/v2/deployment-tasks`;
5968
6121
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5969
6122
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6016,7 +6169,7 @@ export const DeploymentTasksApiAxiosParamCreator = function (configuration?: Con
6016
6169
  * @param {*} [options] Override http request option.
6017
6170
  * @throws {RequiredError}
6018
6171
  */
6019
- createDeploymentTask: async (createDeploymentTask: CreateDeploymentTask, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6172
+ createDeploymentTask: async (createDeploymentTask: CreateDeploymentTask, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6020
6173
  // verify required parameter 'createDeploymentTask' is not null or undefined
6021
6174
  assertParamExists('createDeploymentTask', 'createDeploymentTask', createDeploymentTask)
6022
6175
  const localVarPath = `/api/v2/deployment-tasks`;
@@ -6058,7 +6211,7 @@ export const DeploymentTasksApiAxiosParamCreator = function (configuration?: Con
6058
6211
  * @param {*} [options] Override http request option.
6059
6212
  * @throws {RequiredError}
6060
6213
  */
6061
- getDeploymentTask: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6214
+ getDeploymentTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6062
6215
  // verify required parameter 'id' is not null or undefined
6063
6216
  assertParamExists('getDeploymentTask', 'id', id)
6064
6217
  const localVarPath = `/api/v2/deployment-tasks/{id}`
@@ -6111,9 +6264,11 @@ export const DeploymentTasksApiFp = function(configuration?: Configuration) {
6111
6264
  * @param {*} [options] Override http request option.
6112
6265
  * @throws {RequiredError}
6113
6266
  */
6114
- async allDeploymentTasks(clusterId?: string | null, deploymentId?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentTasks200Response>> {
6267
+ async allDeploymentTasks(clusterId?: string | null, deploymentId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentTasks200Response>> {
6115
6268
  const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentTasks(clusterId, deploymentId, page, perPage, options);
6116
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6269
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6270
+ const localVarOperationServerBasePath = operationServerMap['DeploymentTasksApi.allDeploymentTasks']?.[localVarOperationServerIndex]?.url;
6271
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6117
6272
  },
6118
6273
  /**
6119
6274
  *
@@ -6121,9 +6276,11 @@ export const DeploymentTasksApiFp = function(configuration?: Configuration) {
6121
6276
  * @param {*} [options] Override http request option.
6122
6277
  * @throws {RequiredError}
6123
6278
  */
6124
- async createDeploymentTask(createDeploymentTask: CreateDeploymentTask, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentTask>> {
6279
+ async createDeploymentTask(createDeploymentTask: CreateDeploymentTask, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentTask>> {
6125
6280
  const localVarAxiosArgs = await localVarAxiosParamCreator.createDeploymentTask(createDeploymentTask, options);
6126
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6281
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6282
+ const localVarOperationServerBasePath = operationServerMap['DeploymentTasksApi.createDeploymentTask']?.[localVarOperationServerIndex]?.url;
6283
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6127
6284
  },
6128
6285
  /**
6129
6286
  *
@@ -6131,9 +6288,11 @@ export const DeploymentTasksApiFp = function(configuration?: Configuration) {
6131
6288
  * @param {*} [options] Override http request option.
6132
6289
  * @throws {RequiredError}
6133
6290
  */
6134
- async getDeploymentTask(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentTask>> {
6291
+ async getDeploymentTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentTask>> {
6135
6292
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentTask(id, options);
6136
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6293
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6294
+ const localVarOperationServerBasePath = operationServerMap['DeploymentTasksApi.getDeploymentTask']?.[localVarOperationServerIndex]?.url;
6295
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6137
6296
  },
6138
6297
  }
6139
6298
  };
@@ -6151,7 +6310,7 @@ export const DeploymentTasksApiFactory = function (configuration?: Configuration
6151
6310
  * @param {*} [options] Override http request option.
6152
6311
  * @throws {RequiredError}
6153
6312
  */
6154
- allDeploymentTasks(requestParameters: DeploymentTasksApiAllDeploymentTasksRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllDeploymentTasks200Response> {
6313
+ allDeploymentTasks(requestParameters: DeploymentTasksApiAllDeploymentTasksRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllDeploymentTasks200Response> {
6155
6314
  return localVarFp.allDeploymentTasks(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
6156
6315
  },
6157
6316
  /**
@@ -6160,7 +6319,7 @@ export const DeploymentTasksApiFactory = function (configuration?: Configuration
6160
6319
  * @param {*} [options] Override http request option.
6161
6320
  * @throws {RequiredError}
6162
6321
  */
6163
- createDeploymentTask(requestParameters: DeploymentTasksApiCreateDeploymentTaskRequest, options?: AxiosRequestConfig): AxiosPromise<DeploymentTask> {
6322
+ createDeploymentTask(requestParameters: DeploymentTasksApiCreateDeploymentTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentTask> {
6164
6323
  return localVarFp.createDeploymentTask(requestParameters.createDeploymentTask, options).then((request) => request(axios, basePath));
6165
6324
  },
6166
6325
  /**
@@ -6169,7 +6328,7 @@ export const DeploymentTasksApiFactory = function (configuration?: Configuration
6169
6328
  * @param {*} [options] Override http request option.
6170
6329
  * @throws {RequiredError}
6171
6330
  */
6172
- getDeploymentTask(requestParameters: DeploymentTasksApiGetDeploymentTaskRequest, options?: AxiosRequestConfig): AxiosPromise<DeploymentTask> {
6331
+ getDeploymentTask(requestParameters: DeploymentTasksApiGetDeploymentTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentTask> {
6173
6332
  return localVarFp.getDeploymentTask(requestParameters.id, options).then((request) => request(axios, basePath));
6174
6333
  },
6175
6334
  };
@@ -6252,7 +6411,7 @@ export class DeploymentTasksApi extends BaseAPI {
6252
6411
  * @throws {RequiredError}
6253
6412
  * @memberof DeploymentTasksApi
6254
6413
  */
6255
- public allDeploymentTasks(requestParameters: DeploymentTasksApiAllDeploymentTasksRequest = {}, options?: AxiosRequestConfig) {
6414
+ public allDeploymentTasks(requestParameters: DeploymentTasksApiAllDeploymentTasksRequest = {}, options?: RawAxiosRequestConfig) {
6256
6415
  return DeploymentTasksApiFp(this.configuration).allDeploymentTasks(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
6257
6416
  }
6258
6417
 
@@ -6263,7 +6422,7 @@ export class DeploymentTasksApi extends BaseAPI {
6263
6422
  * @throws {RequiredError}
6264
6423
  * @memberof DeploymentTasksApi
6265
6424
  */
6266
- public createDeploymentTask(requestParameters: DeploymentTasksApiCreateDeploymentTaskRequest, options?: AxiosRequestConfig) {
6425
+ public createDeploymentTask(requestParameters: DeploymentTasksApiCreateDeploymentTaskRequest, options?: RawAxiosRequestConfig) {
6267
6426
  return DeploymentTasksApiFp(this.configuration).createDeploymentTask(requestParameters.createDeploymentTask, options).then((request) => request(this.axios, this.basePath));
6268
6427
  }
6269
6428
 
@@ -6274,7 +6433,7 @@ export class DeploymentTasksApi extends BaseAPI {
6274
6433
  * @throws {RequiredError}
6275
6434
  * @memberof DeploymentTasksApi
6276
6435
  */
6277
- public getDeploymentTask(requestParameters: DeploymentTasksApiGetDeploymentTaskRequest, options?: AxiosRequestConfig) {
6436
+ public getDeploymentTask(requestParameters: DeploymentTasksApiGetDeploymentTaskRequest, options?: RawAxiosRequestConfig) {
6278
6437
  return DeploymentTasksApiFp(this.configuration).getDeploymentTask(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6279
6438
  }
6280
6439
  }
@@ -6291,6 +6450,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
6291
6450
  *
6292
6451
  * @param {string | null} [name]
6293
6452
  * @param {string | null} [kind]
6453
+ * @param {string | null} [kindId]
6294
6454
  * @param {string | null} [clusterId]
6295
6455
  * @param {boolean | null} [enabled]
6296
6456
  * @param {number | null} [page]
@@ -6298,7 +6458,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
6298
6458
  * @param {*} [options] Override http request option.
6299
6459
  * @throws {RequiredError}
6300
6460
  */
6301
- allDeployments: async (name?: string | null, kind?: string | null, clusterId?: string | null, enabled?: boolean | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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> => {
6302
6462
  const localVarPath = `/api/v2/deployments`;
6303
6463
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6304
6464
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6326,6 +6486,10 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
6326
6486
  localVarQueryParameter['kind'] = kind;
6327
6487
  }
6328
6488
 
6489
+ if (kindId !== undefined) {
6490
+ localVarQueryParameter['kind_id'] = kindId;
6491
+ }
6492
+
6329
6493
  if (clusterId !== undefined) {
6330
6494
  localVarQueryParameter['cluster_id'] = clusterId;
6331
6495
  }
@@ -6359,7 +6523,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
6359
6523
  * @param {*} [options] Override http request option.
6360
6524
  * @throws {RequiredError}
6361
6525
  */
6362
- createDeployment: async (newDeployment: NewDeployment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6526
+ createDeployment: async (newDeployment: NewDeployment, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6363
6527
  // verify required parameter 'newDeployment' is not null or undefined
6364
6528
  assertParamExists('createDeployment', 'newDeployment', newDeployment)
6365
6529
  const localVarPath = `/api/v2/deployments`;
@@ -6401,7 +6565,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
6401
6565
  * @param {*} [options] Override http request option.
6402
6566
  * @throws {RequiredError}
6403
6567
  */
6404
- deleteDeployment: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6568
+ deleteDeployment: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6405
6569
  // verify required parameter 'id' is not null or undefined
6406
6570
  assertParamExists('deleteDeployment', 'id', id)
6407
6571
  const localVarPath = `/api/v2/deployments/{id}`
@@ -6441,7 +6605,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
6441
6605
  * @param {*} [options] Override http request option.
6442
6606
  * @throws {RequiredError}
6443
6607
  */
6444
- getDeployment: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6608
+ getDeployment: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6445
6609
  // verify required parameter 'id' is not null or undefined
6446
6610
  assertParamExists('getDeployment', 'id', id)
6447
6611
  const localVarPath = `/api/v2/deployments/{id}`
@@ -6482,7 +6646,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
6482
6646
  * @param {*} [options] Override http request option.
6483
6647
  * @throws {RequiredError}
6484
6648
  */
6485
- updateDeployment: async (id: string, updateDeployment: UpdateDeployment, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6649
+ updateDeployment: async (id: string, updateDeployment: UpdateDeployment, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6486
6650
  // verify required parameter 'id' is not null or undefined
6487
6651
  assertParamExists('updateDeployment', 'id', id)
6488
6652
  // verify required parameter 'updateDeployment' is not null or undefined
@@ -6535,6 +6699,7 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
6535
6699
  *
6536
6700
  * @param {string | null} [name]
6537
6701
  * @param {string | null} [kind]
6702
+ * @param {string | null} [kindId]
6538
6703
  * @param {string | null} [clusterId]
6539
6704
  * @param {boolean | null} [enabled]
6540
6705
  * @param {number | null} [page]
@@ -6542,9 +6707,11 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
6542
6707
  * @param {*} [options] Override http request option.
6543
6708
  * @throws {RequiredError}
6544
6709
  */
6545
- async allDeployments(name?: string | null, kind?: string | null, clusterId?: string | null, enabled?: boolean | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeployments200Response>> {
6546
- const localVarAxiosArgs = await localVarAxiosParamCreator.allDeployments(name, kind, clusterId, enabled, page, perPage, options);
6547
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
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);
6712
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6713
+ const localVarOperationServerBasePath = operationServerMap['DeploymentsApi.allDeployments']?.[localVarOperationServerIndex]?.url;
6714
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6548
6715
  },
6549
6716
  /**
6550
6717
  *
@@ -6552,9 +6719,11 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
6552
6719
  * @param {*} [options] Override http request option.
6553
6720
  * @throws {RequiredError}
6554
6721
  */
6555
- async createDeployment(newDeployment: NewDeployment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Deployment>> {
6722
+ async createDeployment(newDeployment: NewDeployment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Deployment>> {
6556
6723
  const localVarAxiosArgs = await localVarAxiosParamCreator.createDeployment(newDeployment, options);
6557
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6724
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6725
+ const localVarOperationServerBasePath = operationServerMap['DeploymentsApi.createDeployment']?.[localVarOperationServerIndex]?.url;
6726
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6558
6727
  },
6559
6728
  /**
6560
6729
  *
@@ -6562,9 +6731,11 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
6562
6731
  * @param {*} [options] Override http request option.
6563
6732
  * @throws {RequiredError}
6564
6733
  */
6565
- async deleteDeployment(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
6734
+ async deleteDeployment(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
6566
6735
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeployment(id, options);
6567
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6736
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6737
+ const localVarOperationServerBasePath = operationServerMap['DeploymentsApi.deleteDeployment']?.[localVarOperationServerIndex]?.url;
6738
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6568
6739
  },
6569
6740
  /**
6570
6741
  *
@@ -6572,9 +6743,11 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
6572
6743
  * @param {*} [options] Override http request option.
6573
6744
  * @throws {RequiredError}
6574
6745
  */
6575
- async getDeployment(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Deployment>> {
6746
+ async getDeployment(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Deployment>> {
6576
6747
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDeployment(id, options);
6577
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6748
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6749
+ const localVarOperationServerBasePath = operationServerMap['DeploymentsApi.getDeployment']?.[localVarOperationServerIndex]?.url;
6750
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6578
6751
  },
6579
6752
  /**
6580
6753
  *
@@ -6583,9 +6756,11 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
6583
6756
  * @param {*} [options] Override http request option.
6584
6757
  * @throws {RequiredError}
6585
6758
  */
6586
- async updateDeployment(id: string, updateDeployment: UpdateDeployment, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Deployment>> {
6759
+ async updateDeployment(id: string, updateDeployment: UpdateDeployment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Deployment>> {
6587
6760
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateDeployment(id, updateDeployment, options);
6588
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6761
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6762
+ const localVarOperationServerBasePath = operationServerMap['DeploymentsApi.updateDeployment']?.[localVarOperationServerIndex]?.url;
6763
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6589
6764
  },
6590
6765
  }
6591
6766
  };
@@ -6603,8 +6778,8 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
6603
6778
  * @param {*} [options] Override http request option.
6604
6779
  * @throws {RequiredError}
6605
6780
  */
6606
- allDeployments(requestParameters: DeploymentsApiAllDeploymentsRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllDeployments200Response> {
6607
- return localVarFp.allDeployments(requestParameters.name, requestParameters.kind, requestParameters.clusterId, requestParameters.enabled, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
6781
+ 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));
6608
6783
  },
6609
6784
  /**
6610
6785
  *
@@ -6612,7 +6787,7 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
6612
6787
  * @param {*} [options] Override http request option.
6613
6788
  * @throws {RequiredError}
6614
6789
  */
6615
- createDeployment(requestParameters: DeploymentsApiCreateDeploymentRequest, options?: AxiosRequestConfig): AxiosPromise<Deployment> {
6790
+ createDeployment(requestParameters: DeploymentsApiCreateDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Deployment> {
6616
6791
  return localVarFp.createDeployment(requestParameters.newDeployment, options).then((request) => request(axios, basePath));
6617
6792
  },
6618
6793
  /**
@@ -6621,7 +6796,7 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
6621
6796
  * @param {*} [options] Override http request option.
6622
6797
  * @throws {RequiredError}
6623
6798
  */
6624
- deleteDeployment(requestParameters: DeploymentsApiDeleteDeploymentRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
6799
+ deleteDeployment(requestParameters: DeploymentsApiDeleteDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
6625
6800
  return localVarFp.deleteDeployment(requestParameters.id, options).then((request) => request(axios, basePath));
6626
6801
  },
6627
6802
  /**
@@ -6630,7 +6805,7 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
6630
6805
  * @param {*} [options] Override http request option.
6631
6806
  * @throws {RequiredError}
6632
6807
  */
6633
- getDeployment(requestParameters: DeploymentsApiGetDeploymentRequest, options?: AxiosRequestConfig): AxiosPromise<Deployment> {
6808
+ getDeployment(requestParameters: DeploymentsApiGetDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Deployment> {
6634
6809
  return localVarFp.getDeployment(requestParameters.id, options).then((request) => request(axios, basePath));
6635
6810
  },
6636
6811
  /**
@@ -6639,7 +6814,7 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
6639
6814
  * @param {*} [options] Override http request option.
6640
6815
  * @throws {RequiredError}
6641
6816
  */
6642
- updateDeployment(requestParameters: DeploymentsApiUpdateDeploymentRequest, options?: AxiosRequestConfig): AxiosPromise<Deployment> {
6817
+ updateDeployment(requestParameters: DeploymentsApiUpdateDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Deployment> {
6643
6818
  return localVarFp.updateDeployment(requestParameters.id, requestParameters.updateDeployment, options).then((request) => request(axios, basePath));
6644
6819
  },
6645
6820
  };
@@ -6665,6 +6840,13 @@ export interface DeploymentsApiAllDeploymentsRequest {
6665
6840
  */
6666
6841
  readonly kind?: string | null
6667
6842
 
6843
+ /**
6844
+ *
6845
+ * @type {string}
6846
+ * @memberof DeploymentsApiAllDeployments
6847
+ */
6848
+ readonly kindId?: string | null
6849
+
6668
6850
  /**
6669
6851
  *
6670
6852
  * @type {string}
@@ -6771,8 +6953,8 @@ export class DeploymentsApi extends BaseAPI {
6771
6953
  * @throws {RequiredError}
6772
6954
  * @memberof DeploymentsApi
6773
6955
  */
6774
- public allDeployments(requestParameters: DeploymentsApiAllDeploymentsRequest = {}, options?: AxiosRequestConfig) {
6775
- return DeploymentsApiFp(this.configuration).allDeployments(requestParameters.name, requestParameters.kind, requestParameters.clusterId, requestParameters.enabled, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
6956
+ 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));
6776
6958
  }
6777
6959
 
6778
6960
  /**
@@ -6782,7 +6964,7 @@ export class DeploymentsApi extends BaseAPI {
6782
6964
  * @throws {RequiredError}
6783
6965
  * @memberof DeploymentsApi
6784
6966
  */
6785
- public createDeployment(requestParameters: DeploymentsApiCreateDeploymentRequest, options?: AxiosRequestConfig) {
6967
+ public createDeployment(requestParameters: DeploymentsApiCreateDeploymentRequest, options?: RawAxiosRequestConfig) {
6786
6968
  return DeploymentsApiFp(this.configuration).createDeployment(requestParameters.newDeployment, options).then((request) => request(this.axios, this.basePath));
6787
6969
  }
6788
6970
 
@@ -6793,7 +6975,7 @@ export class DeploymentsApi extends BaseAPI {
6793
6975
  * @throws {RequiredError}
6794
6976
  * @memberof DeploymentsApi
6795
6977
  */
6796
- public deleteDeployment(requestParameters: DeploymentsApiDeleteDeploymentRequest, options?: AxiosRequestConfig) {
6978
+ public deleteDeployment(requestParameters: DeploymentsApiDeleteDeploymentRequest, options?: RawAxiosRequestConfig) {
6797
6979
  return DeploymentsApiFp(this.configuration).deleteDeployment(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6798
6980
  }
6799
6981
 
@@ -6804,7 +6986,7 @@ export class DeploymentsApi extends BaseAPI {
6804
6986
  * @throws {RequiredError}
6805
6987
  * @memberof DeploymentsApi
6806
6988
  */
6807
- public getDeployment(requestParameters: DeploymentsApiGetDeploymentRequest, options?: AxiosRequestConfig) {
6989
+ public getDeployment(requestParameters: DeploymentsApiGetDeploymentRequest, options?: RawAxiosRequestConfig) {
6808
6990
  return DeploymentsApiFp(this.configuration).getDeployment(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6809
6991
  }
6810
6992
 
@@ -6815,7 +6997,7 @@ export class DeploymentsApi extends BaseAPI {
6815
6997
  * @throws {RequiredError}
6816
6998
  * @memberof DeploymentsApi
6817
6999
  */
6818
- public updateDeployment(requestParameters: DeploymentsApiUpdateDeploymentRequest, options?: AxiosRequestConfig) {
7000
+ public updateDeployment(requestParameters: DeploymentsApiUpdateDeploymentRequest, options?: RawAxiosRequestConfig) {
6819
7001
  return DeploymentsApiFp(this.configuration).updateDeployment(requestParameters.id, requestParameters.updateDeployment, options).then((request) => request(this.axios, this.basePath));
6820
7002
  }
6821
7003
  }
@@ -6836,7 +7018,7 @@ export const EnvUserPermissionsApiAxiosParamCreator = function (configuration?:
6836
7018
  * @param {*} [options] Override http request option.
6837
7019
  * @throws {RequiredError}
6838
7020
  */
6839
- allEnvUserPermissions: async (envId?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7021
+ allEnvUserPermissions: async (envId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6840
7022
  const localVarPath = `/api/v2/env-user-permissions`;
6841
7023
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6842
7024
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6885,7 +7067,7 @@ export const EnvUserPermissionsApiAxiosParamCreator = function (configuration?:
6885
7067
  * @param {*} [options] Override http request option.
6886
7068
  * @throws {RequiredError}
6887
7069
  */
6888
- createEnvUserPermission: async (newEnvUserPermission: NewEnvUserPermission, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7070
+ createEnvUserPermission: async (newEnvUserPermission: NewEnvUserPermission, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6889
7071
  // verify required parameter 'newEnvUserPermission' is not null or undefined
6890
7072
  assertParamExists('createEnvUserPermission', 'newEnvUserPermission', newEnvUserPermission)
6891
7073
  const localVarPath = `/api/v2/env-user-permissions`;
@@ -6927,7 +7109,7 @@ export const EnvUserPermissionsApiAxiosParamCreator = function (configuration?:
6927
7109
  * @param {*} [options] Override http request option.
6928
7110
  * @throws {RequiredError}
6929
7111
  */
6930
- deleteEnvUserPermission: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7112
+ deleteEnvUserPermission: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6931
7113
  // verify required parameter 'id' is not null or undefined
6932
7114
  assertParamExists('deleteEnvUserPermission', 'id', id)
6933
7115
  const localVarPath = `/api/v2/env-user-permissions/{id}`
@@ -6967,7 +7149,7 @@ export const EnvUserPermissionsApiAxiosParamCreator = function (configuration?:
6967
7149
  * @param {*} [options] Override http request option.
6968
7150
  * @throws {RequiredError}
6969
7151
  */
6970
- getEnvUserPermission: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7152
+ getEnvUserPermission: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6971
7153
  // verify required parameter 'id' is not null or undefined
6972
7154
  assertParamExists('getEnvUserPermission', 'id', id)
6973
7155
  const localVarPath = `/api/v2/env-user-permissions/{id}`
@@ -7019,9 +7201,11 @@ export const EnvUserPermissionsApiFp = function(configuration?: Configuration) {
7019
7201
  * @param {*} [options] Override http request option.
7020
7202
  * @throws {RequiredError}
7021
7203
  */
7022
- async allEnvUserPermissions(envId?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllEnvUserPermissions200Response>> {
7204
+ async allEnvUserPermissions(envId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllEnvUserPermissions200Response>> {
7023
7205
  const localVarAxiosArgs = await localVarAxiosParamCreator.allEnvUserPermissions(envId, page, perPage, options);
7024
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7206
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7207
+ const localVarOperationServerBasePath = operationServerMap['EnvUserPermissionsApi.allEnvUserPermissions']?.[localVarOperationServerIndex]?.url;
7208
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7025
7209
  },
7026
7210
  /**
7027
7211
  *
@@ -7029,9 +7213,11 @@ export const EnvUserPermissionsApiFp = function(configuration?: Configuration) {
7029
7213
  * @param {*} [options] Override http request option.
7030
7214
  * @throws {RequiredError}
7031
7215
  */
7032
- async createEnvUserPermission(newEnvUserPermission: NewEnvUserPermission, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvUserPermission>> {
7216
+ async createEnvUserPermission(newEnvUserPermission: NewEnvUserPermission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvUserPermission>> {
7033
7217
  const localVarAxiosArgs = await localVarAxiosParamCreator.createEnvUserPermission(newEnvUserPermission, options);
7034
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7218
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7219
+ const localVarOperationServerBasePath = operationServerMap['EnvUserPermissionsApi.createEnvUserPermission']?.[localVarOperationServerIndex]?.url;
7220
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7035
7221
  },
7036
7222
  /**
7037
7223
  *
@@ -7039,9 +7225,11 @@ export const EnvUserPermissionsApiFp = function(configuration?: Configuration) {
7039
7225
  * @param {*} [options] Override http request option.
7040
7226
  * @throws {RequiredError}
7041
7227
  */
7042
- async deleteEnvUserPermission(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
7228
+ async deleteEnvUserPermission(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
7043
7229
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEnvUserPermission(id, options);
7044
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7230
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7231
+ const localVarOperationServerBasePath = operationServerMap['EnvUserPermissionsApi.deleteEnvUserPermission']?.[localVarOperationServerIndex]?.url;
7232
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7045
7233
  },
7046
7234
  /**
7047
7235
  *
@@ -7049,9 +7237,11 @@ export const EnvUserPermissionsApiFp = function(configuration?: Configuration) {
7049
7237
  * @param {*} [options] Override http request option.
7050
7238
  * @throws {RequiredError}
7051
7239
  */
7052
- async getEnvUserPermission(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvUserPermission>> {
7240
+ async getEnvUserPermission(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvUserPermission>> {
7053
7241
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvUserPermission(id, options);
7054
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7242
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7243
+ const localVarOperationServerBasePath = operationServerMap['EnvUserPermissionsApi.getEnvUserPermission']?.[localVarOperationServerIndex]?.url;
7244
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7055
7245
  },
7056
7246
  }
7057
7247
  };
@@ -7069,7 +7259,7 @@ export const EnvUserPermissionsApiFactory = function (configuration?: Configurat
7069
7259
  * @param {*} [options] Override http request option.
7070
7260
  * @throws {RequiredError}
7071
7261
  */
7072
- allEnvUserPermissions(requestParameters: EnvUserPermissionsApiAllEnvUserPermissionsRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllEnvUserPermissions200Response> {
7262
+ allEnvUserPermissions(requestParameters: EnvUserPermissionsApiAllEnvUserPermissionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllEnvUserPermissions200Response> {
7073
7263
  return localVarFp.allEnvUserPermissions(requestParameters.envId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
7074
7264
  },
7075
7265
  /**
@@ -7078,7 +7268,7 @@ export const EnvUserPermissionsApiFactory = function (configuration?: Configurat
7078
7268
  * @param {*} [options] Override http request option.
7079
7269
  * @throws {RequiredError}
7080
7270
  */
7081
- createEnvUserPermission(requestParameters: EnvUserPermissionsApiCreateEnvUserPermissionRequest, options?: AxiosRequestConfig): AxiosPromise<EnvUserPermission> {
7271
+ createEnvUserPermission(requestParameters: EnvUserPermissionsApiCreateEnvUserPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvUserPermission> {
7082
7272
  return localVarFp.createEnvUserPermission(requestParameters.newEnvUserPermission, options).then((request) => request(axios, basePath));
7083
7273
  },
7084
7274
  /**
@@ -7087,7 +7277,7 @@ export const EnvUserPermissionsApiFactory = function (configuration?: Configurat
7087
7277
  * @param {*} [options] Override http request option.
7088
7278
  * @throws {RequiredError}
7089
7279
  */
7090
- deleteEnvUserPermission(requestParameters: EnvUserPermissionsApiDeleteEnvUserPermissionRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
7280
+ deleteEnvUserPermission(requestParameters: EnvUserPermissionsApiDeleteEnvUserPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
7091
7281
  return localVarFp.deleteEnvUserPermission(requestParameters.id, options).then((request) => request(axios, basePath));
7092
7282
  },
7093
7283
  /**
@@ -7096,7 +7286,7 @@ export const EnvUserPermissionsApiFactory = function (configuration?: Configurat
7096
7286
  * @param {*} [options] Override http request option.
7097
7287
  * @throws {RequiredError}
7098
7288
  */
7099
- getEnvUserPermission(requestParameters: EnvUserPermissionsApiGetEnvUserPermissionRequest, options?: AxiosRequestConfig): AxiosPromise<EnvUserPermission> {
7289
+ getEnvUserPermission(requestParameters: EnvUserPermissionsApiGetEnvUserPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvUserPermission> {
7100
7290
  return localVarFp.getEnvUserPermission(requestParameters.id, options).then((request) => request(axios, basePath));
7101
7291
  },
7102
7292
  };
@@ -7186,7 +7376,7 @@ export class EnvUserPermissionsApi extends BaseAPI {
7186
7376
  * @throws {RequiredError}
7187
7377
  * @memberof EnvUserPermissionsApi
7188
7378
  */
7189
- public allEnvUserPermissions(requestParameters: EnvUserPermissionsApiAllEnvUserPermissionsRequest = {}, options?: AxiosRequestConfig) {
7379
+ public allEnvUserPermissions(requestParameters: EnvUserPermissionsApiAllEnvUserPermissionsRequest = {}, options?: RawAxiosRequestConfig) {
7190
7380
  return EnvUserPermissionsApiFp(this.configuration).allEnvUserPermissions(requestParameters.envId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
7191
7381
  }
7192
7382
 
@@ -7197,7 +7387,7 @@ export class EnvUserPermissionsApi extends BaseAPI {
7197
7387
  * @throws {RequiredError}
7198
7388
  * @memberof EnvUserPermissionsApi
7199
7389
  */
7200
- public createEnvUserPermission(requestParameters: EnvUserPermissionsApiCreateEnvUserPermissionRequest, options?: AxiosRequestConfig) {
7390
+ public createEnvUserPermission(requestParameters: EnvUserPermissionsApiCreateEnvUserPermissionRequest, options?: RawAxiosRequestConfig) {
7201
7391
  return EnvUserPermissionsApiFp(this.configuration).createEnvUserPermission(requestParameters.newEnvUserPermission, options).then((request) => request(this.axios, this.basePath));
7202
7392
  }
7203
7393
 
@@ -7208,7 +7398,7 @@ export class EnvUserPermissionsApi extends BaseAPI {
7208
7398
  * @throws {RequiredError}
7209
7399
  * @memberof EnvUserPermissionsApi
7210
7400
  */
7211
- public deleteEnvUserPermission(requestParameters: EnvUserPermissionsApiDeleteEnvUserPermissionRequest, options?: AxiosRequestConfig) {
7401
+ public deleteEnvUserPermission(requestParameters: EnvUserPermissionsApiDeleteEnvUserPermissionRequest, options?: RawAxiosRequestConfig) {
7212
7402
  return EnvUserPermissionsApiFp(this.configuration).deleteEnvUserPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
7213
7403
  }
7214
7404
 
@@ -7219,7 +7409,7 @@ export class EnvUserPermissionsApi extends BaseAPI {
7219
7409
  * @throws {RequiredError}
7220
7410
  * @memberof EnvUserPermissionsApi
7221
7411
  */
7222
- public getEnvUserPermission(requestParameters: EnvUserPermissionsApiGetEnvUserPermissionRequest, options?: AxiosRequestConfig) {
7412
+ public getEnvUserPermission(requestParameters: EnvUserPermissionsApiGetEnvUserPermissionRequest, options?: RawAxiosRequestConfig) {
7223
7413
  return EnvUserPermissionsApiFp(this.configuration).getEnvUserPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
7224
7414
  }
7225
7415
  }
@@ -7241,7 +7431,7 @@ export const EnvsApiAxiosParamCreator = function (configuration?: Configuration)
7241
7431
  * @param {*} [options] Override http request option.
7242
7432
  * @throws {RequiredError}
7243
7433
  */
7244
- allEnvs: async (name?: string | null, autoAddNewUsers?: boolean | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7434
+ allEnvs: async (name?: string | null, autoAddNewUsers?: boolean | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7245
7435
  const localVarPath = `/api/v2/envs`;
7246
7436
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7247
7437
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7294,7 +7484,7 @@ export const EnvsApiAxiosParamCreator = function (configuration?: Configuration)
7294
7484
  * @param {*} [options] Override http request option.
7295
7485
  * @throws {RequiredError}
7296
7486
  */
7297
- createEnv: async (newEnv: NewEnv, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7487
+ createEnv: async (newEnv: NewEnv, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7298
7488
  // verify required parameter 'newEnv' is not null or undefined
7299
7489
  assertParamExists('createEnv', 'newEnv', newEnv)
7300
7490
  const localVarPath = `/api/v2/envs`;
@@ -7336,7 +7526,7 @@ export const EnvsApiAxiosParamCreator = function (configuration?: Configuration)
7336
7526
  * @param {*} [options] Override http request option.
7337
7527
  * @throws {RequiredError}
7338
7528
  */
7339
- deleteEnv: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7529
+ deleteEnv: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7340
7530
  // verify required parameter 'id' is not null or undefined
7341
7531
  assertParamExists('deleteEnv', 'id', id)
7342
7532
  const localVarPath = `/api/v2/envs/{id}`
@@ -7376,7 +7566,7 @@ export const EnvsApiAxiosParamCreator = function (configuration?: Configuration)
7376
7566
  * @param {*} [options] Override http request option.
7377
7567
  * @throws {RequiredError}
7378
7568
  */
7379
- getEnv: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7569
+ getEnv: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7380
7570
  // verify required parameter 'id' is not null or undefined
7381
7571
  assertParamExists('getEnv', 'id', id)
7382
7572
  const localVarPath = `/api/v2/envs/{id}`
@@ -7417,7 +7607,7 @@ export const EnvsApiAxiosParamCreator = function (configuration?: Configuration)
7417
7607
  * @param {*} [options] Override http request option.
7418
7608
  * @throws {RequiredError}
7419
7609
  */
7420
- updateEnv: async (id: string, updateEnv: UpdateEnv, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7610
+ updateEnv: async (id: string, updateEnv: UpdateEnv, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7421
7611
  // verify required parameter 'id' is not null or undefined
7422
7612
  assertParamExists('updateEnv', 'id', id)
7423
7613
  // verify required parameter 'updateEnv' is not null or undefined
@@ -7475,9 +7665,11 @@ export const EnvsApiFp = function(configuration?: Configuration) {
7475
7665
  * @param {*} [options] Override http request option.
7476
7666
  * @throws {RequiredError}
7477
7667
  */
7478
- async allEnvs(name?: string | null, autoAddNewUsers?: boolean | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllEnvs200Response>> {
7668
+ async allEnvs(name?: string | null, autoAddNewUsers?: boolean | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllEnvs200Response>> {
7479
7669
  const localVarAxiosArgs = await localVarAxiosParamCreator.allEnvs(name, autoAddNewUsers, page, perPage, options);
7480
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7670
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7671
+ const localVarOperationServerBasePath = operationServerMap['EnvsApi.allEnvs']?.[localVarOperationServerIndex]?.url;
7672
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7481
7673
  },
7482
7674
  /**
7483
7675
  *
@@ -7485,9 +7677,11 @@ export const EnvsApiFp = function(configuration?: Configuration) {
7485
7677
  * @param {*} [options] Override http request option.
7486
7678
  * @throws {RequiredError}
7487
7679
  */
7488
- async createEnv(newEnv: NewEnv, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Env>> {
7680
+ async createEnv(newEnv: NewEnv, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Env>> {
7489
7681
  const localVarAxiosArgs = await localVarAxiosParamCreator.createEnv(newEnv, options);
7490
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7682
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7683
+ const localVarOperationServerBasePath = operationServerMap['EnvsApi.createEnv']?.[localVarOperationServerIndex]?.url;
7684
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7491
7685
  },
7492
7686
  /**
7493
7687
  *
@@ -7495,9 +7689,11 @@ export const EnvsApiFp = function(configuration?: Configuration) {
7495
7689
  * @param {*} [options] Override http request option.
7496
7690
  * @throws {RequiredError}
7497
7691
  */
7498
- async deleteEnv(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
7692
+ async deleteEnv(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
7499
7693
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEnv(id, options);
7500
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7694
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7695
+ const localVarOperationServerBasePath = operationServerMap['EnvsApi.deleteEnv']?.[localVarOperationServerIndex]?.url;
7696
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7501
7697
  },
7502
7698
  /**
7503
7699
  *
@@ -7505,9 +7701,11 @@ export const EnvsApiFp = function(configuration?: Configuration) {
7505
7701
  * @param {*} [options] Override http request option.
7506
7702
  * @throws {RequiredError}
7507
7703
  */
7508
- async getEnv(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Env>> {
7704
+ async getEnv(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Env>> {
7509
7705
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEnv(id, options);
7510
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7706
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7707
+ const localVarOperationServerBasePath = operationServerMap['EnvsApi.getEnv']?.[localVarOperationServerIndex]?.url;
7708
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7511
7709
  },
7512
7710
  /**
7513
7711
  *
@@ -7516,9 +7714,11 @@ export const EnvsApiFp = function(configuration?: Configuration) {
7516
7714
  * @param {*} [options] Override http request option.
7517
7715
  * @throws {RequiredError}
7518
7716
  */
7519
- async updateEnv(id: string, updateEnv: UpdateEnv, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Env>> {
7717
+ async updateEnv(id: string, updateEnv: UpdateEnv, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Env>> {
7520
7718
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateEnv(id, updateEnv, options);
7521
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7719
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7720
+ const localVarOperationServerBasePath = operationServerMap['EnvsApi.updateEnv']?.[localVarOperationServerIndex]?.url;
7721
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7522
7722
  },
7523
7723
  }
7524
7724
  };
@@ -7536,7 +7736,7 @@ export const EnvsApiFactory = function (configuration?: Configuration, basePath?
7536
7736
  * @param {*} [options] Override http request option.
7537
7737
  * @throws {RequiredError}
7538
7738
  */
7539
- allEnvs(requestParameters: EnvsApiAllEnvsRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllEnvs200Response> {
7739
+ allEnvs(requestParameters: EnvsApiAllEnvsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllEnvs200Response> {
7540
7740
  return localVarFp.allEnvs(requestParameters.name, requestParameters.autoAddNewUsers, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
7541
7741
  },
7542
7742
  /**
@@ -7545,7 +7745,7 @@ export const EnvsApiFactory = function (configuration?: Configuration, basePath?
7545
7745
  * @param {*} [options] Override http request option.
7546
7746
  * @throws {RequiredError}
7547
7747
  */
7548
- createEnv(requestParameters: EnvsApiCreateEnvRequest, options?: AxiosRequestConfig): AxiosPromise<Env> {
7748
+ createEnv(requestParameters: EnvsApiCreateEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<Env> {
7549
7749
  return localVarFp.createEnv(requestParameters.newEnv, options).then((request) => request(axios, basePath));
7550
7750
  },
7551
7751
  /**
@@ -7554,7 +7754,7 @@ export const EnvsApiFactory = function (configuration?: Configuration, basePath?
7554
7754
  * @param {*} [options] Override http request option.
7555
7755
  * @throws {RequiredError}
7556
7756
  */
7557
- deleteEnv(requestParameters: EnvsApiDeleteEnvRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
7757
+ deleteEnv(requestParameters: EnvsApiDeleteEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
7558
7758
  return localVarFp.deleteEnv(requestParameters.id, options).then((request) => request(axios, basePath));
7559
7759
  },
7560
7760
  /**
@@ -7563,7 +7763,7 @@ export const EnvsApiFactory = function (configuration?: Configuration, basePath?
7563
7763
  * @param {*} [options] Override http request option.
7564
7764
  * @throws {RequiredError}
7565
7765
  */
7566
- getEnv(requestParameters: EnvsApiGetEnvRequest, options?: AxiosRequestConfig): AxiosPromise<Env> {
7766
+ getEnv(requestParameters: EnvsApiGetEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<Env> {
7567
7767
  return localVarFp.getEnv(requestParameters.id, options).then((request) => request(axios, basePath));
7568
7768
  },
7569
7769
  /**
@@ -7572,7 +7772,7 @@ export const EnvsApiFactory = function (configuration?: Configuration, basePath?
7572
7772
  * @param {*} [options] Override http request option.
7573
7773
  * @throws {RequiredError}
7574
7774
  */
7575
- updateEnv(requestParameters: EnvsApiUpdateEnvRequest, options?: AxiosRequestConfig): AxiosPromise<Env> {
7775
+ updateEnv(requestParameters: EnvsApiUpdateEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<Env> {
7576
7776
  return localVarFp.updateEnv(requestParameters.id, requestParameters.updateEnv, options).then((request) => request(axios, basePath));
7577
7777
  },
7578
7778
  };
@@ -7690,7 +7890,7 @@ export class EnvsApi extends BaseAPI {
7690
7890
  * @throws {RequiredError}
7691
7891
  * @memberof EnvsApi
7692
7892
  */
7693
- public allEnvs(requestParameters: EnvsApiAllEnvsRequest = {}, options?: AxiosRequestConfig) {
7893
+ public allEnvs(requestParameters: EnvsApiAllEnvsRequest = {}, options?: RawAxiosRequestConfig) {
7694
7894
  return EnvsApiFp(this.configuration).allEnvs(requestParameters.name, requestParameters.autoAddNewUsers, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
7695
7895
  }
7696
7896
 
@@ -7701,7 +7901,7 @@ export class EnvsApi extends BaseAPI {
7701
7901
  * @throws {RequiredError}
7702
7902
  * @memberof EnvsApi
7703
7903
  */
7704
- public createEnv(requestParameters: EnvsApiCreateEnvRequest, options?: AxiosRequestConfig) {
7904
+ public createEnv(requestParameters: EnvsApiCreateEnvRequest, options?: RawAxiosRequestConfig) {
7705
7905
  return EnvsApiFp(this.configuration).createEnv(requestParameters.newEnv, options).then((request) => request(this.axios, this.basePath));
7706
7906
  }
7707
7907
 
@@ -7712,7 +7912,7 @@ export class EnvsApi extends BaseAPI {
7712
7912
  * @throws {RequiredError}
7713
7913
  * @memberof EnvsApi
7714
7914
  */
7715
- public deleteEnv(requestParameters: EnvsApiDeleteEnvRequest, options?: AxiosRequestConfig) {
7915
+ public deleteEnv(requestParameters: EnvsApiDeleteEnvRequest, options?: RawAxiosRequestConfig) {
7716
7916
  return EnvsApiFp(this.configuration).deleteEnv(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
7717
7917
  }
7718
7918
 
@@ -7723,7 +7923,7 @@ export class EnvsApi extends BaseAPI {
7723
7923
  * @throws {RequiredError}
7724
7924
  * @memberof EnvsApi
7725
7925
  */
7726
- public getEnv(requestParameters: EnvsApiGetEnvRequest, options?: AxiosRequestConfig) {
7926
+ public getEnv(requestParameters: EnvsApiGetEnvRequest, options?: RawAxiosRequestConfig) {
7727
7927
  return EnvsApiFp(this.configuration).getEnv(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
7728
7928
  }
7729
7929
 
@@ -7734,7 +7934,7 @@ export class EnvsApi extends BaseAPI {
7734
7934
  * @throws {RequiredError}
7735
7935
  * @memberof EnvsApi
7736
7936
  */
7737
- public updateEnv(requestParameters: EnvsApiUpdateEnvRequest, options?: AxiosRequestConfig) {
7937
+ public updateEnv(requestParameters: EnvsApiUpdateEnvRequest, options?: RawAxiosRequestConfig) {
7738
7938
  return EnvsApiFp(this.configuration).updateEnv(requestParameters.id, requestParameters.updateEnv, options).then((request) => request(this.axios, this.basePath));
7739
7939
  }
7740
7940
  }
@@ -7756,7 +7956,7 @@ export const HelmChartsApiAxiosParamCreator = function (configuration?: Configur
7756
7956
  * @param {*} [options] Override http request option.
7757
7957
  * @throws {RequiredError}
7758
7958
  */
7759
- allHelmCharts: async (helmRegistryId?: string | null, parsedBranch?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7959
+ allHelmCharts: async (helmRegistryId?: string | null, parsedBranch?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7760
7960
  const localVarPath = `/api/v2/helm-charts`;
7761
7961
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7762
7962
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7809,7 +8009,7 @@ export const HelmChartsApiAxiosParamCreator = function (configuration?: Configur
7809
8009
  * @param {*} [options] Override http request option.
7810
8010
  * @throws {RequiredError}
7811
8011
  */
7812
- getHelmChart: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8012
+ getHelmChart: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7813
8013
  // verify required parameter 'id' is not null or undefined
7814
8014
  assertParamExists('getHelmChart', 'id', id)
7815
8015
  const localVarPath = `/api/v2/helm-charts/{id}`
@@ -7862,9 +8062,11 @@ export const HelmChartsApiFp = function(configuration?: Configuration) {
7862
8062
  * @param {*} [options] Override http request option.
7863
8063
  * @throws {RequiredError}
7864
8064
  */
7865
- async allHelmCharts(helmRegistryId?: string | null, parsedBranch?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllHelmCharts200Response>> {
8065
+ async allHelmCharts(helmRegistryId?: string | null, parsedBranch?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllHelmCharts200Response>> {
7866
8066
  const localVarAxiosArgs = await localVarAxiosParamCreator.allHelmCharts(helmRegistryId, parsedBranch, page, perPage, options);
7867
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8067
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8068
+ const localVarOperationServerBasePath = operationServerMap['HelmChartsApi.allHelmCharts']?.[localVarOperationServerIndex]?.url;
8069
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7868
8070
  },
7869
8071
  /**
7870
8072
  *
@@ -7872,9 +8074,11 @@ export const HelmChartsApiFp = function(configuration?: Configuration) {
7872
8074
  * @param {*} [options] Override http request option.
7873
8075
  * @throws {RequiredError}
7874
8076
  */
7875
- async getHelmChart(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmChart>> {
8077
+ async getHelmChart(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmChart>> {
7876
8078
  const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmChart(id, options);
7877
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8079
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8080
+ const localVarOperationServerBasePath = operationServerMap['HelmChartsApi.getHelmChart']?.[localVarOperationServerIndex]?.url;
8081
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7878
8082
  },
7879
8083
  }
7880
8084
  };
@@ -7892,7 +8096,7 @@ export const HelmChartsApiFactory = function (configuration?: Configuration, bas
7892
8096
  * @param {*} [options] Override http request option.
7893
8097
  * @throws {RequiredError}
7894
8098
  */
7895
- allHelmCharts(requestParameters: HelmChartsApiAllHelmChartsRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllHelmCharts200Response> {
8099
+ allHelmCharts(requestParameters: HelmChartsApiAllHelmChartsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllHelmCharts200Response> {
7896
8100
  return localVarFp.allHelmCharts(requestParameters.helmRegistryId, requestParameters.parsedBranch, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
7897
8101
  },
7898
8102
  /**
@@ -7901,7 +8105,7 @@ export const HelmChartsApiFactory = function (configuration?: Configuration, bas
7901
8105
  * @param {*} [options] Override http request option.
7902
8106
  * @throws {RequiredError}
7903
8107
  */
7904
- getHelmChart(requestParameters: HelmChartsApiGetHelmChartRequest, options?: AxiosRequestConfig): AxiosPromise<HelmChart> {
8108
+ getHelmChart(requestParameters: HelmChartsApiGetHelmChartRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmChart> {
7905
8109
  return localVarFp.getHelmChart(requestParameters.id, options).then((request) => request(axios, basePath));
7906
8110
  },
7907
8111
  };
@@ -7970,7 +8174,7 @@ export class HelmChartsApi extends BaseAPI {
7970
8174
  * @throws {RequiredError}
7971
8175
  * @memberof HelmChartsApi
7972
8176
  */
7973
- public allHelmCharts(requestParameters: HelmChartsApiAllHelmChartsRequest = {}, options?: AxiosRequestConfig) {
8177
+ public allHelmCharts(requestParameters: HelmChartsApiAllHelmChartsRequest = {}, options?: RawAxiosRequestConfig) {
7974
8178
  return HelmChartsApiFp(this.configuration).allHelmCharts(requestParameters.helmRegistryId, requestParameters.parsedBranch, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
7975
8179
  }
7976
8180
 
@@ -7981,7 +8185,7 @@ export class HelmChartsApi extends BaseAPI {
7981
8185
  * @throws {RequiredError}
7982
8186
  * @memberof HelmChartsApi
7983
8187
  */
7984
- public getHelmChart(requestParameters: HelmChartsApiGetHelmChartRequest, options?: AxiosRequestConfig) {
8188
+ public getHelmChart(requestParameters: HelmChartsApiGetHelmChartRequest, options?: RawAxiosRequestConfig) {
7985
8189
  return HelmChartsApiFp(this.configuration).getHelmChart(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
7986
8190
  }
7987
8191
  }
@@ -7998,12 +8202,13 @@ export const HelmRegistriesApiAxiosParamCreator = function (configuration?: Conf
7998
8202
  *
7999
8203
  * @param {string | null} [repoName]
8000
8204
  * @param {string | null} [kind]
8205
+ * @param {string | null} [kindId]
8001
8206
  * @param {number | null} [page]
8002
8207
  * @param {number | null} [perPage]
8003
8208
  * @param {*} [options] Override http request option.
8004
8209
  * @throws {RequiredError}
8005
8210
  */
8006
- allHelmRegistries: async (repoName?: string | null, kind?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8211
+ allHelmRegistries: async (repoName?: string | null, kind?: string | null, kindId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8007
8212
  const localVarPath = `/api/v2/helm-registries`;
8008
8213
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8009
8214
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8031,6 +8236,10 @@ export const HelmRegistriesApiAxiosParamCreator = function (configuration?: Conf
8031
8236
  localVarQueryParameter['kind'] = kind;
8032
8237
  }
8033
8238
 
8239
+ if (kindId !== undefined) {
8240
+ localVarQueryParameter['kind_id'] = kindId;
8241
+ }
8242
+
8034
8243
  if (page !== undefined) {
8035
8244
  localVarQueryParameter['page'] = page;
8036
8245
  }
@@ -8056,7 +8265,7 @@ export const HelmRegistriesApiAxiosParamCreator = function (configuration?: Conf
8056
8265
  * @param {*} [options] Override http request option.
8057
8266
  * @throws {RequiredError}
8058
8267
  */
8059
- getHelmRegistry: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8268
+ getHelmRegistry: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8060
8269
  // verify required parameter 'id' is not null or undefined
8061
8270
  assertParamExists('getHelmRegistry', 'id', id)
8062
8271
  const localVarPath = `/api/v2/helm-registries/{id}`
@@ -8097,7 +8306,7 @@ export const HelmRegistriesApiAxiosParamCreator = function (configuration?: Conf
8097
8306
  * @param {*} [options] Override http request option.
8098
8307
  * @throws {RequiredError}
8099
8308
  */
8100
- updateHelmRegistry: async (id: string, updateHelmRegistry: UpdateHelmRegistry, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8309
+ updateHelmRegistry: async (id: string, updateHelmRegistry: UpdateHelmRegistry, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8101
8310
  // verify required parameter 'id' is not null or undefined
8102
8311
  assertParamExists('updateHelmRegistry', 'id', id)
8103
8312
  // verify required parameter 'updateHelmRegistry' is not null or undefined
@@ -8150,14 +8359,17 @@ export const HelmRegistriesApiFp = function(configuration?: Configuration) {
8150
8359
  *
8151
8360
  * @param {string | null} [repoName]
8152
8361
  * @param {string | null} [kind]
8362
+ * @param {string | null} [kindId]
8153
8363
  * @param {number | null} [page]
8154
8364
  * @param {number | null} [perPage]
8155
8365
  * @param {*} [options] Override http request option.
8156
8366
  * @throws {RequiredError}
8157
8367
  */
8158
- async allHelmRegistries(repoName?: string | null, kind?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllHelmRegistries200Response>> {
8159
- const localVarAxiosArgs = await localVarAxiosParamCreator.allHelmRegistries(repoName, kind, page, perPage, options);
8160
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
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);
8370
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8371
+ const localVarOperationServerBasePath = operationServerMap['HelmRegistriesApi.allHelmRegistries']?.[localVarOperationServerIndex]?.url;
8372
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8161
8373
  },
8162
8374
  /**
8163
8375
  *
@@ -8165,9 +8377,11 @@ export const HelmRegistriesApiFp = function(configuration?: Configuration) {
8165
8377
  * @param {*} [options] Override http request option.
8166
8378
  * @throws {RequiredError}
8167
8379
  */
8168
- async getHelmRegistry(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRegistry>> {
8380
+ async getHelmRegistry(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRegistry>> {
8169
8381
  const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmRegistry(id, options);
8170
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8382
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8383
+ const localVarOperationServerBasePath = operationServerMap['HelmRegistriesApi.getHelmRegistry']?.[localVarOperationServerIndex]?.url;
8384
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8171
8385
  },
8172
8386
  /**
8173
8387
  *
@@ -8176,9 +8390,11 @@ export const HelmRegistriesApiFp = function(configuration?: Configuration) {
8176
8390
  * @param {*} [options] Override http request option.
8177
8391
  * @throws {RequiredError}
8178
8392
  */
8179
- async updateHelmRegistry(id: string, updateHelmRegistry: UpdateHelmRegistry, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRegistry>> {
8393
+ async updateHelmRegistry(id: string, updateHelmRegistry: UpdateHelmRegistry, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRegistry>> {
8180
8394
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateHelmRegistry(id, updateHelmRegistry, options);
8181
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8395
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8396
+ const localVarOperationServerBasePath = operationServerMap['HelmRegistriesApi.updateHelmRegistry']?.[localVarOperationServerIndex]?.url;
8397
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8182
8398
  },
8183
8399
  }
8184
8400
  };
@@ -8196,8 +8412,8 @@ export const HelmRegistriesApiFactory = function (configuration?: Configuration,
8196
8412
  * @param {*} [options] Override http request option.
8197
8413
  * @throws {RequiredError}
8198
8414
  */
8199
- allHelmRegistries(requestParameters: HelmRegistriesApiAllHelmRegistriesRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllHelmRegistries200Response> {
8200
- return localVarFp.allHelmRegistries(requestParameters.repoName, requestParameters.kind, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
8415
+ 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));
8201
8417
  },
8202
8418
  /**
8203
8419
  *
@@ -8205,7 +8421,7 @@ export const HelmRegistriesApiFactory = function (configuration?: Configuration,
8205
8421
  * @param {*} [options] Override http request option.
8206
8422
  * @throws {RequiredError}
8207
8423
  */
8208
- getHelmRegistry(requestParameters: HelmRegistriesApiGetHelmRegistryRequest, options?: AxiosRequestConfig): AxiosPromise<HelmRegistry> {
8424
+ getHelmRegistry(requestParameters: HelmRegistriesApiGetHelmRegistryRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmRegistry> {
8209
8425
  return localVarFp.getHelmRegistry(requestParameters.id, options).then((request) => request(axios, basePath));
8210
8426
  },
8211
8427
  /**
@@ -8214,7 +8430,7 @@ export const HelmRegistriesApiFactory = function (configuration?: Configuration,
8214
8430
  * @param {*} [options] Override http request option.
8215
8431
  * @throws {RequiredError}
8216
8432
  */
8217
- updateHelmRegistry(requestParameters: HelmRegistriesApiUpdateHelmRegistryRequest, options?: AxiosRequestConfig): AxiosPromise<HelmRegistry> {
8433
+ updateHelmRegistry(requestParameters: HelmRegistriesApiUpdateHelmRegistryRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmRegistry> {
8218
8434
  return localVarFp.updateHelmRegistry(requestParameters.id, requestParameters.updateHelmRegistry, options).then((request) => request(axios, basePath));
8219
8435
  },
8220
8436
  };
@@ -8240,6 +8456,13 @@ export interface HelmRegistriesApiAllHelmRegistriesRequest {
8240
8456
  */
8241
8457
  readonly kind?: string | null
8242
8458
 
8459
+ /**
8460
+ *
8461
+ * @type {string}
8462
+ * @memberof HelmRegistriesApiAllHelmRegistries
8463
+ */
8464
+ readonly kindId?: string | null
8465
+
8243
8466
  /**
8244
8467
  *
8245
8468
  * @type {number}
@@ -8304,8 +8527,8 @@ export class HelmRegistriesApi extends BaseAPI {
8304
8527
  * @throws {RequiredError}
8305
8528
  * @memberof HelmRegistriesApi
8306
8529
  */
8307
- public allHelmRegistries(requestParameters: HelmRegistriesApiAllHelmRegistriesRequest = {}, options?: AxiosRequestConfig) {
8308
- return HelmRegistriesApiFp(this.configuration).allHelmRegistries(requestParameters.repoName, requestParameters.kind, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
8530
+ 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));
8309
8532
  }
8310
8533
 
8311
8534
  /**
@@ -8315,7 +8538,7 @@ export class HelmRegistriesApi extends BaseAPI {
8315
8538
  * @throws {RequiredError}
8316
8539
  * @memberof HelmRegistriesApi
8317
8540
  */
8318
- public getHelmRegistry(requestParameters: HelmRegistriesApiGetHelmRegistryRequest, options?: AxiosRequestConfig) {
8541
+ public getHelmRegistry(requestParameters: HelmRegistriesApiGetHelmRegistryRequest, options?: RawAxiosRequestConfig) {
8319
8542
  return HelmRegistriesApiFp(this.configuration).getHelmRegistry(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
8320
8543
  }
8321
8544
 
@@ -8326,7 +8549,7 @@ export class HelmRegistriesApi extends BaseAPI {
8326
8549
  * @throws {RequiredError}
8327
8550
  * @memberof HelmRegistriesApi
8328
8551
  */
8329
- public updateHelmRegistry(requestParameters: HelmRegistriesApiUpdateHelmRegistryRequest, options?: AxiosRequestConfig) {
8552
+ public updateHelmRegistry(requestParameters: HelmRegistriesApiUpdateHelmRegistryRequest, options?: RawAxiosRequestConfig) {
8330
8553
  return HelmRegistriesApiFp(this.configuration).updateHelmRegistry(requestParameters.id, requestParameters.updateHelmRegistry, options).then((request) => request(this.axios, this.basePath));
8331
8554
  }
8332
8555
  }
@@ -8347,7 +8570,7 @@ export const HelmTagFormatsApiAxiosParamCreator = function (configuration?: Conf
8347
8570
  * @param {*} [options] Override http request option.
8348
8571
  * @throws {RequiredError}
8349
8572
  */
8350
- allHelmTagFormats: async (pattern?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8573
+ allHelmTagFormats: async (pattern?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8351
8574
  const localVarPath = `/api/v2/helm-tag-formats`;
8352
8575
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8353
8576
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8396,7 +8619,7 @@ export const HelmTagFormatsApiAxiosParamCreator = function (configuration?: Conf
8396
8619
  * @param {*} [options] Override http request option.
8397
8620
  * @throws {RequiredError}
8398
8621
  */
8399
- createHelmTagFormat: async (newHelmTagFormat: NewHelmTagFormat, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8622
+ createHelmTagFormat: async (newHelmTagFormat: NewHelmTagFormat, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8400
8623
  // verify required parameter 'newHelmTagFormat' is not null or undefined
8401
8624
  assertParamExists('createHelmTagFormat', 'newHelmTagFormat', newHelmTagFormat)
8402
8625
  const localVarPath = `/api/v2/helm-tag-formats`;
@@ -8438,7 +8661,7 @@ export const HelmTagFormatsApiAxiosParamCreator = function (configuration?: Conf
8438
8661
  * @param {*} [options] Override http request option.
8439
8662
  * @throws {RequiredError}
8440
8663
  */
8441
- deleteHelmTagFormat: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8664
+ deleteHelmTagFormat: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8442
8665
  // verify required parameter 'id' is not null or undefined
8443
8666
  assertParamExists('deleteHelmTagFormat', 'id', id)
8444
8667
  const localVarPath = `/api/v2/helm-tag-formats/{id}`
@@ -8478,7 +8701,7 @@ export const HelmTagFormatsApiAxiosParamCreator = function (configuration?: Conf
8478
8701
  * @param {*} [options] Override http request option.
8479
8702
  * @throws {RequiredError}
8480
8703
  */
8481
- getHelmTagFormat: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8704
+ getHelmTagFormat: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8482
8705
  // verify required parameter 'id' is not null or undefined
8483
8706
  assertParamExists('getHelmTagFormat', 'id', id)
8484
8707
  const localVarPath = `/api/v2/helm-tag-formats/{id}`
@@ -8530,9 +8753,11 @@ export const HelmTagFormatsApiFp = function(configuration?: Configuration) {
8530
8753
  * @param {*} [options] Override http request option.
8531
8754
  * @throws {RequiredError}
8532
8755
  */
8533
- async allHelmTagFormats(pattern?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllHelmTagFormats200Response>> {
8756
+ async allHelmTagFormats(pattern?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllHelmTagFormats200Response>> {
8534
8757
  const localVarAxiosArgs = await localVarAxiosParamCreator.allHelmTagFormats(pattern, page, perPage, options);
8535
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8758
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8759
+ const localVarOperationServerBasePath = operationServerMap['HelmTagFormatsApi.allHelmTagFormats']?.[localVarOperationServerIndex]?.url;
8760
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8536
8761
  },
8537
8762
  /**
8538
8763
  *
@@ -8540,9 +8765,11 @@ export const HelmTagFormatsApiFp = function(configuration?: Configuration) {
8540
8765
  * @param {*} [options] Override http request option.
8541
8766
  * @throws {RequiredError}
8542
8767
  */
8543
- async createHelmTagFormat(newHelmTagFormat: NewHelmTagFormat, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmTagFormat>> {
8768
+ async createHelmTagFormat(newHelmTagFormat: NewHelmTagFormat, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmTagFormat>> {
8544
8769
  const localVarAxiosArgs = await localVarAxiosParamCreator.createHelmTagFormat(newHelmTagFormat, options);
8545
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8770
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8771
+ const localVarOperationServerBasePath = operationServerMap['HelmTagFormatsApi.createHelmTagFormat']?.[localVarOperationServerIndex]?.url;
8772
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8546
8773
  },
8547
8774
  /**
8548
8775
  *
@@ -8550,9 +8777,11 @@ export const HelmTagFormatsApiFp = function(configuration?: Configuration) {
8550
8777
  * @param {*} [options] Override http request option.
8551
8778
  * @throws {RequiredError}
8552
8779
  */
8553
- async deleteHelmTagFormat(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
8780
+ async deleteHelmTagFormat(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
8554
8781
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHelmTagFormat(id, options);
8555
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8782
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8783
+ const localVarOperationServerBasePath = operationServerMap['HelmTagFormatsApi.deleteHelmTagFormat']?.[localVarOperationServerIndex]?.url;
8784
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8556
8785
  },
8557
8786
  /**
8558
8787
  *
@@ -8560,9 +8789,11 @@ export const HelmTagFormatsApiFp = function(configuration?: Configuration) {
8560
8789
  * @param {*} [options] Override http request option.
8561
8790
  * @throws {RequiredError}
8562
8791
  */
8563
- async getHelmTagFormat(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmTagFormat>> {
8792
+ async getHelmTagFormat(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmTagFormat>> {
8564
8793
  const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmTagFormat(id, options);
8565
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8794
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8795
+ const localVarOperationServerBasePath = operationServerMap['HelmTagFormatsApi.getHelmTagFormat']?.[localVarOperationServerIndex]?.url;
8796
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8566
8797
  },
8567
8798
  }
8568
8799
  };
@@ -8580,7 +8811,7 @@ export const HelmTagFormatsApiFactory = function (configuration?: Configuration,
8580
8811
  * @param {*} [options] Override http request option.
8581
8812
  * @throws {RequiredError}
8582
8813
  */
8583
- allHelmTagFormats(requestParameters: HelmTagFormatsApiAllHelmTagFormatsRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllHelmTagFormats200Response> {
8814
+ allHelmTagFormats(requestParameters: HelmTagFormatsApiAllHelmTagFormatsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllHelmTagFormats200Response> {
8584
8815
  return localVarFp.allHelmTagFormats(requestParameters.pattern, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
8585
8816
  },
8586
8817
  /**
@@ -8589,7 +8820,7 @@ export const HelmTagFormatsApiFactory = function (configuration?: Configuration,
8589
8820
  * @param {*} [options] Override http request option.
8590
8821
  * @throws {RequiredError}
8591
8822
  */
8592
- createHelmTagFormat(requestParameters: HelmTagFormatsApiCreateHelmTagFormatRequest, options?: AxiosRequestConfig): AxiosPromise<HelmTagFormat> {
8823
+ createHelmTagFormat(requestParameters: HelmTagFormatsApiCreateHelmTagFormatRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmTagFormat> {
8593
8824
  return localVarFp.createHelmTagFormat(requestParameters.newHelmTagFormat, options).then((request) => request(axios, basePath));
8594
8825
  },
8595
8826
  /**
@@ -8598,7 +8829,7 @@ export const HelmTagFormatsApiFactory = function (configuration?: Configuration,
8598
8829
  * @param {*} [options] Override http request option.
8599
8830
  * @throws {RequiredError}
8600
8831
  */
8601
- deleteHelmTagFormat(requestParameters: HelmTagFormatsApiDeleteHelmTagFormatRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
8832
+ deleteHelmTagFormat(requestParameters: HelmTagFormatsApiDeleteHelmTagFormatRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
8602
8833
  return localVarFp.deleteHelmTagFormat(requestParameters.id, options).then((request) => request(axios, basePath));
8603
8834
  },
8604
8835
  /**
@@ -8607,7 +8838,7 @@ export const HelmTagFormatsApiFactory = function (configuration?: Configuration,
8607
8838
  * @param {*} [options] Override http request option.
8608
8839
  * @throws {RequiredError}
8609
8840
  */
8610
- getHelmTagFormat(requestParameters: HelmTagFormatsApiGetHelmTagFormatRequest, options?: AxiosRequestConfig): AxiosPromise<HelmTagFormat> {
8841
+ getHelmTagFormat(requestParameters: HelmTagFormatsApiGetHelmTagFormatRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmTagFormat> {
8611
8842
  return localVarFp.getHelmTagFormat(requestParameters.id, options).then((request) => request(axios, basePath));
8612
8843
  },
8613
8844
  };
@@ -8697,7 +8928,7 @@ export class HelmTagFormatsApi extends BaseAPI {
8697
8928
  * @throws {RequiredError}
8698
8929
  * @memberof HelmTagFormatsApi
8699
8930
  */
8700
- public allHelmTagFormats(requestParameters: HelmTagFormatsApiAllHelmTagFormatsRequest = {}, options?: AxiosRequestConfig) {
8931
+ public allHelmTagFormats(requestParameters: HelmTagFormatsApiAllHelmTagFormatsRequest = {}, options?: RawAxiosRequestConfig) {
8701
8932
  return HelmTagFormatsApiFp(this.configuration).allHelmTagFormats(requestParameters.pattern, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
8702
8933
  }
8703
8934
 
@@ -8708,7 +8939,7 @@ export class HelmTagFormatsApi extends BaseAPI {
8708
8939
  * @throws {RequiredError}
8709
8940
  * @memberof HelmTagFormatsApi
8710
8941
  */
8711
- public createHelmTagFormat(requestParameters: HelmTagFormatsApiCreateHelmTagFormatRequest, options?: AxiosRequestConfig) {
8942
+ public createHelmTagFormat(requestParameters: HelmTagFormatsApiCreateHelmTagFormatRequest, options?: RawAxiosRequestConfig) {
8712
8943
  return HelmTagFormatsApiFp(this.configuration).createHelmTagFormat(requestParameters.newHelmTagFormat, options).then((request) => request(this.axios, this.basePath));
8713
8944
  }
8714
8945
 
@@ -8719,7 +8950,7 @@ export class HelmTagFormatsApi extends BaseAPI {
8719
8950
  * @throws {RequiredError}
8720
8951
  * @memberof HelmTagFormatsApi
8721
8952
  */
8722
- public deleteHelmTagFormat(requestParameters: HelmTagFormatsApiDeleteHelmTagFormatRequest, options?: AxiosRequestConfig) {
8953
+ public deleteHelmTagFormat(requestParameters: HelmTagFormatsApiDeleteHelmTagFormatRequest, options?: RawAxiosRequestConfig) {
8723
8954
  return HelmTagFormatsApiFp(this.configuration).deleteHelmTagFormat(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
8724
8955
  }
8725
8956
 
@@ -8730,7 +8961,7 @@ export class HelmTagFormatsApi extends BaseAPI {
8730
8961
  * @throws {RequiredError}
8731
8962
  * @memberof HelmTagFormatsApi
8732
8963
  */
8733
- public getHelmTagFormat(requestParameters: HelmTagFormatsApiGetHelmTagFormatRequest, options?: AxiosRequestConfig) {
8964
+ public getHelmTagFormat(requestParameters: HelmTagFormatsApiGetHelmTagFormatRequest, options?: RawAxiosRequestConfig) {
8734
8965
  return HelmTagFormatsApiFp(this.configuration).getHelmTagFormat(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
8735
8966
  }
8736
8967
  }
@@ -8752,7 +8983,7 @@ export const KubernetesClustersApiAxiosParamCreator = function (configuration?:
8752
8983
  * @param {*} [options] Override http request option.
8753
8984
  * @throws {RequiredError}
8754
8985
  */
8755
- allK8sClusters: async (envId?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8986
+ allK8sClusters: async (envId?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8756
8987
  const localVarPath = `/api/v2/k8s-clusters`;
8757
8988
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8758
8989
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8805,7 +9036,7 @@ export const KubernetesClustersApiAxiosParamCreator = function (configuration?:
8805
9036
  * @param {*} [options] Override http request option.
8806
9037
  * @throws {RequiredError}
8807
9038
  */
8808
- deleteK8sCluster: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9039
+ deleteK8sCluster: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8809
9040
  // verify required parameter 'id' is not null or undefined
8810
9041
  assertParamExists('deleteK8sCluster', 'id', id)
8811
9042
  const localVarPath = `/api/v2/k8s-clusters/{id}`
@@ -8845,7 +9076,7 @@ export const KubernetesClustersApiAxiosParamCreator = function (configuration?:
8845
9076
  * @param {*} [options] Override http request option.
8846
9077
  * @throws {RequiredError}
8847
9078
  */
8848
- getK8sCluster: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9079
+ getK8sCluster: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8849
9080
  // verify required parameter 'id' is not null or undefined
8850
9081
  assertParamExists('getK8sCluster', 'id', id)
8851
9082
  const localVarPath = `/api/v2/k8s-clusters/{id}`
@@ -8886,7 +9117,7 @@ export const KubernetesClustersApiAxiosParamCreator = function (configuration?:
8886
9117
  * @param {*} [options] Override http request option.
8887
9118
  * @throws {RequiredError}
8888
9119
  */
8889
- updateK8sCluster: async (id: string, updateK8sCluster: UpdateK8sCluster, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9120
+ updateK8sCluster: async (id: string, updateK8sCluster: UpdateK8sCluster, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8890
9121
  // verify required parameter 'id' is not null or undefined
8891
9122
  assertParamExists('updateK8sCluster', 'id', id)
8892
9123
  // verify required parameter 'updateK8sCluster' is not null or undefined
@@ -8944,9 +9175,11 @@ export const KubernetesClustersApiFp = function(configuration?: Configuration) {
8944
9175
  * @param {*} [options] Override http request option.
8945
9176
  * @throws {RequiredError}
8946
9177
  */
8947
- async allK8sClusters(envId?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllK8sClusters200Response>> {
9178
+ async allK8sClusters(envId?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllK8sClusters200Response>> {
8948
9179
  const localVarAxiosArgs = await localVarAxiosParamCreator.allK8sClusters(envId, name, page, perPage, options);
8949
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9180
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9181
+ const localVarOperationServerBasePath = operationServerMap['KubernetesClustersApi.allK8sClusters']?.[localVarOperationServerIndex]?.url;
9182
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8950
9183
  },
8951
9184
  /**
8952
9185
  *
@@ -8954,9 +9187,11 @@ export const KubernetesClustersApiFp = function(configuration?: Configuration) {
8954
9187
  * @param {*} [options] Override http request option.
8955
9188
  * @throws {RequiredError}
8956
9189
  */
8957
- async deleteK8sCluster(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9190
+ async deleteK8sCluster(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
8958
9191
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteK8sCluster(id, options);
8959
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9192
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9193
+ const localVarOperationServerBasePath = operationServerMap['KubernetesClustersApi.deleteK8sCluster']?.[localVarOperationServerIndex]?.url;
9194
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8960
9195
  },
8961
9196
  /**
8962
9197
  *
@@ -8964,9 +9199,11 @@ export const KubernetesClustersApiFp = function(configuration?: Configuration) {
8964
9199
  * @param {*} [options] Override http request option.
8965
9200
  * @throws {RequiredError}
8966
9201
  */
8967
- async getK8sCluster(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<K8sCluster>> {
9202
+ async getK8sCluster(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<K8sCluster>> {
8968
9203
  const localVarAxiosArgs = await localVarAxiosParamCreator.getK8sCluster(id, options);
8969
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9204
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9205
+ const localVarOperationServerBasePath = operationServerMap['KubernetesClustersApi.getK8sCluster']?.[localVarOperationServerIndex]?.url;
9206
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8970
9207
  },
8971
9208
  /**
8972
9209
  *
@@ -8975,9 +9212,11 @@ export const KubernetesClustersApiFp = function(configuration?: Configuration) {
8975
9212
  * @param {*} [options] Override http request option.
8976
9213
  * @throws {RequiredError}
8977
9214
  */
8978
- async updateK8sCluster(id: string, updateK8sCluster: UpdateK8sCluster, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<K8sCluster>> {
9215
+ async updateK8sCluster(id: string, updateK8sCluster: UpdateK8sCluster, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<K8sCluster>> {
8979
9216
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateK8sCluster(id, updateK8sCluster, options);
8980
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9217
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9218
+ const localVarOperationServerBasePath = operationServerMap['KubernetesClustersApi.updateK8sCluster']?.[localVarOperationServerIndex]?.url;
9219
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8981
9220
  },
8982
9221
  }
8983
9222
  };
@@ -8995,7 +9234,7 @@ export const KubernetesClustersApiFactory = function (configuration?: Configurat
8995
9234
  * @param {*} [options] Override http request option.
8996
9235
  * @throws {RequiredError}
8997
9236
  */
8998
- allK8sClusters(requestParameters: KubernetesClustersApiAllK8sClustersRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllK8sClusters200Response> {
9237
+ allK8sClusters(requestParameters: KubernetesClustersApiAllK8sClustersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllK8sClusters200Response> {
8999
9238
  return localVarFp.allK8sClusters(requestParameters.envId, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
9000
9239
  },
9001
9240
  /**
@@ -9004,7 +9243,7 @@ export const KubernetesClustersApiFactory = function (configuration?: Configurat
9004
9243
  * @param {*} [options] Override http request option.
9005
9244
  * @throws {RequiredError}
9006
9245
  */
9007
- deleteK8sCluster(requestParameters: KubernetesClustersApiDeleteK8sClusterRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
9246
+ deleteK8sCluster(requestParameters: KubernetesClustersApiDeleteK8sClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9008
9247
  return localVarFp.deleteK8sCluster(requestParameters.id, options).then((request) => request(axios, basePath));
9009
9248
  },
9010
9249
  /**
@@ -9013,7 +9252,7 @@ export const KubernetesClustersApiFactory = function (configuration?: Configurat
9013
9252
  * @param {*} [options] Override http request option.
9014
9253
  * @throws {RequiredError}
9015
9254
  */
9016
- getK8sCluster(requestParameters: KubernetesClustersApiGetK8sClusterRequest, options?: AxiosRequestConfig): AxiosPromise<K8sCluster> {
9255
+ getK8sCluster(requestParameters: KubernetesClustersApiGetK8sClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<K8sCluster> {
9017
9256
  return localVarFp.getK8sCluster(requestParameters.id, options).then((request) => request(axios, basePath));
9018
9257
  },
9019
9258
  /**
@@ -9022,7 +9261,7 @@ export const KubernetesClustersApiFactory = function (configuration?: Configurat
9022
9261
  * @param {*} [options] Override http request option.
9023
9262
  * @throws {RequiredError}
9024
9263
  */
9025
- updateK8sCluster(requestParameters: KubernetesClustersApiUpdateK8sClusterRequest, options?: AxiosRequestConfig): AxiosPromise<K8sCluster> {
9264
+ updateK8sCluster(requestParameters: KubernetesClustersApiUpdateK8sClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<K8sCluster> {
9026
9265
  return localVarFp.updateK8sCluster(requestParameters.id, requestParameters.updateK8sCluster, options).then((request) => request(axios, basePath));
9027
9266
  },
9028
9267
  };
@@ -9126,7 +9365,7 @@ export class KubernetesClustersApi extends BaseAPI {
9126
9365
  * @throws {RequiredError}
9127
9366
  * @memberof KubernetesClustersApi
9128
9367
  */
9129
- public allK8sClusters(requestParameters: KubernetesClustersApiAllK8sClustersRequest = {}, options?: AxiosRequestConfig) {
9368
+ public allK8sClusters(requestParameters: KubernetesClustersApiAllK8sClustersRequest = {}, options?: RawAxiosRequestConfig) {
9130
9369
  return KubernetesClustersApiFp(this.configuration).allK8sClusters(requestParameters.envId, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
9131
9370
  }
9132
9371
 
@@ -9137,7 +9376,7 @@ export class KubernetesClustersApi extends BaseAPI {
9137
9376
  * @throws {RequiredError}
9138
9377
  * @memberof KubernetesClustersApi
9139
9378
  */
9140
- public deleteK8sCluster(requestParameters: KubernetesClustersApiDeleteK8sClusterRequest, options?: AxiosRequestConfig) {
9379
+ public deleteK8sCluster(requestParameters: KubernetesClustersApiDeleteK8sClusterRequest, options?: RawAxiosRequestConfig) {
9141
9380
  return KubernetesClustersApiFp(this.configuration).deleteK8sCluster(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
9142
9381
  }
9143
9382
 
@@ -9148,7 +9387,7 @@ export class KubernetesClustersApi extends BaseAPI {
9148
9387
  * @throws {RequiredError}
9149
9388
  * @memberof KubernetesClustersApi
9150
9389
  */
9151
- public getK8sCluster(requestParameters: KubernetesClustersApiGetK8sClusterRequest, options?: AxiosRequestConfig) {
9390
+ public getK8sCluster(requestParameters: KubernetesClustersApiGetK8sClusterRequest, options?: RawAxiosRequestConfig) {
9152
9391
  return KubernetesClustersApiFp(this.configuration).getK8sCluster(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
9153
9392
  }
9154
9393
 
@@ -9159,7 +9398,7 @@ export class KubernetesClustersApi extends BaseAPI {
9159
9398
  * @throws {RequiredError}
9160
9399
  * @memberof KubernetesClustersApi
9161
9400
  */
9162
- public updateK8sCluster(requestParameters: KubernetesClustersApiUpdateK8sClusterRequest, options?: AxiosRequestConfig) {
9401
+ public updateK8sCluster(requestParameters: KubernetesClustersApiUpdateK8sClusterRequest, options?: RawAxiosRequestConfig) {
9163
9402
  return KubernetesClustersApiFp(this.configuration).updateK8sCluster(requestParameters.id, requestParameters.updateK8sCluster, options).then((request) => request(this.axios, this.basePath));
9164
9403
  }
9165
9404
  }
@@ -9183,7 +9422,7 @@ export const KubernetesResourcesApiAxiosParamCreator = function (configuration?:
9183
9422
  * @param {*} [options] Override http request option.
9184
9423
  * @throws {RequiredError}
9185
9424
  */
9186
- allK8sResources: async (clusterId?: string | null, deploymentId?: string | null, kind?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9425
+ allK8sResources: async (clusterId?: string | null, deploymentId?: string | null, kind?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9187
9426
  const localVarPath = `/api/v2/k8s-resources`;
9188
9427
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9189
9428
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9244,7 +9483,7 @@ export const KubernetesResourcesApiAxiosParamCreator = function (configuration?:
9244
9483
  * @param {*} [options] Override http request option.
9245
9484
  * @throws {RequiredError}
9246
9485
  */
9247
- getK8sResource: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9486
+ getK8sResource: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9248
9487
  // verify required parameter 'id' is not null or undefined
9249
9488
  assertParamExists('getK8sResource', 'id', id)
9250
9489
  const localVarPath = `/api/v2/k8s-resources/{id}`
@@ -9299,9 +9538,11 @@ export const KubernetesResourcesApiFp = function(configuration?: Configuration)
9299
9538
  * @param {*} [options] Override http request option.
9300
9539
  * @throws {RequiredError}
9301
9540
  */
9302
- async allK8sResources(clusterId?: string | null, deploymentId?: string | null, kind?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllK8sResources200Response>> {
9541
+ async allK8sResources(clusterId?: string | null, deploymentId?: string | null, kind?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllK8sResources200Response>> {
9303
9542
  const localVarAxiosArgs = await localVarAxiosParamCreator.allK8sResources(clusterId, deploymentId, kind, name, page, perPage, options);
9304
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9543
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9544
+ const localVarOperationServerBasePath = operationServerMap['KubernetesResourcesApi.allK8sResources']?.[localVarOperationServerIndex]?.url;
9545
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9305
9546
  },
9306
9547
  /**
9307
9548
  *
@@ -9309,9 +9550,11 @@ export const KubernetesResourcesApiFp = function(configuration?: Configuration)
9309
9550
  * @param {*} [options] Override http request option.
9310
9551
  * @throws {RequiredError}
9311
9552
  */
9312
- async getK8sResource(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<K8sResource>> {
9553
+ async getK8sResource(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<K8sResource>> {
9313
9554
  const localVarAxiosArgs = await localVarAxiosParamCreator.getK8sResource(id, options);
9314
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9555
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9556
+ const localVarOperationServerBasePath = operationServerMap['KubernetesResourcesApi.getK8sResource']?.[localVarOperationServerIndex]?.url;
9557
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9315
9558
  },
9316
9559
  }
9317
9560
  };
@@ -9329,7 +9572,7 @@ export const KubernetesResourcesApiFactory = function (configuration?: Configura
9329
9572
  * @param {*} [options] Override http request option.
9330
9573
  * @throws {RequiredError}
9331
9574
  */
9332
- allK8sResources(requestParameters: KubernetesResourcesApiAllK8sResourcesRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllK8sResources200Response> {
9575
+ allK8sResources(requestParameters: KubernetesResourcesApiAllK8sResourcesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllK8sResources200Response> {
9333
9576
  return localVarFp.allK8sResources(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.kind, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
9334
9577
  },
9335
9578
  /**
@@ -9338,7 +9581,7 @@ export const KubernetesResourcesApiFactory = function (configuration?: Configura
9338
9581
  * @param {*} [options] Override http request option.
9339
9582
  * @throws {RequiredError}
9340
9583
  */
9341
- getK8sResource(requestParameters: KubernetesResourcesApiGetK8sResourceRequest, options?: AxiosRequestConfig): AxiosPromise<K8sResource> {
9584
+ getK8sResource(requestParameters: KubernetesResourcesApiGetK8sResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<K8sResource> {
9342
9585
  return localVarFp.getK8sResource(requestParameters.id, options).then((request) => request(axios, basePath));
9343
9586
  },
9344
9587
  };
@@ -9421,7 +9664,7 @@ export class KubernetesResourcesApi extends BaseAPI {
9421
9664
  * @throws {RequiredError}
9422
9665
  * @memberof KubernetesResourcesApi
9423
9666
  */
9424
- public allK8sResources(requestParameters: KubernetesResourcesApiAllK8sResourcesRequest = {}, options?: AxiosRequestConfig) {
9667
+ public allK8sResources(requestParameters: KubernetesResourcesApiAllK8sResourcesRequest = {}, options?: RawAxiosRequestConfig) {
9425
9668
  return KubernetesResourcesApiFp(this.configuration).allK8sResources(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.kind, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
9426
9669
  }
9427
9670
 
@@ -9432,7 +9675,7 @@ export class KubernetesResourcesApi extends BaseAPI {
9432
9675
  * @throws {RequiredError}
9433
9676
  * @memberof KubernetesResourcesApi
9434
9677
  */
9435
- public getK8sResource(requestParameters: KubernetesResourcesApiGetK8sResourceRequest, options?: AxiosRequestConfig) {
9678
+ public getK8sResource(requestParameters: KubernetesResourcesApiGetK8sResourceRequest, options?: RawAxiosRequestConfig) {
9436
9679
  return KubernetesResourcesApiFp(this.configuration).getK8sResource(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
9437
9680
  }
9438
9681
  }
@@ -9455,7 +9698,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
9455
9698
  * @param {*} [options] Override http request option.
9456
9699
  * @throws {RequiredError}
9457
9700
  */
9458
- allSecrets: async (envId?: string | null, collection?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9701
+ allSecrets: async (envId?: string | null, collection?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9459
9702
  const localVarPath = `/api/v2/secrets`;
9460
9703
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9461
9704
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9512,7 +9755,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
9512
9755
  * @param {*} [options] Override http request option.
9513
9756
  * @throws {RequiredError}
9514
9757
  */
9515
- createSecret: async (newSecret: NewSecret, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9758
+ createSecret: async (newSecret: NewSecret, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9516
9759
  // verify required parameter 'newSecret' is not null or undefined
9517
9760
  assertParamExists('createSecret', 'newSecret', newSecret)
9518
9761
  const localVarPath = `/api/v2/secrets`;
@@ -9554,7 +9797,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
9554
9797
  * @param {*} [options] Override http request option.
9555
9798
  * @throws {RequiredError}
9556
9799
  */
9557
- deleteSecret: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9800
+ deleteSecret: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9558
9801
  // verify required parameter 'id' is not null or undefined
9559
9802
  assertParamExists('deleteSecret', 'id', id)
9560
9803
  const localVarPath = `/api/v2/secrets/{id}`
@@ -9594,7 +9837,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
9594
9837
  * @param {*} [options] Override http request option.
9595
9838
  * @throws {RequiredError}
9596
9839
  */
9597
- getSecret: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9840
+ getSecret: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9598
9841
  // verify required parameter 'id' is not null or undefined
9599
9842
  assertParamExists('getSecret', 'id', id)
9600
9843
  const localVarPath = `/api/v2/secrets/{id}`
@@ -9635,7 +9878,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
9635
9878
  * @param {*} [options] Override http request option.
9636
9879
  * @throws {RequiredError}
9637
9880
  */
9638
- updateSecret: async (id: string, updateSecretApi: UpdateSecretApi, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9881
+ updateSecret: async (id: string, updateSecretApi: UpdateSecretApi, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9639
9882
  // verify required parameter 'id' is not null or undefined
9640
9883
  assertParamExists('updateSecret', 'id', id)
9641
9884
  // verify required parameter 'updateSecretApi' is not null or undefined
@@ -9694,9 +9937,11 @@ export const SecretsApiFp = function(configuration?: Configuration) {
9694
9937
  * @param {*} [options] Override http request option.
9695
9938
  * @throws {RequiredError}
9696
9939
  */
9697
- async allSecrets(envId?: string | null, collection?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllSecrets200Response>> {
9940
+ async allSecrets(envId?: string | null, collection?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllSecrets200Response>> {
9698
9941
  const localVarAxiosArgs = await localVarAxiosParamCreator.allSecrets(envId, collection, name, page, perPage, options);
9699
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9942
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9943
+ const localVarOperationServerBasePath = operationServerMap['SecretsApi.allSecrets']?.[localVarOperationServerIndex]?.url;
9944
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9700
9945
  },
9701
9946
  /**
9702
9947
  *
@@ -9704,9 +9949,11 @@ export const SecretsApiFp = function(configuration?: Configuration) {
9704
9949
  * @param {*} [options] Override http request option.
9705
9950
  * @throws {RequiredError}
9706
9951
  */
9707
- async createSecret(newSecret: NewSecret, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
9952
+ async createSecret(newSecret: NewSecret, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
9708
9953
  const localVarAxiosArgs = await localVarAxiosParamCreator.createSecret(newSecret, options);
9709
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9954
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9955
+ const localVarOperationServerBasePath = operationServerMap['SecretsApi.createSecret']?.[localVarOperationServerIndex]?.url;
9956
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9710
9957
  },
9711
9958
  /**
9712
9959
  *
@@ -9714,9 +9961,11 @@ export const SecretsApiFp = function(configuration?: Configuration) {
9714
9961
  * @param {*} [options] Override http request option.
9715
9962
  * @throws {RequiredError}
9716
9963
  */
9717
- async deleteSecret(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9964
+ async deleteSecret(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9718
9965
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSecret(id, options);
9719
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9966
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9967
+ const localVarOperationServerBasePath = operationServerMap['SecretsApi.deleteSecret']?.[localVarOperationServerIndex]?.url;
9968
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9720
9969
  },
9721
9970
  /**
9722
9971
  *
@@ -9724,9 +9973,11 @@ export const SecretsApiFp = function(configuration?: Configuration) {
9724
9973
  * @param {*} [options] Override http request option.
9725
9974
  * @throws {RequiredError}
9726
9975
  */
9727
- async getSecret(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
9976
+ async getSecret(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
9728
9977
  const localVarAxiosArgs = await localVarAxiosParamCreator.getSecret(id, options);
9729
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9978
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9979
+ const localVarOperationServerBasePath = operationServerMap['SecretsApi.getSecret']?.[localVarOperationServerIndex]?.url;
9980
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9730
9981
  },
9731
9982
  /**
9732
9983
  *
@@ -9735,9 +9986,11 @@ export const SecretsApiFp = function(configuration?: Configuration) {
9735
9986
  * @param {*} [options] Override http request option.
9736
9987
  * @throws {RequiredError}
9737
9988
  */
9738
- async updateSecret(id: string, updateSecretApi: UpdateSecretApi, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
9989
+ async updateSecret(id: string, updateSecretApi: UpdateSecretApi, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
9739
9990
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateSecret(id, updateSecretApi, options);
9740
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9991
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9992
+ const localVarOperationServerBasePath = operationServerMap['SecretsApi.updateSecret']?.[localVarOperationServerIndex]?.url;
9993
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9741
9994
  },
9742
9995
  }
9743
9996
  };
@@ -9755,7 +10008,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
9755
10008
  * @param {*} [options] Override http request option.
9756
10009
  * @throws {RequiredError}
9757
10010
  */
9758
- allSecrets(requestParameters: SecretsApiAllSecretsRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllSecrets200Response> {
10011
+ allSecrets(requestParameters: SecretsApiAllSecretsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllSecrets200Response> {
9759
10012
  return localVarFp.allSecrets(requestParameters.envId, requestParameters.collection, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
9760
10013
  },
9761
10014
  /**
@@ -9764,7 +10017,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
9764
10017
  * @param {*} [options] Override http request option.
9765
10018
  * @throws {RequiredError}
9766
10019
  */
9767
- createSecret(requestParameters: SecretsApiCreateSecretRequest, options?: AxiosRequestConfig): AxiosPromise<Secret> {
10020
+ createSecret(requestParameters: SecretsApiCreateSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<Secret> {
9768
10021
  return localVarFp.createSecret(requestParameters.newSecret, options).then((request) => request(axios, basePath));
9769
10022
  },
9770
10023
  /**
@@ -9773,7 +10026,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
9773
10026
  * @param {*} [options] Override http request option.
9774
10027
  * @throws {RequiredError}
9775
10028
  */
9776
- deleteSecret(requestParameters: SecretsApiDeleteSecretRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
10029
+ deleteSecret(requestParameters: SecretsApiDeleteSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
9777
10030
  return localVarFp.deleteSecret(requestParameters.id, options).then((request) => request(axios, basePath));
9778
10031
  },
9779
10032
  /**
@@ -9782,7 +10035,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
9782
10035
  * @param {*} [options] Override http request option.
9783
10036
  * @throws {RequiredError}
9784
10037
  */
9785
- getSecret(requestParameters: SecretsApiGetSecretRequest, options?: AxiosRequestConfig): AxiosPromise<Secret> {
10038
+ getSecret(requestParameters: SecretsApiGetSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<Secret> {
9786
10039
  return localVarFp.getSecret(requestParameters.id, options).then((request) => request(axios, basePath));
9787
10040
  },
9788
10041
  /**
@@ -9791,7 +10044,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
9791
10044
  * @param {*} [options] Override http request option.
9792
10045
  * @throws {RequiredError}
9793
10046
  */
9794
- updateSecret(requestParameters: SecretsApiUpdateSecretRequest, options?: AxiosRequestConfig): AxiosPromise<Secret> {
10047
+ updateSecret(requestParameters: SecretsApiUpdateSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<Secret> {
9795
10048
  return localVarFp.updateSecret(requestParameters.id, requestParameters.updateSecretApi, options).then((request) => request(axios, basePath));
9796
10049
  },
9797
10050
  };
@@ -9916,7 +10169,7 @@ export class SecretsApi extends BaseAPI {
9916
10169
  * @throws {RequiredError}
9917
10170
  * @memberof SecretsApi
9918
10171
  */
9919
- public allSecrets(requestParameters: SecretsApiAllSecretsRequest = {}, options?: AxiosRequestConfig) {
10172
+ public allSecrets(requestParameters: SecretsApiAllSecretsRequest = {}, options?: RawAxiosRequestConfig) {
9920
10173
  return SecretsApiFp(this.configuration).allSecrets(requestParameters.envId, requestParameters.collection, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
9921
10174
  }
9922
10175
 
@@ -9927,7 +10180,7 @@ export class SecretsApi extends BaseAPI {
9927
10180
  * @throws {RequiredError}
9928
10181
  * @memberof SecretsApi
9929
10182
  */
9930
- public createSecret(requestParameters: SecretsApiCreateSecretRequest, options?: AxiosRequestConfig) {
10183
+ public createSecret(requestParameters: SecretsApiCreateSecretRequest, options?: RawAxiosRequestConfig) {
9931
10184
  return SecretsApiFp(this.configuration).createSecret(requestParameters.newSecret, options).then((request) => request(this.axios, this.basePath));
9932
10185
  }
9933
10186
 
@@ -9938,7 +10191,7 @@ export class SecretsApi extends BaseAPI {
9938
10191
  * @throws {RequiredError}
9939
10192
  * @memberof SecretsApi
9940
10193
  */
9941
- public deleteSecret(requestParameters: SecretsApiDeleteSecretRequest, options?: AxiosRequestConfig) {
10194
+ public deleteSecret(requestParameters: SecretsApiDeleteSecretRequest, options?: RawAxiosRequestConfig) {
9942
10195
  return SecretsApiFp(this.configuration).deleteSecret(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
9943
10196
  }
9944
10197
 
@@ -9949,7 +10202,7 @@ export class SecretsApi extends BaseAPI {
9949
10202
  * @throws {RequiredError}
9950
10203
  * @memberof SecretsApi
9951
10204
  */
9952
- public getSecret(requestParameters: SecretsApiGetSecretRequest, options?: AxiosRequestConfig) {
10205
+ public getSecret(requestParameters: SecretsApiGetSecretRequest, options?: RawAxiosRequestConfig) {
9953
10206
  return SecretsApiFp(this.configuration).getSecret(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
9954
10207
  }
9955
10208
 
@@ -9960,7 +10213,7 @@ export class SecretsApi extends BaseAPI {
9960
10213
  * @throws {RequiredError}
9961
10214
  * @memberof SecretsApi
9962
10215
  */
9963
- public updateSecret(requestParameters: SecretsApiUpdateSecretRequest, options?: AxiosRequestConfig) {
10216
+ public updateSecret(requestParameters: SecretsApiUpdateSecretRequest, options?: RawAxiosRequestConfig) {
9964
10217
  return SecretsApiFp(this.configuration).updateSecret(requestParameters.id, requestParameters.updateSecretApi, options).then((request) => request(this.axios, this.basePath));
9965
10218
  }
9966
10219
  }
@@ -9978,7 +10231,7 @@ export const ServerApiAxiosParamCreator = function (configuration?: Configuratio
9978
10231
  * @param {*} [options] Override http request option.
9979
10232
  * @throws {RequiredError}
9980
10233
  */
9981
- getServerInfo: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10234
+ getServerInfo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9982
10235
  const localVarPath = `/api/v2/server`;
9983
10236
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9984
10237
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10024,9 +10277,11 @@ export const ServerApiFp = function(configuration?: Configuration) {
10024
10277
  * @param {*} [options] Override http request option.
10025
10278
  * @throws {RequiredError}
10026
10279
  */
10027
- async getServerInfo(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerInfo>> {
10280
+ async getServerInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerInfo>> {
10028
10281
  const localVarAxiosArgs = await localVarAxiosParamCreator.getServerInfo(options);
10029
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10282
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10283
+ const localVarOperationServerBasePath = operationServerMap['ServerApi.getServerInfo']?.[localVarOperationServerIndex]?.url;
10284
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10030
10285
  },
10031
10286
  }
10032
10287
  };
@@ -10043,7 +10298,7 @@ export const ServerApiFactory = function (configuration?: Configuration, basePat
10043
10298
  * @param {*} [options] Override http request option.
10044
10299
  * @throws {RequiredError}
10045
10300
  */
10046
- getServerInfo(options?: AxiosRequestConfig): AxiosPromise<ServerInfo> {
10301
+ getServerInfo(options?: RawAxiosRequestConfig): AxiosPromise<ServerInfo> {
10047
10302
  return localVarFp.getServerInfo(options).then((request) => request(axios, basePath));
10048
10303
  },
10049
10304
  };
@@ -10062,7 +10317,7 @@ export class ServerApi extends BaseAPI {
10062
10317
  * @throws {RequiredError}
10063
10318
  * @memberof ServerApi
10064
10319
  */
10065
- public getServerInfo(options?: AxiosRequestConfig) {
10320
+ public getServerInfo(options?: RawAxiosRequestConfig) {
10066
10321
  return ServerApiFp(this.configuration).getServerInfo(options).then((request) => request(this.axios, this.basePath));
10067
10322
  }
10068
10323
  }
@@ -10083,7 +10338,7 @@ export const UserTokensApiAxiosParamCreator = function (configuration?: Configur
10083
10338
  * @param {*} [options] Override http request option.
10084
10339
  * @throws {RequiredError}
10085
10340
  */
10086
- allUserTokens: async (userId?: string | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10341
+ allUserTokens: async (userId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10087
10342
  const localVarPath = `/api/v2/user-tokens`;
10088
10343
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10089
10344
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10132,7 +10387,7 @@ export const UserTokensApiAxiosParamCreator = function (configuration?: Configur
10132
10387
  * @param {*} [options] Override http request option.
10133
10388
  * @throws {RequiredError}
10134
10389
  */
10135
- createUserToken: async (createUserToken: CreateUserToken, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10390
+ createUserToken: async (createUserToken: CreateUserToken, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10136
10391
  // verify required parameter 'createUserToken' is not null or undefined
10137
10392
  assertParamExists('createUserToken', 'createUserToken', createUserToken)
10138
10393
  const localVarPath = `/api/v2/user-tokens`;
@@ -10174,7 +10429,7 @@ export const UserTokensApiAxiosParamCreator = function (configuration?: Configur
10174
10429
  * @param {*} [options] Override http request option.
10175
10430
  * @throws {RequiredError}
10176
10431
  */
10177
- deleteUserToken: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10432
+ deleteUserToken: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10178
10433
  // verify required parameter 'id' is not null or undefined
10179
10434
  assertParamExists('deleteUserToken', 'id', id)
10180
10435
  const localVarPath = `/api/v2/user-tokens/{id}`
@@ -10214,7 +10469,7 @@ export const UserTokensApiAxiosParamCreator = function (configuration?: Configur
10214
10469
  * @param {*} [options] Override http request option.
10215
10470
  * @throws {RequiredError}
10216
10471
  */
10217
- getUserToken: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10472
+ getUserToken: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10218
10473
  // verify required parameter 'id' is not null or undefined
10219
10474
  assertParamExists('getUserToken', 'id', id)
10220
10475
  const localVarPath = `/api/v2/user-tokens/{id}`
@@ -10266,9 +10521,11 @@ export const UserTokensApiFp = function(configuration?: Configuration) {
10266
10521
  * @param {*} [options] Override http request option.
10267
10522
  * @throws {RequiredError}
10268
10523
  */
10269
- async allUserTokens(userId?: string | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllUserTokens200Response>> {
10524
+ async allUserTokens(userId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllUserTokens200Response>> {
10270
10525
  const localVarAxiosArgs = await localVarAxiosParamCreator.allUserTokens(userId, page, perPage, options);
10271
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10526
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10527
+ const localVarOperationServerBasePath = operationServerMap['UserTokensApi.allUserTokens']?.[localVarOperationServerIndex]?.url;
10528
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10272
10529
  },
10273
10530
  /**
10274
10531
  *
@@ -10276,9 +10533,11 @@ export const UserTokensApiFp = function(configuration?: Configuration) {
10276
10533
  * @param {*} [options] Override http request option.
10277
10534
  * @throws {RequiredError}
10278
10535
  */
10279
- async createUserToken(createUserToken: CreateUserToken, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatedUserToken>> {
10536
+ async createUserToken(createUserToken: CreateUserToken, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatedUserToken>> {
10280
10537
  const localVarAxiosArgs = await localVarAxiosParamCreator.createUserToken(createUserToken, options);
10281
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10538
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10539
+ const localVarOperationServerBasePath = operationServerMap['UserTokensApi.createUserToken']?.[localVarOperationServerIndex]?.url;
10540
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10282
10541
  },
10283
10542
  /**
10284
10543
  *
@@ -10286,9 +10545,11 @@ export const UserTokensApiFp = function(configuration?: Configuration) {
10286
10545
  * @param {*} [options] Override http request option.
10287
10546
  * @throws {RequiredError}
10288
10547
  */
10289
- async deleteUserToken(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10548
+ async deleteUserToken(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10290
10549
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserToken(id, options);
10291
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10550
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10551
+ const localVarOperationServerBasePath = operationServerMap['UserTokensApi.deleteUserToken']?.[localVarOperationServerIndex]?.url;
10552
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10292
10553
  },
10293
10554
  /**
10294
10555
  *
@@ -10296,9 +10557,11 @@ export const UserTokensApiFp = function(configuration?: Configuration) {
10296
10557
  * @param {*} [options] Override http request option.
10297
10558
  * @throws {RequiredError}
10298
10559
  */
10299
- async getUserToken(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserToken>> {
10560
+ async getUserToken(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserToken>> {
10300
10561
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUserToken(id, options);
10301
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10562
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10563
+ const localVarOperationServerBasePath = operationServerMap['UserTokensApi.getUserToken']?.[localVarOperationServerIndex]?.url;
10564
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10302
10565
  },
10303
10566
  }
10304
10567
  };
@@ -10316,7 +10579,7 @@ export const UserTokensApiFactory = function (configuration?: Configuration, bas
10316
10579
  * @param {*} [options] Override http request option.
10317
10580
  * @throws {RequiredError}
10318
10581
  */
10319
- allUserTokens(requestParameters: UserTokensApiAllUserTokensRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllUserTokens200Response> {
10582
+ allUserTokens(requestParameters: UserTokensApiAllUserTokensRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllUserTokens200Response> {
10320
10583
  return localVarFp.allUserTokens(requestParameters.userId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
10321
10584
  },
10322
10585
  /**
@@ -10325,7 +10588,7 @@ export const UserTokensApiFactory = function (configuration?: Configuration, bas
10325
10588
  * @param {*} [options] Override http request option.
10326
10589
  * @throws {RequiredError}
10327
10590
  */
10328
- createUserToken(requestParameters: UserTokensApiCreateUserTokenRequest, options?: AxiosRequestConfig): AxiosPromise<CreatedUserToken> {
10591
+ createUserToken(requestParameters: UserTokensApiCreateUserTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreatedUserToken> {
10329
10592
  return localVarFp.createUserToken(requestParameters.createUserToken, options).then((request) => request(axios, basePath));
10330
10593
  },
10331
10594
  /**
@@ -10334,7 +10597,7 @@ export const UserTokensApiFactory = function (configuration?: Configuration, bas
10334
10597
  * @param {*} [options] Override http request option.
10335
10598
  * @throws {RequiredError}
10336
10599
  */
10337
- deleteUserToken(requestParameters: UserTokensApiDeleteUserTokenRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
10600
+ deleteUserToken(requestParameters: UserTokensApiDeleteUserTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
10338
10601
  return localVarFp.deleteUserToken(requestParameters.id, options).then((request) => request(axios, basePath));
10339
10602
  },
10340
10603
  /**
@@ -10343,7 +10606,7 @@ export const UserTokensApiFactory = function (configuration?: Configuration, bas
10343
10606
  * @param {*} [options] Override http request option.
10344
10607
  * @throws {RequiredError}
10345
10608
  */
10346
- getUserToken(requestParameters: UserTokensApiGetUserTokenRequest, options?: AxiosRequestConfig): AxiosPromise<UserToken> {
10609
+ getUserToken(requestParameters: UserTokensApiGetUserTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserToken> {
10347
10610
  return localVarFp.getUserToken(requestParameters.id, options).then((request) => request(axios, basePath));
10348
10611
  },
10349
10612
  };
@@ -10433,7 +10696,7 @@ export class UserTokensApi extends BaseAPI {
10433
10696
  * @throws {RequiredError}
10434
10697
  * @memberof UserTokensApi
10435
10698
  */
10436
- public allUserTokens(requestParameters: UserTokensApiAllUserTokensRequest = {}, options?: AxiosRequestConfig) {
10699
+ public allUserTokens(requestParameters: UserTokensApiAllUserTokensRequest = {}, options?: RawAxiosRequestConfig) {
10437
10700
  return UserTokensApiFp(this.configuration).allUserTokens(requestParameters.userId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
10438
10701
  }
10439
10702
 
@@ -10444,7 +10707,7 @@ export class UserTokensApi extends BaseAPI {
10444
10707
  * @throws {RequiredError}
10445
10708
  * @memberof UserTokensApi
10446
10709
  */
10447
- public createUserToken(requestParameters: UserTokensApiCreateUserTokenRequest, options?: AxiosRequestConfig) {
10710
+ public createUserToken(requestParameters: UserTokensApiCreateUserTokenRequest, options?: RawAxiosRequestConfig) {
10448
10711
  return UserTokensApiFp(this.configuration).createUserToken(requestParameters.createUserToken, options).then((request) => request(this.axios, this.basePath));
10449
10712
  }
10450
10713
 
@@ -10455,7 +10718,7 @@ export class UserTokensApi extends BaseAPI {
10455
10718
  * @throws {RequiredError}
10456
10719
  * @memberof UserTokensApi
10457
10720
  */
10458
- public deleteUserToken(requestParameters: UserTokensApiDeleteUserTokenRequest, options?: AxiosRequestConfig) {
10721
+ public deleteUserToken(requestParameters: UserTokensApiDeleteUserTokenRequest, options?: RawAxiosRequestConfig) {
10459
10722
  return UserTokensApiFp(this.configuration).deleteUserToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
10460
10723
  }
10461
10724
 
@@ -10466,7 +10729,7 @@ export class UserTokensApi extends BaseAPI {
10466
10729
  * @throws {RequiredError}
10467
10730
  * @memberof UserTokensApi
10468
10731
  */
10469
- public getUserToken(requestParameters: UserTokensApiGetUserTokenRequest, options?: AxiosRequestConfig) {
10732
+ public getUserToken(requestParameters: UserTokensApiGetUserTokenRequest, options?: RawAxiosRequestConfig) {
10470
10733
  return UserTokensApiFp(this.configuration).getUserToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
10471
10734
  }
10472
10735
  }
@@ -10489,7 +10752,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
10489
10752
  * @param {*} [options] Override http request option.
10490
10753
  * @throws {RequiredError}
10491
10754
  */
10492
- allUsers: async (displayName?: string | null, email?: string | null, isActive?: boolean | null, page?: number | null, perPage?: number | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10755
+ allUsers: async (displayName?: string | null, email?: string | null, isActive?: boolean | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10493
10756
  const localVarPath = `/api/v2/users`;
10494
10757
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10495
10758
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10546,7 +10809,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
10546
10809
  * @param {*} [options] Override http request option.
10547
10810
  * @throws {RequiredError}
10548
10811
  */
10549
- getUser: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10812
+ getUser: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10550
10813
  // verify required parameter 'id' is not null or undefined
10551
10814
  assertParamExists('getUser', 'id', id)
10552
10815
  const localVarPath = `/api/v2/users/{id}`
@@ -10587,7 +10850,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
10587
10850
  * @param {*} [options] Override http request option.
10588
10851
  * @throws {RequiredError}
10589
10852
  */
10590
- updateUser: async (id: string, updateUser: UpdateUser, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10853
+ updateUser: async (id: string, updateUser: UpdateUser, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10591
10854
  // verify required parameter 'id' is not null or undefined
10592
10855
  assertParamExists('updateUser', 'id', id)
10593
10856
  // verify required parameter 'updateUser' is not null or undefined
@@ -10646,9 +10909,11 @@ export const UsersApiFp = function(configuration?: Configuration) {
10646
10909
  * @param {*} [options] Override http request option.
10647
10910
  * @throws {RequiredError}
10648
10911
  */
10649
- async allUsers(displayName?: string | null, email?: string | null, isActive?: boolean | null, page?: number | null, perPage?: number | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllUsers200Response>> {
10912
+ async allUsers(displayName?: string | null, email?: string | null, isActive?: boolean | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllUsers200Response>> {
10650
10913
  const localVarAxiosArgs = await localVarAxiosParamCreator.allUsers(displayName, email, isActive, page, perPage, options);
10651
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10914
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10915
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.allUsers']?.[localVarOperationServerIndex]?.url;
10916
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10652
10917
  },
10653
10918
  /**
10654
10919
  *
@@ -10656,9 +10921,11 @@ export const UsersApiFp = function(configuration?: Configuration) {
10656
10921
  * @param {*} [options] Override http request option.
10657
10922
  * @throws {RequiredError}
10658
10923
  */
10659
- async getUser(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>> {
10924
+ async getUser(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>> {
10660
10925
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(id, options);
10661
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10926
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10927
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.getUser']?.[localVarOperationServerIndex]?.url;
10928
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10662
10929
  },
10663
10930
  /**
10664
10931
  *
@@ -10667,9 +10934,11 @@ export const UsersApiFp = function(configuration?: Configuration) {
10667
10934
  * @param {*} [options] Override http request option.
10668
10935
  * @throws {RequiredError}
10669
10936
  */
10670
- async updateUser(id: string, updateUser: UpdateUser, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>> {
10937
+ async updateUser(id: string, updateUser: UpdateUser, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>> {
10671
10938
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(id, updateUser, options);
10672
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10939
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10940
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.updateUser']?.[localVarOperationServerIndex]?.url;
10941
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10673
10942
  },
10674
10943
  }
10675
10944
  };
@@ -10687,7 +10956,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
10687
10956
  * @param {*} [options] Override http request option.
10688
10957
  * @throws {RequiredError}
10689
10958
  */
10690
- allUsers(requestParameters: UsersApiAllUsersRequest = {}, options?: AxiosRequestConfig): AxiosPromise<AllUsers200Response> {
10959
+ allUsers(requestParameters: UsersApiAllUsersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllUsers200Response> {
10691
10960
  return localVarFp.allUsers(requestParameters.displayName, requestParameters.email, requestParameters.isActive, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
10692
10961
  },
10693
10962
  /**
@@ -10696,7 +10965,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
10696
10965
  * @param {*} [options] Override http request option.
10697
10966
  * @throws {RequiredError}
10698
10967
  */
10699
- getUser(requestParameters: UsersApiGetUserRequest, options?: AxiosRequestConfig): AxiosPromise<User> {
10968
+ getUser(requestParameters: UsersApiGetUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<User> {
10700
10969
  return localVarFp.getUser(requestParameters.id, options).then((request) => request(axios, basePath));
10701
10970
  },
10702
10971
  /**
@@ -10705,7 +10974,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
10705
10974
  * @param {*} [options] Override http request option.
10706
10975
  * @throws {RequiredError}
10707
10976
  */
10708
- updateUser(requestParameters: UsersApiUpdateUserRequest, options?: AxiosRequestConfig): AxiosPromise<User> {
10977
+ updateUser(requestParameters: UsersApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<User> {
10709
10978
  return localVarFp.updateUser(requestParameters.id, requestParameters.updateUser, options).then((request) => request(axios, basePath));
10710
10979
  },
10711
10980
  };
@@ -10802,7 +11071,7 @@ export class UsersApi extends BaseAPI {
10802
11071
  * @throws {RequiredError}
10803
11072
  * @memberof UsersApi
10804
11073
  */
10805
- public allUsers(requestParameters: UsersApiAllUsersRequest = {}, options?: AxiosRequestConfig) {
11074
+ public allUsers(requestParameters: UsersApiAllUsersRequest = {}, options?: RawAxiosRequestConfig) {
10806
11075
  return UsersApiFp(this.configuration).allUsers(requestParameters.displayName, requestParameters.email, requestParameters.isActive, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
10807
11076
  }
10808
11077
 
@@ -10813,7 +11082,7 @@ export class UsersApi extends BaseAPI {
10813
11082
  * @throws {RequiredError}
10814
11083
  * @memberof UsersApi
10815
11084
  */
10816
- public getUser(requestParameters: UsersApiGetUserRequest, options?: AxiosRequestConfig) {
11085
+ public getUser(requestParameters: UsersApiGetUserRequest, options?: RawAxiosRequestConfig) {
10817
11086
  return UsersApiFp(this.configuration).getUser(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
10818
11087
  }
10819
11088
 
@@ -10824,7 +11093,7 @@ export class UsersApi extends BaseAPI {
10824
11093
  * @throws {RequiredError}
10825
11094
  * @memberof UsersApi
10826
11095
  */
10827
- public updateUser(requestParameters: UsersApiUpdateUserRequest, options?: AxiosRequestConfig) {
11096
+ public updateUser(requestParameters: UsersApiUpdateUserRequest, options?: RawAxiosRequestConfig) {
10828
11097
  return UsersApiFp(this.configuration).updateUser(requestParameters.id, requestParameters.updateUser, options).then((request) => request(this.axios, this.basePath));
10829
11098
  }
10830
11099
  }