/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface Webhook */ export interface Webhook { /** * * @type {string} * @memberof Webhook */ environmentId: string; /** * * @type {string} * @memberof Webhook */ webhookId: string; /** * * @type {string} * @memberof Webhook */ url: string; /** * HMAC signing secret used to verify webhook payload authenticity * @type {string} * @memberof Webhook */ secret?: string; /** * Webhook payload format version * @type {string} * @memberof Webhook */ version?: string; /** * List of subscribed event type names (e.g. "admin.user.created") * @type {Array} * @memberof Webhook */ events: Array; /** * Whether the webhook is actively delivering events * @type {boolean} * @memberof Webhook */ isEnabled: boolean; /** * ISO 8601 timestamp of when the webhook was last enabled * @type {Date} * @memberof Webhook */ enabledAt?: Date; /** * ISO 8601 timestamp of when the webhook was created * @type {Date} * @memberof Webhook */ createdAt: Date; /** * ISO 8601 timestamp of when the webhook was last updated * @type {Date} * @memberof Webhook */ updatedAt: Date; } export declare function WebhookFromJSON(json: any): Webhook; export declare function WebhookFromJSONTyped(json: any, ignoreDiscriminator: boolean): Webhook; export declare function WebhookToJSON(value?: Webhook | null): any;