Skip to content

The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.

693 B
Raw Blame
/*
 * Copyright 2025 Daytona Platforms Inc.
 * Modified by BoxLite AI, 2025-2026
 * SPDX-License-Identifier: AGPL-3.0
 */

import { Entity, PrimaryColumn, CreateDateColumn, UpdateDateColumn, Column } from 'typeorm'

@Entity()
export class WebhookInitialization {
  @PrimaryColumn()
  organizationId: string

  @Column({
    nullable: true,
  })
  svixApplicationId?: string

  @Column({
    type: 'text',
    nullable: true,
  })
  lastError?: string

  @Column({
    type: 'int',
    default: 0,
  })
  retryCount: number

  @CreateDateColumn({
    type: 'timestamp with time zone',
  })
  createdAt: Date

  @UpdateDateColumn({
    type: 'timestamp with time zone',
  })
  updatedAt: Date
}