qovery-typescript-axios 1.1.781 → 1.1.783
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +9 -16
- package/dist/api.d.ts +4 -8
- package/dist/api.js +9 -16
- package/dist/esm/api.d.ts +4 -8
- package/dist/esm/api.js +9 -16
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -58332,19 +58332,15 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
|
|
|
58332
58332
|
* Create an organization webhook.
|
|
58333
58333
|
* @summary Create an organization webhook
|
|
58334
58334
|
* @param {string} organizationId Organization ID
|
|
58335
|
-
* @param {string} webhookId Webhook ID
|
|
58336
58335
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
58337
58336
|
* @param {*} [options] Override http request option.
|
|
58338
58337
|
* @throws {RequiredError}
|
|
58339
58338
|
*/
|
|
58340
|
-
createOrganizationWebhook: async (organizationId: string,
|
|
58339
|
+
createOrganizationWebhook: async (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58341
58340
|
// verify required parameter 'organizationId' is not null or undefined
|
|
58342
58341
|
assertParamExists('createOrganizationWebhook', 'organizationId', organizationId)
|
|
58343
|
-
|
|
58344
|
-
|
|
58345
|
-
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
|
|
58346
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
58347
|
-
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
58342
|
+
const localVarPath = `/organization/{organizationId}/webhook`
|
|
58343
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
58348
58344
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58349
58345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58350
58346
|
let baseOptions;
|
|
@@ -58616,13 +58612,12 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
|
|
|
58616
58612
|
* Create an organization webhook.
|
|
58617
58613
|
* @summary Create an organization webhook
|
|
58618
58614
|
* @param {string} organizationId Organization ID
|
|
58619
|
-
* @param {string} webhookId Webhook ID
|
|
58620
58615
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
58621
58616
|
* @param {*} [options] Override http request option.
|
|
58622
58617
|
* @throws {RequiredError}
|
|
58623
58618
|
*/
|
|
58624
|
-
async createOrganizationWebhook(organizationId: string,
|
|
58625
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationWebhook(organizationId,
|
|
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);
|
|
58626
58621
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
58627
58622
|
const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.createOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
|
|
58628
58623
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -58711,13 +58706,12 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
|
|
|
58711
58706
|
* Create an organization webhook.
|
|
58712
58707
|
* @summary Create an organization webhook
|
|
58713
58708
|
* @param {string} organizationId Organization ID
|
|
58714
|
-
* @param {string} webhookId Webhook ID
|
|
58715
58709
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
58716
58710
|
* @param {*} [options] Override http request option.
|
|
58717
58711
|
* @throws {RequiredError}
|
|
58718
58712
|
*/
|
|
58719
|
-
createOrganizationWebhook(organizationId: string,
|
|
58720
|
-
return localVarFp.createOrganizationWebhook(organizationId,
|
|
58713
|
+
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse> {
|
|
58714
|
+
return localVarFp.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
|
|
58721
58715
|
},
|
|
58722
58716
|
/**
|
|
58723
58717
|
* Delete organization webhook
|
|
@@ -58788,14 +58782,13 @@ export class OrganizationWebhookApi extends BaseAPI {
|
|
|
58788
58782
|
* Create an organization webhook.
|
|
58789
58783
|
* @summary Create an organization webhook
|
|
58790
58784
|
* @param {string} organizationId Organization ID
|
|
58791
|
-
* @param {string} webhookId Webhook ID
|
|
58792
58785
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
58793
58786
|
* @param {*} [options] Override http request option.
|
|
58794
58787
|
* @throws {RequiredError}
|
|
58795
58788
|
* @memberof OrganizationWebhookApi
|
|
58796
58789
|
*/
|
|
58797
|
-
public createOrganizationWebhook(organizationId: string,
|
|
58798
|
-
return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId,
|
|
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));
|
|
58799
58792
|
}
|
|
58800
58793
|
|
|
58801
58794
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -37058,12 +37058,11 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
|
|
|
37058
37058
|
* Create an organization webhook.
|
|
37059
37059
|
* @summary Create an organization webhook
|
|
37060
37060
|
* @param {string} organizationId Organization ID
|
|
37061
|
-
* @param {string} webhookId Webhook ID
|
|
37062
37061
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37063
37062
|
* @param {*} [options] Override http request option.
|
|
37064
37063
|
* @throws {RequiredError}
|
|
37065
37064
|
*/
|
|
37066
|
-
createOrganizationWebhook: (organizationId: string,
|
|
37065
|
+
createOrganizationWebhook: (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37067
37066
|
/**
|
|
37068
37067
|
* Delete organization webhook
|
|
37069
37068
|
* @summary Delete organization webhook
|
|
@@ -37119,12 +37118,11 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
|
|
|
37119
37118
|
* Create an organization webhook.
|
|
37120
37119
|
* @summary Create an organization webhook
|
|
37121
37120
|
* @param {string} organizationId Organization ID
|
|
37122
|
-
* @param {string} webhookId Webhook ID
|
|
37123
37121
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37124
37122
|
* @param {*} [options] Override http request option.
|
|
37125
37123
|
* @throws {RequiredError}
|
|
37126
37124
|
*/
|
|
37127
|
-
createOrganizationWebhook(organizationId: string,
|
|
37125
|
+
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
|
|
37128
37126
|
/**
|
|
37129
37127
|
* Delete organization webhook
|
|
37130
37128
|
* @summary Delete organization webhook
|
|
@@ -37180,12 +37178,11 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
|
|
|
37180
37178
|
* Create an organization webhook.
|
|
37181
37179
|
* @summary Create an organization webhook
|
|
37182
37180
|
* @param {string} organizationId Organization ID
|
|
37183
|
-
* @param {string} webhookId Webhook ID
|
|
37184
37181
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37185
37182
|
* @param {*} [options] Override http request option.
|
|
37186
37183
|
* @throws {RequiredError}
|
|
37187
37184
|
*/
|
|
37188
|
-
createOrganizationWebhook(organizationId: string,
|
|
37185
|
+
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse>;
|
|
37189
37186
|
/**
|
|
37190
37187
|
* Delete organization webhook
|
|
37191
37188
|
* @summary Delete organization webhook
|
|
@@ -37243,13 +37240,12 @@ export declare class OrganizationWebhookApi extends BaseAPI {
|
|
|
37243
37240
|
* Create an organization webhook.
|
|
37244
37241
|
* @summary Create an organization webhook
|
|
37245
37242
|
* @param {string} organizationId Organization ID
|
|
37246
|
-
* @param {string} webhookId Webhook ID
|
|
37247
37243
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37248
37244
|
* @param {*} [options] Override http request option.
|
|
37249
37245
|
* @throws {RequiredError}
|
|
37250
37246
|
* @memberof OrganizationWebhookApi
|
|
37251
37247
|
*/
|
|
37252
|
-
createOrganizationWebhook(organizationId: string,
|
|
37248
|
+
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse, any, {}>>;
|
|
37253
37249
|
/**
|
|
37254
37250
|
* Delete organization webhook
|
|
37255
37251
|
* @summary Delete organization webhook
|
package/dist/api.js
CHANGED
|
@@ -36925,19 +36925,15 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
|
|
|
36925
36925
|
* Create an organization webhook.
|
|
36926
36926
|
* @summary Create an organization webhook
|
|
36927
36927
|
* @param {string} organizationId Organization ID
|
|
36928
|
-
* @param {string} webhookId Webhook ID
|
|
36929
36928
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
36930
36929
|
* @param {*} [options] Override http request option.
|
|
36931
36930
|
* @throws {RequiredError}
|
|
36932
36931
|
*/
|
|
36933
|
-
createOrganizationWebhook: (organizationId_1,
|
|
36932
|
+
createOrganizationWebhook: (organizationId_1, organizationWebhookCreateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, organizationWebhookCreateRequest_1, ...args_1], void 0, function* (organizationId, organizationWebhookCreateRequest, options = {}) {
|
|
36934
36933
|
// verify required parameter 'organizationId' is not null or undefined
|
|
36935
36934
|
(0, common_1.assertParamExists)('createOrganizationWebhook', 'organizationId', organizationId);
|
|
36936
|
-
|
|
36937
|
-
|
|
36938
|
-
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
|
|
36939
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
36940
|
-
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
36935
|
+
const localVarPath = `/organization/{organizationId}/webhook`
|
|
36936
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
36941
36937
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36942
36938
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36943
36939
|
let baseOptions;
|
|
@@ -37165,15 +37161,14 @@ const OrganizationWebhookApiFp = function (configuration) {
|
|
|
37165
37161
|
* Create an organization webhook.
|
|
37166
37162
|
* @summary Create an organization webhook
|
|
37167
37163
|
* @param {string} organizationId Organization ID
|
|
37168
|
-
* @param {string} webhookId Webhook ID
|
|
37169
37164
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37170
37165
|
* @param {*} [options] Override http request option.
|
|
37171
37166
|
* @throws {RequiredError}
|
|
37172
37167
|
*/
|
|
37173
|
-
createOrganizationWebhook(organizationId,
|
|
37168
|
+
createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
37174
37169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37175
37170
|
var _a, _b, _c;
|
|
37176
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationWebhook(organizationId,
|
|
37171
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
|
|
37177
37172
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37178
37173
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationWebhookApi.createOrganizationWebhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37179
37174
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -37278,13 +37273,12 @@ const OrganizationWebhookApiFactory = function (configuration, basePath, axios)
|
|
|
37278
37273
|
* Create an organization webhook.
|
|
37279
37274
|
* @summary Create an organization webhook
|
|
37280
37275
|
* @param {string} organizationId Organization ID
|
|
37281
|
-
* @param {string} webhookId Webhook ID
|
|
37282
37276
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37283
37277
|
* @param {*} [options] Override http request option.
|
|
37284
37278
|
* @throws {RequiredError}
|
|
37285
37279
|
*/
|
|
37286
|
-
createOrganizationWebhook(organizationId,
|
|
37287
|
-
return localVarFp.createOrganizationWebhook(organizationId,
|
|
37280
|
+
createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
37281
|
+
return localVarFp.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
|
|
37288
37282
|
},
|
|
37289
37283
|
/**
|
|
37290
37284
|
* Delete organization webhook
|
|
@@ -37355,14 +37349,13 @@ class OrganizationWebhookApi extends base_1.BaseAPI {
|
|
|
37355
37349
|
* Create an organization webhook.
|
|
37356
37350
|
* @summary Create an organization webhook
|
|
37357
37351
|
* @param {string} organizationId Organization ID
|
|
37358
|
-
* @param {string} webhookId Webhook ID
|
|
37359
37352
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37360
37353
|
* @param {*} [options] Override http request option.
|
|
37361
37354
|
* @throws {RequiredError}
|
|
37362
37355
|
* @memberof OrganizationWebhookApi
|
|
37363
37356
|
*/
|
|
37364
|
-
createOrganizationWebhook(organizationId,
|
|
37365
|
-
return (0, exports.OrganizationWebhookApiFp)(this.configuration).createOrganizationWebhook(organizationId,
|
|
37357
|
+
createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
37358
|
+
return (0, exports.OrganizationWebhookApiFp)(this.configuration).createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37366
37359
|
}
|
|
37367
37360
|
/**
|
|
37368
37361
|
* Delete organization webhook
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -37058,12 +37058,11 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
|
|
|
37058
37058
|
* Create an organization webhook.
|
|
37059
37059
|
* @summary Create an organization webhook
|
|
37060
37060
|
* @param {string} organizationId Organization ID
|
|
37061
|
-
* @param {string} webhookId Webhook ID
|
|
37062
37061
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37063
37062
|
* @param {*} [options] Override http request option.
|
|
37064
37063
|
* @throws {RequiredError}
|
|
37065
37064
|
*/
|
|
37066
|
-
createOrganizationWebhook: (organizationId: string,
|
|
37065
|
+
createOrganizationWebhook: (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37067
37066
|
/**
|
|
37068
37067
|
* Delete organization webhook
|
|
37069
37068
|
* @summary Delete organization webhook
|
|
@@ -37119,12 +37118,11 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
|
|
|
37119
37118
|
* Create an organization webhook.
|
|
37120
37119
|
* @summary Create an organization webhook
|
|
37121
37120
|
* @param {string} organizationId Organization ID
|
|
37122
|
-
* @param {string} webhookId Webhook ID
|
|
37123
37121
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37124
37122
|
* @param {*} [options] Override http request option.
|
|
37125
37123
|
* @throws {RequiredError}
|
|
37126
37124
|
*/
|
|
37127
|
-
createOrganizationWebhook(organizationId: string,
|
|
37125
|
+
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
|
|
37128
37126
|
/**
|
|
37129
37127
|
* Delete organization webhook
|
|
37130
37128
|
* @summary Delete organization webhook
|
|
@@ -37180,12 +37178,11 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
|
|
|
37180
37178
|
* Create an organization webhook.
|
|
37181
37179
|
* @summary Create an organization webhook
|
|
37182
37180
|
* @param {string} organizationId Organization ID
|
|
37183
|
-
* @param {string} webhookId Webhook ID
|
|
37184
37181
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37185
37182
|
* @param {*} [options] Override http request option.
|
|
37186
37183
|
* @throws {RequiredError}
|
|
37187
37184
|
*/
|
|
37188
|
-
createOrganizationWebhook(organizationId: string,
|
|
37185
|
+
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse>;
|
|
37189
37186
|
/**
|
|
37190
37187
|
* Delete organization webhook
|
|
37191
37188
|
* @summary Delete organization webhook
|
|
@@ -37243,13 +37240,12 @@ export declare class OrganizationWebhookApi extends BaseAPI {
|
|
|
37243
37240
|
* Create an organization webhook.
|
|
37244
37241
|
* @summary Create an organization webhook
|
|
37245
37242
|
* @param {string} organizationId Organization ID
|
|
37246
|
-
* @param {string} webhookId Webhook ID
|
|
37247
37243
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37248
37244
|
* @param {*} [options] Override http request option.
|
|
37249
37245
|
* @throws {RequiredError}
|
|
37250
37246
|
* @memberof OrganizationWebhookApi
|
|
37251
37247
|
*/
|
|
37252
|
-
createOrganizationWebhook(organizationId: string,
|
|
37248
|
+
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse, any, {}>>;
|
|
37253
37249
|
/**
|
|
37254
37250
|
* Delete organization webhook
|
|
37255
37251
|
* @summary Delete organization webhook
|
package/dist/esm/api.js
CHANGED
|
@@ -36613,19 +36613,15 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration)
|
|
|
36613
36613
|
* Create an organization webhook.
|
|
36614
36614
|
* @summary Create an organization webhook
|
|
36615
36615
|
* @param {string} organizationId Organization ID
|
|
36616
|
-
* @param {string} webhookId Webhook ID
|
|
36617
36616
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
36618
36617
|
* @param {*} [options] Override http request option.
|
|
36619
36618
|
* @throws {RequiredError}
|
|
36620
36619
|
*/
|
|
36621
|
-
createOrganizationWebhook: (organizationId_1,
|
|
36620
|
+
createOrganizationWebhook: (organizationId_1, organizationWebhookCreateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, organizationWebhookCreateRequest_1, ...args_1], void 0, function* (organizationId, organizationWebhookCreateRequest, options = {}) {
|
|
36622
36621
|
// verify required parameter 'organizationId' is not null or undefined
|
|
36623
36622
|
assertParamExists('createOrganizationWebhook', 'organizationId', organizationId);
|
|
36624
|
-
|
|
36625
|
-
|
|
36626
|
-
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
|
|
36627
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
36628
|
-
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
36623
|
+
const localVarPath = `/organization/{organizationId}/webhook`
|
|
36624
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
36629
36625
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36630
36626
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36631
36627
|
let baseOptions;
|
|
@@ -36852,15 +36848,14 @@ export const OrganizationWebhookApiFp = function (configuration) {
|
|
|
36852
36848
|
* Create an organization webhook.
|
|
36853
36849
|
* @summary Create an organization webhook
|
|
36854
36850
|
* @param {string} organizationId Organization ID
|
|
36855
|
-
* @param {string} webhookId Webhook ID
|
|
36856
36851
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
36857
36852
|
* @param {*} [options] Override http request option.
|
|
36858
36853
|
* @throws {RequiredError}
|
|
36859
36854
|
*/
|
|
36860
|
-
createOrganizationWebhook(organizationId,
|
|
36855
|
+
createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
36861
36856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
36862
36857
|
var _a, _b, _c;
|
|
36863
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationWebhook(organizationId,
|
|
36858
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
|
|
36864
36859
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36865
36860
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationWebhookApi.createOrganizationWebhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36866
36861
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -36964,13 +36959,12 @@ export const OrganizationWebhookApiFactory = function (configuration, basePath,
|
|
|
36964
36959
|
* Create an organization webhook.
|
|
36965
36960
|
* @summary Create an organization webhook
|
|
36966
36961
|
* @param {string} organizationId Organization ID
|
|
36967
|
-
* @param {string} webhookId Webhook ID
|
|
36968
36962
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
36969
36963
|
* @param {*} [options] Override http request option.
|
|
36970
36964
|
* @throws {RequiredError}
|
|
36971
36965
|
*/
|
|
36972
|
-
createOrganizationWebhook(organizationId,
|
|
36973
|
-
return localVarFp.createOrganizationWebhook(organizationId,
|
|
36966
|
+
createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
36967
|
+
return localVarFp.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
|
|
36974
36968
|
},
|
|
36975
36969
|
/**
|
|
36976
36970
|
* Delete organization webhook
|
|
@@ -37040,14 +37034,13 @@ export class OrganizationWebhookApi extends BaseAPI {
|
|
|
37040
37034
|
* Create an organization webhook.
|
|
37041
37035
|
* @summary Create an organization webhook
|
|
37042
37036
|
* @param {string} organizationId Organization ID
|
|
37043
|
-
* @param {string} webhookId Webhook ID
|
|
37044
37037
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37045
37038
|
* @param {*} [options] Override http request option.
|
|
37046
37039
|
* @throws {RequiredError}
|
|
37047
37040
|
* @memberof OrganizationWebhookApi
|
|
37048
37041
|
*/
|
|
37049
|
-
createOrganizationWebhook(organizationId,
|
|
37050
|
-
return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId,
|
|
37042
|
+
createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
37043
|
+
return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37051
37044
|
}
|
|
37052
37045
|
/**
|
|
37053
37046
|
* Delete organization webhook
|