qovery-typescript-axios 1.1.275 → 1.1.277

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
@@ -7649,6 +7649,134 @@ export const HelmRepositoryKindEnum = {
7649
7649
  export type HelmRepositoryKindEnum = typeof HelmRepositoryKindEnum[keyof typeof HelmRepositoryKindEnum];
7650
7650
 
7651
7651
 
7652
+ /**
7653
+ *
7654
+ * @export
7655
+ * @interface HelmRepositoryRequest
7656
+ */
7657
+ export interface HelmRepositoryRequest {
7658
+ /**
7659
+ *
7660
+ * @type {string}
7661
+ * @memberof HelmRepositoryRequest
7662
+ */
7663
+ 'name': string;
7664
+ /**
7665
+ *
7666
+ * @type {HelmRepositoryKindEnum}
7667
+ * @memberof HelmRepositoryRequest
7668
+ */
7669
+ 'kind': HelmRepositoryKindEnum;
7670
+ /**
7671
+ *
7672
+ * @type {string}
7673
+ * @memberof HelmRepositoryRequest
7674
+ */
7675
+ 'description'?: string;
7676
+ /**
7677
+ * URL of the helm chart repository: * For `OCI`: it must start by oci:// * For `HTTPS`: it must be start by https://
7678
+ * @type {string}
7679
+ * @memberof HelmRepositoryRequest
7680
+ */
7681
+ 'url'?: string;
7682
+ /**
7683
+ *
7684
+ * @type {HelmRepositoryRequestConfig}
7685
+ * @memberof HelmRepositoryRequest
7686
+ */
7687
+ 'config': HelmRepositoryRequestConfig;
7688
+ }
7689
+
7690
+
7691
+ /**
7692
+ *
7693
+ * @export
7694
+ * @interface HelmRepositoryRequestConfig
7695
+ */
7696
+ export interface HelmRepositoryRequestConfig {
7697
+ /**
7698
+ * Bypass tls certificate verification when connecting to repository
7699
+ * @type {boolean}
7700
+ * @memberof HelmRepositoryRequestConfig
7701
+ */
7702
+ 'skip_tls_verification'?: boolean;
7703
+ /**
7704
+ * Required if the repository is private
7705
+ * @type {string}
7706
+ * @memberof HelmRepositoryRequestConfig
7707
+ */
7708
+ 'login'?: string;
7709
+ /**
7710
+ * Required if the repository is private
7711
+ * @type {string}
7712
+ * @memberof HelmRepositoryRequestConfig
7713
+ */
7714
+ 'password'?: string;
7715
+ }
7716
+ /**
7717
+ *
7718
+ * @export
7719
+ * @interface HelmRepositoryResponse
7720
+ */
7721
+ export interface HelmRepositoryResponse {
7722
+ /**
7723
+ *
7724
+ * @type {string}
7725
+ * @memberof HelmRepositoryResponse
7726
+ */
7727
+ 'id': string;
7728
+ /**
7729
+ *
7730
+ * @type {string}
7731
+ * @memberof HelmRepositoryResponse
7732
+ */
7733
+ 'created_at': string;
7734
+ /**
7735
+ *
7736
+ * @type {string}
7737
+ * @memberof HelmRepositoryResponse
7738
+ */
7739
+ 'updated_at'?: string;
7740
+ /**
7741
+ *
7742
+ * @type {string}
7743
+ * @memberof HelmRepositoryResponse
7744
+ */
7745
+ 'name'?: string;
7746
+ /**
7747
+ *
7748
+ * @type {HelmRepositoryKindEnum}
7749
+ * @memberof HelmRepositoryResponse
7750
+ */
7751
+ 'kind'?: HelmRepositoryKindEnum;
7752
+ /**
7753
+ *
7754
+ * @type {string}
7755
+ * @memberof HelmRepositoryResponse
7756
+ */
7757
+ 'description'?: string;
7758
+ /**
7759
+ * URL of the helm repository
7760
+ * @type {string}
7761
+ * @memberof HelmRepositoryResponse
7762
+ */
7763
+ 'url'?: string;
7764
+ }
7765
+
7766
+
7767
+ /**
7768
+ *
7769
+ * @export
7770
+ * @interface HelmRepositoryResponseList
7771
+ */
7772
+ export interface HelmRepositoryResponseList {
7773
+ /**
7774
+ *
7775
+ * @type {Array<HelmRepositoryResponse>}
7776
+ * @memberof HelmRepositoryResponseList
7777
+ */
7778
+ 'results'?: Array<HelmRepositoryResponse>;
7779
+ }
7652
7780
  /**
7653
7781
  *
7654
7782
  * @export
@@ -37285,6 +37413,503 @@ export class HelmMainCallsApi extends BaseAPI {
37285
37413
 
37286
37414
 
37287
37415
 
37416
+ /**
37417
+ * HelmRepositoriesApi - axios parameter creator
37418
+ * @export
37419
+ */
37420
+ export const HelmRepositoriesApiAxiosParamCreator = function (configuration?: Configuration) {
37421
+ return {
37422
+ /**
37423
+ *
37424
+ * @summary Create a helm repository
37425
+ * @param {string} organizationId Organization ID
37426
+ * @param {HelmRepositoryRequest} [helmRepositoryRequest]
37427
+ * @param {*} [options] Override http request option.
37428
+ * @throws {RequiredError}
37429
+ */
37430
+ createHelmRepository: async (organizationId: string, helmRepositoryRequest?: HelmRepositoryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37431
+ // verify required parameter 'organizationId' is not null or undefined
37432
+ assertParamExists('createHelmRepository', 'organizationId', organizationId)
37433
+ const localVarPath = `/organization/{organizationId}/helmRepository`
37434
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
37435
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37436
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37437
+ let baseOptions;
37438
+ if (configuration) {
37439
+ baseOptions = configuration.baseOptions;
37440
+ }
37441
+
37442
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
37443
+ const localVarHeaderParameter = {} as any;
37444
+ const localVarQueryParameter = {} as any;
37445
+
37446
+ // authentication ApiKeyAuth required
37447
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37448
+
37449
+ // authentication bearerAuth required
37450
+ // http bearer authentication required
37451
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
37452
+
37453
+
37454
+
37455
+ localVarHeaderParameter['Content-Type'] = 'application/json';
37456
+
37457
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37458
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37459
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37460
+ localVarRequestOptions.data = serializeDataIfNeeded(helmRepositoryRequest, localVarRequestOptions, configuration)
37461
+
37462
+ return {
37463
+ url: toPathString(localVarUrlObj),
37464
+ options: localVarRequestOptions,
37465
+ };
37466
+ },
37467
+ /**
37468
+ *
37469
+ * @summary Delete a helm repository
37470
+ * @param {string} organizationId Organization ID
37471
+ * @param {*} [options] Override http request option.
37472
+ * @throws {RequiredError}
37473
+ */
37474
+ deleteHelmRepository: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37475
+ // verify required parameter 'organizationId' is not null or undefined
37476
+ assertParamExists('deleteHelmRepository', 'organizationId', organizationId)
37477
+ const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}`
37478
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
37479
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37480
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37481
+ let baseOptions;
37482
+ if (configuration) {
37483
+ baseOptions = configuration.baseOptions;
37484
+ }
37485
+
37486
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
37487
+ const localVarHeaderParameter = {} as any;
37488
+ const localVarQueryParameter = {} as any;
37489
+
37490
+ // authentication ApiKeyAuth required
37491
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37492
+
37493
+ // authentication bearerAuth required
37494
+ // http bearer authentication required
37495
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
37496
+
37497
+
37498
+
37499
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37500
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37501
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37502
+
37503
+ return {
37504
+ url: toPathString(localVarUrlObj),
37505
+ options: localVarRequestOptions,
37506
+ };
37507
+ },
37508
+ /**
37509
+ *
37510
+ * @summary Edit a helm repository
37511
+ * @param {string} organizationId Organization ID
37512
+ * @param {HelmRepositoryRequest} [helmRepositoryRequest]
37513
+ * @param {*} [options] Override http request option.
37514
+ * @throws {RequiredError}
37515
+ */
37516
+ editHelmRepository: async (organizationId: string, helmRepositoryRequest?: HelmRepositoryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37517
+ // verify required parameter 'organizationId' is not null or undefined
37518
+ assertParamExists('editHelmRepository', 'organizationId', organizationId)
37519
+ const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}`
37520
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
37521
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37522
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37523
+ let baseOptions;
37524
+ if (configuration) {
37525
+ baseOptions = configuration.baseOptions;
37526
+ }
37527
+
37528
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
37529
+ const localVarHeaderParameter = {} as any;
37530
+ const localVarQueryParameter = {} as any;
37531
+
37532
+ // authentication ApiKeyAuth required
37533
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37534
+
37535
+ // authentication bearerAuth required
37536
+ // http bearer authentication required
37537
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
37538
+
37539
+
37540
+
37541
+ localVarHeaderParameter['Content-Type'] = 'application/json';
37542
+
37543
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37544
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37545
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37546
+ localVarRequestOptions.data = serializeDataIfNeeded(helmRepositoryRequest, localVarRequestOptions, configuration)
37547
+
37548
+ return {
37549
+ url: toPathString(localVarUrlObj),
37550
+ options: localVarRequestOptions,
37551
+ };
37552
+ },
37553
+ /**
37554
+ *
37555
+ * @summary Get a helm repository
37556
+ * @param {string} organizationId Organization ID
37557
+ * @param {string} helmRepositoryId Helm chart repository ID
37558
+ * @param {*} [options] Override http request option.
37559
+ * @throws {RequiredError}
37560
+ */
37561
+ getHelmRepository: async (organizationId: string, helmRepositoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37562
+ // verify required parameter 'organizationId' is not null or undefined
37563
+ assertParamExists('getHelmRepository', 'organizationId', organizationId)
37564
+ // verify required parameter 'helmRepositoryId' is not null or undefined
37565
+ assertParamExists('getHelmRepository', 'helmRepositoryId', helmRepositoryId)
37566
+ const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}`
37567
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
37568
+ .replace(`{${"helmRepositoryId"}}`, encodeURIComponent(String(helmRepositoryId)));
37569
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37570
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37571
+ let baseOptions;
37572
+ if (configuration) {
37573
+ baseOptions = configuration.baseOptions;
37574
+ }
37575
+
37576
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
37577
+ const localVarHeaderParameter = {} as any;
37578
+ const localVarQueryParameter = {} as any;
37579
+
37580
+ // authentication ApiKeyAuth required
37581
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37582
+
37583
+ // authentication bearerAuth required
37584
+ // http bearer authentication required
37585
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
37586
+
37587
+
37588
+
37589
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37590
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37591
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37592
+
37593
+ return {
37594
+ url: toPathString(localVarUrlObj),
37595
+ options: localVarRequestOptions,
37596
+ };
37597
+ },
37598
+ /**
37599
+ * List supported helm repository by Qovery and get the mandatory authentification configuration.
37600
+ * @summary List supported helm repository
37601
+ * @param {*} [options] Override http request option.
37602
+ * @throws {RequiredError}
37603
+ */
37604
+ listAvailableHelmRepository: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37605
+ const localVarPath = `/availableHelmRepository`;
37606
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37607
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37608
+ let baseOptions;
37609
+ if (configuration) {
37610
+ baseOptions = configuration.baseOptions;
37611
+ }
37612
+
37613
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
37614
+ const localVarHeaderParameter = {} as any;
37615
+ const localVarQueryParameter = {} as any;
37616
+
37617
+ // authentication ApiKeyAuth required
37618
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37619
+
37620
+ // authentication bearerAuth required
37621
+ // http bearer authentication required
37622
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
37623
+
37624
+
37625
+
37626
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37627
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37628
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37629
+
37630
+ return {
37631
+ url: toPathString(localVarUrlObj),
37632
+ options: localVarRequestOptions,
37633
+ };
37634
+ },
37635
+ /**
37636
+ *
37637
+ * @summary List organization helm repositories
37638
+ * @param {string} organizationId Organization ID
37639
+ * @param {*} [options] Override http request option.
37640
+ * @throws {RequiredError}
37641
+ */
37642
+ listHelmRepository: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37643
+ // verify required parameter 'organizationId' is not null or undefined
37644
+ assertParamExists('listHelmRepository', 'organizationId', organizationId)
37645
+ const localVarPath = `/organization/{organizationId}/helmRepository`
37646
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
37647
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37648
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37649
+ let baseOptions;
37650
+ if (configuration) {
37651
+ baseOptions = configuration.baseOptions;
37652
+ }
37653
+
37654
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
37655
+ const localVarHeaderParameter = {} as any;
37656
+ const localVarQueryParameter = {} as any;
37657
+
37658
+ // authentication ApiKeyAuth required
37659
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37660
+
37661
+ // authentication bearerAuth required
37662
+ // http bearer authentication required
37663
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
37664
+
37665
+
37666
+
37667
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37668
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37669
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37670
+
37671
+ return {
37672
+ url: toPathString(localVarUrlObj),
37673
+ options: localVarRequestOptions,
37674
+ };
37675
+ },
37676
+ }
37677
+ };
37678
+
37679
+ /**
37680
+ * HelmRepositoriesApi - functional programming interface
37681
+ * @export
37682
+ */
37683
+ export const HelmRepositoriesApiFp = function(configuration?: Configuration) {
37684
+ const localVarAxiosParamCreator = HelmRepositoriesApiAxiosParamCreator(configuration)
37685
+ return {
37686
+ /**
37687
+ *
37688
+ * @summary Create a helm repository
37689
+ * @param {string} organizationId Organization ID
37690
+ * @param {HelmRepositoryRequest} [helmRepositoryRequest]
37691
+ * @param {*} [options] Override http request option.
37692
+ * @throws {RequiredError}
37693
+ */
37694
+ async createHelmRepository(organizationId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRepositoryResponse>> {
37695
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createHelmRepository(organizationId, helmRepositoryRequest, options);
37696
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37697
+ },
37698
+ /**
37699
+ *
37700
+ * @summary Delete a helm repository
37701
+ * @param {string} organizationId Organization ID
37702
+ * @param {*} [options] Override http request option.
37703
+ * @throws {RequiredError}
37704
+ */
37705
+ async deleteHelmRepository(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
37706
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHelmRepository(organizationId, options);
37707
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37708
+ },
37709
+ /**
37710
+ *
37711
+ * @summary Edit a helm repository
37712
+ * @param {string} organizationId Organization ID
37713
+ * @param {HelmRepositoryRequest} [helmRepositoryRequest]
37714
+ * @param {*} [options] Override http request option.
37715
+ * @throws {RequiredError}
37716
+ */
37717
+ async editHelmRepository(organizationId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRepositoryResponse>> {
37718
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editHelmRepository(organizationId, helmRepositoryRequest, options);
37719
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37720
+ },
37721
+ /**
37722
+ *
37723
+ * @summary Get a helm repository
37724
+ * @param {string} organizationId Organization ID
37725
+ * @param {string} helmRepositoryId Helm chart repository ID
37726
+ * @param {*} [options] Override http request option.
37727
+ * @throws {RequiredError}
37728
+ */
37729
+ async getHelmRepository(organizationId: string, helmRepositoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRepositoryResponse>> {
37730
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmRepository(organizationId, helmRepositoryId, options);
37731
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37732
+ },
37733
+ /**
37734
+ * List supported helm repository by Qovery and get the mandatory authentification configuration.
37735
+ * @summary List supported helm repository
37736
+ * @param {*} [options] Override http request option.
37737
+ * @throws {RequiredError}
37738
+ */
37739
+ async listAvailableHelmRepository(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AvailableHelmRepositoryResponseList>> {
37740
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableHelmRepository(options);
37741
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37742
+ },
37743
+ /**
37744
+ *
37745
+ * @summary List organization helm repositories
37746
+ * @param {string} organizationId Organization ID
37747
+ * @param {*} [options] Override http request option.
37748
+ * @throws {RequiredError}
37749
+ */
37750
+ async listHelmRepository(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRepositoryResponseList>> {
37751
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listHelmRepository(organizationId, options);
37752
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37753
+ },
37754
+ }
37755
+ };
37756
+
37757
+ /**
37758
+ * HelmRepositoriesApi - factory interface
37759
+ * @export
37760
+ */
37761
+ export const HelmRepositoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
37762
+ const localVarFp = HelmRepositoriesApiFp(configuration)
37763
+ return {
37764
+ /**
37765
+ *
37766
+ * @summary Create a helm repository
37767
+ * @param {string} organizationId Organization ID
37768
+ * @param {HelmRepositoryRequest} [helmRepositoryRequest]
37769
+ * @param {*} [options] Override http request option.
37770
+ * @throws {RequiredError}
37771
+ */
37772
+ createHelmRepository(organizationId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: any): AxiosPromise<HelmRepositoryResponse> {
37773
+ return localVarFp.createHelmRepository(organizationId, helmRepositoryRequest, options).then((request) => request(axios, basePath));
37774
+ },
37775
+ /**
37776
+ *
37777
+ * @summary Delete a helm repository
37778
+ * @param {string} organizationId Organization ID
37779
+ * @param {*} [options] Override http request option.
37780
+ * @throws {RequiredError}
37781
+ */
37782
+ deleteHelmRepository(organizationId: string, options?: any): AxiosPromise<void> {
37783
+ return localVarFp.deleteHelmRepository(organizationId, options).then((request) => request(axios, basePath));
37784
+ },
37785
+ /**
37786
+ *
37787
+ * @summary Edit a helm repository
37788
+ * @param {string} organizationId Organization ID
37789
+ * @param {HelmRepositoryRequest} [helmRepositoryRequest]
37790
+ * @param {*} [options] Override http request option.
37791
+ * @throws {RequiredError}
37792
+ */
37793
+ editHelmRepository(organizationId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: any): AxiosPromise<HelmRepositoryResponse> {
37794
+ return localVarFp.editHelmRepository(organizationId, helmRepositoryRequest, options).then((request) => request(axios, basePath));
37795
+ },
37796
+ /**
37797
+ *
37798
+ * @summary Get a helm repository
37799
+ * @param {string} organizationId Organization ID
37800
+ * @param {string} helmRepositoryId Helm chart repository ID
37801
+ * @param {*} [options] Override http request option.
37802
+ * @throws {RequiredError}
37803
+ */
37804
+ getHelmRepository(organizationId: string, helmRepositoryId: string, options?: any): AxiosPromise<HelmRepositoryResponse> {
37805
+ return localVarFp.getHelmRepository(organizationId, helmRepositoryId, options).then((request) => request(axios, basePath));
37806
+ },
37807
+ /**
37808
+ * List supported helm repository by Qovery and get the mandatory authentification configuration.
37809
+ * @summary List supported helm repository
37810
+ * @param {*} [options] Override http request option.
37811
+ * @throws {RequiredError}
37812
+ */
37813
+ listAvailableHelmRepository(options?: any): AxiosPromise<AvailableHelmRepositoryResponseList> {
37814
+ return localVarFp.listAvailableHelmRepository(options).then((request) => request(axios, basePath));
37815
+ },
37816
+ /**
37817
+ *
37818
+ * @summary List organization helm repositories
37819
+ * @param {string} organizationId Organization ID
37820
+ * @param {*} [options] Override http request option.
37821
+ * @throws {RequiredError}
37822
+ */
37823
+ listHelmRepository(organizationId: string, options?: any): AxiosPromise<HelmRepositoryResponseList> {
37824
+ return localVarFp.listHelmRepository(organizationId, options).then((request) => request(axios, basePath));
37825
+ },
37826
+ };
37827
+ };
37828
+
37829
+ /**
37830
+ * HelmRepositoriesApi - object-oriented interface
37831
+ * @export
37832
+ * @class HelmRepositoriesApi
37833
+ * @extends {BaseAPI}
37834
+ */
37835
+ export class HelmRepositoriesApi extends BaseAPI {
37836
+ /**
37837
+ *
37838
+ * @summary Create a helm repository
37839
+ * @param {string} organizationId Organization ID
37840
+ * @param {HelmRepositoryRequest} [helmRepositoryRequest]
37841
+ * @param {*} [options] Override http request option.
37842
+ * @throws {RequiredError}
37843
+ * @memberof HelmRepositoriesApi
37844
+ */
37845
+ public createHelmRepository(organizationId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig) {
37846
+ return HelmRepositoriesApiFp(this.configuration).createHelmRepository(organizationId, helmRepositoryRequest, options).then((request) => request(this.axios, this.basePath));
37847
+ }
37848
+
37849
+ /**
37850
+ *
37851
+ * @summary Delete a helm repository
37852
+ * @param {string} organizationId Organization ID
37853
+ * @param {*} [options] Override http request option.
37854
+ * @throws {RequiredError}
37855
+ * @memberof HelmRepositoriesApi
37856
+ */
37857
+ public deleteHelmRepository(organizationId: string, options?: AxiosRequestConfig) {
37858
+ return HelmRepositoriesApiFp(this.configuration).deleteHelmRepository(organizationId, options).then((request) => request(this.axios, this.basePath));
37859
+ }
37860
+
37861
+ /**
37862
+ *
37863
+ * @summary Edit a helm repository
37864
+ * @param {string} organizationId Organization ID
37865
+ * @param {HelmRepositoryRequest} [helmRepositoryRequest]
37866
+ * @param {*} [options] Override http request option.
37867
+ * @throws {RequiredError}
37868
+ * @memberof HelmRepositoriesApi
37869
+ */
37870
+ public editHelmRepository(organizationId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig) {
37871
+ return HelmRepositoriesApiFp(this.configuration).editHelmRepository(organizationId, helmRepositoryRequest, options).then((request) => request(this.axios, this.basePath));
37872
+ }
37873
+
37874
+ /**
37875
+ *
37876
+ * @summary Get a helm repository
37877
+ * @param {string} organizationId Organization ID
37878
+ * @param {string} helmRepositoryId Helm chart repository ID
37879
+ * @param {*} [options] Override http request option.
37880
+ * @throws {RequiredError}
37881
+ * @memberof HelmRepositoriesApi
37882
+ */
37883
+ public getHelmRepository(organizationId: string, helmRepositoryId: string, options?: AxiosRequestConfig) {
37884
+ return HelmRepositoriesApiFp(this.configuration).getHelmRepository(organizationId, helmRepositoryId, options).then((request) => request(this.axios, this.basePath));
37885
+ }
37886
+
37887
+ /**
37888
+ * List supported helm repository by Qovery and get the mandatory authentification configuration.
37889
+ * @summary List supported helm repository
37890
+ * @param {*} [options] Override http request option.
37891
+ * @throws {RequiredError}
37892
+ * @memberof HelmRepositoriesApi
37893
+ */
37894
+ public listAvailableHelmRepository(options?: AxiosRequestConfig) {
37895
+ return HelmRepositoriesApiFp(this.configuration).listAvailableHelmRepository(options).then((request) => request(this.axios, this.basePath));
37896
+ }
37897
+
37898
+ /**
37899
+ *
37900
+ * @summary List organization helm repositories
37901
+ * @param {string} organizationId Organization ID
37902
+ * @param {*} [options] Override http request option.
37903
+ * @throws {RequiredError}
37904
+ * @memberof HelmRepositoriesApi
37905
+ */
37906
+ public listHelmRepository(organizationId: string, options?: AxiosRequestConfig) {
37907
+ return HelmRepositoriesApiFp(this.configuration).listHelmRepository(organizationId, options).then((request) => request(this.axios, this.basePath));
37908
+ }
37909
+ }
37910
+
37911
+
37912
+
37288
37913
  /**
37289
37914
  * HelmsApi - axios parameter creator
37290
37915
  * @export