qovery-typescript-axios 1.1.118 → 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 +0 -194
  2. package/dist/api.d.ts +0 -106
  3. package/dist/api.js +0 -150
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -9619,38 +9619,6 @@ export interface MetricMemoryResponseList {
9619
9619
  */
9620
9620
  'results'?: Array<MetricMemory>;
9621
9621
  }
9622
- /**
9623
- *
9624
- * @export
9625
- * @interface MetricRestart
9626
- */
9627
- export interface MetricRestart {
9628
- /**
9629
- *
9630
- * @type {Array<MetricRestartResults>}
9631
- * @memberof MetricRestart
9632
- */
9633
- 'results'?: Array<MetricRestartResults>;
9634
- }
9635
- /**
9636
- *
9637
- * @export
9638
- * @interface MetricRestartResults
9639
- */
9640
- export interface MetricRestartResults {
9641
- /**
9642
- *
9643
- * @type {string}
9644
- * @memberof MetricRestartResults
9645
- */
9646
- 'datetime': string;
9647
- /**
9648
- *
9649
- * @type {string}
9650
- * @memberof MetricRestartResults
9651
- */
9652
- 'message': string;
9653
- }
9654
9622
  /**
9655
9623
  *
9656
9624
  * @export
@@ -16001,51 +15969,6 @@ export const ApplicationMetricsApiAxiosParamCreator = function (configuration?:
16001
15969
 
16002
15970
 
16003
15971
 
16004
- setSearchParams(localVarUrlObj, localVarQueryParameter);
16005
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16006
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16007
-
16008
- return {
16009
- url: toPathString(localVarUrlObj),
16010
- options: localVarRequestOptions,
16011
- };
16012
- },
16013
- /**
16014
- * Get application restart message and timestamp.
16015
- * @summary List application restarts
16016
- * @param {string} applicationId Application ID
16017
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
16018
- * @param {*} [options] Override http request option.
16019
- * @throws {RequiredError}
16020
- */
16021
- getApplicationMetricRestart: async (applicationId: string, lastSeconds: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
16022
- // verify required parameter 'applicationId' is not null or undefined
16023
- assertParamExists('getApplicationMetricRestart', 'applicationId', applicationId)
16024
- // verify required parameter 'lastSeconds' is not null or undefined
16025
- assertParamExists('getApplicationMetricRestart', 'lastSeconds', lastSeconds)
16026
- const localVarPath = `/application/{applicationId}/metric/restart`
16027
- .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
16028
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16029
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16030
- let baseOptions;
16031
- if (configuration) {
16032
- baseOptions = configuration.baseOptions;
16033
- }
16034
-
16035
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16036
- const localVarHeaderParameter = {} as any;
16037
- const localVarQueryParameter = {} as any;
16038
-
16039
- // authentication bearerAuth required
16040
- // http bearer authentication required
16041
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
16042
-
16043
- if (lastSeconds !== undefined) {
16044
- localVarQueryParameter['lastSeconds'] = lastSeconds;
16045
- }
16046
-
16047
-
16048
-
16049
15972
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16050
15973
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16051
15974
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -16179,18 +16102,6 @@ export const ApplicationMetricsApiFp = function(configuration?: Configuration) {
16179
16102
  const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationMetricMemory(applicationId, lastSeconds, options);
16180
16103
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16181
16104
  },
16182
- /**
16183
- * Get application restart message and timestamp.
16184
- * @summary List application restarts
16185
- * @param {string} applicationId Application ID
16186
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
16187
- * @param {*} [options] Override http request option.
16188
- * @throws {RequiredError}
16189
- */
16190
- async getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricRestart>> {
16191
- const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationMetricRestart(applicationId, lastSeconds, options);
16192
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16193
- },
16194
16105
  /**
16195
16106
  *
16196
16107
  * @summary Get Storage consumption metric over time for the application
@@ -16276,17 +16187,6 @@ export const ApplicationMetricsApiFactory = function (configuration?: Configurat
16276
16187
  getApplicationMetricMemory(applicationId: string, lastSeconds: number, options?: any): AxiosPromise<MetricMemoryResponseList> {
16277
16188
  return localVarFp.getApplicationMetricMemory(applicationId, lastSeconds, options).then((request) => request(axios, basePath));
16278
16189
  },
16279
- /**
16280
- * Get application restart message and timestamp.
16281
- * @summary List application restarts
16282
- * @param {string} applicationId Application ID
16283
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
16284
- * @param {*} [options] Override http request option.
16285
- * @throws {RequiredError}
16286
- */
16287
- getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: any): AxiosPromise<MetricRestart> {
16288
- return localVarFp.getApplicationMetricRestart(applicationId, lastSeconds, options).then((request) => request(axios, basePath));
16289
- },
16290
16190
  /**
16291
16191
  *
16292
16192
  * @summary Get Storage consumption metric over time for the application
@@ -16383,19 +16283,6 @@ export class ApplicationMetricsApi extends BaseAPI {
16383
16283
  return ApplicationMetricsApiFp(this.configuration).getApplicationMetricMemory(applicationId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
16384
16284
  }
16385
16285
 
16386
- /**
16387
- * Get application restart message and timestamp.
16388
- * @summary List application restarts
16389
- * @param {string} applicationId Application ID
16390
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
16391
- * @param {*} [options] Override http request option.
16392
- * @throws {RequiredError}
16393
- * @memberof ApplicationMetricsApi
16394
- */
16395
- public getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig) {
16396
- return ApplicationMetricsApiFp(this.configuration).getApplicationMetricRestart(applicationId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
16397
- }
16398
-
16399
16286
  /**
16400
16287
  *
16401
16288
  * @summary Get Storage consumption metric over time for the application
@@ -28598,51 +28485,6 @@ export const DatabaseMetricsApiAxiosParamCreator = function (configuration?: Con
28598
28485
 
28599
28486
 
28600
28487
 
28601
- setSearchParams(localVarUrlObj, localVarQueryParameter);
28602
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28603
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28604
-
28605
- return {
28606
- url: toPathString(localVarUrlObj),
28607
- options: localVarRequestOptions,
28608
- };
28609
- },
28610
- /**
28611
- * Get database restart message and timestamp.
28612
- * @summary List database restarts
28613
- * @param {string} databaseId Database ID
28614
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
28615
- * @param {*} [options] Override http request option.
28616
- * @throws {RequiredError}
28617
- */
28618
- getDatabaseMetricRestart: async (databaseId: string, lastSeconds: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28619
- // verify required parameter 'databaseId' is not null or undefined
28620
- assertParamExists('getDatabaseMetricRestart', 'databaseId', databaseId)
28621
- // verify required parameter 'lastSeconds' is not null or undefined
28622
- assertParamExists('getDatabaseMetricRestart', 'lastSeconds', lastSeconds)
28623
- const localVarPath = `/database/{databaseId}/metric/restart`
28624
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
28625
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
28626
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28627
- let baseOptions;
28628
- if (configuration) {
28629
- baseOptions = configuration.baseOptions;
28630
- }
28631
-
28632
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28633
- const localVarHeaderParameter = {} as any;
28634
- const localVarQueryParameter = {} as any;
28635
-
28636
- // authentication bearerAuth required
28637
- // http bearer authentication required
28638
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
28639
-
28640
- if (lastSeconds !== undefined) {
28641
- localVarQueryParameter['lastSeconds'] = lastSeconds;
28642
- }
28643
-
28644
-
28645
-
28646
28488
  setSearchParams(localVarUrlObj, localVarQueryParameter);
28647
28489
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28648
28490
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -28754,18 +28596,6 @@ export const DatabaseMetricsApiFp = function(configuration?: Configuration) {
28754
28596
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDatabaseMetricMemory(databaseId, lastSeconds, options);
28755
28597
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28756
28598
  },
28757
- /**
28758
- * Get database restart message and timestamp.
28759
- * @summary List database restarts
28760
- * @param {string} databaseId Database ID
28761
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
28762
- * @param {*} [options] Override http request option.
28763
- * @throws {RequiredError}
28764
- */
28765
- async getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricRestart>> {
28766
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDatabaseMetricRestart(databaseId, lastSeconds, options);
28767
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28768
- },
28769
28599
  /**
28770
28600
  *
28771
28601
  * @summary Get Storage consumption metric over time for the database
@@ -28831,17 +28661,6 @@ export const DatabaseMetricsApiFactory = function (configuration?: Configuration
28831
28661
  getDatabaseMetricMemory(databaseId: string, lastSeconds: number, options?: any): AxiosPromise<MetricMemoryDatapointResponseList> {
28832
28662
  return localVarFp.getDatabaseMetricMemory(databaseId, lastSeconds, options).then((request) => request(axios, basePath));
28833
28663
  },
28834
- /**
28835
- * Get database restart message and timestamp.
28836
- * @summary List database restarts
28837
- * @param {string} databaseId Database ID
28838
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
28839
- * @param {*} [options] Override http request option.
28840
- * @throws {RequiredError}
28841
- */
28842
- getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: any): AxiosPromise<MetricRestart> {
28843
- return localVarFp.getDatabaseMetricRestart(databaseId, lastSeconds, options).then((request) => request(axios, basePath));
28844
- },
28845
28664
  /**
28846
28665
  *
28847
28666
  * @summary Get Storage consumption metric over time for the database
@@ -28914,19 +28733,6 @@ export class DatabaseMetricsApi extends BaseAPI {
28914
28733
  return DatabaseMetricsApiFp(this.configuration).getDatabaseMetricMemory(databaseId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
28915
28734
  }
28916
28735
 
28917
- /**
28918
- * Get database restart message and timestamp.
28919
- * @summary List database restarts
28920
- * @param {string} databaseId Database ID
28921
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
28922
- * @param {*} [options] Override http request option.
28923
- * @throws {RequiredError}
28924
- * @memberof DatabaseMetricsApi
28925
- */
28926
- public getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig) {
28927
- return DatabaseMetricsApiFp(this.configuration).getDatabaseMetricRestart(databaseId, lastSeconds, options).then((request) => request(this.axios, this.basePath));
28928
- }
28929
-
28930
28736
  /**
28931
28737
  *
28932
28738
  * @summary Get Storage consumption metric over time for the database
package/dist/api.d.ts CHANGED
@@ -9550,38 +9550,6 @@ export interface MetricMemoryResponseList {
9550
9550
  */
9551
9551
  'results'?: Array<MetricMemory>;
9552
9552
  }
9553
- /**
9554
- *
9555
- * @export
9556
- * @interface MetricRestart
9557
- */
9558
- export interface MetricRestart {
9559
- /**
9560
- *
9561
- * @type {Array<MetricRestartResults>}
9562
- * @memberof MetricRestart
9563
- */
9564
- 'results'?: Array<MetricRestartResults>;
9565
- }
9566
- /**
9567
- *
9568
- * @export
9569
- * @interface MetricRestartResults
9570
- */
9571
- export interface MetricRestartResults {
9572
- /**
9573
- *
9574
- * @type {string}
9575
- * @memberof MetricRestartResults
9576
- */
9577
- 'datetime': string;
9578
- /**
9579
- *
9580
- * @type {string}
9581
- * @memberof MetricRestartResults
9582
- */
9583
- 'message': string;
9584
- }
9585
9553
  /**
9586
9554
  *
9587
9555
  * @export
@@ -14240,15 +14208,6 @@ export declare const ApplicationMetricsApiAxiosParamCreator: (configuration?: Co
14240
14208
  * @throws {RequiredError}
14241
14209
  */
14242
14210
  getApplicationMetricMemory: (applicationId: string, lastSeconds: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
14243
- /**
14244
- * Get application restart message and timestamp.
14245
- * @summary List application restarts
14246
- * @param {string} applicationId Application ID
14247
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
14248
- * @param {*} [options] Override http request option.
14249
- * @throws {RequiredError}
14250
- */
14251
- getApplicationMetricRestart: (applicationId: string, lastSeconds: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
14252
14211
  /**
14253
14212
  *
14254
14213
  * @summary Get Storage consumption metric over time for the application
@@ -14315,15 +14274,6 @@ export declare const ApplicationMetricsApiFp: (configuration?: Configuration) =>
14315
14274
  * @throws {RequiredError}
14316
14275
  */
14317
14276
  getApplicationMetricMemory(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricMemoryResponseList>>;
14318
- /**
14319
- * Get application restart message and timestamp.
14320
- * @summary List application restarts
14321
- * @param {string} applicationId Application ID
14322
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
14323
- * @param {*} [options] Override http request option.
14324
- * @throws {RequiredError}
14325
- */
14326
- getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricRestart>>;
14327
14277
  /**
14328
14278
  *
14329
14279
  * @summary Get Storage consumption metric over time for the application
@@ -14390,15 +14340,6 @@ export declare const ApplicationMetricsApiFactory: (configuration?: Configuratio
14390
14340
  * @throws {RequiredError}
14391
14341
  */
14392
14342
  getApplicationMetricMemory(applicationId: string, lastSeconds: number, options?: any): AxiosPromise<MetricMemoryResponseList>;
14393
- /**
14394
- * Get application restart message and timestamp.
14395
- * @summary List application restarts
14396
- * @param {string} applicationId Application ID
14397
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
14398
- * @param {*} [options] Override http request option.
14399
- * @throws {RequiredError}
14400
- */
14401
- getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: any): AxiosPromise<MetricRestart>;
14402
14343
  /**
14403
14344
  *
14404
14345
  * @summary Get Storage consumption metric over time for the application
@@ -14473,16 +14414,6 @@ export declare class ApplicationMetricsApi extends BaseAPI {
14473
14414
  * @memberof ApplicationMetricsApi
14474
14415
  */
14475
14416
  getApplicationMetricMemory(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricMemoryResponseList>>;
14476
- /**
14477
- * Get application restart message and timestamp.
14478
- * @summary List application restarts
14479
- * @param {string} applicationId Application ID
14480
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
14481
- * @param {*} [options] Override http request option.
14482
- * @throws {RequiredError}
14483
- * @memberof ApplicationMetricsApi
14484
- */
14485
- getApplicationMetricRestart(applicationId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricRestart>>;
14486
14417
  /**
14487
14418
  *
14488
14419
  * @summary Get Storage consumption metric over time for the application
@@ -20378,15 +20309,6 @@ export declare const DatabaseMetricsApiAxiosParamCreator: (configuration?: Confi
20378
20309
  * @throws {RequiredError}
20379
20310
  */
20380
20311
  getDatabaseMetricMemory: (databaseId: string, lastSeconds: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20381
- /**
20382
- * Get database restart message and timestamp.
20383
- * @summary List database restarts
20384
- * @param {string} databaseId Database ID
20385
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
20386
- * @param {*} [options] Override http request option.
20387
- * @throws {RequiredError}
20388
- */
20389
- getDatabaseMetricRestart: (databaseId: string, lastSeconds: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20390
20312
  /**
20391
20313
  *
20392
20314
  * @summary Get Storage consumption metric over time for the database
@@ -20437,15 +20359,6 @@ export declare const DatabaseMetricsApiFp: (configuration?: Configuration) => {
20437
20359
  * @throws {RequiredError}
20438
20360
  */
20439
20361
  getDatabaseMetricMemory(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricMemoryDatapointResponseList>>;
20440
- /**
20441
- * Get database restart message and timestamp.
20442
- * @summary List database restarts
20443
- * @param {string} databaseId Database ID
20444
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
20445
- * @param {*} [options] Override http request option.
20446
- * @throws {RequiredError}
20447
- */
20448
- getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetricRestart>>;
20449
20362
  /**
20450
20363
  *
20451
20364
  * @summary Get Storage consumption metric over time for the database
@@ -20496,15 +20409,6 @@ export declare const DatabaseMetricsApiFactory: (configuration?: Configuration,
20496
20409
  * @throws {RequiredError}
20497
20410
  */
20498
20411
  getDatabaseMetricMemory(databaseId: string, lastSeconds: number, options?: any): AxiosPromise<MetricMemoryDatapointResponseList>;
20499
- /**
20500
- * Get database restart message and timestamp.
20501
- * @summary List database restarts
20502
- * @param {string} databaseId Database ID
20503
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
20504
- * @param {*} [options] Override http request option.
20505
- * @throws {RequiredError}
20506
- */
20507
- getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: any): AxiosPromise<MetricRestart>;
20508
20412
  /**
20509
20413
  *
20510
20414
  * @summary Get Storage consumption metric over time for the database
@@ -20561,16 +20465,6 @@ export declare class DatabaseMetricsApi extends BaseAPI {
20561
20465
  * @memberof DatabaseMetricsApi
20562
20466
  */
20563
20467
  getDatabaseMetricMemory(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricMemoryDatapointResponseList>>;
20564
- /**
20565
- * Get database restart message and timestamp.
20566
- * @summary List database restarts
20567
- * @param {string} databaseId Database ID
20568
- * @param {number} lastSeconds Up to how many seconds in the past to ask analytics results
20569
- * @param {*} [options] Override http request option.
20570
- * @throws {RequiredError}
20571
- * @memberof DatabaseMetricsApi
20572
- */
20573
- getDatabaseMetricRestart(databaseId: string, lastSeconds: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetricRestart>>;
20574
20468
  /**
20575
20469
  *
20576
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.118",
3
+ "version": "v1.1.119",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [