qovery-typescript-axios 1.1.366 → 1.1.368

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
@@ -4354,11 +4354,11 @@ export interface CurrentCost {
4354
4354
  */
4355
4355
  'remaining_trial_day'?: number;
4356
4356
  /**
4357
- *
4358
- * @type {RemainingCredits}
4357
+ * date when the current plan will be renewed
4358
+ * @type {string}
4359
4359
  * @memberof CurrentCost
4360
4360
  */
4361
- 'remaining_credits'?: RemainingCredits;
4361
+ 'renewal_at'?: string | null;
4362
4362
  /**
4363
4363
  *
4364
4364
  * @type {Cost}
@@ -10049,23 +10049,17 @@ export interface OrganizationCurrentCost {
10049
10049
  */
10050
10050
  'remaining_trial_day'?: number;
10051
10051
  /**
10052
- *
10053
- * @type {RemainingCredits}
10052
+ * date when the current plan will be renewed
10053
+ * @type {string}
10054
10054
  * @memberof OrganizationCurrentCost
10055
10055
  */
10056
- 'remaining_credits'?: RemainingCredits;
10056
+ 'renewal_at'?: string | null;
10057
10057
  /**
10058
10058
  *
10059
10059
  * @type {Cost}
10060
10060
  * @memberof OrganizationCurrentCost
10061
10061
  */
10062
10062
  'cost'?: Cost;
10063
- /**
10064
- *
10065
- * @type {PaidUsage}
10066
- * @memberof OrganizationCurrentCost
10067
- */
10068
- 'paid_usage'?: PaidUsage;
10069
10063
  }
10070
10064
 
10071
10065
 
@@ -10995,55 +10989,6 @@ export interface PaginationData {
10995
10989
  */
10996
10990
  'page_size': number;
10997
10991
  }
10998
- /**
10999
- *
11000
- * @export
11001
- * @interface PaidUsage
11002
- */
11003
- export interface PaidUsage {
11004
- /**
11005
- *
11006
- * @type {number}
11007
- * @memberof PaidUsage
11008
- */
11009
- 'max_deployments_per_month'?: number;
11010
- /**
11011
- *
11012
- * @type {number}
11013
- * @memberof PaidUsage
11014
- */
11015
- 'consumed_deployments'?: number;
11016
- /**
11017
- *
11018
- * @type {number}
11019
- * @memberof PaidUsage
11020
- */
11021
- 'monthly_plan_cost'?: number;
11022
- /**
11023
- *
11024
- * @type {number}
11025
- * @memberof PaidUsage
11026
- */
11027
- 'monthly_plan_cost_in_cents'?: number;
11028
- /**
11029
- *
11030
- * @type {number}
11031
- * @memberof PaidUsage
11032
- */
11033
- 'remaining_deployments'?: number;
11034
- /**
11035
- *
11036
- * @type {boolean}
11037
- * @memberof PaidUsage
11038
- */
11039
- 'deployments_exceeded'?: boolean;
11040
- /**
11041
- *
11042
- * @type {string}
11043
- * @memberof PaidUsage
11044
- */
11045
- 'renewal_at'?: string | null;
11046
- }
11047
10992
  /**
11048
10993
  * BUSINESS & PROFESSIONAL are deprecated
11049
10994
  * @export
@@ -21348,6 +21293,55 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
21348
21293
  options: localVarRequestOptions,
21349
21294
  };
21350
21295
  },
21296
+ /**
21297
+ *
21298
+ * @summary Edit cluster kubeconfig
21299
+ * @param {string} organizationId Organization ID
21300
+ * @param {string} clusterId Cluster ID
21301
+ * @param {string} [body]
21302
+ * @param {*} [options] Override http request option.
21303
+ * @throws {RequiredError}
21304
+ */
21305
+ editClusterKubeconfig: async (organizationId: string, clusterId: string, body?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21306
+ // verify required parameter 'organizationId' is not null or undefined
21307
+ assertParamExists('editClusterKubeconfig', 'organizationId', organizationId)
21308
+ // verify required parameter 'clusterId' is not null or undefined
21309
+ assertParamExists('editClusterKubeconfig', 'clusterId', clusterId)
21310
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
21311
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
21312
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
21313
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21314
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21315
+ let baseOptions;
21316
+ if (configuration) {
21317
+ baseOptions = configuration.baseOptions;
21318
+ }
21319
+
21320
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
21321
+ const localVarHeaderParameter = {} as any;
21322
+ const localVarQueryParameter = {} as any;
21323
+
21324
+ // authentication ApiKeyAuth required
21325
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
21326
+
21327
+ // authentication bearerAuth required
21328
+ // http bearer authentication required
21329
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
21330
+
21331
+
21332
+
21333
+ localVarHeaderParameter['Content-Type'] = 'application/x-yaml';
21334
+
21335
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21336
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21337
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21338
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
21339
+
21340
+ return {
21341
+ url: toPathString(localVarUrlObj),
21342
+ options: localVarRequestOptions,
21343
+ };
21344
+ },
21351
21345
  /**
21352
21346
  * Edit routing table by returning updated table.
21353
21347
  * @summary Edit routing table
@@ -22043,6 +22037,19 @@ export const ClustersApiFp = function(configuration?: Configuration) {
22043
22037
  const localVarAxiosArgs = await localVarAxiosParamCreator.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options);
22044
22038
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22045
22039
  },
22040
+ /**
22041
+ *
22042
+ * @summary Edit cluster kubeconfig
22043
+ * @param {string} organizationId Organization ID
22044
+ * @param {string} clusterId Cluster ID
22045
+ * @param {string} [body]
22046
+ * @param {*} [options] Override http request option.
22047
+ * @throws {RequiredError}
22048
+ */
22049
+ async editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22050
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editClusterKubeconfig(organizationId, clusterId, body, options);
22051
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22052
+ },
22046
22053
  /**
22047
22054
  * Edit routing table by returning updated table.
22048
22055
  * @summary Edit routing table
@@ -22277,6 +22284,18 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
22277
22284
  editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: any): AxiosPromise<ClusterAdvancedSettings> {
22278
22285
  return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(axios, basePath));
22279
22286
  },
22287
+ /**
22288
+ *
22289
+ * @summary Edit cluster kubeconfig
22290
+ * @param {string} organizationId Organization ID
22291
+ * @param {string} clusterId Cluster ID
22292
+ * @param {string} [body]
22293
+ * @param {*} [options] Override http request option.
22294
+ * @throws {RequiredError}
22295
+ */
22296
+ editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: any): AxiosPromise<void> {
22297
+ return localVarFp.editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(axios, basePath));
22298
+ },
22280
22299
  /**
22281
22300
  * Edit routing table by returning updated table.
22282
22301
  * @summary Edit routing table
@@ -22507,6 +22526,20 @@ export class ClustersApi extends BaseAPI {
22507
22526
  return ClustersApiFp(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
22508
22527
  }
22509
22528
 
22529
+ /**
22530
+ *
22531
+ * @summary Edit cluster kubeconfig
22532
+ * @param {string} organizationId Organization ID
22533
+ * @param {string} clusterId Cluster ID
22534
+ * @param {string} [body]
22535
+ * @param {*} [options] Override http request option.
22536
+ * @throws {RequiredError}
22537
+ * @memberof ClustersApi
22538
+ */
22539
+ public editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig) {
22540
+ return ClustersApiFp(this.configuration).editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(this.axios, this.basePath));
22541
+ }
22542
+
22510
22543
  /**
22511
22544
  * Edit routing table by returning updated table.
22512
22545
  * @summary Edit routing table
package/dist/api.d.ts CHANGED
@@ -4249,11 +4249,11 @@ export interface CurrentCost {
4249
4249
  */
4250
4250
  'remaining_trial_day'?: number;
4251
4251
  /**
4252
- *
4253
- * @type {RemainingCredits}
4252
+ * date when the current plan will be renewed
4253
+ * @type {string}
4254
4254
  * @memberof CurrentCost
4255
4255
  */
4256
- 'remaining_credits'?: RemainingCredits;
4256
+ 'renewal_at'?: string | null;
4257
4257
  /**
4258
4258
  *
4259
4259
  * @type {Cost}
@@ -9770,23 +9770,17 @@ export interface OrganizationCurrentCost {
9770
9770
  */
9771
9771
  'remaining_trial_day'?: number;
9772
9772
  /**
9773
- *
9774
- * @type {RemainingCredits}
9773
+ * date when the current plan will be renewed
9774
+ * @type {string}
9775
9775
  * @memberof OrganizationCurrentCost
9776
9776
  */
9777
- 'remaining_credits'?: RemainingCredits;
9777
+ 'renewal_at'?: string | null;
9778
9778
  /**
9779
9779
  *
9780
9780
  * @type {Cost}
9781
9781
  * @memberof OrganizationCurrentCost
9782
9782
  */
9783
9783
  'cost'?: Cost;
9784
- /**
9785
- *
9786
- * @type {PaidUsage}
9787
- * @memberof OrganizationCurrentCost
9788
- */
9789
- 'paid_usage'?: PaidUsage;
9790
9784
  }
9791
9785
  /**
9792
9786
  *
@@ -10666,55 +10660,6 @@ export interface PaginationData {
10666
10660
  */
10667
10661
  'page_size': number;
10668
10662
  }
10669
- /**
10670
- *
10671
- * @export
10672
- * @interface PaidUsage
10673
- */
10674
- export interface PaidUsage {
10675
- /**
10676
- *
10677
- * @type {number}
10678
- * @memberof PaidUsage
10679
- */
10680
- 'max_deployments_per_month'?: number;
10681
- /**
10682
- *
10683
- * @type {number}
10684
- * @memberof PaidUsage
10685
- */
10686
- 'consumed_deployments'?: number;
10687
- /**
10688
- *
10689
- * @type {number}
10690
- * @memberof PaidUsage
10691
- */
10692
- 'monthly_plan_cost'?: number;
10693
- /**
10694
- *
10695
- * @type {number}
10696
- * @memberof PaidUsage
10697
- */
10698
- 'monthly_plan_cost_in_cents'?: number;
10699
- /**
10700
- *
10701
- * @type {number}
10702
- * @memberof PaidUsage
10703
- */
10704
- 'remaining_deployments'?: number;
10705
- /**
10706
- *
10707
- * @type {boolean}
10708
- * @memberof PaidUsage
10709
- */
10710
- 'deployments_exceeded'?: boolean;
10711
- /**
10712
- *
10713
- * @type {string}
10714
- * @memberof PaidUsage
10715
- */
10716
- 'renewal_at'?: string | null;
10717
- }
10718
10663
  /**
10719
10664
  * BUSINESS & PROFESSIONAL are deprecated
10720
10665
  * @export
@@ -16626,6 +16571,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
16626
16571
  * @throws {RequiredError}
16627
16572
  */
16628
16573
  editClusterAdvancedSettings: (organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig) => Promise<RequestArgs>;
16574
+ /**
16575
+ *
16576
+ * @summary Edit cluster kubeconfig
16577
+ * @param {string} organizationId Organization ID
16578
+ * @param {string} clusterId Cluster ID
16579
+ * @param {string} [body]
16580
+ * @param {*} [options] Override http request option.
16581
+ * @throws {RequiredError}
16582
+ */
16583
+ editClusterKubeconfig: (organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
16629
16584
  /**
16630
16585
  * Edit routing table by returning updated table.
16631
16586
  * @summary Edit routing table
@@ -16804,6 +16759,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
16804
16759
  * @throws {RequiredError}
16805
16760
  */
16806
16761
  editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
16762
+ /**
16763
+ *
16764
+ * @summary Edit cluster kubeconfig
16765
+ * @param {string} organizationId Organization ID
16766
+ * @param {string} clusterId Cluster ID
16767
+ * @param {string} [body]
16768
+ * @param {*} [options] Override http request option.
16769
+ * @throws {RequiredError}
16770
+ */
16771
+ editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
16807
16772
  /**
16808
16773
  * Edit routing table by returning updated table.
16809
16774
  * @summary Edit routing table
@@ -16982,6 +16947,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
16982
16947
  * @throws {RequiredError}
16983
16948
  */
16984
16949
  editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: any): AxiosPromise<ClusterAdvancedSettings>;
16950
+ /**
16951
+ *
16952
+ * @summary Edit cluster kubeconfig
16953
+ * @param {string} organizationId Organization ID
16954
+ * @param {string} clusterId Cluster ID
16955
+ * @param {string} [body]
16956
+ * @param {*} [options] Override http request option.
16957
+ * @throws {RequiredError}
16958
+ */
16959
+ editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: any): AxiosPromise<void>;
16985
16960
  /**
16986
16961
  * Edit routing table by returning updated table.
16987
16962
  * @summary Edit routing table
@@ -17167,6 +17142,17 @@ export declare class ClustersApi extends BaseAPI {
17167
17142
  * @memberof ClustersApi
17168
17143
  */
17169
17144
  editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any>>;
17145
+ /**
17146
+ *
17147
+ * @summary Edit cluster kubeconfig
17148
+ * @param {string} organizationId Organization ID
17149
+ * @param {string} clusterId Cluster ID
17150
+ * @param {string} [body]
17151
+ * @param {*} [options] Override http request option.
17152
+ * @throws {RequiredError}
17153
+ * @memberof ClustersApi
17154
+ */
17155
+ editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
17170
17156
  /**
17171
17157
  * Edit routing table by returning updated table.
17172
17158
  * @summary Edit routing table
package/dist/api.js CHANGED
@@ -8048,6 +8048,47 @@ const ClustersApiAxiosParamCreator = function (configuration) {
8048
8048
  options: localVarRequestOptions,
8049
8049
  };
8050
8050
  }),
8051
+ /**
8052
+ *
8053
+ * @summary Edit cluster kubeconfig
8054
+ * @param {string} organizationId Organization ID
8055
+ * @param {string} clusterId Cluster ID
8056
+ * @param {string} [body]
8057
+ * @param {*} [options] Override http request option.
8058
+ * @throws {RequiredError}
8059
+ */
8060
+ editClusterKubeconfig: (organizationId, clusterId, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
8061
+ // verify required parameter 'organizationId' is not null or undefined
8062
+ (0, common_1.assertParamExists)('editClusterKubeconfig', 'organizationId', organizationId);
8063
+ // verify required parameter 'clusterId' is not null or undefined
8064
+ (0, common_1.assertParamExists)('editClusterKubeconfig', 'clusterId', clusterId);
8065
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
8066
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
8067
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
8068
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8069
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8070
+ let baseOptions;
8071
+ if (configuration) {
8072
+ baseOptions = configuration.baseOptions;
8073
+ }
8074
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
8075
+ const localVarHeaderParameter = {};
8076
+ const localVarQueryParameter = {};
8077
+ // authentication ApiKeyAuth required
8078
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8079
+ // authentication bearerAuth required
8080
+ // http bearer authentication required
8081
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8082
+ localVarHeaderParameter['Content-Type'] = 'application/x-yaml';
8083
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8084
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8085
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8086
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
8087
+ return {
8088
+ url: (0, common_1.toPathString)(localVarUrlObj),
8089
+ options: localVarRequestOptions,
8090
+ };
8091
+ }),
8051
8092
  /**
8052
8093
  * Edit routing table by returning updated table.
8053
8094
  * @summary Edit routing table
@@ -8653,6 +8694,21 @@ const ClustersApiFp = function (configuration) {
8653
8694
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
8654
8695
  });
8655
8696
  },
8697
+ /**
8698
+ *
8699
+ * @summary Edit cluster kubeconfig
8700
+ * @param {string} organizationId Organization ID
8701
+ * @param {string} clusterId Cluster ID
8702
+ * @param {string} [body]
8703
+ * @param {*} [options] Override http request option.
8704
+ * @throws {RequiredError}
8705
+ */
8706
+ editClusterKubeconfig(organizationId, clusterId, body, options) {
8707
+ return __awaiter(this, void 0, void 0, function* () {
8708
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editClusterKubeconfig(organizationId, clusterId, body, options);
8709
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
8710
+ });
8711
+ },
8656
8712
  /**
8657
8713
  * Edit routing table by returning updated table.
8658
8714
  * @summary Edit routing table
@@ -8915,6 +8971,18 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
8915
8971
  editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
8916
8972
  return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(axios, basePath));
8917
8973
  },
8974
+ /**
8975
+ *
8976
+ * @summary Edit cluster kubeconfig
8977
+ * @param {string} organizationId Organization ID
8978
+ * @param {string} clusterId Cluster ID
8979
+ * @param {string} [body]
8980
+ * @param {*} [options] Override http request option.
8981
+ * @throws {RequiredError}
8982
+ */
8983
+ editClusterKubeconfig(organizationId, clusterId, body, options) {
8984
+ return localVarFp.editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(axios, basePath));
8985
+ },
8918
8986
  /**
8919
8987
  * Edit routing table by returning updated table.
8920
8988
  * @summary Edit routing table
@@ -9140,6 +9208,19 @@ class ClustersApi extends base_1.BaseAPI {
9140
9208
  editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
9141
9209
  return (0, exports.ClustersApiFp)(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
9142
9210
  }
9211
+ /**
9212
+ *
9213
+ * @summary Edit cluster kubeconfig
9214
+ * @param {string} organizationId Organization ID
9215
+ * @param {string} clusterId Cluster ID
9216
+ * @param {string} [body]
9217
+ * @param {*} [options] Override http request option.
9218
+ * @throws {RequiredError}
9219
+ * @memberof ClustersApi
9220
+ */
9221
+ editClusterKubeconfig(organizationId, clusterId, body, options) {
9222
+ return (0, exports.ClustersApiFp)(this.configuration).editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(this.axios, this.basePath));
9223
+ }
9143
9224
  /**
9144
9225
  * Edit routing table by returning updated table.
9145
9226
  * @summary Edit routing table
package/dist/esm/api.d.ts CHANGED
@@ -4249,11 +4249,11 @@ export interface CurrentCost {
4249
4249
  */
4250
4250
  'remaining_trial_day'?: number;
4251
4251
  /**
4252
- *
4253
- * @type {RemainingCredits}
4252
+ * date when the current plan will be renewed
4253
+ * @type {string}
4254
4254
  * @memberof CurrentCost
4255
4255
  */
4256
- 'remaining_credits'?: RemainingCredits;
4256
+ 'renewal_at'?: string | null;
4257
4257
  /**
4258
4258
  *
4259
4259
  * @type {Cost}
@@ -9770,23 +9770,17 @@ export interface OrganizationCurrentCost {
9770
9770
  */
9771
9771
  'remaining_trial_day'?: number;
9772
9772
  /**
9773
- *
9774
- * @type {RemainingCredits}
9773
+ * date when the current plan will be renewed
9774
+ * @type {string}
9775
9775
  * @memberof OrganizationCurrentCost
9776
9776
  */
9777
- 'remaining_credits'?: RemainingCredits;
9777
+ 'renewal_at'?: string | null;
9778
9778
  /**
9779
9779
  *
9780
9780
  * @type {Cost}
9781
9781
  * @memberof OrganizationCurrentCost
9782
9782
  */
9783
9783
  'cost'?: Cost;
9784
- /**
9785
- *
9786
- * @type {PaidUsage}
9787
- * @memberof OrganizationCurrentCost
9788
- */
9789
- 'paid_usage'?: PaidUsage;
9790
9784
  }
9791
9785
  /**
9792
9786
  *
@@ -10666,55 +10660,6 @@ export interface PaginationData {
10666
10660
  */
10667
10661
  'page_size': number;
10668
10662
  }
10669
- /**
10670
- *
10671
- * @export
10672
- * @interface PaidUsage
10673
- */
10674
- export interface PaidUsage {
10675
- /**
10676
- *
10677
- * @type {number}
10678
- * @memberof PaidUsage
10679
- */
10680
- 'max_deployments_per_month'?: number;
10681
- /**
10682
- *
10683
- * @type {number}
10684
- * @memberof PaidUsage
10685
- */
10686
- 'consumed_deployments'?: number;
10687
- /**
10688
- *
10689
- * @type {number}
10690
- * @memberof PaidUsage
10691
- */
10692
- 'monthly_plan_cost'?: number;
10693
- /**
10694
- *
10695
- * @type {number}
10696
- * @memberof PaidUsage
10697
- */
10698
- 'monthly_plan_cost_in_cents'?: number;
10699
- /**
10700
- *
10701
- * @type {number}
10702
- * @memberof PaidUsage
10703
- */
10704
- 'remaining_deployments'?: number;
10705
- /**
10706
- *
10707
- * @type {boolean}
10708
- * @memberof PaidUsage
10709
- */
10710
- 'deployments_exceeded'?: boolean;
10711
- /**
10712
- *
10713
- * @type {string}
10714
- * @memberof PaidUsage
10715
- */
10716
- 'renewal_at'?: string | null;
10717
- }
10718
10663
  /**
10719
10664
  * BUSINESS & PROFESSIONAL are deprecated
10720
10665
  * @export
@@ -16626,6 +16571,16 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
16626
16571
  * @throws {RequiredError}
16627
16572
  */
16628
16573
  editClusterAdvancedSettings: (organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig) => Promise<RequestArgs>;
16574
+ /**
16575
+ *
16576
+ * @summary Edit cluster kubeconfig
16577
+ * @param {string} organizationId Organization ID
16578
+ * @param {string} clusterId Cluster ID
16579
+ * @param {string} [body]
16580
+ * @param {*} [options] Override http request option.
16581
+ * @throws {RequiredError}
16582
+ */
16583
+ editClusterKubeconfig: (organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
16629
16584
  /**
16630
16585
  * Edit routing table by returning updated table.
16631
16586
  * @summary Edit routing table
@@ -16804,6 +16759,16 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
16804
16759
  * @throws {RequiredError}
16805
16760
  */
16806
16761
  editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
16762
+ /**
16763
+ *
16764
+ * @summary Edit cluster kubeconfig
16765
+ * @param {string} organizationId Organization ID
16766
+ * @param {string} clusterId Cluster ID
16767
+ * @param {string} [body]
16768
+ * @param {*} [options] Override http request option.
16769
+ * @throws {RequiredError}
16770
+ */
16771
+ editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
16807
16772
  /**
16808
16773
  * Edit routing table by returning updated table.
16809
16774
  * @summary Edit routing table
@@ -16982,6 +16947,16 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
16982
16947
  * @throws {RequiredError}
16983
16948
  */
16984
16949
  editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: any): AxiosPromise<ClusterAdvancedSettings>;
16950
+ /**
16951
+ *
16952
+ * @summary Edit cluster kubeconfig
16953
+ * @param {string} organizationId Organization ID
16954
+ * @param {string} clusterId Cluster ID
16955
+ * @param {string} [body]
16956
+ * @param {*} [options] Override http request option.
16957
+ * @throws {RequiredError}
16958
+ */
16959
+ editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: any): AxiosPromise<void>;
16985
16960
  /**
16986
16961
  * Edit routing table by returning updated table.
16987
16962
  * @summary Edit routing table
@@ -17167,6 +17142,17 @@ export declare class ClustersApi extends BaseAPI {
17167
17142
  * @memberof ClustersApi
17168
17143
  */
17169
17144
  editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any>>;
17145
+ /**
17146
+ *
17147
+ * @summary Edit cluster kubeconfig
17148
+ * @param {string} organizationId Organization ID
17149
+ * @param {string} clusterId Cluster ID
17150
+ * @param {string} [body]
17151
+ * @param {*} [options] Override http request option.
17152
+ * @throws {RequiredError}
17153
+ * @memberof ClustersApi
17154
+ */
17155
+ editClusterKubeconfig(organizationId: string, clusterId: string, body?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
17170
17156
  /**
17171
17157
  * Edit routing table by returning updated table.
17172
17158
  * @summary Edit routing table
package/dist/esm/api.js CHANGED
@@ -7982,6 +7982,47 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
7982
7982
  options: localVarRequestOptions,
7983
7983
  };
7984
7984
  }),
7985
+ /**
7986
+ *
7987
+ * @summary Edit cluster kubeconfig
7988
+ * @param {string} organizationId Organization ID
7989
+ * @param {string} clusterId Cluster ID
7990
+ * @param {string} [body]
7991
+ * @param {*} [options] Override http request option.
7992
+ * @throws {RequiredError}
7993
+ */
7994
+ editClusterKubeconfig: (organizationId, clusterId, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
7995
+ // verify required parameter 'organizationId' is not null or undefined
7996
+ assertParamExists('editClusterKubeconfig', 'organizationId', organizationId);
7997
+ // verify required parameter 'clusterId' is not null or undefined
7998
+ assertParamExists('editClusterKubeconfig', 'clusterId', clusterId);
7999
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
8000
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
8001
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
8002
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8003
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8004
+ let baseOptions;
8005
+ if (configuration) {
8006
+ baseOptions = configuration.baseOptions;
8007
+ }
8008
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
8009
+ const localVarHeaderParameter = {};
8010
+ const localVarQueryParameter = {};
8011
+ // authentication ApiKeyAuth required
8012
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
8013
+ // authentication bearerAuth required
8014
+ // http bearer authentication required
8015
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8016
+ localVarHeaderParameter['Content-Type'] = 'application/x-yaml';
8017
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8018
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8019
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8020
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
8021
+ return {
8022
+ url: toPathString(localVarUrlObj),
8023
+ options: localVarRequestOptions,
8024
+ };
8025
+ }),
7985
8026
  /**
7986
8027
  * Edit routing table by returning updated table.
7987
8028
  * @summary Edit routing table
@@ -8586,6 +8627,21 @@ export const ClustersApiFp = function (configuration) {
8586
8627
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8587
8628
  });
8588
8629
  },
8630
+ /**
8631
+ *
8632
+ * @summary Edit cluster kubeconfig
8633
+ * @param {string} organizationId Organization ID
8634
+ * @param {string} clusterId Cluster ID
8635
+ * @param {string} [body]
8636
+ * @param {*} [options] Override http request option.
8637
+ * @throws {RequiredError}
8638
+ */
8639
+ editClusterKubeconfig(organizationId, clusterId, body, options) {
8640
+ return __awaiter(this, void 0, void 0, function* () {
8641
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editClusterKubeconfig(organizationId, clusterId, body, options);
8642
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8643
+ });
8644
+ },
8589
8645
  /**
8590
8646
  * Edit routing table by returning updated table.
8591
8647
  * @summary Edit routing table
@@ -8847,6 +8903,18 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
8847
8903
  editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
8848
8904
  return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(axios, basePath));
8849
8905
  },
8906
+ /**
8907
+ *
8908
+ * @summary Edit cluster kubeconfig
8909
+ * @param {string} organizationId Organization ID
8910
+ * @param {string} clusterId Cluster ID
8911
+ * @param {string} [body]
8912
+ * @param {*} [options] Override http request option.
8913
+ * @throws {RequiredError}
8914
+ */
8915
+ editClusterKubeconfig(organizationId, clusterId, body, options) {
8916
+ return localVarFp.editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(axios, basePath));
8917
+ },
8850
8918
  /**
8851
8919
  * Edit routing table by returning updated table.
8852
8920
  * @summary Edit routing table
@@ -9071,6 +9139,19 @@ export class ClustersApi extends BaseAPI {
9071
9139
  editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
9072
9140
  return ClustersApiFp(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
9073
9141
  }
9142
+ /**
9143
+ *
9144
+ * @summary Edit cluster kubeconfig
9145
+ * @param {string} organizationId Organization ID
9146
+ * @param {string} clusterId Cluster ID
9147
+ * @param {string} [body]
9148
+ * @param {*} [options] Override http request option.
9149
+ * @throws {RequiredError}
9150
+ * @memberof ClustersApi
9151
+ */
9152
+ editClusterKubeconfig(organizationId, clusterId, body, options) {
9153
+ return ClustersApiFp(this.configuration).editClusterKubeconfig(organizationId, clusterId, body, options).then((request) => request(this.axios, this.basePath));
9154
+ }
9074
9155
  /**
9075
9156
  * Edit routing table by returning updated table.
9076
9157
  * @summary Edit routing table
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.366",
3
+ "version": "v1.1.368",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {