qovery-typescript-axios 1.1.416 → 1.1.418

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
@@ -1977,10 +1977,10 @@ export interface Cluster {
1977
1977
  'ssh_keys'?: Array<string>;
1978
1978
  /**
1979
1979
  *
1980
- * @type {Array<ClusterFeature>}
1980
+ * @type {Array<ClusterFeatureResponse>}
1981
1981
  * @memberof Cluster
1982
1982
  */
1983
- 'features'?: Array<ClusterFeature>;
1983
+ 'features'?: Array<ClusterFeatureResponse>;
1984
1984
  /**
1985
1985
  *
1986
1986
  * @type {ClusterDeploymentStatusEnum}
@@ -2303,113 +2303,6 @@ export const ClusterDeploymentStatusEnum = {
2303
2303
  export type ClusterDeploymentStatusEnum = typeof ClusterDeploymentStatusEnum[keyof typeof ClusterDeploymentStatusEnum];
2304
2304
 
2305
2305
 
2306
- /**
2307
- *
2308
- * @export
2309
- * @interface ClusterFeature
2310
- */
2311
- export interface ClusterFeature {
2312
- /**
2313
- *
2314
- * @type {string}
2315
- * @memberof ClusterFeature
2316
- */
2317
- 'id'?: string;
2318
- /**
2319
- *
2320
- * @type {string}
2321
- * @memberof ClusterFeature
2322
- */
2323
- 'title'?: string;
2324
- /**
2325
- *
2326
- * @type {string}
2327
- * @memberof ClusterFeature
2328
- */
2329
- 'description'?: string | null;
2330
- /**
2331
- *
2332
- * @type {number}
2333
- * @memberof ClusterFeature
2334
- * @deprecated
2335
- */
2336
- 'cost_per_month_in_cents'?: number | null;
2337
- /**
2338
- *
2339
- * @type {number}
2340
- * @memberof ClusterFeature
2341
- * @deprecated
2342
- */
2343
- 'cost_per_month'?: number | null;
2344
- /**
2345
- *
2346
- * @type {string}
2347
- * @memberof ClusterFeature
2348
- * @deprecated
2349
- */
2350
- 'currency_code'?: string | null;
2351
- /**
2352
- *
2353
- * @type {boolean}
2354
- * @memberof ClusterFeature
2355
- */
2356
- 'is_cloud_provider_paying_feature'?: boolean;
2357
- /**
2358
- *
2359
- * @type {string}
2360
- * @memberof ClusterFeature
2361
- */
2362
- 'cloud_provider_feature_documentation'?: string | null;
2363
- /**
2364
- *
2365
- * @type {boolean}
2366
- * @memberof ClusterFeature
2367
- */
2368
- 'is_qovery_paying_feature'?: boolean;
2369
- /**
2370
- *
2371
- * @type {string}
2372
- * @memberof ClusterFeature
2373
- */
2374
- 'qovery_feature_documentation'?: string | null;
2375
- /**
2376
- *
2377
- * @type {string}
2378
- * @memberof ClusterFeature
2379
- */
2380
- 'value_type'?: ClusterFeatureValueTypeEnum;
2381
- /**
2382
- *
2383
- * @type {ClusterFeatureValue}
2384
- * @memberof ClusterFeature
2385
- */
2386
- 'value'?: ClusterFeatureValue | null;
2387
- /**
2388
- *
2389
- * @type {boolean}
2390
- * @memberof ClusterFeature
2391
- */
2392
- 'is_value_updatable'?: boolean;
2393
- /**
2394
- *
2395
- * @type {Array<ClusterFeatureAcceptedValuesInner>}
2396
- * @memberof ClusterFeature
2397
- */
2398
- 'accepted_values'?: Array<ClusterFeatureAcceptedValuesInner>;
2399
- }
2400
-
2401
- export const ClusterFeatureValueTypeEnum = {
2402
- BOOLEAN: 'BOOLEAN'
2403
- } as const;
2404
-
2405
- export type ClusterFeatureValueTypeEnum = typeof ClusterFeatureValueTypeEnum[keyof typeof ClusterFeatureValueTypeEnum];
2406
-
2407
- /**
2408
- * @type ClusterFeatureAcceptedValuesInner
2409
- * @export
2410
- */
2411
- export type ClusterFeatureAcceptedValuesInner = boolean | string;
2412
-
2413
2306
  /**
2414
2307
  *
2415
2308
  * @export
@@ -2495,6 +2388,48 @@ export interface ClusterFeatureAwsExistingVpc {
2495
2388
  */
2496
2389
  'rds_subnets_zone_c_ids'?: Array<string> | null;
2497
2390
  }
2391
+ /**
2392
+ *
2393
+ * @export
2394
+ * @interface ClusterFeatureAwsExistingVpcResponse
2395
+ */
2396
+ export interface ClusterFeatureAwsExistingVpcResponse {
2397
+ /**
2398
+ *
2399
+ * @type {ClusterFeatureResponseTypeEnum}
2400
+ * @memberof ClusterFeatureAwsExistingVpcResponse
2401
+ */
2402
+ 'type': ClusterFeatureResponseTypeEnum;
2403
+ /**
2404
+ *
2405
+ * @type {ClusterFeatureAwsExistingVpc}
2406
+ * @memberof ClusterFeatureAwsExistingVpcResponse
2407
+ */
2408
+ 'value': ClusterFeatureAwsExistingVpc;
2409
+ }
2410
+
2411
+
2412
+ /**
2413
+ *
2414
+ * @export
2415
+ * @interface ClusterFeatureBooleanResponse
2416
+ */
2417
+ export interface ClusterFeatureBooleanResponse {
2418
+ /**
2419
+ *
2420
+ * @type {ClusterFeatureResponseTypeEnum}
2421
+ * @memberof ClusterFeatureBooleanResponse
2422
+ */
2423
+ 'type': ClusterFeatureResponseTypeEnum;
2424
+ /**
2425
+ *
2426
+ * @type {boolean}
2427
+ * @memberof ClusterFeatureBooleanResponse
2428
+ */
2429
+ 'value': boolean;
2430
+ }
2431
+
2432
+
2498
2433
  /**
2499
2434
  *
2500
2435
  * @export
@@ -2538,6 +2473,134 @@ export interface ClusterFeatureGcpExistingVpc {
2538
2473
  */
2539
2474
  'additional_ip_range_pods_names'?: Array<string>;
2540
2475
  }
2476
+ /**
2477
+ *
2478
+ * @export
2479
+ * @interface ClusterFeatureGcpExistingVpcResponse
2480
+ */
2481
+ export interface ClusterFeatureGcpExistingVpcResponse {
2482
+ /**
2483
+ *
2484
+ * @type {ClusterFeatureResponseTypeEnum}
2485
+ * @memberof ClusterFeatureGcpExistingVpcResponse
2486
+ */
2487
+ 'type': ClusterFeatureResponseTypeEnum;
2488
+ /**
2489
+ *
2490
+ * @type {ClusterFeatureGcpExistingVpc}
2491
+ * @memberof ClusterFeatureGcpExistingVpcResponse
2492
+ */
2493
+ 'value': ClusterFeatureGcpExistingVpc;
2494
+ }
2495
+
2496
+
2497
+ /**
2498
+ *
2499
+ * @export
2500
+ * @interface ClusterFeatureResponse
2501
+ */
2502
+ export interface ClusterFeatureResponse {
2503
+ /**
2504
+ *
2505
+ * @type {string}
2506
+ * @memberof ClusterFeatureResponse
2507
+ */
2508
+ 'id'?: string;
2509
+ /**
2510
+ *
2511
+ * @type {string}
2512
+ * @memberof ClusterFeatureResponse
2513
+ */
2514
+ 'title'?: string;
2515
+ /**
2516
+ *
2517
+ * @type {string}
2518
+ * @memberof ClusterFeatureResponse
2519
+ */
2520
+ 'description'?: string | null;
2521
+ /**
2522
+ *
2523
+ * @type {number}
2524
+ * @memberof ClusterFeatureResponse
2525
+ * @deprecated
2526
+ */
2527
+ 'cost_per_month_in_cents'?: number | null;
2528
+ /**
2529
+ *
2530
+ * @type {number}
2531
+ * @memberof ClusterFeatureResponse
2532
+ * @deprecated
2533
+ */
2534
+ 'cost_per_month'?: number | null;
2535
+ /**
2536
+ *
2537
+ * @type {string}
2538
+ * @memberof ClusterFeatureResponse
2539
+ * @deprecated
2540
+ */
2541
+ 'currency_code'?: string | null;
2542
+ /**
2543
+ *
2544
+ * @type {boolean}
2545
+ * @memberof ClusterFeatureResponse
2546
+ */
2547
+ 'is_cloud_provider_paying_feature'?: boolean;
2548
+ /**
2549
+ *
2550
+ * @type {string}
2551
+ * @memberof ClusterFeatureResponse
2552
+ */
2553
+ 'cloud_provider_feature_documentation'?: string | null;
2554
+ /**
2555
+ *
2556
+ * @type {boolean}
2557
+ * @memberof ClusterFeatureResponse
2558
+ */
2559
+ 'is_qovery_paying_feature'?: boolean;
2560
+ /**
2561
+ *
2562
+ * @type {string}
2563
+ * @memberof ClusterFeatureResponse
2564
+ */
2565
+ 'qovery_feature_documentation'?: string | null;
2566
+ /**
2567
+ *
2568
+ * @type {string}
2569
+ * @memberof ClusterFeatureResponse
2570
+ */
2571
+ 'value_type'?: ClusterFeatureResponseValueTypeEnum;
2572
+ /**
2573
+ *
2574
+ * @type {ClusterFeatureResponseValueObject}
2575
+ * @memberof ClusterFeatureResponse
2576
+ */
2577
+ 'value_object'?: ClusterFeatureResponseValueObject | null;
2578
+ /**
2579
+ *
2580
+ * @type {boolean}
2581
+ * @memberof ClusterFeatureResponse
2582
+ */
2583
+ 'is_value_updatable'?: boolean;
2584
+ /**
2585
+ *
2586
+ * @type {Array<ClusterFeatureResponseAcceptedValuesInner>}
2587
+ * @memberof ClusterFeatureResponse
2588
+ */
2589
+ 'accepted_values'?: Array<ClusterFeatureResponseAcceptedValuesInner>;
2590
+ }
2591
+
2592
+ export const ClusterFeatureResponseValueTypeEnum = {
2593
+ BOOLEAN: 'BOOLEAN'
2594
+ } as const;
2595
+
2596
+ export type ClusterFeatureResponseValueTypeEnum = typeof ClusterFeatureResponseValueTypeEnum[keyof typeof ClusterFeatureResponseValueTypeEnum];
2597
+
2598
+ /**
2599
+ * @type ClusterFeatureResponseAcceptedValuesInner
2600
+ * @export
2601
+ */
2602
+ export type ClusterFeatureResponseAcceptedValuesInner = boolean | string;
2603
+
2541
2604
  /**
2542
2605
  *
2543
2606
  * @export
@@ -2546,16 +2609,53 @@ export interface ClusterFeatureGcpExistingVpc {
2546
2609
  export interface ClusterFeatureResponseList {
2547
2610
  /**
2548
2611
  *
2549
- * @type {Array<ClusterFeature>}
2612
+ * @type {Array<ClusterFeatureResponse>}
2550
2613
  * @memberof ClusterFeatureResponseList
2551
2614
  */
2552
- 'results'?: Array<ClusterFeature>;
2615
+ 'results'?: Array<ClusterFeatureResponse>;
2553
2616
  }
2554
2617
  /**
2555
- * @type ClusterFeatureValue
2618
+ *
2619
+ * @export
2620
+ * @enum {string}
2621
+ */
2622
+
2623
+ export const ClusterFeatureResponseTypeEnum = {
2624
+ STRING: 'STRING',
2625
+ BOOLEAN: 'BOOLEAN',
2626
+ AWS_USER_PROVIDED_NETWORK: 'AWS_USER_PROVIDED_NETWORK',
2627
+ GCP_USER_PROVIDED_NETWORK: 'GCP_USER_PROVIDED_NETWORK'
2628
+ } as const;
2629
+
2630
+ export type ClusterFeatureResponseTypeEnum = typeof ClusterFeatureResponseTypeEnum[keyof typeof ClusterFeatureResponseTypeEnum];
2631
+
2632
+
2633
+ /**
2634
+ * @type ClusterFeatureResponseValueObject
2635
+ * @export
2636
+ */
2637
+ export type ClusterFeatureResponseValueObject = { type: 'AWS_USER_PROVIDED_NETWORK' } & ClusterFeatureAwsExistingVpcResponse | { type: 'BOOLEAN' } & ClusterFeatureBooleanResponse | { type: 'GCP_USER_PROVIDED_NETWORK' } & ClusterFeatureGcpExistingVpcResponse | { type: 'STRING' } & ClusterFeatureStringResponse;
2638
+
2639
+ /**
2640
+ *
2556
2641
  * @export
2642
+ * @interface ClusterFeatureStringResponse
2557
2643
  */
2558
- export type ClusterFeatureValue = ClusterFeatureAwsExistingVpc | ClusterFeatureGcpExistingVpc | boolean | string;
2644
+ export interface ClusterFeatureStringResponse {
2645
+ /**
2646
+ *
2647
+ * @type {ClusterFeatureResponseTypeEnum}
2648
+ * @memberof ClusterFeatureStringResponse
2649
+ */
2650
+ 'type': ClusterFeatureResponseTypeEnum;
2651
+ /**
2652
+ *
2653
+ * @type {string}
2654
+ * @memberof ClusterFeatureStringResponse
2655
+ */
2656
+ 'value': string;
2657
+ }
2658
+
2559
2659
 
2560
2660
  /**
2561
2661
  *
@@ -2998,11 +3098,17 @@ export interface ClusterRequestFeaturesInner {
2998
3098
  'id'?: string;
2999
3099
  /**
3000
3100
  *
3001
- * @type {ClusterFeatureValue}
3101
+ * @type {ClusterRequestFeaturesInnerValue}
3002
3102
  * @memberof ClusterRequestFeaturesInner
3003
3103
  */
3004
- 'value'?: ClusterFeatureValue | null;
3104
+ 'value'?: ClusterRequestFeaturesInnerValue | null;
3005
3105
  }
3106
+ /**
3107
+ * @type ClusterRequestFeaturesInnerValue
3108
+ * @export
3109
+ */
3110
+ export type ClusterRequestFeaturesInnerValue = ClusterFeatureAwsExistingVpc | ClusterFeatureGcpExistingVpc | boolean | string;
3111
+
3006
3112
  /**
3007
3113
  *
3008
3114
  * @export
@@ -8696,6 +8802,38 @@ export interface HelmResponseList {
8696
8802
  */
8697
8803
  'results'?: Array<HelmResponse>;
8698
8804
  }
8805
+ /**
8806
+ *
8807
+ * @export
8808
+ * @interface HelmVersionResponse
8809
+ */
8810
+ export interface HelmVersionResponse {
8811
+ /**
8812
+ *
8813
+ * @type {string}
8814
+ * @memberof HelmVersionResponse
8815
+ */
8816
+ 'chart_name'?: string;
8817
+ /**
8818
+ *
8819
+ * @type {Array<string>}
8820
+ * @memberof HelmVersionResponse
8821
+ */
8822
+ 'versions'?: Array<string>;
8823
+ }
8824
+ /**
8825
+ *
8826
+ * @export
8827
+ * @interface HelmVersionResponseList
8828
+ */
8829
+ export interface HelmVersionResponseList {
8830
+ /**
8831
+ *
8832
+ * @type {Array<HelmVersionResponse>}
8833
+ * @memberof HelmVersionResponseList
8834
+ */
8835
+ 'results'?: Array<HelmVersionResponse>;
8836
+ }
8699
8837
  /**
8700
8838
  *
8701
8839
  * @export
@@ -37288,6 +37426,56 @@ export const HelmRepositoriesApiAxiosParamCreator = function (configuration?: Co
37288
37426
  options: localVarRequestOptions,
37289
37427
  };
37290
37428
  },
37429
+ /**
37430
+ *
37431
+ * @summary List helm charts contained inside the repository
37432
+ * @param {string} organizationId Organization ID
37433
+ * @param {string} helmRepositoryId Helm chart repository ID
37434
+ * @param {string} [chartName] Helm chart name to filter the result on
37435
+ * @param {*} [options] Override http request option.
37436
+ * @throws {RequiredError}
37437
+ */
37438
+ getHelmCharts: async (organizationId: string, helmRepositoryId: string, chartName?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37439
+ // verify required parameter 'organizationId' is not null or undefined
37440
+ assertParamExists('getHelmCharts', 'organizationId', organizationId)
37441
+ // verify required parameter 'helmRepositoryId' is not null or undefined
37442
+ assertParamExists('getHelmCharts', 'helmRepositoryId', helmRepositoryId)
37443
+ const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}/charts`
37444
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
37445
+ .replace(`{${"helmRepositoryId"}}`, encodeURIComponent(String(helmRepositoryId)));
37446
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37447
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37448
+ let baseOptions;
37449
+ if (configuration) {
37450
+ baseOptions = configuration.baseOptions;
37451
+ }
37452
+
37453
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
37454
+ const localVarHeaderParameter = {} as any;
37455
+ const localVarQueryParameter = {} as any;
37456
+
37457
+ // authentication ApiKeyAuth required
37458
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37459
+
37460
+ // authentication bearerAuth required
37461
+ // http bearer authentication required
37462
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
37463
+
37464
+ if (chartName !== undefined) {
37465
+ localVarQueryParameter['chartName'] = chartName;
37466
+ }
37467
+
37468
+
37469
+
37470
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37471
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37472
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37473
+
37474
+ return {
37475
+ url: toPathString(localVarUrlObj),
37476
+ options: localVarRequestOptions,
37477
+ };
37478
+ },
37291
37479
  /**
37292
37480
  *
37293
37481
  * @summary Get a helm repository
@@ -37458,6 +37646,19 @@ export const HelmRepositoriesApiFp = function(configuration?: Configuration) {
37458
37646
  const localVarAxiosArgs = await localVarAxiosParamCreator.editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options);
37459
37647
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37460
37648
  },
37649
+ /**
37650
+ *
37651
+ * @summary List helm charts contained inside the repository
37652
+ * @param {string} organizationId Organization ID
37653
+ * @param {string} helmRepositoryId Helm chart repository ID
37654
+ * @param {string} [chartName] Helm chart name to filter the result on
37655
+ * @param {*} [options] Override http request option.
37656
+ * @throws {RequiredError}
37657
+ */
37658
+ async getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmVersionResponseList>> {
37659
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmCharts(organizationId, helmRepositoryId, chartName, options);
37660
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37661
+ },
37461
37662
  /**
37462
37663
  *
37463
37664
  * @summary Get a helm repository
@@ -37535,6 +37736,18 @@ export const HelmRepositoriesApiFactory = function (configuration?: Configuratio
37535
37736
  editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: any): AxiosPromise<HelmRepositoryResponse> {
37536
37737
  return localVarFp.editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(axios, basePath));
37537
37738
  },
37739
+ /**
37740
+ *
37741
+ * @summary List helm charts contained inside the repository
37742
+ * @param {string} organizationId Organization ID
37743
+ * @param {string} helmRepositoryId Helm chart repository ID
37744
+ * @param {string} [chartName] Helm chart name to filter the result on
37745
+ * @param {*} [options] Override http request option.
37746
+ * @throws {RequiredError}
37747
+ */
37748
+ getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: any): AxiosPromise<HelmVersionResponseList> {
37749
+ return localVarFp.getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(axios, basePath));
37750
+ },
37538
37751
  /**
37539
37752
  *
37540
37753
  * @summary Get a helm repository
@@ -37615,6 +37828,20 @@ export class HelmRepositoriesApi extends BaseAPI {
37615
37828
  return HelmRepositoriesApiFp(this.configuration).editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(this.axios, this.basePath));
37616
37829
  }
37617
37830
 
37831
+ /**
37832
+ *
37833
+ * @summary List helm charts contained inside the repository
37834
+ * @param {string} organizationId Organization ID
37835
+ * @param {string} helmRepositoryId Helm chart repository ID
37836
+ * @param {string} [chartName] Helm chart name to filter the result on
37837
+ * @param {*} [options] Override http request option.
37838
+ * @throws {RequiredError}
37839
+ * @memberof HelmRepositoriesApi
37840
+ */
37841
+ public getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig) {
37842
+ return HelmRepositoriesApiFp(this.configuration).getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(this.axios, this.basePath));
37843
+ }
37844
+
37618
37845
  /**
37619
37846
  *
37620
37847
  * @summary Get a helm repository