qovery-typescript-axios 1.1.119 → 1.1.121
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 +189 -16
- package/dist/api.d.ts +137 -8
- package/dist/api.js +96 -16
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7860,6 +7860,75 @@ export interface InlineResponse200 {
|
|
|
7860
7860
|
*/
|
|
7861
7861
|
'databases'?: Array<Status>;
|
|
7862
7862
|
}
|
|
7863
|
+
/**
|
|
7864
|
+
*
|
|
7865
|
+
* @export
|
|
7866
|
+
* @interface InlineResponse2001
|
|
7867
|
+
*/
|
|
7868
|
+
export interface InlineResponse2001 {
|
|
7869
|
+
/**
|
|
7870
|
+
*
|
|
7871
|
+
* @type {Status}
|
|
7872
|
+
* @memberof InlineResponse2001
|
|
7873
|
+
*/
|
|
7874
|
+
'environment'?: Status;
|
|
7875
|
+
/**
|
|
7876
|
+
*
|
|
7877
|
+
* @type {InlineResponse2001Stages}
|
|
7878
|
+
* @memberof InlineResponse2001
|
|
7879
|
+
*/
|
|
7880
|
+
'stages'?: InlineResponse2001Stages;
|
|
7881
|
+
}
|
|
7882
|
+
/**
|
|
7883
|
+
*
|
|
7884
|
+
* @export
|
|
7885
|
+
* @interface InlineResponse2001Stages
|
|
7886
|
+
*/
|
|
7887
|
+
export interface InlineResponse2001Stages {
|
|
7888
|
+
/**
|
|
7889
|
+
*
|
|
7890
|
+
* @type {Array<InlineResponse2001StagesResults>}
|
|
7891
|
+
* @memberof InlineResponse2001Stages
|
|
7892
|
+
*/
|
|
7893
|
+
'results'?: Array<InlineResponse2001StagesResults>;
|
|
7894
|
+
}
|
|
7895
|
+
/**
|
|
7896
|
+
*
|
|
7897
|
+
* @export
|
|
7898
|
+
* @interface InlineResponse2001StagesResults
|
|
7899
|
+
*/
|
|
7900
|
+
export interface InlineResponse2001StagesResults {
|
|
7901
|
+
/**
|
|
7902
|
+
*
|
|
7903
|
+
* @type {Array<Status>}
|
|
7904
|
+
* @memberof InlineResponse2001StagesResults
|
|
7905
|
+
*/
|
|
7906
|
+
'applications'?: Array<Status>;
|
|
7907
|
+
/**
|
|
7908
|
+
*
|
|
7909
|
+
* @type {Array<Status>}
|
|
7910
|
+
* @memberof InlineResponse2001StagesResults
|
|
7911
|
+
*/
|
|
7912
|
+
'containers'?: Array<Status>;
|
|
7913
|
+
/**
|
|
7914
|
+
*
|
|
7915
|
+
* @type {Array<Status>}
|
|
7916
|
+
* @memberof InlineResponse2001StagesResults
|
|
7917
|
+
*/
|
|
7918
|
+
'jobs'?: Array<Status>;
|
|
7919
|
+
/**
|
|
7920
|
+
*
|
|
7921
|
+
* @type {Array<Status>}
|
|
7922
|
+
* @memberof InlineResponse2001StagesResults
|
|
7923
|
+
*/
|
|
7924
|
+
'databases'?: Array<Status>;
|
|
7925
|
+
/**
|
|
7926
|
+
*
|
|
7927
|
+
* @type {Stage}
|
|
7928
|
+
* @memberof InlineResponse2001StagesResults
|
|
7929
|
+
*/
|
|
7930
|
+
'stage'?: Stage;
|
|
7931
|
+
}
|
|
7863
7932
|
/**
|
|
7864
7933
|
*
|
|
7865
7934
|
* @export
|
|
@@ -12333,6 +12402,25 @@ export interface SignUpRequest {
|
|
|
12333
12402
|
*/
|
|
12334
12403
|
'dx_auth'?: boolean | null;
|
|
12335
12404
|
}
|
|
12405
|
+
/**
|
|
12406
|
+
*
|
|
12407
|
+
* @export
|
|
12408
|
+
* @interface Stage
|
|
12409
|
+
*/
|
|
12410
|
+
export interface Stage {
|
|
12411
|
+
/**
|
|
12412
|
+
*
|
|
12413
|
+
* @type {string}
|
|
12414
|
+
* @memberof Stage
|
|
12415
|
+
*/
|
|
12416
|
+
'id': string;
|
|
12417
|
+
/**
|
|
12418
|
+
* stage name
|
|
12419
|
+
* @type {string}
|
|
12420
|
+
* @memberof Stage
|
|
12421
|
+
*/
|
|
12422
|
+
'name': string;
|
|
12423
|
+
}
|
|
12336
12424
|
/**
|
|
12337
12425
|
*
|
|
12338
12426
|
* @export
|
|
@@ -31285,6 +31373,44 @@ export const EnvironmentMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
31285
31373
|
|
|
31286
31374
|
|
|
31287
31375
|
|
|
31376
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31377
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31378
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31379
|
+
|
|
31380
|
+
return {
|
|
31381
|
+
url: toPathString(localVarUrlObj),
|
|
31382
|
+
options: localVarRequestOptions,
|
|
31383
|
+
};
|
|
31384
|
+
},
|
|
31385
|
+
/**
|
|
31386
|
+
*
|
|
31387
|
+
* @summary Get environment statuses with stages
|
|
31388
|
+
* @param {string} environmentId Environment ID
|
|
31389
|
+
* @param {*} [options] Override http request option.
|
|
31390
|
+
* @throws {RequiredError}
|
|
31391
|
+
*/
|
|
31392
|
+
getEnvironmentStatusesWithStages: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31393
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31394
|
+
assertParamExists('getEnvironmentStatusesWithStages', 'environmentId', environmentId)
|
|
31395
|
+
const localVarPath = `/environment/{environmentId}/statusesWithStages`
|
|
31396
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
31397
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31398
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31399
|
+
let baseOptions;
|
|
31400
|
+
if (configuration) {
|
|
31401
|
+
baseOptions = configuration.baseOptions;
|
|
31402
|
+
}
|
|
31403
|
+
|
|
31404
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
31405
|
+
const localVarHeaderParameter = {} as any;
|
|
31406
|
+
const localVarQueryParameter = {} as any;
|
|
31407
|
+
|
|
31408
|
+
// authentication bearerAuth required
|
|
31409
|
+
// http bearer authentication required
|
|
31410
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31411
|
+
|
|
31412
|
+
|
|
31413
|
+
|
|
31288
31414
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31289
31415
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31290
31416
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -31360,6 +31486,17 @@ export const EnvironmentMainCallsApiFp = function(configuration?: Configuration)
|
|
|
31360
31486
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatuses(environmentId, options);
|
|
31361
31487
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31362
31488
|
},
|
|
31489
|
+
/**
|
|
31490
|
+
*
|
|
31491
|
+
* @summary Get environment statuses with stages
|
|
31492
|
+
* @param {string} environmentId Environment ID
|
|
31493
|
+
* @param {*} [options] Override http request option.
|
|
31494
|
+
* @throws {RequiredError}
|
|
31495
|
+
*/
|
|
31496
|
+
async getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2001>> {
|
|
31497
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatusesWithStages(environmentId, options);
|
|
31498
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31499
|
+
},
|
|
31363
31500
|
}
|
|
31364
31501
|
};
|
|
31365
31502
|
|
|
@@ -31421,6 +31558,16 @@ export const EnvironmentMainCallsApiFactory = function (configuration?: Configur
|
|
|
31421
31558
|
getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse200> {
|
|
31422
31559
|
return localVarFp.getEnvironmentStatuses(environmentId, options).then((request) => request(axios, basePath));
|
|
31423
31560
|
},
|
|
31561
|
+
/**
|
|
31562
|
+
*
|
|
31563
|
+
* @summary Get environment statuses with stages
|
|
31564
|
+
* @param {string} environmentId Environment ID
|
|
31565
|
+
* @param {*} [options] Override http request option.
|
|
31566
|
+
* @throws {RequiredError}
|
|
31567
|
+
*/
|
|
31568
|
+
getEnvironmentStatusesWithStages(environmentId: string, options?: any): AxiosPromise<InlineResponse2001> {
|
|
31569
|
+
return localVarFp.getEnvironmentStatusesWithStages(environmentId, options).then((request) => request(axios, basePath));
|
|
31570
|
+
},
|
|
31424
31571
|
};
|
|
31425
31572
|
};
|
|
31426
31573
|
|
|
@@ -31491,6 +31638,18 @@ export class EnvironmentMainCallsApi extends BaseAPI {
|
|
|
31491
31638
|
public getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig) {
|
|
31492
31639
|
return EnvironmentMainCallsApiFp(this.configuration).getEnvironmentStatuses(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
31493
31640
|
}
|
|
31641
|
+
|
|
31642
|
+
/**
|
|
31643
|
+
*
|
|
31644
|
+
* @summary Get environment statuses with stages
|
|
31645
|
+
* @param {string} environmentId Environment ID
|
|
31646
|
+
* @param {*} [options] Override http request option.
|
|
31647
|
+
* @throws {RequiredError}
|
|
31648
|
+
* @memberof EnvironmentMainCallsApi
|
|
31649
|
+
*/
|
|
31650
|
+
public getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig) {
|
|
31651
|
+
return EnvironmentMainCallsApiFp(this.configuration).getEnvironmentStatusesWithStages(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
31652
|
+
}
|
|
31494
31653
|
}
|
|
31495
31654
|
|
|
31496
31655
|
|
|
@@ -39418,14 +39577,18 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
|
|
|
39418
39577
|
* Delete organization webhook
|
|
39419
39578
|
* @summary Delete organization webhook
|
|
39420
39579
|
* @param {string} organizationId Organization ID
|
|
39580
|
+
* @param {string} webhookId Webhook ID
|
|
39421
39581
|
* @param {*} [options] Override http request option.
|
|
39422
39582
|
* @throws {RequiredError}
|
|
39423
39583
|
*/
|
|
39424
|
-
deleteOrganizationWebhook: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39584
|
+
deleteOrganizationWebhook: async (organizationId: string, webhookId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39425
39585
|
// verify required parameter 'organizationId' is not null or undefined
|
|
39426
39586
|
assertParamExists('deleteOrganizationWebhook', 'organizationId', organizationId)
|
|
39587
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
39588
|
+
assertParamExists('deleteOrganizationWebhook', 'webhookId', webhookId)
|
|
39427
39589
|
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
|
|
39428
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
39590
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
39591
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
39429
39592
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39430
39593
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39431
39594
|
let baseOptions;
|
|
@@ -39456,15 +39619,19 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
|
|
|
39456
39619
|
* Edit an organization webhook
|
|
39457
39620
|
* @summary Edit an organization webhook
|
|
39458
39621
|
* @param {string} organizationId Organization ID
|
|
39622
|
+
* @param {string} webhookId Webhook ID
|
|
39459
39623
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
39460
39624
|
* @param {*} [options] Override http request option.
|
|
39461
39625
|
* @throws {RequiredError}
|
|
39462
39626
|
*/
|
|
39463
|
-
editOrganizationWebhook: async (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39627
|
+
editOrganizationWebhook: async (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39464
39628
|
// verify required parameter 'organizationId' is not null or undefined
|
|
39465
39629
|
assertParamExists('editOrganizationWebhook', 'organizationId', organizationId)
|
|
39630
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
39631
|
+
assertParamExists('editOrganizationWebhook', 'webhookId', webhookId)
|
|
39466
39632
|
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
|
|
39467
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
39633
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
39634
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
39468
39635
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39469
39636
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39470
39637
|
let baseOptions;
|
|
@@ -39600,23 +39767,25 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
|
|
|
39600
39767
|
* Delete organization webhook
|
|
39601
39768
|
* @summary Delete organization webhook
|
|
39602
39769
|
* @param {string} organizationId Organization ID
|
|
39770
|
+
* @param {string} webhookId Webhook ID
|
|
39603
39771
|
* @param {*} [options] Override http request option.
|
|
39604
39772
|
* @throws {RequiredError}
|
|
39605
39773
|
*/
|
|
39606
|
-
async deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
39607
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationWebhook(organizationId, options);
|
|
39774
|
+
async deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
39775
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationWebhook(organizationId, webhookId, options);
|
|
39608
39776
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39609
39777
|
},
|
|
39610
39778
|
/**
|
|
39611
39779
|
* Edit an organization webhook
|
|
39612
39780
|
* @summary Edit an organization webhook
|
|
39613
39781
|
* @param {string} organizationId Organization ID
|
|
39782
|
+
* @param {string} webhookId Webhook ID
|
|
39614
39783
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
39615
39784
|
* @param {*} [options] Override http request option.
|
|
39616
39785
|
* @throws {RequiredError}
|
|
39617
39786
|
*/
|
|
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);
|
|
39787
|
+
async editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>> {
|
|
39788
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
|
|
39620
39789
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39621
39790
|
},
|
|
39622
39791
|
/**
|
|
@@ -39667,22 +39836,24 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
|
|
|
39667
39836
|
* Delete organization webhook
|
|
39668
39837
|
* @summary Delete organization webhook
|
|
39669
39838
|
* @param {string} organizationId Organization ID
|
|
39839
|
+
* @param {string} webhookId Webhook ID
|
|
39670
39840
|
* @param {*} [options] Override http request option.
|
|
39671
39841
|
* @throws {RequiredError}
|
|
39672
39842
|
*/
|
|
39673
|
-
deleteOrganizationWebhook(organizationId: string, options?: any): AxiosPromise<void> {
|
|
39674
|
-
return localVarFp.deleteOrganizationWebhook(organizationId, options).then((request) => request(axios, basePath));
|
|
39843
|
+
deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: any): AxiosPromise<void> {
|
|
39844
|
+
return localVarFp.deleteOrganizationWebhook(organizationId, webhookId, options).then((request) => request(axios, basePath));
|
|
39675
39845
|
},
|
|
39676
39846
|
/**
|
|
39677
39847
|
* Edit an organization webhook
|
|
39678
39848
|
* @summary Edit an organization webhook
|
|
39679
39849
|
* @param {string} organizationId Organization ID
|
|
39850
|
+
* @param {string} webhookId Webhook ID
|
|
39680
39851
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
39681
39852
|
* @param {*} [options] Override http request option.
|
|
39682
39853
|
* @throws {RequiredError}
|
|
39683
39854
|
*/
|
|
39684
|
-
editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse> {
|
|
39685
|
-
return localVarFp.editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
|
|
39855
|
+
editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse> {
|
|
39856
|
+
return localVarFp.editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
|
|
39686
39857
|
},
|
|
39687
39858
|
/**
|
|
39688
39859
|
* Get an Organization webhook
|
|
@@ -39732,25 +39903,27 @@ export class OrganizationWebhookApi extends BaseAPI {
|
|
|
39732
39903
|
* Delete organization webhook
|
|
39733
39904
|
* @summary Delete organization webhook
|
|
39734
39905
|
* @param {string} organizationId Organization ID
|
|
39906
|
+
* @param {string} webhookId Webhook ID
|
|
39735
39907
|
* @param {*} [options] Override http request option.
|
|
39736
39908
|
* @throws {RequiredError}
|
|
39737
39909
|
* @memberof OrganizationWebhookApi
|
|
39738
39910
|
*/
|
|
39739
|
-
public deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig) {
|
|
39740
|
-
return OrganizationWebhookApiFp(this.configuration).deleteOrganizationWebhook(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
39911
|
+
public deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: AxiosRequestConfig) {
|
|
39912
|
+
return OrganizationWebhookApiFp(this.configuration).deleteOrganizationWebhook(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
|
|
39741
39913
|
}
|
|
39742
39914
|
|
|
39743
39915
|
/**
|
|
39744
39916
|
* Edit an organization webhook
|
|
39745
39917
|
* @summary Edit an organization webhook
|
|
39746
39918
|
* @param {string} organizationId Organization ID
|
|
39919
|
+
* @param {string} webhookId Webhook ID
|
|
39747
39920
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
39748
39921
|
* @param {*} [options] Override http request option.
|
|
39749
39922
|
* @throws {RequiredError}
|
|
39750
39923
|
* @memberof OrganizationWebhookApi
|
|
39751
39924
|
*/
|
|
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));
|
|
39925
|
+
public editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig) {
|
|
39926
|
+
return OrganizationWebhookApiFp(this.configuration).editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
39754
39927
|
}
|
|
39755
39928
|
|
|
39756
39929
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -7807,6 +7807,75 @@ export interface InlineResponse200 {
|
|
|
7807
7807
|
*/
|
|
7808
7808
|
'databases'?: Array<Status>;
|
|
7809
7809
|
}
|
|
7810
|
+
/**
|
|
7811
|
+
*
|
|
7812
|
+
* @export
|
|
7813
|
+
* @interface InlineResponse2001
|
|
7814
|
+
*/
|
|
7815
|
+
export interface InlineResponse2001 {
|
|
7816
|
+
/**
|
|
7817
|
+
*
|
|
7818
|
+
* @type {Status}
|
|
7819
|
+
* @memberof InlineResponse2001
|
|
7820
|
+
*/
|
|
7821
|
+
'environment'?: Status;
|
|
7822
|
+
/**
|
|
7823
|
+
*
|
|
7824
|
+
* @type {InlineResponse2001Stages}
|
|
7825
|
+
* @memberof InlineResponse2001
|
|
7826
|
+
*/
|
|
7827
|
+
'stages'?: InlineResponse2001Stages;
|
|
7828
|
+
}
|
|
7829
|
+
/**
|
|
7830
|
+
*
|
|
7831
|
+
* @export
|
|
7832
|
+
* @interface InlineResponse2001Stages
|
|
7833
|
+
*/
|
|
7834
|
+
export interface InlineResponse2001Stages {
|
|
7835
|
+
/**
|
|
7836
|
+
*
|
|
7837
|
+
* @type {Array<InlineResponse2001StagesResults>}
|
|
7838
|
+
* @memberof InlineResponse2001Stages
|
|
7839
|
+
*/
|
|
7840
|
+
'results'?: Array<InlineResponse2001StagesResults>;
|
|
7841
|
+
}
|
|
7842
|
+
/**
|
|
7843
|
+
*
|
|
7844
|
+
* @export
|
|
7845
|
+
* @interface InlineResponse2001StagesResults
|
|
7846
|
+
*/
|
|
7847
|
+
export interface InlineResponse2001StagesResults {
|
|
7848
|
+
/**
|
|
7849
|
+
*
|
|
7850
|
+
* @type {Array<Status>}
|
|
7851
|
+
* @memberof InlineResponse2001StagesResults
|
|
7852
|
+
*/
|
|
7853
|
+
'applications'?: Array<Status>;
|
|
7854
|
+
/**
|
|
7855
|
+
*
|
|
7856
|
+
* @type {Array<Status>}
|
|
7857
|
+
* @memberof InlineResponse2001StagesResults
|
|
7858
|
+
*/
|
|
7859
|
+
'containers'?: Array<Status>;
|
|
7860
|
+
/**
|
|
7861
|
+
*
|
|
7862
|
+
* @type {Array<Status>}
|
|
7863
|
+
* @memberof InlineResponse2001StagesResults
|
|
7864
|
+
*/
|
|
7865
|
+
'jobs'?: Array<Status>;
|
|
7866
|
+
/**
|
|
7867
|
+
*
|
|
7868
|
+
* @type {Array<Status>}
|
|
7869
|
+
* @memberof InlineResponse2001StagesResults
|
|
7870
|
+
*/
|
|
7871
|
+
'databases'?: Array<Status>;
|
|
7872
|
+
/**
|
|
7873
|
+
*
|
|
7874
|
+
* @type {Stage}
|
|
7875
|
+
* @memberof InlineResponse2001StagesResults
|
|
7876
|
+
*/
|
|
7877
|
+
'stage'?: Stage;
|
|
7878
|
+
}
|
|
7810
7879
|
/**
|
|
7811
7880
|
*
|
|
7812
7881
|
* @export
|
|
@@ -12244,6 +12313,25 @@ export interface SignUpRequest {
|
|
|
12244
12313
|
*/
|
|
12245
12314
|
'dx_auth'?: boolean | null;
|
|
12246
12315
|
}
|
|
12316
|
+
/**
|
|
12317
|
+
*
|
|
12318
|
+
* @export
|
|
12319
|
+
* @interface Stage
|
|
12320
|
+
*/
|
|
12321
|
+
export interface Stage {
|
|
12322
|
+
/**
|
|
12323
|
+
*
|
|
12324
|
+
* @type {string}
|
|
12325
|
+
* @memberof Stage
|
|
12326
|
+
*/
|
|
12327
|
+
'id': string;
|
|
12328
|
+
/**
|
|
12329
|
+
* stage name
|
|
12330
|
+
* @type {string}
|
|
12331
|
+
* @memberof Stage
|
|
12332
|
+
*/
|
|
12333
|
+
'name': string;
|
|
12334
|
+
}
|
|
12247
12335
|
/**
|
|
12248
12336
|
*
|
|
12249
12337
|
* @export
|
|
@@ -21680,6 +21768,14 @@ export declare const EnvironmentMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
21680
21768
|
* @throws {RequiredError}
|
|
21681
21769
|
*/
|
|
21682
21770
|
getEnvironmentStatuses: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21771
|
+
/**
|
|
21772
|
+
*
|
|
21773
|
+
* @summary Get environment statuses with stages
|
|
21774
|
+
* @param {string} environmentId Environment ID
|
|
21775
|
+
* @param {*} [options] Override http request option.
|
|
21776
|
+
* @throws {RequiredError}
|
|
21777
|
+
*/
|
|
21778
|
+
getEnvironmentStatusesWithStages: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21683
21779
|
};
|
|
21684
21780
|
/**
|
|
21685
21781
|
* EnvironmentMainCallsApi - functional programming interface
|
|
@@ -21727,6 +21823,14 @@ export declare const EnvironmentMainCallsApiFp: (configuration?: Configuration)
|
|
|
21727
21823
|
* @throws {RequiredError}
|
|
21728
21824
|
*/
|
|
21729
21825
|
getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
21826
|
+
/**
|
|
21827
|
+
*
|
|
21828
|
+
* @summary Get environment statuses with stages
|
|
21829
|
+
* @param {string} environmentId Environment ID
|
|
21830
|
+
* @param {*} [options] Override http request option.
|
|
21831
|
+
* @throws {RequiredError}
|
|
21832
|
+
*/
|
|
21833
|
+
getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2001>>;
|
|
21730
21834
|
};
|
|
21731
21835
|
/**
|
|
21732
21836
|
* EnvironmentMainCallsApi - factory interface
|
|
@@ -21774,6 +21878,14 @@ export declare const EnvironmentMainCallsApiFactory: (configuration?: Configurat
|
|
|
21774
21878
|
* @throws {RequiredError}
|
|
21775
21879
|
*/
|
|
21776
21880
|
getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse200>;
|
|
21881
|
+
/**
|
|
21882
|
+
*
|
|
21883
|
+
* @summary Get environment statuses with stages
|
|
21884
|
+
* @param {string} environmentId Environment ID
|
|
21885
|
+
* @param {*} [options] Override http request option.
|
|
21886
|
+
* @throws {RequiredError}
|
|
21887
|
+
*/
|
|
21888
|
+
getEnvironmentStatusesWithStages(environmentId: string, options?: any): AxiosPromise<InlineResponse2001>;
|
|
21777
21889
|
};
|
|
21778
21890
|
/**
|
|
21779
21891
|
* EnvironmentMainCallsApi - object-oriented interface
|
|
@@ -21828,6 +21940,15 @@ export declare class EnvironmentMainCallsApi extends BaseAPI {
|
|
|
21828
21940
|
* @memberof EnvironmentMainCallsApi
|
|
21829
21941
|
*/
|
|
21830
21942
|
getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200>>;
|
|
21943
|
+
/**
|
|
21944
|
+
*
|
|
21945
|
+
* @summary Get environment statuses with stages
|
|
21946
|
+
* @param {string} environmentId Environment ID
|
|
21947
|
+
* @param {*} [options] Override http request option.
|
|
21948
|
+
* @throws {RequiredError}
|
|
21949
|
+
* @memberof EnvironmentMainCallsApi
|
|
21950
|
+
*/
|
|
21951
|
+
getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse2001>>;
|
|
21831
21952
|
}
|
|
21832
21953
|
/**
|
|
21833
21954
|
* EnvironmentSecretApi - axios parameter creator
|
|
@@ -25715,19 +25836,21 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
|
|
|
25715
25836
|
* Delete organization webhook
|
|
25716
25837
|
* @summary Delete organization webhook
|
|
25717
25838
|
* @param {string} organizationId Organization ID
|
|
25839
|
+
* @param {string} webhookId Webhook ID
|
|
25718
25840
|
* @param {*} [options] Override http request option.
|
|
25719
25841
|
* @throws {RequiredError}
|
|
25720
25842
|
*/
|
|
25721
|
-
deleteOrganizationWebhook: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25843
|
+
deleteOrganizationWebhook: (organizationId: string, webhookId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25722
25844
|
/**
|
|
25723
25845
|
* Edit an organization webhook
|
|
25724
25846
|
* @summary Edit an organization webhook
|
|
25725
25847
|
* @param {string} organizationId Organization ID
|
|
25848
|
+
* @param {string} webhookId Webhook ID
|
|
25726
25849
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25727
25850
|
* @param {*} [options] Override http request option.
|
|
25728
25851
|
* @throws {RequiredError}
|
|
25729
25852
|
*/
|
|
25730
|
-
editOrganizationWebhook: (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25853
|
+
editOrganizationWebhook: (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25731
25854
|
/**
|
|
25732
25855
|
* Get an Organization webhook
|
|
25733
25856
|
* @summary Get an Organization webhook
|
|
@@ -25764,19 +25887,21 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
|
|
|
25764
25887
|
* Delete organization webhook
|
|
25765
25888
|
* @summary Delete organization webhook
|
|
25766
25889
|
* @param {string} organizationId Organization ID
|
|
25890
|
+
* @param {string} webhookId Webhook ID
|
|
25767
25891
|
* @param {*} [options] Override http request option.
|
|
25768
25892
|
* @throws {RequiredError}
|
|
25769
25893
|
*/
|
|
25770
|
-
deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25894
|
+
deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25771
25895
|
/**
|
|
25772
25896
|
* Edit an organization webhook
|
|
25773
25897
|
* @summary Edit an organization webhook
|
|
25774
25898
|
* @param {string} organizationId Organization ID
|
|
25899
|
+
* @param {string} webhookId Webhook ID
|
|
25775
25900
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25776
25901
|
* @param {*} [options] Override http request option.
|
|
25777
25902
|
* @throws {RequiredError}
|
|
25778
25903
|
*/
|
|
25779
|
-
editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
|
|
25904
|
+
editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
|
|
25780
25905
|
/**
|
|
25781
25906
|
* Get an Organization webhook
|
|
25782
25907
|
* @summary Get an Organization webhook
|
|
@@ -25813,19 +25938,21 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
|
|
|
25813
25938
|
* Delete organization webhook
|
|
25814
25939
|
* @summary Delete organization webhook
|
|
25815
25940
|
* @param {string} organizationId Organization ID
|
|
25941
|
+
* @param {string} webhookId Webhook ID
|
|
25816
25942
|
* @param {*} [options] Override http request option.
|
|
25817
25943
|
* @throws {RequiredError}
|
|
25818
25944
|
*/
|
|
25819
|
-
deleteOrganizationWebhook(organizationId: string, options?: any): AxiosPromise<void>;
|
|
25945
|
+
deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: any): AxiosPromise<void>;
|
|
25820
25946
|
/**
|
|
25821
25947
|
* Edit an organization webhook
|
|
25822
25948
|
* @summary Edit an organization webhook
|
|
25823
25949
|
* @param {string} organizationId Organization ID
|
|
25950
|
+
* @param {string} webhookId Webhook ID
|
|
25824
25951
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25825
25952
|
* @param {*} [options] Override http request option.
|
|
25826
25953
|
* @throws {RequiredError}
|
|
25827
25954
|
*/
|
|
25828
|
-
editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse>;
|
|
25955
|
+
editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: any): AxiosPromise<OrganizationWebhookCreateResponse>;
|
|
25829
25956
|
/**
|
|
25830
25957
|
* Get an Organization webhook
|
|
25831
25958
|
* @summary Get an Organization webhook
|
|
@@ -25865,21 +25992,23 @@ export declare class OrganizationWebhookApi extends BaseAPI {
|
|
|
25865
25992
|
* Delete organization webhook
|
|
25866
25993
|
* @summary Delete organization webhook
|
|
25867
25994
|
* @param {string} organizationId Organization ID
|
|
25995
|
+
* @param {string} webhookId Webhook ID
|
|
25868
25996
|
* @param {*} [options] Override http request option.
|
|
25869
25997
|
* @throws {RequiredError}
|
|
25870
25998
|
* @memberof OrganizationWebhookApi
|
|
25871
25999
|
*/
|
|
25872
|
-
deleteOrganizationWebhook(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
26000
|
+
deleteOrganizationWebhook(organizationId: string, webhookId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
25873
26001
|
/**
|
|
25874
26002
|
* Edit an organization webhook
|
|
25875
26003
|
* @summary Edit an organization webhook
|
|
25876
26004
|
* @param {string} organizationId Organization ID
|
|
26005
|
+
* @param {string} webhookId Webhook ID
|
|
25877
26006
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25878
26007
|
* @param {*} [options] Override http request option.
|
|
25879
26008
|
* @throws {RequiredError}
|
|
25880
26009
|
* @memberof OrganizationWebhookApi
|
|
25881
26010
|
*/
|
|
25882
|
-
editOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse>>;
|
|
26011
|
+
editOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse>>;
|
|
25883
26012
|
/**
|
|
25884
26013
|
* Get an Organization webhook
|
|
25885
26014
|
* @summary Get an Organization webhook
|
package/dist/api.js
CHANGED
|
@@ -17897,6 +17897,38 @@ const EnvironmentMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
17897
17897
|
options: localVarRequestOptions,
|
|
17898
17898
|
};
|
|
17899
17899
|
}),
|
|
17900
|
+
/**
|
|
17901
|
+
*
|
|
17902
|
+
* @summary Get environment statuses with stages
|
|
17903
|
+
* @param {string} environmentId Environment ID
|
|
17904
|
+
* @param {*} [options] Override http request option.
|
|
17905
|
+
* @throws {RequiredError}
|
|
17906
|
+
*/
|
|
17907
|
+
getEnvironmentStatusesWithStages: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
17908
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
17909
|
+
(0, common_1.assertParamExists)('getEnvironmentStatusesWithStages', 'environmentId', environmentId);
|
|
17910
|
+
const localVarPath = `/environment/{environmentId}/statusesWithStages`
|
|
17911
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
17912
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17913
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17914
|
+
let baseOptions;
|
|
17915
|
+
if (configuration) {
|
|
17916
|
+
baseOptions = configuration.baseOptions;
|
|
17917
|
+
}
|
|
17918
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17919
|
+
const localVarHeaderParameter = {};
|
|
17920
|
+
const localVarQueryParameter = {};
|
|
17921
|
+
// authentication bearerAuth required
|
|
17922
|
+
// http bearer authentication required
|
|
17923
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17924
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17925
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17926
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17927
|
+
return {
|
|
17928
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17929
|
+
options: localVarRequestOptions,
|
|
17930
|
+
};
|
|
17931
|
+
}),
|
|
17900
17932
|
};
|
|
17901
17933
|
};
|
|
17902
17934
|
exports.EnvironmentMainCallsApiAxiosParamCreator = EnvironmentMainCallsApiAxiosParamCreator;
|
|
@@ -17973,6 +18005,19 @@ const EnvironmentMainCallsApiFp = function (configuration) {
|
|
|
17973
18005
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17974
18006
|
});
|
|
17975
18007
|
},
|
|
18008
|
+
/**
|
|
18009
|
+
*
|
|
18010
|
+
* @summary Get environment statuses with stages
|
|
18011
|
+
* @param {string} environmentId Environment ID
|
|
18012
|
+
* @param {*} [options] Override http request option.
|
|
18013
|
+
* @throws {RequiredError}
|
|
18014
|
+
*/
|
|
18015
|
+
getEnvironmentStatusesWithStages(environmentId, options) {
|
|
18016
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18017
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentStatusesWithStages(environmentId, options);
|
|
18018
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
18019
|
+
});
|
|
18020
|
+
},
|
|
17976
18021
|
};
|
|
17977
18022
|
};
|
|
17978
18023
|
exports.EnvironmentMainCallsApiFp = EnvironmentMainCallsApiFp;
|
|
@@ -18034,6 +18079,16 @@ const EnvironmentMainCallsApiFactory = function (configuration, basePath, axios)
|
|
|
18034
18079
|
getEnvironmentStatuses(environmentId, options) {
|
|
18035
18080
|
return localVarFp.getEnvironmentStatuses(environmentId, options).then((request) => request(axios, basePath));
|
|
18036
18081
|
},
|
|
18082
|
+
/**
|
|
18083
|
+
*
|
|
18084
|
+
* @summary Get environment statuses with stages
|
|
18085
|
+
* @param {string} environmentId Environment ID
|
|
18086
|
+
* @param {*} [options] Override http request option.
|
|
18087
|
+
* @throws {RequiredError}
|
|
18088
|
+
*/
|
|
18089
|
+
getEnvironmentStatusesWithStages(environmentId, options) {
|
|
18090
|
+
return localVarFp.getEnvironmentStatusesWithStages(environmentId, options).then((request) => request(axios, basePath));
|
|
18091
|
+
},
|
|
18037
18092
|
};
|
|
18038
18093
|
};
|
|
18039
18094
|
exports.EnvironmentMainCallsApiFactory = EnvironmentMainCallsApiFactory;
|
|
@@ -18100,6 +18155,17 @@ class EnvironmentMainCallsApi extends base_1.BaseAPI {
|
|
|
18100
18155
|
getEnvironmentStatuses(environmentId, options) {
|
|
18101
18156
|
return (0, exports.EnvironmentMainCallsApiFp)(this.configuration).getEnvironmentStatuses(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
18102
18157
|
}
|
|
18158
|
+
/**
|
|
18159
|
+
*
|
|
18160
|
+
* @summary Get environment statuses with stages
|
|
18161
|
+
* @param {string} environmentId Environment ID
|
|
18162
|
+
* @param {*} [options] Override http request option.
|
|
18163
|
+
* @throws {RequiredError}
|
|
18164
|
+
* @memberof EnvironmentMainCallsApi
|
|
18165
|
+
*/
|
|
18166
|
+
getEnvironmentStatusesWithStages(environmentId, options) {
|
|
18167
|
+
return (0, exports.EnvironmentMainCallsApiFp)(this.configuration).getEnvironmentStatusesWithStages(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
18168
|
+
}
|
|
18103
18169
|
}
|
|
18104
18170
|
exports.EnvironmentMainCallsApi = EnvironmentMainCallsApi;
|
|
18105
18171
|
/**
|
|
@@ -25501,14 +25567,18 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
|
|
|
25501
25567
|
* Delete organization webhook
|
|
25502
25568
|
* @summary Delete organization webhook
|
|
25503
25569
|
* @param {string} organizationId Organization ID
|
|
25570
|
+
* @param {string} webhookId Webhook ID
|
|
25504
25571
|
* @param {*} [options] Override http request option.
|
|
25505
25572
|
* @throws {RequiredError}
|
|
25506
25573
|
*/
|
|
25507
|
-
deleteOrganizationWebhook: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
25574
|
+
deleteOrganizationWebhook: (organizationId, webhookId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
25508
25575
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25509
25576
|
(0, common_1.assertParamExists)('deleteOrganizationWebhook', 'organizationId', organizationId);
|
|
25577
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
25578
|
+
(0, common_1.assertParamExists)('deleteOrganizationWebhook', 'webhookId', webhookId);
|
|
25510
25579
|
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
|
|
25511
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25580
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25581
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
25512
25582
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25513
25583
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25514
25584
|
let baseOptions;
|
|
@@ -25533,15 +25603,19 @@ const OrganizationWebhookApiAxiosParamCreator = function (configuration) {
|
|
|
25533
25603
|
* Edit an organization webhook
|
|
25534
25604
|
* @summary Edit an organization webhook
|
|
25535
25605
|
* @param {string} organizationId Organization ID
|
|
25606
|
+
* @param {string} webhookId Webhook ID
|
|
25536
25607
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25537
25608
|
* @param {*} [options] Override http request option.
|
|
25538
25609
|
* @throws {RequiredError}
|
|
25539
25610
|
*/
|
|
25540
|
-
editOrganizationWebhook: (organizationId, organizationWebhookCreateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
25611
|
+
editOrganizationWebhook: (organizationId, webhookId, organizationWebhookCreateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
25541
25612
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25542
25613
|
(0, common_1.assertParamExists)('editOrganizationWebhook', 'organizationId', organizationId);
|
|
25614
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
25615
|
+
(0, common_1.assertParamExists)('editOrganizationWebhook', 'webhookId', webhookId);
|
|
25543
25616
|
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}`
|
|
25544
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25617
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25618
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
25545
25619
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25546
25620
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25547
25621
|
let baseOptions;
|
|
@@ -25660,12 +25734,13 @@ const OrganizationWebhookApiFp = function (configuration) {
|
|
|
25660
25734
|
* Delete organization webhook
|
|
25661
25735
|
* @summary Delete organization webhook
|
|
25662
25736
|
* @param {string} organizationId Organization ID
|
|
25737
|
+
* @param {string} webhookId Webhook ID
|
|
25663
25738
|
* @param {*} [options] Override http request option.
|
|
25664
25739
|
* @throws {RequiredError}
|
|
25665
25740
|
*/
|
|
25666
|
-
deleteOrganizationWebhook(organizationId, options) {
|
|
25741
|
+
deleteOrganizationWebhook(organizationId, webhookId, options) {
|
|
25667
25742
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25668
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationWebhook(organizationId, options);
|
|
25743
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationWebhook(organizationId, webhookId, options);
|
|
25669
25744
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
25670
25745
|
});
|
|
25671
25746
|
},
|
|
@@ -25673,13 +25748,14 @@ const OrganizationWebhookApiFp = function (configuration) {
|
|
|
25673
25748
|
* Edit an organization webhook
|
|
25674
25749
|
* @summary Edit an organization webhook
|
|
25675
25750
|
* @param {string} organizationId Organization ID
|
|
25751
|
+
* @param {string} webhookId Webhook ID
|
|
25676
25752
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25677
25753
|
* @param {*} [options] Override http request option.
|
|
25678
25754
|
* @throws {RequiredError}
|
|
25679
25755
|
*/
|
|
25680
|
-
editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
25756
|
+
editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
|
|
25681
25757
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25682
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
|
|
25758
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
|
|
25683
25759
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
25684
25760
|
});
|
|
25685
25761
|
},
|
|
@@ -25735,22 +25811,24 @@ const OrganizationWebhookApiFactory = function (configuration, basePath, axios)
|
|
|
25735
25811
|
* Delete organization webhook
|
|
25736
25812
|
* @summary Delete organization webhook
|
|
25737
25813
|
* @param {string} organizationId Organization ID
|
|
25814
|
+
* @param {string} webhookId Webhook ID
|
|
25738
25815
|
* @param {*} [options] Override http request option.
|
|
25739
25816
|
* @throws {RequiredError}
|
|
25740
25817
|
*/
|
|
25741
|
-
deleteOrganizationWebhook(organizationId, options) {
|
|
25742
|
-
return localVarFp.deleteOrganizationWebhook(organizationId, options).then((request) => request(axios, basePath));
|
|
25818
|
+
deleteOrganizationWebhook(organizationId, webhookId, options) {
|
|
25819
|
+
return localVarFp.deleteOrganizationWebhook(organizationId, webhookId, options).then((request) => request(axios, basePath));
|
|
25743
25820
|
},
|
|
25744
25821
|
/**
|
|
25745
25822
|
* Edit an organization webhook
|
|
25746
25823
|
* @summary Edit an organization webhook
|
|
25747
25824
|
* @param {string} organizationId Organization ID
|
|
25825
|
+
* @param {string} webhookId Webhook ID
|
|
25748
25826
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25749
25827
|
* @param {*} [options] Override http request option.
|
|
25750
25828
|
* @throws {RequiredError}
|
|
25751
25829
|
*/
|
|
25752
|
-
editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
25753
|
-
return localVarFp.editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
|
|
25830
|
+
editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
|
|
25831
|
+
return localVarFp.editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
|
|
25754
25832
|
},
|
|
25755
25833
|
/**
|
|
25756
25834
|
* Get an Organization webhook
|
|
@@ -25799,24 +25877,26 @@ class OrganizationWebhookApi extends base_1.BaseAPI {
|
|
|
25799
25877
|
* Delete organization webhook
|
|
25800
25878
|
* @summary Delete organization webhook
|
|
25801
25879
|
* @param {string} organizationId Organization ID
|
|
25880
|
+
* @param {string} webhookId Webhook ID
|
|
25802
25881
|
* @param {*} [options] Override http request option.
|
|
25803
25882
|
* @throws {RequiredError}
|
|
25804
25883
|
* @memberof OrganizationWebhookApi
|
|
25805
25884
|
*/
|
|
25806
|
-
deleteOrganizationWebhook(organizationId, options) {
|
|
25807
|
-
return (0, exports.OrganizationWebhookApiFp)(this.configuration).deleteOrganizationWebhook(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
25885
|
+
deleteOrganizationWebhook(organizationId, webhookId, options) {
|
|
25886
|
+
return (0, exports.OrganizationWebhookApiFp)(this.configuration).deleteOrganizationWebhook(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
|
|
25808
25887
|
}
|
|
25809
25888
|
/**
|
|
25810
25889
|
* Edit an organization webhook
|
|
25811
25890
|
* @summary Edit an organization webhook
|
|
25812
25891
|
* @param {string} organizationId Organization ID
|
|
25892
|
+
* @param {string} webhookId Webhook ID
|
|
25813
25893
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
25814
25894
|
* @param {*} [options] Override http request option.
|
|
25815
25895
|
* @throws {RequiredError}
|
|
25816
25896
|
* @memberof OrganizationWebhookApi
|
|
25817
25897
|
*/
|
|
25818
|
-
editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options) {
|
|
25819
|
-
return (0, exports.OrganizationWebhookApiFp)(this.configuration).editOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25898
|
+
editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options) {
|
|
25899
|
+
return (0, exports.OrganizationWebhookApiFp)(this.configuration).editOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25820
25900
|
}
|
|
25821
25901
|
/**
|
|
25822
25902
|
* Get an Organization webhook
|