/** * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: ecosystem@atlassian.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * A webhook. * @export * @interface Webhook */ export interface Webhook { /** * The JQL filter that specifies which issues the webhook is sent for. * @type {string} * @memberof Webhook */ jqlFilter: string; /** * The Jira events that trigger the webhook. * @type {Array} * @memberof Webhook */ events?: Array; /** * * @type {number} * @memberof Webhook */ readonly expirationDate: number; /** * The ID of the webhook. * @type {number} * @memberof Webhook */ id: number; } export declare function WebhookFromJSON(json: any): Webhook; export declare function WebhookFromJSONTyped(json: any, ignoreDiscriminator: boolean): Webhook; export declare function WebhookToJSON(value?: Webhook): any; /** * @export * @enum {string} */ export declare enum WebhookEventsEnum { JiraissueCreated = "jira:issue_created", JiraissueUpdated = "jira:issue_updated", JiraissueDeleted = "jira:issue_deleted", CommentCreated = "comment_created", CommentUpdated = "comment_updated", CommentDeleted = "comment_deleted" }