/* tslint:disable */ /* eslint-disable */ /** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import { WebhookCustomHeadersResponse } from './webhook-custom-headers-response'; // May contain unused imports in some cases // @ts-ignore import { WebhookEvent } from './webhook-event'; /** * * @export * @interface Webhook */ export interface Webhook { /** * The id of the webhook * @type {string} * @memberof Webhook */ 'id': string; /** * The url of the webhook where notifications will be sent. Must be a valid URL and https. * @type {string} * @memberof Webhook */ 'url': string; /** * The events that the webhook will be subscribed to * @type {Array} * @memberof Webhook */ 'events': Array; /** * The status of the webhook * @type {string} * @memberof Webhook */ 'status': WebhookStatusEnum; /** * The date and time the webhook was created in milliseconds * @type {number} * @memberof Webhook */ 'createdAt': number; /** * The date and time the webhook was last updated in milliseconds * @type {number} * @memberof Webhook */ 'updatedAt': number; /** * description of the webhook of what it is used for * @type {string} * @memberof Webhook */ 'description'?: string; /** * The id of the mTLS configuration this webhook presents when delivering, from `/v1/webhooks_settings/mtls`. Absent when the webhook does not use mTLS. * @type {string} * @memberof Webhook */ 'webhookMtlsId'?: string; /** * The id of the OAuth credentials this webhook authenticates with. Absent when the webhook does not use OAuth. Read the credentials themselves from `/v1/webhooks_settings/oauth/{webhookOauthId}`. * @type {string} * @memberof Webhook */ 'webhookOauthId'?: string; /** * * @type {WebhookCustomHeadersResponse} * @memberof Webhook */ 'customHeaders'?: WebhookCustomHeadersResponse; } export const WebhookStatusEnum = { Disabled: 'DISABLED', Enabled: 'ENABLED', Suspended: 'SUSPENDED' } as const; export type WebhookStatusEnum = typeof WebhookStatusEnum[keyof typeof WebhookStatusEnum];