qovery-typescript-axios 1.1.355 → 1.1.357

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
@@ -1354,6 +1354,19 @@ export interface BillingEnd {
1354
1354
  */
1355
1355
  'billing_ended_on'?: string;
1356
1356
  }
1357
+ /**
1358
+ *
1359
+ * @export
1360
+ * @interface BillingExternalId
1361
+ */
1362
+ export interface BillingExternalId {
1363
+ /**
1364
+ *
1365
+ * @type {string}
1366
+ * @memberof BillingExternalId
1367
+ */
1368
+ 'id'?: string;
1369
+ }
1357
1370
  /**
1358
1371
  *
1359
1372
  * @export
@@ -2743,10 +2756,101 @@ export interface ClusterRequestFeaturesInner {
2743
2756
  'id'?: string;
2744
2757
  /**
2745
2758
  *
2746
- * @type {ClusterFeatureValue}
2759
+ * @type {ClusterRequestFeaturesInnerValue}
2747
2760
  * @memberof ClusterRequestFeaturesInner
2748
2761
  */
2749
- 'value'?: ClusterFeatureValue | null;
2762
+ 'value'?: ClusterRequestFeaturesInnerValue | null;
2763
+ }
2764
+ /**
2765
+ * @type ClusterRequestFeaturesInnerValue
2766
+ * @export
2767
+ */
2768
+ export type ClusterRequestFeaturesInnerValue = ClusterRequestFeaturesInnerValueOneOf | boolean | string;
2769
+
2770
+ /**
2771
+ *
2772
+ * @export
2773
+ * @interface ClusterRequestFeaturesInnerValueOneOf
2774
+ */
2775
+ export interface ClusterRequestFeaturesInnerValueOneOf {
2776
+ /**
2777
+ *
2778
+ * @type {string}
2779
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2780
+ */
2781
+ 'aws_vpc_eks_id': string;
2782
+ /**
2783
+ *
2784
+ * @type {Array<string>}
2785
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2786
+ */
2787
+ 'eks_subnets_zone_a_ids': Array<string>;
2788
+ /**
2789
+ *
2790
+ * @type {Array<string>}
2791
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2792
+ */
2793
+ 'eks_subnets_zone_b_ids': Array<string>;
2794
+ /**
2795
+ *
2796
+ * @type {Array<string>}
2797
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2798
+ */
2799
+ 'eks_subnets_zone_c_ids': Array<string>;
2800
+ /**
2801
+ *
2802
+ * @type {Array<string>}
2803
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2804
+ */
2805
+ 'documentdb_subnets_zone_a_ids'?: Array<string> | null;
2806
+ /**
2807
+ *
2808
+ * @type {Array<string>}
2809
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2810
+ */
2811
+ 'documentdb_subnets_zone_b_ids'?: Array<string> | null;
2812
+ /**
2813
+ *
2814
+ * @type {Array<string>}
2815
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2816
+ */
2817
+ 'documentdb_subnets_zone_c_ids'?: Array<string> | null;
2818
+ /**
2819
+ *
2820
+ * @type {Array<string>}
2821
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2822
+ */
2823
+ 'elasticache_subnets_zone_a_ids'?: Array<string> | null;
2824
+ /**
2825
+ *
2826
+ * @type {Array<string>}
2827
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2828
+ */
2829
+ 'elasticache_subnets_zone_b_ids'?: Array<string> | null;
2830
+ /**
2831
+ *
2832
+ * @type {Array<string>}
2833
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2834
+ */
2835
+ 'elasticache_subnets_zone_c_ids'?: Array<string> | null;
2836
+ /**
2837
+ *
2838
+ * @type {Array<string>}
2839
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2840
+ */
2841
+ 'rds_subnets_zone_a_ids'?: Array<string> | null;
2842
+ /**
2843
+ *
2844
+ * @type {Array<string>}
2845
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2846
+ */
2847
+ 'rds_subnets_zone_b_ids'?: Array<string> | null;
2848
+ /**
2849
+ *
2850
+ * @type {Array<string>}
2851
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2852
+ */
2853
+ 'rds_subnets_zone_c_ids'?: Array<string> | null;
2750
2854
  }
2751
2855
  /**
2752
2856
  *
@@ -17575,6 +17679,47 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
17575
17679
 
17576
17680
 
17577
17681
 
17682
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17683
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17684
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17685
+
17686
+ return {
17687
+ url: toPathString(localVarUrlObj),
17688
+ options: localVarRequestOptions,
17689
+ };
17690
+ },
17691
+ /**
17692
+ * This endpoint returns the external ID of the organization\'s billing account.
17693
+ * @summary Get organization billing external ID
17694
+ * @param {string} organizationId Organization ID
17695
+ * @param {*} [options] Override http request option.
17696
+ * @throws {RequiredError}
17697
+ */
17698
+ getOrganizationBillingExternalId: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
17699
+ // verify required parameter 'organizationId' is not null or undefined
17700
+ assertParamExists('getOrganizationBillingExternalId', 'organizationId', organizationId)
17701
+ const localVarPath = `/organization/{organizationId}/billingExternalId`
17702
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
17703
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17704
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17705
+ let baseOptions;
17706
+ if (configuration) {
17707
+ baseOptions = configuration.baseOptions;
17708
+ }
17709
+
17710
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17711
+ const localVarHeaderParameter = {} as any;
17712
+ const localVarQueryParameter = {} as any;
17713
+
17714
+ // authentication ApiKeyAuth required
17715
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
17716
+
17717
+ // authentication bearerAuth required
17718
+ // http bearer authentication required
17719
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
17720
+
17721
+
17722
+
17578
17723
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17579
17724
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17580
17725
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -18002,6 +18147,17 @@ export const BillingApiFp = function(configuration?: Configuration) {
18002
18147
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterCurrentCost(organizationId, clusterId, options);
18003
18148
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18004
18149
  },
18150
+ /**
18151
+ * This endpoint returns the external ID of the organization\'s billing account.
18152
+ * @summary Get organization billing external ID
18153
+ * @param {string} organizationId Organization ID
18154
+ * @param {*} [options] Override http request option.
18155
+ * @throws {RequiredError}
18156
+ */
18157
+ async getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingExternalId>> {
18158
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationBillingExternalId(organizationId, options);
18159
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18160
+ },
18005
18161
  /**
18006
18162
  *
18007
18163
  * @summary Get organization billing info
@@ -18168,6 +18324,16 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
18168
18324
  getClusterCurrentCost(organizationId: string, clusterId: string, options?: any): AxiosPromise<CostRange> {
18169
18325
  return localVarFp.getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(axios, basePath));
18170
18326
  },
18327
+ /**
18328
+ * This endpoint returns the external ID of the organization\'s billing account.
18329
+ * @summary Get organization billing external ID
18330
+ * @param {string} organizationId Organization ID
18331
+ * @param {*} [options] Override http request option.
18332
+ * @throws {RequiredError}
18333
+ */
18334
+ getOrganizationBillingExternalId(organizationId: string, options?: any): AxiosPromise<BillingExternalId> {
18335
+ return localVarFp.getOrganizationBillingExternalId(organizationId, options).then((request) => request(axios, basePath));
18336
+ },
18171
18337
  /**
18172
18338
  *
18173
18339
  * @summary Get organization billing info
@@ -18338,6 +18504,18 @@ export class BillingApi extends BaseAPI {
18338
18504
  return BillingApiFp(this.configuration).getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
18339
18505
  }
18340
18506
 
18507
+ /**
18508
+ * This endpoint returns the external ID of the organization\'s billing account.
18509
+ * @summary Get organization billing external ID
18510
+ * @param {string} organizationId Organization ID
18511
+ * @param {*} [options] Override http request option.
18512
+ * @throws {RequiredError}
18513
+ * @memberof BillingApi
18514
+ */
18515
+ public getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig) {
18516
+ return BillingApiFp(this.configuration).getOrganizationBillingExternalId(organizationId, options).then((request) => request(this.axios, this.basePath));
18517
+ }
18518
+
18341
18519
  /**
18342
18520
  *
18343
18521
  * @summary Get organization billing info
package/dist/api.d.ts CHANGED
@@ -1321,6 +1321,19 @@ export interface BillingEnd {
1321
1321
  */
1322
1322
  'billing_ended_on'?: string;
1323
1323
  }
1324
+ /**
1325
+ *
1326
+ * @export
1327
+ * @interface BillingExternalId
1328
+ */
1329
+ export interface BillingExternalId {
1330
+ /**
1331
+ *
1332
+ * @type {string}
1333
+ * @memberof BillingExternalId
1334
+ */
1335
+ 'id'?: string;
1336
+ }
1324
1337
  /**
1325
1338
  *
1326
1339
  * @export
@@ -2671,10 +2684,100 @@ export interface ClusterRequestFeaturesInner {
2671
2684
  'id'?: string;
2672
2685
  /**
2673
2686
  *
2674
- * @type {ClusterFeatureValue}
2687
+ * @type {ClusterRequestFeaturesInnerValue}
2675
2688
  * @memberof ClusterRequestFeaturesInner
2676
2689
  */
2677
- 'value'?: ClusterFeatureValue | null;
2690
+ 'value'?: ClusterRequestFeaturesInnerValue | null;
2691
+ }
2692
+ /**
2693
+ * @type ClusterRequestFeaturesInnerValue
2694
+ * @export
2695
+ */
2696
+ export type ClusterRequestFeaturesInnerValue = ClusterRequestFeaturesInnerValueOneOf | boolean | string;
2697
+ /**
2698
+ *
2699
+ * @export
2700
+ * @interface ClusterRequestFeaturesInnerValueOneOf
2701
+ */
2702
+ export interface ClusterRequestFeaturesInnerValueOneOf {
2703
+ /**
2704
+ *
2705
+ * @type {string}
2706
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2707
+ */
2708
+ 'aws_vpc_eks_id': string;
2709
+ /**
2710
+ *
2711
+ * @type {Array<string>}
2712
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2713
+ */
2714
+ 'eks_subnets_zone_a_ids': Array<string>;
2715
+ /**
2716
+ *
2717
+ * @type {Array<string>}
2718
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2719
+ */
2720
+ 'eks_subnets_zone_b_ids': Array<string>;
2721
+ /**
2722
+ *
2723
+ * @type {Array<string>}
2724
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2725
+ */
2726
+ 'eks_subnets_zone_c_ids': Array<string>;
2727
+ /**
2728
+ *
2729
+ * @type {Array<string>}
2730
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2731
+ */
2732
+ 'documentdb_subnets_zone_a_ids'?: Array<string> | null;
2733
+ /**
2734
+ *
2735
+ * @type {Array<string>}
2736
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2737
+ */
2738
+ 'documentdb_subnets_zone_b_ids'?: Array<string> | null;
2739
+ /**
2740
+ *
2741
+ * @type {Array<string>}
2742
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2743
+ */
2744
+ 'documentdb_subnets_zone_c_ids'?: Array<string> | null;
2745
+ /**
2746
+ *
2747
+ * @type {Array<string>}
2748
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2749
+ */
2750
+ 'elasticache_subnets_zone_a_ids'?: Array<string> | null;
2751
+ /**
2752
+ *
2753
+ * @type {Array<string>}
2754
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2755
+ */
2756
+ 'elasticache_subnets_zone_b_ids'?: Array<string> | null;
2757
+ /**
2758
+ *
2759
+ * @type {Array<string>}
2760
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2761
+ */
2762
+ 'elasticache_subnets_zone_c_ids'?: Array<string> | null;
2763
+ /**
2764
+ *
2765
+ * @type {Array<string>}
2766
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2767
+ */
2768
+ 'rds_subnets_zone_a_ids'?: Array<string> | null;
2769
+ /**
2770
+ *
2771
+ * @type {Array<string>}
2772
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2773
+ */
2774
+ 'rds_subnets_zone_b_ids'?: Array<string> | null;
2775
+ /**
2776
+ *
2777
+ * @type {Array<string>}
2778
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2779
+ */
2780
+ 'rds_subnets_zone_c_ids'?: Array<string> | null;
2678
2781
  }
2679
2782
  /**
2680
2783
  *
@@ -14841,6 +14944,14 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
14841
14944
  * @throws {RequiredError}
14842
14945
  */
14843
14946
  getClusterCurrentCost: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
14947
+ /**
14948
+ * This endpoint returns the external ID of the organization\'s billing account.
14949
+ * @summary Get organization billing external ID
14950
+ * @param {string} organizationId Organization ID
14951
+ * @param {*} [options] Override http request option.
14952
+ * @throws {RequiredError}
14953
+ */
14954
+ getOrganizationBillingExternalId: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
14844
14955
  /**
14845
14956
  *
14846
14957
  * @summary Get organization billing info
@@ -14967,6 +15078,14 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
14967
15078
  * @throws {RequiredError}
14968
15079
  */
14969
15080
  getClusterCurrentCost(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CostRange>>;
15081
+ /**
15082
+ * This endpoint returns the external ID of the organization\'s billing account.
15083
+ * @summary Get organization billing external ID
15084
+ * @param {string} organizationId Organization ID
15085
+ * @param {*} [options] Override http request option.
15086
+ * @throws {RequiredError}
15087
+ */
15088
+ getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingExternalId>>;
14970
15089
  /**
14971
15090
  *
14972
15091
  * @summary Get organization billing info
@@ -15093,6 +15212,14 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
15093
15212
  * @throws {RequiredError}
15094
15213
  */
15095
15214
  getClusterCurrentCost(organizationId: string, clusterId: string, options?: any): AxiosPromise<CostRange>;
15215
+ /**
15216
+ * This endpoint returns the external ID of the organization\'s billing account.
15217
+ * @summary Get organization billing external ID
15218
+ * @param {string} organizationId Organization ID
15219
+ * @param {*} [options] Override http request option.
15220
+ * @throws {RequiredError}
15221
+ */
15222
+ getOrganizationBillingExternalId(organizationId: string, options?: any): AxiosPromise<BillingExternalId>;
15096
15223
  /**
15097
15224
  *
15098
15225
  * @summary Get organization billing info
@@ -15227,6 +15354,15 @@ export declare class BillingApi extends BaseAPI {
15227
15354
  * @memberof BillingApi
15228
15355
  */
15229
15356
  getClusterCurrentCost(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CostRange, any>>;
15357
+ /**
15358
+ * This endpoint returns the external ID of the organization\'s billing account.
15359
+ * @summary Get organization billing external ID
15360
+ * @param {string} organizationId Organization ID
15361
+ * @param {*} [options] Override http request option.
15362
+ * @throws {RequiredError}
15363
+ * @memberof BillingApi
15364
+ */
15365
+ getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingExternalId, any>>;
15230
15366
  /**
15231
15367
  *
15232
15368
  * @summary Get organization billing info
package/dist/api.js CHANGED
@@ -4682,6 +4682,40 @@ const BillingApiAxiosParamCreator = function (configuration) {
4682
4682
  options: localVarRequestOptions,
4683
4683
  };
4684
4684
  }),
4685
+ /**
4686
+ * This endpoint returns the external ID of the organization\'s billing account.
4687
+ * @summary Get organization billing external ID
4688
+ * @param {string} organizationId Organization ID
4689
+ * @param {*} [options] Override http request option.
4690
+ * @throws {RequiredError}
4691
+ */
4692
+ getOrganizationBillingExternalId: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4693
+ // verify required parameter 'organizationId' is not null or undefined
4694
+ (0, common_1.assertParamExists)('getOrganizationBillingExternalId', 'organizationId', organizationId);
4695
+ const localVarPath = `/organization/{organizationId}/billingExternalId`
4696
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
4697
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4698
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4699
+ let baseOptions;
4700
+ if (configuration) {
4701
+ baseOptions = configuration.baseOptions;
4702
+ }
4703
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4704
+ const localVarHeaderParameter = {};
4705
+ const localVarQueryParameter = {};
4706
+ // authentication ApiKeyAuth required
4707
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
4708
+ // authentication bearerAuth required
4709
+ // http bearer authentication required
4710
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4711
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4712
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4713
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4714
+ return {
4715
+ url: (0, common_1.toPathString)(localVarUrlObj),
4716
+ options: localVarRequestOptions,
4717
+ };
4718
+ }),
4685
4719
  /**
4686
4720
  *
4687
4721
  * @summary Get organization billing info
@@ -5056,6 +5090,19 @@ const BillingApiFp = function (configuration) {
5056
5090
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5057
5091
  });
5058
5092
  },
5093
+ /**
5094
+ * This endpoint returns the external ID of the organization\'s billing account.
5095
+ * @summary Get organization billing external ID
5096
+ * @param {string} organizationId Organization ID
5097
+ * @param {*} [options] Override http request option.
5098
+ * @throws {RequiredError}
5099
+ */
5100
+ getOrganizationBillingExternalId(organizationId, options) {
5101
+ return __awaiter(this, void 0, void 0, function* () {
5102
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationBillingExternalId(organizationId, options);
5103
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5104
+ });
5105
+ },
5059
5106
  /**
5060
5107
  *
5061
5108
  * @summary Get organization billing info
@@ -5238,6 +5285,16 @@ const BillingApiFactory = function (configuration, basePath, axios) {
5238
5285
  getClusterCurrentCost(organizationId, clusterId, options) {
5239
5286
  return localVarFp.getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(axios, basePath));
5240
5287
  },
5288
+ /**
5289
+ * This endpoint returns the external ID of the organization\'s billing account.
5290
+ * @summary Get organization billing external ID
5291
+ * @param {string} organizationId Organization ID
5292
+ * @param {*} [options] Override http request option.
5293
+ * @throws {RequiredError}
5294
+ */
5295
+ getOrganizationBillingExternalId(organizationId, options) {
5296
+ return localVarFp.getOrganizationBillingExternalId(organizationId, options).then((request) => request(axios, basePath));
5297
+ },
5241
5298
  /**
5242
5299
  *
5243
5300
  * @summary Get organization billing info
@@ -5402,6 +5459,17 @@ class BillingApi extends base_1.BaseAPI {
5402
5459
  getClusterCurrentCost(organizationId, clusterId, options) {
5403
5460
  return (0, exports.BillingApiFp)(this.configuration).getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
5404
5461
  }
5462
+ /**
5463
+ * This endpoint returns the external ID of the organization\'s billing account.
5464
+ * @summary Get organization billing external ID
5465
+ * @param {string} organizationId Organization ID
5466
+ * @param {*} [options] Override http request option.
5467
+ * @throws {RequiredError}
5468
+ * @memberof BillingApi
5469
+ */
5470
+ getOrganizationBillingExternalId(organizationId, options) {
5471
+ return (0, exports.BillingApiFp)(this.configuration).getOrganizationBillingExternalId(organizationId, options).then((request) => request(this.axios, this.basePath));
5472
+ }
5405
5473
  /**
5406
5474
  *
5407
5475
  * @summary Get organization billing info
package/dist/esm/api.d.ts CHANGED
@@ -1321,6 +1321,19 @@ export interface BillingEnd {
1321
1321
  */
1322
1322
  'billing_ended_on'?: string;
1323
1323
  }
1324
+ /**
1325
+ *
1326
+ * @export
1327
+ * @interface BillingExternalId
1328
+ */
1329
+ export interface BillingExternalId {
1330
+ /**
1331
+ *
1332
+ * @type {string}
1333
+ * @memberof BillingExternalId
1334
+ */
1335
+ 'id'?: string;
1336
+ }
1324
1337
  /**
1325
1338
  *
1326
1339
  * @export
@@ -2671,10 +2684,100 @@ export interface ClusterRequestFeaturesInner {
2671
2684
  'id'?: string;
2672
2685
  /**
2673
2686
  *
2674
- * @type {ClusterFeatureValue}
2687
+ * @type {ClusterRequestFeaturesInnerValue}
2675
2688
  * @memberof ClusterRequestFeaturesInner
2676
2689
  */
2677
- 'value'?: ClusterFeatureValue | null;
2690
+ 'value'?: ClusterRequestFeaturesInnerValue | null;
2691
+ }
2692
+ /**
2693
+ * @type ClusterRequestFeaturesInnerValue
2694
+ * @export
2695
+ */
2696
+ export type ClusterRequestFeaturesInnerValue = ClusterRequestFeaturesInnerValueOneOf | boolean | string;
2697
+ /**
2698
+ *
2699
+ * @export
2700
+ * @interface ClusterRequestFeaturesInnerValueOneOf
2701
+ */
2702
+ export interface ClusterRequestFeaturesInnerValueOneOf {
2703
+ /**
2704
+ *
2705
+ * @type {string}
2706
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2707
+ */
2708
+ 'aws_vpc_eks_id': string;
2709
+ /**
2710
+ *
2711
+ * @type {Array<string>}
2712
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2713
+ */
2714
+ 'eks_subnets_zone_a_ids': Array<string>;
2715
+ /**
2716
+ *
2717
+ * @type {Array<string>}
2718
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2719
+ */
2720
+ 'eks_subnets_zone_b_ids': Array<string>;
2721
+ /**
2722
+ *
2723
+ * @type {Array<string>}
2724
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2725
+ */
2726
+ 'eks_subnets_zone_c_ids': Array<string>;
2727
+ /**
2728
+ *
2729
+ * @type {Array<string>}
2730
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2731
+ */
2732
+ 'documentdb_subnets_zone_a_ids'?: Array<string> | null;
2733
+ /**
2734
+ *
2735
+ * @type {Array<string>}
2736
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2737
+ */
2738
+ 'documentdb_subnets_zone_b_ids'?: Array<string> | null;
2739
+ /**
2740
+ *
2741
+ * @type {Array<string>}
2742
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2743
+ */
2744
+ 'documentdb_subnets_zone_c_ids'?: Array<string> | null;
2745
+ /**
2746
+ *
2747
+ * @type {Array<string>}
2748
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2749
+ */
2750
+ 'elasticache_subnets_zone_a_ids'?: Array<string> | null;
2751
+ /**
2752
+ *
2753
+ * @type {Array<string>}
2754
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2755
+ */
2756
+ 'elasticache_subnets_zone_b_ids'?: Array<string> | null;
2757
+ /**
2758
+ *
2759
+ * @type {Array<string>}
2760
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2761
+ */
2762
+ 'elasticache_subnets_zone_c_ids'?: Array<string> | null;
2763
+ /**
2764
+ *
2765
+ * @type {Array<string>}
2766
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2767
+ */
2768
+ 'rds_subnets_zone_a_ids'?: Array<string> | null;
2769
+ /**
2770
+ *
2771
+ * @type {Array<string>}
2772
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2773
+ */
2774
+ 'rds_subnets_zone_b_ids'?: Array<string> | null;
2775
+ /**
2776
+ *
2777
+ * @type {Array<string>}
2778
+ * @memberof ClusterRequestFeaturesInnerValueOneOf
2779
+ */
2780
+ 'rds_subnets_zone_c_ids'?: Array<string> | null;
2678
2781
  }
2679
2782
  /**
2680
2783
  *
@@ -14841,6 +14944,14 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
14841
14944
  * @throws {RequiredError}
14842
14945
  */
14843
14946
  getClusterCurrentCost: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
14947
+ /**
14948
+ * This endpoint returns the external ID of the organization\'s billing account.
14949
+ * @summary Get organization billing external ID
14950
+ * @param {string} organizationId Organization ID
14951
+ * @param {*} [options] Override http request option.
14952
+ * @throws {RequiredError}
14953
+ */
14954
+ getOrganizationBillingExternalId: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
14844
14955
  /**
14845
14956
  *
14846
14957
  * @summary Get organization billing info
@@ -14967,6 +15078,14 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
14967
15078
  * @throws {RequiredError}
14968
15079
  */
14969
15080
  getClusterCurrentCost(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CostRange>>;
15081
+ /**
15082
+ * This endpoint returns the external ID of the organization\'s billing account.
15083
+ * @summary Get organization billing external ID
15084
+ * @param {string} organizationId Organization ID
15085
+ * @param {*} [options] Override http request option.
15086
+ * @throws {RequiredError}
15087
+ */
15088
+ getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingExternalId>>;
14970
15089
  /**
14971
15090
  *
14972
15091
  * @summary Get organization billing info
@@ -15093,6 +15212,14 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
15093
15212
  * @throws {RequiredError}
15094
15213
  */
15095
15214
  getClusterCurrentCost(organizationId: string, clusterId: string, options?: any): AxiosPromise<CostRange>;
15215
+ /**
15216
+ * This endpoint returns the external ID of the organization\'s billing account.
15217
+ * @summary Get organization billing external ID
15218
+ * @param {string} organizationId Organization ID
15219
+ * @param {*} [options] Override http request option.
15220
+ * @throws {RequiredError}
15221
+ */
15222
+ getOrganizationBillingExternalId(organizationId: string, options?: any): AxiosPromise<BillingExternalId>;
15096
15223
  /**
15097
15224
  *
15098
15225
  * @summary Get organization billing info
@@ -15227,6 +15354,15 @@ export declare class BillingApi extends BaseAPI {
15227
15354
  * @memberof BillingApi
15228
15355
  */
15229
15356
  getClusterCurrentCost(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CostRange, any>>;
15357
+ /**
15358
+ * This endpoint returns the external ID of the organization\'s billing account.
15359
+ * @summary Get organization billing external ID
15360
+ * @param {string} organizationId Organization ID
15361
+ * @param {*} [options] Override http request option.
15362
+ * @throws {RequiredError}
15363
+ * @memberof BillingApi
15364
+ */
15365
+ getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingExternalId, any>>;
15230
15366
  /**
15231
15367
  *
15232
15368
  * @summary Get organization billing info
package/dist/esm/api.js CHANGED
@@ -4628,6 +4628,40 @@ export const BillingApiAxiosParamCreator = function (configuration) {
4628
4628
  options: localVarRequestOptions,
4629
4629
  };
4630
4630
  }),
4631
+ /**
4632
+ * This endpoint returns the external ID of the organization\'s billing account.
4633
+ * @summary Get organization billing external ID
4634
+ * @param {string} organizationId Organization ID
4635
+ * @param {*} [options] Override http request option.
4636
+ * @throws {RequiredError}
4637
+ */
4638
+ getOrganizationBillingExternalId: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4639
+ // verify required parameter 'organizationId' is not null or undefined
4640
+ assertParamExists('getOrganizationBillingExternalId', 'organizationId', organizationId);
4641
+ const localVarPath = `/organization/{organizationId}/billingExternalId`
4642
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
4643
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4644
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4645
+ let baseOptions;
4646
+ if (configuration) {
4647
+ baseOptions = configuration.baseOptions;
4648
+ }
4649
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4650
+ const localVarHeaderParameter = {};
4651
+ const localVarQueryParameter = {};
4652
+ // authentication ApiKeyAuth required
4653
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
4654
+ // authentication bearerAuth required
4655
+ // http bearer authentication required
4656
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
4657
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4658
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4659
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4660
+ return {
4661
+ url: toPathString(localVarUrlObj),
4662
+ options: localVarRequestOptions,
4663
+ };
4664
+ }),
4631
4665
  /**
4632
4666
  *
4633
4667
  * @summary Get organization billing info
@@ -5001,6 +5035,19 @@ export const BillingApiFp = function (configuration) {
5001
5035
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5002
5036
  });
5003
5037
  },
5038
+ /**
5039
+ * This endpoint returns the external ID of the organization\'s billing account.
5040
+ * @summary Get organization billing external ID
5041
+ * @param {string} organizationId Organization ID
5042
+ * @param {*} [options] Override http request option.
5043
+ * @throws {RequiredError}
5044
+ */
5045
+ getOrganizationBillingExternalId(organizationId, options) {
5046
+ return __awaiter(this, void 0, void 0, function* () {
5047
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationBillingExternalId(organizationId, options);
5048
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5049
+ });
5050
+ },
5004
5051
  /**
5005
5052
  *
5006
5053
  * @summary Get organization billing info
@@ -5182,6 +5229,16 @@ export const BillingApiFactory = function (configuration, basePath, axios) {
5182
5229
  getClusterCurrentCost(organizationId, clusterId, options) {
5183
5230
  return localVarFp.getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(axios, basePath));
5184
5231
  },
5232
+ /**
5233
+ * This endpoint returns the external ID of the organization\'s billing account.
5234
+ * @summary Get organization billing external ID
5235
+ * @param {string} organizationId Organization ID
5236
+ * @param {*} [options] Override http request option.
5237
+ * @throws {RequiredError}
5238
+ */
5239
+ getOrganizationBillingExternalId(organizationId, options) {
5240
+ return localVarFp.getOrganizationBillingExternalId(organizationId, options).then((request) => request(axios, basePath));
5241
+ },
5185
5242
  /**
5186
5243
  *
5187
5244
  * @summary Get organization billing info
@@ -5345,6 +5402,17 @@ export class BillingApi extends BaseAPI {
5345
5402
  getClusterCurrentCost(organizationId, clusterId, options) {
5346
5403
  return BillingApiFp(this.configuration).getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
5347
5404
  }
5405
+ /**
5406
+ * This endpoint returns the external ID of the organization\'s billing account.
5407
+ * @summary Get organization billing external ID
5408
+ * @param {string} organizationId Organization ID
5409
+ * @param {*} [options] Override http request option.
5410
+ * @throws {RequiredError}
5411
+ * @memberof BillingApi
5412
+ */
5413
+ getOrganizationBillingExternalId(organizationId, options) {
5414
+ return BillingApiFp(this.configuration).getOrganizationBillingExternalId(organizationId, options).then((request) => request(this.axios, this.basePath));
5415
+ }
5348
5416
  /**
5349
5417
  *
5350
5418
  * @summary Get organization billing info
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.355",
3
+ "version": "v1.1.357",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {