qovery-typescript-axios 1.1.117 → 1.1.119

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.
Files changed (4) hide show
  1. package/api.ts +6 -194
  2. package/dist/api.d.ts +6 -106
  3. package/dist/api.js +0 -150
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -3349,6 +3349,12 @@ export interface ContainerAdvancedSettings {
3349
3349
  * @memberof ContainerAdvancedSettings
3350
3350
  */
3351
3351
  'security.service_account_name'?: string;
3352
+ /**
3353
+ * Percentage value of cpu usage at which point pods should scale up.
3354
+ * @type {number}
3355
+ * @memberof ContainerAdvancedSettings
3356
+ */
3357
+ 'hpa.cpu.average_utilization_percent'?: number;
3352
3358
  }
3353
3359
 
3354
3360
  /**
@@ -9613,38 +9619,6 @@ export interface MetricMemoryResponseList {
9613
9619
  */
9614
9620
  'results'?: Array<MetricMemory>;
9615
9621
  }
9616
- /**
9617
- *
9618
- * @export
9619
- * @interface MetricRestart
9620
- */
9621
- export interface MetricRestart {
9622
- /**
9623
- *
9624
- * @type {Array<MetricRestartResults>}
9625
- * @memberof MetricRestart
9626
- */
9627
- 'results'?: Array<MetricRestartResults>;
9628
- }
9629
- /**
9630
- *
9631
- * @export
9632
- * @interface MetricRestartResults
9633
- */
9634
- export interface MetricRestartResults {
9635
- /**
9636
- *
9637
- * @type {string}
9638
- * @memberof MetricRestartResults
9639
- */
9640
- 'datetime': string;
9641
- /**
9642
- *
9643
- * @type {string}
9644
- * @memberof MetricRestartResults
9645
- */
9646
- 'message': string;
9647
- }
9648
9622
  /**
9649
9623
  *
9650
9624
  * @export
@@ -15995,51 +15969,6 @@ export const ApplicationMetricsApiAxiosParamCreator = function (configuration?:
15995
15969
 
15996
15970
 
15997
15971
 
15998
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15999
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16000
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16001
-
16002
- return {
16003
- url: toPathString(localVarUrlObj),
16004
- options: localVarRequestOptions,
16005
- };
16006
- },
16007
- /**
16008
- * Get application restart message and timestamp.
16009
- * @summary List application restarts
16010
- * @param {string} applicationId Application ID
16011
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
16012
- * @param {*} [options] Override http request option.
16013
- * @throws {RequiredError}
16014
- */
16015
- getApplicationMetricRestart: async (applicationId: string, lastSeconds: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16016
- // verify required parameter 'applicationId' is not null or undefined
16017
- assertParamExists('getApplicationMetricRestart', 'applicationId', applicationId)
16018
- // verify required parameter 'lastSeconds' is not null or undefined
16019
- assertParamExists('getApplicationMetricRestart', 'lastSeconds', lastSeconds)
16020
- const localVarPath = `/application/{applicationId}/metric/restart`
16021
- .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
16022
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16023
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16024
- let baseOptions;
16025
- if (configuration) {
16026
- baseOptions = configuration.baseOptions;
16027
- }
16028
-
16029
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16030
- const localVarHeaderParameter = {} as any;
16031
- const localVarQueryParameter = {} as any;
16032
-
16033
- // authentication bearerAuth required
16034
- // http bearer authentication required
16035
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
16036
-
16037
- if (lastSeconds !== undefined) {
16038
- localVarQueryParameter['lastSeconds'] = lastSeconds;
16039
- }
16040
-
16041
-
16042
-
16043
15972
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16044
15973
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16045
15974
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16173,18 +16102,6 @@ export const ApplicationMetricsApiFp = function(configuration?: Configuration) {
16173
16102
  const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationMetricMemory(applicationId, lastSeconds, options);
16174
16103
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16175
16104
  },
16176
- /**
16177
- * Get application restart message and timestamp.
16178
- * @summary List application restarts
16179
- * @param {string} applicationId Application ID
16180
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
16181
- * @param {*} [options] Override http request option.
16182
- * @throws {RequiredError}
16183
- */
16184
- async getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricRestart>> {
16185
- const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationMetricRestart(applicationId, lastSeconds, options);
16186
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16187
- },
16188
16105
  /**
16189
16106
  *
16190
16107
  * @summary Get Storage consumption metric over time for the application
@@ -16270,17 +16187,6 @@ export const ApplicationMetricsApiFactory = function (configuration?: Configurat
16270
16187
  getApplicationMetricMemory(applicationId: string, lastSeconds: number, options?: any): AxiosPromise<MetricMemoryResponseList> {
16271
16188
  return localVarFp.getApplicationMetricMemory(applicationId, lastSeconds, options).then((request) => request(axios, basePath));
16272
16189
  },
16273
- /**
16274
- * Get application restart message and timestamp.
16275
- * @summary List application restarts
16276
- * @param {string} applicationId Application ID
16277
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
16278
- * @param {*} [options] Override http request option.
16279
- * @throws {RequiredError}
16280
- */
16281
- getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: any): AxiosPromise<MetricRestart> {
16282
- return localVarFp.getApplicationMetricRestart(applicationId, lastSeconds, options).then((request) => request(axios, basePath));
16283
- },
16284
16190
  /**
16285
16191
  *
16286
16192
  * @summary Get Storage consumption metric over time for the application
@@ -16377,19 +16283,6 @@ export class ApplicationMetricsApi extends BaseAPI {
16377
16283
  return ApplicationMetricsApiFp(this.configuration).getApplicationMetricMemory(applicationId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
16378
16284
  }
16379
16285
 
16380
- /**
16381
- * Get application restart message and timestamp.
16382
- * @summary List application restarts
16383
- * @param {string} applicationId Application ID
16384
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
16385
- * @param {*} [options] Override http request option.
16386
- * @throws {RequiredError}
16387
- * @memberof ApplicationMetricsApi
16388
- */
16389
- public getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig) {
16390
- return ApplicationMetricsApiFp(this.configuration).getApplicationMetricRestart(applicationId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
16391
- }
16392
-
16393
16286
  /**
16394
16287
  *
16395
16288
  * @summary Get Storage consumption metric over time for the application
@@ -28592,51 +28485,6 @@ export const DatabaseMetricsApiAxiosParamCreator = function (configuration?: Con
28592
28485
 
28593
28486
 
28594
28487
 
28595
- setSearchParams(localVarUrlObj, localVarQueryParameter);
28596
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28597
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28598
-
28599
- return {
28600
- url: toPathString(localVarUrlObj),
28601
- options: localVarRequestOptions,
28602
- };
28603
- },
28604
- /**
28605
- * Get database restart message and timestamp.
28606
- * @summary List database restarts
28607
- * @param {string} databaseId Database ID
28608
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
28609
- * @param {*} [options] Override http request option.
28610
- * @throws {RequiredError}
28611
- */
28612
- getDatabaseMetricRestart: async (databaseId: string, lastSeconds: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28613
- // verify required parameter 'databaseId' is not null or undefined
28614
- assertParamExists('getDatabaseMetricRestart', 'databaseId', databaseId)
28615
- // verify required parameter 'lastSeconds' is not null or undefined
28616
- assertParamExists('getDatabaseMetricRestart', 'lastSeconds', lastSeconds)
28617
- const localVarPath = `/database/{databaseId}/metric/restart`
28618
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
28619
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
28620
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28621
- let baseOptions;
28622
- if (configuration) {
28623
- baseOptions = configuration.baseOptions;
28624
- }
28625
-
28626
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28627
- const localVarHeaderParameter = {} as any;
28628
- const localVarQueryParameter = {} as any;
28629
-
28630
- // authentication bearerAuth required
28631
- // http bearer authentication required
28632
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
28633
-
28634
- if (lastSeconds !== undefined) {
28635
- localVarQueryParameter['lastSeconds'] = lastSeconds;
28636
- }
28637
-
28638
-
28639
-
28640
28488
  setSearchParams(localVarUrlObj, localVarQueryParameter);
28641
28489
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28642
28490
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -28748,18 +28596,6 @@ export const DatabaseMetricsApiFp = function(configuration?: Configuration) {
28748
28596
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDatabaseMetricMemory(databaseId, lastSeconds, options);
28749
28597
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28750
28598
  },
28751
- /**
28752
- * Get database restart message and timestamp.
28753
- * @summary List database restarts
28754
- * @param {string} databaseId Database ID
28755
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
28756
- * @param {*} [options] Override http request option.
28757
- * @throws {RequiredError}
28758
- */
28759
- async getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricRestart>> {
28760
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDatabaseMetricRestart(databaseId, lastSeconds, options);
28761
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28762
- },
28763
28599
  /**
28764
28600
  *
28765
28601
  * @summary Get Storage consumption metric over time for the database
@@ -28825,17 +28661,6 @@ export const DatabaseMetricsApiFactory = function (configuration?: Configuration
28825
28661
  getDatabaseMetricMemory(databaseId: string, lastSeconds: number, options?: any): AxiosPromise<MetricMemoryDatapointResponseList> {
28826
28662
  return localVarFp.getDatabaseMetricMemory(databaseId, lastSeconds, options).then((request) => request(axios, basePath));
28827
28663
  },
28828
- /**
28829
- * Get database restart message and timestamp.
28830
- * @summary List database restarts
28831
- * @param {string} databaseId Database ID
28832
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
28833
- * @param {*} [options] Override http request option.
28834
- * @throws {RequiredError}
28835
- */
28836
- getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: any): AxiosPromise<MetricRestart> {
28837
- return localVarFp.getDatabaseMetricRestart(databaseId, lastSeconds, options).then((request) => request(axios, basePath));
28838
- },
28839
28664
  /**
28840
28665
  *
28841
28666
  * @summary Get Storage consumption metric over time for the database
@@ -28908,19 +28733,6 @@ export class DatabaseMetricsApi extends BaseAPI {
28908
28733
  return DatabaseMetricsApiFp(this.configuration).getDatabaseMetricMemory(databaseId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
28909
28734
  }
28910
28735
 
28911
- /**
28912
- * Get database restart message and timestamp.
28913
- * @summary List database restarts
28914
- * @param {string} databaseId Database ID
28915
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
28916
- * @param {*} [options] Override http request option.
28917
- * @throws {RequiredError}
28918
- * @memberof DatabaseMetricsApi
28919
- */
28920
- public getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig) {
28921
- return DatabaseMetricsApiFp(this.configuration).getDatabaseMetricRestart(databaseId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
28922
- }
28923
-
28924
28736
  /**
28925
28737
  *
28926
28738
  * @summary Get Storage consumption metric over time for the database
package/dist/api.d.ts CHANGED
@@ -3324,6 +3324,12 @@ export interface ContainerAdvancedSettings {
3324
3324
  * @memberof ContainerAdvancedSettings
3325
3325
  */
3326
3326
  'security.service_account_name'?: string;
3327
+ /**
3328
+ * Percentage value of cpu usage at which point pods should scale up.
3329
+ * @type {number}
3330
+ * @memberof ContainerAdvancedSettings
3331
+ */
3332
+ 'hpa.cpu.average_utilization_percent'?: number;
3327
3333
  }
3328
3334
  /**
3329
3335
  * @export
@@ -9544,38 +9550,6 @@ export interface MetricMemoryResponseList {
9544
9550
  */
9545
9551
  'results'?: Array<MetricMemory>;
9546
9552
  }
9547
- /**
9548
- *
9549
- * @export
9550
- * @interface MetricRestart
9551
- */
9552
- export interface MetricRestart {
9553
- /**
9554
- *
9555
- * @type {Array<MetricRestartResults>}
9556
- * @memberof MetricRestart
9557
- */
9558
- 'results'?: Array<MetricRestartResults>;
9559
- }
9560
- /**
9561
- *
9562
- * @export
9563
- * @interface MetricRestartResults
9564
- */
9565
- export interface MetricRestartResults {
9566
- /**
9567
- *
9568
- * @type {string}
9569
- * @memberof MetricRestartResults
9570
- */
9571
- 'datetime': string;
9572
- /**
9573
- *
9574
- * @type {string}
9575
- * @memberof MetricRestartResults
9576
- */
9577
- 'message': string;
9578
- }
9579
9553
  /**
9580
9554
  *
9581
9555
  * @export
@@ -14234,15 +14208,6 @@ export declare const ApplicationMetricsApiAxiosParamCreator: (configuration?: Co
14234
14208
  * @throws {RequiredError}
14235
14209
  */
14236
14210
  getApplicationMetricMemory: (applicationId: string, lastSeconds: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
14237
- /**
14238
- * Get application restart message and timestamp.
14239
- * @summary List application restarts
14240
- * @param {string} applicationId Application ID
14241
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
14242
- * @param {*} [options] Override http request option.
14243
- * @throws {RequiredError}
14244
- */
14245
- getApplicationMetricRestart: (applicationId: string, lastSeconds: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
14246
14211
  /**
14247
14212
  *
14248
14213
  * @summary Get Storage consumption metric over time for the application
@@ -14309,15 +14274,6 @@ export declare const ApplicationMetricsApiFp: (configuration?: Configuration) =>
14309
14274
  * @throws {RequiredError}
14310
14275
  */
14311
14276
  getApplicationMetricMemory(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricMemoryResponseList>>;
14312
- /**
14313
- * Get application restart message and timestamp.
14314
- * @summary List application restarts
14315
- * @param {string} applicationId Application ID
14316
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
14317
- * @param {*} [options] Override http request option.
14318
- * @throws {RequiredError}
14319
- */
14320
- getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricRestart>>;
14321
14277
  /**
14322
14278
  *
14323
14279
  * @summary Get Storage consumption metric over time for the application
@@ -14384,15 +14340,6 @@ export declare const ApplicationMetricsApiFactory: (configuration?: Configuratio
14384
14340
  * @throws {RequiredError}
14385
14341
  */
14386
14342
  getApplicationMetricMemory(applicationId: string, lastSeconds: number, options?: any): AxiosPromise<MetricMemoryResponseList>;
14387
- /**
14388
- * Get application restart message and timestamp.
14389
- * @summary List application restarts
14390
- * @param {string} applicationId Application ID
14391
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
14392
- * @param {*} [options] Override http request option.
14393
- * @throws {RequiredError}
14394
- */
14395
- getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: any): AxiosPromise<MetricRestart>;
14396
14343
  /**
14397
14344
  *
14398
14345
  * @summary Get Storage consumption metric over time for the application
@@ -14467,16 +14414,6 @@ export declare class ApplicationMetricsApi extends BaseAPI {
14467
14414
  * @memberof ApplicationMetricsApi
14468
14415
  */
14469
14416
  getApplicationMetricMemory(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricMemoryResponseList>>;
14470
- /**
14471
- * Get application restart message and timestamp.
14472
- * @summary List application restarts
14473
- * @param {string} applicationId Application ID
14474
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
14475
- * @param {*} [options] Override http request option.
14476
- * @throws {RequiredError}
14477
- * @memberof ApplicationMetricsApi
14478
- */
14479
- getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricRestart>>;
14480
14417
  /**
14481
14418
  *
14482
14419
  * @summary Get Storage consumption metric over time for the application
@@ -20372,15 +20309,6 @@ export declare const DatabaseMetricsApiAxiosParamCreator: (configuration?: Confi
20372
20309
  * @throws {RequiredError}
20373
20310
  */
20374
20311
  getDatabaseMetricMemory: (databaseId: string, lastSeconds: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20375
- /**
20376
- * Get database restart message and timestamp.
20377
- * @summary List database restarts
20378
- * @param {string} databaseId Database ID
20379
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
20380
- * @param {*} [options] Override http request option.
20381
- * @throws {RequiredError}
20382
- */
20383
- getDatabaseMetricRestart: (databaseId: string, lastSeconds: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20384
20312
  /**
20385
20313
  *
20386
20314
  * @summary Get Storage consumption metric over time for the database
@@ -20431,15 +20359,6 @@ export declare const DatabaseMetricsApiFp: (configuration?: Configuration) => {
20431
20359
  * @throws {RequiredError}
20432
20360
  */
20433
20361
  getDatabaseMetricMemory(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricMemoryDatapointResponseList>>;
20434
- /**
20435
- * Get database restart message and timestamp.
20436
- * @summary List database restarts
20437
- * @param {string} databaseId Database ID
20438
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
20439
- * @param {*} [options] Override http request option.
20440
- * @throws {RequiredError}
20441
- */
20442
- getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricRestart>>;
20443
20362
  /**
20444
20363
  *
20445
20364
  * @summary Get Storage consumption metric over time for the database
@@ -20490,15 +20409,6 @@ export declare const DatabaseMetricsApiFactory: (configuration?: Configuration,
20490
20409
  * @throws {RequiredError}
20491
20410
  */
20492
20411
  getDatabaseMetricMemory(databaseId: string, lastSeconds: number, options?: any): AxiosPromise<MetricMemoryDatapointResponseList>;
20493
- /**
20494
- * Get database restart message and timestamp.
20495
- * @summary List database restarts
20496
- * @param {string} databaseId Database ID
20497
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
20498
- * @param {*} [options] Override http request option.
20499
- * @throws {RequiredError}
20500
- */
20501
- getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: any): AxiosPromise<MetricRestart>;
20502
20412
  /**
20503
20413
  *
20504
20414
  * @summary Get Storage consumption metric over time for the database
@@ -20555,16 +20465,6 @@ export declare class DatabaseMetricsApi extends BaseAPI {
20555
20465
  * @memberof DatabaseMetricsApi
20556
20466
  */
20557
20467
  getDatabaseMetricMemory(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricMemoryDatapointResponseList>>;
20558
- /**
20559
- * Get database restart message and timestamp.
20560
- * @summary List database restarts
20561
- * @param {string} databaseId Database ID
20562
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
20563
- * @param {*} [options] Override http request option.
20564
- * @throws {RequiredError}
20565
- * @memberof DatabaseMetricsApi
20566
- */
20567
- getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricRestart>>;
20568
20468
  /**
20569
20469
  *
20570
20470
  * @summary Get Storage consumption metric over time for the database
package/dist/api.js CHANGED
@@ -3578,44 +3578,6 @@ const ApplicationMetricsApiAxiosParamCreator = function (configuration) {
3578
3578
  options: localVarRequestOptions,
3579
3579
  };
3580
3580
  }),
3581
- /**
3582
- * Get application restart message and timestamp.
3583
- * @summary List application restarts
3584
- * @param {string} applicationId Application ID
3585
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
3586
- * @param {*} [options] Override http request option.
3587
- * @throws {RequiredError}
3588
- */
3589
- getApplicationMetricRestart: (applicationId, lastSeconds, options = {}) => __awaiter(this, void 0, void 0, function* () {
3590
- // verify required parameter 'applicationId' is not null or undefined
3591
- (0, common_1.assertParamExists)('getApplicationMetricRestart', 'applicationId', applicationId);
3592
- // verify required parameter 'lastSeconds' is not null or undefined
3593
- (0, common_1.assertParamExists)('getApplicationMetricRestart', 'lastSeconds', lastSeconds);
3594
- const localVarPath = `/application/{applicationId}/metric/restart`
3595
- .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
3596
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3597
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3598
- let baseOptions;
3599
- if (configuration) {
3600
- baseOptions = configuration.baseOptions;
3601
- }
3602
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3603
- const localVarHeaderParameter = {};
3604
- const localVarQueryParameter = {};
3605
- // authentication bearerAuth required
3606
- // http bearer authentication required
3607
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3608
- if (lastSeconds !== undefined) {
3609
- localVarQueryParameter['lastSeconds'] = lastSeconds;
3610
- }
3611
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3612
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3613
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3614
- return {
3615
- url: (0, common_1.toPathString)(localVarUrlObj),
3616
- options: localVarRequestOptions,
3617
- };
3618
- }),
3619
3581
  /**
3620
3582
  *
3621
3583
  * @summary Get Storage consumption metric over time for the application
@@ -3745,20 +3707,6 @@ const ApplicationMetricsApiFp = function (configuration) {
3745
3707
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3746
3708
  });
3747
3709
  },
3748
- /**
3749
- * Get application restart message and timestamp.
3750
- * @summary List application restarts
3751
- * @param {string} applicationId Application ID
3752
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
3753
- * @param {*} [options] Override http request option.
3754
- * @throws {RequiredError}
3755
- */
3756
- getApplicationMetricRestart(applicationId, lastSeconds, options) {
3757
- return __awaiter(this, void 0, void 0, function* () {
3758
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getApplicationMetricRestart(applicationId, lastSeconds, options);
3759
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3760
- });
3761
- },
3762
3710
  /**
3763
3711
  *
3764
3712
  * @summary Get Storage consumption metric over time for the application
@@ -3846,17 +3794,6 @@ const ApplicationMetricsApiFactory = function (configuration, basePath, axios) {
3846
3794
  getApplicationMetricMemory(applicationId, lastSeconds, options) {
3847
3795
  return localVarFp.getApplicationMetricMemory(applicationId, lastSeconds, options).then((request) => request(axios, basePath));
3848
3796
  },
3849
- /**
3850
- * Get application restart message and timestamp.
3851
- * @summary List application restarts
3852
- * @param {string} applicationId Application ID
3853
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
3854
- * @param {*} [options] Override http request option.
3855
- * @throws {RequiredError}
3856
- */
3857
- getApplicationMetricRestart(applicationId, lastSeconds, options) {
3858
- return localVarFp.getApplicationMetricRestart(applicationId, lastSeconds, options).then((request) => request(axios, basePath));
3859
- },
3860
3797
  /**
3861
3798
  *
3862
3799
  * @summary Get Storage consumption metric over time for the application
@@ -3947,18 +3884,6 @@ class ApplicationMetricsApi extends base_1.BaseAPI {
3947
3884
  getApplicationMetricMemory(applicationId, lastSeconds, options) {
3948
3885
  return (0, exports.ApplicationMetricsApiFp)(this.configuration).getApplicationMetricMemory(applicationId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
3949
3886
  }
3950
- /**
3951
- * Get application restart message and timestamp.
3952
- * @summary List application restarts
3953
- * @param {string} applicationId Application ID
3954
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
3955
- * @param {*} [options] Override http request option.
3956
- * @throws {RequiredError}
3957
- * @memberof ApplicationMetricsApi
3958
- */
3959
- getApplicationMetricRestart(applicationId, lastSeconds, options) {
3960
- return (0, exports.ApplicationMetricsApiFp)(this.configuration).getApplicationMetricRestart(applicationId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
3961
- }
3962
3887
  /**
3963
3888
  *
3964
3889
  * @summary Get Storage consumption metric over time for the application
@@ -15354,44 +15279,6 @@ const DatabaseMetricsApiAxiosParamCreator = function (configuration) {
15354
15279
  options: localVarRequestOptions,
15355
15280
  };
15356
15281
  }),
15357
- /**
15358
- * Get database restart message and timestamp.
15359
- * @summary List database restarts
15360
- * @param {string} databaseId Database ID
15361
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
15362
- * @param {*} [options] Override http request option.
15363
- * @throws {RequiredError}
15364
- */
15365
- getDatabaseMetricRestart: (databaseId, lastSeconds, options = {}) => __awaiter(this, void 0, void 0, function* () {
15366
- // verify required parameter 'databaseId' is not null or undefined
15367
- (0, common_1.assertParamExists)('getDatabaseMetricRestart', 'databaseId', databaseId);
15368
- // verify required parameter 'lastSeconds' is not null or undefined
15369
- (0, common_1.assertParamExists)('getDatabaseMetricRestart', 'lastSeconds', lastSeconds);
15370
- const localVarPath = `/database/{databaseId}/metric/restart`
15371
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
15372
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15373
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
15374
- let baseOptions;
15375
- if (configuration) {
15376
- baseOptions = configuration.baseOptions;
15377
- }
15378
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
15379
- const localVarHeaderParameter = {};
15380
- const localVarQueryParameter = {};
15381
- // authentication bearerAuth required
15382
- // http bearer authentication required
15383
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
15384
- if (lastSeconds !== undefined) {
15385
- localVarQueryParameter['lastSeconds'] = lastSeconds;
15386
- }
15387
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
15388
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15389
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15390
- return {
15391
- url: (0, common_1.toPathString)(localVarUrlObj),
15392
- options: localVarRequestOptions,
15393
- };
15394
- }),
15395
15282
  /**
15396
15283
  *
15397
15284
  * @summary Get Storage consumption metric over time for the database
@@ -15495,20 +15382,6 @@ const DatabaseMetricsApiFp = function (configuration) {
15495
15382
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
15496
15383
  });
15497
15384
  },
15498
- /**
15499
- * Get database restart message and timestamp.
15500
- * @summary List database restarts
15501
- * @param {string} databaseId Database ID
15502
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
15503
- * @param {*} [options] Override http request option.
15504
- * @throws {RequiredError}
15505
- */
15506
- getDatabaseMetricRestart(databaseId, lastSeconds, options) {
15507
- return __awaiter(this, void 0, void 0, function* () {
15508
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getDatabaseMetricRestart(databaseId, lastSeconds, options);
15509
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
15510
- });
15511
- },
15512
15385
  /**
15513
15386
  *
15514
15387
  * @summary Get Storage consumption metric over time for the database
@@ -15576,17 +15449,6 @@ const DatabaseMetricsApiFactory = function (configuration, basePath, axios) {
15576
15449
  getDatabaseMetricMemory(databaseId, lastSeconds, options) {
15577
15450
  return localVarFp.getDatabaseMetricMemory(databaseId, lastSeconds, options).then((request) => request(axios, basePath));
15578
15451
  },
15579
- /**
15580
- * Get database restart message and timestamp.
15581
- * @summary List database restarts
15582
- * @param {string} databaseId Database ID
15583
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
15584
- * @param {*} [options] Override http request option.
15585
- * @throws {RequiredError}
15586
- */
15587
- getDatabaseMetricRestart(databaseId, lastSeconds, options) {
15588
- return localVarFp.getDatabaseMetricRestart(databaseId, lastSeconds, options).then((request) => request(axios, basePath));
15589
- },
15590
15452
  /**
15591
15453
  *
15592
15454
  * @summary Get Storage consumption metric over time for the database
@@ -15655,18 +15517,6 @@ class DatabaseMetricsApi extends base_1.BaseAPI {
15655
15517
  getDatabaseMetricMemory(databaseId, lastSeconds, options) {
15656
15518
  return (0, exports.DatabaseMetricsApiFp)(this.configuration).getDatabaseMetricMemory(databaseId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
15657
15519
  }
15658
- /**
15659
- * Get database restart message and timestamp.
15660
- * @summary List database restarts
15661
- * @param {string} databaseId Database ID
15662
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
15663
- * @param {*} [options] Override http request option.
15664
- * @throws {RequiredError}
15665
- * @memberof DatabaseMetricsApi
15666
- */
15667
- getDatabaseMetricRestart(databaseId, lastSeconds, options) {
15668
- return (0, exports.DatabaseMetricsApiFp)(this.configuration).getDatabaseMetricRestart(databaseId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
15669
- }
15670
15520
  /**
15671
15521
  *
15672
15522
  * @summary Get Storage consumption metric over time for the database
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.117",
3
+ "version": "v1.1.119",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [