qovery-typescript-axios 1.1.252 → 1.1.254

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/api.ts CHANGED
@@ -4744,6 +4744,25 @@ export interface DeployAllRequestJobsInner {
4744
4744
  */
4745
4745
  'git_commit_id'?: string;
4746
4746
  }
4747
+ /**
4748
+ *
4749
+ * @export
4750
+ * @interface DeployHelmRequest
4751
+ */
4752
+ export interface DeployHelmRequest {
4753
+ /**
4754
+ * version of the chart to deploy. Cannot be set if `git_commit_id` is defined
4755
+ * @type {string}
4756
+ * @memberof DeployHelmRequest
4757
+ */
4758
+ 'version'?: string;
4759
+ /**
4760
+ * Commit to deploy Cannot be set if `version` is defined
4761
+ * @type {string}
4762
+ * @memberof DeployHelmRequest
4763
+ */
4764
+ 'git_commit_id'?: string;
4765
+ }
4747
4766
  /**
4748
4767
  *
4749
4768
  * @export
@@ -7232,6 +7251,19 @@ export interface GitTokenResponse {
7232
7251
  }
7233
7252
 
7234
7253
 
7254
+ /**
7255
+ *
7256
+ * @export
7257
+ * @interface GitTokenResponseList
7258
+ */
7259
+ export interface GitTokenResponseList {
7260
+ /**
7261
+ *
7262
+ * @type {Array<GitTokenResponse>}
7263
+ * @memberof GitTokenResponseList
7264
+ */
7265
+ 'results'?: Array<GitTokenResponse>;
7266
+ }
7235
7267
  /**
7236
7268
  *
7237
7269
  * @export
@@ -7251,6 +7283,415 @@ export interface Healthcheck {
7251
7283
  */
7252
7284
  'liveness_probe'?: Probe | null;
7253
7285
  }
7286
+ /**
7287
+ *
7288
+ * @export
7289
+ * @interface HelmDeploymentRestrictionRequest
7290
+ */
7291
+ export interface HelmDeploymentRestrictionRequest {
7292
+ /**
7293
+ *
7294
+ * @type {DeploymentRestrictionModeEnum}
7295
+ * @memberof HelmDeploymentRestrictionRequest
7296
+ */
7297
+ 'mode': DeploymentRestrictionModeEnum;
7298
+ /**
7299
+ *
7300
+ * @type {DeploymentRestrictionTypeEnum}
7301
+ * @memberof HelmDeploymentRestrictionRequest
7302
+ */
7303
+ 'type': DeploymentRestrictionTypeEnum;
7304
+ /**
7305
+ * For `PATH` restrictions, the value must not start with `/`
7306
+ * @type {string}
7307
+ * @memberof HelmDeploymentRestrictionRequest
7308
+ */
7309
+ 'value': string;
7310
+ }
7311
+
7312
+
7313
+ /**
7314
+ *
7315
+ * @export
7316
+ * @interface HelmDeploymentRestrictionResponse
7317
+ */
7318
+ export interface HelmDeploymentRestrictionResponse {
7319
+ /**
7320
+ *
7321
+ * @type {string}
7322
+ * @memberof HelmDeploymentRestrictionResponse
7323
+ */
7324
+ 'id': string;
7325
+ /**
7326
+ *
7327
+ * @type {string}
7328
+ * @memberof HelmDeploymentRestrictionResponse
7329
+ */
7330
+ 'created_at': string;
7331
+ /**
7332
+ *
7333
+ * @type {string}
7334
+ * @memberof HelmDeploymentRestrictionResponse
7335
+ */
7336
+ 'updated_at'?: string;
7337
+ /**
7338
+ *
7339
+ * @type {DeploymentRestrictionModeEnum}
7340
+ * @memberof HelmDeploymentRestrictionResponse
7341
+ */
7342
+ 'mode': DeploymentRestrictionModeEnum;
7343
+ /**
7344
+ *
7345
+ * @type {DeploymentRestrictionTypeEnum}
7346
+ * @memberof HelmDeploymentRestrictionResponse
7347
+ */
7348
+ 'type': DeploymentRestrictionTypeEnum;
7349
+ /**
7350
+ * For `PATH` restrictions, the value must not start with `/`
7351
+ * @type {string}
7352
+ * @memberof HelmDeploymentRestrictionResponse
7353
+ */
7354
+ 'value': string;
7355
+ }
7356
+
7357
+
7358
+ /**
7359
+ *
7360
+ * @export
7361
+ * @interface HelmDeploymentRestrictionResponseList
7362
+ */
7363
+ export interface HelmDeploymentRestrictionResponseList {
7364
+ /**
7365
+ *
7366
+ * @type {Array<HelmDeploymentRestrictionResponse>}
7367
+ * @memberof HelmDeploymentRestrictionResponseList
7368
+ */
7369
+ 'results'?: Array<HelmDeploymentRestrictionResponse>;
7370
+ }
7371
+ /**
7372
+ *
7373
+ * @export
7374
+ * @enum {string}
7375
+ */
7376
+
7377
+ export const HelmForceEvent = {
7378
+ DIFF: 'DIFF'
7379
+ } as const;
7380
+
7381
+ export type HelmForceEvent = typeof HelmForceEvent[keyof typeof HelmForceEvent];
7382
+
7383
+
7384
+ /**
7385
+ *
7386
+ * @export
7387
+ * @interface HelmRequest
7388
+ */
7389
+ export interface HelmRequest {
7390
+ /**
7391
+ * name is case insensitive
7392
+ * @type {string}
7393
+ * @memberof HelmRequest
7394
+ */
7395
+ 'name': string;
7396
+ /**
7397
+ *
7398
+ * @type {string}
7399
+ * @memberof HelmRequest
7400
+ */
7401
+ 'description'?: string;
7402
+ /**
7403
+ * Maximum number of seconds allowed for helm to run before killing it and mark it as failed
7404
+ * @type {number}
7405
+ * @memberof HelmRequest
7406
+ */
7407
+ 'timeout_sec'?: number;
7408
+ /**
7409
+ * Indicates if the \'environment preview option\' is enabled. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called or when a new commit is updated. If not specified, it takes the value of the `auto_preview` property from the associated environment.
7410
+ * @type {boolean}
7411
+ * @memberof HelmRequest
7412
+ */
7413
+ 'auto_preview'?: boolean | null;
7414
+ /**
7415
+ * Specify if the helm will be automatically updated after receiving a new image tag or a new commit according to the source type.
7416
+ * @type {boolean}
7417
+ * @memberof HelmRequest
7418
+ */
7419
+ 'auto_deploy'?: boolean;
7420
+ /**
7421
+ *
7422
+ * @type {HelmRequestAllOfSource}
7423
+ * @memberof HelmRequest
7424
+ */
7425
+ 'source'?: HelmRequestAllOfSource;
7426
+ /**
7427
+ * The extra arguments to pass to helm
7428
+ * @type {Array<string>}
7429
+ * @memberof HelmRequest
7430
+ */
7431
+ 'arguments'?: Array<string>;
7432
+ /**
7433
+ * If we should allow the chart to deploy object outside his specified namespace. Setting this flag to true, requires special rights
7434
+ * @type {boolean}
7435
+ * @memberof HelmRequest
7436
+ */
7437
+ 'allow_cluster_wide_resources'?: boolean;
7438
+ /**
7439
+ *
7440
+ * @type {HelmRequestAllOfValuesOverride}
7441
+ * @memberof HelmRequest
7442
+ */
7443
+ 'values_override'?: HelmRequestAllOfValuesOverride;
7444
+ }
7445
+ /**
7446
+ *
7447
+ * @export
7448
+ * @interface HelmRequestAllOfSource
7449
+ */
7450
+ export interface HelmRequestAllOfSource {
7451
+ /**
7452
+ *
7453
+ * @type {HelmRequestAllOfSourceGit}
7454
+ * @memberof HelmRequestAllOfSource
7455
+ */
7456
+ 'git'?: HelmRequestAllOfSourceGit | null;
7457
+ /**
7458
+ *
7459
+ * @type {HelmRequestAllOfSourceRepository}
7460
+ * @memberof HelmRequestAllOfSource
7461
+ */
7462
+ 'repository'?: HelmRequestAllOfSourceRepository | null;
7463
+ }
7464
+ /**
7465
+ *
7466
+ * @export
7467
+ * @interface HelmRequestAllOfSourceGit
7468
+ */
7469
+ export interface HelmRequestAllOfSourceGit {
7470
+ /**
7471
+ *
7472
+ * @type {ApplicationGitRepositoryRequest}
7473
+ * @memberof HelmRequestAllOfSourceGit
7474
+ */
7475
+ 'git_repository'?: ApplicationGitRepositoryRequest;
7476
+ }
7477
+ /**
7478
+ *
7479
+ * @export
7480
+ * @interface HelmRequestAllOfSourceRepository
7481
+ */
7482
+ export interface HelmRequestAllOfSourceRepository {
7483
+ /**
7484
+ * The id of the helm repository
7485
+ * @type {string}
7486
+ * @memberof HelmRequestAllOfSourceRepository
7487
+ */
7488
+ 'repository'?: string | null;
7489
+ /**
7490
+ * The name of the chart in the repository
7491
+ * @type {string}
7492
+ * @memberof HelmRequestAllOfSourceRepository
7493
+ */
7494
+ 'chart_name'?: string;
7495
+ /**
7496
+ * The version of the chart to use
7497
+ * @type {string}
7498
+ * @memberof HelmRequestAllOfSourceRepository
7499
+ */
7500
+ 'chart_version'?: string;
7501
+ }
7502
+ /**
7503
+ * Specify helm values you want to set or override
7504
+ * @export
7505
+ * @interface HelmRequestAllOfValuesOverride
7506
+ */
7507
+ export interface HelmRequestAllOfValuesOverride {
7508
+ /**
7509
+ *
7510
+ * @type {Array<Array<string>>}
7511
+ * @memberof HelmRequestAllOfValuesOverride
7512
+ */
7513
+ 'set'?: Array<Array<string>>;
7514
+ /**
7515
+ *
7516
+ * @type {Array<Array<string>>}
7517
+ * @memberof HelmRequestAllOfValuesOverride
7518
+ */
7519
+ 'set_string'?: Array<Array<string>>;
7520
+ /**
7521
+ *
7522
+ * @type {Array<Array<string>>}
7523
+ * @memberof HelmRequestAllOfValuesOverride
7524
+ */
7525
+ 'set_json'?: Array<Array<string>>;
7526
+ /**
7527
+ *
7528
+ * @type {HelmRequestAllOfValuesOverrideFile}
7529
+ * @memberof HelmRequestAllOfValuesOverride
7530
+ */
7531
+ 'file'?: HelmRequestAllOfValuesOverrideFile | null;
7532
+ }
7533
+ /**
7534
+ *
7535
+ * @export
7536
+ * @interface HelmRequestAllOfValuesOverrideFile
7537
+ */
7538
+ export interface HelmRequestAllOfValuesOverrideFile {
7539
+ /**
7540
+ *
7541
+ * @type {HelmRequestAllOfValuesOverrideFileRaw}
7542
+ * @memberof HelmRequestAllOfValuesOverrideFile
7543
+ */
7544
+ 'raw'?: HelmRequestAllOfValuesOverrideFileRaw | null;
7545
+ /**
7546
+ *
7547
+ * @type {HelmRequestAllOfValuesOverrideFileGit}
7548
+ * @memberof HelmRequestAllOfValuesOverrideFile
7549
+ */
7550
+ 'git'?: HelmRequestAllOfValuesOverrideFileGit | null;
7551
+ }
7552
+ /**
7553
+ *
7554
+ * @export
7555
+ * @interface HelmRequestAllOfValuesOverrideFileGit
7556
+ */
7557
+ export interface HelmRequestAllOfValuesOverrideFileGit {
7558
+ /**
7559
+ *
7560
+ * @type {ApplicationGitRepositoryRequest}
7561
+ * @memberof HelmRequestAllOfValuesOverrideFileGit
7562
+ */
7563
+ 'git_repository'?: ApplicationGitRepositoryRequest;
7564
+ /**
7565
+ * List of path inside your git repository to locate values file. Must start by a /
7566
+ * @type {Array<string>}
7567
+ * @memberof HelmRequestAllOfValuesOverrideFileGit
7568
+ */
7569
+ 'paths'?: Array<string>;
7570
+ }
7571
+ /**
7572
+ *
7573
+ * @export
7574
+ * @interface HelmRequestAllOfValuesOverrideFileRaw
7575
+ */
7576
+ export interface HelmRequestAllOfValuesOverrideFileRaw {
7577
+ /**
7578
+ *
7579
+ * @type {Array<HelmRequestAllOfValuesOverrideFileRawValues>}
7580
+ * @memberof HelmRequestAllOfValuesOverrideFileRaw
7581
+ */
7582
+ 'values'?: Array<HelmRequestAllOfValuesOverrideFileRawValues>;
7583
+ }
7584
+ /**
7585
+ *
7586
+ * @export
7587
+ * @interface HelmRequestAllOfValuesOverrideFileRawValues
7588
+ */
7589
+ export interface HelmRequestAllOfValuesOverrideFileRawValues {
7590
+ /**
7591
+ * The name of the value file
7592
+ * @type {string}
7593
+ * @memberof HelmRequestAllOfValuesOverrideFileRawValues
7594
+ */
7595
+ 'name'?: string;
7596
+ /**
7597
+ * The content of the value file
7598
+ * @type {string}
7599
+ * @memberof HelmRequestAllOfValuesOverrideFileRawValues
7600
+ */
7601
+ 'content'?: string;
7602
+ }
7603
+ /**
7604
+ *
7605
+ * @export
7606
+ * @interface HelmResponse
7607
+ */
7608
+ export interface HelmResponse {
7609
+ /**
7610
+ *
7611
+ * @type {string}
7612
+ * @memberof HelmResponse
7613
+ */
7614
+ 'id': string;
7615
+ /**
7616
+ *
7617
+ * @type {string}
7618
+ * @memberof HelmResponse
7619
+ */
7620
+ 'created_at': string;
7621
+ /**
7622
+ *
7623
+ * @type {string}
7624
+ * @memberof HelmResponse
7625
+ */
7626
+ 'updated_at'?: string;
7627
+ /**
7628
+ *
7629
+ * @type {ReferenceObject}
7630
+ * @memberof HelmResponse
7631
+ */
7632
+ 'environment': ReferenceObject;
7633
+ /**
7634
+ * name is case insensitive
7635
+ * @type {string}
7636
+ * @memberof HelmResponse
7637
+ */
7638
+ 'name': string;
7639
+ /**
7640
+ *
7641
+ * @type {string}
7642
+ * @memberof HelmResponse
7643
+ */
7644
+ 'description'?: string;
7645
+ /**
7646
+ * Indicates if the \'environment preview option\' is enabled. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment.
7647
+ * @type {boolean}
7648
+ * @memberof HelmResponse
7649
+ */
7650
+ 'auto_preview': boolean;
7651
+ /**
7652
+ * Specify if the service will be automatically updated after receiving a new image tag or a new commit according to the source type.
7653
+ * @type {boolean}
7654
+ * @memberof HelmResponse
7655
+ */
7656
+ 'auto_deploy': boolean;
7657
+ /**
7658
+ *
7659
+ * @type {HelmRequestAllOfSource}
7660
+ * @memberof HelmResponse
7661
+ */
7662
+ 'source': HelmRequestAllOfSource;
7663
+ /**
7664
+ * The extra arguments to pass to helm
7665
+ * @type {Array<string>}
7666
+ * @memberof HelmResponse
7667
+ */
7668
+ 'arguments'?: Array<string>;
7669
+ /**
7670
+ * If we should allow the chart to deploy object outside his specified namespace. Setting this flag to true, requires special rights
7671
+ * @type {boolean}
7672
+ * @memberof HelmResponse
7673
+ */
7674
+ 'allow_cluster_wide_resources'?: boolean;
7675
+ /**
7676
+ *
7677
+ * @type {HelmRequestAllOfValuesOverride}
7678
+ * @memberof HelmResponse
7679
+ */
7680
+ 'values_override'?: HelmRequestAllOfValuesOverride;
7681
+ }
7682
+ /**
7683
+ *
7684
+ * @export
7685
+ * @interface HelmResponseList
7686
+ */
7687
+ export interface HelmResponseList {
7688
+ /**
7689
+ *
7690
+ * @type {Array<HelmResponse>}
7691
+ * @memberof HelmResponseList
7692
+ */
7693
+ 'results'?: Array<HelmResponse>;
7694
+ }
7254
7695
  /**
7255
7696
  *
7256
7697
  * @export
@@ -8375,40 +8816,91 @@ export interface ListDatabaseDeploymentHistory200Response {
8375
8816
  /**
8376
8817
  *
8377
8818
  * @export
8378
- * @interface ListJobDeploymentHistory200Response
8819
+ * @interface ListHelmDeploymentHistory200Response
8379
8820
  */
8380
- export interface ListJobDeploymentHistory200Response {
8821
+ export interface ListHelmDeploymentHistory200Response {
8381
8822
  /**
8382
8823
  *
8383
8824
  * @type {number}
8384
- * @memberof ListJobDeploymentHistory200Response
8825
+ * @memberof ListHelmDeploymentHistory200Response
8385
8826
  */
8386
8827
  'page': number;
8387
8828
  /**
8388
8829
  *
8389
8830
  * @type {number}
8390
- * @memberof ListJobDeploymentHistory200Response
8831
+ * @memberof ListHelmDeploymentHistory200Response
8391
8832
  */
8392
8833
  'page_size': number;
8393
8834
  /**
8394
8835
  *
8395
- * @type {Array<DeploymentHistoryJobResponse>}
8396
- * @memberof ListJobDeploymentHistory200Response
8836
+ * @type {Array<ListHelmDeploymentHistory200ResponseAllOfResultsInner>}
8837
+ * @memberof ListHelmDeploymentHistory200Response
8397
8838
  */
8398
- 'results'?: Array<DeploymentHistoryJobResponse>;
8839
+ 'results'?: Array<ListHelmDeploymentHistory200ResponseAllOfResultsInner>;
8399
8840
  }
8400
8841
  /**
8401
8842
  *
8402
8843
  * @export
8403
- * @interface ListOrganizationGitTokens200Response
8844
+ * @interface ListHelmDeploymentHistory200ResponseAllOfResultsInner
8404
8845
  */
8405
- export interface ListOrganizationGitTokens200Response {
8846
+ export interface ListHelmDeploymentHistory200ResponseAllOfResultsInner {
8406
8847
  /**
8407
8848
  *
8408
- * @type {Array<GitTokenResponse>}
8409
- * @memberof ListOrganizationGitTokens200Response
8849
+ * @type {string}
8850
+ * @memberof ListHelmDeploymentHistory200ResponseAllOfResultsInner
8410
8851
  */
8411
- 'results'?: Array<GitTokenResponse>;
8852
+ 'id': string;
8853
+ /**
8854
+ *
8855
+ * @type {string}
8856
+ * @memberof ListHelmDeploymentHistory200ResponseAllOfResultsInner
8857
+ */
8858
+ 'created_at': string;
8859
+ /**
8860
+ *
8861
+ * @type {string}
8862
+ * @memberof ListHelmDeploymentHistory200ResponseAllOfResultsInner
8863
+ */
8864
+ 'updated_at'?: string;
8865
+ /**
8866
+ * name of the helm
8867
+ * @type {string}
8868
+ * @memberof ListHelmDeploymentHistory200ResponseAllOfResultsInner
8869
+ */
8870
+ 'name'?: string;
8871
+ /**
8872
+ *
8873
+ * @type {StateEnum}
8874
+ * @memberof ListHelmDeploymentHistory200ResponseAllOfResultsInner
8875
+ */
8876
+ 'status'?: StateEnum;
8877
+ }
8878
+
8879
+
8880
+ /**
8881
+ *
8882
+ * @export
8883
+ * @interface ListJobDeploymentHistory200Response
8884
+ */
8885
+ export interface ListJobDeploymentHistory200Response {
8886
+ /**
8887
+ *
8888
+ * @type {number}
8889
+ * @memberof ListJobDeploymentHistory200Response
8890
+ */
8891
+ 'page': number;
8892
+ /**
8893
+ *
8894
+ * @type {number}
8895
+ * @memberof ListJobDeploymentHistory200Response
8896
+ */
8897
+ 'page_size': number;
8898
+ /**
8899
+ *
8900
+ * @type {Array<DeploymentHistoryJobResponse>}
8901
+ * @memberof ListJobDeploymentHistory200Response
8902
+ */
8903
+ 'results'?: Array<DeploymentHistoryJobResponse>;
8412
8904
  }
8413
8905
  /**
8414
8906
  *
@@ -34939,6 +35431,1758 @@ export class GithubAppApi extends BaseAPI {
34939
35431
 
34940
35432
 
34941
35433
 
35434
+ /**
35435
+ * HelmApi - axios parameter creator
35436
+ * @export
35437
+ */
35438
+ export const HelmApiAxiosParamCreator = function (configuration?: Configuration) {
35439
+ return {
35440
+ /**
35441
+ *
35442
+ * @summary List default helm advanced settings
35443
+ * @param {*} [options] Override http request option.
35444
+ * @throws {RequiredError}
35445
+ */
35446
+ getDefaultHelmAdvancedSettings: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35447
+ const localVarPath = `/defaultHelmAdvancedSettings`;
35448
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35449
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35450
+ let baseOptions;
35451
+ if (configuration) {
35452
+ baseOptions = configuration.baseOptions;
35453
+ }
35454
+
35455
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35456
+ const localVarHeaderParameter = {} as any;
35457
+ const localVarQueryParameter = {} as any;
35458
+
35459
+ // authentication ApiKeyAuth required
35460
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35461
+
35462
+ // authentication bearerAuth required
35463
+ // http bearer authentication required
35464
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
35465
+
35466
+
35467
+
35468
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35469
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35470
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35471
+
35472
+ return {
35473
+ url: toPathString(localVarUrlObj),
35474
+ options: localVarRequestOptions,
35475
+ };
35476
+ },
35477
+ }
35478
+ };
35479
+
35480
+ /**
35481
+ * HelmApi - functional programming interface
35482
+ * @export
35483
+ */
35484
+ export const HelmApiFp = function(configuration?: Configuration) {
35485
+ const localVarAxiosParamCreator = HelmApiAxiosParamCreator(configuration)
35486
+ return {
35487
+ /**
35488
+ *
35489
+ * @summary List default helm advanced settings
35490
+ * @param {*} [options] Override http request option.
35491
+ * @throws {RequiredError}
35492
+ */
35493
+ async getDefaultHelmAdvancedSettings(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
35494
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultHelmAdvancedSettings(options);
35495
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35496
+ },
35497
+ }
35498
+ };
35499
+
35500
+ /**
35501
+ * HelmApi - factory interface
35502
+ * @export
35503
+ */
35504
+ export const HelmApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
35505
+ const localVarFp = HelmApiFp(configuration)
35506
+ return {
35507
+ /**
35508
+ *
35509
+ * @summary List default helm advanced settings
35510
+ * @param {*} [options] Override http request option.
35511
+ * @throws {RequiredError}
35512
+ */
35513
+ getDefaultHelmAdvancedSettings(options?: any): AxiosPromise<object> {
35514
+ return localVarFp.getDefaultHelmAdvancedSettings(options).then((request) => request(axios, basePath));
35515
+ },
35516
+ };
35517
+ };
35518
+
35519
+ /**
35520
+ * HelmApi - object-oriented interface
35521
+ * @export
35522
+ * @class HelmApi
35523
+ * @extends {BaseAPI}
35524
+ */
35525
+ export class HelmApi extends BaseAPI {
35526
+ /**
35527
+ *
35528
+ * @summary List default helm advanced settings
35529
+ * @param {*} [options] Override http request option.
35530
+ * @throws {RequiredError}
35531
+ * @memberof HelmApi
35532
+ */
35533
+ public getDefaultHelmAdvancedSettings(options?: AxiosRequestConfig) {
35534
+ return HelmApiFp(this.configuration).getDefaultHelmAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
35535
+ }
35536
+ }
35537
+
35538
+
35539
+
35540
+ /**
35541
+ * HelmActionsApi - axios parameter creator
35542
+ * @export
35543
+ */
35544
+ export const HelmActionsApiAxiosParamCreator = function (configuration?: Configuration) {
35545
+ return {
35546
+ /**
35547
+ * You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
35548
+ * @summary Deploy helm
35549
+ * @param {string} helmId Helm ID
35550
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35551
+ * @param {DeployHelmRequest} [deployHelmRequest]
35552
+ * @param {*} [options] Override http request option.
35553
+ * @throws {RequiredError}
35554
+ */
35555
+ deployHelm: async (helmId: string, forceEvent?: HelmForceEvent, deployHelmRequest?: DeployHelmRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35556
+ // verify required parameter 'helmId' is not null or undefined
35557
+ assertParamExists('deployHelm', 'helmId', helmId)
35558
+ const localVarPath = `/helm/{helmId}/deploy`
35559
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
35560
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35561
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35562
+ let baseOptions;
35563
+ if (configuration) {
35564
+ baseOptions = configuration.baseOptions;
35565
+ }
35566
+
35567
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35568
+ const localVarHeaderParameter = {} as any;
35569
+ const localVarQueryParameter = {} as any;
35570
+
35571
+ // authentication ApiKeyAuth required
35572
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35573
+
35574
+ // authentication bearerAuth required
35575
+ // http bearer authentication required
35576
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
35577
+
35578
+ if (forceEvent !== undefined) {
35579
+ localVarQueryParameter['forceEvent'] = forceEvent;
35580
+ }
35581
+
35582
+
35583
+
35584
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35585
+
35586
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35587
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35588
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35589
+ localVarRequestOptions.data = serializeDataIfNeeded(deployHelmRequest, localVarRequestOptions, configuration)
35590
+
35591
+ return {
35592
+ url: toPathString(localVarUrlObj),
35593
+ options: localVarRequestOptions,
35594
+ };
35595
+ },
35596
+ /**
35597
+ *
35598
+ * @summary Redeploy helm
35599
+ * @param {string} helmId Helm ID
35600
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35601
+ * @param {*} [options] Override http request option.
35602
+ * @throws {RequiredError}
35603
+ */
35604
+ redeployHelm: async (helmId: string, forceEvent?: HelmForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35605
+ // verify required parameter 'helmId' is not null or undefined
35606
+ assertParamExists('redeployHelm', 'helmId', helmId)
35607
+ const localVarPath = `/helm/{helmId}/redeploy`
35608
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
35609
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35610
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35611
+ let baseOptions;
35612
+ if (configuration) {
35613
+ baseOptions = configuration.baseOptions;
35614
+ }
35615
+
35616
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35617
+ const localVarHeaderParameter = {} as any;
35618
+ const localVarQueryParameter = {} as any;
35619
+
35620
+ // authentication ApiKeyAuth required
35621
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35622
+
35623
+ // authentication bearerAuth required
35624
+ // http bearer authentication required
35625
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
35626
+
35627
+ if (forceEvent !== undefined) {
35628
+ localVarQueryParameter['forceEvent'] = forceEvent;
35629
+ }
35630
+
35631
+
35632
+
35633
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35634
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35635
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35636
+
35637
+ return {
35638
+ url: toPathString(localVarUrlObj),
35639
+ options: localVarRequestOptions,
35640
+ };
35641
+ },
35642
+ /**
35643
+ * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
35644
+ * @summary Deprecated - Restart helm
35645
+ * @param {string} helmId Helm ID
35646
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35647
+ * @param {*} [options] Override http request option.
35648
+ * @throws {RequiredError}
35649
+ */
35650
+ restartHelm: async (helmId: string, forceEvent?: HelmForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35651
+ // verify required parameter 'helmId' is not null or undefined
35652
+ assertParamExists('restartHelm', 'helmId', helmId)
35653
+ const localVarPath = `/helm/{helmId}/restart`
35654
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
35655
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35656
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35657
+ let baseOptions;
35658
+ if (configuration) {
35659
+ baseOptions = configuration.baseOptions;
35660
+ }
35661
+
35662
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35663
+ const localVarHeaderParameter = {} as any;
35664
+ const localVarQueryParameter = {} as any;
35665
+
35666
+ // authentication ApiKeyAuth required
35667
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35668
+
35669
+ // authentication bearerAuth required
35670
+ // http bearer authentication required
35671
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
35672
+
35673
+ if (forceEvent !== undefined) {
35674
+ localVarQueryParameter['forceEvent'] = forceEvent;
35675
+ }
35676
+
35677
+
35678
+
35679
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35680
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35681
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35682
+
35683
+ return {
35684
+ url: toPathString(localVarUrlObj),
35685
+ options: localVarRequestOptions,
35686
+ };
35687
+ },
35688
+ /**
35689
+ *
35690
+ * @summary Stop helm
35691
+ * @param {string} helmId Helm ID
35692
+ * @param {*} [options] Override http request option.
35693
+ * @throws {RequiredError}
35694
+ */
35695
+ stopHelm: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35696
+ // verify required parameter 'helmId' is not null or undefined
35697
+ assertParamExists('stopHelm', 'helmId', helmId)
35698
+ const localVarPath = `/helm/{helmId}/stop`
35699
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
35700
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35701
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35702
+ let baseOptions;
35703
+ if (configuration) {
35704
+ baseOptions = configuration.baseOptions;
35705
+ }
35706
+
35707
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
35708
+ const localVarHeaderParameter = {} as any;
35709
+ const localVarQueryParameter = {} as any;
35710
+
35711
+ // authentication ApiKeyAuth required
35712
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35713
+
35714
+ // authentication bearerAuth required
35715
+ // http bearer authentication required
35716
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
35717
+
35718
+
35719
+
35720
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35721
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35722
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35723
+
35724
+ return {
35725
+ url: toPathString(localVarUrlObj),
35726
+ options: localVarRequestOptions,
35727
+ };
35728
+ },
35729
+ }
35730
+ };
35731
+
35732
+ /**
35733
+ * HelmActionsApi - functional programming interface
35734
+ * @export
35735
+ */
35736
+ export const HelmActionsApiFp = function(configuration?: Configuration) {
35737
+ const localVarAxiosParamCreator = HelmActionsApiAxiosParamCreator(configuration)
35738
+ return {
35739
+ /**
35740
+ * You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
35741
+ * @summary Deploy helm
35742
+ * @param {string} helmId Helm ID
35743
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35744
+ * @param {DeployHelmRequest} [deployHelmRequest]
35745
+ * @param {*} [options] Override http request option.
35746
+ * @throws {RequiredError}
35747
+ */
35748
+ async deployHelm(helmId: string, forceEvent?: HelmForceEvent, deployHelmRequest?: DeployHelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
35749
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deployHelm(helmId, forceEvent, deployHelmRequest, options);
35750
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35751
+ },
35752
+ /**
35753
+ *
35754
+ * @summary Redeploy helm
35755
+ * @param {string} helmId Helm ID
35756
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35757
+ * @param {*} [options] Override http request option.
35758
+ * @throws {RequiredError}
35759
+ */
35760
+ async redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
35761
+ const localVarAxiosArgs = await localVarAxiosParamCreator.redeployHelm(helmId, forceEvent, options);
35762
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35763
+ },
35764
+ /**
35765
+ * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
35766
+ * @summary Deprecated - Restart helm
35767
+ * @param {string} helmId Helm ID
35768
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35769
+ * @param {*} [options] Override http request option.
35770
+ * @throws {RequiredError}
35771
+ */
35772
+ async restartHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
35773
+ const localVarAxiosArgs = await localVarAxiosParamCreator.restartHelm(helmId, forceEvent, options);
35774
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35775
+ },
35776
+ /**
35777
+ *
35778
+ * @summary Stop helm
35779
+ * @param {string} helmId Helm ID
35780
+ * @param {*} [options] Override http request option.
35781
+ * @throws {RequiredError}
35782
+ */
35783
+ async stopHelm(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
35784
+ const localVarAxiosArgs = await localVarAxiosParamCreator.stopHelm(helmId, options);
35785
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35786
+ },
35787
+ }
35788
+ };
35789
+
35790
+ /**
35791
+ * HelmActionsApi - factory interface
35792
+ * @export
35793
+ */
35794
+ export const HelmActionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
35795
+ const localVarFp = HelmActionsApiFp(configuration)
35796
+ return {
35797
+ /**
35798
+ * You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
35799
+ * @summary Deploy helm
35800
+ * @param {string} helmId Helm ID
35801
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35802
+ * @param {DeployHelmRequest} [deployHelmRequest]
35803
+ * @param {*} [options] Override http request option.
35804
+ * @throws {RequiredError}
35805
+ */
35806
+ deployHelm(helmId: string, forceEvent?: HelmForceEvent, deployHelmRequest?: DeployHelmRequest, options?: any): AxiosPromise<Status> {
35807
+ return localVarFp.deployHelm(helmId, forceEvent, deployHelmRequest, options).then((request) => request(axios, basePath));
35808
+ },
35809
+ /**
35810
+ *
35811
+ * @summary Redeploy helm
35812
+ * @param {string} helmId Helm ID
35813
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35814
+ * @param {*} [options] Override http request option.
35815
+ * @throws {RequiredError}
35816
+ */
35817
+ redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: any): AxiosPromise<Status> {
35818
+ return localVarFp.redeployHelm(helmId, forceEvent, options).then((request) => request(axios, basePath));
35819
+ },
35820
+ /**
35821
+ * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
35822
+ * @summary Deprecated - Restart helm
35823
+ * @param {string} helmId Helm ID
35824
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35825
+ * @param {*} [options] Override http request option.
35826
+ * @throws {RequiredError}
35827
+ */
35828
+ restartHelm(helmId: string, forceEvent?: HelmForceEvent, options?: any): AxiosPromise<Status> {
35829
+ return localVarFp.restartHelm(helmId, forceEvent, options).then((request) => request(axios, basePath));
35830
+ },
35831
+ /**
35832
+ *
35833
+ * @summary Stop helm
35834
+ * @param {string} helmId Helm ID
35835
+ * @param {*} [options] Override http request option.
35836
+ * @throws {RequiredError}
35837
+ */
35838
+ stopHelm(helmId: string, options?: any): AxiosPromise<Status> {
35839
+ return localVarFp.stopHelm(helmId, options).then((request) => request(axios, basePath));
35840
+ },
35841
+ };
35842
+ };
35843
+
35844
+ /**
35845
+ * HelmActionsApi - object-oriented interface
35846
+ * @export
35847
+ * @class HelmActionsApi
35848
+ * @extends {BaseAPI}
35849
+ */
35850
+ export class HelmActionsApi extends BaseAPI {
35851
+ /**
35852
+ * You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
35853
+ * @summary Deploy helm
35854
+ * @param {string} helmId Helm ID
35855
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35856
+ * @param {DeployHelmRequest} [deployHelmRequest]
35857
+ * @param {*} [options] Override http request option.
35858
+ * @throws {RequiredError}
35859
+ * @memberof HelmActionsApi
35860
+ */
35861
+ public deployHelm(helmId: string, forceEvent?: HelmForceEvent, deployHelmRequest?: DeployHelmRequest, options?: AxiosRequestConfig) {
35862
+ return HelmActionsApiFp(this.configuration).deployHelm(helmId, forceEvent, deployHelmRequest, options).then((request) => request(this.axios, this.basePath));
35863
+ }
35864
+
35865
+ /**
35866
+ *
35867
+ * @summary Redeploy helm
35868
+ * @param {string} helmId Helm ID
35869
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35870
+ * @param {*} [options] Override http request option.
35871
+ * @throws {RequiredError}
35872
+ * @memberof HelmActionsApi
35873
+ */
35874
+ public redeployHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig) {
35875
+ return HelmActionsApiFp(this.configuration).redeployHelm(helmId, forceEvent, options).then((request) => request(this.axios, this.basePath));
35876
+ }
35877
+
35878
+ /**
35879
+ * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
35880
+ * @summary Deprecated - Restart helm
35881
+ * @param {string} helmId Helm ID
35882
+ * @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\&#39;t the target event provided, the helm won\&#39;t be deployed.
35883
+ * @param {*} [options] Override http request option.
35884
+ * @throws {RequiredError}
35885
+ * @memberof HelmActionsApi
35886
+ */
35887
+ public restartHelm(helmId: string, forceEvent?: HelmForceEvent, options?: AxiosRequestConfig) {
35888
+ return HelmActionsApiFp(this.configuration).restartHelm(helmId, forceEvent, options).then((request) => request(this.axios, this.basePath));
35889
+ }
35890
+
35891
+ /**
35892
+ *
35893
+ * @summary Stop helm
35894
+ * @param {string} helmId Helm ID
35895
+ * @param {*} [options] Override http request option.
35896
+ * @throws {RequiredError}
35897
+ * @memberof HelmActionsApi
35898
+ */
35899
+ public stopHelm(helmId: string, options?: AxiosRequestConfig) {
35900
+ return HelmActionsApiFp(this.configuration).stopHelm(helmId, options).then((request) => request(this.axios, this.basePath));
35901
+ }
35902
+ }
35903
+
35904
+
35905
+
35906
+ /**
35907
+ * HelmConfigurationApi - axios parameter creator
35908
+ * @export
35909
+ */
35910
+ export const HelmConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
35911
+ return {
35912
+ /**
35913
+ * Edit advanced settings by returning table of advanced settings.
35914
+ * @summary Edit advanced settings
35915
+ * @param {string} helmId Helm ID
35916
+ * @param {object} [body]
35917
+ * @param {*} [options] Override http request option.
35918
+ * @throws {RequiredError}
35919
+ */
35920
+ editHelmAdvancedSettings: async (helmId: string, body?: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35921
+ // verify required parameter 'helmId' is not null or undefined
35922
+ assertParamExists('editHelmAdvancedSettings', 'helmId', helmId)
35923
+ const localVarPath = `/helm/{helmId}/advancedSettings`
35924
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
35925
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35926
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35927
+ let baseOptions;
35928
+ if (configuration) {
35929
+ baseOptions = configuration.baseOptions;
35930
+ }
35931
+
35932
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
35933
+ const localVarHeaderParameter = {} as any;
35934
+ const localVarQueryParameter = {} as any;
35935
+
35936
+ // authentication ApiKeyAuth required
35937
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35938
+
35939
+ // authentication bearerAuth required
35940
+ // http bearer authentication required
35941
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
35942
+
35943
+
35944
+
35945
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35946
+
35947
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35948
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35949
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35950
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
35951
+
35952
+ return {
35953
+ url: toPathString(localVarUrlObj),
35954
+ options: localVarRequestOptions,
35955
+ };
35956
+ },
35957
+ /**
35958
+ * Get list and values of the advanced settings of the helm.
35959
+ * @summary Get advanced settings
35960
+ * @param {string} helmId Helm ID
35961
+ * @param {*} [options] Override http request option.
35962
+ * @throws {RequiredError}
35963
+ */
35964
+ getHelmAdvancedSettings: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35965
+ // verify required parameter 'helmId' is not null or undefined
35966
+ assertParamExists('getHelmAdvancedSettings', 'helmId', helmId)
35967
+ const localVarPath = `/helm/{helmId}/advancedSettings`
35968
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
35969
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35970
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35971
+ let baseOptions;
35972
+ if (configuration) {
35973
+ baseOptions = configuration.baseOptions;
35974
+ }
35975
+
35976
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35977
+ const localVarHeaderParameter = {} as any;
35978
+ const localVarQueryParameter = {} as any;
35979
+
35980
+ // authentication ApiKeyAuth required
35981
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35982
+
35983
+ // authentication bearerAuth required
35984
+ // http bearer authentication required
35985
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
35986
+
35987
+
35988
+
35989
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35990
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35991
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35992
+
35993
+ return {
35994
+ url: toPathString(localVarUrlObj),
35995
+ options: localVarRequestOptions,
35996
+ };
35997
+ },
35998
+ }
35999
+ };
36000
+
36001
+ /**
36002
+ * HelmConfigurationApi - functional programming interface
36003
+ * @export
36004
+ */
36005
+ export const HelmConfigurationApiFp = function(configuration?: Configuration) {
36006
+ const localVarAxiosParamCreator = HelmConfigurationApiAxiosParamCreator(configuration)
36007
+ return {
36008
+ /**
36009
+ * Edit advanced settings by returning table of advanced settings.
36010
+ * @summary Edit advanced settings
36011
+ * @param {string} helmId Helm ID
36012
+ * @param {object} [body]
36013
+ * @param {*} [options] Override http request option.
36014
+ * @throws {RequiredError}
36015
+ */
36016
+ async editHelmAdvancedSettings(helmId: string, body?: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
36017
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editHelmAdvancedSettings(helmId, body, options);
36018
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36019
+ },
36020
+ /**
36021
+ * Get list and values of the advanced settings of the helm.
36022
+ * @summary Get advanced settings
36023
+ * @param {string} helmId Helm ID
36024
+ * @param {*} [options] Override http request option.
36025
+ * @throws {RequiredError}
36026
+ */
36027
+ async getHelmAdvancedSettings(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
36028
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmAdvancedSettings(helmId, options);
36029
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36030
+ },
36031
+ }
36032
+ };
36033
+
36034
+ /**
36035
+ * HelmConfigurationApi - factory interface
36036
+ * @export
36037
+ */
36038
+ export const HelmConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36039
+ const localVarFp = HelmConfigurationApiFp(configuration)
36040
+ return {
36041
+ /**
36042
+ * Edit advanced settings by returning table of advanced settings.
36043
+ * @summary Edit advanced settings
36044
+ * @param {string} helmId Helm ID
36045
+ * @param {object} [body]
36046
+ * @param {*} [options] Override http request option.
36047
+ * @throws {RequiredError}
36048
+ */
36049
+ editHelmAdvancedSettings(helmId: string, body?: object, options?: any): AxiosPromise<object> {
36050
+ return localVarFp.editHelmAdvancedSettings(helmId, body, options).then((request) => request(axios, basePath));
36051
+ },
36052
+ /**
36053
+ * Get list and values of the advanced settings of the helm.
36054
+ * @summary Get advanced settings
36055
+ * @param {string} helmId Helm ID
36056
+ * @param {*} [options] Override http request option.
36057
+ * @throws {RequiredError}
36058
+ */
36059
+ getHelmAdvancedSettings(helmId: string, options?: any): AxiosPromise<object> {
36060
+ return localVarFp.getHelmAdvancedSettings(helmId, options).then((request) => request(axios, basePath));
36061
+ },
36062
+ };
36063
+ };
36064
+
36065
+ /**
36066
+ * HelmConfigurationApi - object-oriented interface
36067
+ * @export
36068
+ * @class HelmConfigurationApi
36069
+ * @extends {BaseAPI}
36070
+ */
36071
+ export class HelmConfigurationApi extends BaseAPI {
36072
+ /**
36073
+ * Edit advanced settings by returning table of advanced settings.
36074
+ * @summary Edit advanced settings
36075
+ * @param {string} helmId Helm ID
36076
+ * @param {object} [body]
36077
+ * @param {*} [options] Override http request option.
36078
+ * @throws {RequiredError}
36079
+ * @memberof HelmConfigurationApi
36080
+ */
36081
+ public editHelmAdvancedSettings(helmId: string, body?: object, options?: AxiosRequestConfig) {
36082
+ return HelmConfigurationApiFp(this.configuration).editHelmAdvancedSettings(helmId, body, options).then((request) => request(this.axios, this.basePath));
36083
+ }
36084
+
36085
+ /**
36086
+ * Get list and values of the advanced settings of the helm.
36087
+ * @summary Get advanced settings
36088
+ * @param {string} helmId Helm ID
36089
+ * @param {*} [options] Override http request option.
36090
+ * @throws {RequiredError}
36091
+ * @memberof HelmConfigurationApi
36092
+ */
36093
+ public getHelmAdvancedSettings(helmId: string, options?: AxiosRequestConfig) {
36094
+ return HelmConfigurationApiFp(this.configuration).getHelmAdvancedSettings(helmId, options).then((request) => request(this.axios, this.basePath));
36095
+ }
36096
+ }
36097
+
36098
+
36099
+
36100
+ /**
36101
+ * HelmDeploymentHistoryApi - axios parameter creator
36102
+ * @export
36103
+ */
36104
+ export const HelmDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
36105
+ return {
36106
+ /**
36107
+ * Returns the 20 last helm deployments
36108
+ * @summary List helm deployments
36109
+ * @param {string} helmId Helm ID
36110
+ * @param {*} [options] Override http request option.
36111
+ * @throws {RequiredError}
36112
+ */
36113
+ listHelmDeploymentHistory: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36114
+ // verify required parameter 'helmId' is not null or undefined
36115
+ assertParamExists('listHelmDeploymentHistory', 'helmId', helmId)
36116
+ const localVarPath = `/helm/{helmId}/deploymentHistory`
36117
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
36118
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36119
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36120
+ let baseOptions;
36121
+ if (configuration) {
36122
+ baseOptions = configuration.baseOptions;
36123
+ }
36124
+
36125
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36126
+ const localVarHeaderParameter = {} as any;
36127
+ const localVarQueryParameter = {} as any;
36128
+
36129
+ // authentication ApiKeyAuth required
36130
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36131
+
36132
+ // authentication bearerAuth required
36133
+ // http bearer authentication required
36134
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36135
+
36136
+
36137
+
36138
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36139
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36140
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36141
+
36142
+ return {
36143
+ url: toPathString(localVarUrlObj),
36144
+ options: localVarRequestOptions,
36145
+ };
36146
+ },
36147
+ }
36148
+ };
36149
+
36150
+ /**
36151
+ * HelmDeploymentHistoryApi - functional programming interface
36152
+ * @export
36153
+ */
36154
+ export const HelmDeploymentHistoryApiFp = function(configuration?: Configuration) {
36155
+ const localVarAxiosParamCreator = HelmDeploymentHistoryApiAxiosParamCreator(configuration)
36156
+ return {
36157
+ /**
36158
+ * Returns the 20 last helm deployments
36159
+ * @summary List helm deployments
36160
+ * @param {string} helmId Helm ID
36161
+ * @param {*} [options] Override http request option.
36162
+ * @throws {RequiredError}
36163
+ */
36164
+ async listHelmDeploymentHistory(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListHelmDeploymentHistory200Response>> {
36165
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listHelmDeploymentHistory(helmId, options);
36166
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36167
+ },
36168
+ }
36169
+ };
36170
+
36171
+ /**
36172
+ * HelmDeploymentHistoryApi - factory interface
36173
+ * @export
36174
+ */
36175
+ export const HelmDeploymentHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36176
+ const localVarFp = HelmDeploymentHistoryApiFp(configuration)
36177
+ return {
36178
+ /**
36179
+ * Returns the 20 last helm deployments
36180
+ * @summary List helm deployments
36181
+ * @param {string} helmId Helm ID
36182
+ * @param {*} [options] Override http request option.
36183
+ * @throws {RequiredError}
36184
+ */
36185
+ listHelmDeploymentHistory(helmId: string, options?: any): AxiosPromise<ListHelmDeploymentHistory200Response> {
36186
+ return localVarFp.listHelmDeploymentHistory(helmId, options).then((request) => request(axios, basePath));
36187
+ },
36188
+ };
36189
+ };
36190
+
36191
+ /**
36192
+ * HelmDeploymentHistoryApi - object-oriented interface
36193
+ * @export
36194
+ * @class HelmDeploymentHistoryApi
36195
+ * @extends {BaseAPI}
36196
+ */
36197
+ export class HelmDeploymentHistoryApi extends BaseAPI {
36198
+ /**
36199
+ * Returns the 20 last helm deployments
36200
+ * @summary List helm deployments
36201
+ * @param {string} helmId Helm ID
36202
+ * @param {*} [options] Override http request option.
36203
+ * @throws {RequiredError}
36204
+ * @memberof HelmDeploymentHistoryApi
36205
+ */
36206
+ public listHelmDeploymentHistory(helmId: string, options?: AxiosRequestConfig) {
36207
+ return HelmDeploymentHistoryApiFp(this.configuration).listHelmDeploymentHistory(helmId, options).then((request) => request(this.axios, this.basePath));
36208
+ }
36209
+ }
36210
+
36211
+
36212
+
36213
+ /**
36214
+ * HelmDeploymentRestrictionApi - axios parameter creator
36215
+ * @export
36216
+ */
36217
+ export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
36218
+ return {
36219
+ /**
36220
+ * Create a helm deployment restriction
36221
+ * @summary Create a helm deployment restriction
36222
+ * @param {string} helmId Helm ID
36223
+ * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
36224
+ * @param {*} [options] Override http request option.
36225
+ * @throws {RequiredError}
36226
+ */
36227
+ createHelmDeploymentRestriction: async (helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36228
+ // verify required parameter 'helmId' is not null or undefined
36229
+ assertParamExists('createHelmDeploymentRestriction', 'helmId', helmId)
36230
+ const localVarPath = `/helm/{helmId}/deploymentRestriction`
36231
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
36232
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36233
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36234
+ let baseOptions;
36235
+ if (configuration) {
36236
+ baseOptions = configuration.baseOptions;
36237
+ }
36238
+
36239
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
36240
+ const localVarHeaderParameter = {} as any;
36241
+ const localVarQueryParameter = {} as any;
36242
+
36243
+ // authentication ApiKeyAuth required
36244
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36245
+
36246
+ // authentication bearerAuth required
36247
+ // http bearer authentication required
36248
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36249
+
36250
+
36251
+
36252
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36253
+
36254
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36255
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36256
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36257
+ localVarRequestOptions.data = serializeDataIfNeeded(helmDeploymentRestrictionRequest, localVarRequestOptions, configuration)
36258
+
36259
+ return {
36260
+ url: toPathString(localVarUrlObj),
36261
+ options: localVarRequestOptions,
36262
+ };
36263
+ },
36264
+ /**
36265
+ * Delete a helm deployment restriction
36266
+ * @summary Delete a helm deployment restriction
36267
+ * @param {string} helmId Helm ID
36268
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36269
+ * @param {*} [options] Override http request option.
36270
+ * @throws {RequiredError}
36271
+ */
36272
+ deleteHelmDeploymentRestriction: async (helmId: string, deploymentRestrictionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36273
+ // verify required parameter 'helmId' is not null or undefined
36274
+ assertParamExists('deleteHelmDeploymentRestriction', 'helmId', helmId)
36275
+ // verify required parameter 'deploymentRestrictionId' is not null or undefined
36276
+ assertParamExists('deleteHelmDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
36277
+ const localVarPath = `/helm/{helmId}/deploymentRestriction/{deploymentRestrictionId}`
36278
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)))
36279
+ .replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
36280
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36281
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36282
+ let baseOptions;
36283
+ if (configuration) {
36284
+ baseOptions = configuration.baseOptions;
36285
+ }
36286
+
36287
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
36288
+ const localVarHeaderParameter = {} as any;
36289
+ const localVarQueryParameter = {} as any;
36290
+
36291
+ // authentication ApiKeyAuth required
36292
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36293
+
36294
+ // authentication bearerAuth required
36295
+ // http bearer authentication required
36296
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36297
+
36298
+
36299
+
36300
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36301
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36302
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36303
+
36304
+ return {
36305
+ url: toPathString(localVarUrlObj),
36306
+ options: localVarRequestOptions,
36307
+ };
36308
+ },
36309
+ /**
36310
+ * Edit a helm deployment restriction
36311
+ * @summary Edit a helm deployment restriction
36312
+ * @param {string} helmId Helm ID
36313
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36314
+ * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
36315
+ * @param {*} [options] Override http request option.
36316
+ * @throws {RequiredError}
36317
+ */
36318
+ editHelmDeploymentRestriction: async (helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36319
+ // verify required parameter 'helmId' is not null or undefined
36320
+ assertParamExists('editHelmDeploymentRestriction', 'helmId', helmId)
36321
+ // verify required parameter 'deploymentRestrictionId' is not null or undefined
36322
+ assertParamExists('editHelmDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
36323
+ const localVarPath = `/helm/{helmId}/deploymentRestriction/{deploymentRestrictionId}`
36324
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)))
36325
+ .replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
36326
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36327
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36328
+ let baseOptions;
36329
+ if (configuration) {
36330
+ baseOptions = configuration.baseOptions;
36331
+ }
36332
+
36333
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
36334
+ const localVarHeaderParameter = {} as any;
36335
+ const localVarQueryParameter = {} as any;
36336
+
36337
+ // authentication ApiKeyAuth required
36338
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36339
+
36340
+ // authentication bearerAuth required
36341
+ // http bearer authentication required
36342
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36343
+
36344
+
36345
+
36346
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36347
+
36348
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36349
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36350
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36351
+ localVarRequestOptions.data = serializeDataIfNeeded(helmDeploymentRestrictionRequest, localVarRequestOptions, configuration)
36352
+
36353
+ return {
36354
+ url: toPathString(localVarUrlObj),
36355
+ options: localVarRequestOptions,
36356
+ };
36357
+ },
36358
+ /**
36359
+ * Get helm deployment restrictions
36360
+ * @summary Get helm deployment restrictions
36361
+ * @param {string} helmId Helm ID
36362
+ * @param {*} [options] Override http request option.
36363
+ * @throws {RequiredError}
36364
+ */
36365
+ getHelmDeploymentRestrictions: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36366
+ // verify required parameter 'helmId' is not null or undefined
36367
+ assertParamExists('getHelmDeploymentRestrictions', 'helmId', helmId)
36368
+ const localVarPath = `/helm/{helmId}/deploymentRestriction`
36369
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
36370
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36371
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36372
+ let baseOptions;
36373
+ if (configuration) {
36374
+ baseOptions = configuration.baseOptions;
36375
+ }
36376
+
36377
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36378
+ const localVarHeaderParameter = {} as any;
36379
+ const localVarQueryParameter = {} as any;
36380
+
36381
+ // authentication ApiKeyAuth required
36382
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36383
+
36384
+ // authentication bearerAuth required
36385
+ // http bearer authentication required
36386
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36387
+
36388
+
36389
+
36390
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36391
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36392
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36393
+
36394
+ return {
36395
+ url: toPathString(localVarUrlObj),
36396
+ options: localVarRequestOptions,
36397
+ };
36398
+ },
36399
+ }
36400
+ };
36401
+
36402
+ /**
36403
+ * HelmDeploymentRestrictionApi - functional programming interface
36404
+ * @export
36405
+ */
36406
+ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configuration) {
36407
+ const localVarAxiosParamCreator = HelmDeploymentRestrictionApiAxiosParamCreator(configuration)
36408
+ return {
36409
+ /**
36410
+ * Create a helm deployment restriction
36411
+ * @summary Create a helm deployment restriction
36412
+ * @param {string} helmId Helm ID
36413
+ * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
36414
+ * @param {*} [options] Override http request option.
36415
+ * @throws {RequiredError}
36416
+ */
36417
+ async createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponse>> {
36418
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createHelmDeploymentRestriction(helmId, helmDeploymentRestrictionRequest, options);
36419
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36420
+ },
36421
+ /**
36422
+ * Delete a helm deployment restriction
36423
+ * @summary Delete a helm deployment restriction
36424
+ * @param {string} helmId Helm ID
36425
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36426
+ * @param {*} [options] Override http request option.
36427
+ * @throws {RequiredError}
36428
+ */
36429
+ async deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
36430
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHelmDeploymentRestriction(helmId, deploymentRestrictionId, options);
36431
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36432
+ },
36433
+ /**
36434
+ * Edit a helm deployment restriction
36435
+ * @summary Edit a helm deployment restriction
36436
+ * @param {string} helmId Helm ID
36437
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36438
+ * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
36439
+ * @param {*} [options] Override http request option.
36440
+ * @throws {RequiredError}
36441
+ */
36442
+ async editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponse>> {
36443
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editHelmDeploymentRestriction(helmId, deploymentRestrictionId, helmDeploymentRestrictionRequest, options);
36444
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36445
+ },
36446
+ /**
36447
+ * Get helm deployment restrictions
36448
+ * @summary Get helm deployment restrictions
36449
+ * @param {string} helmId Helm ID
36450
+ * @param {*} [options] Override http request option.
36451
+ * @throws {RequiredError}
36452
+ */
36453
+ async getHelmDeploymentRestrictions(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponseList>> {
36454
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmDeploymentRestrictions(helmId, options);
36455
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36456
+ },
36457
+ }
36458
+ };
36459
+
36460
+ /**
36461
+ * HelmDeploymentRestrictionApi - factory interface
36462
+ * @export
36463
+ */
36464
+ export const HelmDeploymentRestrictionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36465
+ const localVarFp = HelmDeploymentRestrictionApiFp(configuration)
36466
+ return {
36467
+ /**
36468
+ * Create a helm deployment restriction
36469
+ * @summary Create a helm deployment restriction
36470
+ * @param {string} helmId Helm ID
36471
+ * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
36472
+ * @param {*} [options] Override http request option.
36473
+ * @throws {RequiredError}
36474
+ */
36475
+ createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: any): AxiosPromise<HelmDeploymentRestrictionResponse> {
36476
+ return localVarFp.createHelmDeploymentRestriction(helmId, helmDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
36477
+ },
36478
+ /**
36479
+ * Delete a helm deployment restriction
36480
+ * @summary Delete a helm deployment restriction
36481
+ * @param {string} helmId Helm ID
36482
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36483
+ * @param {*} [options] Override http request option.
36484
+ * @throws {RequiredError}
36485
+ */
36486
+ deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: any): AxiosPromise<void> {
36487
+ return localVarFp.deleteHelmDeploymentRestriction(helmId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
36488
+ },
36489
+ /**
36490
+ * Edit a helm deployment restriction
36491
+ * @summary Edit a helm deployment restriction
36492
+ * @param {string} helmId Helm ID
36493
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36494
+ * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
36495
+ * @param {*} [options] Override http request option.
36496
+ * @throws {RequiredError}
36497
+ */
36498
+ editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: any): AxiosPromise<HelmDeploymentRestrictionResponse> {
36499
+ return localVarFp.editHelmDeploymentRestriction(helmId, deploymentRestrictionId, helmDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
36500
+ },
36501
+ /**
36502
+ * Get helm deployment restrictions
36503
+ * @summary Get helm deployment restrictions
36504
+ * @param {string} helmId Helm ID
36505
+ * @param {*} [options] Override http request option.
36506
+ * @throws {RequiredError}
36507
+ */
36508
+ getHelmDeploymentRestrictions(helmId: string, options?: any): AxiosPromise<HelmDeploymentRestrictionResponseList> {
36509
+ return localVarFp.getHelmDeploymentRestrictions(helmId, options).then((request) => request(axios, basePath));
36510
+ },
36511
+ };
36512
+ };
36513
+
36514
+ /**
36515
+ * HelmDeploymentRestrictionApi - object-oriented interface
36516
+ * @export
36517
+ * @class HelmDeploymentRestrictionApi
36518
+ * @extends {BaseAPI}
36519
+ */
36520
+ export class HelmDeploymentRestrictionApi extends BaseAPI {
36521
+ /**
36522
+ * Create a helm deployment restriction
36523
+ * @summary Create a helm deployment restriction
36524
+ * @param {string} helmId Helm ID
36525
+ * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
36526
+ * @param {*} [options] Override http request option.
36527
+ * @throws {RequiredError}
36528
+ * @memberof HelmDeploymentRestrictionApi
36529
+ */
36530
+ public createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: AxiosRequestConfig) {
36531
+ return HelmDeploymentRestrictionApiFp(this.configuration).createHelmDeploymentRestriction(helmId, helmDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
36532
+ }
36533
+
36534
+ /**
36535
+ * Delete a helm deployment restriction
36536
+ * @summary Delete a helm deployment restriction
36537
+ * @param {string} helmId Helm ID
36538
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36539
+ * @param {*} [options] Override http request option.
36540
+ * @throws {RequiredError}
36541
+ * @memberof HelmDeploymentRestrictionApi
36542
+ */
36543
+ public deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig) {
36544
+ return HelmDeploymentRestrictionApiFp(this.configuration).deleteHelmDeploymentRestriction(helmId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
36545
+ }
36546
+
36547
+ /**
36548
+ * Edit a helm deployment restriction
36549
+ * @summary Edit a helm deployment restriction
36550
+ * @param {string} helmId Helm ID
36551
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36552
+ * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
36553
+ * @param {*} [options] Override http request option.
36554
+ * @throws {RequiredError}
36555
+ * @memberof HelmDeploymentRestrictionApi
36556
+ */
36557
+ public editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: AxiosRequestConfig) {
36558
+ return HelmDeploymentRestrictionApiFp(this.configuration).editHelmDeploymentRestriction(helmId, deploymentRestrictionId, helmDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
36559
+ }
36560
+
36561
+ /**
36562
+ * Get helm deployment restrictions
36563
+ * @summary Get helm deployment restrictions
36564
+ * @param {string} helmId Helm ID
36565
+ * @param {*} [options] Override http request option.
36566
+ * @throws {RequiredError}
36567
+ * @memberof HelmDeploymentRestrictionApi
36568
+ */
36569
+ public getHelmDeploymentRestrictions(helmId: string, options?: AxiosRequestConfig) {
36570
+ return HelmDeploymentRestrictionApiFp(this.configuration).getHelmDeploymentRestrictions(helmId, options).then((request) => request(this.axios, this.basePath));
36571
+ }
36572
+ }
36573
+
36574
+
36575
+
36576
+ /**
36577
+ * HelmMainCallsApi - axios parameter creator
36578
+ * @export
36579
+ */
36580
+ export const HelmMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
36581
+ return {
36582
+ /**
36583
+ * To delete the helm you must have the admin permission
36584
+ * @summary Delete helm
36585
+ * @param {string} helmId Helm ID
36586
+ * @param {*} [options] Override http request option.
36587
+ * @throws {RequiredError}
36588
+ */
36589
+ deleteHelm: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36590
+ // verify required parameter 'helmId' is not null or undefined
36591
+ assertParamExists('deleteHelm', 'helmId', helmId)
36592
+ const localVarPath = `/helm/{helmId}`
36593
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
36594
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36595
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36596
+ let baseOptions;
36597
+ if (configuration) {
36598
+ baseOptions = configuration.baseOptions;
36599
+ }
36600
+
36601
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
36602
+ const localVarHeaderParameter = {} as any;
36603
+ const localVarQueryParameter = {} as any;
36604
+
36605
+ // authentication ApiKeyAuth required
36606
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36607
+
36608
+ // authentication bearerAuth required
36609
+ // http bearer authentication required
36610
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36611
+
36612
+
36613
+
36614
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36615
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36616
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36617
+
36618
+ return {
36619
+ url: toPathString(localVarUrlObj),
36620
+ options: localVarRequestOptions,
36621
+ };
36622
+ },
36623
+ /**
36624
+ * - To edit the helm you must have the admin permission.
36625
+ * @summary Edit helm
36626
+ * @param {string} helmId Helm ID
36627
+ * @param {HelmRequest} [helmRequest]
36628
+ * @param {*} [options] Override http request option.
36629
+ * @throws {RequiredError}
36630
+ */
36631
+ editHelm: async (helmId: string, helmRequest?: HelmRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36632
+ // verify required parameter 'helmId' is not null or undefined
36633
+ assertParamExists('editHelm', 'helmId', helmId)
36634
+ const localVarPath = `/helm/{helmId}`
36635
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
36636
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36637
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36638
+ let baseOptions;
36639
+ if (configuration) {
36640
+ baseOptions = configuration.baseOptions;
36641
+ }
36642
+
36643
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
36644
+ const localVarHeaderParameter = {} as any;
36645
+ const localVarQueryParameter = {} as any;
36646
+
36647
+ // authentication ApiKeyAuth required
36648
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36649
+
36650
+ // authentication bearerAuth required
36651
+ // http bearer authentication required
36652
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36653
+
36654
+
36655
+
36656
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36657
+
36658
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36659
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36660
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36661
+ localVarRequestOptions.data = serializeDataIfNeeded(helmRequest, localVarRequestOptions, configuration)
36662
+
36663
+ return {
36664
+ url: toPathString(localVarUrlObj),
36665
+ options: localVarRequestOptions,
36666
+ };
36667
+ },
36668
+ /**
36669
+ *
36670
+ * @summary Get helm by ID
36671
+ * @param {string} helmId Helm ID
36672
+ * @param {*} [options] Override http request option.
36673
+ * @throws {RequiredError}
36674
+ */
36675
+ getHelm: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36676
+ // verify required parameter 'helmId' is not null or undefined
36677
+ assertParamExists('getHelm', 'helmId', helmId)
36678
+ const localVarPath = `/helm/{helmId}`
36679
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
36680
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36681
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36682
+ let baseOptions;
36683
+ if (configuration) {
36684
+ baseOptions = configuration.baseOptions;
36685
+ }
36686
+
36687
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36688
+ const localVarHeaderParameter = {} as any;
36689
+ const localVarQueryParameter = {} as any;
36690
+
36691
+ // authentication ApiKeyAuth required
36692
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36693
+
36694
+ // authentication bearerAuth required
36695
+ // http bearer authentication required
36696
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36697
+
36698
+
36699
+
36700
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36701
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36702
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36703
+
36704
+ return {
36705
+ url: toPathString(localVarUrlObj),
36706
+ options: localVarRequestOptions,
36707
+ };
36708
+ },
36709
+ /**
36710
+ *
36711
+ * @summary Get helm status
36712
+ * @param {string} helmId Helm ID
36713
+ * @param {*} [options] Override http request option.
36714
+ * @throws {RequiredError}
36715
+ */
36716
+ getHelmStatus: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36717
+ // verify required parameter 'helmId' is not null or undefined
36718
+ assertParamExists('getHelmStatus', 'helmId', helmId)
36719
+ const localVarPath = `/helm/{helmId}/status`
36720
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
36721
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36722
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36723
+ let baseOptions;
36724
+ if (configuration) {
36725
+ baseOptions = configuration.baseOptions;
36726
+ }
36727
+
36728
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36729
+ const localVarHeaderParameter = {} as any;
36730
+ const localVarQueryParameter = {} as any;
36731
+
36732
+ // authentication ApiKeyAuth required
36733
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36734
+
36735
+ // authentication bearerAuth required
36736
+ // http bearer authentication required
36737
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36738
+
36739
+
36740
+
36741
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36742
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36743
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36744
+
36745
+ return {
36746
+ url: toPathString(localVarUrlObj),
36747
+ options: localVarRequestOptions,
36748
+ };
36749
+ },
36750
+ }
36751
+ };
36752
+
36753
+ /**
36754
+ * HelmMainCallsApi - functional programming interface
36755
+ * @export
36756
+ */
36757
+ export const HelmMainCallsApiFp = function(configuration?: Configuration) {
36758
+ const localVarAxiosParamCreator = HelmMainCallsApiAxiosParamCreator(configuration)
36759
+ return {
36760
+ /**
36761
+ * To delete the helm you must have the admin permission
36762
+ * @summary Delete helm
36763
+ * @param {string} helmId Helm ID
36764
+ * @param {*} [options] Override http request option.
36765
+ * @throws {RequiredError}
36766
+ */
36767
+ async deleteHelm(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
36768
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHelm(helmId, options);
36769
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36770
+ },
36771
+ /**
36772
+ * - To edit the helm you must have the admin permission.
36773
+ * @summary Edit helm
36774
+ * @param {string} helmId Helm ID
36775
+ * @param {HelmRequest} [helmRequest]
36776
+ * @param {*} [options] Override http request option.
36777
+ * @throws {RequiredError}
36778
+ */
36779
+ async editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
36780
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editHelm(helmId, helmRequest, options);
36781
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36782
+ },
36783
+ /**
36784
+ *
36785
+ * @summary Get helm by ID
36786
+ * @param {string} helmId Helm ID
36787
+ * @param {*} [options] Override http request option.
36788
+ * @throws {RequiredError}
36789
+ */
36790
+ async getHelm(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
36791
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHelm(helmId, options);
36792
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36793
+ },
36794
+ /**
36795
+ *
36796
+ * @summary Get helm status
36797
+ * @param {string} helmId Helm ID
36798
+ * @param {*} [options] Override http request option.
36799
+ * @throws {RequiredError}
36800
+ */
36801
+ async getHelmStatus(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
36802
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmStatus(helmId, options);
36803
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36804
+ },
36805
+ }
36806
+ };
36807
+
36808
+ /**
36809
+ * HelmMainCallsApi - factory interface
36810
+ * @export
36811
+ */
36812
+ export const HelmMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36813
+ const localVarFp = HelmMainCallsApiFp(configuration)
36814
+ return {
36815
+ /**
36816
+ * To delete the helm you must have the admin permission
36817
+ * @summary Delete helm
36818
+ * @param {string} helmId Helm ID
36819
+ * @param {*} [options] Override http request option.
36820
+ * @throws {RequiredError}
36821
+ */
36822
+ deleteHelm(helmId: string, options?: any): AxiosPromise<void> {
36823
+ return localVarFp.deleteHelm(helmId, options).then((request) => request(axios, basePath));
36824
+ },
36825
+ /**
36826
+ * - To edit the helm you must have the admin permission.
36827
+ * @summary Edit helm
36828
+ * @param {string} helmId Helm ID
36829
+ * @param {HelmRequest} [helmRequest]
36830
+ * @param {*} [options] Override http request option.
36831
+ * @throws {RequiredError}
36832
+ */
36833
+ editHelm(helmId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse> {
36834
+ return localVarFp.editHelm(helmId, helmRequest, options).then((request) => request(axios, basePath));
36835
+ },
36836
+ /**
36837
+ *
36838
+ * @summary Get helm by ID
36839
+ * @param {string} helmId Helm ID
36840
+ * @param {*} [options] Override http request option.
36841
+ * @throws {RequiredError}
36842
+ */
36843
+ getHelm(helmId: string, options?: any): AxiosPromise<HelmResponse> {
36844
+ return localVarFp.getHelm(helmId, options).then((request) => request(axios, basePath));
36845
+ },
36846
+ /**
36847
+ *
36848
+ * @summary Get helm status
36849
+ * @param {string} helmId Helm ID
36850
+ * @param {*} [options] Override http request option.
36851
+ * @throws {RequiredError}
36852
+ */
36853
+ getHelmStatus(helmId: string, options?: any): AxiosPromise<Status> {
36854
+ return localVarFp.getHelmStatus(helmId, options).then((request) => request(axios, basePath));
36855
+ },
36856
+ };
36857
+ };
36858
+
36859
+ /**
36860
+ * HelmMainCallsApi - object-oriented interface
36861
+ * @export
36862
+ * @class HelmMainCallsApi
36863
+ * @extends {BaseAPI}
36864
+ */
36865
+ export class HelmMainCallsApi extends BaseAPI {
36866
+ /**
36867
+ * To delete the helm you must have the admin permission
36868
+ * @summary Delete helm
36869
+ * @param {string} helmId Helm ID
36870
+ * @param {*} [options] Override http request option.
36871
+ * @throws {RequiredError}
36872
+ * @memberof HelmMainCallsApi
36873
+ */
36874
+ public deleteHelm(helmId: string, options?: AxiosRequestConfig) {
36875
+ return HelmMainCallsApiFp(this.configuration).deleteHelm(helmId, options).then((request) => request(this.axios, this.basePath));
36876
+ }
36877
+
36878
+ /**
36879
+ * - To edit the helm you must have the admin permission.
36880
+ * @summary Edit helm
36881
+ * @param {string} helmId Helm ID
36882
+ * @param {HelmRequest} [helmRequest]
36883
+ * @param {*} [options] Override http request option.
36884
+ * @throws {RequiredError}
36885
+ * @memberof HelmMainCallsApi
36886
+ */
36887
+ public editHelm(helmId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) {
36888
+ return HelmMainCallsApiFp(this.configuration).editHelm(helmId, helmRequest, options).then((request) => request(this.axios, this.basePath));
36889
+ }
36890
+
36891
+ /**
36892
+ *
36893
+ * @summary Get helm by ID
36894
+ * @param {string} helmId Helm ID
36895
+ * @param {*} [options] Override http request option.
36896
+ * @throws {RequiredError}
36897
+ * @memberof HelmMainCallsApi
36898
+ */
36899
+ public getHelm(helmId: string, options?: AxiosRequestConfig) {
36900
+ return HelmMainCallsApiFp(this.configuration).getHelm(helmId, options).then((request) => request(this.axios, this.basePath));
36901
+ }
36902
+
36903
+ /**
36904
+ *
36905
+ * @summary Get helm status
36906
+ * @param {string} helmId Helm ID
36907
+ * @param {*} [options] Override http request option.
36908
+ * @throws {RequiredError}
36909
+ * @memberof HelmMainCallsApi
36910
+ */
36911
+ public getHelmStatus(helmId: string, options?: AxiosRequestConfig) {
36912
+ return HelmMainCallsApiFp(this.configuration).getHelmStatus(helmId, options).then((request) => request(this.axios, this.basePath));
36913
+ }
36914
+ }
36915
+
36916
+
36917
+
36918
+ /**
36919
+ * HelmsApi - axios parameter creator
36920
+ * @export
36921
+ */
36922
+ export const HelmsApiAxiosParamCreator = function (configuration?: Configuration) {
36923
+ return {
36924
+ /**
36925
+ *
36926
+ * @summary Create a helm
36927
+ * @param {string} environmentId Environment ID
36928
+ * @param {HelmRequest} [helmRequest]
36929
+ * @param {*} [options] Override http request option.
36930
+ * @throws {RequiredError}
36931
+ */
36932
+ createHelm: async (environmentId: string, helmRequest?: HelmRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36933
+ // verify required parameter 'environmentId' is not null or undefined
36934
+ assertParamExists('createHelm', 'environmentId', environmentId)
36935
+ const localVarPath = `/environment/{environmentId}/helm`
36936
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
36937
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36938
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36939
+ let baseOptions;
36940
+ if (configuration) {
36941
+ baseOptions = configuration.baseOptions;
36942
+ }
36943
+
36944
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
36945
+ const localVarHeaderParameter = {} as any;
36946
+ const localVarQueryParameter = {} as any;
36947
+
36948
+ // authentication ApiKeyAuth required
36949
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36950
+
36951
+ // authentication bearerAuth required
36952
+ // http bearer authentication required
36953
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36954
+
36955
+
36956
+
36957
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36958
+
36959
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36960
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36961
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36962
+ localVarRequestOptions.data = serializeDataIfNeeded(helmRequest, localVarRequestOptions, configuration)
36963
+
36964
+ return {
36965
+ url: toPathString(localVarUrlObj),
36966
+ options: localVarRequestOptions,
36967
+ };
36968
+ },
36969
+ /**
36970
+ * Returns a list of helms with only their id and status.
36971
+ * @summary List all environment helm statuses
36972
+ * @param {string} environmentId Environment ID
36973
+ * @param {*} [options] Override http request option.
36974
+ * @throws {RequiredError}
36975
+ */
36976
+ getEnvironmentHelmStatus: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36977
+ // verify required parameter 'environmentId' is not null or undefined
36978
+ assertParamExists('getEnvironmentHelmStatus', 'environmentId', environmentId)
36979
+ const localVarPath = `/environment/{environmentId}/helm/status`
36980
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
36981
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36982
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36983
+ let baseOptions;
36984
+ if (configuration) {
36985
+ baseOptions = configuration.baseOptions;
36986
+ }
36987
+
36988
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36989
+ const localVarHeaderParameter = {} as any;
36990
+ const localVarQueryParameter = {} as any;
36991
+
36992
+ // authentication ApiKeyAuth required
36993
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36994
+
36995
+ // authentication bearerAuth required
36996
+ // http bearer authentication required
36997
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36998
+
36999
+
37000
+
37001
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37002
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37003
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37004
+
37005
+ return {
37006
+ url: toPathString(localVarUrlObj),
37007
+ options: localVarRequestOptions,
37008
+ };
37009
+ },
37010
+ /**
37011
+ *
37012
+ * @summary List helms
37013
+ * @param {string} environmentId Environment ID
37014
+ * @param {*} [options] Override http request option.
37015
+ * @throws {RequiredError}
37016
+ */
37017
+ listHelms: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37018
+ // verify required parameter 'environmentId' is not null or undefined
37019
+ assertParamExists('listHelms', 'environmentId', environmentId)
37020
+ const localVarPath = `/environment/{environmentId}/helm`
37021
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
37022
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37023
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37024
+ let baseOptions;
37025
+ if (configuration) {
37026
+ baseOptions = configuration.baseOptions;
37027
+ }
37028
+
37029
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
37030
+ const localVarHeaderParameter = {} as any;
37031
+ const localVarQueryParameter = {} as any;
37032
+
37033
+ // authentication ApiKeyAuth required
37034
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37035
+
37036
+ // authentication bearerAuth required
37037
+ // http bearer authentication required
37038
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
37039
+
37040
+
37041
+
37042
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37043
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37044
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37045
+
37046
+ return {
37047
+ url: toPathString(localVarUrlObj),
37048
+ options: localVarRequestOptions,
37049
+ };
37050
+ },
37051
+ }
37052
+ };
37053
+
37054
+ /**
37055
+ * HelmsApi - functional programming interface
37056
+ * @export
37057
+ */
37058
+ export const HelmsApiFp = function(configuration?: Configuration) {
37059
+ const localVarAxiosParamCreator = HelmsApiAxiosParamCreator(configuration)
37060
+ return {
37061
+ /**
37062
+ *
37063
+ * @summary Create a helm
37064
+ * @param {string} environmentId Environment ID
37065
+ * @param {HelmRequest} [helmRequest]
37066
+ * @param {*} [options] Override http request option.
37067
+ * @throws {RequiredError}
37068
+ */
37069
+ async createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
37070
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createHelm(environmentId, helmRequest, options);
37071
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37072
+ },
37073
+ /**
37074
+ * Returns a list of helms with only their id and status.
37075
+ * @summary List all environment helm statuses
37076
+ * @param {string} environmentId Environment ID
37077
+ * @param {*} [options] Override http request option.
37078
+ * @throws {RequiredError}
37079
+ */
37080
+ async getEnvironmentHelmStatus(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferenceObjectStatusResponseList>> {
37081
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentHelmStatus(environmentId, options);
37082
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37083
+ },
37084
+ /**
37085
+ *
37086
+ * @summary List helms
37087
+ * @param {string} environmentId Environment ID
37088
+ * @param {*} [options] Override http request option.
37089
+ * @throws {RequiredError}
37090
+ */
37091
+ async listHelms(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponseList>> {
37092
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listHelms(environmentId, options);
37093
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37094
+ },
37095
+ }
37096
+ };
37097
+
37098
+ /**
37099
+ * HelmsApi - factory interface
37100
+ * @export
37101
+ */
37102
+ export const HelmsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
37103
+ const localVarFp = HelmsApiFp(configuration)
37104
+ return {
37105
+ /**
37106
+ *
37107
+ * @summary Create a helm
37108
+ * @param {string} environmentId Environment ID
37109
+ * @param {HelmRequest} [helmRequest]
37110
+ * @param {*} [options] Override http request option.
37111
+ * @throws {RequiredError}
37112
+ */
37113
+ createHelm(environmentId: string, helmRequest?: HelmRequest, options?: any): AxiosPromise<HelmResponse> {
37114
+ return localVarFp.createHelm(environmentId, helmRequest, options).then((request) => request(axios, basePath));
37115
+ },
37116
+ /**
37117
+ * Returns a list of helms with only their id and status.
37118
+ * @summary List all environment helm statuses
37119
+ * @param {string} environmentId Environment ID
37120
+ * @param {*} [options] Override http request option.
37121
+ * @throws {RequiredError}
37122
+ */
37123
+ getEnvironmentHelmStatus(environmentId: string, options?: any): AxiosPromise<ReferenceObjectStatusResponseList> {
37124
+ return localVarFp.getEnvironmentHelmStatus(environmentId, options).then((request) => request(axios, basePath));
37125
+ },
37126
+ /**
37127
+ *
37128
+ * @summary List helms
37129
+ * @param {string} environmentId Environment ID
37130
+ * @param {*} [options] Override http request option.
37131
+ * @throws {RequiredError}
37132
+ */
37133
+ listHelms(environmentId: string, options?: any): AxiosPromise<HelmResponseList> {
37134
+ return localVarFp.listHelms(environmentId, options).then((request) => request(axios, basePath));
37135
+ },
37136
+ };
37137
+ };
37138
+
37139
+ /**
37140
+ * HelmsApi - object-oriented interface
37141
+ * @export
37142
+ * @class HelmsApi
37143
+ * @extends {BaseAPI}
37144
+ */
37145
+ export class HelmsApi extends BaseAPI {
37146
+ /**
37147
+ *
37148
+ * @summary Create a helm
37149
+ * @param {string} environmentId Environment ID
37150
+ * @param {HelmRequest} [helmRequest]
37151
+ * @param {*} [options] Override http request option.
37152
+ * @throws {RequiredError}
37153
+ * @memberof HelmsApi
37154
+ */
37155
+ public createHelm(environmentId: string, helmRequest?: HelmRequest, options?: AxiosRequestConfig) {
37156
+ return HelmsApiFp(this.configuration).createHelm(environmentId, helmRequest, options).then((request) => request(this.axios, this.basePath));
37157
+ }
37158
+
37159
+ /**
37160
+ * Returns a list of helms with only their id and status.
37161
+ * @summary List all environment helm statuses
37162
+ * @param {string} environmentId Environment ID
37163
+ * @param {*} [options] Override http request option.
37164
+ * @throws {RequiredError}
37165
+ * @memberof HelmsApi
37166
+ */
37167
+ public getEnvironmentHelmStatus(environmentId: string, options?: AxiosRequestConfig) {
37168
+ return HelmsApiFp(this.configuration).getEnvironmentHelmStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
37169
+ }
37170
+
37171
+ /**
37172
+ *
37173
+ * @summary List helms
37174
+ * @param {string} environmentId Environment ID
37175
+ * @param {*} [options] Override http request option.
37176
+ * @throws {RequiredError}
37177
+ * @memberof HelmsApi
37178
+ */
37179
+ public listHelms(environmentId: string, options?: AxiosRequestConfig) {
37180
+ return HelmsApiFp(this.configuration).listHelms(environmentId, options).then((request) => request(this.axios, this.basePath));
37181
+ }
37182
+ }
37183
+
37184
+
37185
+
34942
37186
  /**
34943
37187
  * JobActionsApi - axios parameter creator
34944
37188
  * @export
@@ -41005,7 +43249,7 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
41005
43249
  * @param {*} [options] Override http request option.
41006
43250
  * @throws {RequiredError}
41007
43251
  */
41008
- async listOrganizationGitTokens(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrganizationGitTokens200Response>> {
43252
+ async listOrganizationGitTokens(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitTokenResponseList>> {
41009
43253
  const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationGitTokens(organizationId, options);
41010
43254
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41011
43255
  },
@@ -41086,7 +43330,7 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
41086
43330
  * @param {*} [options] Override http request option.
41087
43331
  * @throws {RequiredError}
41088
43332
  */
41089
- listOrganizationGitTokens(organizationId: string, options?: any): AxiosPromise<ListOrganizationGitTokens200Response> {
43333
+ listOrganizationGitTokens(organizationId: string, options?: any): AxiosPromise<GitTokenResponseList> {
41090
43334
  return localVarFp.listOrganizationGitTokens(organizationId, options).then((request) => request(axios, basePath));
41091
43335
  },
41092
43336
  };