Skip to content

Commit 5798921

Browse files
author
qovery
committed
See Qovery/qovery-openapi-spec@50c7e7f from refs/heads/main
1 parent 4260582 commit 5798921

File tree

2 files changed

+32
-39
lines changed

2 files changed

+32
-39
lines changed

api.ts

Lines changed: 31 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -58332,19 +58332,15 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
5833258332
* Create an organization webhook.
5833358333
* @summary Create an organization webhook
5833458334
* @param {string} organizationId Organization ID
58335-
* @param {string} webhookId Webhook ID
5833658335
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
5833758336
* @param {*} [options] Override http request option.
5833858337
* @throws {RequiredError}
5833958338
*/
58340-
createOrganizationWebhook: async (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58339+
createOrganizationWebhook: async (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5834158340
// verify required parameter 'organizationId' is not null or undefined
5834258341
assertParamExists('createOrganizationWebhook', 'organizationId', organizationId)
58343-
// verify required parameter 'webhookId' is not null or undefined
58344-
assertParamExists('createOrganizationWebhook', 'webhookId', webhookId)
5834558342
const localVarPath = `/organization/{organizationId}/webhook`
58346-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
58347-
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
58343+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
5834858344
// use dummy base URL string because the URL constructor only accepts absolute URLs.
5834958345
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5835058346
let baseOptions;
@@ -58520,18 +58516,14 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
5852058516
* List organization webhooks
5852158517
* @summary List organization webhooks
5852258518
* @param {string} organizationId Organization ID
58523-
* @param {string} webhookId Webhook ID
5852458519
* @param {*} [options] Override http request option.
5852558520
* @throws {RequiredError}
5852658521
*/
58527-
listOrganizationWebHooks: async (organizationId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58522+
listOrganizationWebHooks: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5852858523
// verify required parameter 'organizationId' is not null or undefined
5852958524
assertParamExists('listOrganizationWebHooks', 'organizationId', organizationId)
58530-
// verify required parameter 'webhookId' is not null or undefined
58531-
assertParamExists('listOrganizationWebHooks', 'webhookId', webhookId)
5853258525
const localVarPath = `/organization/{organizationId}/webhook`
58533-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
58534-
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
58526+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
5853558527
// use dummy base URL string because the URL constructor only accepts absolute URLs.
5853658528
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5853758529
let baseOptions;
@@ -58565,14 +58557,18 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
5856558557
* List events of a webhooks
5856658558
* @summary List events of a webhook
5856758559
* @param {string} organizationId Organization ID
58560+
* @param {string} webhookId Webhook ID
5856858561
* @param {*} [options] Override http request option.
5856958562
* @throws {RequiredError}
5857058563
*/
58571-
listWebhookEvent: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
58564+
listWebhookEvent: async (organizationId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5857258565
// verify required parameter 'organizationId' is not null or undefined
5857358566
assertParamExists('listWebhookEvent', 'organizationId', organizationId)
58567+
// verify required parameter 'webhookId' is not null or undefined
58568+
assertParamExists('listWebhookEvent', 'webhookId', webhookId)
5857458569
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
58575-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
58570+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
58571+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
5857658572
// use dummy base URL string because the URL constructor only accepts absolute URLs.
5857758573
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5857858574
let baseOptions;
@@ -58616,13 +58612,12 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
5861658612
* Create an organization webhook.
5861758613
* @summary Create an organization webhook
5861858614
* @param {string} organizationId Organization ID
58619-
* @param {string} webhookId Webhook ID
5862058615
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
5862158616
* @param {*} [options] Override http request option.
5862258617
* @throws {RequiredError}
5862358618
*/
58624-
async createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>> {
58625-
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
58619+
async createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>> {
58620+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
5862658621
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5862758622
const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.createOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
5862858623
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -58674,12 +58669,11 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
5867458669
* List organization webhooks
5867558670
* @summary List organization webhooks
5867658671
* @param {string} organizationId Organization ID
58677-
* @param {string} webhookId Webhook ID
5867858672
* @param {*} [options] Override http request option.
5867958673
* @throws {RequiredError}
5868058674
*/
58681-
async listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>> {
58682-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, webhookId, options);
58675+
async listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>> {
58676+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationWebHooks(organizationId, options);
5868358677
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5868458678
const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.listOrganizationWebHooks']?.[localVarOperationServerIndex]?.url;
5868558679
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -58688,11 +58682,12 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
5868858682
* List events of a webhooks
5868958683
* @summary List events of a webhook
5869058684
* @param {string} organizationId Organization ID
58685+
* @param {string} webhookId Webhook ID
5869158686
* @param {*} [options] Override http request option.
5869258687
* @throws {RequiredError}
5869358688
*/
58694-
async listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>> {
58695-
const localVarAxiosArgs = await localVarAxiosParamCreator.listWebhookEvent(organizationId, options);
58689+
async listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>> {
58690+
const localVarAxiosArgs = await localVarAxiosParamCreator.listWebhookEvent(organizationId, webhookId, options);
5869658691
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5869758692
const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.listWebhookEvent']?.[localVarOperationServerIndex]?.url;
5869858693
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -58711,13 +58706,12 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
5871158706
* Create an organization webhook.
5871258707
* @summary Create an organization webhook
5871358708
* @param {string} organizationId Organization ID
58714-
* @param {string} webhookId Webhook ID
5871558709
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
5871658710
* @param {*} [options] Override http request option.
5871758711
* @throws {RequiredError}
5871858712
*/
58719-
createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse> {
58720-
return localVarFp.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
58713+
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse> {
58714+
return localVarFp.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
5872158715
},
5872258716
/**
5872358717
* Delete organization webhook
@@ -58757,22 +58751,22 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
5875758751
* List organization webhooks
5875858752
* @summary List organization webhooks
5875958753
* @param {string} organizationId Organization ID
58760-
* @param {string} webhookId Webhook ID
5876158754
* @param {*} [options] Override http request option.
5876258755
* @throws {RequiredError}
5876358756
*/
58764-
listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList> {
58765-
return localVarFp.listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(axios, basePath));
58757+
listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList> {
58758+
return localVarFp.listOrganizationWebHooks(organizationId, options).then((request) => request(axios, basePath));
5876658759
},
5876758760
/**
5876858761
* List events of a webhooks
5876958762
* @summary List events of a webhook
5877058763
* @param {string} organizationId Organization ID
58764+
* @param {string} webhookId Webhook ID
5877158765
* @param {*} [options] Override http request option.
5877258766
* @throws {RequiredError}
5877358767
*/
58774-
listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList> {
58775-
return localVarFp.listWebhookEvent(organizationId, options).then((request) => request(axios, basePath));
58768+
listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList> {
58769+
return localVarFp.listWebhookEvent(organizationId, webhookId, options).then((request) => request(axios, basePath));
5877658770
},
5877758771
};
5877858772
};
@@ -58788,14 +58782,13 @@ export class OrganizationWebhookApi extends BaseAPI {
5878858782
* Create an organization webhook.
5878958783
* @summary Create an organization webhook
5879058784
* @param {string} organizationId Organization ID
58791-
* @param {string} webhookId Webhook ID
5879258785
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
5879358786
* @param {*} [options] Override http request option.
5879458787
* @throws {RequiredError}
5879558788
* @memberof OrganizationWebhookApi
5879658789
*/
58797-
public createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) {
58798-
return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
58790+
public createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) {
58791+
return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
5879958792
}
5880058793

5880158794
/**
@@ -58842,25 +58835,25 @@ export class OrganizationWebhookApi extends BaseAPI {
5884258835
* List organization webhooks
5884358836
* @summary List organization webhooks
5884458837
* @param {string} organizationId Organization ID
58845-
* @param {string} webhookId Webhook ID
5884658838
* @param {*} [options] Override http request option.
5884758839
* @throws {RequiredError}
5884858840
* @memberof OrganizationWebhookApi
5884958841
*/
58850-
public listOrganizationWebHooks(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) {
58851-
return OrganizationWebhookApiFp(this.configuration).listOrganizationWebHooks(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
58842+
public listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig) {
58843+
return OrganizationWebhookApiFp(this.configuration).listOrganizationWebHooks(organizationId, options).then((request) => request(this.axios, this.basePath));
5885258844
}
5885358845

5885458846
/**
5885558847
* List events of a webhooks
5885658848
* @summary List events of a webhook
5885758849
* @param {string} organizationId Organization ID
58850+
* @param {string} webhookId Webhook ID
5885858851
* @param {*} [options] Override http request option.
5885958852
* @throws {RequiredError}
5886058853
* @memberof OrganizationWebhookApi
5886158854
*/
58862-
public listWebhookEvent(organizationId: string, options?: RawAxiosRequestConfig) {
58863-
return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, options).then((request) => request(this.axios, this.basePath));
58855+
public listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) {
58856+
return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
5886458857
}
5886558858
}
5886658859

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qovery-typescript-axios",
3-
"version": "v1.1.782",
3+
"version": "1.0.4",
44
"description": "OpenAPI client for qovery-typescript-axios",
55
"author": "OpenAPI-Generator Contributors",
66
"repository": {

0 commit comments

Comments
 (0)