qovery-typescript-axios 1.1.118 → 1.1.120

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 +30 -210
  2. package/dist/api.d.ts +16 -114
  3. package/dist/api.js +30 -166
  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
@@ -39612,14 +39418,18 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
39612
39418
  * Delete organization webhook
39613
39419
  * @summary Delete organization webhook
39614
39420
  * @param {string} organizationId Organization ID
39421
+ * @param {string} webhookId Webhook ID
39615
39422
  * @param {*} [options] Override http request option.
39616
39423
  * @throws {RequiredError}
39617
39424
  */
39618
- deleteOrganizationWebhook: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39425
+ deleteOrganizationWebhook: async (organizationId: string, webhookId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39619
39426
  // verify required parameter 'organizationId' is not null or undefined
39620
39427
  assertParamExists('deleteOrganizationWebhook', 'organizationId', organizationId)
39428
+ // verify required parameter 'webhookId' is not null or undefined
39429
+ assertParamExists('deleteOrganizationWebhook', 'webhookId', webhookId)
39621
39430
  const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
39622
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
39431
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
39432
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
39623
39433
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
39624
39434
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39625
39435
  let baseOptions;
@@ -39650,15 +39460,19 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
39650
39460
  * Edit an organization webhook
39651
39461
  * @summary Edit an organization webhook
39652
39462
  * @param {string} organizationId Organization ID
39463
+ * @param {string} webhookId Webhook ID
39653
39464
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
39654
39465
  * @param {*} [options] Override http request option.
39655
39466
  * @throws {RequiredError}
39656
39467
  */
39657
- editOrganizationWebhook: async (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39468
+ editOrganizationWebhook: async (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39658
39469
  // verify required parameter 'organizationId' is not null or undefined
39659
39470
  assertParamExists('editOrganizationWebhook', 'organizationId', organizationId)
39471
+ // verify required parameter 'webhookId' is not null or undefined
39472
+ assertParamExists('editOrganizationWebhook', 'webhookId', webhookId)
39660
39473
  const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
39661
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
39474
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
39475
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
39662
39476
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
39663
39477
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39664
39478
  let baseOptions;
@@ -39794,23 +39608,25 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
39794
39608
  * Delete organization webhook
39795
39609
  * @summary Delete organization webhook
39796
39610
  * @param {string} organizationId Organization ID
39611
+ * @param {string} webhookId Webhook ID
39797
39612
  * @param {*} [options] Override http request option.
39798
39613
  * @throws {RequiredError}
39799
39614
  */
39800
- async deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
39801
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationWebhook(organizationId, options);
39615
+ async deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
39616
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationWebhook(organizationId, webhookId, options);
39802
39617
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39803
39618
  },
39804
39619
  /**
39805
39620
  * Edit an organization webhook
39806
39621
  * @summary Edit an organization webhook
39807
39622
  * @param {string} organizationId Organization ID
39623
+ * @param {string} webhookId Webhook ID
39808
39624
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
39809
39625
  * @param {*} [options] Override http request option.
39810
39626
  * @throws {RequiredError}
39811
39627
  */
39812
- async editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>> {
39813
- const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
39628
+ async editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>> {
39629
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
39814
39630
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39815
39631
  },
39816
39632
  /**
@@ -39861,22 +39677,24 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
39861
39677
  * Delete organization webhook
39862
39678
  * @summary Delete organization webhook
39863
39679
  * @param {string} organizationId Organization ID
39680
+ * @param {string} webhookId Webhook ID
39864
39681
  * @param {*} [options] Override http request option.
39865
39682
  * @throws {RequiredError}
39866
39683
  */
39867
- deleteOrganizationWebhook(organizationId: string, options?: any): AxiosPromise<void> {
39868
- return localVarFp.deleteOrganizationWebhook(organizationId, options).then((request) => request(axios, basePath));
39684
+ deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: any): AxiosPromise<void> {
39685
+ return localVarFp.deleteOrganizationWebhook(organizationId, webhookId, options).then((request) => request(axios, basePath));
39869
39686
  },
39870
39687
  /**
39871
39688
  * Edit an organization webhook
39872
39689
  * @summary Edit an organization webhook
39873
39690
  * @param {string} organizationId Organization ID
39691
+ * @param {string} webhookId Webhook ID
39874
39692
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
39875
39693
  * @param {*} [options] Override http request option.
39876
39694
  * @throws {RequiredError}
39877
39695
  */
39878
- editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse> {
39879
- return localVarFp.editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
39696
+ editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse> {
39697
+ return localVarFp.editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
39880
39698
  },
39881
39699
  /**
39882
39700
  * Get an Organization webhook
@@ -39926,25 +39744,27 @@ export class OrganizationWebhookApi extends BaseAPI {
39926
39744
  * Delete organization webhook
39927
39745
  * @summary Delete organization webhook
39928
39746
  * @param {string} organizationId Organization ID
39747
+ * @param {string} webhookId Webhook ID
39929
39748
  * @param {*} [options] Override http request option.
39930
39749
  * @throws {RequiredError}
39931
39750
  * @memberof OrganizationWebhookApi
39932
39751
  */
39933
- public deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig) {
39934
- return OrganizationWebhookApiFp(this.configuration).deleteOrganizationWebhook(organizationId, options).then((request) => request(this.axios, this.basePath));
39752
+ public deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: AxiosRequestConfig) {
39753
+ return OrganizationWebhookApiFp(this.configuration).deleteOrganizationWebhook(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
39935
39754
  }
39936
39755
 
39937
39756
  /**
39938
39757
  * Edit an organization webhook
39939
39758
  * @summary Edit an organization webhook
39940
39759
  * @param {string} organizationId Organization ID
39760
+ * @param {string} webhookId Webhook ID
39941
39761
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
39942
39762
  * @param {*} [options] Override http request option.
39943
39763
  * @throws {RequiredError}
39944
39764
  * @memberof OrganizationWebhookApi
39945
39765
  */
39946
- public editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig) {
39947
- return OrganizationWebhookApiFp(this.configuration).editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
39766
+ public editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig) {
39767
+ return OrganizationWebhookApiFp(this.configuration).editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
39948
39768
  }
39949
39769
 
39950
39770
  /**
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
@@ -25821,19 +25715,21 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
25821
25715
  * Delete organization webhook
25822
25716
  * @summary Delete organization webhook
25823
25717
  * @param {string} organizationId Organization ID
25718
+ * @param {string} webhookId Webhook ID
25824
25719
  * @param {*} [options] Override http request option.
25825
25720
  * @throws {RequiredError}
25826
25721
  */
25827
- deleteOrganizationWebhook: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25722
+ deleteOrganizationWebhook: (organizationId: string, webhookId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25828
25723
  /**
25829
25724
  * Edit an organization webhook
25830
25725
  * @summary Edit an organization webhook
25831
25726
  * @param {string} organizationId Organization ID
25727
+ * @param {string} webhookId Webhook ID
25832
25728
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
25833
25729
  * @param {*} [options] Override http request option.
25834
25730
  * @throws {RequiredError}
25835
25731
  */
25836
- editOrganizationWebhook: (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25732
+ editOrganizationWebhook: (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25837
25733
  /**
25838
25734
  * Get an Organization webhook
25839
25735
  * @summary Get an Organization webhook
@@ -25870,19 +25766,21 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
25870
25766
  * Delete organization webhook
25871
25767
  * @summary Delete organization webhook
25872
25768
  * @param {string} organizationId Organization ID
25769
+ * @param {string} webhookId Webhook ID
25873
25770
  * @param {*} [options] Override http request option.
25874
25771
  * @throws {RequiredError}
25875
25772
  */
25876
- deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
25773
+ deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
25877
25774
  /**
25878
25775
  * Edit an organization webhook
25879
25776
  * @summary Edit an organization webhook
25880
25777
  * @param {string} organizationId Organization ID
25778
+ * @param {string} webhookId Webhook ID
25881
25779
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
25882
25780
  * @param {*} [options] Override http request option.
25883
25781
  * @throws {RequiredError}
25884
25782
  */
25885
- editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
25783
+ editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
25886
25784
  /**
25887
25785
  * Get an Organization webhook
25888
25786
  * @summary Get an Organization webhook
@@ -25919,19 +25817,21 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
25919
25817
  * Delete organization webhook
25920
25818
  * @summary Delete organization webhook
25921
25819
  * @param {string} organizationId Organization ID
25820
+ * @param {string} webhookId Webhook ID
25922
25821
  * @param {*} [options] Override http request option.
25923
25822
  * @throws {RequiredError}
25924
25823
  */
25925
- deleteOrganizationWebhook(organizationId: string, options?: any): AxiosPromise<void>;
25824
+ deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: any): AxiosPromise<void>;
25926
25825
  /**
25927
25826
  * Edit an organization webhook
25928
25827
  * @summary Edit an organization webhook
25929
25828
  * @param {string} organizationId Organization ID
25829
+ * @param {string} webhookId Webhook ID
25930
25830
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
25931
25831
  * @param {*} [options] Override http request option.
25932
25832
  * @throws {RequiredError}
25933
25833
  */
25934
- editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse>;
25834
+ editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse>;
25935
25835
  /**
25936
25836
  * Get an Organization webhook
25937
25837
  * @summary Get an Organization webhook
@@ -25971,21 +25871,23 @@ export declare class OrganizationWebhookApi extends BaseAPI {
25971
25871
  * Delete organization webhook
25972
25872
  * @summary Delete organization webhook
25973
25873
  * @param {string} organizationId Organization ID
25874
+ * @param {string} webhookId Webhook ID
25974
25875
  * @param {*} [options] Override http request option.
25975
25876
  * @throws {RequiredError}
25976
25877
  * @memberof OrganizationWebhookApi
25977
25878
  */
25978
- deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
25879
+ deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
25979
25880
  /**
25980
25881
  * Edit an organization webhook
25981
25882
  * @summary Edit an organization webhook
25982
25883
  * @param {string} organizationId Organization ID
25884
+ * @param {string} webhookId Webhook ID
25983
25885
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
25984
25886
  * @param {*} [options] Override http request option.
25985
25887
  * @throws {RequiredError}
25986
25888
  * @memberof OrganizationWebhookApi
25987
25889
  */
25988
- editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse>>;
25890
+ editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse>>;
25989
25891
  /**
25990
25892
  * Get an Organization webhook
25991
25893
  * @summary Get an Organization webhook
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
@@ -25651,14 +25501,18 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
25651
25501
  * Delete organization webhook
25652
25502
  * @summary Delete organization webhook
25653
25503
  * @param {string} organizationId Organization ID
25504
+ * @param {string} webhookId Webhook ID
25654
25505
  * @param {*} [options] Override http request option.
25655
25506
  * @throws {RequiredError}
25656
25507
  */
25657
- deleteOrganizationWebhook: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
25508
+ deleteOrganizationWebhook: (organizationId, webhookId, options = {}) => __awaiter(this, void 0, void 0, function* () {
25658
25509
  // verify required parameter 'organizationId' is not null or undefined
25659
25510
  (0, common_1.assertParamExists)('deleteOrganizationWebhook', 'organizationId', organizationId);
25511
+ // verify required parameter 'webhookId' is not null or undefined
25512
+ (0, common_1.assertParamExists)('deleteOrganizationWebhook', 'webhookId', webhookId);
25660
25513
  const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
25661
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
25514
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
25515
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
25662
25516
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25663
25517
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
25664
25518
  let baseOptions;
@@ -25683,15 +25537,19 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
25683
25537
  * Edit an organization webhook
25684
25538
  * @summary Edit an organization webhook
25685
25539
  * @param {string} organizationId Organization ID
25540
+ * @param {string} webhookId Webhook ID
25686
25541
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
25687
25542
  * @param {*} [options] Override http request option.
25688
25543
  * @throws {RequiredError}
25689
25544
  */
25690
- editOrganizationWebhook: (organizationId, organizationWebhookCreateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
25545
+ editOrganizationWebhook: (organizationId, webhookId, organizationWebhookCreateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
25691
25546
  // verify required parameter 'organizationId' is not null or undefined
25692
25547
  (0, common_1.assertParamExists)('editOrganizationWebhook', 'organizationId', organizationId);
25548
+ // verify required parameter 'webhookId' is not null or undefined
25549
+ (0, common_1.assertParamExists)('editOrganizationWebhook', 'webhookId', webhookId);
25693
25550
  const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
25694
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
25551
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
25552
+ .replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
25695
25553
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25696
25554
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
25697
25555
  let baseOptions;
@@ -25810,12 +25668,13 @@ const OrganizationWebhookApiFp = function (configuration) {
25810
25668
  * Delete organization webhook
25811
25669
  * @summary Delete organization webhook
25812
25670
  * @param {string} organizationId Organization ID
25671
+ * @param {string} webhookId Webhook ID
25813
25672
  * @param {*} [options] Override http request option.
25814
25673
  * @throws {RequiredError}
25815
25674
  */
25816
- deleteOrganizationWebhook(organizationId, options) {
25675
+ deleteOrganizationWebhook(organizationId, webhookId, options) {
25817
25676
  return __awaiter(this, void 0, void 0, function* () {
25818
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationWebhook(organizationId, options);
25677
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationWebhook(organizationId, webhookId, options);
25819
25678
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
25820
25679
  });
25821
25680
  },
@@ -25823,13 +25682,14 @@ const OrganizationWebhookApiFp = function (configuration) {
25823
25682
  * Edit an organization webhook
25824
25683
  * @summary Edit an organization webhook
25825
25684
  * @param {string} organizationId Organization ID
25685
+ * @param {string} webhookId Webhook ID
25826
25686
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
25827
25687
  * @param {*} [options] Override http request option.
25828
25688
  * @throws {RequiredError}
25829
25689
  */
25830
- editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
25690
+ editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
25831
25691
  return __awaiter(this, void 0, void 0, function* () {
25832
- const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
25692
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
25833
25693
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
25834
25694
  });
25835
25695
  },
@@ -25885,22 +25745,24 @@ const OrganizationWebhookApiFactory = function (configuration, basePath, axios)
25885
25745
  * Delete organization webhook
25886
25746
  * @summary Delete organization webhook
25887
25747
  * @param {string} organizationId Organization ID
25748
+ * @param {string} webhookId Webhook ID
25888
25749
  * @param {*} [options] Override http request option.
25889
25750
  * @throws {RequiredError}
25890
25751
  */
25891
- deleteOrganizationWebhook(organizationId, options) {
25892
- return localVarFp.deleteOrganizationWebhook(organizationId, options).then((request) => request(axios, basePath));
25752
+ deleteOrganizationWebhook(organizationId, webhookId, options) {
25753
+ return localVarFp.deleteOrganizationWebhook(organizationId, webhookId, options).then((request) => request(axios, basePath));
25893
25754
  },
25894
25755
  /**
25895
25756
  * Edit an organization webhook
25896
25757
  * @summary Edit an organization webhook
25897
25758
  * @param {string} organizationId Organization ID
25759
+ * @param {string} webhookId Webhook ID
25898
25760
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
25899
25761
  * @param {*} [options] Override http request option.
25900
25762
  * @throws {RequiredError}
25901
25763
  */
25902
- editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
25903
- return localVarFp.editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
25764
+ editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
25765
+ return localVarFp.editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
25904
25766
  },
25905
25767
  /**
25906
25768
  * Get an Organization webhook
@@ -25949,24 +25811,26 @@ class OrganizationWebhookApi extends base_1.BaseAPI {
25949
25811
  * Delete organization webhook
25950
25812
  * @summary Delete organization webhook
25951
25813
  * @param {string} organizationId Organization ID
25814
+ * @param {string} webhookId Webhook ID
25952
25815
  * @param {*} [options] Override http request option.
25953
25816
  * @throws {RequiredError}
25954
25817
  * @memberof OrganizationWebhookApi
25955
25818
  */
25956
- deleteOrganizationWebhook(organizationId, options) {
25957
- return (0, exports.OrganizationWebhookApiFp)(this.configuration).deleteOrganizationWebhook(organizationId, options).then((request) => request(this.axios, this.basePath));
25819
+ deleteOrganizationWebhook(organizationId, webhookId, options) {
25820
+ return (0, exports.OrganizationWebhookApiFp)(this.configuration).deleteOrganizationWebhook(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
25958
25821
  }
25959
25822
  /**
25960
25823
  * Edit an organization webhook
25961
25824
  * @summary Edit an organization webhook
25962
25825
  * @param {string} organizationId Organization ID
25826
+ * @param {string} webhookId Webhook ID
25963
25827
  * @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
25964
25828
  * @param {*} [options] Override http request option.
25965
25829
  * @throws {RequiredError}
25966
25830
  * @memberof OrganizationWebhookApi
25967
25831
  */
25968
- editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
25969
- return (0, exports.OrganizationWebhookApiFp)(this.configuration).editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
25832
+ editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
25833
+ return (0, exports.OrganizationWebhookApiFp)(this.configuration).editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
25970
25834
  }
25971
25835
  /**
25972
25836
  * Get an Organization webhook
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.120",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [