@platzio/sdk 0.5.3-beta.4 → 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.
- package/.github/workflows/release.yaml +19 -8
- package/dist/api.d.ts +7831 -0
- package/dist/api.js +4987 -0
- package/dist/api.js.map +1 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +69 -0
- package/dist/base.js.map +1 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +147 -0
- package/dist/common.js.map +1 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +44 -0
- package/dist/configuration.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/openapi.yaml +213 -2
- package/package.json +3 -3
- package/src/.openapi-generator/VERSION +1 -0
- package/{api.ts → src/api.ts} +674 -523
- package/{base.ts → src/base.ts} +2 -2
- package/{common.ts → src/common.ts} +1 -1
- package/.openapi-generator/VERSION +0 -1
- package/openapitools.json +0 -7
- /package/{.openapi-generator → src/.openapi-generator}/FILES +0 -0
- /package/{.openapi-generator-ignore → src/.openapi-generator-ignore} +0 -0
- /package/{configuration.ts → src/configuration.ts} +0 -0
- /package/{git_push.sh → src/git_push.sh} +0 -0
- /package/{index.ts → src/index.ts} +0 -0
package/{api.ts → src/api.ts}
RENAMED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import type { Configuration } from './configuration';
|
|
17
|
-
import type { AxiosPromise, AxiosInstance,
|
|
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
|
|
@@ -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'
|
|
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'
|
|
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'
|
|
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
|
-
'
|
|
336
|
+
'execute_at': string;
|
|
325
337
|
/**
|
|
326
338
|
*
|
|
327
339
|
* @type {string}
|
|
328
340
|
* @memberof AllDeploymentTasks200ResponseItemsInner
|
|
329
341
|
*/
|
|
330
|
-
'
|
|
342
|
+
'first_attempted_at': string | null;
|
|
331
343
|
/**
|
|
332
344
|
*
|
|
333
345
|
* @type {string}
|
|
334
346
|
* @memberof AllDeploymentTasks200ResponseItemsInner
|
|
335
347
|
*/
|
|
336
|
-
'
|
|
348
|
+
'started_at': string | null;
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @type {string}
|
|
352
|
+
* @memberof AllDeploymentTasks200ResponseItemsInner
|
|
353
|
+
*/
|
|
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'
|
|
372
|
+
'acting_user_id': string | null;
|
|
355
373
|
/**
|
|
356
374
|
*
|
|
357
375
|
* @type {string}
|
|
358
376
|
* @memberof AllDeploymentTasks200ResponseItemsInner
|
|
359
377
|
*/
|
|
360
|
-
'acting_deployment_id'
|
|
378
|
+
'acting_deployment_id': string | null;
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* @type {string}
|
|
382
|
+
* @memberof AllDeploymentTasks200ResponseItemsInner
|
|
383
|
+
*/
|
|
384
|
+
'canceled_by_user_id': string | null;
|
|
385
|
+
/**
|
|
386
|
+
*
|
|
387
|
+
* @type {string}
|
|
388
|
+
* @memberof AllDeploymentTasks200ResponseItemsInner
|
|
389
|
+
*/
|
|
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'
|
|
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'
|
|
502
|
+
'description_md': string | null;
|
|
467
503
|
/**
|
|
468
504
|
*
|
|
469
505
|
* @type {string}
|
|
470
506
|
* @memberof AllDeployments200ResponseItemsInner
|
|
471
507
|
*/
|
|
472
|
-
'reason'
|
|
508
|
+
'reason': string | null;
|
|
473
509
|
/**
|
|
474
510
|
*
|
|
475
511
|
* @type {string}
|
|
476
512
|
* @memberof AllDeployments200ResponseItemsInner
|
|
477
513
|
*/
|
|
478
|
-
'revision_id'
|
|
514
|
+
'revision_id': string | null;
|
|
479
515
|
/**
|
|
480
516
|
*
|
|
481
517
|
* @type {DeploymentReportedStatus}
|
|
482
518
|
* @memberof AllDeployments200ResponseItemsInner
|
|
483
519
|
*/
|
|
484
|
-
'reported_status'
|
|
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'
|
|
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'
|
|
764
|
+
'values_ui': UiSchema | null;
|
|
729
765
|
/**
|
|
730
766
|
*
|
|
731
767
|
* @type {ChartExtActions}
|
|
732
768
|
* @memberof AllHelmCharts200ResponseItemsInner
|
|
733
769
|
*/
|
|
734
|
-
'actions_schema'
|
|
770
|
+
'actions_schema': ChartExtActions | null;
|
|
735
771
|
/**
|
|
736
772
|
*
|
|
737
773
|
* @type {ChartExtFeatures}
|
|
738
774
|
* @memberof AllHelmCharts200ResponseItemsInner
|
|
739
775
|
*/
|
|
740
|
-
'features'
|
|
776
|
+
'features': ChartExtFeatures | null;
|
|
741
777
|
/**
|
|
742
778
|
*
|
|
743
779
|
* @type {Array<ChartExtResourceType>}
|
|
744
780
|
* @memberof AllHelmCharts200ResponseItemsInner
|
|
745
781
|
*/
|
|
746
|
-
'resource_types'
|
|
782
|
+
'resource_types': Array<ChartExtResourceType> | null;
|
|
747
783
|
/**
|
|
748
784
|
*
|
|
749
785
|
* @type {string}
|
|
750
786
|
* @memberof AllHelmCharts200ResponseItemsInner
|
|
751
787
|
*/
|
|
752
|
-
'error'
|
|
788
|
+
'error': string | null;
|
|
753
789
|
/**
|
|
754
790
|
*
|
|
755
791
|
* @type {string}
|
|
756
792
|
* @memberof AllHelmCharts200ResponseItemsInner
|
|
757
793
|
*/
|
|
758
|
-
'tag_format_id'
|
|
794
|
+
'tag_format_id': string | null;
|
|
759
795
|
/**
|
|
760
796
|
*
|
|
761
797
|
* @type {string}
|
|
762
798
|
* @memberof AllHelmCharts200ResponseItemsInner
|
|
763
799
|
*/
|
|
764
|
-
'parsed_version'
|
|
800
|
+
'parsed_version': string | null;
|
|
765
801
|
/**
|
|
766
802
|
*
|
|
767
803
|
* @type {string}
|
|
768
804
|
* @memberof AllHelmCharts200ResponseItemsInner
|
|
769
805
|
*/
|
|
770
|
-
'parsed_revision'
|
|
806
|
+
'parsed_revision': string | null;
|
|
771
807
|
/**
|
|
772
808
|
*
|
|
773
809
|
* @type {string}
|
|
774
810
|
* @memberof AllHelmCharts200ResponseItemsInner
|
|
775
811
|
*/
|
|
776
|
-
'parsed_branch'
|
|
812
|
+
'parsed_branch': string | null;
|
|
777
813
|
/**
|
|
778
814
|
*
|
|
779
815
|
* @type {string}
|
|
780
816
|
* @memberof AllHelmCharts200ResponseItemsInner
|
|
781
817
|
*/
|
|
782
|
-
'parsed_commit'
|
|
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'
|
|
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'
|
|
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'
|
|
1064
|
+
'ingress_domain': string | null;
|
|
1023
1065
|
/**
|
|
1024
1066
|
*
|
|
1025
1067
|
* @type {string}
|
|
1026
1068
|
* @memberof AllK8sClusters200ResponseItemsInner
|
|
1027
1069
|
*/
|
|
1028
|
-
'ingress_class'
|
|
1070
|
+
'ingress_class': string | null;
|
|
1029
1071
|
/**
|
|
1030
1072
|
*
|
|
1031
1073
|
* @type {string}
|
|
1032
1074
|
* @memberof AllK8sClusters200ResponseItemsInner
|
|
1033
1075
|
*/
|
|
1034
|
-
'ingress_tls_secret_name'
|
|
1076
|
+
'ingress_tls_secret_name': string | null;
|
|
1035
1077
|
/**
|
|
1036
1078
|
*
|
|
1037
1079
|
* @type {string}
|
|
1038
1080
|
* @memberof AllK8sClusters200ResponseItemsInner
|
|
1039
1081
|
*/
|
|
1040
|
-
'grafana_url'
|
|
1082
|
+
'grafana_url': string | null;
|
|
1041
1083
|
/**
|
|
1042
1084
|
*
|
|
1043
1085
|
* @type {string}
|
|
1044
1086
|
* @memberof AllK8sClusters200ResponseItemsInner
|
|
1045
1087
|
*/
|
|
1046
|
-
'grafana_datasource_name'
|
|
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'
|
|
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'
|
|
2397
|
+
'description_md': string | null;
|
|
2329
2398
|
/**
|
|
2330
2399
|
*
|
|
2331
2400
|
* @type {string}
|
|
2332
2401
|
* @memberof Deployment
|
|
2333
2402
|
*/
|
|
2334
|
-
'reason'
|
|
2403
|
+
'reason': string | null;
|
|
2335
2404
|
/**
|
|
2336
2405
|
*
|
|
2337
2406
|
* @type {string}
|
|
2338
2407
|
* @memberof Deployment
|
|
2339
2408
|
*/
|
|
2340
|
-
'revision_id'
|
|
2409
|
+
'revision_id': string | null;
|
|
2341
2410
|
/**
|
|
2342
2411
|
*
|
|
2343
2412
|
* @type {DeploymentReportedStatus}
|
|
2344
2413
|
* @memberof Deployment
|
|
2345
2414
|
*/
|
|
2346
|
-
'reported_status'
|
|
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'
|
|
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'
|
|
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'
|
|
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'
|
|
2674
|
+
'content': DeploymentReportedStatusContent | null;
|
|
2600
2675
|
/**
|
|
2601
2676
|
*
|
|
2602
2677
|
* @type {string}
|
|
2603
2678
|
* @memberof DeploymentReportedStatus
|
|
2604
2679
|
*/
|
|
2605
|
-
'error'
|
|
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'
|
|
2716
|
+
'primary_metric': DeploymentReportedMetric | null;
|
|
2642
2717
|
/**
|
|
2643
2718
|
*
|
|
2644
2719
|
* @type {Array<DeploymentReportedMetric>}
|
|
2645
2720
|
* @memberof DeploymentReportedStatusContent
|
|
2646
2721
|
*/
|
|
2647
|
-
'metrics'
|
|
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'
|
|
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'
|
|
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'
|
|
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
|
-
'
|
|
2943
|
+
'execute_at': string;
|
|
2944
|
+
/**
|
|
2945
|
+
*
|
|
2946
|
+
* @type {string}
|
|
2947
|
+
* @memberof DeploymentTask
|
|
2948
|
+
*/
|
|
2949
|
+
'first_attempted_at': string | null;
|
|
2863
2950
|
/**
|
|
2864
2951
|
*
|
|
2865
2952
|
* @type {string}
|
|
2866
2953
|
* @memberof DeploymentTask
|
|
2867
2954
|
*/
|
|
2868
|
-
'started_at'
|
|
2955
|
+
'started_at': string | null;
|
|
2869
2956
|
/**
|
|
2870
2957
|
*
|
|
2871
2958
|
* @type {string}
|
|
2872
2959
|
* @memberof DeploymentTask
|
|
2873
2960
|
*/
|
|
2874
|
-
'finished_at'
|
|
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'
|
|
2979
|
+
'acting_user_id': string | null;
|
|
2893
2980
|
/**
|
|
2894
2981
|
*
|
|
2895
2982
|
* @type {string}
|
|
2896
2983
|
* @memberof DeploymentTask
|
|
2897
2984
|
*/
|
|
2898
|
-
'acting_deployment_id'
|
|
2985
|
+
'acting_deployment_id': string | null;
|
|
2986
|
+
/**
|
|
2987
|
+
*
|
|
2988
|
+
* @type {string}
|
|
2989
|
+
* @memberof DeploymentTask
|
|
2990
|
+
*/
|
|
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'
|
|
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'
|
|
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'
|
|
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'
|
|
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'
|
|
3326
|
+
'values_ui': UiSchema | null;
|
|
3227
3327
|
/**
|
|
3228
3328
|
*
|
|
3229
3329
|
* @type {ChartExtActions}
|
|
3230
3330
|
* @memberof HelmChart
|
|
3231
3331
|
*/
|
|
3232
|
-
'actions_schema'
|
|
3332
|
+
'actions_schema': ChartExtActions | null;
|
|
3233
3333
|
/**
|
|
3234
3334
|
*
|
|
3235
3335
|
* @type {ChartExtFeatures}
|
|
3236
3336
|
* @memberof HelmChart
|
|
3237
3337
|
*/
|
|
3238
|
-
'features'
|
|
3338
|
+
'features': ChartExtFeatures | null;
|
|
3239
3339
|
/**
|
|
3240
3340
|
*
|
|
3241
3341
|
* @type {Array<ChartExtResourceType>}
|
|
3242
3342
|
* @memberof HelmChart
|
|
3243
3343
|
*/
|
|
3244
|
-
'resource_types'
|
|
3344
|
+
'resource_types': Array<ChartExtResourceType> | null;
|
|
3245
3345
|
/**
|
|
3246
3346
|
*
|
|
3247
3347
|
* @type {string}
|
|
3248
3348
|
* @memberof HelmChart
|
|
3249
3349
|
*/
|
|
3250
|
-
'error'
|
|
3350
|
+
'error': string | null;
|
|
3251
3351
|
/**
|
|
3252
3352
|
*
|
|
3253
3353
|
* @type {string}
|
|
3254
3354
|
* @memberof HelmChart
|
|
3255
3355
|
*/
|
|
3256
|
-
'tag_format_id'
|
|
3356
|
+
'tag_format_id': string | null;
|
|
3257
3357
|
/**
|
|
3258
3358
|
*
|
|
3259
3359
|
* @type {string}
|
|
3260
3360
|
* @memberof HelmChart
|
|
3261
3361
|
*/
|
|
3262
|
-
'parsed_version'
|
|
3362
|
+
'parsed_version': string | null;
|
|
3263
3363
|
/**
|
|
3264
3364
|
*
|
|
3265
3365
|
* @type {string}
|
|
3266
3366
|
* @memberof HelmChart
|
|
3267
3367
|
*/
|
|
3268
|
-
'parsed_revision'
|
|
3368
|
+
'parsed_revision': string | null;
|
|
3269
3369
|
/**
|
|
3270
3370
|
*
|
|
3271
3371
|
* @type {string}
|
|
3272
3372
|
* @memberof HelmChart
|
|
3273
3373
|
*/
|
|
3274
|
-
'parsed_branch'
|
|
3374
|
+
'parsed_branch': string | null;
|
|
3275
3375
|
/**
|
|
3276
3376
|
*
|
|
3277
3377
|
* @type {string}
|
|
3278
3378
|
* @memberof HelmChart
|
|
3279
3379
|
*/
|
|
3280
|
-
'parsed_commit'
|
|
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'
|
|
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'
|
|
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'
|
|
3533
|
+
'ingress_domain': string | null;
|
|
3428
3534
|
/**
|
|
3429
3535
|
*
|
|
3430
3536
|
* @type {string}
|
|
3431
3537
|
* @memberof K8sCluster
|
|
3432
3538
|
*/
|
|
3433
|
-
'ingress_class'
|
|
3539
|
+
'ingress_class': string | null;
|
|
3434
3540
|
/**
|
|
3435
3541
|
*
|
|
3436
3542
|
* @type {string}
|
|
3437
3543
|
* @memberof K8sCluster
|
|
3438
3544
|
*/
|
|
3439
|
-
'ingress_tls_secret_name'
|
|
3545
|
+
'ingress_tls_secret_name': string | null;
|
|
3440
3546
|
/**
|
|
3441
3547
|
*
|
|
3442
3548
|
* @type {string}
|
|
3443
3549
|
* @memberof K8sCluster
|
|
3444
3550
|
*/
|
|
3445
|
-
'grafana_url'
|
|
3551
|
+
'grafana_url': string | null;
|
|
3446
3552
|
/**
|
|
3447
3553
|
*
|
|
3448
3554
|
* @type {string}
|
|
3449
3555
|
* @memberof K8sCluster
|
|
3450
3556
|
*/
|
|
3451
|
-
'grafana_datasource_name'
|
|
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'
|
|
3712
|
+
'config': any | null;
|
|
3601
3713
|
/**
|
|
3602
3714
|
*
|
|
3603
3715
|
* @type {any}
|
|
3604
3716
|
* @memberof NewDeployment
|
|
3605
3717
|
*/
|
|
3606
|
-
'values_override'
|
|
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
|
-
'
|
|
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'
|
|
3764
|
+
'id': string | null;
|
|
3653
3765
|
/**
|
|
3654
3766
|
*
|
|
3655
3767
|
* @type {string}
|
|
3656
3768
|
* @memberof NewDeploymentResource
|
|
3657
3769
|
*/
|
|
3658
|
-
'created_at'
|
|
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'
|
|
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'
|
|
3821
|
+
'auto_add_new_users': boolean | null;
|
|
3710
3822
|
}
|
|
3711
3823
|
/**
|
|
3712
3824
|
*
|
|
@@ -3931,10 +4043,10 @@ export interface UiSchemaInput {
|
|
|
3931
4043
|
'itemType'?: string | null;
|
|
3932
4044
|
/**
|
|
3933
4045
|
*
|
|
3934
|
-
* @type {
|
|
4046
|
+
* @type {any}
|
|
3935
4047
|
* @memberof UiSchemaInput
|
|
3936
4048
|
*/
|
|
3937
|
-
'collection'?:
|
|
4049
|
+
'collection'?: any | null;
|
|
3938
4050
|
/**
|
|
3939
4051
|
*
|
|
3940
4052
|
* @type {string}
|
|
@@ -4274,43 +4386,43 @@ export interface UpdateDeployment {
|
|
|
4274
4386
|
* @type {string}
|
|
4275
4387
|
* @memberof UpdateDeployment
|
|
4276
4388
|
*/
|
|
4277
|
-
'name'
|
|
4389
|
+
'name': string | null;
|
|
4278
4390
|
/**
|
|
4279
4391
|
*
|
|
4280
4392
|
* @type {string}
|
|
4281
4393
|
* @memberof UpdateDeployment
|
|
4282
4394
|
*/
|
|
4283
|
-
'cluster_id'
|
|
4395
|
+
'cluster_id': string | null;
|
|
4284
4396
|
/**
|
|
4285
4397
|
*
|
|
4286
4398
|
* @type {string}
|
|
4287
4399
|
* @memberof UpdateDeployment
|
|
4288
4400
|
*/
|
|
4289
|
-
'helm_chart_id'
|
|
4401
|
+
'helm_chart_id': string | null;
|
|
4290
4402
|
/**
|
|
4291
4403
|
*
|
|
4292
4404
|
* @type {any}
|
|
4293
4405
|
* @memberof UpdateDeployment
|
|
4294
4406
|
*/
|
|
4295
|
-
'config'
|
|
4407
|
+
'config': any | null;
|
|
4296
4408
|
/**
|
|
4297
4409
|
*
|
|
4298
4410
|
* @type {any}
|
|
4299
4411
|
* @memberof UpdateDeployment
|
|
4300
4412
|
*/
|
|
4301
|
-
'values_override'
|
|
4413
|
+
'values_override': any | null;
|
|
4302
4414
|
/**
|
|
4303
4415
|
*
|
|
4304
4416
|
* @type {boolean}
|
|
4305
4417
|
* @memberof UpdateDeployment
|
|
4306
4418
|
*/
|
|
4307
|
-
'enabled'
|
|
4419
|
+
'enabled': boolean | null;
|
|
4308
4420
|
/**
|
|
4309
4421
|
*
|
|
4310
4422
|
* @type {string}
|
|
4311
4423
|
* @memberof UpdateDeployment
|
|
4312
4424
|
*/
|
|
4313
|
-
'description_md'
|
|
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'
|
|
4438
|
+
'name': string | null;
|
|
4327
4439
|
/**
|
|
4328
4440
|
*
|
|
4329
4441
|
* @type {any}
|
|
4330
4442
|
* @memberof UpdateDeploymentResource
|
|
4331
4443
|
*/
|
|
4332
|
-
'props'
|
|
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'
|
|
4457
|
+
'name': string | null;
|
|
4346
4458
|
/**
|
|
4347
4459
|
*
|
|
4348
4460
|
* @type {any}
|
|
4349
4461
|
* @memberof UpdateEnv
|
|
4350
4462
|
*/
|
|
4351
|
-
'node_selector'
|
|
4463
|
+
'node_selector': any | null;
|
|
4352
4464
|
/**
|
|
4353
4465
|
*
|
|
4354
4466
|
* @type {any}
|
|
4355
4467
|
* @memberof UpdateEnv
|
|
4356
4468
|
*/
|
|
4357
|
-
'tolerations'
|
|
4469
|
+
'tolerations': any | null;
|
|
4358
4470
|
/**
|
|
4359
4471
|
*
|
|
4360
4472
|
* @type {boolean}
|
|
4361
4473
|
* @memberof UpdateEnv
|
|
4362
4474
|
*/
|
|
4363
|
-
'auto_add_new_users'
|
|
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'
|
|
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'
|
|
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'
|
|
4550
|
+
'name': string | null;
|
|
4439
4551
|
/**
|
|
4440
4552
|
*
|
|
4441
4553
|
* @type {string}
|
|
4442
4554
|
* @memberof UpdateSecretApi
|
|
4443
4555
|
*/
|
|
4444
|
-
'contents'
|
|
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'
|
|
4569
|
+
'is_admin': boolean | null;
|
|
4458
4570
|
/**
|
|
4459
4571
|
*
|
|
4460
4572
|
* @type {boolean}
|
|
4461
4573
|
* @memberof UpdateUser
|
|
4462
4574
|
*/
|
|
4463
|
-
'is_active'
|
|
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:
|
|
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:
|
|
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:
|
|
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,11 +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?:
|
|
4781
|
+
async authMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MeResponse>> {
|
|
4670
4782
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authMe(options);
|
|
4671
|
-
const
|
|
4672
|
-
const
|
|
4673
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
4674
4786
|
},
|
|
4675
4787
|
/**
|
|
4676
4788
|
*
|
|
@@ -4678,22 +4790,22 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
|
|
|
4678
4790
|
* @param {*} [options] Override http request option.
|
|
4679
4791
|
* @throws {RequiredError}
|
|
4680
4792
|
*/
|
|
4681
|
-
async finishGoogleLogin(oAuth2Response: OAuth2Response, options?:
|
|
4793
|
+
async finishGoogleLogin(oAuth2Response: OAuth2Response, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FinishGoogleLoginResponse>> {
|
|
4682
4794
|
const localVarAxiosArgs = await localVarAxiosParamCreator.finishGoogleLogin(oAuth2Response, options);
|
|
4683
|
-
const
|
|
4684
|
-
const
|
|
4685
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
4686
4798
|
},
|
|
4687
4799
|
/**
|
|
4688
4800
|
*
|
|
4689
4801
|
* @param {*} [options] Override http request option.
|
|
4690
4802
|
* @throws {RequiredError}
|
|
4691
4803
|
*/
|
|
4692
|
-
async startGoogleLogin(options?:
|
|
4804
|
+
async startGoogleLogin(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StartGoogleLoginResponse>> {
|
|
4693
4805
|
const localVarAxiosArgs = await localVarAxiosParamCreator.startGoogleLogin(options);
|
|
4694
|
-
const
|
|
4695
|
-
const
|
|
4696
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
4697
4809
|
},
|
|
4698
4810
|
}
|
|
4699
4811
|
};
|
|
@@ -4710,7 +4822,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
|
|
|
4710
4822
|
* @param {*} [options] Override http request option.
|
|
4711
4823
|
* @throws {RequiredError}
|
|
4712
4824
|
*/
|
|
4713
|
-
authMe(options?:
|
|
4825
|
+
authMe(options?: RawAxiosRequestConfig): AxiosPromise<MeResponse> {
|
|
4714
4826
|
return localVarFp.authMe(options).then((request) => request(axios, basePath));
|
|
4715
4827
|
},
|
|
4716
4828
|
/**
|
|
@@ -4719,7 +4831,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
|
|
|
4719
4831
|
* @param {*} [options] Override http request option.
|
|
4720
4832
|
* @throws {RequiredError}
|
|
4721
4833
|
*/
|
|
4722
|
-
finishGoogleLogin(requestParameters: AuthenticationApiFinishGoogleLoginRequest, options?:
|
|
4834
|
+
finishGoogleLogin(requestParameters: AuthenticationApiFinishGoogleLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<FinishGoogleLoginResponse> {
|
|
4723
4835
|
return localVarFp.finishGoogleLogin(requestParameters.oAuth2Response, options).then((request) => request(axios, basePath));
|
|
4724
4836
|
},
|
|
4725
4837
|
/**
|
|
@@ -4727,7 +4839,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
|
|
|
4727
4839
|
* @param {*} [options] Override http request option.
|
|
4728
4840
|
* @throws {RequiredError}
|
|
4729
4841
|
*/
|
|
4730
|
-
startGoogleLogin(options?:
|
|
4842
|
+
startGoogleLogin(options?: RawAxiosRequestConfig): AxiosPromise<StartGoogleLoginResponse> {
|
|
4731
4843
|
return localVarFp.startGoogleLogin(options).then((request) => request(axios, basePath));
|
|
4732
4844
|
},
|
|
4733
4845
|
};
|
|
@@ -4760,7 +4872,7 @@ export class AuthenticationApi extends BaseAPI {
|
|
|
4760
4872
|
* @throws {RequiredError}
|
|
4761
4873
|
* @memberof AuthenticationApi
|
|
4762
4874
|
*/
|
|
4763
|
-
public authMe(options?:
|
|
4875
|
+
public authMe(options?: RawAxiosRequestConfig) {
|
|
4764
4876
|
return AuthenticationApiFp(this.configuration).authMe(options).then((request) => request(this.axios, this.basePath));
|
|
4765
4877
|
}
|
|
4766
4878
|
|
|
@@ -4771,7 +4883,7 @@ export class AuthenticationApi extends BaseAPI {
|
|
|
4771
4883
|
* @throws {RequiredError}
|
|
4772
4884
|
* @memberof AuthenticationApi
|
|
4773
4885
|
*/
|
|
4774
|
-
public finishGoogleLogin(requestParameters: AuthenticationApiFinishGoogleLoginRequest, options?:
|
|
4886
|
+
public finishGoogleLogin(requestParameters: AuthenticationApiFinishGoogleLoginRequest, options?: RawAxiosRequestConfig) {
|
|
4775
4887
|
return AuthenticationApiFp(this.configuration).finishGoogleLogin(requestParameters.oAuth2Response, options).then((request) => request(this.axios, this.basePath));
|
|
4776
4888
|
}
|
|
4777
4889
|
|
|
@@ -4781,7 +4893,7 @@ export class AuthenticationApi extends BaseAPI {
|
|
|
4781
4893
|
* @throws {RequiredError}
|
|
4782
4894
|
* @memberof AuthenticationApi
|
|
4783
4895
|
*/
|
|
4784
|
-
public startGoogleLogin(options?:
|
|
4896
|
+
public startGoogleLogin(options?: RawAxiosRequestConfig) {
|
|
4785
4897
|
return AuthenticationApiFp(this.configuration).startGoogleLogin(options).then((request) => request(this.axios, this.basePath));
|
|
4786
4898
|
}
|
|
4787
4899
|
}
|
|
@@ -4802,7 +4914,7 @@ export const DeploymentPermissionsApiAxiosParamCreator = function (configuration
|
|
|
4802
4914
|
* @param {*} [options] Override http request option.
|
|
4803
4915
|
* @throws {RequiredError}
|
|
4804
4916
|
*/
|
|
4805
|
-
allDeploymentPermissions: async (envId?: string | null, page?: number | null, perPage?: number | null, options:
|
|
4917
|
+
allDeploymentPermissions: async (envId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4806
4918
|
const localVarPath = `/api/v2/deployment-permissions`;
|
|
4807
4919
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4808
4920
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4851,7 +4963,7 @@ export const DeploymentPermissionsApiAxiosParamCreator = function (configuration
|
|
|
4851
4963
|
* @param {*} [options] Override http request option.
|
|
4852
4964
|
* @throws {RequiredError}
|
|
4853
4965
|
*/
|
|
4854
|
-
createDeploymentPermission: async (newDeploymentPermission: NewDeploymentPermission, options:
|
|
4966
|
+
createDeploymentPermission: async (newDeploymentPermission: NewDeploymentPermission, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4855
4967
|
// verify required parameter 'newDeploymentPermission' is not null or undefined
|
|
4856
4968
|
assertParamExists('createDeploymentPermission', 'newDeploymentPermission', newDeploymentPermission)
|
|
4857
4969
|
const localVarPath = `/api/v2/deployment-permissions`;
|
|
@@ -4893,7 +5005,7 @@ export const DeploymentPermissionsApiAxiosParamCreator = function (configuration
|
|
|
4893
5005
|
* @param {*} [options] Override http request option.
|
|
4894
5006
|
* @throws {RequiredError}
|
|
4895
5007
|
*/
|
|
4896
|
-
deleteDeploymentPermission: async (id: string, options:
|
|
5008
|
+
deleteDeploymentPermission: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4897
5009
|
// verify required parameter 'id' is not null or undefined
|
|
4898
5010
|
assertParamExists('deleteDeploymentPermission', 'id', id)
|
|
4899
5011
|
const localVarPath = `/api/v2/deployment-permissions/{id}`
|
|
@@ -4933,7 +5045,7 @@ export const DeploymentPermissionsApiAxiosParamCreator = function (configuration
|
|
|
4933
5045
|
* @param {*} [options] Override http request option.
|
|
4934
5046
|
* @throws {RequiredError}
|
|
4935
5047
|
*/
|
|
4936
|
-
getDeploymentPermission: async (id: string, options:
|
|
5048
|
+
getDeploymentPermission: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4937
5049
|
// verify required parameter 'id' is not null or undefined
|
|
4938
5050
|
assertParamExists('getDeploymentPermission', 'id', id)
|
|
4939
5051
|
const localVarPath = `/api/v2/deployment-permissions/{id}`
|
|
@@ -4985,11 +5097,11 @@ export const DeploymentPermissionsApiFp = function(configuration?: Configuration
|
|
|
4985
5097
|
* @param {*} [options] Override http request option.
|
|
4986
5098
|
* @throws {RequiredError}
|
|
4987
5099
|
*/
|
|
4988
|
-
async allDeploymentPermissions(envId?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
5100
|
+
async allDeploymentPermissions(envId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentPermissions200Response>> {
|
|
4989
5101
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentPermissions(envId, page, perPage, options);
|
|
4990
|
-
const
|
|
4991
|
-
const
|
|
4992
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
4993
5105
|
},
|
|
4994
5106
|
/**
|
|
4995
5107
|
*
|
|
@@ -4997,11 +5109,11 @@ export const DeploymentPermissionsApiFp = function(configuration?: Configuration
|
|
|
4997
5109
|
* @param {*} [options] Override http request option.
|
|
4998
5110
|
* @throws {RequiredError}
|
|
4999
5111
|
*/
|
|
5000
|
-
async createDeploymentPermission(newDeploymentPermission: NewDeploymentPermission, options?:
|
|
5112
|
+
async createDeploymentPermission(newDeploymentPermission: NewDeploymentPermission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentPermission>> {
|
|
5001
5113
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createDeploymentPermission(newDeploymentPermission, options);
|
|
5002
|
-
const
|
|
5003
|
-
const
|
|
5004
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
5005
5117
|
},
|
|
5006
5118
|
/**
|
|
5007
5119
|
*
|
|
@@ -5009,11 +5121,11 @@ export const DeploymentPermissionsApiFp = function(configuration?: Configuration
|
|
|
5009
5121
|
* @param {*} [options] Override http request option.
|
|
5010
5122
|
* @throws {RequiredError}
|
|
5011
5123
|
*/
|
|
5012
|
-
async deleteDeploymentPermission(id: string, options?:
|
|
5124
|
+
async deleteDeploymentPermission(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
5013
5125
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeploymentPermission(id, options);
|
|
5014
|
-
const
|
|
5015
|
-
const
|
|
5016
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
5017
5129
|
},
|
|
5018
5130
|
/**
|
|
5019
5131
|
*
|
|
@@ -5021,11 +5133,11 @@ export const DeploymentPermissionsApiFp = function(configuration?: Configuration
|
|
|
5021
5133
|
* @param {*} [options] Override http request option.
|
|
5022
5134
|
* @throws {RequiredError}
|
|
5023
5135
|
*/
|
|
5024
|
-
async getDeploymentPermission(id: string, options?:
|
|
5136
|
+
async getDeploymentPermission(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentPermission>> {
|
|
5025
5137
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentPermission(id, options);
|
|
5026
|
-
const
|
|
5027
|
-
const
|
|
5028
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
5029
5141
|
},
|
|
5030
5142
|
}
|
|
5031
5143
|
};
|
|
@@ -5043,7 +5155,7 @@ export const DeploymentPermissionsApiFactory = function (configuration?: Configu
|
|
|
5043
5155
|
* @param {*} [options] Override http request option.
|
|
5044
5156
|
* @throws {RequiredError}
|
|
5045
5157
|
*/
|
|
5046
|
-
allDeploymentPermissions(requestParameters: DeploymentPermissionsApiAllDeploymentPermissionsRequest = {}, options?:
|
|
5158
|
+
allDeploymentPermissions(requestParameters: DeploymentPermissionsApiAllDeploymentPermissionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllDeploymentPermissions200Response> {
|
|
5047
5159
|
return localVarFp.allDeploymentPermissions(requestParameters.envId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
5048
5160
|
},
|
|
5049
5161
|
/**
|
|
@@ -5052,7 +5164,7 @@ export const DeploymentPermissionsApiFactory = function (configuration?: Configu
|
|
|
5052
5164
|
* @param {*} [options] Override http request option.
|
|
5053
5165
|
* @throws {RequiredError}
|
|
5054
5166
|
*/
|
|
5055
|
-
createDeploymentPermission(requestParameters: DeploymentPermissionsApiCreateDeploymentPermissionRequest, options?:
|
|
5167
|
+
createDeploymentPermission(requestParameters: DeploymentPermissionsApiCreateDeploymentPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentPermission> {
|
|
5056
5168
|
return localVarFp.createDeploymentPermission(requestParameters.newDeploymentPermission, options).then((request) => request(axios, basePath));
|
|
5057
5169
|
},
|
|
5058
5170
|
/**
|
|
@@ -5061,7 +5173,7 @@ export const DeploymentPermissionsApiFactory = function (configuration?: Configu
|
|
|
5061
5173
|
* @param {*} [options] Override http request option.
|
|
5062
5174
|
* @throws {RequiredError}
|
|
5063
5175
|
*/
|
|
5064
|
-
deleteDeploymentPermission(requestParameters: DeploymentPermissionsApiDeleteDeploymentPermissionRequest, options?:
|
|
5176
|
+
deleteDeploymentPermission(requestParameters: DeploymentPermissionsApiDeleteDeploymentPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
5065
5177
|
return localVarFp.deleteDeploymentPermission(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5066
5178
|
},
|
|
5067
5179
|
/**
|
|
@@ -5070,7 +5182,7 @@ export const DeploymentPermissionsApiFactory = function (configuration?: Configu
|
|
|
5070
5182
|
* @param {*} [options] Override http request option.
|
|
5071
5183
|
* @throws {RequiredError}
|
|
5072
5184
|
*/
|
|
5073
|
-
getDeploymentPermission(requestParameters: DeploymentPermissionsApiGetDeploymentPermissionRequest, options?:
|
|
5185
|
+
getDeploymentPermission(requestParameters: DeploymentPermissionsApiGetDeploymentPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentPermission> {
|
|
5074
5186
|
return localVarFp.getDeploymentPermission(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5075
5187
|
},
|
|
5076
5188
|
};
|
|
@@ -5160,7 +5272,7 @@ export class DeploymentPermissionsApi extends BaseAPI {
|
|
|
5160
5272
|
* @throws {RequiredError}
|
|
5161
5273
|
* @memberof DeploymentPermissionsApi
|
|
5162
5274
|
*/
|
|
5163
|
-
public allDeploymentPermissions(requestParameters: DeploymentPermissionsApiAllDeploymentPermissionsRequest = {}, options?:
|
|
5275
|
+
public allDeploymentPermissions(requestParameters: DeploymentPermissionsApiAllDeploymentPermissionsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
5164
5276
|
return DeploymentPermissionsApiFp(this.configuration).allDeploymentPermissions(requestParameters.envId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
5165
5277
|
}
|
|
5166
5278
|
|
|
@@ -5171,7 +5283,7 @@ export class DeploymentPermissionsApi extends BaseAPI {
|
|
|
5171
5283
|
* @throws {RequiredError}
|
|
5172
5284
|
* @memberof DeploymentPermissionsApi
|
|
5173
5285
|
*/
|
|
5174
|
-
public createDeploymentPermission(requestParameters: DeploymentPermissionsApiCreateDeploymentPermissionRequest, options?:
|
|
5286
|
+
public createDeploymentPermission(requestParameters: DeploymentPermissionsApiCreateDeploymentPermissionRequest, options?: RawAxiosRequestConfig) {
|
|
5175
5287
|
return DeploymentPermissionsApiFp(this.configuration).createDeploymentPermission(requestParameters.newDeploymentPermission, options).then((request) => request(this.axios, this.basePath));
|
|
5176
5288
|
}
|
|
5177
5289
|
|
|
@@ -5182,7 +5294,7 @@ export class DeploymentPermissionsApi extends BaseAPI {
|
|
|
5182
5294
|
* @throws {RequiredError}
|
|
5183
5295
|
* @memberof DeploymentPermissionsApi
|
|
5184
5296
|
*/
|
|
5185
|
-
public deleteDeploymentPermission(requestParameters: DeploymentPermissionsApiDeleteDeploymentPermissionRequest, options?:
|
|
5297
|
+
public deleteDeploymentPermission(requestParameters: DeploymentPermissionsApiDeleteDeploymentPermissionRequest, options?: RawAxiosRequestConfig) {
|
|
5186
5298
|
return DeploymentPermissionsApiFp(this.configuration).deleteDeploymentPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5187
5299
|
}
|
|
5188
5300
|
|
|
@@ -5193,7 +5305,7 @@ export class DeploymentPermissionsApi extends BaseAPI {
|
|
|
5193
5305
|
* @throws {RequiredError}
|
|
5194
5306
|
* @memberof DeploymentPermissionsApi
|
|
5195
5307
|
*/
|
|
5196
|
-
public getDeploymentPermission(requestParameters: DeploymentPermissionsApiGetDeploymentPermissionRequest, options?:
|
|
5308
|
+
public getDeploymentPermission(requestParameters: DeploymentPermissionsApiGetDeploymentPermissionRequest, options?: RawAxiosRequestConfig) {
|
|
5197
5309
|
return DeploymentPermissionsApiFp(this.configuration).getDeploymentPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5198
5310
|
}
|
|
5199
5311
|
}
|
|
@@ -5210,13 +5322,14 @@ export const DeploymentResourceTypesApiAxiosParamCreator = function (configurati
|
|
|
5210
5322
|
*
|
|
5211
5323
|
* @param {string | null} [envId]
|
|
5212
5324
|
* @param {string | null} [deploymentKind]
|
|
5325
|
+
* @param {string | null} [deploymentKindId]
|
|
5213
5326
|
* @param {string | null} [key]
|
|
5214
5327
|
* @param {number | null} [page]
|
|
5215
5328
|
* @param {number | null} [perPage]
|
|
5216
5329
|
* @param {*} [options] Override http request option.
|
|
5217
5330
|
* @throws {RequiredError}
|
|
5218
5331
|
*/
|
|
5219
|
-
allDeploymentResourceTypes: async (envId?: string | null, deploymentKind?: string | null, key?: string | null, page?: number | null, perPage?: number | null, options:
|
|
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> => {
|
|
5220
5333
|
const localVarPath = `/api/v2/deployment-resource-types`;
|
|
5221
5334
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5222
5335
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5244,6 +5357,10 @@ export const DeploymentResourceTypesApiAxiosParamCreator = function (configurati
|
|
|
5244
5357
|
localVarQueryParameter['deployment_kind'] = deploymentKind;
|
|
5245
5358
|
}
|
|
5246
5359
|
|
|
5360
|
+
if (deploymentKindId !== undefined) {
|
|
5361
|
+
localVarQueryParameter['deployment_kind_id'] = deploymentKindId;
|
|
5362
|
+
}
|
|
5363
|
+
|
|
5247
5364
|
if (key !== undefined) {
|
|
5248
5365
|
localVarQueryParameter['key'] = key;
|
|
5249
5366
|
}
|
|
@@ -5273,7 +5390,7 @@ export const DeploymentResourceTypesApiAxiosParamCreator = function (configurati
|
|
|
5273
5390
|
* @param {*} [options] Override http request option.
|
|
5274
5391
|
* @throws {RequiredError}
|
|
5275
5392
|
*/
|
|
5276
|
-
getDeploymentResourceType: async (id: string, options:
|
|
5393
|
+
getDeploymentResourceType: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5277
5394
|
// verify required parameter 'id' is not null or undefined
|
|
5278
5395
|
assertParamExists('getDeploymentResourceType', 'id', id)
|
|
5279
5396
|
const localVarPath = `/api/v2/deployment-resource-types/{id}`
|
|
@@ -5321,17 +5438,18 @@ export const DeploymentResourceTypesApiFp = function(configuration?: Configurati
|
|
|
5321
5438
|
*
|
|
5322
5439
|
* @param {string | null} [envId]
|
|
5323
5440
|
* @param {string | null} [deploymentKind]
|
|
5441
|
+
* @param {string | null} [deploymentKindId]
|
|
5324
5442
|
* @param {string | null} [key]
|
|
5325
5443
|
* @param {number | null} [page]
|
|
5326
5444
|
* @param {number | null} [perPage]
|
|
5327
5445
|
* @param {*} [options] Override http request option.
|
|
5328
5446
|
* @throws {RequiredError}
|
|
5329
5447
|
*/
|
|
5330
|
-
async allDeploymentResourceTypes(envId?: string | null, deploymentKind?: string | null, key?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
5331
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentResourceTypes(envId, deploymentKind, key, page, perPage, options);
|
|
5332
|
-
const
|
|
5333
|
-
const
|
|
5334
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
5335
5453
|
},
|
|
5336
5454
|
/**
|
|
5337
5455
|
*
|
|
@@ -5339,11 +5457,11 @@ export const DeploymentResourceTypesApiFp = function(configuration?: Configurati
|
|
|
5339
5457
|
* @param {*} [options] Override http request option.
|
|
5340
5458
|
* @throws {RequiredError}
|
|
5341
5459
|
*/
|
|
5342
|
-
async getDeploymentResourceType(id: string, options?:
|
|
5460
|
+
async getDeploymentResourceType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResourceType>> {
|
|
5343
5461
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentResourceType(id, options);
|
|
5344
|
-
const
|
|
5345
|
-
const
|
|
5346
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
5347
5465
|
},
|
|
5348
5466
|
}
|
|
5349
5467
|
};
|
|
@@ -5361,8 +5479,8 @@ export const DeploymentResourceTypesApiFactory = function (configuration?: Confi
|
|
|
5361
5479
|
* @param {*} [options] Override http request option.
|
|
5362
5480
|
* @throws {RequiredError}
|
|
5363
5481
|
*/
|
|
5364
|
-
allDeploymentResourceTypes(requestParameters: DeploymentResourceTypesApiAllDeploymentResourceTypesRequest = {}, options?:
|
|
5365
|
-
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));
|
|
5366
5484
|
},
|
|
5367
5485
|
/**
|
|
5368
5486
|
*
|
|
@@ -5370,7 +5488,7 @@ export const DeploymentResourceTypesApiFactory = function (configuration?: Confi
|
|
|
5370
5488
|
* @param {*} [options] Override http request option.
|
|
5371
5489
|
* @throws {RequiredError}
|
|
5372
5490
|
*/
|
|
5373
|
-
getDeploymentResourceType(requestParameters: DeploymentResourceTypesApiGetDeploymentResourceTypeRequest, options?:
|
|
5491
|
+
getDeploymentResourceType(requestParameters: DeploymentResourceTypesApiGetDeploymentResourceTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentResourceType> {
|
|
5374
5492
|
return localVarFp.getDeploymentResourceType(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5375
5493
|
},
|
|
5376
5494
|
};
|
|
@@ -5396,6 +5514,13 @@ export interface DeploymentResourceTypesApiAllDeploymentResourceTypesRequest {
|
|
|
5396
5514
|
*/
|
|
5397
5515
|
readonly deploymentKind?: string | null
|
|
5398
5516
|
|
|
5517
|
+
/**
|
|
5518
|
+
*
|
|
5519
|
+
* @type {string}
|
|
5520
|
+
* @memberof DeploymentResourceTypesApiAllDeploymentResourceTypes
|
|
5521
|
+
*/
|
|
5522
|
+
readonly deploymentKindId?: string | null
|
|
5523
|
+
|
|
5399
5524
|
/**
|
|
5400
5525
|
*
|
|
5401
5526
|
* @type {string}
|
|
@@ -5446,8 +5571,8 @@ export class DeploymentResourceTypesApi extends BaseAPI {
|
|
|
5446
5571
|
* @throws {RequiredError}
|
|
5447
5572
|
* @memberof DeploymentResourceTypesApi
|
|
5448
5573
|
*/
|
|
5449
|
-
public allDeploymentResourceTypes(requestParameters: DeploymentResourceTypesApiAllDeploymentResourceTypesRequest = {}, options?:
|
|
5450
|
-
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));
|
|
5451
5576
|
}
|
|
5452
5577
|
|
|
5453
5578
|
/**
|
|
@@ -5457,7 +5582,7 @@ export class DeploymentResourceTypesApi extends BaseAPI {
|
|
|
5457
5582
|
* @throws {RequiredError}
|
|
5458
5583
|
* @memberof DeploymentResourceTypesApi
|
|
5459
5584
|
*/
|
|
5460
|
-
public getDeploymentResourceType(requestParameters: DeploymentResourceTypesApiGetDeploymentResourceTypeRequest, options?:
|
|
5585
|
+
public getDeploymentResourceType(requestParameters: DeploymentResourceTypesApiGetDeploymentResourceTypeRequest, options?: RawAxiosRequestConfig) {
|
|
5461
5586
|
return DeploymentResourceTypesApiFp(this.configuration).getDeploymentResourceType(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5462
5587
|
}
|
|
5463
5588
|
}
|
|
@@ -5478,7 +5603,7 @@ export const DeploymentResourcesApiAxiosParamCreator = function (configuration?:
|
|
|
5478
5603
|
* @param {*} [options] Override http request option.
|
|
5479
5604
|
* @throws {RequiredError}
|
|
5480
5605
|
*/
|
|
5481
|
-
allDeploymentResources: async (typeId?: string | null, page?: number | null, perPage?: number | null, options:
|
|
5606
|
+
allDeploymentResources: async (typeId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5482
5607
|
const localVarPath = `/api/v2/deployment-resources`;
|
|
5483
5608
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5484
5609
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5527,7 +5652,7 @@ export const DeploymentResourcesApiAxiosParamCreator = function (configuration?:
|
|
|
5527
5652
|
* @param {*} [options] Override http request option.
|
|
5528
5653
|
* @throws {RequiredError}
|
|
5529
5654
|
*/
|
|
5530
|
-
createDeploymentResource: async (newDeploymentResource: NewDeploymentResource, options:
|
|
5655
|
+
createDeploymentResource: async (newDeploymentResource: NewDeploymentResource, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5531
5656
|
// verify required parameter 'newDeploymentResource' is not null or undefined
|
|
5532
5657
|
assertParamExists('createDeploymentResource', 'newDeploymentResource', newDeploymentResource)
|
|
5533
5658
|
const localVarPath = `/api/v2/deployment-resources`;
|
|
@@ -5569,7 +5694,7 @@ export const DeploymentResourcesApiAxiosParamCreator = function (configuration?:
|
|
|
5569
5694
|
* @param {*} [options] Override http request option.
|
|
5570
5695
|
* @throws {RequiredError}
|
|
5571
5696
|
*/
|
|
5572
|
-
deleteDeploymentResource: async (id: string, options:
|
|
5697
|
+
deleteDeploymentResource: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5573
5698
|
// verify required parameter 'id' is not null or undefined
|
|
5574
5699
|
assertParamExists('deleteDeploymentResource', 'id', id)
|
|
5575
5700
|
const localVarPath = `/api/v2/deployment-resources/{id}`
|
|
@@ -5609,7 +5734,7 @@ export const DeploymentResourcesApiAxiosParamCreator = function (configuration?:
|
|
|
5609
5734
|
* @param {*} [options] Override http request option.
|
|
5610
5735
|
* @throws {RequiredError}
|
|
5611
5736
|
*/
|
|
5612
|
-
getDeploymentResource: async (id: string, options:
|
|
5737
|
+
getDeploymentResource: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5613
5738
|
// verify required parameter 'id' is not null or undefined
|
|
5614
5739
|
assertParamExists('getDeploymentResource', 'id', id)
|
|
5615
5740
|
const localVarPath = `/api/v2/deployment-resources/{id}`
|
|
@@ -5650,7 +5775,7 @@ export const DeploymentResourcesApiAxiosParamCreator = function (configuration?:
|
|
|
5650
5775
|
* @param {*} [options] Override http request option.
|
|
5651
5776
|
* @throws {RequiredError}
|
|
5652
5777
|
*/
|
|
5653
|
-
updateDeploymentResource: async (id: string, updateDeploymentResource: UpdateDeploymentResource, options:
|
|
5778
|
+
updateDeploymentResource: async (id: string, updateDeploymentResource: UpdateDeploymentResource, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5654
5779
|
// verify required parameter 'id' is not null or undefined
|
|
5655
5780
|
assertParamExists('updateDeploymentResource', 'id', id)
|
|
5656
5781
|
// verify required parameter 'updateDeploymentResource' is not null or undefined
|
|
@@ -5707,11 +5832,11 @@ export const DeploymentResourcesApiFp = function(configuration?: Configuration)
|
|
|
5707
5832
|
* @param {*} [options] Override http request option.
|
|
5708
5833
|
* @throws {RequiredError}
|
|
5709
5834
|
*/
|
|
5710
|
-
async allDeploymentResources(typeId?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
5835
|
+
async allDeploymentResources(typeId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentResources200Response>> {
|
|
5711
5836
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentResources(typeId, page, perPage, options);
|
|
5712
|
-
const
|
|
5713
|
-
const
|
|
5714
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
5715
5840
|
},
|
|
5716
5841
|
/**
|
|
5717
5842
|
*
|
|
@@ -5719,11 +5844,11 @@ export const DeploymentResourcesApiFp = function(configuration?: Configuration)
|
|
|
5719
5844
|
* @param {*} [options] Override http request option.
|
|
5720
5845
|
* @throws {RequiredError}
|
|
5721
5846
|
*/
|
|
5722
|
-
async createDeploymentResource(newDeploymentResource: NewDeploymentResource, options?:
|
|
5847
|
+
async createDeploymentResource(newDeploymentResource: NewDeploymentResource, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResource>> {
|
|
5723
5848
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createDeploymentResource(newDeploymentResource, options);
|
|
5724
|
-
const
|
|
5725
|
-
const
|
|
5726
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
5727
5852
|
},
|
|
5728
5853
|
/**
|
|
5729
5854
|
*
|
|
@@ -5731,11 +5856,11 @@ export const DeploymentResourcesApiFp = function(configuration?: Configuration)
|
|
|
5731
5856
|
* @param {*} [options] Override http request option.
|
|
5732
5857
|
* @throws {RequiredError}
|
|
5733
5858
|
*/
|
|
5734
|
-
async deleteDeploymentResource(id: string, options?:
|
|
5859
|
+
async deleteDeploymentResource(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
5735
5860
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeploymentResource(id, options);
|
|
5736
|
-
const
|
|
5737
|
-
const
|
|
5738
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
5739
5864
|
},
|
|
5740
5865
|
/**
|
|
5741
5866
|
*
|
|
@@ -5743,11 +5868,11 @@ export const DeploymentResourcesApiFp = function(configuration?: Configuration)
|
|
|
5743
5868
|
* @param {*} [options] Override http request option.
|
|
5744
5869
|
* @throws {RequiredError}
|
|
5745
5870
|
*/
|
|
5746
|
-
async getDeploymentResource(id: string, options?:
|
|
5871
|
+
async getDeploymentResource(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResource>> {
|
|
5747
5872
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentResource(id, options);
|
|
5748
|
-
const
|
|
5749
|
-
const
|
|
5750
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
5751
5876
|
},
|
|
5752
5877
|
/**
|
|
5753
5878
|
*
|
|
@@ -5756,11 +5881,11 @@ export const DeploymentResourcesApiFp = function(configuration?: Configuration)
|
|
|
5756
5881
|
* @param {*} [options] Override http request option.
|
|
5757
5882
|
* @throws {RequiredError}
|
|
5758
5883
|
*/
|
|
5759
|
-
async updateDeploymentResource(id: string, updateDeploymentResource: UpdateDeploymentResource, options?:
|
|
5884
|
+
async updateDeploymentResource(id: string, updateDeploymentResource: UpdateDeploymentResource, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentResource>> {
|
|
5760
5885
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDeploymentResource(id, updateDeploymentResource, options);
|
|
5761
|
-
const
|
|
5762
|
-
const
|
|
5763
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
5764
5889
|
},
|
|
5765
5890
|
}
|
|
5766
5891
|
};
|
|
@@ -5778,7 +5903,7 @@ export const DeploymentResourcesApiFactory = function (configuration?: Configura
|
|
|
5778
5903
|
* @param {*} [options] Override http request option.
|
|
5779
5904
|
* @throws {RequiredError}
|
|
5780
5905
|
*/
|
|
5781
|
-
allDeploymentResources(requestParameters: DeploymentResourcesApiAllDeploymentResourcesRequest = {}, options?:
|
|
5906
|
+
allDeploymentResources(requestParameters: DeploymentResourcesApiAllDeploymentResourcesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllDeploymentResources200Response> {
|
|
5782
5907
|
return localVarFp.allDeploymentResources(requestParameters.typeId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
5783
5908
|
},
|
|
5784
5909
|
/**
|
|
@@ -5787,7 +5912,7 @@ export const DeploymentResourcesApiFactory = function (configuration?: Configura
|
|
|
5787
5912
|
* @param {*} [options] Override http request option.
|
|
5788
5913
|
* @throws {RequiredError}
|
|
5789
5914
|
*/
|
|
5790
|
-
createDeploymentResource(requestParameters: DeploymentResourcesApiCreateDeploymentResourceRequest, options?:
|
|
5915
|
+
createDeploymentResource(requestParameters: DeploymentResourcesApiCreateDeploymentResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentResource> {
|
|
5791
5916
|
return localVarFp.createDeploymentResource(requestParameters.newDeploymentResource, options).then((request) => request(axios, basePath));
|
|
5792
5917
|
},
|
|
5793
5918
|
/**
|
|
@@ -5796,7 +5921,7 @@ export const DeploymentResourcesApiFactory = function (configuration?: Configura
|
|
|
5796
5921
|
* @param {*} [options] Override http request option.
|
|
5797
5922
|
* @throws {RequiredError}
|
|
5798
5923
|
*/
|
|
5799
|
-
deleteDeploymentResource(requestParameters: DeploymentResourcesApiDeleteDeploymentResourceRequest, options?:
|
|
5924
|
+
deleteDeploymentResource(requestParameters: DeploymentResourcesApiDeleteDeploymentResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
5800
5925
|
return localVarFp.deleteDeploymentResource(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5801
5926
|
},
|
|
5802
5927
|
/**
|
|
@@ -5805,7 +5930,7 @@ export const DeploymentResourcesApiFactory = function (configuration?: Configura
|
|
|
5805
5930
|
* @param {*} [options] Override http request option.
|
|
5806
5931
|
* @throws {RequiredError}
|
|
5807
5932
|
*/
|
|
5808
|
-
getDeploymentResource(requestParameters: DeploymentResourcesApiGetDeploymentResourceRequest, options?:
|
|
5933
|
+
getDeploymentResource(requestParameters: DeploymentResourcesApiGetDeploymentResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentResource> {
|
|
5809
5934
|
return localVarFp.getDeploymentResource(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5810
5935
|
},
|
|
5811
5936
|
/**
|
|
@@ -5814,7 +5939,7 @@ export const DeploymentResourcesApiFactory = function (configuration?: Configura
|
|
|
5814
5939
|
* @param {*} [options] Override http request option.
|
|
5815
5940
|
* @throws {RequiredError}
|
|
5816
5941
|
*/
|
|
5817
|
-
updateDeploymentResource(requestParameters: DeploymentResourcesApiUpdateDeploymentResourceRequest, options?:
|
|
5942
|
+
updateDeploymentResource(requestParameters: DeploymentResourcesApiUpdateDeploymentResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentResource> {
|
|
5818
5943
|
return localVarFp.updateDeploymentResource(requestParameters.id, requestParameters.updateDeploymentResource, options).then((request) => request(axios, basePath));
|
|
5819
5944
|
},
|
|
5820
5945
|
};
|
|
@@ -5925,7 +6050,7 @@ export class DeploymentResourcesApi extends BaseAPI {
|
|
|
5925
6050
|
* @throws {RequiredError}
|
|
5926
6051
|
* @memberof DeploymentResourcesApi
|
|
5927
6052
|
*/
|
|
5928
|
-
public allDeploymentResources(requestParameters: DeploymentResourcesApiAllDeploymentResourcesRequest = {}, options?:
|
|
6053
|
+
public allDeploymentResources(requestParameters: DeploymentResourcesApiAllDeploymentResourcesRequest = {}, options?: RawAxiosRequestConfig) {
|
|
5929
6054
|
return DeploymentResourcesApiFp(this.configuration).allDeploymentResources(requestParameters.typeId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
5930
6055
|
}
|
|
5931
6056
|
|
|
@@ -5936,7 +6061,7 @@ export class DeploymentResourcesApi extends BaseAPI {
|
|
|
5936
6061
|
* @throws {RequiredError}
|
|
5937
6062
|
* @memberof DeploymentResourcesApi
|
|
5938
6063
|
*/
|
|
5939
|
-
public createDeploymentResource(requestParameters: DeploymentResourcesApiCreateDeploymentResourceRequest, options?:
|
|
6064
|
+
public createDeploymentResource(requestParameters: DeploymentResourcesApiCreateDeploymentResourceRequest, options?: RawAxiosRequestConfig) {
|
|
5940
6065
|
return DeploymentResourcesApiFp(this.configuration).createDeploymentResource(requestParameters.newDeploymentResource, options).then((request) => request(this.axios, this.basePath));
|
|
5941
6066
|
}
|
|
5942
6067
|
|
|
@@ -5947,7 +6072,7 @@ export class DeploymentResourcesApi extends BaseAPI {
|
|
|
5947
6072
|
* @throws {RequiredError}
|
|
5948
6073
|
* @memberof DeploymentResourcesApi
|
|
5949
6074
|
*/
|
|
5950
|
-
public deleteDeploymentResource(requestParameters: DeploymentResourcesApiDeleteDeploymentResourceRequest, options?:
|
|
6075
|
+
public deleteDeploymentResource(requestParameters: DeploymentResourcesApiDeleteDeploymentResourceRequest, options?: RawAxiosRequestConfig) {
|
|
5951
6076
|
return DeploymentResourcesApiFp(this.configuration).deleteDeploymentResource(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5952
6077
|
}
|
|
5953
6078
|
|
|
@@ -5958,7 +6083,7 @@ export class DeploymentResourcesApi extends BaseAPI {
|
|
|
5958
6083
|
* @throws {RequiredError}
|
|
5959
6084
|
* @memberof DeploymentResourcesApi
|
|
5960
6085
|
*/
|
|
5961
|
-
public getDeploymentResource(requestParameters: DeploymentResourcesApiGetDeploymentResourceRequest, options?:
|
|
6086
|
+
public getDeploymentResource(requestParameters: DeploymentResourcesApiGetDeploymentResourceRequest, options?: RawAxiosRequestConfig) {
|
|
5962
6087
|
return DeploymentResourcesApiFp(this.configuration).getDeploymentResource(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5963
6088
|
}
|
|
5964
6089
|
|
|
@@ -5969,7 +6094,7 @@ export class DeploymentResourcesApi extends BaseAPI {
|
|
|
5969
6094
|
* @throws {RequiredError}
|
|
5970
6095
|
* @memberof DeploymentResourcesApi
|
|
5971
6096
|
*/
|
|
5972
|
-
public updateDeploymentResource(requestParameters: DeploymentResourcesApiUpdateDeploymentResourceRequest, options?:
|
|
6097
|
+
public updateDeploymentResource(requestParameters: DeploymentResourcesApiUpdateDeploymentResourceRequest, options?: RawAxiosRequestConfig) {
|
|
5973
6098
|
return DeploymentResourcesApiFp(this.configuration).updateDeploymentResource(requestParameters.id, requestParameters.updateDeploymentResource, options).then((request) => request(this.axios, this.basePath));
|
|
5974
6099
|
}
|
|
5975
6100
|
}
|
|
@@ -5991,7 +6116,7 @@ export const DeploymentTasksApiAxiosParamCreator = function (configuration?: Con
|
|
|
5991
6116
|
* @param {*} [options] Override http request option.
|
|
5992
6117
|
* @throws {RequiredError}
|
|
5993
6118
|
*/
|
|
5994
|
-
allDeploymentTasks: async (clusterId?: string | null, deploymentId?: string | null, page?: number | null, perPage?: number | null, options:
|
|
6119
|
+
allDeploymentTasks: async (clusterId?: string | null, deploymentId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5995
6120
|
const localVarPath = `/api/v2/deployment-tasks`;
|
|
5996
6121
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5997
6122
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6044,7 +6169,7 @@ export const DeploymentTasksApiAxiosParamCreator = function (configuration?: Con
|
|
|
6044
6169
|
* @param {*} [options] Override http request option.
|
|
6045
6170
|
* @throws {RequiredError}
|
|
6046
6171
|
*/
|
|
6047
|
-
createDeploymentTask: async (createDeploymentTask: CreateDeploymentTask, options:
|
|
6172
|
+
createDeploymentTask: async (createDeploymentTask: CreateDeploymentTask, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6048
6173
|
// verify required parameter 'createDeploymentTask' is not null or undefined
|
|
6049
6174
|
assertParamExists('createDeploymentTask', 'createDeploymentTask', createDeploymentTask)
|
|
6050
6175
|
const localVarPath = `/api/v2/deployment-tasks`;
|
|
@@ -6086,7 +6211,7 @@ export const DeploymentTasksApiAxiosParamCreator = function (configuration?: Con
|
|
|
6086
6211
|
* @param {*} [options] Override http request option.
|
|
6087
6212
|
* @throws {RequiredError}
|
|
6088
6213
|
*/
|
|
6089
|
-
getDeploymentTask: async (id: string, options:
|
|
6214
|
+
getDeploymentTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6090
6215
|
// verify required parameter 'id' is not null or undefined
|
|
6091
6216
|
assertParamExists('getDeploymentTask', 'id', id)
|
|
6092
6217
|
const localVarPath = `/api/v2/deployment-tasks/{id}`
|
|
@@ -6139,11 +6264,11 @@ export const DeploymentTasksApiFp = function(configuration?: Configuration) {
|
|
|
6139
6264
|
* @param {*} [options] Override http request option.
|
|
6140
6265
|
* @throws {RequiredError}
|
|
6141
6266
|
*/
|
|
6142
|
-
async allDeploymentTasks(clusterId?: string | null, deploymentId?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
6267
|
+
async allDeploymentTasks(clusterId?: string | null, deploymentId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllDeploymentTasks200Response>> {
|
|
6143
6268
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allDeploymentTasks(clusterId, deploymentId, page, perPage, options);
|
|
6144
|
-
const
|
|
6145
|
-
const
|
|
6146
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
6147
6272
|
},
|
|
6148
6273
|
/**
|
|
6149
6274
|
*
|
|
@@ -6151,11 +6276,11 @@ export const DeploymentTasksApiFp = function(configuration?: Configuration) {
|
|
|
6151
6276
|
* @param {*} [options] Override http request option.
|
|
6152
6277
|
* @throws {RequiredError}
|
|
6153
6278
|
*/
|
|
6154
|
-
async createDeploymentTask(createDeploymentTask: CreateDeploymentTask, options?:
|
|
6279
|
+
async createDeploymentTask(createDeploymentTask: CreateDeploymentTask, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentTask>> {
|
|
6155
6280
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createDeploymentTask(createDeploymentTask, options);
|
|
6156
|
-
const
|
|
6157
|
-
const
|
|
6158
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
6159
6284
|
},
|
|
6160
6285
|
/**
|
|
6161
6286
|
*
|
|
@@ -6163,11 +6288,11 @@ export const DeploymentTasksApiFp = function(configuration?: Configuration) {
|
|
|
6163
6288
|
* @param {*} [options] Override http request option.
|
|
6164
6289
|
* @throws {RequiredError}
|
|
6165
6290
|
*/
|
|
6166
|
-
async getDeploymentTask(id: string, options?:
|
|
6291
|
+
async getDeploymentTask(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentTask>> {
|
|
6167
6292
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentTask(id, options);
|
|
6168
|
-
const
|
|
6169
|
-
const
|
|
6170
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
6171
6296
|
},
|
|
6172
6297
|
}
|
|
6173
6298
|
};
|
|
@@ -6185,7 +6310,7 @@ export const DeploymentTasksApiFactory = function (configuration?: Configuration
|
|
|
6185
6310
|
* @param {*} [options] Override http request option.
|
|
6186
6311
|
* @throws {RequiredError}
|
|
6187
6312
|
*/
|
|
6188
|
-
allDeploymentTasks(requestParameters: DeploymentTasksApiAllDeploymentTasksRequest = {}, options?:
|
|
6313
|
+
allDeploymentTasks(requestParameters: DeploymentTasksApiAllDeploymentTasksRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllDeploymentTasks200Response> {
|
|
6189
6314
|
return localVarFp.allDeploymentTasks(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
6190
6315
|
},
|
|
6191
6316
|
/**
|
|
@@ -6194,7 +6319,7 @@ export const DeploymentTasksApiFactory = function (configuration?: Configuration
|
|
|
6194
6319
|
* @param {*} [options] Override http request option.
|
|
6195
6320
|
* @throws {RequiredError}
|
|
6196
6321
|
*/
|
|
6197
|
-
createDeploymentTask(requestParameters: DeploymentTasksApiCreateDeploymentTaskRequest, options?:
|
|
6322
|
+
createDeploymentTask(requestParameters: DeploymentTasksApiCreateDeploymentTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentTask> {
|
|
6198
6323
|
return localVarFp.createDeploymentTask(requestParameters.createDeploymentTask, options).then((request) => request(axios, basePath));
|
|
6199
6324
|
},
|
|
6200
6325
|
/**
|
|
@@ -6203,7 +6328,7 @@ export const DeploymentTasksApiFactory = function (configuration?: Configuration
|
|
|
6203
6328
|
* @param {*} [options] Override http request option.
|
|
6204
6329
|
* @throws {RequiredError}
|
|
6205
6330
|
*/
|
|
6206
|
-
getDeploymentTask(requestParameters: DeploymentTasksApiGetDeploymentTaskRequest, options?:
|
|
6331
|
+
getDeploymentTask(requestParameters: DeploymentTasksApiGetDeploymentTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentTask> {
|
|
6207
6332
|
return localVarFp.getDeploymentTask(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6208
6333
|
},
|
|
6209
6334
|
};
|
|
@@ -6286,7 +6411,7 @@ export class DeploymentTasksApi extends BaseAPI {
|
|
|
6286
6411
|
* @throws {RequiredError}
|
|
6287
6412
|
* @memberof DeploymentTasksApi
|
|
6288
6413
|
*/
|
|
6289
|
-
public allDeploymentTasks(requestParameters: DeploymentTasksApiAllDeploymentTasksRequest = {}, options?:
|
|
6414
|
+
public allDeploymentTasks(requestParameters: DeploymentTasksApiAllDeploymentTasksRequest = {}, options?: RawAxiosRequestConfig) {
|
|
6290
6415
|
return DeploymentTasksApiFp(this.configuration).allDeploymentTasks(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
6291
6416
|
}
|
|
6292
6417
|
|
|
@@ -6297,7 +6422,7 @@ export class DeploymentTasksApi extends BaseAPI {
|
|
|
6297
6422
|
* @throws {RequiredError}
|
|
6298
6423
|
* @memberof DeploymentTasksApi
|
|
6299
6424
|
*/
|
|
6300
|
-
public createDeploymentTask(requestParameters: DeploymentTasksApiCreateDeploymentTaskRequest, options?:
|
|
6425
|
+
public createDeploymentTask(requestParameters: DeploymentTasksApiCreateDeploymentTaskRequest, options?: RawAxiosRequestConfig) {
|
|
6301
6426
|
return DeploymentTasksApiFp(this.configuration).createDeploymentTask(requestParameters.createDeploymentTask, options).then((request) => request(this.axios, this.basePath));
|
|
6302
6427
|
}
|
|
6303
6428
|
|
|
@@ -6308,7 +6433,7 @@ export class DeploymentTasksApi extends BaseAPI {
|
|
|
6308
6433
|
* @throws {RequiredError}
|
|
6309
6434
|
* @memberof DeploymentTasksApi
|
|
6310
6435
|
*/
|
|
6311
|
-
public getDeploymentTask(requestParameters: DeploymentTasksApiGetDeploymentTaskRequest, options?:
|
|
6436
|
+
public getDeploymentTask(requestParameters: DeploymentTasksApiGetDeploymentTaskRequest, options?: RawAxiosRequestConfig) {
|
|
6312
6437
|
return DeploymentTasksApiFp(this.configuration).getDeploymentTask(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6313
6438
|
}
|
|
6314
6439
|
}
|
|
@@ -6325,6 +6450,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
6325
6450
|
*
|
|
6326
6451
|
* @param {string | null} [name]
|
|
6327
6452
|
* @param {string | null} [kind]
|
|
6453
|
+
* @param {string | null} [kindId]
|
|
6328
6454
|
* @param {string | null} [clusterId]
|
|
6329
6455
|
* @param {boolean | null} [enabled]
|
|
6330
6456
|
* @param {number | null} [page]
|
|
@@ -6332,7 +6458,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
6332
6458
|
* @param {*} [options] Override http request option.
|
|
6333
6459
|
* @throws {RequiredError}
|
|
6334
6460
|
*/
|
|
6335
|
-
allDeployments: async (name?: string | null, kind?: string | null, clusterId?: string | null, enabled?: boolean | null, page?: number | null, perPage?: number | null, options:
|
|
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> => {
|
|
6336
6462
|
const localVarPath = `/api/v2/deployments`;
|
|
6337
6463
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6338
6464
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6360,6 +6486,10 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
6360
6486
|
localVarQueryParameter['kind'] = kind;
|
|
6361
6487
|
}
|
|
6362
6488
|
|
|
6489
|
+
if (kindId !== undefined) {
|
|
6490
|
+
localVarQueryParameter['kind_id'] = kindId;
|
|
6491
|
+
}
|
|
6492
|
+
|
|
6363
6493
|
if (clusterId !== undefined) {
|
|
6364
6494
|
localVarQueryParameter['cluster_id'] = clusterId;
|
|
6365
6495
|
}
|
|
@@ -6393,7 +6523,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
6393
6523
|
* @param {*} [options] Override http request option.
|
|
6394
6524
|
* @throws {RequiredError}
|
|
6395
6525
|
*/
|
|
6396
|
-
createDeployment: async (newDeployment: NewDeployment, options:
|
|
6526
|
+
createDeployment: async (newDeployment: NewDeployment, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6397
6527
|
// verify required parameter 'newDeployment' is not null or undefined
|
|
6398
6528
|
assertParamExists('createDeployment', 'newDeployment', newDeployment)
|
|
6399
6529
|
const localVarPath = `/api/v2/deployments`;
|
|
@@ -6435,7 +6565,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
6435
6565
|
* @param {*} [options] Override http request option.
|
|
6436
6566
|
* @throws {RequiredError}
|
|
6437
6567
|
*/
|
|
6438
|
-
deleteDeployment: async (id: string, options:
|
|
6568
|
+
deleteDeployment: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6439
6569
|
// verify required parameter 'id' is not null or undefined
|
|
6440
6570
|
assertParamExists('deleteDeployment', 'id', id)
|
|
6441
6571
|
const localVarPath = `/api/v2/deployments/{id}`
|
|
@@ -6475,7 +6605,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
6475
6605
|
* @param {*} [options] Override http request option.
|
|
6476
6606
|
* @throws {RequiredError}
|
|
6477
6607
|
*/
|
|
6478
|
-
getDeployment: async (id: string, options:
|
|
6608
|
+
getDeployment: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6479
6609
|
// verify required parameter 'id' is not null or undefined
|
|
6480
6610
|
assertParamExists('getDeployment', 'id', id)
|
|
6481
6611
|
const localVarPath = `/api/v2/deployments/{id}`
|
|
@@ -6516,7 +6646,7 @@ export const DeploymentsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
6516
6646
|
* @param {*} [options] Override http request option.
|
|
6517
6647
|
* @throws {RequiredError}
|
|
6518
6648
|
*/
|
|
6519
|
-
updateDeployment: async (id: string, updateDeployment: UpdateDeployment, options:
|
|
6649
|
+
updateDeployment: async (id: string, updateDeployment: UpdateDeployment, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6520
6650
|
// verify required parameter 'id' is not null or undefined
|
|
6521
6651
|
assertParamExists('updateDeployment', 'id', id)
|
|
6522
6652
|
// verify required parameter 'updateDeployment' is not null or undefined
|
|
@@ -6569,6 +6699,7 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
|
|
|
6569
6699
|
*
|
|
6570
6700
|
* @param {string | null} [name]
|
|
6571
6701
|
* @param {string | null} [kind]
|
|
6702
|
+
* @param {string | null} [kindId]
|
|
6572
6703
|
* @param {string | null} [clusterId]
|
|
6573
6704
|
* @param {boolean | null} [enabled]
|
|
6574
6705
|
* @param {number | null} [page]
|
|
@@ -6576,11 +6707,11 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
|
|
|
6576
6707
|
* @param {*} [options] Override http request option.
|
|
6577
6708
|
* @throws {RequiredError}
|
|
6578
6709
|
*/
|
|
6579
|
-
async allDeployments(name?: string | null, kind?: string | null, clusterId?: string | null, enabled?: boolean | null, page?: number | null, perPage?: number | null, options?:
|
|
6580
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.allDeployments(name, kind, clusterId, enabled, page, perPage, options);
|
|
6581
|
-
const
|
|
6582
|
-
const
|
|
6583
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
6584
6715
|
},
|
|
6585
6716
|
/**
|
|
6586
6717
|
*
|
|
@@ -6588,11 +6719,11 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
|
|
|
6588
6719
|
* @param {*} [options] Override http request option.
|
|
6589
6720
|
* @throws {RequiredError}
|
|
6590
6721
|
*/
|
|
6591
|
-
async createDeployment(newDeployment: NewDeployment, options?:
|
|
6722
|
+
async createDeployment(newDeployment: NewDeployment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Deployment>> {
|
|
6592
6723
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createDeployment(newDeployment, options);
|
|
6593
|
-
const
|
|
6594
|
-
const
|
|
6595
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
6596
6727
|
},
|
|
6597
6728
|
/**
|
|
6598
6729
|
*
|
|
@@ -6600,11 +6731,11 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
|
|
|
6600
6731
|
* @param {*} [options] Override http request option.
|
|
6601
6732
|
* @throws {RequiredError}
|
|
6602
6733
|
*/
|
|
6603
|
-
async deleteDeployment(id: string, options?:
|
|
6734
|
+
async deleteDeployment(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
6604
6735
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeployment(id, options);
|
|
6605
|
-
const
|
|
6606
|
-
const
|
|
6607
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
6608
6739
|
},
|
|
6609
6740
|
/**
|
|
6610
6741
|
*
|
|
@@ -6612,11 +6743,11 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
|
|
|
6612
6743
|
* @param {*} [options] Override http request option.
|
|
6613
6744
|
* @throws {RequiredError}
|
|
6614
6745
|
*/
|
|
6615
|
-
async getDeployment(id: string, options?:
|
|
6746
|
+
async getDeployment(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Deployment>> {
|
|
6616
6747
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeployment(id, options);
|
|
6617
|
-
const
|
|
6618
|
-
const
|
|
6619
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
6620
6751
|
},
|
|
6621
6752
|
/**
|
|
6622
6753
|
*
|
|
@@ -6625,11 +6756,11 @@ export const DeploymentsApiFp = function(configuration?: Configuration) {
|
|
|
6625
6756
|
* @param {*} [options] Override http request option.
|
|
6626
6757
|
* @throws {RequiredError}
|
|
6627
6758
|
*/
|
|
6628
|
-
async updateDeployment(id: string, updateDeployment: UpdateDeployment, options?:
|
|
6759
|
+
async updateDeployment(id: string, updateDeployment: UpdateDeployment, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Deployment>> {
|
|
6629
6760
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDeployment(id, updateDeployment, options);
|
|
6630
|
-
const
|
|
6631
|
-
const
|
|
6632
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
6633
6764
|
},
|
|
6634
6765
|
}
|
|
6635
6766
|
};
|
|
@@ -6647,8 +6778,8 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
|
|
|
6647
6778
|
* @param {*} [options] Override http request option.
|
|
6648
6779
|
* @throws {RequiredError}
|
|
6649
6780
|
*/
|
|
6650
|
-
allDeployments(requestParameters: DeploymentsApiAllDeploymentsRequest = {}, options?:
|
|
6651
|
-
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));
|
|
6652
6783
|
},
|
|
6653
6784
|
/**
|
|
6654
6785
|
*
|
|
@@ -6656,7 +6787,7 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
|
|
|
6656
6787
|
* @param {*} [options] Override http request option.
|
|
6657
6788
|
* @throws {RequiredError}
|
|
6658
6789
|
*/
|
|
6659
|
-
createDeployment(requestParameters: DeploymentsApiCreateDeploymentRequest, options?:
|
|
6790
|
+
createDeployment(requestParameters: DeploymentsApiCreateDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Deployment> {
|
|
6660
6791
|
return localVarFp.createDeployment(requestParameters.newDeployment, options).then((request) => request(axios, basePath));
|
|
6661
6792
|
},
|
|
6662
6793
|
/**
|
|
@@ -6665,7 +6796,7 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
|
|
|
6665
6796
|
* @param {*} [options] Override http request option.
|
|
6666
6797
|
* @throws {RequiredError}
|
|
6667
6798
|
*/
|
|
6668
|
-
deleteDeployment(requestParameters: DeploymentsApiDeleteDeploymentRequest, options?:
|
|
6799
|
+
deleteDeployment(requestParameters: DeploymentsApiDeleteDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
6669
6800
|
return localVarFp.deleteDeployment(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6670
6801
|
},
|
|
6671
6802
|
/**
|
|
@@ -6674,7 +6805,7 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
|
|
|
6674
6805
|
* @param {*} [options] Override http request option.
|
|
6675
6806
|
* @throws {RequiredError}
|
|
6676
6807
|
*/
|
|
6677
|
-
getDeployment(requestParameters: DeploymentsApiGetDeploymentRequest, options?:
|
|
6808
|
+
getDeployment(requestParameters: DeploymentsApiGetDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Deployment> {
|
|
6678
6809
|
return localVarFp.getDeployment(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
6679
6810
|
},
|
|
6680
6811
|
/**
|
|
@@ -6683,7 +6814,7 @@ export const DeploymentsApiFactory = function (configuration?: Configuration, ba
|
|
|
6683
6814
|
* @param {*} [options] Override http request option.
|
|
6684
6815
|
* @throws {RequiredError}
|
|
6685
6816
|
*/
|
|
6686
|
-
updateDeployment(requestParameters: DeploymentsApiUpdateDeploymentRequest, options?:
|
|
6817
|
+
updateDeployment(requestParameters: DeploymentsApiUpdateDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Deployment> {
|
|
6687
6818
|
return localVarFp.updateDeployment(requestParameters.id, requestParameters.updateDeployment, options).then((request) => request(axios, basePath));
|
|
6688
6819
|
},
|
|
6689
6820
|
};
|
|
@@ -6709,6 +6840,13 @@ export interface DeploymentsApiAllDeploymentsRequest {
|
|
|
6709
6840
|
*/
|
|
6710
6841
|
readonly kind?: string | null
|
|
6711
6842
|
|
|
6843
|
+
/**
|
|
6844
|
+
*
|
|
6845
|
+
* @type {string}
|
|
6846
|
+
* @memberof DeploymentsApiAllDeployments
|
|
6847
|
+
*/
|
|
6848
|
+
readonly kindId?: string | null
|
|
6849
|
+
|
|
6712
6850
|
/**
|
|
6713
6851
|
*
|
|
6714
6852
|
* @type {string}
|
|
@@ -6815,8 +6953,8 @@ export class DeploymentsApi extends BaseAPI {
|
|
|
6815
6953
|
* @throws {RequiredError}
|
|
6816
6954
|
* @memberof DeploymentsApi
|
|
6817
6955
|
*/
|
|
6818
|
-
public allDeployments(requestParameters: DeploymentsApiAllDeploymentsRequest = {}, options?:
|
|
6819
|
-
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));
|
|
6820
6958
|
}
|
|
6821
6959
|
|
|
6822
6960
|
/**
|
|
@@ -6826,7 +6964,7 @@ export class DeploymentsApi extends BaseAPI {
|
|
|
6826
6964
|
* @throws {RequiredError}
|
|
6827
6965
|
* @memberof DeploymentsApi
|
|
6828
6966
|
*/
|
|
6829
|
-
public createDeployment(requestParameters: DeploymentsApiCreateDeploymentRequest, options?:
|
|
6967
|
+
public createDeployment(requestParameters: DeploymentsApiCreateDeploymentRequest, options?: RawAxiosRequestConfig) {
|
|
6830
6968
|
return DeploymentsApiFp(this.configuration).createDeployment(requestParameters.newDeployment, options).then((request) => request(this.axios, this.basePath));
|
|
6831
6969
|
}
|
|
6832
6970
|
|
|
@@ -6837,7 +6975,7 @@ export class DeploymentsApi extends BaseAPI {
|
|
|
6837
6975
|
* @throws {RequiredError}
|
|
6838
6976
|
* @memberof DeploymentsApi
|
|
6839
6977
|
*/
|
|
6840
|
-
public deleteDeployment(requestParameters: DeploymentsApiDeleteDeploymentRequest, options?:
|
|
6978
|
+
public deleteDeployment(requestParameters: DeploymentsApiDeleteDeploymentRequest, options?: RawAxiosRequestConfig) {
|
|
6841
6979
|
return DeploymentsApiFp(this.configuration).deleteDeployment(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6842
6980
|
}
|
|
6843
6981
|
|
|
@@ -6848,7 +6986,7 @@ export class DeploymentsApi extends BaseAPI {
|
|
|
6848
6986
|
* @throws {RequiredError}
|
|
6849
6987
|
* @memberof DeploymentsApi
|
|
6850
6988
|
*/
|
|
6851
|
-
public getDeployment(requestParameters: DeploymentsApiGetDeploymentRequest, options?:
|
|
6989
|
+
public getDeployment(requestParameters: DeploymentsApiGetDeploymentRequest, options?: RawAxiosRequestConfig) {
|
|
6852
6990
|
return DeploymentsApiFp(this.configuration).getDeployment(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6853
6991
|
}
|
|
6854
6992
|
|
|
@@ -6859,7 +6997,7 @@ export class DeploymentsApi extends BaseAPI {
|
|
|
6859
6997
|
* @throws {RequiredError}
|
|
6860
6998
|
* @memberof DeploymentsApi
|
|
6861
6999
|
*/
|
|
6862
|
-
public updateDeployment(requestParameters: DeploymentsApiUpdateDeploymentRequest, options?:
|
|
7000
|
+
public updateDeployment(requestParameters: DeploymentsApiUpdateDeploymentRequest, options?: RawAxiosRequestConfig) {
|
|
6863
7001
|
return DeploymentsApiFp(this.configuration).updateDeployment(requestParameters.id, requestParameters.updateDeployment, options).then((request) => request(this.axios, this.basePath));
|
|
6864
7002
|
}
|
|
6865
7003
|
}
|
|
@@ -6880,7 +7018,7 @@ export const EnvUserPermissionsApiAxiosParamCreator = function (configuration?:
|
|
|
6880
7018
|
* @param {*} [options] Override http request option.
|
|
6881
7019
|
* @throws {RequiredError}
|
|
6882
7020
|
*/
|
|
6883
|
-
allEnvUserPermissions: async (envId?: string | null, page?: number | null, perPage?: number | null, options:
|
|
7021
|
+
allEnvUserPermissions: async (envId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6884
7022
|
const localVarPath = `/api/v2/env-user-permissions`;
|
|
6885
7023
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6886
7024
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6929,7 +7067,7 @@ export const EnvUserPermissionsApiAxiosParamCreator = function (configuration?:
|
|
|
6929
7067
|
* @param {*} [options] Override http request option.
|
|
6930
7068
|
* @throws {RequiredError}
|
|
6931
7069
|
*/
|
|
6932
|
-
createEnvUserPermission: async (newEnvUserPermission: NewEnvUserPermission, options:
|
|
7070
|
+
createEnvUserPermission: async (newEnvUserPermission: NewEnvUserPermission, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6933
7071
|
// verify required parameter 'newEnvUserPermission' is not null or undefined
|
|
6934
7072
|
assertParamExists('createEnvUserPermission', 'newEnvUserPermission', newEnvUserPermission)
|
|
6935
7073
|
const localVarPath = `/api/v2/env-user-permissions`;
|
|
@@ -6971,7 +7109,7 @@ export const EnvUserPermissionsApiAxiosParamCreator = function (configuration?:
|
|
|
6971
7109
|
* @param {*} [options] Override http request option.
|
|
6972
7110
|
* @throws {RequiredError}
|
|
6973
7111
|
*/
|
|
6974
|
-
deleteEnvUserPermission: async (id: string, options:
|
|
7112
|
+
deleteEnvUserPermission: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6975
7113
|
// verify required parameter 'id' is not null or undefined
|
|
6976
7114
|
assertParamExists('deleteEnvUserPermission', 'id', id)
|
|
6977
7115
|
const localVarPath = `/api/v2/env-user-permissions/{id}`
|
|
@@ -7011,7 +7149,7 @@ export const EnvUserPermissionsApiAxiosParamCreator = function (configuration?:
|
|
|
7011
7149
|
* @param {*} [options] Override http request option.
|
|
7012
7150
|
* @throws {RequiredError}
|
|
7013
7151
|
*/
|
|
7014
|
-
getEnvUserPermission: async (id: string, options:
|
|
7152
|
+
getEnvUserPermission: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7015
7153
|
// verify required parameter 'id' is not null or undefined
|
|
7016
7154
|
assertParamExists('getEnvUserPermission', 'id', id)
|
|
7017
7155
|
const localVarPath = `/api/v2/env-user-permissions/{id}`
|
|
@@ -7063,11 +7201,11 @@ export const EnvUserPermissionsApiFp = function(configuration?: Configuration) {
|
|
|
7063
7201
|
* @param {*} [options] Override http request option.
|
|
7064
7202
|
* @throws {RequiredError}
|
|
7065
7203
|
*/
|
|
7066
|
-
async allEnvUserPermissions(envId?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
7204
|
+
async allEnvUserPermissions(envId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllEnvUserPermissions200Response>> {
|
|
7067
7205
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allEnvUserPermissions(envId, page, perPage, options);
|
|
7068
|
-
const
|
|
7069
|
-
const
|
|
7070
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7071
7209
|
},
|
|
7072
7210
|
/**
|
|
7073
7211
|
*
|
|
@@ -7075,11 +7213,11 @@ export const EnvUserPermissionsApiFp = function(configuration?: Configuration) {
|
|
|
7075
7213
|
* @param {*} [options] Override http request option.
|
|
7076
7214
|
* @throws {RequiredError}
|
|
7077
7215
|
*/
|
|
7078
|
-
async createEnvUserPermission(newEnvUserPermission: NewEnvUserPermission, options?:
|
|
7216
|
+
async createEnvUserPermission(newEnvUserPermission: NewEnvUserPermission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvUserPermission>> {
|
|
7079
7217
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEnvUserPermission(newEnvUserPermission, options);
|
|
7080
|
-
const
|
|
7081
|
-
const
|
|
7082
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7083
7221
|
},
|
|
7084
7222
|
/**
|
|
7085
7223
|
*
|
|
@@ -7087,11 +7225,11 @@ export const EnvUserPermissionsApiFp = function(configuration?: Configuration) {
|
|
|
7087
7225
|
* @param {*} [options] Override http request option.
|
|
7088
7226
|
* @throws {RequiredError}
|
|
7089
7227
|
*/
|
|
7090
|
-
async deleteEnvUserPermission(id: string, options?:
|
|
7228
|
+
async deleteEnvUserPermission(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
7091
7229
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEnvUserPermission(id, options);
|
|
7092
|
-
const
|
|
7093
|
-
const
|
|
7094
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7095
7233
|
},
|
|
7096
7234
|
/**
|
|
7097
7235
|
*
|
|
@@ -7099,11 +7237,11 @@ export const EnvUserPermissionsApiFp = function(configuration?: Configuration) {
|
|
|
7099
7237
|
* @param {*} [options] Override http request option.
|
|
7100
7238
|
* @throws {RequiredError}
|
|
7101
7239
|
*/
|
|
7102
|
-
async getEnvUserPermission(id: string, options?:
|
|
7240
|
+
async getEnvUserPermission(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvUserPermission>> {
|
|
7103
7241
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvUserPermission(id, options);
|
|
7104
|
-
const
|
|
7105
|
-
const
|
|
7106
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7107
7245
|
},
|
|
7108
7246
|
}
|
|
7109
7247
|
};
|
|
@@ -7121,7 +7259,7 @@ export const EnvUserPermissionsApiFactory = function (configuration?: Configurat
|
|
|
7121
7259
|
* @param {*} [options] Override http request option.
|
|
7122
7260
|
* @throws {RequiredError}
|
|
7123
7261
|
*/
|
|
7124
|
-
allEnvUserPermissions(requestParameters: EnvUserPermissionsApiAllEnvUserPermissionsRequest = {}, options?:
|
|
7262
|
+
allEnvUserPermissions(requestParameters: EnvUserPermissionsApiAllEnvUserPermissionsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllEnvUserPermissions200Response> {
|
|
7125
7263
|
return localVarFp.allEnvUserPermissions(requestParameters.envId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
7126
7264
|
},
|
|
7127
7265
|
/**
|
|
@@ -7130,7 +7268,7 @@ export const EnvUserPermissionsApiFactory = function (configuration?: Configurat
|
|
|
7130
7268
|
* @param {*} [options] Override http request option.
|
|
7131
7269
|
* @throws {RequiredError}
|
|
7132
7270
|
*/
|
|
7133
|
-
createEnvUserPermission(requestParameters: EnvUserPermissionsApiCreateEnvUserPermissionRequest, options?:
|
|
7271
|
+
createEnvUserPermission(requestParameters: EnvUserPermissionsApiCreateEnvUserPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvUserPermission> {
|
|
7134
7272
|
return localVarFp.createEnvUserPermission(requestParameters.newEnvUserPermission, options).then((request) => request(axios, basePath));
|
|
7135
7273
|
},
|
|
7136
7274
|
/**
|
|
@@ -7139,7 +7277,7 @@ export const EnvUserPermissionsApiFactory = function (configuration?: Configurat
|
|
|
7139
7277
|
* @param {*} [options] Override http request option.
|
|
7140
7278
|
* @throws {RequiredError}
|
|
7141
7279
|
*/
|
|
7142
|
-
deleteEnvUserPermission(requestParameters: EnvUserPermissionsApiDeleteEnvUserPermissionRequest, options?:
|
|
7280
|
+
deleteEnvUserPermission(requestParameters: EnvUserPermissionsApiDeleteEnvUserPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
7143
7281
|
return localVarFp.deleteEnvUserPermission(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7144
7282
|
},
|
|
7145
7283
|
/**
|
|
@@ -7148,7 +7286,7 @@ export const EnvUserPermissionsApiFactory = function (configuration?: Configurat
|
|
|
7148
7286
|
* @param {*} [options] Override http request option.
|
|
7149
7287
|
* @throws {RequiredError}
|
|
7150
7288
|
*/
|
|
7151
|
-
getEnvUserPermission(requestParameters: EnvUserPermissionsApiGetEnvUserPermissionRequest, options?:
|
|
7289
|
+
getEnvUserPermission(requestParameters: EnvUserPermissionsApiGetEnvUserPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvUserPermission> {
|
|
7152
7290
|
return localVarFp.getEnvUserPermission(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7153
7291
|
},
|
|
7154
7292
|
};
|
|
@@ -7238,7 +7376,7 @@ export class EnvUserPermissionsApi extends BaseAPI {
|
|
|
7238
7376
|
* @throws {RequiredError}
|
|
7239
7377
|
* @memberof EnvUserPermissionsApi
|
|
7240
7378
|
*/
|
|
7241
|
-
public allEnvUserPermissions(requestParameters: EnvUserPermissionsApiAllEnvUserPermissionsRequest = {}, options?:
|
|
7379
|
+
public allEnvUserPermissions(requestParameters: EnvUserPermissionsApiAllEnvUserPermissionsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
7242
7380
|
return EnvUserPermissionsApiFp(this.configuration).allEnvUserPermissions(requestParameters.envId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
7243
7381
|
}
|
|
7244
7382
|
|
|
@@ -7249,7 +7387,7 @@ export class EnvUserPermissionsApi extends BaseAPI {
|
|
|
7249
7387
|
* @throws {RequiredError}
|
|
7250
7388
|
* @memberof EnvUserPermissionsApi
|
|
7251
7389
|
*/
|
|
7252
|
-
public createEnvUserPermission(requestParameters: EnvUserPermissionsApiCreateEnvUserPermissionRequest, options?:
|
|
7390
|
+
public createEnvUserPermission(requestParameters: EnvUserPermissionsApiCreateEnvUserPermissionRequest, options?: RawAxiosRequestConfig) {
|
|
7253
7391
|
return EnvUserPermissionsApiFp(this.configuration).createEnvUserPermission(requestParameters.newEnvUserPermission, options).then((request) => request(this.axios, this.basePath));
|
|
7254
7392
|
}
|
|
7255
7393
|
|
|
@@ -7260,7 +7398,7 @@ export class EnvUserPermissionsApi extends BaseAPI {
|
|
|
7260
7398
|
* @throws {RequiredError}
|
|
7261
7399
|
* @memberof EnvUserPermissionsApi
|
|
7262
7400
|
*/
|
|
7263
|
-
public deleteEnvUserPermission(requestParameters: EnvUserPermissionsApiDeleteEnvUserPermissionRequest, options?:
|
|
7401
|
+
public deleteEnvUserPermission(requestParameters: EnvUserPermissionsApiDeleteEnvUserPermissionRequest, options?: RawAxiosRequestConfig) {
|
|
7264
7402
|
return EnvUserPermissionsApiFp(this.configuration).deleteEnvUserPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7265
7403
|
}
|
|
7266
7404
|
|
|
@@ -7271,7 +7409,7 @@ export class EnvUserPermissionsApi extends BaseAPI {
|
|
|
7271
7409
|
* @throws {RequiredError}
|
|
7272
7410
|
* @memberof EnvUserPermissionsApi
|
|
7273
7411
|
*/
|
|
7274
|
-
public getEnvUserPermission(requestParameters: EnvUserPermissionsApiGetEnvUserPermissionRequest, options?:
|
|
7412
|
+
public getEnvUserPermission(requestParameters: EnvUserPermissionsApiGetEnvUserPermissionRequest, options?: RawAxiosRequestConfig) {
|
|
7275
7413
|
return EnvUserPermissionsApiFp(this.configuration).getEnvUserPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7276
7414
|
}
|
|
7277
7415
|
}
|
|
@@ -7293,7 +7431,7 @@ export const EnvsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7293
7431
|
* @param {*} [options] Override http request option.
|
|
7294
7432
|
* @throws {RequiredError}
|
|
7295
7433
|
*/
|
|
7296
|
-
allEnvs: async (name?: string | null, autoAddNewUsers?: boolean | null, page?: number | null, perPage?: number | null, options:
|
|
7434
|
+
allEnvs: async (name?: string | null, autoAddNewUsers?: boolean | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7297
7435
|
const localVarPath = `/api/v2/envs`;
|
|
7298
7436
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7299
7437
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7346,7 +7484,7 @@ export const EnvsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7346
7484
|
* @param {*} [options] Override http request option.
|
|
7347
7485
|
* @throws {RequiredError}
|
|
7348
7486
|
*/
|
|
7349
|
-
createEnv: async (newEnv: NewEnv, options:
|
|
7487
|
+
createEnv: async (newEnv: NewEnv, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7350
7488
|
// verify required parameter 'newEnv' is not null or undefined
|
|
7351
7489
|
assertParamExists('createEnv', 'newEnv', newEnv)
|
|
7352
7490
|
const localVarPath = `/api/v2/envs`;
|
|
@@ -7388,7 +7526,7 @@ export const EnvsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7388
7526
|
* @param {*} [options] Override http request option.
|
|
7389
7527
|
* @throws {RequiredError}
|
|
7390
7528
|
*/
|
|
7391
|
-
deleteEnv: async (id: string, options:
|
|
7529
|
+
deleteEnv: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7392
7530
|
// verify required parameter 'id' is not null or undefined
|
|
7393
7531
|
assertParamExists('deleteEnv', 'id', id)
|
|
7394
7532
|
const localVarPath = `/api/v2/envs/{id}`
|
|
@@ -7428,7 +7566,7 @@ export const EnvsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7428
7566
|
* @param {*} [options] Override http request option.
|
|
7429
7567
|
* @throws {RequiredError}
|
|
7430
7568
|
*/
|
|
7431
|
-
getEnv: async (id: string, options:
|
|
7569
|
+
getEnv: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7432
7570
|
// verify required parameter 'id' is not null or undefined
|
|
7433
7571
|
assertParamExists('getEnv', 'id', id)
|
|
7434
7572
|
const localVarPath = `/api/v2/envs/{id}`
|
|
@@ -7469,7 +7607,7 @@ export const EnvsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7469
7607
|
* @param {*} [options] Override http request option.
|
|
7470
7608
|
* @throws {RequiredError}
|
|
7471
7609
|
*/
|
|
7472
|
-
updateEnv: async (id: string, updateEnv: UpdateEnv, options:
|
|
7610
|
+
updateEnv: async (id: string, updateEnv: UpdateEnv, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7473
7611
|
// verify required parameter 'id' is not null or undefined
|
|
7474
7612
|
assertParamExists('updateEnv', 'id', id)
|
|
7475
7613
|
// verify required parameter 'updateEnv' is not null or undefined
|
|
@@ -7527,11 +7665,11 @@ export const EnvsApiFp = function(configuration?: Configuration) {
|
|
|
7527
7665
|
* @param {*} [options] Override http request option.
|
|
7528
7666
|
* @throws {RequiredError}
|
|
7529
7667
|
*/
|
|
7530
|
-
async allEnvs(name?: string | null, autoAddNewUsers?: boolean | null, page?: number | null, perPage?: number | null, options?:
|
|
7668
|
+
async allEnvs(name?: string | null, autoAddNewUsers?: boolean | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllEnvs200Response>> {
|
|
7531
7669
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allEnvs(name, autoAddNewUsers, page, perPage, options);
|
|
7532
|
-
const
|
|
7533
|
-
const
|
|
7534
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7535
7673
|
},
|
|
7536
7674
|
/**
|
|
7537
7675
|
*
|
|
@@ -7539,11 +7677,11 @@ export const EnvsApiFp = function(configuration?: Configuration) {
|
|
|
7539
7677
|
* @param {*} [options] Override http request option.
|
|
7540
7678
|
* @throws {RequiredError}
|
|
7541
7679
|
*/
|
|
7542
|
-
async createEnv(newEnv: NewEnv, options?:
|
|
7680
|
+
async createEnv(newEnv: NewEnv, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Env>> {
|
|
7543
7681
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEnv(newEnv, options);
|
|
7544
|
-
const
|
|
7545
|
-
const
|
|
7546
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7547
7685
|
},
|
|
7548
7686
|
/**
|
|
7549
7687
|
*
|
|
@@ -7551,11 +7689,11 @@ export const EnvsApiFp = function(configuration?: Configuration) {
|
|
|
7551
7689
|
* @param {*} [options] Override http request option.
|
|
7552
7690
|
* @throws {RequiredError}
|
|
7553
7691
|
*/
|
|
7554
|
-
async deleteEnv(id: string, options?:
|
|
7692
|
+
async deleteEnv(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
7555
7693
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEnv(id, options);
|
|
7556
|
-
const
|
|
7557
|
-
const
|
|
7558
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7559
7697
|
},
|
|
7560
7698
|
/**
|
|
7561
7699
|
*
|
|
@@ -7563,11 +7701,11 @@ export const EnvsApiFp = function(configuration?: Configuration) {
|
|
|
7563
7701
|
* @param {*} [options] Override http request option.
|
|
7564
7702
|
* @throws {RequiredError}
|
|
7565
7703
|
*/
|
|
7566
|
-
async getEnv(id: string, options?:
|
|
7704
|
+
async getEnv(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Env>> {
|
|
7567
7705
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnv(id, options);
|
|
7568
|
-
const
|
|
7569
|
-
const
|
|
7570
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7571
7709
|
},
|
|
7572
7710
|
/**
|
|
7573
7711
|
*
|
|
@@ -7576,11 +7714,11 @@ export const EnvsApiFp = function(configuration?: Configuration) {
|
|
|
7576
7714
|
* @param {*} [options] Override http request option.
|
|
7577
7715
|
* @throws {RequiredError}
|
|
7578
7716
|
*/
|
|
7579
|
-
async updateEnv(id: string, updateEnv: UpdateEnv, options?:
|
|
7717
|
+
async updateEnv(id: string, updateEnv: UpdateEnv, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Env>> {
|
|
7580
7718
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEnv(id, updateEnv, options);
|
|
7581
|
-
const
|
|
7582
|
-
const
|
|
7583
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7584
7722
|
},
|
|
7585
7723
|
}
|
|
7586
7724
|
};
|
|
@@ -7598,7 +7736,7 @@ export const EnvsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7598
7736
|
* @param {*} [options] Override http request option.
|
|
7599
7737
|
* @throws {RequiredError}
|
|
7600
7738
|
*/
|
|
7601
|
-
allEnvs(requestParameters: EnvsApiAllEnvsRequest = {}, options?:
|
|
7739
|
+
allEnvs(requestParameters: EnvsApiAllEnvsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllEnvs200Response> {
|
|
7602
7740
|
return localVarFp.allEnvs(requestParameters.name, requestParameters.autoAddNewUsers, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
7603
7741
|
},
|
|
7604
7742
|
/**
|
|
@@ -7607,7 +7745,7 @@ export const EnvsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7607
7745
|
* @param {*} [options] Override http request option.
|
|
7608
7746
|
* @throws {RequiredError}
|
|
7609
7747
|
*/
|
|
7610
|
-
createEnv(requestParameters: EnvsApiCreateEnvRequest, options?:
|
|
7748
|
+
createEnv(requestParameters: EnvsApiCreateEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<Env> {
|
|
7611
7749
|
return localVarFp.createEnv(requestParameters.newEnv, options).then((request) => request(axios, basePath));
|
|
7612
7750
|
},
|
|
7613
7751
|
/**
|
|
@@ -7616,7 +7754,7 @@ export const EnvsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7616
7754
|
* @param {*} [options] Override http request option.
|
|
7617
7755
|
* @throws {RequiredError}
|
|
7618
7756
|
*/
|
|
7619
|
-
deleteEnv(requestParameters: EnvsApiDeleteEnvRequest, options?:
|
|
7757
|
+
deleteEnv(requestParameters: EnvsApiDeleteEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
7620
7758
|
return localVarFp.deleteEnv(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7621
7759
|
},
|
|
7622
7760
|
/**
|
|
@@ -7625,7 +7763,7 @@ export const EnvsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7625
7763
|
* @param {*} [options] Override http request option.
|
|
7626
7764
|
* @throws {RequiredError}
|
|
7627
7765
|
*/
|
|
7628
|
-
getEnv(requestParameters: EnvsApiGetEnvRequest, options?:
|
|
7766
|
+
getEnv(requestParameters: EnvsApiGetEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<Env> {
|
|
7629
7767
|
return localVarFp.getEnv(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7630
7768
|
},
|
|
7631
7769
|
/**
|
|
@@ -7634,7 +7772,7 @@ export const EnvsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7634
7772
|
* @param {*} [options] Override http request option.
|
|
7635
7773
|
* @throws {RequiredError}
|
|
7636
7774
|
*/
|
|
7637
|
-
updateEnv(requestParameters: EnvsApiUpdateEnvRequest, options?:
|
|
7775
|
+
updateEnv(requestParameters: EnvsApiUpdateEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<Env> {
|
|
7638
7776
|
return localVarFp.updateEnv(requestParameters.id, requestParameters.updateEnv, options).then((request) => request(axios, basePath));
|
|
7639
7777
|
},
|
|
7640
7778
|
};
|
|
@@ -7752,7 +7890,7 @@ export class EnvsApi extends BaseAPI {
|
|
|
7752
7890
|
* @throws {RequiredError}
|
|
7753
7891
|
* @memberof EnvsApi
|
|
7754
7892
|
*/
|
|
7755
|
-
public allEnvs(requestParameters: EnvsApiAllEnvsRequest = {}, options?:
|
|
7893
|
+
public allEnvs(requestParameters: EnvsApiAllEnvsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
7756
7894
|
return EnvsApiFp(this.configuration).allEnvs(requestParameters.name, requestParameters.autoAddNewUsers, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
7757
7895
|
}
|
|
7758
7896
|
|
|
@@ -7763,7 +7901,7 @@ export class EnvsApi extends BaseAPI {
|
|
|
7763
7901
|
* @throws {RequiredError}
|
|
7764
7902
|
* @memberof EnvsApi
|
|
7765
7903
|
*/
|
|
7766
|
-
public createEnv(requestParameters: EnvsApiCreateEnvRequest, options?:
|
|
7904
|
+
public createEnv(requestParameters: EnvsApiCreateEnvRequest, options?: RawAxiosRequestConfig) {
|
|
7767
7905
|
return EnvsApiFp(this.configuration).createEnv(requestParameters.newEnv, options).then((request) => request(this.axios, this.basePath));
|
|
7768
7906
|
}
|
|
7769
7907
|
|
|
@@ -7774,7 +7912,7 @@ export class EnvsApi extends BaseAPI {
|
|
|
7774
7912
|
* @throws {RequiredError}
|
|
7775
7913
|
* @memberof EnvsApi
|
|
7776
7914
|
*/
|
|
7777
|
-
public deleteEnv(requestParameters: EnvsApiDeleteEnvRequest, options?:
|
|
7915
|
+
public deleteEnv(requestParameters: EnvsApiDeleteEnvRequest, options?: RawAxiosRequestConfig) {
|
|
7778
7916
|
return EnvsApiFp(this.configuration).deleteEnv(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7779
7917
|
}
|
|
7780
7918
|
|
|
@@ -7785,7 +7923,7 @@ export class EnvsApi extends BaseAPI {
|
|
|
7785
7923
|
* @throws {RequiredError}
|
|
7786
7924
|
* @memberof EnvsApi
|
|
7787
7925
|
*/
|
|
7788
|
-
public getEnv(requestParameters: EnvsApiGetEnvRequest, options?:
|
|
7926
|
+
public getEnv(requestParameters: EnvsApiGetEnvRequest, options?: RawAxiosRequestConfig) {
|
|
7789
7927
|
return EnvsApiFp(this.configuration).getEnv(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
7790
7928
|
}
|
|
7791
7929
|
|
|
@@ -7796,7 +7934,7 @@ export class EnvsApi extends BaseAPI {
|
|
|
7796
7934
|
* @throws {RequiredError}
|
|
7797
7935
|
* @memberof EnvsApi
|
|
7798
7936
|
*/
|
|
7799
|
-
public updateEnv(requestParameters: EnvsApiUpdateEnvRequest, options?:
|
|
7937
|
+
public updateEnv(requestParameters: EnvsApiUpdateEnvRequest, options?: RawAxiosRequestConfig) {
|
|
7800
7938
|
return EnvsApiFp(this.configuration).updateEnv(requestParameters.id, requestParameters.updateEnv, options).then((request) => request(this.axios, this.basePath));
|
|
7801
7939
|
}
|
|
7802
7940
|
}
|
|
@@ -7818,7 +7956,7 @@ export const HelmChartsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
7818
7956
|
* @param {*} [options] Override http request option.
|
|
7819
7957
|
* @throws {RequiredError}
|
|
7820
7958
|
*/
|
|
7821
|
-
allHelmCharts: async (helmRegistryId?: string | null, parsedBranch?: string | null, page?: number | null, perPage?: number | null, options:
|
|
7959
|
+
allHelmCharts: async (helmRegistryId?: string | null, parsedBranch?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7822
7960
|
const localVarPath = `/api/v2/helm-charts`;
|
|
7823
7961
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7824
7962
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7871,7 +8009,7 @@ export const HelmChartsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
7871
8009
|
* @param {*} [options] Override http request option.
|
|
7872
8010
|
* @throws {RequiredError}
|
|
7873
8011
|
*/
|
|
7874
|
-
getHelmChart: async (id: string, options:
|
|
8012
|
+
getHelmChart: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7875
8013
|
// verify required parameter 'id' is not null or undefined
|
|
7876
8014
|
assertParamExists('getHelmChart', 'id', id)
|
|
7877
8015
|
const localVarPath = `/api/v2/helm-charts/{id}`
|
|
@@ -7924,11 +8062,11 @@ export const HelmChartsApiFp = function(configuration?: Configuration) {
|
|
|
7924
8062
|
* @param {*} [options] Override http request option.
|
|
7925
8063
|
* @throws {RequiredError}
|
|
7926
8064
|
*/
|
|
7927
|
-
async allHelmCharts(helmRegistryId?: string | null, parsedBranch?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
8065
|
+
async allHelmCharts(helmRegistryId?: string | null, parsedBranch?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllHelmCharts200Response>> {
|
|
7928
8066
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allHelmCharts(helmRegistryId, parsedBranch, page, perPage, options);
|
|
7929
|
-
const
|
|
7930
|
-
const
|
|
7931
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7932
8070
|
},
|
|
7933
8071
|
/**
|
|
7934
8072
|
*
|
|
@@ -7936,11 +8074,11 @@ export const HelmChartsApiFp = function(configuration?: Configuration) {
|
|
|
7936
8074
|
* @param {*} [options] Override http request option.
|
|
7937
8075
|
* @throws {RequiredError}
|
|
7938
8076
|
*/
|
|
7939
|
-
async getHelmChart(id: string, options?:
|
|
8077
|
+
async getHelmChart(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmChart>> {
|
|
7940
8078
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmChart(id, options);
|
|
7941
|
-
const
|
|
7942
|
-
const
|
|
7943
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
7944
8082
|
},
|
|
7945
8083
|
}
|
|
7946
8084
|
};
|
|
@@ -7958,7 +8096,7 @@ export const HelmChartsApiFactory = function (configuration?: Configuration, bas
|
|
|
7958
8096
|
* @param {*} [options] Override http request option.
|
|
7959
8097
|
* @throws {RequiredError}
|
|
7960
8098
|
*/
|
|
7961
|
-
allHelmCharts(requestParameters: HelmChartsApiAllHelmChartsRequest = {}, options?:
|
|
8099
|
+
allHelmCharts(requestParameters: HelmChartsApiAllHelmChartsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllHelmCharts200Response> {
|
|
7962
8100
|
return localVarFp.allHelmCharts(requestParameters.helmRegistryId, requestParameters.parsedBranch, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
7963
8101
|
},
|
|
7964
8102
|
/**
|
|
@@ -7967,7 +8105,7 @@ export const HelmChartsApiFactory = function (configuration?: Configuration, bas
|
|
|
7967
8105
|
* @param {*} [options] Override http request option.
|
|
7968
8106
|
* @throws {RequiredError}
|
|
7969
8107
|
*/
|
|
7970
|
-
getHelmChart(requestParameters: HelmChartsApiGetHelmChartRequest, options?:
|
|
8108
|
+
getHelmChart(requestParameters: HelmChartsApiGetHelmChartRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmChart> {
|
|
7971
8109
|
return localVarFp.getHelmChart(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
7972
8110
|
},
|
|
7973
8111
|
};
|
|
@@ -8036,7 +8174,7 @@ export class HelmChartsApi extends BaseAPI {
|
|
|
8036
8174
|
* @throws {RequiredError}
|
|
8037
8175
|
* @memberof HelmChartsApi
|
|
8038
8176
|
*/
|
|
8039
|
-
public allHelmCharts(requestParameters: HelmChartsApiAllHelmChartsRequest = {}, options?:
|
|
8177
|
+
public allHelmCharts(requestParameters: HelmChartsApiAllHelmChartsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
8040
8178
|
return HelmChartsApiFp(this.configuration).allHelmCharts(requestParameters.helmRegistryId, requestParameters.parsedBranch, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
8041
8179
|
}
|
|
8042
8180
|
|
|
@@ -8047,7 +8185,7 @@ export class HelmChartsApi extends BaseAPI {
|
|
|
8047
8185
|
* @throws {RequiredError}
|
|
8048
8186
|
* @memberof HelmChartsApi
|
|
8049
8187
|
*/
|
|
8050
|
-
public getHelmChart(requestParameters: HelmChartsApiGetHelmChartRequest, options?:
|
|
8188
|
+
public getHelmChart(requestParameters: HelmChartsApiGetHelmChartRequest, options?: RawAxiosRequestConfig) {
|
|
8051
8189
|
return HelmChartsApiFp(this.configuration).getHelmChart(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
8052
8190
|
}
|
|
8053
8191
|
}
|
|
@@ -8064,12 +8202,13 @@ export const HelmRegistriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
8064
8202
|
*
|
|
8065
8203
|
* @param {string | null} [repoName]
|
|
8066
8204
|
* @param {string | null} [kind]
|
|
8205
|
+
* @param {string | null} [kindId]
|
|
8067
8206
|
* @param {number | null} [page]
|
|
8068
8207
|
* @param {number | null} [perPage]
|
|
8069
8208
|
* @param {*} [options] Override http request option.
|
|
8070
8209
|
* @throws {RequiredError}
|
|
8071
8210
|
*/
|
|
8072
|
-
allHelmRegistries: async (repoName?: string | null, kind?: string | null, page?: number | null, perPage?: number | null, options:
|
|
8211
|
+
allHelmRegistries: async (repoName?: string | null, kind?: string | null, kindId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8073
8212
|
const localVarPath = `/api/v2/helm-registries`;
|
|
8074
8213
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8075
8214
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8097,6 +8236,10 @@ export const HelmRegistriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
8097
8236
|
localVarQueryParameter['kind'] = kind;
|
|
8098
8237
|
}
|
|
8099
8238
|
|
|
8239
|
+
if (kindId !== undefined) {
|
|
8240
|
+
localVarQueryParameter['kind_id'] = kindId;
|
|
8241
|
+
}
|
|
8242
|
+
|
|
8100
8243
|
if (page !== undefined) {
|
|
8101
8244
|
localVarQueryParameter['page'] = page;
|
|
8102
8245
|
}
|
|
@@ -8122,7 +8265,7 @@ export const HelmRegistriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
8122
8265
|
* @param {*} [options] Override http request option.
|
|
8123
8266
|
* @throws {RequiredError}
|
|
8124
8267
|
*/
|
|
8125
|
-
getHelmRegistry: async (id: string, options:
|
|
8268
|
+
getHelmRegistry: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8126
8269
|
// verify required parameter 'id' is not null or undefined
|
|
8127
8270
|
assertParamExists('getHelmRegistry', 'id', id)
|
|
8128
8271
|
const localVarPath = `/api/v2/helm-registries/{id}`
|
|
@@ -8163,7 +8306,7 @@ export const HelmRegistriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
8163
8306
|
* @param {*} [options] Override http request option.
|
|
8164
8307
|
* @throws {RequiredError}
|
|
8165
8308
|
*/
|
|
8166
|
-
updateHelmRegistry: async (id: string, updateHelmRegistry: UpdateHelmRegistry, options:
|
|
8309
|
+
updateHelmRegistry: async (id: string, updateHelmRegistry: UpdateHelmRegistry, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8167
8310
|
// verify required parameter 'id' is not null or undefined
|
|
8168
8311
|
assertParamExists('updateHelmRegistry', 'id', id)
|
|
8169
8312
|
// verify required parameter 'updateHelmRegistry' is not null or undefined
|
|
@@ -8216,16 +8359,17 @@ export const HelmRegistriesApiFp = function(configuration?: Configuration) {
|
|
|
8216
8359
|
*
|
|
8217
8360
|
* @param {string | null} [repoName]
|
|
8218
8361
|
* @param {string | null} [kind]
|
|
8362
|
+
* @param {string | null} [kindId]
|
|
8219
8363
|
* @param {number | null} [page]
|
|
8220
8364
|
* @param {number | null} [perPage]
|
|
8221
8365
|
* @param {*} [options] Override http request option.
|
|
8222
8366
|
* @throws {RequiredError}
|
|
8223
8367
|
*/
|
|
8224
|
-
async allHelmRegistries(repoName?: string | null, kind?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
8225
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.allHelmRegistries(repoName, kind, page, perPage, options);
|
|
8226
|
-
const
|
|
8227
|
-
const
|
|
8228
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
8229
8373
|
},
|
|
8230
8374
|
/**
|
|
8231
8375
|
*
|
|
@@ -8233,11 +8377,11 @@ export const HelmRegistriesApiFp = function(configuration?: Configuration) {
|
|
|
8233
8377
|
* @param {*} [options] Override http request option.
|
|
8234
8378
|
* @throws {RequiredError}
|
|
8235
8379
|
*/
|
|
8236
|
-
async getHelmRegistry(id: string, options?:
|
|
8380
|
+
async getHelmRegistry(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRegistry>> {
|
|
8237
8381
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmRegistry(id, options);
|
|
8238
|
-
const
|
|
8239
|
-
const
|
|
8240
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
8241
8385
|
},
|
|
8242
8386
|
/**
|
|
8243
8387
|
*
|
|
@@ -8246,11 +8390,11 @@ export const HelmRegistriesApiFp = function(configuration?: Configuration) {
|
|
|
8246
8390
|
* @param {*} [options] Override http request option.
|
|
8247
8391
|
* @throws {RequiredError}
|
|
8248
8392
|
*/
|
|
8249
|
-
async updateHelmRegistry(id: string, updateHelmRegistry: UpdateHelmRegistry, options?:
|
|
8393
|
+
async updateHelmRegistry(id: string, updateHelmRegistry: UpdateHelmRegistry, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRegistry>> {
|
|
8250
8394
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateHelmRegistry(id, updateHelmRegistry, options);
|
|
8251
|
-
const
|
|
8252
|
-
const
|
|
8253
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
8254
8398
|
},
|
|
8255
8399
|
}
|
|
8256
8400
|
};
|
|
@@ -8268,8 +8412,8 @@ export const HelmRegistriesApiFactory = function (configuration?: Configuration,
|
|
|
8268
8412
|
* @param {*} [options] Override http request option.
|
|
8269
8413
|
* @throws {RequiredError}
|
|
8270
8414
|
*/
|
|
8271
|
-
allHelmRegistries(requestParameters: HelmRegistriesApiAllHelmRegistriesRequest = {}, options?:
|
|
8272
|
-
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));
|
|
8273
8417
|
},
|
|
8274
8418
|
/**
|
|
8275
8419
|
*
|
|
@@ -8277,7 +8421,7 @@ export const HelmRegistriesApiFactory = function (configuration?: Configuration,
|
|
|
8277
8421
|
* @param {*} [options] Override http request option.
|
|
8278
8422
|
* @throws {RequiredError}
|
|
8279
8423
|
*/
|
|
8280
|
-
getHelmRegistry(requestParameters: HelmRegistriesApiGetHelmRegistryRequest, options?:
|
|
8424
|
+
getHelmRegistry(requestParameters: HelmRegistriesApiGetHelmRegistryRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmRegistry> {
|
|
8281
8425
|
return localVarFp.getHelmRegistry(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
8282
8426
|
},
|
|
8283
8427
|
/**
|
|
@@ -8286,7 +8430,7 @@ export const HelmRegistriesApiFactory = function (configuration?: Configuration,
|
|
|
8286
8430
|
* @param {*} [options] Override http request option.
|
|
8287
8431
|
* @throws {RequiredError}
|
|
8288
8432
|
*/
|
|
8289
|
-
updateHelmRegistry(requestParameters: HelmRegistriesApiUpdateHelmRegistryRequest, options?:
|
|
8433
|
+
updateHelmRegistry(requestParameters: HelmRegistriesApiUpdateHelmRegistryRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmRegistry> {
|
|
8290
8434
|
return localVarFp.updateHelmRegistry(requestParameters.id, requestParameters.updateHelmRegistry, options).then((request) => request(axios, basePath));
|
|
8291
8435
|
},
|
|
8292
8436
|
};
|
|
@@ -8312,6 +8456,13 @@ export interface HelmRegistriesApiAllHelmRegistriesRequest {
|
|
|
8312
8456
|
*/
|
|
8313
8457
|
readonly kind?: string | null
|
|
8314
8458
|
|
|
8459
|
+
/**
|
|
8460
|
+
*
|
|
8461
|
+
* @type {string}
|
|
8462
|
+
* @memberof HelmRegistriesApiAllHelmRegistries
|
|
8463
|
+
*/
|
|
8464
|
+
readonly kindId?: string | null
|
|
8465
|
+
|
|
8315
8466
|
/**
|
|
8316
8467
|
*
|
|
8317
8468
|
* @type {number}
|
|
@@ -8376,8 +8527,8 @@ export class HelmRegistriesApi extends BaseAPI {
|
|
|
8376
8527
|
* @throws {RequiredError}
|
|
8377
8528
|
* @memberof HelmRegistriesApi
|
|
8378
8529
|
*/
|
|
8379
|
-
public allHelmRegistries(requestParameters: HelmRegistriesApiAllHelmRegistriesRequest = {}, options?:
|
|
8380
|
-
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));
|
|
8381
8532
|
}
|
|
8382
8533
|
|
|
8383
8534
|
/**
|
|
@@ -8387,7 +8538,7 @@ export class HelmRegistriesApi extends BaseAPI {
|
|
|
8387
8538
|
* @throws {RequiredError}
|
|
8388
8539
|
* @memberof HelmRegistriesApi
|
|
8389
8540
|
*/
|
|
8390
|
-
public getHelmRegistry(requestParameters: HelmRegistriesApiGetHelmRegistryRequest, options?:
|
|
8541
|
+
public getHelmRegistry(requestParameters: HelmRegistriesApiGetHelmRegistryRequest, options?: RawAxiosRequestConfig) {
|
|
8391
8542
|
return HelmRegistriesApiFp(this.configuration).getHelmRegistry(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
8392
8543
|
}
|
|
8393
8544
|
|
|
@@ -8398,7 +8549,7 @@ export class HelmRegistriesApi extends BaseAPI {
|
|
|
8398
8549
|
* @throws {RequiredError}
|
|
8399
8550
|
* @memberof HelmRegistriesApi
|
|
8400
8551
|
*/
|
|
8401
|
-
public updateHelmRegistry(requestParameters: HelmRegistriesApiUpdateHelmRegistryRequest, options?:
|
|
8552
|
+
public updateHelmRegistry(requestParameters: HelmRegistriesApiUpdateHelmRegistryRequest, options?: RawAxiosRequestConfig) {
|
|
8402
8553
|
return HelmRegistriesApiFp(this.configuration).updateHelmRegistry(requestParameters.id, requestParameters.updateHelmRegistry, options).then((request) => request(this.axios, this.basePath));
|
|
8403
8554
|
}
|
|
8404
8555
|
}
|
|
@@ -8419,7 +8570,7 @@ export const HelmTagFormatsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
8419
8570
|
* @param {*} [options] Override http request option.
|
|
8420
8571
|
* @throws {RequiredError}
|
|
8421
8572
|
*/
|
|
8422
|
-
allHelmTagFormats: async (pattern?: string | null, page?: number | null, perPage?: number | null, options:
|
|
8573
|
+
allHelmTagFormats: async (pattern?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8423
8574
|
const localVarPath = `/api/v2/helm-tag-formats`;
|
|
8424
8575
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8425
8576
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8468,7 +8619,7 @@ export const HelmTagFormatsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
8468
8619
|
* @param {*} [options] Override http request option.
|
|
8469
8620
|
* @throws {RequiredError}
|
|
8470
8621
|
*/
|
|
8471
|
-
createHelmTagFormat: async (newHelmTagFormat: NewHelmTagFormat, options:
|
|
8622
|
+
createHelmTagFormat: async (newHelmTagFormat: NewHelmTagFormat, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8472
8623
|
// verify required parameter 'newHelmTagFormat' is not null or undefined
|
|
8473
8624
|
assertParamExists('createHelmTagFormat', 'newHelmTagFormat', newHelmTagFormat)
|
|
8474
8625
|
const localVarPath = `/api/v2/helm-tag-formats`;
|
|
@@ -8510,7 +8661,7 @@ export const HelmTagFormatsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
8510
8661
|
* @param {*} [options] Override http request option.
|
|
8511
8662
|
* @throws {RequiredError}
|
|
8512
8663
|
*/
|
|
8513
|
-
deleteHelmTagFormat: async (id: string, options:
|
|
8664
|
+
deleteHelmTagFormat: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8514
8665
|
// verify required parameter 'id' is not null or undefined
|
|
8515
8666
|
assertParamExists('deleteHelmTagFormat', 'id', id)
|
|
8516
8667
|
const localVarPath = `/api/v2/helm-tag-formats/{id}`
|
|
@@ -8550,7 +8701,7 @@ export const HelmTagFormatsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
8550
8701
|
* @param {*} [options] Override http request option.
|
|
8551
8702
|
* @throws {RequiredError}
|
|
8552
8703
|
*/
|
|
8553
|
-
getHelmTagFormat: async (id: string, options:
|
|
8704
|
+
getHelmTagFormat: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8554
8705
|
// verify required parameter 'id' is not null or undefined
|
|
8555
8706
|
assertParamExists('getHelmTagFormat', 'id', id)
|
|
8556
8707
|
const localVarPath = `/api/v2/helm-tag-formats/{id}`
|
|
@@ -8602,11 +8753,11 @@ export const HelmTagFormatsApiFp = function(configuration?: Configuration) {
|
|
|
8602
8753
|
* @param {*} [options] Override http request option.
|
|
8603
8754
|
* @throws {RequiredError}
|
|
8604
8755
|
*/
|
|
8605
|
-
async allHelmTagFormats(pattern?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
8756
|
+
async allHelmTagFormats(pattern?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllHelmTagFormats200Response>> {
|
|
8606
8757
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allHelmTagFormats(pattern, page, perPage, options);
|
|
8607
|
-
const
|
|
8608
|
-
const
|
|
8609
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
8610
8761
|
},
|
|
8611
8762
|
/**
|
|
8612
8763
|
*
|
|
@@ -8614,11 +8765,11 @@ export const HelmTagFormatsApiFp = function(configuration?: Configuration) {
|
|
|
8614
8765
|
* @param {*} [options] Override http request option.
|
|
8615
8766
|
* @throws {RequiredError}
|
|
8616
8767
|
*/
|
|
8617
|
-
async createHelmTagFormat(newHelmTagFormat: NewHelmTagFormat, options?:
|
|
8768
|
+
async createHelmTagFormat(newHelmTagFormat: NewHelmTagFormat, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmTagFormat>> {
|
|
8618
8769
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createHelmTagFormat(newHelmTagFormat, options);
|
|
8619
|
-
const
|
|
8620
|
-
const
|
|
8621
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
8622
8773
|
},
|
|
8623
8774
|
/**
|
|
8624
8775
|
*
|
|
@@ -8626,11 +8777,11 @@ export const HelmTagFormatsApiFp = function(configuration?: Configuration) {
|
|
|
8626
8777
|
* @param {*} [options] Override http request option.
|
|
8627
8778
|
* @throws {RequiredError}
|
|
8628
8779
|
*/
|
|
8629
|
-
async deleteHelmTagFormat(id: string, options?:
|
|
8780
|
+
async deleteHelmTagFormat(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
8630
8781
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHelmTagFormat(id, options);
|
|
8631
|
-
const
|
|
8632
|
-
const
|
|
8633
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
8634
8785
|
},
|
|
8635
8786
|
/**
|
|
8636
8787
|
*
|
|
@@ -8638,11 +8789,11 @@ export const HelmTagFormatsApiFp = function(configuration?: Configuration) {
|
|
|
8638
8789
|
* @param {*} [options] Override http request option.
|
|
8639
8790
|
* @throws {RequiredError}
|
|
8640
8791
|
*/
|
|
8641
|
-
async getHelmTagFormat(id: string, options?:
|
|
8792
|
+
async getHelmTagFormat(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmTagFormat>> {
|
|
8642
8793
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmTagFormat(id, options);
|
|
8643
|
-
const
|
|
8644
|
-
const
|
|
8645
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
8646
8797
|
},
|
|
8647
8798
|
}
|
|
8648
8799
|
};
|
|
@@ -8660,7 +8811,7 @@ export const HelmTagFormatsApiFactory = function (configuration?: Configuration,
|
|
|
8660
8811
|
* @param {*} [options] Override http request option.
|
|
8661
8812
|
* @throws {RequiredError}
|
|
8662
8813
|
*/
|
|
8663
|
-
allHelmTagFormats(requestParameters: HelmTagFormatsApiAllHelmTagFormatsRequest = {}, options?:
|
|
8814
|
+
allHelmTagFormats(requestParameters: HelmTagFormatsApiAllHelmTagFormatsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllHelmTagFormats200Response> {
|
|
8664
8815
|
return localVarFp.allHelmTagFormats(requestParameters.pattern, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
8665
8816
|
},
|
|
8666
8817
|
/**
|
|
@@ -8669,7 +8820,7 @@ export const HelmTagFormatsApiFactory = function (configuration?: Configuration,
|
|
|
8669
8820
|
* @param {*} [options] Override http request option.
|
|
8670
8821
|
* @throws {RequiredError}
|
|
8671
8822
|
*/
|
|
8672
|
-
createHelmTagFormat(requestParameters: HelmTagFormatsApiCreateHelmTagFormatRequest, options?:
|
|
8823
|
+
createHelmTagFormat(requestParameters: HelmTagFormatsApiCreateHelmTagFormatRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmTagFormat> {
|
|
8673
8824
|
return localVarFp.createHelmTagFormat(requestParameters.newHelmTagFormat, options).then((request) => request(axios, basePath));
|
|
8674
8825
|
},
|
|
8675
8826
|
/**
|
|
@@ -8678,7 +8829,7 @@ export const HelmTagFormatsApiFactory = function (configuration?: Configuration,
|
|
|
8678
8829
|
* @param {*} [options] Override http request option.
|
|
8679
8830
|
* @throws {RequiredError}
|
|
8680
8831
|
*/
|
|
8681
|
-
deleteHelmTagFormat(requestParameters: HelmTagFormatsApiDeleteHelmTagFormatRequest, options?:
|
|
8832
|
+
deleteHelmTagFormat(requestParameters: HelmTagFormatsApiDeleteHelmTagFormatRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
8682
8833
|
return localVarFp.deleteHelmTagFormat(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
8683
8834
|
},
|
|
8684
8835
|
/**
|
|
@@ -8687,7 +8838,7 @@ export const HelmTagFormatsApiFactory = function (configuration?: Configuration,
|
|
|
8687
8838
|
* @param {*} [options] Override http request option.
|
|
8688
8839
|
* @throws {RequiredError}
|
|
8689
8840
|
*/
|
|
8690
|
-
getHelmTagFormat(requestParameters: HelmTagFormatsApiGetHelmTagFormatRequest, options?:
|
|
8841
|
+
getHelmTagFormat(requestParameters: HelmTagFormatsApiGetHelmTagFormatRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmTagFormat> {
|
|
8691
8842
|
return localVarFp.getHelmTagFormat(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
8692
8843
|
},
|
|
8693
8844
|
};
|
|
@@ -8777,7 +8928,7 @@ export class HelmTagFormatsApi extends BaseAPI {
|
|
|
8777
8928
|
* @throws {RequiredError}
|
|
8778
8929
|
* @memberof HelmTagFormatsApi
|
|
8779
8930
|
*/
|
|
8780
|
-
public allHelmTagFormats(requestParameters: HelmTagFormatsApiAllHelmTagFormatsRequest = {}, options?:
|
|
8931
|
+
public allHelmTagFormats(requestParameters: HelmTagFormatsApiAllHelmTagFormatsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
8781
8932
|
return HelmTagFormatsApiFp(this.configuration).allHelmTagFormats(requestParameters.pattern, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
8782
8933
|
}
|
|
8783
8934
|
|
|
@@ -8788,7 +8939,7 @@ export class HelmTagFormatsApi extends BaseAPI {
|
|
|
8788
8939
|
* @throws {RequiredError}
|
|
8789
8940
|
* @memberof HelmTagFormatsApi
|
|
8790
8941
|
*/
|
|
8791
|
-
public createHelmTagFormat(requestParameters: HelmTagFormatsApiCreateHelmTagFormatRequest, options?:
|
|
8942
|
+
public createHelmTagFormat(requestParameters: HelmTagFormatsApiCreateHelmTagFormatRequest, options?: RawAxiosRequestConfig) {
|
|
8792
8943
|
return HelmTagFormatsApiFp(this.configuration).createHelmTagFormat(requestParameters.newHelmTagFormat, options).then((request) => request(this.axios, this.basePath));
|
|
8793
8944
|
}
|
|
8794
8945
|
|
|
@@ -8799,7 +8950,7 @@ export class HelmTagFormatsApi extends BaseAPI {
|
|
|
8799
8950
|
* @throws {RequiredError}
|
|
8800
8951
|
* @memberof HelmTagFormatsApi
|
|
8801
8952
|
*/
|
|
8802
|
-
public deleteHelmTagFormat(requestParameters: HelmTagFormatsApiDeleteHelmTagFormatRequest, options?:
|
|
8953
|
+
public deleteHelmTagFormat(requestParameters: HelmTagFormatsApiDeleteHelmTagFormatRequest, options?: RawAxiosRequestConfig) {
|
|
8803
8954
|
return HelmTagFormatsApiFp(this.configuration).deleteHelmTagFormat(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
8804
8955
|
}
|
|
8805
8956
|
|
|
@@ -8810,7 +8961,7 @@ export class HelmTagFormatsApi extends BaseAPI {
|
|
|
8810
8961
|
* @throws {RequiredError}
|
|
8811
8962
|
* @memberof HelmTagFormatsApi
|
|
8812
8963
|
*/
|
|
8813
|
-
public getHelmTagFormat(requestParameters: HelmTagFormatsApiGetHelmTagFormatRequest, options?:
|
|
8964
|
+
public getHelmTagFormat(requestParameters: HelmTagFormatsApiGetHelmTagFormatRequest, options?: RawAxiosRequestConfig) {
|
|
8814
8965
|
return HelmTagFormatsApiFp(this.configuration).getHelmTagFormat(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
8815
8966
|
}
|
|
8816
8967
|
}
|
|
@@ -8832,7 +8983,7 @@ export const KubernetesClustersApiAxiosParamCreator = function (configuration?:
|
|
|
8832
8983
|
* @param {*} [options] Override http request option.
|
|
8833
8984
|
* @throws {RequiredError}
|
|
8834
8985
|
*/
|
|
8835
|
-
allK8sClusters: async (envId?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options:
|
|
8986
|
+
allK8sClusters: async (envId?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8836
8987
|
const localVarPath = `/api/v2/k8s-clusters`;
|
|
8837
8988
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8838
8989
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8885,7 +9036,7 @@ export const KubernetesClustersApiAxiosParamCreator = function (configuration?:
|
|
|
8885
9036
|
* @param {*} [options] Override http request option.
|
|
8886
9037
|
* @throws {RequiredError}
|
|
8887
9038
|
*/
|
|
8888
|
-
deleteK8sCluster: async (id: string, options:
|
|
9039
|
+
deleteK8sCluster: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8889
9040
|
// verify required parameter 'id' is not null or undefined
|
|
8890
9041
|
assertParamExists('deleteK8sCluster', 'id', id)
|
|
8891
9042
|
const localVarPath = `/api/v2/k8s-clusters/{id}`
|
|
@@ -8925,7 +9076,7 @@ export const KubernetesClustersApiAxiosParamCreator = function (configuration?:
|
|
|
8925
9076
|
* @param {*} [options] Override http request option.
|
|
8926
9077
|
* @throws {RequiredError}
|
|
8927
9078
|
*/
|
|
8928
|
-
getK8sCluster: async (id: string, options:
|
|
9079
|
+
getK8sCluster: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8929
9080
|
// verify required parameter 'id' is not null or undefined
|
|
8930
9081
|
assertParamExists('getK8sCluster', 'id', id)
|
|
8931
9082
|
const localVarPath = `/api/v2/k8s-clusters/{id}`
|
|
@@ -8966,7 +9117,7 @@ export const KubernetesClustersApiAxiosParamCreator = function (configuration?:
|
|
|
8966
9117
|
* @param {*} [options] Override http request option.
|
|
8967
9118
|
* @throws {RequiredError}
|
|
8968
9119
|
*/
|
|
8969
|
-
updateK8sCluster: async (id: string, updateK8sCluster: UpdateK8sCluster, options:
|
|
9120
|
+
updateK8sCluster: async (id: string, updateK8sCluster: UpdateK8sCluster, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8970
9121
|
// verify required parameter 'id' is not null or undefined
|
|
8971
9122
|
assertParamExists('updateK8sCluster', 'id', id)
|
|
8972
9123
|
// verify required parameter 'updateK8sCluster' is not null or undefined
|
|
@@ -9024,11 +9175,11 @@ export const KubernetesClustersApiFp = function(configuration?: Configuration) {
|
|
|
9024
9175
|
* @param {*} [options] Override http request option.
|
|
9025
9176
|
* @throws {RequiredError}
|
|
9026
9177
|
*/
|
|
9027
|
-
async allK8sClusters(envId?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
9178
|
+
async allK8sClusters(envId?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllK8sClusters200Response>> {
|
|
9028
9179
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allK8sClusters(envId, name, page, perPage, options);
|
|
9029
|
-
const
|
|
9030
|
-
const
|
|
9031
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9032
9183
|
},
|
|
9033
9184
|
/**
|
|
9034
9185
|
*
|
|
@@ -9036,11 +9187,11 @@ export const KubernetesClustersApiFp = function(configuration?: Configuration) {
|
|
|
9036
9187
|
* @param {*} [options] Override http request option.
|
|
9037
9188
|
* @throws {RequiredError}
|
|
9038
9189
|
*/
|
|
9039
|
-
async deleteK8sCluster(id: string, options?:
|
|
9190
|
+
async deleteK8sCluster(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9040
9191
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteK8sCluster(id, options);
|
|
9041
|
-
const
|
|
9042
|
-
const
|
|
9043
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9044
9195
|
},
|
|
9045
9196
|
/**
|
|
9046
9197
|
*
|
|
@@ -9048,11 +9199,11 @@ export const KubernetesClustersApiFp = function(configuration?: Configuration) {
|
|
|
9048
9199
|
* @param {*} [options] Override http request option.
|
|
9049
9200
|
* @throws {RequiredError}
|
|
9050
9201
|
*/
|
|
9051
|
-
async getK8sCluster(id: string, options?:
|
|
9202
|
+
async getK8sCluster(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<K8sCluster>> {
|
|
9052
9203
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getK8sCluster(id, options);
|
|
9053
|
-
const
|
|
9054
|
-
const
|
|
9055
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9056
9207
|
},
|
|
9057
9208
|
/**
|
|
9058
9209
|
*
|
|
@@ -9061,11 +9212,11 @@ export const KubernetesClustersApiFp = function(configuration?: Configuration) {
|
|
|
9061
9212
|
* @param {*} [options] Override http request option.
|
|
9062
9213
|
* @throws {RequiredError}
|
|
9063
9214
|
*/
|
|
9064
|
-
async updateK8sCluster(id: string, updateK8sCluster: UpdateK8sCluster, options?:
|
|
9215
|
+
async updateK8sCluster(id: string, updateK8sCluster: UpdateK8sCluster, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<K8sCluster>> {
|
|
9065
9216
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateK8sCluster(id, updateK8sCluster, options);
|
|
9066
|
-
const
|
|
9067
|
-
const
|
|
9068
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9069
9220
|
},
|
|
9070
9221
|
}
|
|
9071
9222
|
};
|
|
@@ -9083,7 +9234,7 @@ export const KubernetesClustersApiFactory = function (configuration?: Configurat
|
|
|
9083
9234
|
* @param {*} [options] Override http request option.
|
|
9084
9235
|
* @throws {RequiredError}
|
|
9085
9236
|
*/
|
|
9086
|
-
allK8sClusters(requestParameters: KubernetesClustersApiAllK8sClustersRequest = {}, options?:
|
|
9237
|
+
allK8sClusters(requestParameters: KubernetesClustersApiAllK8sClustersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllK8sClusters200Response> {
|
|
9087
9238
|
return localVarFp.allK8sClusters(requestParameters.envId, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
9088
9239
|
},
|
|
9089
9240
|
/**
|
|
@@ -9092,7 +9243,7 @@ export const KubernetesClustersApiFactory = function (configuration?: Configurat
|
|
|
9092
9243
|
* @param {*} [options] Override http request option.
|
|
9093
9244
|
* @throws {RequiredError}
|
|
9094
9245
|
*/
|
|
9095
|
-
deleteK8sCluster(requestParameters: KubernetesClustersApiDeleteK8sClusterRequest, options?:
|
|
9246
|
+
deleteK8sCluster(requestParameters: KubernetesClustersApiDeleteK8sClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9096
9247
|
return localVarFp.deleteK8sCluster(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
9097
9248
|
},
|
|
9098
9249
|
/**
|
|
@@ -9101,7 +9252,7 @@ export const KubernetesClustersApiFactory = function (configuration?: Configurat
|
|
|
9101
9252
|
* @param {*} [options] Override http request option.
|
|
9102
9253
|
* @throws {RequiredError}
|
|
9103
9254
|
*/
|
|
9104
|
-
getK8sCluster(requestParameters: KubernetesClustersApiGetK8sClusterRequest, options?:
|
|
9255
|
+
getK8sCluster(requestParameters: KubernetesClustersApiGetK8sClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<K8sCluster> {
|
|
9105
9256
|
return localVarFp.getK8sCluster(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
9106
9257
|
},
|
|
9107
9258
|
/**
|
|
@@ -9110,7 +9261,7 @@ export const KubernetesClustersApiFactory = function (configuration?: Configurat
|
|
|
9110
9261
|
* @param {*} [options] Override http request option.
|
|
9111
9262
|
* @throws {RequiredError}
|
|
9112
9263
|
*/
|
|
9113
|
-
updateK8sCluster(requestParameters: KubernetesClustersApiUpdateK8sClusterRequest, options?:
|
|
9264
|
+
updateK8sCluster(requestParameters: KubernetesClustersApiUpdateK8sClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<K8sCluster> {
|
|
9114
9265
|
return localVarFp.updateK8sCluster(requestParameters.id, requestParameters.updateK8sCluster, options).then((request) => request(axios, basePath));
|
|
9115
9266
|
},
|
|
9116
9267
|
};
|
|
@@ -9214,7 +9365,7 @@ export class KubernetesClustersApi extends BaseAPI {
|
|
|
9214
9365
|
* @throws {RequiredError}
|
|
9215
9366
|
* @memberof KubernetesClustersApi
|
|
9216
9367
|
*/
|
|
9217
|
-
public allK8sClusters(requestParameters: KubernetesClustersApiAllK8sClustersRequest = {}, options?:
|
|
9368
|
+
public allK8sClusters(requestParameters: KubernetesClustersApiAllK8sClustersRequest = {}, options?: RawAxiosRequestConfig) {
|
|
9218
9369
|
return KubernetesClustersApiFp(this.configuration).allK8sClusters(requestParameters.envId, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
9219
9370
|
}
|
|
9220
9371
|
|
|
@@ -9225,7 +9376,7 @@ export class KubernetesClustersApi extends BaseAPI {
|
|
|
9225
9376
|
* @throws {RequiredError}
|
|
9226
9377
|
* @memberof KubernetesClustersApi
|
|
9227
9378
|
*/
|
|
9228
|
-
public deleteK8sCluster(requestParameters: KubernetesClustersApiDeleteK8sClusterRequest, options?:
|
|
9379
|
+
public deleteK8sCluster(requestParameters: KubernetesClustersApiDeleteK8sClusterRequest, options?: RawAxiosRequestConfig) {
|
|
9229
9380
|
return KubernetesClustersApiFp(this.configuration).deleteK8sCluster(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
9230
9381
|
}
|
|
9231
9382
|
|
|
@@ -9236,7 +9387,7 @@ export class KubernetesClustersApi extends BaseAPI {
|
|
|
9236
9387
|
* @throws {RequiredError}
|
|
9237
9388
|
* @memberof KubernetesClustersApi
|
|
9238
9389
|
*/
|
|
9239
|
-
public getK8sCluster(requestParameters: KubernetesClustersApiGetK8sClusterRequest, options?:
|
|
9390
|
+
public getK8sCluster(requestParameters: KubernetesClustersApiGetK8sClusterRequest, options?: RawAxiosRequestConfig) {
|
|
9240
9391
|
return KubernetesClustersApiFp(this.configuration).getK8sCluster(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
9241
9392
|
}
|
|
9242
9393
|
|
|
@@ -9247,7 +9398,7 @@ export class KubernetesClustersApi extends BaseAPI {
|
|
|
9247
9398
|
* @throws {RequiredError}
|
|
9248
9399
|
* @memberof KubernetesClustersApi
|
|
9249
9400
|
*/
|
|
9250
|
-
public updateK8sCluster(requestParameters: KubernetesClustersApiUpdateK8sClusterRequest, options?:
|
|
9401
|
+
public updateK8sCluster(requestParameters: KubernetesClustersApiUpdateK8sClusterRequest, options?: RawAxiosRequestConfig) {
|
|
9251
9402
|
return KubernetesClustersApiFp(this.configuration).updateK8sCluster(requestParameters.id, requestParameters.updateK8sCluster, options).then((request) => request(this.axios, this.basePath));
|
|
9252
9403
|
}
|
|
9253
9404
|
}
|
|
@@ -9271,7 +9422,7 @@ export const KubernetesResourcesApiAxiosParamCreator = function (configuration?:
|
|
|
9271
9422
|
* @param {*} [options] Override http request option.
|
|
9272
9423
|
* @throws {RequiredError}
|
|
9273
9424
|
*/
|
|
9274
|
-
allK8sResources: async (clusterId?: string | null, deploymentId?: string | null, kind?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options:
|
|
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> => {
|
|
9275
9426
|
const localVarPath = `/api/v2/k8s-resources`;
|
|
9276
9427
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9277
9428
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -9332,7 +9483,7 @@ export const KubernetesResourcesApiAxiosParamCreator = function (configuration?:
|
|
|
9332
9483
|
* @param {*} [options] Override http request option.
|
|
9333
9484
|
* @throws {RequiredError}
|
|
9334
9485
|
*/
|
|
9335
|
-
getK8sResource: async (id: string, options:
|
|
9486
|
+
getK8sResource: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9336
9487
|
// verify required parameter 'id' is not null or undefined
|
|
9337
9488
|
assertParamExists('getK8sResource', 'id', id)
|
|
9338
9489
|
const localVarPath = `/api/v2/k8s-resources/{id}`
|
|
@@ -9387,11 +9538,11 @@ export const KubernetesResourcesApiFp = function(configuration?: Configuration)
|
|
|
9387
9538
|
* @param {*} [options] Override http request option.
|
|
9388
9539
|
* @throws {RequiredError}
|
|
9389
9540
|
*/
|
|
9390
|
-
async allK8sResources(clusterId?: string | null, deploymentId?: string | null, kind?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
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>> {
|
|
9391
9542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allK8sResources(clusterId, deploymentId, kind, name, page, perPage, options);
|
|
9392
|
-
const
|
|
9393
|
-
const
|
|
9394
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9395
9546
|
},
|
|
9396
9547
|
/**
|
|
9397
9548
|
*
|
|
@@ -9399,11 +9550,11 @@ export const KubernetesResourcesApiFp = function(configuration?: Configuration)
|
|
|
9399
9550
|
* @param {*} [options] Override http request option.
|
|
9400
9551
|
* @throws {RequiredError}
|
|
9401
9552
|
*/
|
|
9402
|
-
async getK8sResource(id: string, options?:
|
|
9553
|
+
async getK8sResource(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<K8sResource>> {
|
|
9403
9554
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getK8sResource(id, options);
|
|
9404
|
-
const
|
|
9405
|
-
const
|
|
9406
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9407
9558
|
},
|
|
9408
9559
|
}
|
|
9409
9560
|
};
|
|
@@ -9421,7 +9572,7 @@ export const KubernetesResourcesApiFactory = function (configuration?: Configura
|
|
|
9421
9572
|
* @param {*} [options] Override http request option.
|
|
9422
9573
|
* @throws {RequiredError}
|
|
9423
9574
|
*/
|
|
9424
|
-
allK8sResources(requestParameters: KubernetesResourcesApiAllK8sResourcesRequest = {}, options?:
|
|
9575
|
+
allK8sResources(requestParameters: KubernetesResourcesApiAllK8sResourcesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllK8sResources200Response> {
|
|
9425
9576
|
return localVarFp.allK8sResources(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.kind, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
9426
9577
|
},
|
|
9427
9578
|
/**
|
|
@@ -9430,7 +9581,7 @@ export const KubernetesResourcesApiFactory = function (configuration?: Configura
|
|
|
9430
9581
|
* @param {*} [options] Override http request option.
|
|
9431
9582
|
* @throws {RequiredError}
|
|
9432
9583
|
*/
|
|
9433
|
-
getK8sResource(requestParameters: KubernetesResourcesApiGetK8sResourceRequest, options?:
|
|
9584
|
+
getK8sResource(requestParameters: KubernetesResourcesApiGetK8sResourceRequest, options?: RawAxiosRequestConfig): AxiosPromise<K8sResource> {
|
|
9434
9585
|
return localVarFp.getK8sResource(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
9435
9586
|
},
|
|
9436
9587
|
};
|
|
@@ -9513,7 +9664,7 @@ export class KubernetesResourcesApi extends BaseAPI {
|
|
|
9513
9664
|
* @throws {RequiredError}
|
|
9514
9665
|
* @memberof KubernetesResourcesApi
|
|
9515
9666
|
*/
|
|
9516
|
-
public allK8sResources(requestParameters: KubernetesResourcesApiAllK8sResourcesRequest = {}, options?:
|
|
9667
|
+
public allK8sResources(requestParameters: KubernetesResourcesApiAllK8sResourcesRequest = {}, options?: RawAxiosRequestConfig) {
|
|
9517
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));
|
|
9518
9669
|
}
|
|
9519
9670
|
|
|
@@ -9524,7 +9675,7 @@ export class KubernetesResourcesApi extends BaseAPI {
|
|
|
9524
9675
|
* @throws {RequiredError}
|
|
9525
9676
|
* @memberof KubernetesResourcesApi
|
|
9526
9677
|
*/
|
|
9527
|
-
public getK8sResource(requestParameters: KubernetesResourcesApiGetK8sResourceRequest, options?:
|
|
9678
|
+
public getK8sResource(requestParameters: KubernetesResourcesApiGetK8sResourceRequest, options?: RawAxiosRequestConfig) {
|
|
9528
9679
|
return KubernetesResourcesApiFp(this.configuration).getK8sResource(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
9529
9680
|
}
|
|
9530
9681
|
}
|
|
@@ -9547,7 +9698,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9547
9698
|
* @param {*} [options] Override http request option.
|
|
9548
9699
|
* @throws {RequiredError}
|
|
9549
9700
|
*/
|
|
9550
|
-
allSecrets: async (envId?: string | null, collection?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options:
|
|
9701
|
+
allSecrets: async (envId?: string | null, collection?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9551
9702
|
const localVarPath = `/api/v2/secrets`;
|
|
9552
9703
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9553
9704
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -9604,7 +9755,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9604
9755
|
* @param {*} [options] Override http request option.
|
|
9605
9756
|
* @throws {RequiredError}
|
|
9606
9757
|
*/
|
|
9607
|
-
createSecret: async (newSecret: NewSecret, options:
|
|
9758
|
+
createSecret: async (newSecret: NewSecret, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9608
9759
|
// verify required parameter 'newSecret' is not null or undefined
|
|
9609
9760
|
assertParamExists('createSecret', 'newSecret', newSecret)
|
|
9610
9761
|
const localVarPath = `/api/v2/secrets`;
|
|
@@ -9646,7 +9797,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9646
9797
|
* @param {*} [options] Override http request option.
|
|
9647
9798
|
* @throws {RequiredError}
|
|
9648
9799
|
*/
|
|
9649
|
-
deleteSecret: async (id: string, options:
|
|
9800
|
+
deleteSecret: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9650
9801
|
// verify required parameter 'id' is not null or undefined
|
|
9651
9802
|
assertParamExists('deleteSecret', 'id', id)
|
|
9652
9803
|
const localVarPath = `/api/v2/secrets/{id}`
|
|
@@ -9686,7 +9837,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9686
9837
|
* @param {*} [options] Override http request option.
|
|
9687
9838
|
* @throws {RequiredError}
|
|
9688
9839
|
*/
|
|
9689
|
-
getSecret: async (id: string, options:
|
|
9840
|
+
getSecret: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9690
9841
|
// verify required parameter 'id' is not null or undefined
|
|
9691
9842
|
assertParamExists('getSecret', 'id', id)
|
|
9692
9843
|
const localVarPath = `/api/v2/secrets/{id}`
|
|
@@ -9727,7 +9878,7 @@ export const SecretsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9727
9878
|
* @param {*} [options] Override http request option.
|
|
9728
9879
|
* @throws {RequiredError}
|
|
9729
9880
|
*/
|
|
9730
|
-
updateSecret: async (id: string, updateSecretApi: UpdateSecretApi, options:
|
|
9881
|
+
updateSecret: async (id: string, updateSecretApi: UpdateSecretApi, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9731
9882
|
// verify required parameter 'id' is not null or undefined
|
|
9732
9883
|
assertParamExists('updateSecret', 'id', id)
|
|
9733
9884
|
// verify required parameter 'updateSecretApi' is not null or undefined
|
|
@@ -9786,11 +9937,11 @@ export const SecretsApiFp = function(configuration?: Configuration) {
|
|
|
9786
9937
|
* @param {*} [options] Override http request option.
|
|
9787
9938
|
* @throws {RequiredError}
|
|
9788
9939
|
*/
|
|
9789
|
-
async allSecrets(envId?: string | null, collection?: string | null, name?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
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>> {
|
|
9790
9941
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allSecrets(envId, collection, name, page, perPage, options);
|
|
9791
|
-
const
|
|
9792
|
-
const
|
|
9793
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9794
9945
|
},
|
|
9795
9946
|
/**
|
|
9796
9947
|
*
|
|
@@ -9798,11 +9949,11 @@ export const SecretsApiFp = function(configuration?: Configuration) {
|
|
|
9798
9949
|
* @param {*} [options] Override http request option.
|
|
9799
9950
|
* @throws {RequiredError}
|
|
9800
9951
|
*/
|
|
9801
|
-
async createSecret(newSecret: NewSecret, options?:
|
|
9952
|
+
async createSecret(newSecret: NewSecret, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
9802
9953
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSecret(newSecret, options);
|
|
9803
|
-
const
|
|
9804
|
-
const
|
|
9805
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9806
9957
|
},
|
|
9807
9958
|
/**
|
|
9808
9959
|
*
|
|
@@ -9810,11 +9961,11 @@ export const SecretsApiFp = function(configuration?: Configuration) {
|
|
|
9810
9961
|
* @param {*} [options] Override http request option.
|
|
9811
9962
|
* @throws {RequiredError}
|
|
9812
9963
|
*/
|
|
9813
|
-
async deleteSecret(id: string, options?:
|
|
9964
|
+
async deleteSecret(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9814
9965
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSecret(id, options);
|
|
9815
|
-
const
|
|
9816
|
-
const
|
|
9817
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9818
9969
|
},
|
|
9819
9970
|
/**
|
|
9820
9971
|
*
|
|
@@ -9822,11 +9973,11 @@ export const SecretsApiFp = function(configuration?: Configuration) {
|
|
|
9822
9973
|
* @param {*} [options] Override http request option.
|
|
9823
9974
|
* @throws {RequiredError}
|
|
9824
9975
|
*/
|
|
9825
|
-
async getSecret(id: string, options?:
|
|
9976
|
+
async getSecret(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
9826
9977
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSecret(id, options);
|
|
9827
|
-
const
|
|
9828
|
-
const
|
|
9829
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9830
9981
|
},
|
|
9831
9982
|
/**
|
|
9832
9983
|
*
|
|
@@ -9835,11 +9986,11 @@ export const SecretsApiFp = function(configuration?: Configuration) {
|
|
|
9835
9986
|
* @param {*} [options] Override http request option.
|
|
9836
9987
|
* @throws {RequiredError}
|
|
9837
9988
|
*/
|
|
9838
|
-
async updateSecret(id: string, updateSecretApi: UpdateSecretApi, options?:
|
|
9989
|
+
async updateSecret(id: string, updateSecretApi: UpdateSecretApi, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
9839
9990
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSecret(id, updateSecretApi, options);
|
|
9840
|
-
const
|
|
9841
|
-
const
|
|
9842
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
9843
9994
|
},
|
|
9844
9995
|
}
|
|
9845
9996
|
};
|
|
@@ -9857,7 +10008,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
|
|
|
9857
10008
|
* @param {*} [options] Override http request option.
|
|
9858
10009
|
* @throws {RequiredError}
|
|
9859
10010
|
*/
|
|
9860
|
-
allSecrets(requestParameters: SecretsApiAllSecretsRequest = {}, options?:
|
|
10011
|
+
allSecrets(requestParameters: SecretsApiAllSecretsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllSecrets200Response> {
|
|
9861
10012
|
return localVarFp.allSecrets(requestParameters.envId, requestParameters.collection, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
9862
10013
|
},
|
|
9863
10014
|
/**
|
|
@@ -9866,7 +10017,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
|
|
|
9866
10017
|
* @param {*} [options] Override http request option.
|
|
9867
10018
|
* @throws {RequiredError}
|
|
9868
10019
|
*/
|
|
9869
|
-
createSecret(requestParameters: SecretsApiCreateSecretRequest, options?:
|
|
10020
|
+
createSecret(requestParameters: SecretsApiCreateSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<Secret> {
|
|
9870
10021
|
return localVarFp.createSecret(requestParameters.newSecret, options).then((request) => request(axios, basePath));
|
|
9871
10022
|
},
|
|
9872
10023
|
/**
|
|
@@ -9875,7 +10026,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
|
|
|
9875
10026
|
* @param {*} [options] Override http request option.
|
|
9876
10027
|
* @throws {RequiredError}
|
|
9877
10028
|
*/
|
|
9878
|
-
deleteSecret(requestParameters: SecretsApiDeleteSecretRequest, options?:
|
|
10029
|
+
deleteSecret(requestParameters: SecretsApiDeleteSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9879
10030
|
return localVarFp.deleteSecret(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
9880
10031
|
},
|
|
9881
10032
|
/**
|
|
@@ -9884,7 +10035,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
|
|
|
9884
10035
|
* @param {*} [options] Override http request option.
|
|
9885
10036
|
* @throws {RequiredError}
|
|
9886
10037
|
*/
|
|
9887
|
-
getSecret(requestParameters: SecretsApiGetSecretRequest, options?:
|
|
10038
|
+
getSecret(requestParameters: SecretsApiGetSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<Secret> {
|
|
9888
10039
|
return localVarFp.getSecret(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
9889
10040
|
},
|
|
9890
10041
|
/**
|
|
@@ -9893,7 +10044,7 @@ export const SecretsApiFactory = function (configuration?: Configuration, basePa
|
|
|
9893
10044
|
* @param {*} [options] Override http request option.
|
|
9894
10045
|
* @throws {RequiredError}
|
|
9895
10046
|
*/
|
|
9896
|
-
updateSecret(requestParameters: SecretsApiUpdateSecretRequest, options?:
|
|
10047
|
+
updateSecret(requestParameters: SecretsApiUpdateSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise<Secret> {
|
|
9897
10048
|
return localVarFp.updateSecret(requestParameters.id, requestParameters.updateSecretApi, options).then((request) => request(axios, basePath));
|
|
9898
10049
|
},
|
|
9899
10050
|
};
|
|
@@ -10018,7 +10169,7 @@ export class SecretsApi extends BaseAPI {
|
|
|
10018
10169
|
* @throws {RequiredError}
|
|
10019
10170
|
* @memberof SecretsApi
|
|
10020
10171
|
*/
|
|
10021
|
-
public allSecrets(requestParameters: SecretsApiAllSecretsRequest = {}, options?:
|
|
10172
|
+
public allSecrets(requestParameters: SecretsApiAllSecretsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
10022
10173
|
return SecretsApiFp(this.configuration).allSecrets(requestParameters.envId, requestParameters.collection, requestParameters.name, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
10023
10174
|
}
|
|
10024
10175
|
|
|
@@ -10029,7 +10180,7 @@ export class SecretsApi extends BaseAPI {
|
|
|
10029
10180
|
* @throws {RequiredError}
|
|
10030
10181
|
* @memberof SecretsApi
|
|
10031
10182
|
*/
|
|
10032
|
-
public createSecret(requestParameters: SecretsApiCreateSecretRequest, options?:
|
|
10183
|
+
public createSecret(requestParameters: SecretsApiCreateSecretRequest, options?: RawAxiosRequestConfig) {
|
|
10033
10184
|
return SecretsApiFp(this.configuration).createSecret(requestParameters.newSecret, options).then((request) => request(this.axios, this.basePath));
|
|
10034
10185
|
}
|
|
10035
10186
|
|
|
@@ -10040,7 +10191,7 @@ export class SecretsApi extends BaseAPI {
|
|
|
10040
10191
|
* @throws {RequiredError}
|
|
10041
10192
|
* @memberof SecretsApi
|
|
10042
10193
|
*/
|
|
10043
|
-
public deleteSecret(requestParameters: SecretsApiDeleteSecretRequest, options?:
|
|
10194
|
+
public deleteSecret(requestParameters: SecretsApiDeleteSecretRequest, options?: RawAxiosRequestConfig) {
|
|
10044
10195
|
return SecretsApiFp(this.configuration).deleteSecret(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
10045
10196
|
}
|
|
10046
10197
|
|
|
@@ -10051,7 +10202,7 @@ export class SecretsApi extends BaseAPI {
|
|
|
10051
10202
|
* @throws {RequiredError}
|
|
10052
10203
|
* @memberof SecretsApi
|
|
10053
10204
|
*/
|
|
10054
|
-
public getSecret(requestParameters: SecretsApiGetSecretRequest, options?:
|
|
10205
|
+
public getSecret(requestParameters: SecretsApiGetSecretRequest, options?: RawAxiosRequestConfig) {
|
|
10055
10206
|
return SecretsApiFp(this.configuration).getSecret(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
10056
10207
|
}
|
|
10057
10208
|
|
|
@@ -10062,7 +10213,7 @@ export class SecretsApi extends BaseAPI {
|
|
|
10062
10213
|
* @throws {RequiredError}
|
|
10063
10214
|
* @memberof SecretsApi
|
|
10064
10215
|
*/
|
|
10065
|
-
public updateSecret(requestParameters: SecretsApiUpdateSecretRequest, options?:
|
|
10216
|
+
public updateSecret(requestParameters: SecretsApiUpdateSecretRequest, options?: RawAxiosRequestConfig) {
|
|
10066
10217
|
return SecretsApiFp(this.configuration).updateSecret(requestParameters.id, requestParameters.updateSecretApi, options).then((request) => request(this.axios, this.basePath));
|
|
10067
10218
|
}
|
|
10068
10219
|
}
|
|
@@ -10080,7 +10231,7 @@ export const ServerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10080
10231
|
* @param {*} [options] Override http request option.
|
|
10081
10232
|
* @throws {RequiredError}
|
|
10082
10233
|
*/
|
|
10083
|
-
getServerInfo: async (options:
|
|
10234
|
+
getServerInfo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10084
10235
|
const localVarPath = `/api/v2/server`;
|
|
10085
10236
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10086
10237
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10126,11 +10277,11 @@ export const ServerApiFp = function(configuration?: Configuration) {
|
|
|
10126
10277
|
* @param {*} [options] Override http request option.
|
|
10127
10278
|
* @throws {RequiredError}
|
|
10128
10279
|
*/
|
|
10129
|
-
async getServerInfo(options?:
|
|
10280
|
+
async getServerInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerInfo>> {
|
|
10130
10281
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getServerInfo(options);
|
|
10131
|
-
const
|
|
10132
|
-
const
|
|
10133
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
10134
10285
|
},
|
|
10135
10286
|
}
|
|
10136
10287
|
};
|
|
@@ -10147,7 +10298,7 @@ export const ServerApiFactory = function (configuration?: Configuration, basePat
|
|
|
10147
10298
|
* @param {*} [options] Override http request option.
|
|
10148
10299
|
* @throws {RequiredError}
|
|
10149
10300
|
*/
|
|
10150
|
-
getServerInfo(options?:
|
|
10301
|
+
getServerInfo(options?: RawAxiosRequestConfig): AxiosPromise<ServerInfo> {
|
|
10151
10302
|
return localVarFp.getServerInfo(options).then((request) => request(axios, basePath));
|
|
10152
10303
|
},
|
|
10153
10304
|
};
|
|
@@ -10166,7 +10317,7 @@ export class ServerApi extends BaseAPI {
|
|
|
10166
10317
|
* @throws {RequiredError}
|
|
10167
10318
|
* @memberof ServerApi
|
|
10168
10319
|
*/
|
|
10169
|
-
public getServerInfo(options?:
|
|
10320
|
+
public getServerInfo(options?: RawAxiosRequestConfig) {
|
|
10170
10321
|
return ServerApiFp(this.configuration).getServerInfo(options).then((request) => request(this.axios, this.basePath));
|
|
10171
10322
|
}
|
|
10172
10323
|
}
|
|
@@ -10187,7 +10338,7 @@ export const UserTokensApiAxiosParamCreator = function (configuration?: Configur
|
|
|
10187
10338
|
* @param {*} [options] Override http request option.
|
|
10188
10339
|
* @throws {RequiredError}
|
|
10189
10340
|
*/
|
|
10190
|
-
allUserTokens: async (userId?: string | null, page?: number | null, perPage?: number | null, options:
|
|
10341
|
+
allUserTokens: async (userId?: string | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10191
10342
|
const localVarPath = `/api/v2/user-tokens`;
|
|
10192
10343
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10193
10344
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10236,7 +10387,7 @@ export const UserTokensApiAxiosParamCreator = function (configuration?: Configur
|
|
|
10236
10387
|
* @param {*} [options] Override http request option.
|
|
10237
10388
|
* @throws {RequiredError}
|
|
10238
10389
|
*/
|
|
10239
|
-
createUserToken: async (createUserToken: CreateUserToken, options:
|
|
10390
|
+
createUserToken: async (createUserToken: CreateUserToken, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10240
10391
|
// verify required parameter 'createUserToken' is not null or undefined
|
|
10241
10392
|
assertParamExists('createUserToken', 'createUserToken', createUserToken)
|
|
10242
10393
|
const localVarPath = `/api/v2/user-tokens`;
|
|
@@ -10278,7 +10429,7 @@ export const UserTokensApiAxiosParamCreator = function (configuration?: Configur
|
|
|
10278
10429
|
* @param {*} [options] Override http request option.
|
|
10279
10430
|
* @throws {RequiredError}
|
|
10280
10431
|
*/
|
|
10281
|
-
deleteUserToken: async (id: string, options:
|
|
10432
|
+
deleteUserToken: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10282
10433
|
// verify required parameter 'id' is not null or undefined
|
|
10283
10434
|
assertParamExists('deleteUserToken', 'id', id)
|
|
10284
10435
|
const localVarPath = `/api/v2/user-tokens/{id}`
|
|
@@ -10318,7 +10469,7 @@ export const UserTokensApiAxiosParamCreator = function (configuration?: Configur
|
|
|
10318
10469
|
* @param {*} [options] Override http request option.
|
|
10319
10470
|
* @throws {RequiredError}
|
|
10320
10471
|
*/
|
|
10321
|
-
getUserToken: async (id: string, options:
|
|
10472
|
+
getUserToken: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10322
10473
|
// verify required parameter 'id' is not null or undefined
|
|
10323
10474
|
assertParamExists('getUserToken', 'id', id)
|
|
10324
10475
|
const localVarPath = `/api/v2/user-tokens/{id}`
|
|
@@ -10370,11 +10521,11 @@ export const UserTokensApiFp = function(configuration?: Configuration) {
|
|
|
10370
10521
|
* @param {*} [options] Override http request option.
|
|
10371
10522
|
* @throws {RequiredError}
|
|
10372
10523
|
*/
|
|
10373
|
-
async allUserTokens(userId?: string | null, page?: number | null, perPage?: number | null, options?:
|
|
10524
|
+
async allUserTokens(userId?: string | null, page?: number | null, perPage?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllUserTokens200Response>> {
|
|
10374
10525
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allUserTokens(userId, page, perPage, options);
|
|
10375
|
-
const
|
|
10376
|
-
const
|
|
10377
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
10378
10529
|
},
|
|
10379
10530
|
/**
|
|
10380
10531
|
*
|
|
@@ -10382,11 +10533,11 @@ export const UserTokensApiFp = function(configuration?: Configuration) {
|
|
|
10382
10533
|
* @param {*} [options] Override http request option.
|
|
10383
10534
|
* @throws {RequiredError}
|
|
10384
10535
|
*/
|
|
10385
|
-
async createUserToken(createUserToken: CreateUserToken, options?:
|
|
10536
|
+
async createUserToken(createUserToken: CreateUserToken, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatedUserToken>> {
|
|
10386
10537
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createUserToken(createUserToken, options);
|
|
10387
|
-
const
|
|
10388
|
-
const
|
|
10389
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
10390
10541
|
},
|
|
10391
10542
|
/**
|
|
10392
10543
|
*
|
|
@@ -10394,11 +10545,11 @@ export const UserTokensApiFp = function(configuration?: Configuration) {
|
|
|
10394
10545
|
* @param {*} [options] Override http request option.
|
|
10395
10546
|
* @throws {RequiredError}
|
|
10396
10547
|
*/
|
|
10397
|
-
async deleteUserToken(id: string, options?:
|
|
10548
|
+
async deleteUserToken(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
10398
10549
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserToken(id, options);
|
|
10399
|
-
const
|
|
10400
|
-
const
|
|
10401
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
10402
10553
|
},
|
|
10403
10554
|
/**
|
|
10404
10555
|
*
|
|
@@ -10406,11 +10557,11 @@ export const UserTokensApiFp = function(configuration?: Configuration) {
|
|
|
10406
10557
|
* @param {*} [options] Override http request option.
|
|
10407
10558
|
* @throws {RequiredError}
|
|
10408
10559
|
*/
|
|
10409
|
-
async getUserToken(id: string, options?:
|
|
10560
|
+
async getUserToken(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserToken>> {
|
|
10410
10561
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserToken(id, options);
|
|
10411
|
-
const
|
|
10412
|
-
const
|
|
10413
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
10414
10565
|
},
|
|
10415
10566
|
}
|
|
10416
10567
|
};
|
|
@@ -10428,7 +10579,7 @@ export const UserTokensApiFactory = function (configuration?: Configuration, bas
|
|
|
10428
10579
|
* @param {*} [options] Override http request option.
|
|
10429
10580
|
* @throws {RequiredError}
|
|
10430
10581
|
*/
|
|
10431
|
-
allUserTokens(requestParameters: UserTokensApiAllUserTokensRequest = {}, options?:
|
|
10582
|
+
allUserTokens(requestParameters: UserTokensApiAllUserTokensRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllUserTokens200Response> {
|
|
10432
10583
|
return localVarFp.allUserTokens(requestParameters.userId, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
10433
10584
|
},
|
|
10434
10585
|
/**
|
|
@@ -10437,7 +10588,7 @@ export const UserTokensApiFactory = function (configuration?: Configuration, bas
|
|
|
10437
10588
|
* @param {*} [options] Override http request option.
|
|
10438
10589
|
* @throws {RequiredError}
|
|
10439
10590
|
*/
|
|
10440
|
-
createUserToken(requestParameters: UserTokensApiCreateUserTokenRequest, options?:
|
|
10591
|
+
createUserToken(requestParameters: UserTokensApiCreateUserTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreatedUserToken> {
|
|
10441
10592
|
return localVarFp.createUserToken(requestParameters.createUserToken, options).then((request) => request(axios, basePath));
|
|
10442
10593
|
},
|
|
10443
10594
|
/**
|
|
@@ -10446,7 +10597,7 @@ export const UserTokensApiFactory = function (configuration?: Configuration, bas
|
|
|
10446
10597
|
* @param {*} [options] Override http request option.
|
|
10447
10598
|
* @throws {RequiredError}
|
|
10448
10599
|
*/
|
|
10449
|
-
deleteUserToken(requestParameters: UserTokensApiDeleteUserTokenRequest, options?:
|
|
10600
|
+
deleteUserToken(requestParameters: UserTokensApiDeleteUserTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10450
10601
|
return localVarFp.deleteUserToken(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
10451
10602
|
},
|
|
10452
10603
|
/**
|
|
@@ -10455,7 +10606,7 @@ export const UserTokensApiFactory = function (configuration?: Configuration, bas
|
|
|
10455
10606
|
* @param {*} [options] Override http request option.
|
|
10456
10607
|
* @throws {RequiredError}
|
|
10457
10608
|
*/
|
|
10458
|
-
getUserToken(requestParameters: UserTokensApiGetUserTokenRequest, options?:
|
|
10609
|
+
getUserToken(requestParameters: UserTokensApiGetUserTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserToken> {
|
|
10459
10610
|
return localVarFp.getUserToken(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
10460
10611
|
},
|
|
10461
10612
|
};
|
|
@@ -10545,7 +10696,7 @@ export class UserTokensApi extends BaseAPI {
|
|
|
10545
10696
|
* @throws {RequiredError}
|
|
10546
10697
|
* @memberof UserTokensApi
|
|
10547
10698
|
*/
|
|
10548
|
-
public allUserTokens(requestParameters: UserTokensApiAllUserTokensRequest = {}, options?:
|
|
10699
|
+
public allUserTokens(requestParameters: UserTokensApiAllUserTokensRequest = {}, options?: RawAxiosRequestConfig) {
|
|
10549
10700
|
return UserTokensApiFp(this.configuration).allUserTokens(requestParameters.userId, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
10550
10701
|
}
|
|
10551
10702
|
|
|
@@ -10556,7 +10707,7 @@ export class UserTokensApi extends BaseAPI {
|
|
|
10556
10707
|
* @throws {RequiredError}
|
|
10557
10708
|
* @memberof UserTokensApi
|
|
10558
10709
|
*/
|
|
10559
|
-
public createUserToken(requestParameters: UserTokensApiCreateUserTokenRequest, options?:
|
|
10710
|
+
public createUserToken(requestParameters: UserTokensApiCreateUserTokenRequest, options?: RawAxiosRequestConfig) {
|
|
10560
10711
|
return UserTokensApiFp(this.configuration).createUserToken(requestParameters.createUserToken, options).then((request) => request(this.axios, this.basePath));
|
|
10561
10712
|
}
|
|
10562
10713
|
|
|
@@ -10567,7 +10718,7 @@ export class UserTokensApi extends BaseAPI {
|
|
|
10567
10718
|
* @throws {RequiredError}
|
|
10568
10719
|
* @memberof UserTokensApi
|
|
10569
10720
|
*/
|
|
10570
|
-
public deleteUserToken(requestParameters: UserTokensApiDeleteUserTokenRequest, options?:
|
|
10721
|
+
public deleteUserToken(requestParameters: UserTokensApiDeleteUserTokenRequest, options?: RawAxiosRequestConfig) {
|
|
10571
10722
|
return UserTokensApiFp(this.configuration).deleteUserToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
10572
10723
|
}
|
|
10573
10724
|
|
|
@@ -10578,7 +10729,7 @@ export class UserTokensApi extends BaseAPI {
|
|
|
10578
10729
|
* @throws {RequiredError}
|
|
10579
10730
|
* @memberof UserTokensApi
|
|
10580
10731
|
*/
|
|
10581
|
-
public getUserToken(requestParameters: UserTokensApiGetUserTokenRequest, options?:
|
|
10732
|
+
public getUserToken(requestParameters: UserTokensApiGetUserTokenRequest, options?: RawAxiosRequestConfig) {
|
|
10582
10733
|
return UserTokensApiFp(this.configuration).getUserToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
10583
10734
|
}
|
|
10584
10735
|
}
|
|
@@ -10601,7 +10752,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10601
10752
|
* @param {*} [options] Override http request option.
|
|
10602
10753
|
* @throws {RequiredError}
|
|
10603
10754
|
*/
|
|
10604
|
-
allUsers: async (displayName?: string | null, email?: string | null, isActive?: boolean | null, page?: number | null, perPage?: number | null, options:
|
|
10755
|
+
allUsers: async (displayName?: string | null, email?: string | null, isActive?: boolean | null, page?: number | null, perPage?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10605
10756
|
const localVarPath = `/api/v2/users`;
|
|
10606
10757
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10607
10758
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10658,7 +10809,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10658
10809
|
* @param {*} [options] Override http request option.
|
|
10659
10810
|
* @throws {RequiredError}
|
|
10660
10811
|
*/
|
|
10661
|
-
getUser: async (id: string, options:
|
|
10812
|
+
getUser: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10662
10813
|
// verify required parameter 'id' is not null or undefined
|
|
10663
10814
|
assertParamExists('getUser', 'id', id)
|
|
10664
10815
|
const localVarPath = `/api/v2/users/{id}`
|
|
@@ -10699,7 +10850,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10699
10850
|
* @param {*} [options] Override http request option.
|
|
10700
10851
|
* @throws {RequiredError}
|
|
10701
10852
|
*/
|
|
10702
|
-
updateUser: async (id: string, updateUser: UpdateUser, options:
|
|
10853
|
+
updateUser: async (id: string, updateUser: UpdateUser, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10703
10854
|
// verify required parameter 'id' is not null or undefined
|
|
10704
10855
|
assertParamExists('updateUser', 'id', id)
|
|
10705
10856
|
// verify required parameter 'updateUser' is not null or undefined
|
|
@@ -10758,11 +10909,11 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
10758
10909
|
* @param {*} [options] Override http request option.
|
|
10759
10910
|
* @throws {RequiredError}
|
|
10760
10911
|
*/
|
|
10761
|
-
async allUsers(displayName?: string | null, email?: string | null, isActive?: boolean | null, page?: number | null, perPage?: number | null, options?:
|
|
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>> {
|
|
10762
10913
|
const localVarAxiosArgs = await localVarAxiosParamCreator.allUsers(displayName, email, isActive, page, perPage, options);
|
|
10763
|
-
const
|
|
10764
|
-
const
|
|
10765
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
10766
10917
|
},
|
|
10767
10918
|
/**
|
|
10768
10919
|
*
|
|
@@ -10770,11 +10921,11 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
10770
10921
|
* @param {*} [options] Override http request option.
|
|
10771
10922
|
* @throws {RequiredError}
|
|
10772
10923
|
*/
|
|
10773
|
-
async getUser(id: string, options?:
|
|
10924
|
+
async getUser(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>> {
|
|
10774
10925
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(id, options);
|
|
10775
|
-
const
|
|
10776
|
-
const
|
|
10777
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
10778
10929
|
},
|
|
10779
10930
|
/**
|
|
10780
10931
|
*
|
|
@@ -10783,11 +10934,11 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
10783
10934
|
* @param {*} [options] Override http request option.
|
|
10784
10935
|
* @throws {RequiredError}
|
|
10785
10936
|
*/
|
|
10786
|
-
async updateUser(id: string, updateUser: UpdateUser, options?:
|
|
10937
|
+
async updateUser(id: string, updateUser: UpdateUser, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>> {
|
|
10787
10938
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(id, updateUser, options);
|
|
10788
|
-
const
|
|
10789
|
-
const
|
|
10790
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
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);
|
|
10791
10942
|
},
|
|
10792
10943
|
}
|
|
10793
10944
|
};
|
|
@@ -10805,7 +10956,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
10805
10956
|
* @param {*} [options] Override http request option.
|
|
10806
10957
|
* @throws {RequiredError}
|
|
10807
10958
|
*/
|
|
10808
|
-
allUsers(requestParameters: UsersApiAllUsersRequest = {}, options?:
|
|
10959
|
+
allUsers(requestParameters: UsersApiAllUsersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<AllUsers200Response> {
|
|
10809
10960
|
return localVarFp.allUsers(requestParameters.displayName, requestParameters.email, requestParameters.isActive, requestParameters.page, requestParameters.perPage, options).then((request) => request(axios, basePath));
|
|
10810
10961
|
},
|
|
10811
10962
|
/**
|
|
@@ -10814,7 +10965,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
10814
10965
|
* @param {*} [options] Override http request option.
|
|
10815
10966
|
* @throws {RequiredError}
|
|
10816
10967
|
*/
|
|
10817
|
-
getUser(requestParameters: UsersApiGetUserRequest, options?:
|
|
10968
|
+
getUser(requestParameters: UsersApiGetUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
|
10818
10969
|
return localVarFp.getUser(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
10819
10970
|
},
|
|
10820
10971
|
/**
|
|
@@ -10823,7 +10974,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
10823
10974
|
* @param {*} [options] Override http request option.
|
|
10824
10975
|
* @throws {RequiredError}
|
|
10825
10976
|
*/
|
|
10826
|
-
updateUser(requestParameters: UsersApiUpdateUserRequest, options?:
|
|
10977
|
+
updateUser(requestParameters: UsersApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<User> {
|
|
10827
10978
|
return localVarFp.updateUser(requestParameters.id, requestParameters.updateUser, options).then((request) => request(axios, basePath));
|
|
10828
10979
|
},
|
|
10829
10980
|
};
|
|
@@ -10920,7 +11071,7 @@ export class UsersApi extends BaseAPI {
|
|
|
10920
11071
|
* @throws {RequiredError}
|
|
10921
11072
|
* @memberof UsersApi
|
|
10922
11073
|
*/
|
|
10923
|
-
public allUsers(requestParameters: UsersApiAllUsersRequest = {}, options?:
|
|
11074
|
+
public allUsers(requestParameters: UsersApiAllUsersRequest = {}, options?: RawAxiosRequestConfig) {
|
|
10924
11075
|
return UsersApiFp(this.configuration).allUsers(requestParameters.displayName, requestParameters.email, requestParameters.isActive, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
10925
11076
|
}
|
|
10926
11077
|
|
|
@@ -10931,7 +11082,7 @@ export class UsersApi extends BaseAPI {
|
|
|
10931
11082
|
* @throws {RequiredError}
|
|
10932
11083
|
* @memberof UsersApi
|
|
10933
11084
|
*/
|
|
10934
|
-
public getUser(requestParameters: UsersApiGetUserRequest, options?:
|
|
11085
|
+
public getUser(requestParameters: UsersApiGetUserRequest, options?: RawAxiosRequestConfig) {
|
|
10935
11086
|
return UsersApiFp(this.configuration).getUser(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
10936
11087
|
}
|
|
10937
11088
|
|
|
@@ -10942,7 +11093,7 @@ export class UsersApi extends BaseAPI {
|
|
|
10942
11093
|
* @throws {RequiredError}
|
|
10943
11094
|
* @memberof UsersApi
|
|
10944
11095
|
*/
|
|
10945
|
-
public updateUser(requestParameters: UsersApiUpdateUserRequest, options?:
|
|
11096
|
+
public updateUser(requestParameters: UsersApiUpdateUserRequest, options?: RawAxiosRequestConfig) {
|
|
10946
11097
|
return UsersApiFp(this.configuration).updateUser(requestParameters.id, requestParameters.updateUser, options).then((request) => request(this.axios, this.basePath));
|
|
10947
11098
|
}
|
|
10948
11099
|
}
|