/* 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 { WebhookCustomHeadersUpdate } from './webhook-custom-headers-update'; // May contain unused imports in some cases // @ts-ignore import { WebhookEvent } from './webhook-event'; /** * * @export * @interface UpdateWebhookRequest */ export interface UpdateWebhookRequest { /** * The url of the webhook where notifications will be sent. URL must be valid, unique and https. * @type {string} * @memberof UpdateWebhookRequest */ 'url'?: string; /** * description of the webhook of what it is used for.should not contain special characters. * @type {string} * @memberof UpdateWebhookRequest */ 'description'?: string; /** * The events that the webhook will be subscribed to * @type {Array} * @memberof UpdateWebhookRequest */ 'events'?: Array; /** * The status of the webhook * @type {boolean} * @memberof UpdateWebhookRequest */ 'enabled'?: boolean; /** * The id of the mTLS configuration this webhook presents when delivering, from `/v1/webhooks_settings/mtls`. Several webhooks may share one configuration, so replacing its certificate covers all of them at once. Send `null` to stop using mTLS for this webhook. * @type {string} * @memberof UpdateWebhookRequest */ 'webhookMtlsId'?: string | null; /** * The id of the OAuth credentials this webhook authenticates with, from `/v1/webhooks_settings/oauth`. Several webhooks may share one credential set, so rotating its client secret covers all of them at once. Send `null` to stop using OAuth for this webhook. Cannot be combined with an `authorization` custom header on the same webhook; a request that would leave both set is rejected. * @type {string} * @memberof UpdateWebhookRequest */ 'webhookOauthId'?: string | null; /** * * @type {WebhookCustomHeadersUpdate} * @memberof UpdateWebhookRequest */ 'customHeaders'?: WebhookCustomHeadersUpdate | null; }