933 lines
20 KiB
TypeScript
933 lines
20 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file should be your main import to use Prisma-related types and utilities in a browser.
|
|
* Use it to get access to models, enums, and input types.
|
|
*
|
|
* This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
|
|
* See `client.ts` for the standard, server-side entry point.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
|
|
import * as Prisma from './internal/prismaNamespaceBrowser.ts'
|
|
export { Prisma }
|
|
export * as $Enums from './enums.ts'
|
|
export * from './enums.ts';
|
|
/**
|
|
* Model User
|
|
*
|
|
*/
|
|
export type User = Prisma.UserModel
|
|
/**
|
|
* Model MagicLinkToken
|
|
*
|
|
*/
|
|
export type MagicLinkToken = Prisma.MagicLinkTokenModel
|
|
/**
|
|
* Model AdminUser
|
|
*
|
|
*/
|
|
export type AdminUser = Prisma.AdminUserModel
|
|
/**
|
|
* Model Tenant
|
|
*
|
|
*/
|
|
export type Tenant = Prisma.TenantModel
|
|
/**
|
|
* Model WorkspaceAuthProvider
|
|
*
|
|
*/
|
|
export type WorkspaceAuthProvider = Prisma.WorkspaceAuthProviderModel
|
|
/**
|
|
* Model ImpersonationAudit
|
|
*
|
|
*/
|
|
export type ImpersonationAudit = Prisma.ImpersonationAuditModel
|
|
/**
|
|
* Model TenantUser
|
|
*
|
|
*/
|
|
export type TenantUser = Prisma.TenantUserModel
|
|
/**
|
|
* Model TenantUserInvitation
|
|
*
|
|
*/
|
|
export type TenantUserInvitation = Prisma.TenantUserInvitationModel
|
|
/**
|
|
* Model Registration
|
|
*
|
|
*/
|
|
export type Registration = Prisma.RegistrationModel
|
|
/**
|
|
* Model Blacklist
|
|
*
|
|
*/
|
|
export type Blacklist = Prisma.BlacklistModel
|
|
/**
|
|
* Model TenantIpAddress
|
|
*
|
|
*/
|
|
export type TenantIpAddress = Prisma.TenantIpAddressModel
|
|
/**
|
|
* Model TenantType
|
|
*
|
|
*/
|
|
export type TenantType = Prisma.TenantTypeModel
|
|
/**
|
|
* Model Activity
|
|
* User-facing business activity timeline (M045 / M01 Block E).
|
|
*
|
|
* DISTINCT from the tamper-evident, hash-chained `AuditEvent` (M001): `Activity`
|
|
* is the per-entity, human-readable stream shown to tenant users (calls, notes,
|
|
* emails, status changes, …). Every writing module appends here via
|
|
* `logActivity()` from `@hivegrid/activity` (AGENTS DoD #14).
|
|
*
|
|
* `activityType` and `subjectType` are stored as strings (extensible per module —
|
|
* see the `ActivityType` / `ActivitySubjectType` unions in `@hivegrid/activity`),
|
|
* not Prisma enums, to avoid a schema migration for every new module event.
|
|
*
|
|
* Tenant isolation: RLS policy is added with M27 (Auth/Tenancy); until then access
|
|
* is App-Level-scoped via the tenant-scoped query helpers.
|
|
*/
|
|
export type Activity = Prisma.ActivityModel
|
|
/**
|
|
* Model AnalyticsSettings
|
|
*
|
|
*/
|
|
export type AnalyticsSettings = Prisma.AnalyticsSettingsModel
|
|
/**
|
|
* Model AnalyticsUniqueVisitor
|
|
*
|
|
*/
|
|
export type AnalyticsUniqueVisitor = Prisma.AnalyticsUniqueVisitorModel
|
|
/**
|
|
* Model AnalyticsPageView
|
|
*
|
|
*/
|
|
export type AnalyticsPageView = Prisma.AnalyticsPageViewModel
|
|
/**
|
|
* Model AnalyticsEvent
|
|
*
|
|
*/
|
|
export type AnalyticsEvent = Prisma.AnalyticsEventModel
|
|
/**
|
|
* Model App
|
|
*
|
|
*/
|
|
export type App = Prisma.AppModel
|
|
/**
|
|
* Model DataConnection
|
|
*
|
|
*/
|
|
export type DataConnection = Prisma.DataConnectionModel
|
|
/**
|
|
* Model AppSyncRun
|
|
*
|
|
*/
|
|
export type AppSyncRun = Prisma.AppSyncRunModel
|
|
/**
|
|
* Model AppSyncRunLog
|
|
*
|
|
*/
|
|
export type AppSyncRunLog = Prisma.AppSyncRunLogModel
|
|
/**
|
|
* Model AppSyncItem
|
|
*
|
|
*/
|
|
export type AppSyncItem = Prisma.AppSyncItemModel
|
|
/**
|
|
* Model UserSession
|
|
*
|
|
*/
|
|
export type UserSession = Prisma.UserSessionModel
|
|
/**
|
|
* Model TrustedDevice
|
|
*
|
|
*/
|
|
export type TrustedDevice = Prisma.TrustedDeviceModel
|
|
/**
|
|
* Model CollabDoc
|
|
*
|
|
*/
|
|
export type CollabDoc = Prisma.CollabDocModel
|
|
/**
|
|
* Model AppConfiguration
|
|
*
|
|
*/
|
|
export type AppConfiguration = Prisma.AppConfigurationModel
|
|
/**
|
|
* Model Log
|
|
*
|
|
*/
|
|
export type Log = Prisma.LogModel
|
|
/**
|
|
* Model AuditEvent
|
|
*
|
|
*/
|
|
export type AuditEvent = Prisma.AuditEventModel
|
|
/**
|
|
* Model IdempotencyKey
|
|
*
|
|
*/
|
|
export type IdempotencyKey = Prisma.IdempotencyKeyModel
|
|
/**
|
|
* Model ApiKey
|
|
*
|
|
*/
|
|
export type ApiKey = Prisma.ApiKeyModel
|
|
/**
|
|
* Model ApiKeyLog
|
|
*
|
|
*/
|
|
export type ApiKeyLog = Prisma.ApiKeyLogModel
|
|
/**
|
|
* Model Event
|
|
*
|
|
*/
|
|
export type Event = Prisma.EventModel
|
|
/**
|
|
* Model EventWebhookAttempt
|
|
*
|
|
*/
|
|
export type EventWebhookAttempt = Prisma.EventWebhookAttemptModel
|
|
/**
|
|
* Model MetricLog
|
|
*
|
|
*/
|
|
export type MetricLog = Prisma.MetricLogModel
|
|
/**
|
|
* Model FileUploadProgress
|
|
*
|
|
*/
|
|
export type FileUploadProgress = Prisma.FileUploadProgressModel
|
|
/**
|
|
* Model FileChunk
|
|
*
|
|
*/
|
|
export type FileChunk = Prisma.FileChunkModel
|
|
/**
|
|
* Model FileObject
|
|
*
|
|
*/
|
|
export type FileObject = Prisma.FileObjectModel
|
|
/**
|
|
* Model IpAddress
|
|
* Privacy (AD-22): `ip` speichert einen HMAC-SHA256-Pseudonym-Hash der Client-IP, KEINE Klartext-IP.
|
|
* Persistiert wird nur das Land (countryCode/countryName); regionCode/city/zipCode/latitude/longitude
|
|
* bleiben bewusst leer. Auflösung lokal (DB-IP Lite), kein externer Transfer.
|
|
*/
|
|
export type IpAddress = Prisma.IpAddressModel
|
|
/**
|
|
* Model IpAddressLog
|
|
* Privacy (AD-22): `ip` ist der HMAC-Pseudonym-Hash der Client-IP, kein Klartext.
|
|
*/
|
|
export type IpAddressLog = Prisma.IpAddressLogModel
|
|
/**
|
|
* Model Widget
|
|
*
|
|
*/
|
|
export type Widget = Prisma.WidgetModel
|
|
/**
|
|
* Model Credential
|
|
*
|
|
*/
|
|
export type Credential = Prisma.CredentialModel
|
|
/**
|
|
* Model TenantInboundAddress
|
|
*
|
|
*/
|
|
export type TenantInboundAddress = Prisma.TenantInboundAddressModel
|
|
/**
|
|
* Model Email
|
|
*
|
|
*/
|
|
export type Email = Prisma.EmailModel
|
|
/**
|
|
* Model EmailRead
|
|
*
|
|
*/
|
|
export type EmailRead = Prisma.EmailReadModel
|
|
/**
|
|
* Model EmailCc
|
|
*
|
|
*/
|
|
export type EmailCc = Prisma.EmailCcModel
|
|
/**
|
|
* Model EmailAttachment
|
|
*
|
|
*/
|
|
export type EmailAttachment = Prisma.EmailAttachmentModel
|
|
/**
|
|
* Model EmailSender
|
|
*
|
|
*/
|
|
export type EmailSender = Prisma.EmailSenderModel
|
|
/**
|
|
* Model Campaign
|
|
*
|
|
*/
|
|
export type Campaign = Prisma.CampaignModel
|
|
/**
|
|
* Model OutboundEmail
|
|
*
|
|
*/
|
|
export type OutboundEmail = Prisma.OutboundEmailModel
|
|
/**
|
|
* Model OutboundEmailOpen
|
|
*
|
|
*/
|
|
export type OutboundEmailOpen = Prisma.OutboundEmailOpenModel
|
|
/**
|
|
* Model OutboundEmailClick
|
|
*
|
|
*/
|
|
export type OutboundEmailClick = Prisma.OutboundEmailClickModel
|
|
/**
|
|
* Model EmailSequence
|
|
*
|
|
*/
|
|
export type EmailSequence = Prisma.EmailSequenceModel
|
|
/**
|
|
* Model EmailSequenceRun
|
|
*
|
|
*/
|
|
export type EmailSequenceRun = Prisma.EmailSequenceRunModel
|
|
/**
|
|
* Model EmailSequenceStepDelivery
|
|
*
|
|
*/
|
|
export type EmailSequenceStepDelivery = Prisma.EmailSequenceStepDeliveryModel
|
|
/**
|
|
* Model Entity
|
|
*
|
|
*/
|
|
export type Entity = Prisma.EntityModel
|
|
/**
|
|
* Model Property
|
|
*
|
|
*/
|
|
export type Property = Prisma.PropertyModel
|
|
/**
|
|
* Model EntityView
|
|
*
|
|
*/
|
|
export type EntityView = Prisma.EntityViewModel
|
|
/**
|
|
* Model EntityViewProperty
|
|
*
|
|
*/
|
|
export type EntityViewProperty = Prisma.EntityViewPropertyModel
|
|
/**
|
|
* Model EntityViewFilter
|
|
*
|
|
*/
|
|
export type EntityViewFilter = Prisma.EntityViewFilterModel
|
|
/**
|
|
* Model EntityViewSort
|
|
*
|
|
*/
|
|
export type EntityViewSort = Prisma.EntityViewSortModel
|
|
/**
|
|
* Model PropertyAttribute
|
|
*
|
|
*/
|
|
export type PropertyAttribute = Prisma.PropertyAttributeModel
|
|
/**
|
|
* Model PropertyOption
|
|
*
|
|
*/
|
|
export type PropertyOption = Prisma.PropertyOptionModel
|
|
/**
|
|
* Model EntityTag
|
|
*
|
|
*/
|
|
export type EntityTag = Prisma.EntityTagModel
|
|
/**
|
|
* Model EntityTenantUserPermission
|
|
*
|
|
*/
|
|
export type EntityTenantUserPermission = Prisma.EntityTenantUserPermissionModel
|
|
/**
|
|
* Model EntityWebhook
|
|
*
|
|
*/
|
|
export type EntityWebhook = Prisma.EntityWebhookModel
|
|
/**
|
|
* Model EntityWebhookLog
|
|
*
|
|
*/
|
|
export type EntityWebhookLog = Prisma.EntityWebhookLogModel
|
|
/**
|
|
* Model EntityRelationship
|
|
*
|
|
*/
|
|
export type EntityRelationship = Prisma.EntityRelationshipModel
|
|
/**
|
|
* Model SampleCustomEntity
|
|
*
|
|
*/
|
|
export type SampleCustomEntity = Prisma.SampleCustomEntityModel
|
|
/**
|
|
* Model RowRelationship
|
|
*
|
|
*/
|
|
export type RowRelationship = Prisma.RowRelationshipModel
|
|
/**
|
|
* Model Row
|
|
*
|
|
*/
|
|
export type Row = Prisma.RowModel
|
|
/**
|
|
* Model RowValue
|
|
*
|
|
*/
|
|
export type RowValue = Prisma.RowValueModel
|
|
/**
|
|
* Model RowValueMultiple
|
|
*
|
|
*/
|
|
export type RowValueMultiple = Prisma.RowValueMultipleModel
|
|
/**
|
|
* Model RowValueRange
|
|
*
|
|
*/
|
|
export type RowValueRange = Prisma.RowValueRangeModel
|
|
/**
|
|
* Model RowPermission
|
|
*
|
|
*/
|
|
export type RowPermission = Prisma.RowPermissionModel
|
|
/**
|
|
* Model RowMedia
|
|
*
|
|
*/
|
|
export type RowMedia = Prisma.RowMediaModel
|
|
/**
|
|
* Model RowTag
|
|
*
|
|
*/
|
|
export type RowTag = Prisma.RowTagModel
|
|
/**
|
|
* Model RowComment
|
|
*
|
|
*/
|
|
export type RowComment = Prisma.RowCommentModel
|
|
/**
|
|
* Model RowCommentReaction
|
|
*
|
|
*/
|
|
export type RowCommentReaction = Prisma.RowCommentReactionModel
|
|
/**
|
|
* Model RowTask
|
|
*
|
|
*/
|
|
export type RowTask = Prisma.RowTaskModel
|
|
/**
|
|
* Model EntityTemplate
|
|
*
|
|
*/
|
|
export type EntityTemplate = Prisma.EntityTemplateModel
|
|
/**
|
|
* Model EntityGroup
|
|
*
|
|
*/
|
|
export type EntityGroup = Prisma.EntityGroupModel
|
|
/**
|
|
* Model EntityGroupEntity
|
|
*
|
|
*/
|
|
export type EntityGroupEntity = Prisma.EntityGroupEntityModel
|
|
/**
|
|
* Model Formula
|
|
*
|
|
*/
|
|
export type Formula = Prisma.FormulaModel
|
|
/**
|
|
* Model FormulaComponent
|
|
*
|
|
*/
|
|
export type FormulaComponent = Prisma.FormulaComponentModel
|
|
/**
|
|
* Model FormulaLog
|
|
*
|
|
*/
|
|
export type FormulaLog = Prisma.FormulaLogModel
|
|
/**
|
|
* Model FormulaComponentLog
|
|
*
|
|
*/
|
|
export type FormulaComponentLog = Prisma.FormulaComponentLogModel
|
|
/**
|
|
* Model EntityGroupConfiguration
|
|
*
|
|
*/
|
|
export type EntityGroupConfiguration = Prisma.EntityGroupConfigurationModel
|
|
/**
|
|
* Model EntityGroupConfigurationRow
|
|
*
|
|
*/
|
|
export type EntityGroupConfigurationRow = Prisma.EntityGroupConfigurationRowModel
|
|
/**
|
|
* Model ApiKeyEntity
|
|
*
|
|
*/
|
|
export type ApiKeyEntity = Prisma.ApiKeyEntityModel
|
|
/**
|
|
* Model TenantSettingsRow
|
|
*
|
|
*/
|
|
export type TenantSettingsRow = Prisma.TenantSettingsRowModel
|
|
/**
|
|
* Model EntityLink
|
|
* A directed, role-labelled link from one entity to another, scoped per tenant.
|
|
* Idempotent on the unique tuple (upsert in entityLinkService).
|
|
*/
|
|
export type EntityLink = Prisma.EntityLinkModel
|
|
/**
|
|
* Model FeatureFlag
|
|
*
|
|
*/
|
|
export type FeatureFlag = Prisma.FeatureFlagModel
|
|
/**
|
|
* Model FeatureFlagFilter
|
|
*
|
|
*/
|
|
export type FeatureFlagFilter = Prisma.FeatureFlagFilterModel
|
|
/**
|
|
* Model FeatureFlagAudit
|
|
* Append-only audit trail for every mutation of a FeatureFlag (create / update / delete / toggle).
|
|
* Never UPDATE or DELETE rows from app code — preserves tamper-resistance for compliance.
|
|
*/
|
|
export type FeatureFlagAudit = Prisma.FeatureFlagAuditModel
|
|
/**
|
|
* Model File
|
|
* A stored file, scoped per tenant. `storageKey` points at the original object
|
|
* in the private Hetzner bucket (AD-23); delivery is only via the auth-proxy
|
|
* route. Soft-delete via `archivedAt` (archive flag). Hard-delete is a separate
|
|
* action (files.delete).
|
|
*/
|
|
export type File = Prisma.FileModel
|
|
/**
|
|
* Model FileEntityLink
|
|
* Polymorphic link of a file to any entity (cross-cutting). `entityType` +
|
|
* `entityId` address the target entity, `linkRole` is an optional role label
|
|
* (e.g. "contract", "photo").
|
|
*/
|
|
export type FileEntityLink = Prisma.FileEntityLinkModel
|
|
/**
|
|
* Model FileUpload
|
|
* Chunked-upload session (replaces spec `FileUploadProgress`, renamed to avoid
|
|
* the core collision). No resume in v1 — this session only carries progress up
|
|
* to `complete`. `expiresAt` = now + 24h; a cleanup cron sweeps expired
|
|
* sessions + temp chunks.
|
|
*/
|
|
export type FileUpload = Prisma.FileUploadModel
|
|
/**
|
|
* Model FileUploadChunk
|
|
* One uploaded chunk of a `FileUpload` session (replaces spec `FileChunk`).
|
|
* Bytes live in temp storage (`storageKey`), not in the DB.
|
|
*/
|
|
export type FileUploadChunk = Prisma.FileUploadChunkModel
|
|
/**
|
|
* Model Form
|
|
*
|
|
*/
|
|
export type Form = Prisma.FormModel
|
|
/**
|
|
* Model FormSubmission
|
|
*
|
|
*/
|
|
export type FormSubmission = Prisma.FormSubmissionModel
|
|
/**
|
|
* Model Feedback
|
|
*
|
|
*/
|
|
export type Feedback = Prisma.FeedbackModel
|
|
/**
|
|
* Model SupportTicket
|
|
*
|
|
*/
|
|
export type SupportTicket = Prisma.SupportTicketModel
|
|
/**
|
|
* Model ImportJob
|
|
*
|
|
*/
|
|
export type ImportJob = Prisma.ImportJobModel
|
|
/**
|
|
* Model KnowledgeBase
|
|
*
|
|
*/
|
|
export type KnowledgeBase = Prisma.KnowledgeBaseModel
|
|
/**
|
|
* Model KnowledgeBaseCategory
|
|
*
|
|
*/
|
|
export type KnowledgeBaseCategory = Prisma.KnowledgeBaseCategoryModel
|
|
/**
|
|
* Model KnowledgeBaseCategorySection
|
|
*
|
|
*/
|
|
export type KnowledgeBaseCategorySection = Prisma.KnowledgeBaseCategorySectionModel
|
|
/**
|
|
* Model KnowledgeBaseArticle
|
|
*
|
|
*/
|
|
export type KnowledgeBaseArticle = Prisma.KnowledgeBaseArticleModel
|
|
/**
|
|
* Model KnowledgeBaseRelatedArticle
|
|
*
|
|
*/
|
|
export type KnowledgeBaseRelatedArticle = Prisma.KnowledgeBaseRelatedArticleModel
|
|
/**
|
|
* Model KnowledgeBaseViews
|
|
*
|
|
*/
|
|
export type KnowledgeBaseViews = Prisma.KnowledgeBaseViewsModel
|
|
/**
|
|
* Model KnowledgeBaseArticleViews
|
|
*
|
|
*/
|
|
export type KnowledgeBaseArticleViews = Prisma.KnowledgeBaseArticleViewsModel
|
|
/**
|
|
* Model KnowledgeBaseArticleUpvotes
|
|
*
|
|
*/
|
|
export type KnowledgeBaseArticleUpvotes = Prisma.KnowledgeBaseArticleUpvotesModel
|
|
/**
|
|
* Model KnowledgeBaseArticleDownvotes
|
|
*
|
|
*/
|
|
export type KnowledgeBaseArticleDownvotes = Prisma.KnowledgeBaseArticleDownvotesModel
|
|
/**
|
|
* Model Lead
|
|
*
|
|
*/
|
|
export type Lead = Prisma.LeadModel
|
|
/**
|
|
* Model LeadEvent
|
|
*
|
|
*/
|
|
export type LeadEvent = Prisma.LeadEventModel
|
|
/**
|
|
* Model TenantAcquisition
|
|
*
|
|
*/
|
|
export type TenantAcquisition = Prisma.TenantAcquisitionModel
|
|
/**
|
|
* Model MarketingIntegration
|
|
*
|
|
*/
|
|
export type MarketingIntegration = Prisma.MarketingIntegrationModel
|
|
/**
|
|
* Model NotificationDelivery
|
|
*
|
|
*/
|
|
export type NotificationDelivery = Prisma.NotificationDeliveryModel
|
|
/**
|
|
* Model UserNotificationPreference
|
|
*
|
|
*/
|
|
export type UserNotificationPreference = Prisma.UserNotificationPreferenceModel
|
|
/**
|
|
* Model DeviceToken
|
|
*
|
|
*/
|
|
export type DeviceToken = Prisma.DeviceTokenModel
|
|
/**
|
|
* Model Onboarding
|
|
*
|
|
*/
|
|
export type Onboarding = Prisma.OnboardingModel
|
|
/**
|
|
* Model OnboardingFilter
|
|
*
|
|
*/
|
|
export type OnboardingFilter = Prisma.OnboardingFilterModel
|
|
/**
|
|
* Model OnboardingStep
|
|
*
|
|
*/
|
|
export type OnboardingStep = Prisma.OnboardingStepModel
|
|
/**
|
|
* Model OnboardingSession
|
|
*
|
|
*/
|
|
export type OnboardingSession = Prisma.OnboardingSessionModel
|
|
/**
|
|
* Model OnboardingSessionAction
|
|
*
|
|
*/
|
|
export type OnboardingSessionAction = Prisma.OnboardingSessionActionModel
|
|
/**
|
|
* Model OnboardingSessionFilterMatch
|
|
*
|
|
*/
|
|
export type OnboardingSessionFilterMatch = Prisma.OnboardingSessionFilterMatchModel
|
|
/**
|
|
* Model OnboardingSessionStep
|
|
*
|
|
*/
|
|
export type OnboardingSessionStep = Prisma.OnboardingSessionStepModel
|
|
/**
|
|
* Model OutboxEvent
|
|
*
|
|
*/
|
|
export type OutboxEvent = Prisma.OutboxEventModel
|
|
/**
|
|
* Model Role
|
|
*
|
|
*/
|
|
export type Role = Prisma.RoleModel
|
|
/**
|
|
* Model Permission
|
|
*
|
|
*/
|
|
export type Permission = Prisma.PermissionModel
|
|
/**
|
|
* Model RolePermission
|
|
*
|
|
*/
|
|
export type RolePermission = Prisma.RolePermissionModel
|
|
/**
|
|
* Model UserRole
|
|
*
|
|
*/
|
|
export type UserRole = Prisma.UserRoleModel
|
|
/**
|
|
* Model Group
|
|
*
|
|
*/
|
|
export type Group = Prisma.GroupModel
|
|
/**
|
|
* Model GroupUser
|
|
*
|
|
*/
|
|
export type GroupUser = Prisma.GroupUserModel
|
|
/**
|
|
* Model Plugin
|
|
*
|
|
*/
|
|
export type Plugin = Prisma.PluginModel
|
|
/**
|
|
* Model TenantPluginCapabilityGrant
|
|
*
|
|
*/
|
|
export type TenantPluginCapabilityGrant = Prisma.TenantPluginCapabilityGrantModel
|
|
/**
|
|
* Model PluginUserConfig
|
|
*
|
|
*/
|
|
export type PluginUserConfig = Prisma.PluginUserConfigModel
|
|
/**
|
|
* Model PluginInvocation
|
|
*
|
|
*/
|
|
export type PluginInvocation = Prisma.PluginInvocationModel
|
|
/**
|
|
* Model PluginCapabilityUse
|
|
*
|
|
*/
|
|
export type PluginCapabilityUse = Prisma.PluginCapabilityUseModel
|
|
/**
|
|
* Model Portal
|
|
*
|
|
*/
|
|
export type Portal = Prisma.PortalModel
|
|
/**
|
|
* Model PortalUser
|
|
*
|
|
*/
|
|
export type PortalUser = Prisma.PortalUserModel
|
|
/**
|
|
* Model PortalPage
|
|
*
|
|
*/
|
|
export type PortalPage = Prisma.PortalPageModel
|
|
/**
|
|
* Model PortalUserRegistration
|
|
*
|
|
*/
|
|
export type PortalUserRegistration = Prisma.PortalUserRegistrationModel
|
|
/**
|
|
* Model PortalSubscriptionProduct
|
|
*
|
|
*/
|
|
export type PortalSubscriptionProduct = Prisma.PortalSubscriptionProductModel
|
|
/**
|
|
* Model PortalSubscriptionPrice
|
|
*
|
|
*/
|
|
export type PortalSubscriptionPrice = Prisma.PortalSubscriptionPriceModel
|
|
/**
|
|
* Model PortalSubscriptionFeature
|
|
*
|
|
*/
|
|
export type PortalSubscriptionFeature = Prisma.PortalSubscriptionFeatureModel
|
|
/**
|
|
* Model PortalUserSubscription
|
|
*
|
|
*/
|
|
export type PortalUserSubscription = Prisma.PortalUserSubscriptionModel
|
|
/**
|
|
* Model PortalUserSubscriptionProduct
|
|
*
|
|
*/
|
|
export type PortalUserSubscriptionProduct = Prisma.PortalUserSubscriptionProductModel
|
|
/**
|
|
* Model PortalUserSubscriptionProductPrice
|
|
*
|
|
*/
|
|
export type PortalUserSubscriptionProductPrice = Prisma.PortalUserSubscriptionProductPriceModel
|
|
/**
|
|
* Model PortalCheckoutSessionStatus
|
|
*
|
|
*/
|
|
export type PortalCheckoutSessionStatus = Prisma.PortalCheckoutSessionStatusModel
|
|
/**
|
|
* Model QueueFailedJob
|
|
*
|
|
*/
|
|
export type QueueFailedJob = Prisma.QueueFailedJobModel
|
|
/**
|
|
* Model ExportJob
|
|
*
|
|
*/
|
|
export type ExportJob = Prisma.ExportJobModel
|
|
/**
|
|
* Model Site
|
|
*
|
|
*/
|
|
export type Site = Prisma.SiteModel
|
|
/**
|
|
* Model SubscriptionProduct
|
|
*
|
|
*/
|
|
export type SubscriptionProduct = Prisma.SubscriptionProductModel
|
|
/**
|
|
* Model SubscriptionPrice
|
|
*
|
|
*/
|
|
export type SubscriptionPrice = Prisma.SubscriptionPriceModel
|
|
/**
|
|
* Model SubscriptionUsageBasedPrice
|
|
*
|
|
*/
|
|
export type SubscriptionUsageBasedPrice = Prisma.SubscriptionUsageBasedPriceModel
|
|
/**
|
|
* Model SubscriptionUsageBasedTier
|
|
*
|
|
*/
|
|
export type SubscriptionUsageBasedTier = Prisma.SubscriptionUsageBasedTierModel
|
|
/**
|
|
* Model SubscriptionFeature
|
|
*
|
|
*/
|
|
export type SubscriptionFeature = Prisma.SubscriptionFeatureModel
|
|
/**
|
|
* Model TenantSubscription
|
|
*
|
|
*/
|
|
export type TenantSubscription = Prisma.TenantSubscriptionModel
|
|
/**
|
|
* Model TenantSubscriptionProduct
|
|
*
|
|
*/
|
|
export type TenantSubscriptionProduct = Prisma.TenantSubscriptionProductModel
|
|
/**
|
|
* Model TenantSubscriptionProductPrice
|
|
*
|
|
*/
|
|
export type TenantSubscriptionProductPrice = Prisma.TenantSubscriptionProductPriceModel
|
|
/**
|
|
* Model TenantSubscriptionUsageRecord
|
|
*
|
|
*/
|
|
export type TenantSubscriptionUsageRecord = Prisma.TenantSubscriptionUsageRecordModel
|
|
/**
|
|
* Model TenantProductConfiguration
|
|
*
|
|
*/
|
|
export type TenantProductConfiguration = Prisma.TenantProductConfigurationModel
|
|
/**
|
|
* Model TenantFeatureOverride
|
|
*
|
|
*/
|
|
export type TenantFeatureOverride = Prisma.TenantFeatureOverrideModel
|
|
/**
|
|
* Model CheckoutSessionStatus
|
|
*
|
|
*/
|
|
export type CheckoutSessionStatus = Prisma.CheckoutSessionStatusModel
|
|
/**
|
|
* Model Credit
|
|
*
|
|
*/
|
|
export type Credit = Prisma.CreditModel
|
|
/**
|
|
* Model Task
|
|
* A task, scoped per tenant. Soft-delete via `archivedAt` (archive flag). A
|
|
* completed task (`status = done`, `completedAt` set) is auto-archived 30 days
|
|
* later by a maintenance cron.
|
|
*/
|
|
export type Task = Prisma.TaskModel
|
|
/**
|
|
* Model TaskWatcher
|
|
* A user watching a task (M:N). Watchers receive reminder notifications in
|
|
* addition to the assignee.
|
|
*/
|
|
export type TaskWatcher = Prisma.TaskWatcherModel
|
|
/**
|
|
* Model Workflow
|
|
*
|
|
*/
|
|
export type Workflow = Prisma.WorkflowModel
|
|
/**
|
|
* Model WorkflowBlock
|
|
*
|
|
*/
|
|
export type WorkflowBlock = Prisma.WorkflowBlockModel
|
|
/**
|
|
* Model WorkflowBlockConditionGroup
|
|
*
|
|
*/
|
|
export type WorkflowBlockConditionGroup = Prisma.WorkflowBlockConditionGroupModel
|
|
/**
|
|
* Model WorkflowBlockCondition
|
|
*
|
|
*/
|
|
export type WorkflowBlockCondition = Prisma.WorkflowBlockConditionModel
|
|
/**
|
|
* Model WorkflowBlockToBlock
|
|
*
|
|
*/
|
|
export type WorkflowBlockToBlock = Prisma.WorkflowBlockToBlockModel
|
|
/**
|
|
* Model WorkflowExecution
|
|
*
|
|
*/
|
|
export type WorkflowExecution = Prisma.WorkflowExecutionModel
|
|
/**
|
|
* Model WorkflowInputExample
|
|
*
|
|
*/
|
|
export type WorkflowInputExample = Prisma.WorkflowInputExampleModel
|
|
/**
|
|
* Model WorkflowBlockExecution
|
|
*
|
|
*/
|
|
export type WorkflowBlockExecution = Prisma.WorkflowBlockExecutionModel
|
|
/**
|
|
* Model WorkflowVariable
|
|
*
|
|
*/
|
|
export type WorkflowVariable = Prisma.WorkflowVariableModel
|
|
/**
|
|
* Model WorkflowCredential
|
|
*
|
|
*/
|
|
export type WorkflowCredential = Prisma.WorkflowCredentialModel
|