qovery-typescript-axios 1.1.771 → 1.1.779
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 +184 -18
- package/dist/api.d.ts +129 -12
- package/dist/api.js +103 -18
- package/dist/esm/api.d.ts +129 -12
- package/dist/esm/api.js +103 -18
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -19259,6 +19259,12 @@ export interface TerraformVariableDefinition {
|
|
|
19259
19259
|
* @memberof TerraformVariableDefinition
|
|
19260
19260
|
*/
|
|
19261
19261
|
'sensitive': boolean;
|
|
19262
|
+
/**
|
|
19263
|
+
* Whether the variable accepts null values. If false, the variable is required.
|
|
19264
|
+
* @type {boolean}
|
|
19265
|
+
* @memberof TerraformVariableDefinition
|
|
19266
|
+
*/
|
|
19267
|
+
'nullable'?: boolean;
|
|
19262
19268
|
/**
|
|
19263
19269
|
* The default value of the variable, or null if no default is provided
|
|
19264
19270
|
* @type {string}
|
|
@@ -20079,6 +20085,76 @@ export interface VersionResponseList {
|
|
|
20079
20085
|
*/
|
|
20080
20086
|
'results'?: Array<Version>;
|
|
20081
20087
|
}
|
|
20088
|
+
/**
|
|
20089
|
+
*
|
|
20090
|
+
* @export
|
|
20091
|
+
* @interface WebhookEventResponse
|
|
20092
|
+
*/
|
|
20093
|
+
export interface WebhookEventResponse {
|
|
20094
|
+
/**
|
|
20095
|
+
* Unique identifier
|
|
20096
|
+
* @type {string}
|
|
20097
|
+
* @memberof WebhookEventResponse
|
|
20098
|
+
*/
|
|
20099
|
+
'id': string;
|
|
20100
|
+
/**
|
|
20101
|
+
* Timestamp when the webhook event was created
|
|
20102
|
+
* @type {string}
|
|
20103
|
+
* @memberof WebhookEventResponse
|
|
20104
|
+
*/
|
|
20105
|
+
'created_at': string;
|
|
20106
|
+
/**
|
|
20107
|
+
*
|
|
20108
|
+
* @type {OrganizationWebhookKindEnum}
|
|
20109
|
+
* @memberof WebhookEventResponse
|
|
20110
|
+
*/
|
|
20111
|
+
'kind': OrganizationWebhookKindEnum;
|
|
20112
|
+
/**
|
|
20113
|
+
*
|
|
20114
|
+
* @type {OrganizationWebhookEventEnum}
|
|
20115
|
+
* @memberof WebhookEventResponse
|
|
20116
|
+
*/
|
|
20117
|
+
'matched_event': OrganizationWebhookEventEnum;
|
|
20118
|
+
/**
|
|
20119
|
+
* The webhook target URL that was invoked
|
|
20120
|
+
* @type {string}
|
|
20121
|
+
* @memberof WebhookEventResponse
|
|
20122
|
+
*/
|
|
20123
|
+
'target_url_used': string;
|
|
20124
|
+
/**
|
|
20125
|
+
* The request payload sent to the webhook
|
|
20126
|
+
* @type {{ [key: string]: any; }}
|
|
20127
|
+
* @memberof WebhookEventResponse
|
|
20128
|
+
*/
|
|
20129
|
+
'request': { [key: string]: any; };
|
|
20130
|
+
/**
|
|
20131
|
+
* HTTP status code returned by the webhook target
|
|
20132
|
+
* @type {number}
|
|
20133
|
+
* @memberof WebhookEventResponse
|
|
20134
|
+
*/
|
|
20135
|
+
'target_response_status_code': number;
|
|
20136
|
+
/**
|
|
20137
|
+
* Response body from the webhook target
|
|
20138
|
+
* @type {string}
|
|
20139
|
+
* @memberof WebhookEventResponse
|
|
20140
|
+
*/
|
|
20141
|
+
'target_response_body'?: string | null;
|
|
20142
|
+
}
|
|
20143
|
+
|
|
20144
|
+
|
|
20145
|
+
/**
|
|
20146
|
+
*
|
|
20147
|
+
* @export
|
|
20148
|
+
* @interface WebhookEventResponseList
|
|
20149
|
+
*/
|
|
20150
|
+
export interface WebhookEventResponseList {
|
|
20151
|
+
/**
|
|
20152
|
+
*
|
|
20153
|
+
* @type {Array<WebhookEventResponse>}
|
|
20154
|
+
* @memberof WebhookEventResponseList
|
|
20155
|
+
*/
|
|
20156
|
+
'results'?: Array<WebhookEventResponse>;
|
|
20157
|
+
}
|
|
20082
20158
|
/**
|
|
20083
20159
|
*
|
|
20084
20160
|
* @export
|
|
@@ -20499,7 +20575,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
20499
20575
|
};
|
|
20500
20576
|
},
|
|
20501
20577
|
/**
|
|
20502
|
-
* Validate an existing alert receiver by sending a test message for example
|
|
20578
|
+
* Validate an existing alert receiver by sending a test message for example.
|
|
20503
20579
|
* @summary Validate Existing Alert Receiver
|
|
20504
20580
|
* @param {string} alertReceiverId Alert Receiver ID
|
|
20505
20581
|
* @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
|
|
@@ -20544,7 +20620,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
20544
20620
|
};
|
|
20545
20621
|
},
|
|
20546
20622
|
/**
|
|
20547
|
-
* Validate a future alert receiver by sending a test message
|
|
20623
|
+
* Validate a future alert receiver by sending a test message.
|
|
20548
20624
|
* @summary Validate New Alert Receiver
|
|
20549
20625
|
* @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
|
|
20550
20626
|
* @param {*} [options] Override http request option.
|
|
@@ -20559,7 +20635,7 @@ export const AlertReceiversApiAxiosParamCreator = function (configuration?: Conf
|
|
|
20559
20635
|
baseOptions = configuration.baseOptions;
|
|
20560
20636
|
}
|
|
20561
20637
|
|
|
20562
|
-
const localVarRequestOptions = { method: '
|
|
20638
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
20563
20639
|
const localVarHeaderParameter = {} as any;
|
|
20564
20640
|
const localVarQueryParameter = {} as any;
|
|
20565
20641
|
|
|
@@ -20661,7 +20737,7 @@ export const AlertReceiversApiFp = function(configuration?: Configuration) {
|
|
|
20661
20737
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20662
20738
|
},
|
|
20663
20739
|
/**
|
|
20664
|
-
* Validate an existing alert receiver by sending a test message for example
|
|
20740
|
+
* Validate an existing alert receiver by sending a test message for example.
|
|
20665
20741
|
* @summary Validate Existing Alert Receiver
|
|
20666
20742
|
* @param {string} alertReceiverId Alert Receiver ID
|
|
20667
20743
|
* @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
|
|
@@ -20675,7 +20751,7 @@ export const AlertReceiversApiFp = function(configuration?: Configuration) {
|
|
|
20675
20751
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20676
20752
|
},
|
|
20677
20753
|
/**
|
|
20678
|
-
* Validate a future alert receiver by sending a test message
|
|
20754
|
+
* Validate a future alert receiver by sending a test message.
|
|
20679
20755
|
* @summary Validate New Alert Receiver
|
|
20680
20756
|
* @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
|
|
20681
20757
|
* @param {*} [options] Override http request option.
|
|
@@ -20749,7 +20825,7 @@ export const AlertReceiversApiFactory = function (configuration?: Configuration,
|
|
|
20749
20825
|
return localVarFp.getAlertReceivers(organizationId, options).then((request) => request(axios, basePath));
|
|
20750
20826
|
},
|
|
20751
20827
|
/**
|
|
20752
|
-
* Validate an existing alert receiver by sending a test message for example
|
|
20828
|
+
* Validate an existing alert receiver by sending a test message for example.
|
|
20753
20829
|
* @summary Validate Existing Alert Receiver
|
|
20754
20830
|
* @param {string} alertReceiverId Alert Receiver ID
|
|
20755
20831
|
* @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
|
|
@@ -20760,7 +20836,7 @@ export const AlertReceiversApiFactory = function (configuration?: Configuration,
|
|
|
20760
20836
|
return localVarFp.validateExistingAlertReceiver(alertReceiverId, alertReceiverValidationRequest, options).then((request) => request(axios, basePath));
|
|
20761
20837
|
},
|
|
20762
20838
|
/**
|
|
20763
|
-
* Validate a future alert receiver by sending a test message
|
|
20839
|
+
* Validate a future alert receiver by sending a test message.
|
|
20764
20840
|
* @summary Validate New Alert Receiver
|
|
20765
20841
|
* @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
|
|
20766
20842
|
* @param {*} [options] Override http request option.
|
|
@@ -20841,7 +20917,7 @@ export class AlertReceiversApi extends BaseAPI {
|
|
|
20841
20917
|
}
|
|
20842
20918
|
|
|
20843
20919
|
/**
|
|
20844
|
-
* Validate an existing alert receiver by sending a test message for example
|
|
20920
|
+
* Validate an existing alert receiver by sending a test message for example.
|
|
20845
20921
|
* @summary Validate Existing Alert Receiver
|
|
20846
20922
|
* @param {string} alertReceiverId Alert Receiver ID
|
|
20847
20923
|
* @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
|
|
@@ -20854,7 +20930,7 @@ export class AlertReceiversApi extends BaseAPI {
|
|
|
20854
20930
|
}
|
|
20855
20931
|
|
|
20856
20932
|
/**
|
|
20857
|
-
* Validate a future alert receiver by sending a test message
|
|
20933
|
+
* Validate a future alert receiver by sending a test message.
|
|
20858
20934
|
* @summary Validate New Alert Receiver
|
|
20859
20935
|
* @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
|
|
20860
20936
|
* @param {*} [options] Override http request option.
|
|
@@ -58244,15 +58320,19 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
|
|
|
58244
58320
|
* Create an organization webhook.
|
|
58245
58321
|
* @summary Create an organization webhook
|
|
58246
58322
|
* @param {string} organizationId Organization ID
|
|
58323
|
+
* @param {string} webhookId Webhook ID
|
|
58247
58324
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
58248
58325
|
* @param {*} [options] Override http request option.
|
|
58249
58326
|
* @throws {RequiredError}
|
|
58250
58327
|
*/
|
|
58251
|
-
createOrganizationWebhook: async (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58328
|
+
createOrganizationWebhook: async (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58252
58329
|
// verify required parameter 'organizationId' is not null or undefined
|
|
58253
58330
|
assertParamExists('createOrganizationWebhook', 'organizationId', organizationId)
|
|
58254
|
-
|
|
58255
|
-
|
|
58331
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
58332
|
+
assertParamExists('createOrganizationWebhook', 'webhookId', webhookId)
|
|
58333
|
+
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
|
|
58334
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
58335
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
58256
58336
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58257
58337
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58258
58338
|
let baseOptions;
|
|
@@ -58456,6 +58536,51 @@ export const OrganizationWebhookApiAxiosParamCreator = function (configuration?:
|
|
|
58456
58536
|
|
|
58457
58537
|
|
|
58458
58538
|
|
|
58539
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58540
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58541
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
58542
|
+
|
|
58543
|
+
return {
|
|
58544
|
+
url: toPathString(localVarUrlObj),
|
|
58545
|
+
options: localVarRequestOptions,
|
|
58546
|
+
};
|
|
58547
|
+
},
|
|
58548
|
+
/**
|
|
58549
|
+
* List events of a webhooks
|
|
58550
|
+
* @summary List events of a webhook
|
|
58551
|
+
* @param {string} organizationId Organization ID
|
|
58552
|
+
* @param {string} webhookId Webhook ID
|
|
58553
|
+
* @param {*} [options] Override http request option.
|
|
58554
|
+
* @throws {RequiredError}
|
|
58555
|
+
*/
|
|
58556
|
+
listWebhookEvent: async (organizationId: string, webhookId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58557
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
58558
|
+
assertParamExists('listWebhookEvent', 'organizationId', organizationId)
|
|
58559
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
58560
|
+
assertParamExists('listWebhookEvent', 'webhookId', webhookId)
|
|
58561
|
+
const localVarPath = `/organization/{organizationId}/webhook/{webhookId}/event`
|
|
58562
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
58563
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
58564
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58565
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58566
|
+
let baseOptions;
|
|
58567
|
+
if (configuration) {
|
|
58568
|
+
baseOptions = configuration.baseOptions;
|
|
58569
|
+
}
|
|
58570
|
+
|
|
58571
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
58572
|
+
const localVarHeaderParameter = {} as any;
|
|
58573
|
+
const localVarQueryParameter = {} as any;
|
|
58574
|
+
|
|
58575
|
+
// authentication ApiKeyAuth required
|
|
58576
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
58577
|
+
|
|
58578
|
+
// authentication bearerAuth required
|
|
58579
|
+
// http bearer authentication required
|
|
58580
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
58581
|
+
|
|
58582
|
+
|
|
58583
|
+
|
|
58459
58584
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58460
58585
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58461
58586
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -58479,12 +58604,13 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
|
|
|
58479
58604
|
* Create an organization webhook.
|
|
58480
58605
|
* @summary Create an organization webhook
|
|
58481
58606
|
* @param {string} organizationId Organization ID
|
|
58607
|
+
* @param {string} webhookId Webhook ID
|
|
58482
58608
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
58483
58609
|
* @param {*} [options] Override http request option.
|
|
58484
58610
|
* @throws {RequiredError}
|
|
58485
58611
|
*/
|
|
58486
|
-
async createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>> {
|
|
58487
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options);
|
|
58612
|
+
async createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>> {
|
|
58613
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options);
|
|
58488
58614
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
58489
58615
|
const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.createOrganizationWebhook']?.[localVarOperationServerIndex]?.url;
|
|
58490
58616
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -58545,6 +58671,20 @@ export const OrganizationWebhookApiFp = function(configuration?: Configuration)
|
|
|
58545
58671
|
const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.listOrganizationWebHooks']?.[localVarOperationServerIndex]?.url;
|
|
58546
58672
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58547
58673
|
},
|
|
58674
|
+
/**
|
|
58675
|
+
* List events of a webhooks
|
|
58676
|
+
* @summary List events of a webhook
|
|
58677
|
+
* @param {string} organizationId Organization ID
|
|
58678
|
+
* @param {string} webhookId Webhook ID
|
|
58679
|
+
* @param {*} [options] Override http request option.
|
|
58680
|
+
* @throws {RequiredError}
|
|
58681
|
+
*/
|
|
58682
|
+
async listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>> {
|
|
58683
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listWebhookEvent(organizationId, webhookId, options);
|
|
58684
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
58685
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationWebhookApi.listWebhookEvent']?.[localVarOperationServerIndex]?.url;
|
|
58686
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58687
|
+
},
|
|
58548
58688
|
}
|
|
58549
58689
|
};
|
|
58550
58690
|
|
|
@@ -58559,12 +58699,13 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
|
|
|
58559
58699
|
* Create an organization webhook.
|
|
58560
58700
|
* @summary Create an organization webhook
|
|
58561
58701
|
* @param {string} organizationId Organization ID
|
|
58702
|
+
* @param {string} webhookId Webhook ID
|
|
58562
58703
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
58563
58704
|
* @param {*} [options] Override http request option.
|
|
58564
58705
|
* @throws {RequiredError}
|
|
58565
58706
|
*/
|
|
58566
|
-
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse> {
|
|
58567
|
-
return localVarFp.createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
|
|
58707
|
+
createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse> {
|
|
58708
|
+
return localVarFp.createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(axios, basePath));
|
|
58568
58709
|
},
|
|
58569
58710
|
/**
|
|
58570
58711
|
* Delete organization webhook
|
|
@@ -58610,6 +58751,17 @@ export const OrganizationWebhookApiFactory = function (configuration?: Configura
|
|
|
58610
58751
|
listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList> {
|
|
58611
58752
|
return localVarFp.listOrganizationWebHooks(organizationId, options).then((request) => request(axios, basePath));
|
|
58612
58753
|
},
|
|
58754
|
+
/**
|
|
58755
|
+
* List events of a webhooks
|
|
58756
|
+
* @summary List events of a webhook
|
|
58757
|
+
* @param {string} organizationId Organization ID
|
|
58758
|
+
* @param {string} webhookId Webhook ID
|
|
58759
|
+
* @param {*} [options] Override http request option.
|
|
58760
|
+
* @throws {RequiredError}
|
|
58761
|
+
*/
|
|
58762
|
+
listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList> {
|
|
58763
|
+
return localVarFp.listWebhookEvent(organizationId, webhookId, options).then((request) => request(axios, basePath));
|
|
58764
|
+
},
|
|
58613
58765
|
};
|
|
58614
58766
|
};
|
|
58615
58767
|
|
|
@@ -58624,13 +58776,14 @@ export class OrganizationWebhookApi extends BaseAPI {
|
|
|
58624
58776
|
* Create an organization webhook.
|
|
58625
58777
|
* @summary Create an organization webhook
|
|
58626
58778
|
* @param {string} organizationId Organization ID
|
|
58779
|
+
* @param {string} webhookId Webhook ID
|
|
58627
58780
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
58628
58781
|
* @param {*} [options] Override http request option.
|
|
58629
58782
|
* @throws {RequiredError}
|
|
58630
58783
|
* @memberof OrganizationWebhookApi
|
|
58631
58784
|
*/
|
|
58632
|
-
public createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) {
|
|
58633
|
-
return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
58785
|
+
public createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) {
|
|
58786
|
+
return OrganizationWebhookApiFp(this.configuration).createOrganizationWebhook(organizationId, webhookId, organizationWebhookCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
58634
58787
|
}
|
|
58635
58788
|
|
|
58636
58789
|
/**
|
|
@@ -58684,6 +58837,19 @@ export class OrganizationWebhookApi extends BaseAPI {
|
|
|
58684
58837
|
public listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
58685
58838
|
return OrganizationWebhookApiFp(this.configuration).listOrganizationWebHooks(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
58686
58839
|
}
|
|
58840
|
+
|
|
58841
|
+
/**
|
|
58842
|
+
* List events of a webhooks
|
|
58843
|
+
* @summary List events of a webhook
|
|
58844
|
+
* @param {string} organizationId Organization ID
|
|
58845
|
+
* @param {string} webhookId Webhook ID
|
|
58846
|
+
* @param {*} [options] Override http request option.
|
|
58847
|
+
* @throws {RequiredError}
|
|
58848
|
+
* @memberof OrganizationWebhookApi
|
|
58849
|
+
*/
|
|
58850
|
+
public listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) {
|
|
58851
|
+
return OrganizationWebhookApiFp(this.configuration).listWebhookEvent(organizationId, webhookId, options).then((request) => request(this.axios, this.basePath));
|
|
58852
|
+
}
|
|
58687
58853
|
}
|
|
58688
58854
|
|
|
58689
58855
|
|
package/dist/api.d.ts
CHANGED
|
@@ -18612,6 +18612,12 @@ export interface TerraformVariableDefinition {
|
|
|
18612
18612
|
* @memberof TerraformVariableDefinition
|
|
18613
18613
|
*/
|
|
18614
18614
|
'sensitive': boolean;
|
|
18615
|
+
/**
|
|
18616
|
+
* Whether the variable accepts null values. If false, the variable is required.
|
|
18617
|
+
* @type {boolean}
|
|
18618
|
+
* @memberof TerraformVariableDefinition
|
|
18619
|
+
*/
|
|
18620
|
+
'nullable'?: boolean;
|
|
18615
18621
|
/**
|
|
18616
18622
|
* The default value of the variable, or null if no default is provided
|
|
18617
18623
|
* @type {string}
|
|
@@ -19409,6 +19415,76 @@ export interface VersionResponseList {
|
|
|
19409
19415
|
*/
|
|
19410
19416
|
'results'?: Array<Version>;
|
|
19411
19417
|
}
|
|
19418
|
+
/**
|
|
19419
|
+
*
|
|
19420
|
+
* @export
|
|
19421
|
+
* @interface WebhookEventResponse
|
|
19422
|
+
*/
|
|
19423
|
+
export interface WebhookEventResponse {
|
|
19424
|
+
/**
|
|
19425
|
+
* Unique identifier
|
|
19426
|
+
* @type {string}
|
|
19427
|
+
* @memberof WebhookEventResponse
|
|
19428
|
+
*/
|
|
19429
|
+
'id': string;
|
|
19430
|
+
/**
|
|
19431
|
+
* Timestamp when the webhook event was created
|
|
19432
|
+
* @type {string}
|
|
19433
|
+
* @memberof WebhookEventResponse
|
|
19434
|
+
*/
|
|
19435
|
+
'created_at': string;
|
|
19436
|
+
/**
|
|
19437
|
+
*
|
|
19438
|
+
* @type {OrganizationWebhookKindEnum}
|
|
19439
|
+
* @memberof WebhookEventResponse
|
|
19440
|
+
*/
|
|
19441
|
+
'kind': OrganizationWebhookKindEnum;
|
|
19442
|
+
/**
|
|
19443
|
+
*
|
|
19444
|
+
* @type {OrganizationWebhookEventEnum}
|
|
19445
|
+
* @memberof WebhookEventResponse
|
|
19446
|
+
*/
|
|
19447
|
+
'matched_event': OrganizationWebhookEventEnum;
|
|
19448
|
+
/**
|
|
19449
|
+
* The webhook target URL that was invoked
|
|
19450
|
+
* @type {string}
|
|
19451
|
+
* @memberof WebhookEventResponse
|
|
19452
|
+
*/
|
|
19453
|
+
'target_url_used': string;
|
|
19454
|
+
/**
|
|
19455
|
+
* The request payload sent to the webhook
|
|
19456
|
+
* @type {{ [key: string]: any; }}
|
|
19457
|
+
* @memberof WebhookEventResponse
|
|
19458
|
+
*/
|
|
19459
|
+
'request': {
|
|
19460
|
+
[key: string]: any;
|
|
19461
|
+
};
|
|
19462
|
+
/**
|
|
19463
|
+
* HTTP status code returned by the webhook target
|
|
19464
|
+
* @type {number}
|
|
19465
|
+
* @memberof WebhookEventResponse
|
|
19466
|
+
*/
|
|
19467
|
+
'target_response_status_code': number;
|
|
19468
|
+
/**
|
|
19469
|
+
* Response body from the webhook target
|
|
19470
|
+
* @type {string}
|
|
19471
|
+
* @memberof WebhookEventResponse
|
|
19472
|
+
*/
|
|
19473
|
+
'target_response_body'?: string | null;
|
|
19474
|
+
}
|
|
19475
|
+
/**
|
|
19476
|
+
*
|
|
19477
|
+
* @export
|
|
19478
|
+
* @interface WebhookEventResponseList
|
|
19479
|
+
*/
|
|
19480
|
+
export interface WebhookEventResponseList {
|
|
19481
|
+
/**
|
|
19482
|
+
*
|
|
19483
|
+
* @type {Array<WebhookEventResponse>}
|
|
19484
|
+
* @memberof WebhookEventResponseList
|
|
19485
|
+
*/
|
|
19486
|
+
'results'?: Array<WebhookEventResponse>;
|
|
19487
|
+
}
|
|
19412
19488
|
/**
|
|
19413
19489
|
*
|
|
19414
19490
|
* @export
|
|
@@ -19559,7 +19635,7 @@ export declare const AlertReceiversApiAxiosParamCreator: (configuration?: Config
|
|
|
19559
19635
|
*/
|
|
19560
19636
|
getAlertReceivers: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19561
19637
|
/**
|
|
19562
|
-
* Validate an existing alert receiver by sending a test message for example
|
|
19638
|
+
* Validate an existing alert receiver by sending a test message for example.
|
|
19563
19639
|
* @summary Validate Existing Alert Receiver
|
|
19564
19640
|
* @param {string} alertReceiverId Alert Receiver ID
|
|
19565
19641
|
* @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
|
|
@@ -19568,7 +19644,7 @@ export declare const AlertReceiversApiAxiosParamCreator: (configuration?: Config
|
|
|
19568
19644
|
*/
|
|
19569
19645
|
validateExistingAlertReceiver: (alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
19570
19646
|
/**
|
|
19571
|
-
* Validate a future alert receiver by sending a test message
|
|
19647
|
+
* Validate a future alert receiver by sending a test message.
|
|
19572
19648
|
* @summary Validate New Alert Receiver
|
|
19573
19649
|
* @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
|
|
19574
19650
|
* @param {*} [options] Override http request option.
|
|
@@ -19623,7 +19699,7 @@ export declare const AlertReceiversApiFp: (configuration?: Configuration) => {
|
|
|
19623
19699
|
*/
|
|
19624
19700
|
getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertReceiverList>>;
|
|
19625
19701
|
/**
|
|
19626
|
-
* Validate an existing alert receiver by sending a test message for example
|
|
19702
|
+
* Validate an existing alert receiver by sending a test message for example.
|
|
19627
19703
|
* @summary Validate Existing Alert Receiver
|
|
19628
19704
|
* @param {string} alertReceiverId Alert Receiver ID
|
|
19629
19705
|
* @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
|
|
@@ -19632,7 +19708,7 @@ export declare const AlertReceiversApiFp: (configuration?: Configuration) => {
|
|
|
19632
19708
|
*/
|
|
19633
19709
|
validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
19634
19710
|
/**
|
|
19635
|
-
* Validate a future alert receiver by sending a test message
|
|
19711
|
+
* Validate a future alert receiver by sending a test message.
|
|
19636
19712
|
* @summary Validate New Alert Receiver
|
|
19637
19713
|
* @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
|
|
19638
19714
|
* @param {*} [options] Override http request option.
|
|
@@ -19687,7 +19763,7 @@ export declare const AlertReceiversApiFactory: (configuration?: Configuration, b
|
|
|
19687
19763
|
*/
|
|
19688
19764
|
getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertReceiverList>;
|
|
19689
19765
|
/**
|
|
19690
|
-
* Validate an existing alert receiver by sending a test message for example
|
|
19766
|
+
* Validate an existing alert receiver by sending a test message for example.
|
|
19691
19767
|
* @summary Validate Existing Alert Receiver
|
|
19692
19768
|
* @param {string} alertReceiverId Alert Receiver ID
|
|
19693
19769
|
* @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
|
|
@@ -19696,7 +19772,7 @@ export declare const AlertReceiversApiFactory: (configuration?: Configuration, b
|
|
|
19696
19772
|
*/
|
|
19697
19773
|
validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
19698
19774
|
/**
|
|
19699
|
-
* Validate a future alert receiver by sending a test message
|
|
19775
|
+
* Validate a future alert receiver by sending a test message.
|
|
19700
19776
|
* @summary Validate New Alert Receiver
|
|
19701
19777
|
* @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
|
|
19702
19778
|
* @param {*} [options] Override http request option.
|
|
@@ -19758,7 +19834,7 @@ export declare class AlertReceiversApi extends BaseAPI {
|
|
|
19758
19834
|
*/
|
|
19759
19835
|
getAlertReceivers(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertReceiverList, any, {}>>;
|
|
19760
19836
|
/**
|
|
19761
|
-
* Validate an existing alert receiver by sending a test message for example
|
|
19837
|
+
* Validate an existing alert receiver by sending a test message for example.
|
|
19762
19838
|
* @summary Validate Existing Alert Receiver
|
|
19763
19839
|
* @param {string} alertReceiverId Alert Receiver ID
|
|
19764
19840
|
* @param {AlertReceiverValidationRequest} [alertReceiverValidationRequest]
|
|
@@ -19768,7 +19844,7 @@ export declare class AlertReceiversApi extends BaseAPI {
|
|
|
19768
19844
|
*/
|
|
19769
19845
|
validateExistingAlertReceiver(alertReceiverId: string, alertReceiverValidationRequest?: AlertReceiverValidationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
19770
19846
|
/**
|
|
19771
|
-
* Validate a future alert receiver by sending a test message
|
|
19847
|
+
* Validate a future alert receiver by sending a test message.
|
|
19772
19848
|
* @summary Validate New Alert Receiver
|
|
19773
19849
|
* @param {AlertReceiverCreationValidationRequest} [alertReceiverCreationValidationRequest]
|
|
19774
19850
|
* @param {*} [options] Override http request option.
|
|
@@ -36970,11 +37046,12 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
|
|
|
36970
37046
|
* Create an organization webhook.
|
|
36971
37047
|
* @summary Create an organization webhook
|
|
36972
37048
|
* @param {string} organizationId Organization ID
|
|
37049
|
+
* @param {string} webhookId Webhook ID
|
|
36973
37050
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
36974
37051
|
* @param {*} [options] Override http request option.
|
|
36975
37052
|
* @throws {RequiredError}
|
|
36976
37053
|
*/
|
|
36977
|
-
createOrganizationWebhook: (organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37054
|
+
createOrganizationWebhook: (organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36978
37055
|
/**
|
|
36979
37056
|
* Delete organization webhook
|
|
36980
37057
|
* @summary Delete organization webhook
|
|
@@ -37011,6 +37088,15 @@ export declare const OrganizationWebhookApiAxiosParamCreator: (configuration?: C
|
|
|
37011
37088
|
* @throws {RequiredError}
|
|
37012
37089
|
*/
|
|
37013
37090
|
listOrganizationWebHooks: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37091
|
+
/**
|
|
37092
|
+
* List events of a webhooks
|
|
37093
|
+
* @summary List events of a webhook
|
|
37094
|
+
* @param {string} organizationId Organization ID
|
|
37095
|
+
* @param {string} webhookId Webhook ID
|
|
37096
|
+
* @param {*} [options] Override http request option.
|
|
37097
|
+
* @throws {RequiredError}
|
|
37098
|
+
*/
|
|
37099
|
+
listWebhookEvent: (organizationId: string, webhookId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37014
37100
|
};
|
|
37015
37101
|
/**
|
|
37016
37102
|
* OrganizationWebhookApi - functional programming interface
|
|
@@ -37021,11 +37107,12 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
|
|
|
37021
37107
|
* Create an organization webhook.
|
|
37022
37108
|
* @summary Create an organization webhook
|
|
37023
37109
|
* @param {string} organizationId Organization ID
|
|
37110
|
+
* @param {string} webhookId Webhook ID
|
|
37024
37111
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37025
37112
|
* @param {*} [options] Override http request option.
|
|
37026
37113
|
* @throws {RequiredError}
|
|
37027
37114
|
*/
|
|
37028
|
-
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
|
|
37115
|
+
createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookCreateResponse>>;
|
|
37029
37116
|
/**
|
|
37030
37117
|
* Delete organization webhook
|
|
37031
37118
|
* @summary Delete organization webhook
|
|
@@ -37062,6 +37149,15 @@ export declare const OrganizationWebhookApiFp: (configuration?: Configuration) =
|
|
|
37062
37149
|
* @throws {RequiredError}
|
|
37063
37150
|
*/
|
|
37064
37151
|
listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationWebhookResponseList>>;
|
|
37152
|
+
/**
|
|
37153
|
+
* List events of a webhooks
|
|
37154
|
+
* @summary List events of a webhook
|
|
37155
|
+
* @param {string} organizationId Organization ID
|
|
37156
|
+
* @param {string} webhookId Webhook ID
|
|
37157
|
+
* @param {*} [options] Override http request option.
|
|
37158
|
+
* @throws {RequiredError}
|
|
37159
|
+
*/
|
|
37160
|
+
listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookEventResponseList>>;
|
|
37065
37161
|
};
|
|
37066
37162
|
/**
|
|
37067
37163
|
* OrganizationWebhookApi - factory interface
|
|
@@ -37072,11 +37168,12 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
|
|
|
37072
37168
|
* Create an organization webhook.
|
|
37073
37169
|
* @summary Create an organization webhook
|
|
37074
37170
|
* @param {string} organizationId Organization ID
|
|
37171
|
+
* @param {string} webhookId Webhook ID
|
|
37075
37172
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37076
37173
|
* @param {*} [options] Override http request option.
|
|
37077
37174
|
* @throws {RequiredError}
|
|
37078
37175
|
*/
|
|
37079
|
-
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse>;
|
|
37176
|
+
createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookCreateResponse>;
|
|
37080
37177
|
/**
|
|
37081
37178
|
* Delete organization webhook
|
|
37082
37179
|
* @summary Delete organization webhook
|
|
@@ -37113,6 +37210,15 @@ export declare const OrganizationWebhookApiFactory: (configuration?: Configurati
|
|
|
37113
37210
|
* @throws {RequiredError}
|
|
37114
37211
|
*/
|
|
37115
37212
|
listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationWebhookResponseList>;
|
|
37213
|
+
/**
|
|
37214
|
+
* List events of a webhooks
|
|
37215
|
+
* @summary List events of a webhook
|
|
37216
|
+
* @param {string} organizationId Organization ID
|
|
37217
|
+
* @param {string} webhookId Webhook ID
|
|
37218
|
+
* @param {*} [options] Override http request option.
|
|
37219
|
+
* @throws {RequiredError}
|
|
37220
|
+
*/
|
|
37221
|
+
listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookEventResponseList>;
|
|
37116
37222
|
};
|
|
37117
37223
|
/**
|
|
37118
37224
|
* OrganizationWebhookApi - object-oriented interface
|
|
@@ -37125,12 +37231,13 @@ export declare class OrganizationWebhookApi extends BaseAPI {
|
|
|
37125
37231
|
* Create an organization webhook.
|
|
37126
37232
|
* @summary Create an organization webhook
|
|
37127
37233
|
* @param {string} organizationId Organization ID
|
|
37234
|
+
* @param {string} webhookId Webhook ID
|
|
37128
37235
|
* @param {OrganizationWebhookCreateRequest} [organizationWebhookCreateRequest]
|
|
37129
37236
|
* @param {*} [options] Override http request option.
|
|
37130
37237
|
* @throws {RequiredError}
|
|
37131
37238
|
* @memberof OrganizationWebhookApi
|
|
37132
37239
|
*/
|
|
37133
|
-
createOrganizationWebhook(organizationId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse, any, {}>>;
|
|
37240
|
+
createOrganizationWebhook(organizationId: string, webhookId: string, organizationWebhookCreateRequest?: OrganizationWebhookCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookCreateResponse, any, {}>>;
|
|
37134
37241
|
/**
|
|
37135
37242
|
* Delete organization webhook
|
|
37136
37243
|
* @summary Delete organization webhook
|
|
@@ -37171,6 +37278,16 @@ export declare class OrganizationWebhookApi extends BaseAPI {
|
|
|
37171
37278
|
* @memberof OrganizationWebhookApi
|
|
37172
37279
|
*/
|
|
37173
37280
|
listOrganizationWebHooks(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationWebhookResponseList, any, {}>>;
|
|
37281
|
+
/**
|
|
37282
|
+
* List events of a webhooks
|
|
37283
|
+
* @summary List events of a webhook
|
|
37284
|
+
* @param {string} organizationId Organization ID
|
|
37285
|
+
* @param {string} webhookId Webhook ID
|
|
37286
|
+
* @param {*} [options] Override http request option.
|
|
37287
|
+
* @throws {RequiredError}
|
|
37288
|
+
* @memberof OrganizationWebhookApi
|
|
37289
|
+
*/
|
|
37290
|
+
listWebhookEvent(organizationId: string, webhookId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookEventResponseList, any, {}>>;
|
|
37174
37291
|
}
|
|
37175
37292
|
/**
|
|
37176
37293
|
* ProjectDeploymentRuleApi - axios parameter creator
|