qovery-typescript-axios 1.1.119 → 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.
- package/api.ts +30 -16
- package/dist/api.d.ts +16 -8
- package/dist/api.js +30 -16
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -39418,14 +39418,18 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
|
|
|
39418
39418
|
* Delete organization webhook
|
|
39419
39419
|
* @summary Delete organization webhook
|
|
39420
39420
|
* @param {string} organizationId Organization ID
|
|
39421
|
+
* @param {string} webhookId Webhook ID
|
|
39421
39422
|
* @param {*} [options] Override http request option.
|
|
39422
39423
|
* @throws {RequiredError}
|
|
39423
39424
|
*/
|
|
39424
|
-
deleteOrganizationWebhook: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39425
|
+
deleteOrganizationWebhook: async (organizationId: string, webhookId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39425
39426
|
// verify required parameter 'organizationId' is not null or undefined
|
|
39426
39427
|
assertParamExists('deleteOrganizationWebhook', 'organizationId', organizationId)
|
|
39428
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
39429
|
+
assertParamExists('deleteOrganizationWebhook', 'webhookId', webhookId)
|
|
39427
39430
|
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
|
|
39428
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
39431
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
39432
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
39429
39433
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39430
39434
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39431
39435
|
let baseOptions;
|
|
@@ -39456,15 +39460,19 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
|
|
|
39456
39460
|
* Edit an organization webhook
|
|
39457
39461
|
* @summary Edit an organization webhook
|
|
39458
39462
|
* @param {string} organizationId Organization ID
|
|
39463
|
+
* @param {string} webhookId Webhook ID
|
|
39459
39464
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
39460
39465
|
* @param {*} [options] Override http request option.
|
|
39461
39466
|
* @throws {RequiredError}
|
|
39462
39467
|
*/
|
|
39463
|
-
editOrganizationWebhook: async (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39468
|
+
editOrganizationWebhook: async (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39464
39469
|
// verify required parameter 'organizationId' is not null or undefined
|
|
39465
39470
|
assertParamExists('editOrganizationWebhook', 'organizationId', organizationId)
|
|
39471
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
39472
|
+
assertParamExists('editOrganizationWebhook', 'webhookId', webhookId)
|
|
39466
39473
|
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
|
|
39467
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
39474
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
39475
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
39468
39476
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39469
39477
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39470
39478
|
let baseOptions;
|
|
@@ -39600,23 +39608,25 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
|
|
|
39600
39608
|
* Delete organization webhook
|
|
39601
39609
|
* @summary Delete organization webhook
|
|
39602
39610
|
* @param {string} organizationId Organization ID
|
|
39611
|
+
* @param {string} webhookId Webhook ID
|
|
39603
39612
|
* @param {*} [options] Override http request option.
|
|
39604
39613
|
* @throws {RequiredError}
|
|
39605
39614
|
*/
|
|
39606
|
-
async deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
39607
|
-
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);
|
|
39608
39617
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39609
39618
|
},
|
|
39610
39619
|
/**
|
|
39611
39620
|
* Edit an organization webhook
|
|
39612
39621
|
* @summary Edit an organization webhook
|
|
39613
39622
|
* @param {string} organizationId Organization ID
|
|
39623
|
+
* @param {string} webhookId Webhook ID
|
|
39614
39624
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
39615
39625
|
* @param {*} [options] Override http request option.
|
|
39616
39626
|
* @throws {RequiredError}
|
|
39617
39627
|
*/
|
|
39618
|
-
async editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>> {
|
|
39619
|
-
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);
|
|
39620
39630
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39621
39631
|
},
|
|
39622
39632
|
/**
|
|
@@ -39667,22 +39677,24 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
|
|
|
39667
39677
|
* Delete organization webhook
|
|
39668
39678
|
* @summary Delete organization webhook
|
|
39669
39679
|
* @param {string} organizationId Organization ID
|
|
39680
|
+
* @param {string} webhookId Webhook ID
|
|
39670
39681
|
* @param {*} [options] Override http request option.
|
|
39671
39682
|
* @throws {RequiredError}
|
|
39672
39683
|
*/
|
|
39673
|
-
deleteOrganizationWebhook(organizationId: string, options?: any): AxiosPromise<void> {
|
|
39674
|
-
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));
|
|
39675
39686
|
},
|
|
39676
39687
|
/**
|
|
39677
39688
|
* Edit an organization webhook
|
|
39678
39689
|
* @summary Edit an organization webhook
|
|
39679
39690
|
* @param {string} organizationId Organization ID
|
|
39691
|
+
* @param {string} webhookId Webhook ID
|
|
39680
39692
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
39681
39693
|
* @param {*} [options] Override http request option.
|
|
39682
39694
|
* @throws {RequiredError}
|
|
39683
39695
|
*/
|
|
39684
|
-
editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse> {
|
|
39685
|
-
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));
|
|
39686
39698
|
},
|
|
39687
39699
|
/**
|
|
39688
39700
|
* Get an Organization webhook
|
|
@@ -39732,25 +39744,27 @@ export class OrganizationWebhookApi extends BaseAPI {
|
|
|
39732
39744
|
* Delete organization webhook
|
|
39733
39745
|
* @summary Delete organization webhook
|
|
39734
39746
|
* @param {string} organizationId Organization ID
|
|
39747
|
+
* @param {string} webhookId Webhook ID
|
|
39735
39748
|
* @param {*} [options] Override http request option.
|
|
39736
39749
|
* @throws {RequiredError}
|
|
39737
39750
|
* @memberof OrganizationWebhookApi
|
|
39738
39751
|
*/
|
|
39739
|
-
public deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig) {
|
|
39740
|
-
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));
|
|
39741
39754
|
}
|
|
39742
39755
|
|
|
39743
39756
|
/**
|
|
39744
39757
|
* Edit an organization webhook
|
|
39745
39758
|
* @summary Edit an organization webhook
|
|
39746
39759
|
* @param {string} organizationId Organization ID
|
|
39760
|
+
* @param {string} webhookId Webhook ID
|
|
39747
39761
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
39748
39762
|
* @param {*} [options] Override http request option.
|
|
39749
39763
|
* @throws {RequiredError}
|
|
39750
39764
|
* @memberof OrganizationWebhookApi
|
|
39751
39765
|
*/
|
|
39752
|
-
public editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig) {
|
|
39753
|
-
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));
|
|
39754
39768
|
}
|
|
39755
39769
|
|
|
39756
39770
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -25715,19 +25715,21 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
|
|
|
25715
25715
|
* Delete organization webhook
|
|
25716
25716
|
* @summary Delete organization webhook
|
|
25717
25717
|
* @param {string} organizationId Organization ID
|
|
25718
|
+
* @param {string} webhookId Webhook ID
|
|
25718
25719
|
* @param {*} [options] Override http request option.
|
|
25719
25720
|
* @throws {RequiredError}
|
|
25720
25721
|
*/
|
|
25721
|
-
deleteOrganizationWebhook: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25722
|
+
deleteOrganizationWebhook: (organizationId: string, webhookId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25722
25723
|
/**
|
|
25723
25724
|
* Edit an organization webhook
|
|
25724
25725
|
* @summary Edit an organization webhook
|
|
25725
25726
|
* @param {string} organizationId Organization ID
|
|
25727
|
+
* @param {string} webhookId Webhook ID
|
|
25726
25728
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25727
25729
|
* @param {*} [options] Override http request option.
|
|
25728
25730
|
* @throws {RequiredError}
|
|
25729
25731
|
*/
|
|
25730
|
-
editOrganizationWebhook: (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25732
|
+
editOrganizationWebhook: (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25731
25733
|
/**
|
|
25732
25734
|
* Get an Organization webhook
|
|
25733
25735
|
* @summary Get an Organization webhook
|
|
@@ -25764,19 +25766,21 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
|
|
|
25764
25766
|
* Delete organization webhook
|
|
25765
25767
|
* @summary Delete organization webhook
|
|
25766
25768
|
* @param {string} organizationId Organization ID
|
|
25769
|
+
* @param {string} webhookId Webhook ID
|
|
25767
25770
|
* @param {*} [options] Override http request option.
|
|
25768
25771
|
* @throws {RequiredError}
|
|
25769
25772
|
*/
|
|
25770
|
-
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>>;
|
|
25771
25774
|
/**
|
|
25772
25775
|
* Edit an organization webhook
|
|
25773
25776
|
* @summary Edit an organization webhook
|
|
25774
25777
|
* @param {string} organizationId Organization ID
|
|
25778
|
+
* @param {string} webhookId Webhook ID
|
|
25775
25779
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25776
25780
|
* @param {*} [options] Override http request option.
|
|
25777
25781
|
* @throws {RequiredError}
|
|
25778
25782
|
*/
|
|
25779
|
-
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>>;
|
|
25780
25784
|
/**
|
|
25781
25785
|
* Get an Organization webhook
|
|
25782
25786
|
* @summary Get an Organization webhook
|
|
@@ -25813,19 +25817,21 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
|
|
|
25813
25817
|
* Delete organization webhook
|
|
25814
25818
|
* @summary Delete organization webhook
|
|
25815
25819
|
* @param {string} organizationId Organization ID
|
|
25820
|
+
* @param {string} webhookId Webhook ID
|
|
25816
25821
|
* @param {*} [options] Override http request option.
|
|
25817
25822
|
* @throws {RequiredError}
|
|
25818
25823
|
*/
|
|
25819
|
-
deleteOrganizationWebhook(organizationId: string, options?: any): AxiosPromise<void>;
|
|
25824
|
+
deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: any): AxiosPromise<void>;
|
|
25820
25825
|
/**
|
|
25821
25826
|
* Edit an organization webhook
|
|
25822
25827
|
* @summary Edit an organization webhook
|
|
25823
25828
|
* @param {string} organizationId Organization ID
|
|
25829
|
+
* @param {string} webhookId Webhook ID
|
|
25824
25830
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25825
25831
|
* @param {*} [options] Override http request option.
|
|
25826
25832
|
* @throws {RequiredError}
|
|
25827
25833
|
*/
|
|
25828
|
-
editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse>;
|
|
25834
|
+
editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse>;
|
|
25829
25835
|
/**
|
|
25830
25836
|
* Get an Organization webhook
|
|
25831
25837
|
* @summary Get an Organization webhook
|
|
@@ -25865,21 +25871,23 @@ export declare class OrganizationWebhookApi extends BaseAPI {
|
|
|
25865
25871
|
* Delete organization webhook
|
|
25866
25872
|
* @summary Delete organization webhook
|
|
25867
25873
|
* @param {string} organizationId Organization ID
|
|
25874
|
+
* @param {string} webhookId Webhook ID
|
|
25868
25875
|
* @param {*} [options] Override http request option.
|
|
25869
25876
|
* @throws {RequiredError}
|
|
25870
25877
|
* @memberof OrganizationWebhookApi
|
|
25871
25878
|
*/
|
|
25872
|
-
deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
25879
|
+
deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
25873
25880
|
/**
|
|
25874
25881
|
* Edit an organization webhook
|
|
25875
25882
|
* @summary Edit an organization webhook
|
|
25876
25883
|
* @param {string} organizationId Organization ID
|
|
25884
|
+
* @param {string} webhookId Webhook ID
|
|
25877
25885
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25878
25886
|
* @param {*} [options] Override http request option.
|
|
25879
25887
|
* @throws {RequiredError}
|
|
25880
25888
|
* @memberof OrganizationWebhookApi
|
|
25881
25889
|
*/
|
|
25882
|
-
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>>;
|
|
25883
25891
|
/**
|
|
25884
25892
|
* Get an Organization webhook
|
|
25885
25893
|
* @summary Get an Organization webhook
|
package/dist/api.js
CHANGED
|
@@ -25501,14 +25501,18 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
|
|
|
25501
25501
|
* Delete organization webhook
|
|
25502
25502
|
* @summary Delete organization webhook
|
|
25503
25503
|
* @param {string} organizationId Organization ID
|
|
25504
|
+
* @param {string} webhookId Webhook ID
|
|
25504
25505
|
* @param {*} [options] Override http request option.
|
|
25505
25506
|
* @throws {RequiredError}
|
|
25506
25507
|
*/
|
|
25507
|
-
deleteOrganizationWebhook: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
25508
|
+
deleteOrganizationWebhook: (organizationId, webhookId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
25508
25509
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25509
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);
|
|
25510
25513
|
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
|
|
25511
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25514
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25515
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
25512
25516
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25513
25517
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25514
25518
|
let baseOptions;
|
|
@@ -25533,15 +25537,19 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
|
|
|
25533
25537
|
* Edit an organization webhook
|
|
25534
25538
|
* @summary Edit an organization webhook
|
|
25535
25539
|
* @param {string} organizationId Organization ID
|
|
25540
|
+
* @param {string} webhookId Webhook ID
|
|
25536
25541
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25537
25542
|
* @param {*} [options] Override http request option.
|
|
25538
25543
|
* @throws {RequiredError}
|
|
25539
25544
|
*/
|
|
25540
|
-
editOrganizationWebhook: (organizationId, organizationWebhookCreateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
25545
|
+
editOrganizationWebhook: (organizationId, webhookId, organizationWebhookCreateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
25541
25546
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25542
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);
|
|
25543
25550
|
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
|
|
25544
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25551
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25552
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
25545
25553
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25546
25554
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25547
25555
|
let baseOptions;
|
|
@@ -25660,12 +25668,13 @@ const OrganizationWebhookApiFp = function (configuration) {
|
|
|
25660
25668
|
* Delete organization webhook
|
|
25661
25669
|
* @summary Delete organization webhook
|
|
25662
25670
|
* @param {string} organizationId Organization ID
|
|
25671
|
+
* @param {string} webhookId Webhook ID
|
|
25663
25672
|
* @param {*} [options] Override http request option.
|
|
25664
25673
|
* @throws {RequiredError}
|
|
25665
25674
|
*/
|
|
25666
|
-
deleteOrganizationWebhook(organizationId, options) {
|
|
25675
|
+
deleteOrganizationWebhook(organizationId, webhookId, options) {
|
|
25667
25676
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25668
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationWebhook(organizationId, options);
|
|
25677
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationWebhook(organizationId, webhookId, options);
|
|
25669
25678
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
25670
25679
|
});
|
|
25671
25680
|
},
|
|
@@ -25673,13 +25682,14 @@ const OrganizationWebhookApiFp = function (configuration) {
|
|
|
25673
25682
|
* Edit an organization webhook
|
|
25674
25683
|
* @summary Edit an organization webhook
|
|
25675
25684
|
* @param {string} organizationId Organization ID
|
|
25685
|
+
* @param {string} webhookId Webhook ID
|
|
25676
25686
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25677
25687
|
* @param {*} [options] Override http request option.
|
|
25678
25688
|
* @throws {RequiredError}
|
|
25679
25689
|
*/
|
|
25680
|
-
editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
25690
|
+
editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
|
|
25681
25691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25682
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
|
|
25692
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
|
|
25683
25693
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
25684
25694
|
});
|
|
25685
25695
|
},
|
|
@@ -25735,22 +25745,24 @@ const OrganizationWebhookApiFactory = function (configuration, basePath, axios)
|
|
|
25735
25745
|
* Delete organization webhook
|
|
25736
25746
|
* @summary Delete organization webhook
|
|
25737
25747
|
* @param {string} organizationId Organization ID
|
|
25748
|
+
* @param {string} webhookId Webhook ID
|
|
25738
25749
|
* @param {*} [options] Override http request option.
|
|
25739
25750
|
* @throws {RequiredError}
|
|
25740
25751
|
*/
|
|
25741
|
-
deleteOrganizationWebhook(organizationId, options) {
|
|
25742
|
-
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));
|
|
25743
25754
|
},
|
|
25744
25755
|
/**
|
|
25745
25756
|
* Edit an organization webhook
|
|
25746
25757
|
* @summary Edit an organization webhook
|
|
25747
25758
|
* @param {string} organizationId Organization ID
|
|
25759
|
+
* @param {string} webhookId Webhook ID
|
|
25748
25760
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25749
25761
|
* @param {*} [options] Override http request option.
|
|
25750
25762
|
* @throws {RequiredError}
|
|
25751
25763
|
*/
|
|
25752
|
-
editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
25753
|
-
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));
|
|
25754
25766
|
},
|
|
25755
25767
|
/**
|
|
25756
25768
|
* Get an Organization webhook
|
|
@@ -25799,24 +25811,26 @@ class OrganizationWebhookApi extends base_1.BaseAPI {
|
|
|
25799
25811
|
* Delete organization webhook
|
|
25800
25812
|
* @summary Delete organization webhook
|
|
25801
25813
|
* @param {string} organizationId Organization ID
|
|
25814
|
+
* @param {string} webhookId Webhook ID
|
|
25802
25815
|
* @param {*} [options] Override http request option.
|
|
25803
25816
|
* @throws {RequiredError}
|
|
25804
25817
|
* @memberof OrganizationWebhookApi
|
|
25805
25818
|
*/
|
|
25806
|
-
deleteOrganizationWebhook(organizationId, options) {
|
|
25807
|
-
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));
|
|
25808
25821
|
}
|
|
25809
25822
|
/**
|
|
25810
25823
|
* Edit an organization webhook
|
|
25811
25824
|
* @summary Edit an organization webhook
|
|
25812
25825
|
* @param {string} organizationId Organization ID
|
|
25826
|
+
* @param {string} webhookId Webhook ID
|
|
25813
25827
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25814
25828
|
* @param {*} [options] Override http request option.
|
|
25815
25829
|
* @throws {RequiredError}
|
|
25816
25830
|
* @memberof OrganizationWebhookApi
|
|
25817
25831
|
*/
|
|
25818
|
-
editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
25819
|
-
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));
|
|
25820
25834
|
}
|
|
25821
25835
|
/**
|
|
25822
25836
|
* Get an Organization webhook
|