import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes } from 'sequelize'; import type { LiteralUnion } from 'type-fest'; import { TenantModel } from '../tenant-model'; export declare class WebhookAttempt extends TenantModel, InferCreationAttributes> { id: CreationOptional; livemode: boolean; instance_did?: string; event_id: string; webhook_endpoint_id: string; status: LiteralUnion<'succeeded' | 'failed', string>; response_status: number; response_body: any; retry_count: number; created_at: CreationOptional; updated_at: CreationOptional; static readonly GENESIS_ATTRIBUTES: { id: { type: DataTypes.StringDataType; primaryKey: boolean; allowNull: boolean; defaultValue: (size?: number) => string; }; livemode: { type: DataTypes.AbstractDataTypeConstructor; allowNull: boolean; }; event_id: { type: DataTypes.StringDataType; allowNull: boolean; }; webhook_endpoint_id: { type: DataTypes.StringDataType; allowNull: boolean; }; status: { type: DataTypes.EnumDataType<"failed" | "succeeded">; allowNull: boolean; }; response_status: { type: DataTypes.IntegerDataTypeConstructor; allowNull: boolean; }; response_body: { type: DataTypes.AbstractDataTypeConstructor; allowNull: boolean; }; retry_count: { type: DataTypes.IntegerDataTypeConstructor; defaultValue: number; }; created_at: { type: DataTypes.DateDataTypeConstructor; defaultValue: DataTypes.AbstractDataTypeConstructor; allowNull: boolean; }; updated_at: { type: DataTypes.DateDataTypeConstructor; defaultValue: DataTypes.AbstractDataTypeConstructor; allowNull: boolean; }; }; static initialize(sequelize: any): void; static associate(models: any): void; } export type TWebhookAttempt = InferAttributes;