Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -27,11 +27,6 @@ export type User = Prisma.UserModel
*
*/
export type MagicLinkToken = Prisma.MagicLinkTokenModel
/**
* Model AdminUser
*
*/
export type AdminUser = Prisma.AdminUserModel
/**
* Model Tenant
*
@@ -72,11 +67,6 @@ export type Blacklist = Prisma.BlacklistModel
*
*/
export type TenantIpAddress = Prisma.TenantIpAddressModel
/**
* Model TenantType
*
*/
export type TenantType = Prisma.TenantTypeModel
/**
* Model Activity
* User-facing business activity timeline (M045 / M01 Block E).
@@ -111,6 +101,405 @@ export type AdminTenantNote = Prisma.AdminTenantNoteModel
* tenant. A null author means an inbound message from the customer side.
*/
export type SupportTicketMessage = Prisma.SupportTicketMessageModel
/**
* Model AdminMeetingType
*
*/
export type AdminMeetingType = Prisma.AdminMeetingTypeModel
/**
* Model AdminAvailabilityRule
*
*/
export type AdminAvailabilityRule = Prisma.AdminAvailabilityRuleModel
/**
* Model AdminAvailabilityOverride
*
*/
export type AdminAvailabilityOverride = Prisma.AdminAvailabilityOverrideModel
/**
* Model AdminBookingPage
*
*/
export type AdminBookingPage = Prisma.AdminBookingPageModel
/**
* Model AdminBooking
*
*/
export type AdminBooking = Prisma.AdminBookingModel
/**
* Model AdminBookingParticipant
*
*/
export type AdminBookingParticipant = Prisma.AdminBookingParticipantModel
/**
* Model AdminBookingAssignment
*
*/
export type AdminBookingAssignment = Prisma.AdminBookingAssignmentModel
/**
* Model AdminBookingReminder
*
*/
export type AdminBookingReminder = Prisma.AdminBookingReminderModel
/**
* Model AdminCalendarConnection
*
*/
export type AdminCalendarConnection = Prisma.AdminCalendarConnectionModel
/**
* Model AdminCalendarSyncCursor
*
*/
export type AdminCalendarSyncCursor = Prisma.AdminCalendarSyncCursorModel
/**
* Model AdminDataConnection
*
*/
export type AdminDataConnection = Prisma.AdminDataConnectionModel
/**
* Model AdminConnectionCredential
*
*/
export type AdminConnectionCredential = Prisma.AdminConnectionCredentialModel
/**
* Model AdminMailbox
*
*/
export type AdminMailbox = Prisma.AdminMailboxModel
/**
* Model AdminMailboxSyncCursor
*
*/
export type AdminMailboxSyncCursor = Prisma.AdminMailboxSyncCursorModel
/**
* Model AdminMailboxWebhookEvent
*
*/
export type AdminMailboxWebhookEvent = Prisma.AdminMailboxWebhookEventModel
/**
* Model AdminEmailThread
*
*/
export type AdminEmailThread = Prisma.AdminEmailThreadModel
/**
* Model AdminEmailMessage
*
*/
export type AdminEmailMessage = Prisma.AdminEmailMessageModel
/**
* Model AdminEmailParticipant
*
*/
export type AdminEmailParticipant = Prisma.AdminEmailParticipantModel
/**
* Model AdminEmailAttachment
*
*/
export type AdminEmailAttachment = Prisma.AdminEmailAttachmentModel
/**
* Model AdminEmailEvent
*
*/
export type AdminEmailEvent = Prisma.AdminEmailEventModel
/**
* Model AdminEmailLink
*
*/
export type AdminEmailLink = Prisma.AdminEmailLinkModel
/**
* Model AdminEmailTemplate
*
*/
export type AdminEmailTemplate = Prisma.AdminEmailTemplateModel
/**
* Model AdminEmailSnippet
*
*/
export type AdminEmailSnippet = Prisma.AdminEmailSnippetModel
/**
* Model AdminEmailSignature
*
*/
export type AdminEmailSignature = Prisma.AdminEmailSignatureModel
/**
* Model AdminEmailOutboundPolicy
*
*/
export type AdminEmailOutboundPolicy = Prisma.AdminEmailOutboundPolicyModel
/**
* Model AdminScheduledEmail
*
*/
export type AdminScheduledEmail = Prisma.AdminScheduledEmailModel
/**
* Model AdminNoReplyReminder
*
*/
export type AdminNoReplyReminder = Prisma.AdminNoReplyReminderModel
/**
* Model AdminBulkEmailRun
*
*/
export type AdminBulkEmailRun = Prisma.AdminBulkEmailRunModel
/**
* Model AdminSendingDomain
*
*/
export type AdminSendingDomain = Prisma.AdminSendingDomainModel
/**
* Model AdminBccAddress
*
*/
export type AdminBccAddress = Prisma.AdminBccAddressModel
/**
* Model AdminUser
*
*/
export type AdminUser = Prisma.AdminUserModel
/**
* Model AdminSession
*
*/
export type AdminSession = Prisma.AdminSessionModel
/**
* Model AdminRole
*
*/
export type AdminRole = Prisma.AdminRoleModel
/**
* Model AdminPermission
*
*/
export type AdminPermission = Prisma.AdminPermissionModel
/**
* Model AdminRolePermission
*
*/
export type AdminRolePermission = Prisma.AdminRolePermissionModel
/**
* Model AdminUserRole
*
*/
export type AdminUserRole = Prisma.AdminUserRoleModel
/**
* Model AdminLeadSource
*
*/
export type AdminLeadSource = Prisma.AdminLeadSourceModel
/**
* Model AdminLeadSourceCredential
* Rotatable source credential. Only a one-way digest is persisted; the raw
* bearer value is returned once by the source administration service.
*/
export type AdminLeadSourceCredential = Prisma.AdminLeadSourceCredentialModel
/**
* Model AdminLead
*
*/
export type AdminLead = Prisma.AdminLeadModel
/**
* Model AdminLeadActivity
* Append-only business timeline. Notes are activities rather than a mutable
* blob on AdminLead so every operator-visible change remains attributable.
*/
export type AdminLeadActivity = Prisma.AdminLeadActivityModel
/**
* Model AdminCompany
*
*/
export type AdminCompany = Prisma.AdminCompanyModel
/**
* Model AdminContact
*
*/
export type AdminContact = Prisma.AdminContactModel
/**
* Model AdminContactChannel
*
*/
export type AdminContactChannel = Prisma.AdminContactChannelModel
/**
* Model AdminPipeline
*
*/
export type AdminPipeline = Prisma.AdminPipelineModel
/**
* Model AdminPipelineStage
*
*/
export type AdminPipelineStage = Prisma.AdminPipelineStageModel
/**
* Model AdminStageRequiredField
*
*/
export type AdminStageRequiredField = Prisma.AdminStageRequiredFieldModel
/**
* Model AdminDealLossReason
*
*/
export type AdminDealLossReason = Prisma.AdminDealLossReasonModel
/**
* Model AdminDeal
*
*/
export type AdminDeal = Prisma.AdminDealModel
/**
* Model AdminDealContact
*
*/
export type AdminDealContact = Prisma.AdminDealContactModel
/**
* Model AdminDealStageHistory
* Immutable record of every deal stage transition. The first history row has
* no fromStageId and represents entry into the pipeline.
*/
export type AdminDealStageHistory = Prisma.AdminDealStageHistoryModel
/**
* Model AdminTaskRecurrence
*
*/
export type AdminTaskRecurrence = Prisma.AdminTaskRecurrenceModel
/**
* Model AdminTask
*
*/
export type AdminTask = Prisma.AdminTaskModel
/**
* Model AdminTag
*
*/
export type AdminTag = Prisma.AdminTagModel
/**
* Model AdminContactTag
*
*/
export type AdminContactTag = Prisma.AdminContactTagModel
/**
* Model AdminCustomFieldDefinition
*
*/
export type AdminCustomFieldDefinition = Prisma.AdminCustomFieldDefinitionModel
/**
* Model AdminCustomFieldValue
*
*/
export type AdminCustomFieldValue = Prisma.AdminCustomFieldValueModel
/**
* Model AdminContactNote
*
*/
export type AdminContactNote = Prisma.AdminContactNoteModel
/**
* Model AdminImportJob
*
*/
export type AdminImportJob = Prisma.AdminImportJobModel
/**
* Model AdminImportRowError
*
*/
export type AdminImportRowError = Prisma.AdminImportRowErrorModel
/**
* Model AdminExportJob
*
*/
export type AdminExportJob = Prisma.AdminExportJobModel
/**
* Model AdminActivity
* Append-only business timeline shared by leads, contacts, companies and
* deals. At least one context id is required by the repository contract.
*/
export type AdminActivity = Prisma.AdminActivityModel
/**
* Model AdminLeadAssignmentRule
* Ordered, deterministic assignment rule. `sourceId` and `region` are ANDed;
* a null criterion is a wildcard. The mutable cursor is locked together with
* the lead so concurrent round-robin assignments cannot select the same slot.
*/
export type AdminLeadAssignmentRule = Prisma.AdminLeadAssignmentRuleModel
/**
* Model AdminLeadScoreRule
* Versionable score rule. Rules are additive and evaluated in stable
* priority/id order. The score snapshot on AdminLeadQualification records the
* rule-set version so historical decisions stay explainable.
*/
export type AdminLeadScoreRule = Prisma.AdminLeadScoreRuleModel
/**
* Model AdminLeadQualification
*
*/
export type AdminLeadQualification = Prisma.AdminLeadQualificationModel
/**
* Model AdminDuplicateCandidate
*
*/
export type AdminDuplicateCandidate = Prisma.AdminDuplicateCandidateModel
/**
* Model AdminMergeRecord
* Append-only record of a controlled lead merge. The losing lead is archived,
* never deleted, and its original activity stream remains intact.
*/
export type AdminMergeRecord = Prisma.AdminMergeRecordModel
/**
* Model AdminPhoneConnection
*
*/
export type AdminPhoneConnection = Prisma.AdminPhoneConnectionModel
/**
* Model AdminPhoneNumber
*
*/
export type AdminPhoneNumber = Prisma.AdminPhoneNumberModel
/**
* Model AdminTelephonyPolicy
*
*/
export type AdminTelephonyPolicy = Prisma.AdminTelephonyPolicyModel
/**
* Model AdminCallDisposition
*
*/
export type AdminCallDisposition = Prisma.AdminCallDispositionModel
/**
* Model AdminCallSession
*
*/
export type AdminCallSession = Prisma.AdminCallSessionModel
/**
* Model AdminCallParticipant
*
*/
export type AdminCallParticipant = Prisma.AdminCallParticipantModel
/**
* Model AdminCallEvent
*
*/
export type AdminCallEvent = Prisma.AdminCallEventModel
/**
* Model AdminCallMatchCandidate
*
*/
export type AdminCallMatchCandidate = Prisma.AdminCallMatchCandidateModel
/**
* Model AdminCallRecording
*
*/
export type AdminCallRecording = Prisma.AdminCallRecordingModel
/**
* Model AdminDialerList
*
*/
export type AdminDialerList = Prisma.AdminDialerListModel
/**
* Model AdminDialerEntry
*
*/
export type AdminDialerEntry = Prisma.AdminDialerEntryModel
/**
* Model AdminOutboundCallRequest
*
*/
export type AdminOutboundCallRequest = Prisma.AdminOutboundCallRequestModel
/**
* Model AnalyticsSettings
*
@@ -163,6 +552,27 @@ export type AppSyncRunLog = Prisma.AppSyncRunLogModel
* external system id (`externalId`). Polymorphic.
*/
export type AppSyncItem = Prisma.AppSyncItemModel
/**
* Model AppEntityBinding
* Durable provider-neutral identity mapping. AppSyncItem remains the history
* of one run; this row survives runs, reconnects and process restarts.
*/
export type AppEntityBinding = Prisma.AppEntityBindingModel
/**
* Model AuditChainCheckpoint
*
*/
export type AuditChainCheckpoint = Prisma.AuditChainCheckpointModel
/**
* Model AuditChainHead
*
*/
export type AuditChainHead = Prisma.AuditChainHeadModel
/**
* Model AuditChainCheckpointHead
*
*/
export type AuditChainCheckpointHead = Prisma.AuditChainCheckpointHeadModel
/**
* Model ProjektMitglied
*
@@ -349,6 +759,63 @@ export type CalendarWebhookEvent = Prisma.CalendarWebhookEventModel
* 50 with a Klartext description + how it was resolved (Last-Write-Wins).
*/
export type CalendarConflict = Prisma.CalendarConflictModel
/**
* Model TeamChat
* A project-linked, group, or direct-message channel. Project and direct
* message channels are always private; group privacy is selected at creation.
* The merge migration enforces kind-specific CHECK constraints and partial
* unique indexes for active project channels and direct-message pairs.
*/
export type TeamChat = Prisma.TeamChatModel
/**
* Model TeamChatGroupSource
* Permission-group sources selected while creating a group chat. Sources are
* kept even when synchronization is disabled so the channel configuration is
* explicit and can be enabled later without guessing its original scope.
* `groupId` deliberately remains a bare cross-module identifier (AD-21).
*/
export type TeamChatGroupSource = Prisma.TeamChatGroupSourceModel
/**
* Model TeamChatEvent
* Append-only event ledger for reconnect gap-fill. The wire cursor combines
* the channel's `eventStreamId` with `sequence`, which is serialized as a
* decimal string so JavaScript clients never lose BigInt precision. Redis
* fans these events out but is never their source of truth.
*/
export type TeamChatEvent = Prisma.TeamChatEventModel
/**
* Model TeamChatMember
* One user's membership and per-channel notification/read preferences.
* Rejoining reactivates the existing row by clearing `leftAt`.
*/
export type TeamChatMember = Prisma.TeamChatMemberModel
/**
* Model TeamChatMessage
* A channel message or one-level thread reply. User-authored sends use a
* stable client id so retries and WebSocket echoes remain idempotent.
*/
export type TeamChatMessage = Prisma.TeamChatMessageModel
/**
* Model TeamChatThread
* Denormalized aggregate for the one-level reply list of a parent message.
*/
export type TeamChatThread = Prisma.TeamChatThreadModel
/**
* Model TeamChatPinnedMessage
* A channel-level message pin. Domain guards enforce the 50-pin limit and
* reject message pins for direct-message channels.
*/
export type TeamChatPinnedMessage = Prisma.TeamChatPinnedMessageModel
/**
* Model TeamChatReaction
* One user's Unicode emoji reaction to a message.
*/
export type TeamChatReaction = Prisma.TeamChatReactionModel
/**
* Model TeamChatRead
* Per-user read receipt written only after a message was visibly read.
*/
export type TeamChatRead = Prisma.TeamChatReadModel
/**
* Model CollabDoc
*
@@ -458,8 +925,7 @@ export type KontaktRelation = Prisma.KontaktRelationModel
export type KontaktEmail = Prisma.KontaktEmailModel
/**
* Model KontaktTelefon
* One of a contact's phone numbers. Exactly one carries `primaer = true`
* (enforced in the service), mirrored to `Kontakt.primaerTelefon`.
*
*/
export type KontaktTelefon = Prisma.KontaktTelefonModel
/**
@@ -683,6 +1149,12 @@ export type FeatureFlag = Prisma.FeatureFlagModel
*
*/
export type FeatureFlagFilter = Prisma.FeatureFlagFilterModel
/**
* Model AdminFeatureFlagOverride
* Operator-managed rollout override. This is deliberately not the
* subscription/entitlement TenantFeatureOverride model.
*/
export type AdminFeatureFlagOverride = Prisma.AdminFeatureFlagOverrideModel
/**
* Model FeatureFlagAudit
* Append-only audit trail for every mutation of a FeatureFlag (create / update / delete / toggle).
@@ -983,6 +1455,47 @@ export type KnowledgeBaseArticleUpvotes = Prisma.KnowledgeBaseArticleUpvotesMode
*
*/
export type KnowledgeBaseArticleDownvotes = Prisma.KnowledgeBaseArticleDownvotesModel
/**
* Model KwpApiContractSnapshot
*
*/
export type KwpApiContractSnapshot = Prisma.KwpApiContractSnapshotModel
/**
* Model KwpCapabilityState
*
*/
export type KwpCapabilityState = Prisma.KwpCapabilityStateModel
/**
* Model KwpErrorReport
*
*/
export type KwpErrorReport = Prisma.KwpErrorReportModel
/**
* Model KwpProjectRouting
* Stable provider-status to HiveGrid Pipeline/Stage routing. Names are never
* used as runtime identifiers; archived/missing targets quarantine the item.
*/
export type KwpProjectRouting = Prisma.KwpProjectRoutingModel
/**
* Model KwpProjectCatalogState
* Connection-level progress for the automatic read-only KWP project catalog.
* Discovery is intentionally cursorless and represents only the project set
* visible through the confirmed mandant's Projektampel settings.
*/
export type KwpProjectCatalogState = Prisma.KwpProjectCatalogStateModel
/**
* Model KwpProjectCatalogItem
* Safe, normalized project fields used for cache-first KWP search. No raw
* provider payload and no prohibited financial/address-internal fields are
* persisted here.
*/
export type KwpProjectCatalogItem = Prisma.KwpProjectCatalogItemModel
/**
* Model KwpMaterialPosition
* Read-only material/ERP position mirrored from the KWP project view. KWP is
* authoritative for these fields; local project data remains independent.
*/
export type KwpMaterialPosition = Prisma.KwpMaterialPositionModel
/**
* Model InboxLead
*
@@ -1128,6 +1641,24 @@ export type Group = Prisma.GroupModel
*
*/
export type GroupUser = Prisma.GroupUserModel
/**
* Model PipelineAccessRequest
*
*/
export type PipelineAccessRequest = Prisma.PipelineAccessRequestModel
/**
* Model PipelineHandover
* One completed pipeline handover of a single project. Append-only: an undo
* writes a new `ProjektStageChange`, it does not delete the handover trail.
*/
export type PipelineHandover = Prisma.PipelineHandoverModel
/**
* Model PipelineHandoverItem
* A single companion record the user ticked in M04. `sourceId` addresses the
* note/file/task/appointment; it stays a bare scalar because the four sources
* live in four different module schemas.
*/
export type PipelineHandoverItem = Prisma.PipelineHandoverItemModel
/**
* Model Plugin
*
@@ -1163,51 +1694,118 @@ export type Portal = Prisma.PortalModel
*
*/
export type PortalUser = Prisma.PortalUserModel
/**
* Model PortalSession
* Server-side session for the separate customer-portal identity class. The
* raw cookie value is never stored; tenantId and portalUserId are immutable
* under the dedicated portal RLS policy.
*/
export type PortalSession = Prisma.PortalSessionModel
/**
* Model PortalDomainHostnameClaim
* Durable global hostname reservation. The row survives deprovisioning and
* carries the 30-day reclaim cooldown so a dangling CNAME cannot be claimed
* by another workspace. Only the SHA-256 TXT proof is persisted.
*/
export type PortalDomainHostnameClaim = Prisma.PortalDomainHostnameClaimModel
/**
* Model PortalCustomDomain
* Exactly one current custom-domain generation per portal. Host resolution
* reads only `active` rows with a matching claim generation and non-null
* origin through a SECURITY DEFINER function; the portal login has no direct
* table grant.
*/
export type PortalCustomDomain = Prisma.PortalCustomDomainModel
/**
* Model PortalToken
* Hashed, single-purpose portal authentication capability. Magic-link,
* first-login setup, email verification and password reset share this table
* but can never be exchanged across purposes.
*/
export type PortalToken = Prisma.PortalTokenModel
/**
* Model PortalProjectAccess
* Explicit project allow-list for one portal identity. Project visibility is
* never inferred from tenant membership alone.
*/
export type PortalProjectAccess = Prisma.PortalProjectAccessModel
/**
* Model PortalStageVisibility
* Tenant-admin configuration for the stages that an end customer may see.
*/
export type PortalStageVisibility = Prisma.PortalStageVisibilityModel
/**
* Model PortalProjectDocument
* Explicit document release. A File or FileEntityLink by itself never grants
* customer-portal read access.
*/
export type PortalProjectDocument = Prisma.PortalProjectDocumentModel
/**
* Model PortalEmailTemplate
* Stage-change mail template managed by the tenant-facing core application.
* The portal runtime only reads rendered project/status data, never edits it.
*/
export type PortalEmailTemplate = Prisma.PortalEmailTemplateModel
/**
* Model PortalUpload
* Persisted contract for one portal upload. File/FileUpload/FileEntityLink
* identifiers remain bare cross-module scalars per AD-21; the file tables
* independently carry the same PortalUser actor and tenant scope.
*/
export type PortalUpload = Prisma.PortalUploadModel
/**
* Model PortalComplaint
* Authenticated portal-form complaint. The validated form payload remains in
* FormSubmission; this row supplies the portal/project lifecycle contract.
*/
export type PortalComplaint = Prisma.PortalComplaintModel
/**
* Model PortalSubcontractorAccess
* One-to-one visibility extension for a subcontractor project grant. Customer
* access continues to use PortalProjectAccess without this restricted matrix.
*/
export type PortalSubcontractorAccess = Prisma.PortalSubcontractorAccessModel
/**
* Model PortalConfiguration
*
*/
export type PortalConfiguration = Prisma.PortalConfigurationModel
/**
* Model PortalDocumentAutoReleaseRule
*
*/
export type PortalDocumentAutoReleaseRule = Prisma.PortalDocumentAutoReleaseRuleModel
/**
* Model PortalNotificationPreference
*
*/
export type PortalNotificationPreference = Prisma.PortalNotificationPreferenceModel
/**
* Model PortalServiceInboxItem
* Persistent, seven-day internal service queue. It is written by trusted
* app/worker consumers and deliberately never exposed to hivegrid_portal.
*/
export type PortalServiceInboxItem = Prisma.PortalServiceInboxItemModel
/**
* Model PortalActivityRoutingRule
*
*/
export type PortalActivityRoutingRule = Prisma.PortalActivityRoutingRuleModel
/**
* Model PortalDeletionRequest
*
*/
export type PortalDeletionRequest = Prisma.PortalDeletionRequestModel
/**
* Model PortalGdprExportJob
*
*/
export type PortalGdprExportJob = Prisma.PortalGdprExportJobModel
/**
* 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 HiveNumberSeq
*
@@ -1228,6 +1826,13 @@ export type PipelineStage = Prisma.PipelineStageModel
*
*/
export type PipelineAccess = Prisma.PipelineAccessModel
/**
* Model PipelineFieldGroup
* WF-P8 S05: a named section of the project detail template ("Grunddaten",
* "Planung & Verantwortliche", "KWP-Integration", …). System groups ship with
* the pipeline and may be reordered but not deleted (`istSystem`).
*/
export type PipelineFieldGroup = Prisma.PipelineFieldGroupModel
/**
* Model PipelineFieldConfig
*
@@ -1263,6 +1868,19 @@ export type PipelineAggregateSnapshot = Prisma.PipelineAggregateSnapshotModel
*
*/
export type ProjektKontakt = Prisma.ProjektKontaktModel
/**
* Model ProjektAdressDetail
* The per-slot extras the S02 address group asks for on top of the shared
* `Adresse`. Deliberately NOT columns on `Adresse`: that is a shared CRM entity
* which contacts reuse, so a project's "Zahlungsziel" or "Zufahrt" would leak
* into every contact address. One row per project and slot.
*/
export type ProjektAdressDetail = Prisma.ProjektAdressDetailModel
/**
* Model ProjektNotiz
*
*/
export type ProjektNotiz = Prisma.ProjektNotizModel
/**
* Model PublicIncomingWebhookEndpoint
*
@@ -1363,6 +1981,15 @@ export type TenantSubscription = Prisma.TenantSubscriptionModel
*
*/
export type TenantSubscriptionProduct = Prisma.TenantSubscriptionProductModel
/**
* Model TenantProductAcquisition
* Idempotent tenant-owned ledger for products acquired outside the one-base-plan
* lifecycle. `scopeKey` is the stable business scope (for example `tenant` or a
* normalized hostname) and makes provider retries safe without granting the same
* entitlement twice. Provider failures remain local to this row and must never
* mutate the base TenantSubscription status.
*/
export type TenantProductAcquisition = Prisma.TenantProductAcquisitionModel
/**
* Model TenantSubscriptionProductPrice
*
@@ -1411,6 +2038,29 @@ export type Task = Prisma.TaskModel
* addition to the assignee.
*/
export type TaskWatcher = Prisma.TaskWatcherModel
/**
* Model TelephonyConnection
* Tenant-specific provider extension of one Apps Engine DataConnection.
* Credentials and lifecycle status remain canonical on DataConnection.
*/
export type TelephonyConnection = Prisma.TelephonyConnectionModel
/**
* Model TelephonyUserBinding
* Mapping between a HiveGrid TenantUser and a provider user (Aircall in v1).
*/
export type TelephonyUserBinding = Prisma.TelephonyUserBindingModel
/**
* Model TelephonyCallSession
* Normalized inbound or outbound call, optionally matched to one CRM entity.
*/
export type TelephonyCallSession = Prisma.TelephonyCallSessionModel
/**
* Model TelephonyWebhookEvent
* Redacted provider webhook envelope. Provider payload data is immutable;
* only processing metadata changes. Completed rows expire after 30 days and
* failed rows after 90 days through the tenant-scoped retention worker.
*/
export type TelephonyWebhookEvent = Prisma.TelephonyWebhookEventModel
/**
* Model Workflow
*
@@ -51,11 +51,6 @@ export type User = Prisma.UserModel
*
*/
export type MagicLinkToken = Prisma.MagicLinkTokenModel
/**
* Model AdminUser
*
*/
export type AdminUser = Prisma.AdminUserModel
/**
* Model Tenant
*
@@ -96,11 +91,6 @@ export type Blacklist = Prisma.BlacklistModel
*
*/
export type TenantIpAddress = Prisma.TenantIpAddressModel
/**
* Model TenantType
*
*/
export type TenantType = Prisma.TenantTypeModel
/**
* Model Activity
* User-facing business activity timeline (M045 / M01 Block E).
@@ -135,6 +125,405 @@ export type AdminTenantNote = Prisma.AdminTenantNoteModel
* tenant. A null author means an inbound message from the customer side.
*/
export type SupportTicketMessage = Prisma.SupportTicketMessageModel
/**
* Model AdminMeetingType
*
*/
export type AdminMeetingType = Prisma.AdminMeetingTypeModel
/**
* Model AdminAvailabilityRule
*
*/
export type AdminAvailabilityRule = Prisma.AdminAvailabilityRuleModel
/**
* Model AdminAvailabilityOverride
*
*/
export type AdminAvailabilityOverride = Prisma.AdminAvailabilityOverrideModel
/**
* Model AdminBookingPage
*
*/
export type AdminBookingPage = Prisma.AdminBookingPageModel
/**
* Model AdminBooking
*
*/
export type AdminBooking = Prisma.AdminBookingModel
/**
* Model AdminBookingParticipant
*
*/
export type AdminBookingParticipant = Prisma.AdminBookingParticipantModel
/**
* Model AdminBookingAssignment
*
*/
export type AdminBookingAssignment = Prisma.AdminBookingAssignmentModel
/**
* Model AdminBookingReminder
*
*/
export type AdminBookingReminder = Prisma.AdminBookingReminderModel
/**
* Model AdminCalendarConnection
*
*/
export type AdminCalendarConnection = Prisma.AdminCalendarConnectionModel
/**
* Model AdminCalendarSyncCursor
*
*/
export type AdminCalendarSyncCursor = Prisma.AdminCalendarSyncCursorModel
/**
* Model AdminDataConnection
*
*/
export type AdminDataConnection = Prisma.AdminDataConnectionModel
/**
* Model AdminConnectionCredential
*
*/
export type AdminConnectionCredential = Prisma.AdminConnectionCredentialModel
/**
* Model AdminMailbox
*
*/
export type AdminMailbox = Prisma.AdminMailboxModel
/**
* Model AdminMailboxSyncCursor
*
*/
export type AdminMailboxSyncCursor = Prisma.AdminMailboxSyncCursorModel
/**
* Model AdminMailboxWebhookEvent
*
*/
export type AdminMailboxWebhookEvent = Prisma.AdminMailboxWebhookEventModel
/**
* Model AdminEmailThread
*
*/
export type AdminEmailThread = Prisma.AdminEmailThreadModel
/**
* Model AdminEmailMessage
*
*/
export type AdminEmailMessage = Prisma.AdminEmailMessageModel
/**
* Model AdminEmailParticipant
*
*/
export type AdminEmailParticipant = Prisma.AdminEmailParticipantModel
/**
* Model AdminEmailAttachment
*
*/
export type AdminEmailAttachment = Prisma.AdminEmailAttachmentModel
/**
* Model AdminEmailEvent
*
*/
export type AdminEmailEvent = Prisma.AdminEmailEventModel
/**
* Model AdminEmailLink
*
*/
export type AdminEmailLink = Prisma.AdminEmailLinkModel
/**
* Model AdminEmailTemplate
*
*/
export type AdminEmailTemplate = Prisma.AdminEmailTemplateModel
/**
* Model AdminEmailSnippet
*
*/
export type AdminEmailSnippet = Prisma.AdminEmailSnippetModel
/**
* Model AdminEmailSignature
*
*/
export type AdminEmailSignature = Prisma.AdminEmailSignatureModel
/**
* Model AdminEmailOutboundPolicy
*
*/
export type AdminEmailOutboundPolicy = Prisma.AdminEmailOutboundPolicyModel
/**
* Model AdminScheduledEmail
*
*/
export type AdminScheduledEmail = Prisma.AdminScheduledEmailModel
/**
* Model AdminNoReplyReminder
*
*/
export type AdminNoReplyReminder = Prisma.AdminNoReplyReminderModel
/**
* Model AdminBulkEmailRun
*
*/
export type AdminBulkEmailRun = Prisma.AdminBulkEmailRunModel
/**
* Model AdminSendingDomain
*
*/
export type AdminSendingDomain = Prisma.AdminSendingDomainModel
/**
* Model AdminBccAddress
*
*/
export type AdminBccAddress = Prisma.AdminBccAddressModel
/**
* Model AdminUser
*
*/
export type AdminUser = Prisma.AdminUserModel
/**
* Model AdminSession
*
*/
export type AdminSession = Prisma.AdminSessionModel
/**
* Model AdminRole
*
*/
export type AdminRole = Prisma.AdminRoleModel
/**
* Model AdminPermission
*
*/
export type AdminPermission = Prisma.AdminPermissionModel
/**
* Model AdminRolePermission
*
*/
export type AdminRolePermission = Prisma.AdminRolePermissionModel
/**
* Model AdminUserRole
*
*/
export type AdminUserRole = Prisma.AdminUserRoleModel
/**
* Model AdminLeadSource
*
*/
export type AdminLeadSource = Prisma.AdminLeadSourceModel
/**
* Model AdminLeadSourceCredential
* Rotatable source credential. Only a one-way digest is persisted; the raw
* bearer value is returned once by the source administration service.
*/
export type AdminLeadSourceCredential = Prisma.AdminLeadSourceCredentialModel
/**
* Model AdminLead
*
*/
export type AdminLead = Prisma.AdminLeadModel
/**
* Model AdminLeadActivity
* Append-only business timeline. Notes are activities rather than a mutable
* blob on AdminLead so every operator-visible change remains attributable.
*/
export type AdminLeadActivity = Prisma.AdminLeadActivityModel
/**
* Model AdminCompany
*
*/
export type AdminCompany = Prisma.AdminCompanyModel
/**
* Model AdminContact
*
*/
export type AdminContact = Prisma.AdminContactModel
/**
* Model AdminContactChannel
*
*/
export type AdminContactChannel = Prisma.AdminContactChannelModel
/**
* Model AdminPipeline
*
*/
export type AdminPipeline = Prisma.AdminPipelineModel
/**
* Model AdminPipelineStage
*
*/
export type AdminPipelineStage = Prisma.AdminPipelineStageModel
/**
* Model AdminStageRequiredField
*
*/
export type AdminStageRequiredField = Prisma.AdminStageRequiredFieldModel
/**
* Model AdminDealLossReason
*
*/
export type AdminDealLossReason = Prisma.AdminDealLossReasonModel
/**
* Model AdminDeal
*
*/
export type AdminDeal = Prisma.AdminDealModel
/**
* Model AdminDealContact
*
*/
export type AdminDealContact = Prisma.AdminDealContactModel
/**
* Model AdminDealStageHistory
* Immutable record of every deal stage transition. The first history row has
* no fromStageId and represents entry into the pipeline.
*/
export type AdminDealStageHistory = Prisma.AdminDealStageHistoryModel
/**
* Model AdminTaskRecurrence
*
*/
export type AdminTaskRecurrence = Prisma.AdminTaskRecurrenceModel
/**
* Model AdminTask
*
*/
export type AdminTask = Prisma.AdminTaskModel
/**
* Model AdminTag
*
*/
export type AdminTag = Prisma.AdminTagModel
/**
* Model AdminContactTag
*
*/
export type AdminContactTag = Prisma.AdminContactTagModel
/**
* Model AdminCustomFieldDefinition
*
*/
export type AdminCustomFieldDefinition = Prisma.AdminCustomFieldDefinitionModel
/**
* Model AdminCustomFieldValue
*
*/
export type AdminCustomFieldValue = Prisma.AdminCustomFieldValueModel
/**
* Model AdminContactNote
*
*/
export type AdminContactNote = Prisma.AdminContactNoteModel
/**
* Model AdminImportJob
*
*/
export type AdminImportJob = Prisma.AdminImportJobModel
/**
* Model AdminImportRowError
*
*/
export type AdminImportRowError = Prisma.AdminImportRowErrorModel
/**
* Model AdminExportJob
*
*/
export type AdminExportJob = Prisma.AdminExportJobModel
/**
* Model AdminActivity
* Append-only business timeline shared by leads, contacts, companies and
* deals. At least one context id is required by the repository contract.
*/
export type AdminActivity = Prisma.AdminActivityModel
/**
* Model AdminLeadAssignmentRule
* Ordered, deterministic assignment rule. `sourceId` and `region` are ANDed;
* a null criterion is a wildcard. The mutable cursor is locked together with
* the lead so concurrent round-robin assignments cannot select the same slot.
*/
export type AdminLeadAssignmentRule = Prisma.AdminLeadAssignmentRuleModel
/**
* Model AdminLeadScoreRule
* Versionable score rule. Rules are additive and evaluated in stable
* priority/id order. The score snapshot on AdminLeadQualification records the
* rule-set version so historical decisions stay explainable.
*/
export type AdminLeadScoreRule = Prisma.AdminLeadScoreRuleModel
/**
* Model AdminLeadQualification
*
*/
export type AdminLeadQualification = Prisma.AdminLeadQualificationModel
/**
* Model AdminDuplicateCandidate
*
*/
export type AdminDuplicateCandidate = Prisma.AdminDuplicateCandidateModel
/**
* Model AdminMergeRecord
* Append-only record of a controlled lead merge. The losing lead is archived,
* never deleted, and its original activity stream remains intact.
*/
export type AdminMergeRecord = Prisma.AdminMergeRecordModel
/**
* Model AdminPhoneConnection
*
*/
export type AdminPhoneConnection = Prisma.AdminPhoneConnectionModel
/**
* Model AdminPhoneNumber
*
*/
export type AdminPhoneNumber = Prisma.AdminPhoneNumberModel
/**
* Model AdminTelephonyPolicy
*
*/
export type AdminTelephonyPolicy = Prisma.AdminTelephonyPolicyModel
/**
* Model AdminCallDisposition
*
*/
export type AdminCallDisposition = Prisma.AdminCallDispositionModel
/**
* Model AdminCallSession
*
*/
export type AdminCallSession = Prisma.AdminCallSessionModel
/**
* Model AdminCallParticipant
*
*/
export type AdminCallParticipant = Prisma.AdminCallParticipantModel
/**
* Model AdminCallEvent
*
*/
export type AdminCallEvent = Prisma.AdminCallEventModel
/**
* Model AdminCallMatchCandidate
*
*/
export type AdminCallMatchCandidate = Prisma.AdminCallMatchCandidateModel
/**
* Model AdminCallRecording
*
*/
export type AdminCallRecording = Prisma.AdminCallRecordingModel
/**
* Model AdminDialerList
*
*/
export type AdminDialerList = Prisma.AdminDialerListModel
/**
* Model AdminDialerEntry
*
*/
export type AdminDialerEntry = Prisma.AdminDialerEntryModel
/**
* Model AdminOutboundCallRequest
*
*/
export type AdminOutboundCallRequest = Prisma.AdminOutboundCallRequestModel
/**
* Model AnalyticsSettings
*
@@ -187,6 +576,27 @@ export type AppSyncRunLog = Prisma.AppSyncRunLogModel
* external system id (`externalId`). Polymorphic.
*/
export type AppSyncItem = Prisma.AppSyncItemModel
/**
* Model AppEntityBinding
* Durable provider-neutral identity mapping. AppSyncItem remains the history
* of one run; this row survives runs, reconnects and process restarts.
*/
export type AppEntityBinding = Prisma.AppEntityBindingModel
/**
* Model AuditChainCheckpoint
*
*/
export type AuditChainCheckpoint = Prisma.AuditChainCheckpointModel
/**
* Model AuditChainHead
*
*/
export type AuditChainHead = Prisma.AuditChainHeadModel
/**
* Model AuditChainCheckpointHead
*
*/
export type AuditChainCheckpointHead = Prisma.AuditChainCheckpointHeadModel
/**
* Model ProjektMitglied
*
@@ -373,6 +783,63 @@ export type CalendarWebhookEvent = Prisma.CalendarWebhookEventModel
* 50 with a Klartext description + how it was resolved (Last-Write-Wins).
*/
export type CalendarConflict = Prisma.CalendarConflictModel
/**
* Model TeamChat
* A project-linked, group, or direct-message channel. Project and direct
* message channels are always private; group privacy is selected at creation.
* The merge migration enforces kind-specific CHECK constraints and partial
* unique indexes for active project channels and direct-message pairs.
*/
export type TeamChat = Prisma.TeamChatModel
/**
* Model TeamChatGroupSource
* Permission-group sources selected while creating a group chat. Sources are
* kept even when synchronization is disabled so the channel configuration is
* explicit and can be enabled later without guessing its original scope.
* `groupId` deliberately remains a bare cross-module identifier (AD-21).
*/
export type TeamChatGroupSource = Prisma.TeamChatGroupSourceModel
/**
* Model TeamChatEvent
* Append-only event ledger for reconnect gap-fill. The wire cursor combines
* the channel's `eventStreamId` with `sequence`, which is serialized as a
* decimal string so JavaScript clients never lose BigInt precision. Redis
* fans these events out but is never their source of truth.
*/
export type TeamChatEvent = Prisma.TeamChatEventModel
/**
* Model TeamChatMember
* One user's membership and per-channel notification/read preferences.
* Rejoining reactivates the existing row by clearing `leftAt`.
*/
export type TeamChatMember = Prisma.TeamChatMemberModel
/**
* Model TeamChatMessage
* A channel message or one-level thread reply. User-authored sends use a
* stable client id so retries and WebSocket echoes remain idempotent.
*/
export type TeamChatMessage = Prisma.TeamChatMessageModel
/**
* Model TeamChatThread
* Denormalized aggregate for the one-level reply list of a parent message.
*/
export type TeamChatThread = Prisma.TeamChatThreadModel
/**
* Model TeamChatPinnedMessage
* A channel-level message pin. Domain guards enforce the 50-pin limit and
* reject message pins for direct-message channels.
*/
export type TeamChatPinnedMessage = Prisma.TeamChatPinnedMessageModel
/**
* Model TeamChatReaction
* One user's Unicode emoji reaction to a message.
*/
export type TeamChatReaction = Prisma.TeamChatReactionModel
/**
* Model TeamChatRead
* Per-user read receipt written only after a message was visibly read.
*/
export type TeamChatRead = Prisma.TeamChatReadModel
/**
* Model CollabDoc
*
@@ -482,8 +949,7 @@ export type KontaktRelation = Prisma.KontaktRelationModel
export type KontaktEmail = Prisma.KontaktEmailModel
/**
* Model KontaktTelefon
* One of a contact's phone numbers. Exactly one carries `primaer = true`
* (enforced in the service), mirrored to `Kontakt.primaerTelefon`.
*
*/
export type KontaktTelefon = Prisma.KontaktTelefonModel
/**
@@ -707,6 +1173,12 @@ export type FeatureFlag = Prisma.FeatureFlagModel
*
*/
export type FeatureFlagFilter = Prisma.FeatureFlagFilterModel
/**
* Model AdminFeatureFlagOverride
* Operator-managed rollout override. This is deliberately not the
* subscription/entitlement TenantFeatureOverride model.
*/
export type AdminFeatureFlagOverride = Prisma.AdminFeatureFlagOverrideModel
/**
* Model FeatureFlagAudit
* Append-only audit trail for every mutation of a FeatureFlag (create / update / delete / toggle).
@@ -1007,6 +1479,47 @@ export type KnowledgeBaseArticleUpvotes = Prisma.KnowledgeBaseArticleUpvotesMode
*
*/
export type KnowledgeBaseArticleDownvotes = Prisma.KnowledgeBaseArticleDownvotesModel
/**
* Model KwpApiContractSnapshot
*
*/
export type KwpApiContractSnapshot = Prisma.KwpApiContractSnapshotModel
/**
* Model KwpCapabilityState
*
*/
export type KwpCapabilityState = Prisma.KwpCapabilityStateModel
/**
* Model KwpErrorReport
*
*/
export type KwpErrorReport = Prisma.KwpErrorReportModel
/**
* Model KwpProjectRouting
* Stable provider-status to HiveGrid Pipeline/Stage routing. Names are never
* used as runtime identifiers; archived/missing targets quarantine the item.
*/
export type KwpProjectRouting = Prisma.KwpProjectRoutingModel
/**
* Model KwpProjectCatalogState
* Connection-level progress for the automatic read-only KWP project catalog.
* Discovery is intentionally cursorless and represents only the project set
* visible through the confirmed mandant's Projektampel settings.
*/
export type KwpProjectCatalogState = Prisma.KwpProjectCatalogStateModel
/**
* Model KwpProjectCatalogItem
* Safe, normalized project fields used for cache-first KWP search. No raw
* provider payload and no prohibited financial/address-internal fields are
* persisted here.
*/
export type KwpProjectCatalogItem = Prisma.KwpProjectCatalogItemModel
/**
* Model KwpMaterialPosition
* Read-only material/ERP position mirrored from the KWP project view. KWP is
* authoritative for these fields; local project data remains independent.
*/
export type KwpMaterialPosition = Prisma.KwpMaterialPositionModel
/**
* Model InboxLead
*
@@ -1152,6 +1665,24 @@ export type Group = Prisma.GroupModel
*
*/
export type GroupUser = Prisma.GroupUserModel
/**
* Model PipelineAccessRequest
*
*/
export type PipelineAccessRequest = Prisma.PipelineAccessRequestModel
/**
* Model PipelineHandover
* One completed pipeline handover of a single project. Append-only: an undo
* writes a new `ProjektStageChange`, it does not delete the handover trail.
*/
export type PipelineHandover = Prisma.PipelineHandoverModel
/**
* Model PipelineHandoverItem
* A single companion record the user ticked in M04. `sourceId` addresses the
* note/file/task/appointment; it stays a bare scalar because the four sources
* live in four different module schemas.
*/
export type PipelineHandoverItem = Prisma.PipelineHandoverItemModel
/**
* Model Plugin
*
@@ -1187,51 +1718,118 @@ export type Portal = Prisma.PortalModel
*
*/
export type PortalUser = Prisma.PortalUserModel
/**
* Model PortalSession
* Server-side session for the separate customer-portal identity class. The
* raw cookie value is never stored; tenantId and portalUserId are immutable
* under the dedicated portal RLS policy.
*/
export type PortalSession = Prisma.PortalSessionModel
/**
* Model PortalDomainHostnameClaim
* Durable global hostname reservation. The row survives deprovisioning and
* carries the 30-day reclaim cooldown so a dangling CNAME cannot be claimed
* by another workspace. Only the SHA-256 TXT proof is persisted.
*/
export type PortalDomainHostnameClaim = Prisma.PortalDomainHostnameClaimModel
/**
* Model PortalCustomDomain
* Exactly one current custom-domain generation per portal. Host resolution
* reads only `active` rows with a matching claim generation and non-null
* origin through a SECURITY DEFINER function; the portal login has no direct
* table grant.
*/
export type PortalCustomDomain = Prisma.PortalCustomDomainModel
/**
* Model PortalToken
* Hashed, single-purpose portal authentication capability. Magic-link,
* first-login setup, email verification and password reset share this table
* but can never be exchanged across purposes.
*/
export type PortalToken = Prisma.PortalTokenModel
/**
* Model PortalProjectAccess
* Explicit project allow-list for one portal identity. Project visibility is
* never inferred from tenant membership alone.
*/
export type PortalProjectAccess = Prisma.PortalProjectAccessModel
/**
* Model PortalStageVisibility
* Tenant-admin configuration for the stages that an end customer may see.
*/
export type PortalStageVisibility = Prisma.PortalStageVisibilityModel
/**
* Model PortalProjectDocument
* Explicit document release. A File or FileEntityLink by itself never grants
* customer-portal read access.
*/
export type PortalProjectDocument = Prisma.PortalProjectDocumentModel
/**
* Model PortalEmailTemplate
* Stage-change mail template managed by the tenant-facing core application.
* The portal runtime only reads rendered project/status data, never edits it.
*/
export type PortalEmailTemplate = Prisma.PortalEmailTemplateModel
/**
* Model PortalUpload
* Persisted contract for one portal upload. File/FileUpload/FileEntityLink
* identifiers remain bare cross-module scalars per AD-21; the file tables
* independently carry the same PortalUser actor and tenant scope.
*/
export type PortalUpload = Prisma.PortalUploadModel
/**
* Model PortalComplaint
* Authenticated portal-form complaint. The validated form payload remains in
* FormSubmission; this row supplies the portal/project lifecycle contract.
*/
export type PortalComplaint = Prisma.PortalComplaintModel
/**
* Model PortalSubcontractorAccess
* One-to-one visibility extension for a subcontractor project grant. Customer
* access continues to use PortalProjectAccess without this restricted matrix.
*/
export type PortalSubcontractorAccess = Prisma.PortalSubcontractorAccessModel
/**
* Model PortalConfiguration
*
*/
export type PortalConfiguration = Prisma.PortalConfigurationModel
/**
* Model PortalDocumentAutoReleaseRule
*
*/
export type PortalDocumentAutoReleaseRule = Prisma.PortalDocumentAutoReleaseRuleModel
/**
* Model PortalNotificationPreference
*
*/
export type PortalNotificationPreference = Prisma.PortalNotificationPreferenceModel
/**
* Model PortalServiceInboxItem
* Persistent, seven-day internal service queue. It is written by trusted
* app/worker consumers and deliberately never exposed to hivegrid_portal.
*/
export type PortalServiceInboxItem = Prisma.PortalServiceInboxItemModel
/**
* Model PortalActivityRoutingRule
*
*/
export type PortalActivityRoutingRule = Prisma.PortalActivityRoutingRuleModel
/**
* Model PortalDeletionRequest
*
*/
export type PortalDeletionRequest = Prisma.PortalDeletionRequestModel
/**
* Model PortalGdprExportJob
*
*/
export type PortalGdprExportJob = Prisma.PortalGdprExportJobModel
/**
* 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 HiveNumberSeq
*
@@ -1252,6 +1850,13 @@ export type PipelineStage = Prisma.PipelineStageModel
*
*/
export type PipelineAccess = Prisma.PipelineAccessModel
/**
* Model PipelineFieldGroup
* WF-P8 S05: a named section of the project detail template ("Grunddaten",
* "Planung & Verantwortliche", "KWP-Integration", …). System groups ship with
* the pipeline and may be reordered but not deleted (`istSystem`).
*/
export type PipelineFieldGroup = Prisma.PipelineFieldGroupModel
/**
* Model PipelineFieldConfig
*
@@ -1287,6 +1892,19 @@ export type PipelineAggregateSnapshot = Prisma.PipelineAggregateSnapshotModel
*
*/
export type ProjektKontakt = Prisma.ProjektKontaktModel
/**
* Model ProjektAdressDetail
* The per-slot extras the S02 address group asks for on top of the shared
* `Adresse`. Deliberately NOT columns on `Adresse`: that is a shared CRM entity
* which contacts reuse, so a project's "Zahlungsziel" or "Zufahrt" would leak
* into every contact address. One row per project and slot.
*/
export type ProjektAdressDetail = Prisma.ProjektAdressDetailModel
/**
* Model ProjektNotiz
*
*/
export type ProjektNotiz = Prisma.ProjektNotizModel
/**
* Model PublicIncomingWebhookEndpoint
*
@@ -1387,6 +2005,15 @@ export type TenantSubscription = Prisma.TenantSubscriptionModel
*
*/
export type TenantSubscriptionProduct = Prisma.TenantSubscriptionProductModel
/**
* Model TenantProductAcquisition
* Idempotent tenant-owned ledger for products acquired outside the one-base-plan
* lifecycle. `scopeKey` is the stable business scope (for example `tenant` or a
* normalized hostname) and makes provider retries safe without granting the same
* entitlement twice. Provider failures remain local to this row and must never
* mutate the base TenantSubscription status.
*/
export type TenantProductAcquisition = Prisma.TenantProductAcquisitionModel
/**
* Model TenantSubscriptionProductPrice
*
@@ -1435,6 +2062,29 @@ export type Task = Prisma.TaskModel
* addition to the assignee.
*/
export type TaskWatcher = Prisma.TaskWatcherModel
/**
* Model TelephonyConnection
* Tenant-specific provider extension of one Apps Engine DataConnection.
* Credentials and lifecycle status remain canonical on DataConnection.
*/
export type TelephonyConnection = Prisma.TelephonyConnectionModel
/**
* Model TelephonyUserBinding
* Mapping between a HiveGrid TenantUser and a provider user (Aircall in v1).
*/
export type TelephonyUserBinding = Prisma.TelephonyUserBindingModel
/**
* Model TelephonyCallSession
* Normalized inbound or outbound call, optionally matched to one CRM entity.
*/
export type TelephonyCallSession = Prisma.TelephonyCallSessionModel
/**
* Model TelephonyWebhookEvent
* Redacted provider webhook envelope. Provider payload data is immutable;
* only processing metadata changes. Completed rows expire after 30 days and
* failed rows after 90 days through the tenant-scoped retention worker.
*/
export type TelephonyWebhookEvent = Prisma.TelephonyWebhookEventModel
/**
* Model Workflow
*
File diff suppressed because it is too large. Load diff
@@ -10,7 +10,6 @@
*/
export type * from './models/User.ts'
export type * from './models/MagicLinkToken.ts'
export type * from './models/AdminUser.ts'
export type * from './models/Tenant.ts'
export type * from './models/WorkspaceAuthProvider.ts'
export type * from './models/ImpersonationAudit.ts'
@@ -19,10 +18,87 @@ export type * from './models/TenantUserInvitation.ts'
export type * from './models/Registration.ts'
export type * from './models/Blacklist.ts'
export type * from './models/TenantIpAddress.ts'
export type * from './models/TenantType.ts'
export type * from './models/Activity.ts'
export type * from './models/AdminTenantNote.ts'
export type * from './models/SupportTicketMessage.ts'
export type * from './models/AdminMeetingType.ts'
export type * from './models/AdminAvailabilityRule.ts'
export type * from './models/AdminAvailabilityOverride.ts'
export type * from './models/AdminBookingPage.ts'
export type * from './models/AdminBooking.ts'
export type * from './models/AdminBookingParticipant.ts'
export type * from './models/AdminBookingAssignment.ts'
export type * from './models/AdminBookingReminder.ts'
export type * from './models/AdminCalendarConnection.ts'
export type * from './models/AdminCalendarSyncCursor.ts'
export type * from './models/AdminDataConnection.ts'
export type * from './models/AdminConnectionCredential.ts'
export type * from './models/AdminMailbox.ts'
export type * from './models/AdminMailboxSyncCursor.ts'
export type * from './models/AdminMailboxWebhookEvent.ts'
export type * from './models/AdminEmailThread.ts'
export type * from './models/AdminEmailMessage.ts'
export type * from './models/AdminEmailParticipant.ts'
export type * from './models/AdminEmailAttachment.ts'
export type * from './models/AdminEmailEvent.ts'
export type * from './models/AdminEmailLink.ts'
export type * from './models/AdminEmailTemplate.ts'
export type * from './models/AdminEmailSnippet.ts'
export type * from './models/AdminEmailSignature.ts'
export type * from './models/AdminEmailOutboundPolicy.ts'
export type * from './models/AdminScheduledEmail.ts'
export type * from './models/AdminNoReplyReminder.ts'
export type * from './models/AdminBulkEmailRun.ts'
export type * from './models/AdminSendingDomain.ts'
export type * from './models/AdminBccAddress.ts'
export type * from './models/AdminUser.ts'
export type * from './models/AdminSession.ts'
export type * from './models/AdminRole.ts'
export type * from './models/AdminPermission.ts'
export type * from './models/AdminRolePermission.ts'
export type * from './models/AdminUserRole.ts'
export type * from './models/AdminLeadSource.ts'
export type * from './models/AdminLeadSourceCredential.ts'
export type * from './models/AdminLead.ts'
export type * from './models/AdminLeadActivity.ts'
export type * from './models/AdminCompany.ts'
export type * from './models/AdminContact.ts'
export type * from './models/AdminContactChannel.ts'
export type * from './models/AdminPipeline.ts'
export type * from './models/AdminPipelineStage.ts'
export type * from './models/AdminStageRequiredField.ts'
export type * from './models/AdminDealLossReason.ts'
export type * from './models/AdminDeal.ts'
export type * from './models/AdminDealContact.ts'
export type * from './models/AdminDealStageHistory.ts'
export type * from './models/AdminTaskRecurrence.ts'
export type * from './models/AdminTask.ts'
export type * from './models/AdminTag.ts'
export type * from './models/AdminContactTag.ts'
export type * from './models/AdminCustomFieldDefinition.ts'
export type * from './models/AdminCustomFieldValue.ts'
export type * from './models/AdminContactNote.ts'
export type * from './models/AdminImportJob.ts'
export type * from './models/AdminImportRowError.ts'
export type * from './models/AdminExportJob.ts'
export type * from './models/AdminActivity.ts'
export type * from './models/AdminLeadAssignmentRule.ts'
export type * from './models/AdminLeadScoreRule.ts'
export type * from './models/AdminLeadQualification.ts'
export type * from './models/AdminDuplicateCandidate.ts'
export type * from './models/AdminMergeRecord.ts'
export type * from './models/AdminPhoneConnection.ts'
export type * from './models/AdminPhoneNumber.ts'
export type * from './models/AdminTelephonyPolicy.ts'
export type * from './models/AdminCallDisposition.ts'
export type * from './models/AdminCallSession.ts'
export type * from './models/AdminCallParticipant.ts'
export type * from './models/AdminCallEvent.ts'
export type * from './models/AdminCallMatchCandidate.ts'
export type * from './models/AdminCallRecording.ts'
export type * from './models/AdminDialerList.ts'
export type * from './models/AdminDialerEntry.ts'
export type * from './models/AdminOutboundCallRequest.ts'
export type * from './models/AnalyticsSettings.ts'
export type * from './models/AnalyticsUniqueVisitor.ts'
export type * from './models/AnalyticsPageView.ts'
@@ -32,6 +108,10 @@ export type * from './models/DataConnection.ts'
export type * from './models/AppSyncRun.ts'
export type * from './models/AppSyncRunLog.ts'
export type * from './models/AppSyncItem.ts'
export type * from './models/AppEntityBinding.ts'
export type * from './models/AuditChainCheckpoint.ts'
export type * from './models/AuditChainHead.ts'
export type * from './models/AuditChainCheckpointHead.ts'
export type * from './models/ProjektMitglied.ts'
export type * from './models/ProjektTermin.ts'
export type * from './models/Rechnung.ts'
@@ -65,6 +145,15 @@ export type * from './models/CalendarEventMapping.ts'
export type * from './models/CalendarSyncCursor.ts'
export type * from './models/CalendarWebhookEvent.ts'
export type * from './models/CalendarConflict.ts'
export type * from './models/TeamChat.ts'
export type * from './models/TeamChatGroupSource.ts'
export type * from './models/TeamChatEvent.ts'
export type * from './models/TeamChatMember.ts'
export type * from './models/TeamChatMessage.ts'
export type * from './models/TeamChatThread.ts'
export type * from './models/TeamChatPinnedMessage.ts'
export type * from './models/TeamChatReaction.ts'
export type * from './models/TeamChatRead.ts'
export type * from './models/CollabDoc.ts'
export type * from './models/AppConfiguration.ts'
export type * from './models/Log.ts'
@@ -123,6 +212,7 @@ export type * from './models/EmailSequenceStepDelivery.ts'
export type * from './models/EntityLink.ts'
export type * from './models/FeatureFlag.ts'
export type * from './models/FeatureFlagFilter.ts'
export type * from './models/AdminFeatureFlagOverride.ts'
export type * from './models/FeatureFlagAudit.ts'
export type * from './models/File.ts'
export type * from './models/FileEntityLink.ts'
@@ -172,6 +262,13 @@ export type * from './models/KnowledgeBaseViews.ts'
export type * from './models/KnowledgeBaseArticleViews.ts'
export type * from './models/KnowledgeBaseArticleUpvotes.ts'
export type * from './models/KnowledgeBaseArticleDownvotes.ts'
export type * from './models/KwpApiContractSnapshot.ts'
export type * from './models/KwpCapabilityState.ts'
export type * from './models/KwpErrorReport.ts'
export type * from './models/KwpProjectRouting.ts'
export type * from './models/KwpProjectCatalogState.ts'
export type * from './models/KwpProjectCatalogItem.ts'
export type * from './models/KwpMaterialPosition.ts'
export type * from './models/InboxLead.ts'
export type * from './models/LeadSource.ts'
export type * from './models/LeadAntiSpamConfig.ts'
@@ -201,6 +298,9 @@ export type * from './models/RolePermission.ts'
export type * from './models/UserRole.ts'
export type * from './models/Group.ts'
export type * from './models/GroupUser.ts'
export type * from './models/PipelineAccessRequest.ts'
export type * from './models/PipelineHandover.ts'
export type * from './models/PipelineHandoverItem.ts'
export type * from './models/Plugin.ts'
export type * from './models/TenantPluginCapabilityGrant.ts'
export type * from './models/PluginUserConfig.ts'
@@ -208,19 +308,30 @@ export type * from './models/PluginInvocation.ts'
export type * from './models/PluginCapabilityUse.ts'
export type * from './models/Portal.ts'
export type * from './models/PortalUser.ts'
export type * from './models/PortalSession.ts'
export type * from './models/PortalDomainHostnameClaim.ts'
export type * from './models/PortalCustomDomain.ts'
export type * from './models/PortalToken.ts'
export type * from './models/PortalProjectAccess.ts'
export type * from './models/PortalStageVisibility.ts'
export type * from './models/PortalProjectDocument.ts'
export type * from './models/PortalEmailTemplate.ts'
export type * from './models/PortalUpload.ts'
export type * from './models/PortalComplaint.ts'
export type * from './models/PortalSubcontractorAccess.ts'
export type * from './models/PortalConfiguration.ts'
export type * from './models/PortalDocumentAutoReleaseRule.ts'
export type * from './models/PortalNotificationPreference.ts'
export type * from './models/PortalServiceInboxItem.ts'
export type * from './models/PortalActivityRoutingRule.ts'
export type * from './models/PortalDeletionRequest.ts'
export type * from './models/PortalGdprExportJob.ts'
export type * from './models/PortalPage.ts'
export type * from './models/PortalUserRegistration.ts'
export type * from './models/PortalSubscriptionProduct.ts'
export type * from './models/PortalSubscriptionPrice.ts'
export type * from './models/PortalSubscriptionFeature.ts'
export type * from './models/PortalUserSubscription.ts'
export type * from './models/PortalUserSubscriptionProduct.ts'
export type * from './models/PortalUserSubscriptionProductPrice.ts'
export type * from './models/PortalCheckoutSessionStatus.ts'
export type * from './models/HiveNumberSeq.ts'
export type * from './models/Pipeline.ts'
export type * from './models/PipelineStage.ts'
export type * from './models/PipelineAccess.ts'
export type * from './models/PipelineFieldGroup.ts'
export type * from './models/PipelineFieldConfig.ts'
export type * from './models/PipelineFieldVisibility.ts'
export type * from './models/LostReason.ts'
@@ -228,6 +339,8 @@ export type * from './models/Projekt.ts'
export type * from './models/ProjektStageChange.ts'
export type * from './models/PipelineAggregateSnapshot.ts'
export type * from './models/ProjektKontakt.ts'
export type * from './models/ProjektAdressDetail.ts'
export type * from './models/ProjektNotiz.ts'
export type * from './models/PublicIncomingWebhookEndpoint.ts'
export type * from './models/PublicWebhookIngestionLog.ts'
export type * from './models/PublicWebhookSubscription.ts'
@@ -248,6 +361,7 @@ export type * from './models/SubscriptionUsageBasedTier.ts'
export type * from './models/SubscriptionFeature.ts'
export type * from './models/TenantSubscription.ts'
export type * from './models/TenantSubscriptionProduct.ts'
export type * from './models/TenantProductAcquisition.ts'
export type * from './models/TenantSubscriptionProductPrice.ts'
export type * from './models/TenantSubscriptionUsageRecord.ts'
export type * from './models/TenantProductConfiguration.ts'
@@ -257,6 +371,10 @@ export type * from './models/BillingWebhookLog.ts'
export type * from './models/Credit.ts'
export type * from './models/Task.ts'
export type * from './models/TaskWatcher.ts'
export type * from './models/TelephonyConnection.ts'
export type * from './models/TelephonyUserBinding.ts'
export type * from './models/TelephonyCallSession.ts'
export type * from './models/TelephonyWebhookEvent.ts'
export type * from './models/Workflow.ts'
export type * from './models/WorkflowBlock.ts'
export type * from './models/WorkflowBlockConditionGroup.ts'
@@ -210,7 +210,7 @@ export type AdminTenantNoteWhereInput = {
category?: Prisma.StringFilter<"AdminTenantNote"> | string
pinned?: Prisma.BoolFilter<"AdminTenantNote"> | boolean
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
author?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
author?: Prisma.XOR<Prisma.AdminUserNullableScalarRelationFilter, Prisma.AdminUserWhereInput> | null
}
export type AdminTenantNoteOrderByWithRelationInput = {
@@ -223,7 +223,7 @@ export type AdminTenantNoteOrderByWithRelationInput = {
category?: Prisma.SortOrder
pinned?: Prisma.SortOrder
tenant?: Prisma.TenantOrderByWithRelationInput
author?: Prisma.UserOrderByWithRelationInput
author?: Prisma.AdminUserOrderByWithRelationInput
}
export type AdminTenantNoteWhereUniqueInput = Prisma.AtLeast<{
@@ -239,7 +239,7 @@ export type AdminTenantNoteWhereUniqueInput = Prisma.AtLeast<{
category?: Prisma.StringFilter<"AdminTenantNote"> | string
pinned?: Prisma.BoolFilter<"AdminTenantNote"> | boolean
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
author?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
author?: Prisma.XOR<Prisma.AdminUserNullableScalarRelationFilter, Prisma.AdminUserWhereInput> | null
}, "id">
export type AdminTenantNoteOrderByWithAggregationInput = {
@@ -278,7 +278,7 @@ export type AdminTenantNoteCreateInput = {
category?: string
pinned?: boolean
tenant: Prisma.TenantCreateNestedOneWithoutAdminTenantNotesInput
author?: Prisma.UserCreateNestedOneWithoutAdminTenantNotesAuthoredInput
author?: Prisma.AdminUserCreateNestedOneWithoutAdminTenantNotesAuthoredInput
}
export type AdminTenantNoteUncheckedCreateInput = {
@@ -300,7 +300,7 @@ export type AdminTenantNoteUpdateInput = {
category?: Prisma.StringFieldUpdateOperationsInput | string
pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean
tenant?: Prisma.TenantUpdateOneRequiredWithoutAdminTenantNotesNestedInput
author?: Prisma.UserUpdateOneWithoutAdminTenantNotesAuthoredNestedInput
author?: Prisma.AdminUserUpdateOneWithoutAdminTenantNotesAuthoredNestedInput
}
export type AdminTenantNoteUncheckedUpdateInput = {
@@ -388,6 +388,48 @@ export type AdminTenantNoteMinOrderByAggregateInput = {
pinned?: Prisma.SortOrder
}
export type AdminTenantNoteCreateNestedManyWithoutTenantInput = {
create?: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput> | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[]
createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope
connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
}
export type AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput = {
create?: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput> | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[]
createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope
connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
}
export type AdminTenantNoteUpdateManyWithoutTenantNestedInput = {
create?: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput> | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[]
upsert?: Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput[]
createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope
set?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
disconnect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
delete?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
update?: Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput[]
updateMany?: Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput | Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput[]
deleteMany?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[]
}
export type AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput = {
create?: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput> | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[]
upsert?: Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput[]
createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope
set?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
disconnect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
delete?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
update?: Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput[]
updateMany?: Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput | Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput[]
deleteMany?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[]
}
export type AdminTenantNoteCreateNestedManyWithoutAuthorInput = {
create?: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutAuthorInput, Prisma.AdminTenantNoteUncheckedCreateWithoutAuthorInput> | Prisma.AdminTenantNoteCreateWithoutAuthorInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutAuthorInput[]
connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutAuthorInput | Prisma.AdminTenantNoteCreateOrConnectWithoutAuthorInput[]
@@ -430,46 +472,64 @@ export type AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput = {
deleteMany?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[]
}
export type AdminTenantNoteCreateNestedManyWithoutTenantInput = {
create?: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput> | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[]
createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope
connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
export type AdminTenantNoteCreateWithoutTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
noteText: string
category?: string
pinned?: boolean
author?: Prisma.AdminUserCreateNestedOneWithoutAdminTenantNotesAuthoredInput
}
export type AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput = {
create?: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput> | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[]
createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope
connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
export type AdminTenantNoteUncheckedCreateWithoutTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
authorUserId?: string | null
noteText: string
category?: string
pinned?: boolean
}
export type AdminTenantNoteUpdateManyWithoutTenantNestedInput = {
create?: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput> | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[]
upsert?: Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput[]
createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope
set?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
disconnect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
delete?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
update?: Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput[]
updateMany?: Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput | Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput[]
deleteMany?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[]
export type AdminTenantNoteCreateOrConnectWithoutTenantInput = {
where: Prisma.AdminTenantNoteWhereUniqueInput
create: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput>
}
export type AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput = {
create?: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput> | Prisma.AdminTenantNoteCreateWithoutTenantInput[] | Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput | Prisma.AdminTenantNoteCreateOrConnectWithoutTenantInput[]
upsert?: Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput[]
createMany?: Prisma.AdminTenantNoteCreateManyTenantInputEnvelope
set?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
disconnect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
delete?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
connect?: Prisma.AdminTenantNoteWhereUniqueInput | Prisma.AdminTenantNoteWhereUniqueInput[]
update?: Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput | Prisma.AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput[]
updateMany?: Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput | Prisma.AdminTenantNoteUpdateManyWithWhereWithoutTenantInput[]
deleteMany?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[]
export type AdminTenantNoteCreateManyTenantInputEnvelope = {
data: Prisma.AdminTenantNoteCreateManyTenantInput | Prisma.AdminTenantNoteCreateManyTenantInput[]
skipDuplicates?: boolean
}
export type AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput = {
where: Prisma.AdminTenantNoteWhereUniqueInput
update: Prisma.XOR<Prisma.AdminTenantNoteUpdateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedUpdateWithoutTenantInput>
create: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput>
}
export type AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput = {
where: Prisma.AdminTenantNoteWhereUniqueInput
data: Prisma.XOR<Prisma.AdminTenantNoteUpdateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedUpdateWithoutTenantInput>
}
export type AdminTenantNoteUpdateManyWithWhereWithoutTenantInput = {
where: Prisma.AdminTenantNoteScalarWhereInput
data: Prisma.XOR<Prisma.AdminTenantNoteUpdateManyMutationInput, Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantInput>
}
export type AdminTenantNoteScalarWhereInput = {
AND?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[]
OR?: Prisma.AdminTenantNoteScalarWhereInput[]
NOT?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[]
id?: Prisma.StringFilter<"AdminTenantNote"> | string
createdAt?: Prisma.DateTimeFilter<"AdminTenantNote"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminTenantNote"> | Date | string
tenantId?: Prisma.StringFilter<"AdminTenantNote"> | string
authorUserId?: Prisma.StringNullableFilter<"AdminTenantNote"> | string | null
noteText?: Prisma.StringFilter<"AdminTenantNote"> | string
category?: Prisma.StringFilter<"AdminTenantNote"> | string
pinned?: Prisma.BoolFilter<"AdminTenantNote"> | boolean
}
export type AdminTenantNoteCreateWithoutAuthorInput = {
@@ -518,31 +578,7 @@ export type AdminTenantNoteUpdateManyWithWhereWithoutAuthorInput = {
data: Prisma.XOR<Prisma.AdminTenantNoteUpdateManyMutationInput, Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorInput>
}
export type AdminTenantNoteScalarWhereInput = {
AND?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[]
OR?: Prisma.AdminTenantNoteScalarWhereInput[]
NOT?: Prisma.AdminTenantNoteScalarWhereInput | Prisma.AdminTenantNoteScalarWhereInput[]
id?: Prisma.StringFilter<"AdminTenantNote"> | string
createdAt?: Prisma.DateTimeFilter<"AdminTenantNote"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AdminTenantNote"> | Date | string
tenantId?: Prisma.StringFilter<"AdminTenantNote"> | string
authorUserId?: Prisma.StringNullableFilter<"AdminTenantNote"> | string | null
noteText?: Prisma.StringFilter<"AdminTenantNote"> | string
category?: Prisma.StringFilter<"AdminTenantNote"> | string
pinned?: Prisma.BoolFilter<"AdminTenantNote"> | boolean
}
export type AdminTenantNoteCreateWithoutTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
noteText: string
category?: string
pinned?: boolean
author?: Prisma.UserCreateNestedOneWithoutAdminTenantNotesAuthoredInput
}
export type AdminTenantNoteUncheckedCreateWithoutTenantInput = {
export type AdminTenantNoteCreateManyTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
@@ -552,30 +588,34 @@ export type AdminTenantNoteUncheckedCreateWithoutTenantInput = {
pinned?: boolean
}
export type AdminTenantNoteCreateOrConnectWithoutTenantInput = {
where: Prisma.AdminTenantNoteWhereUniqueInput
create: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput>
export type AdminTenantNoteUpdateWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
noteText?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.StringFieldUpdateOperationsInput | string
pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean
author?: Prisma.AdminUserUpdateOneWithoutAdminTenantNotesAuthoredNestedInput
}
export type AdminTenantNoteCreateManyTenantInputEnvelope = {
data: Prisma.AdminTenantNoteCreateManyTenantInput | Prisma.AdminTenantNoteCreateManyTenantInput[]
skipDuplicates?: boolean
export type AdminTenantNoteUncheckedUpdateWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
authorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
noteText?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.StringFieldUpdateOperationsInput | string
pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminTenantNoteUpsertWithWhereUniqueWithoutTenantInput = {
where: Prisma.AdminTenantNoteWhereUniqueInput
update: Prisma.XOR<Prisma.AdminTenantNoteUpdateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedUpdateWithoutTenantInput>
create: Prisma.XOR<Prisma.AdminTenantNoteCreateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedCreateWithoutTenantInput>
}
export type AdminTenantNoteUpdateWithWhereUniqueWithoutTenantInput = {
where: Prisma.AdminTenantNoteWhereUniqueInput
data: Prisma.XOR<Prisma.AdminTenantNoteUpdateWithoutTenantInput, Prisma.AdminTenantNoteUncheckedUpdateWithoutTenantInput>
}
export type AdminTenantNoteUpdateManyWithWhereWithoutTenantInput = {
where: Prisma.AdminTenantNoteScalarWhereInput
data: Prisma.XOR<Prisma.AdminTenantNoteUpdateManyMutationInput, Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantInput>
export type AdminTenantNoteUncheckedUpdateManyWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
authorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
noteText?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.StringFieldUpdateOperationsInput | string
pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminTenantNoteCreateManyAuthorInput = {
@@ -618,46 +658,6 @@ export type AdminTenantNoteUncheckedUpdateManyWithoutAuthorInput = {
pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminTenantNoteCreateManyTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
authorUserId?: string | null
noteText: string
category?: string
pinned?: boolean
}
export type AdminTenantNoteUpdateWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
noteText?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.StringFieldUpdateOperationsInput | string
pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean
author?: Prisma.UserUpdateOneWithoutAdminTenantNotesAuthoredNestedInput
}
export type AdminTenantNoteUncheckedUpdateWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
authorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
noteText?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.StringFieldUpdateOperationsInput | string
pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminTenantNoteUncheckedUpdateManyWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
authorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
noteText?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.StringFieldUpdateOperationsInput | string
pinned?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type AdminTenantNoteSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
@@ -728,7 +728,7 @@ export type $AdminTenantNotePayload<ExtArgs extends runtime.Types.Extensions.Int
name: "AdminTenantNote"
objects: {
tenant: Prisma.$TenantPayload<ExtArgs>
author: Prisma.$UserPayload<ExtArgs> | null
author: Prisma.$AdminUserPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
@@ -1134,7 +1134,7 @@ readonly fields: AdminTenantNoteFieldRefs;
export interface Prisma__AdminTenantNoteClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
author<T extends Prisma.AdminTenantNote$authorArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminTenantNote$authorArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
author<T extends Prisma.AdminTenantNote$authorArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminTenantNote$authorArgs<ExtArgs>>): Prisma.Prisma__AdminUserClient<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1577,18 +1577,18 @@ export type AdminTenantNoteDeleteManyArgs<ExtArgs extends runtime.Types.Extensio
*/
export type AdminTenantNote$authorArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
* Select specific fields to fetch from the AdminUser
*/
select?: Prisma.UserSelect<ExtArgs> | null
select?: Prisma.AdminUserSelect<ExtArgs> | null
/**
* Omit specific fields from the User
* Omit specific fields from the AdminUser
*/
omit?: Prisma.UserOmit<ExtArgs> | null
omit?: Prisma.AdminUserOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.UserInclude<ExtArgs> | null
where?: Prisma.UserWhereInput
include?: Prisma.AdminUserInclude<ExtArgs> | null
where?: Prisma.AdminUserWhereInput
}
/**
@@ -443,14 +443,6 @@ export type AuftragPipelineStageConfigSumOrderByAggregateInput = {
autoArchiveAfterDays?: Prisma.SortOrder
}
export type NullableIntFieldUpdateOperationsInput = {
set?: number | null
increment?: number
decrement?: number
multiply?: number
divide?: number
}
export type AuftragPipelineStageConfigSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
@@ -466,10 +466,6 @@ export type CollabDocSumOrderByAggregateInput = {
version?: Prisma.SortOrder
}
export type BytesFieldUpdateOperationsInput = {
set?: runtime.Bytes
}
export type CollabDocSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
@@ -258,6 +258,7 @@ export type DataConnectionWhereInput = {
isDemoData?: Prisma.BoolFilter<"DataConnection"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"DataConnection"> | Date | string | null
syncRuns?: Prisma.AppSyncRunListRelationFilter
entityBindings?: Prisma.AppEntityBindingListRelationFilter
}
export type DataConnectionOrderByWithRelationInput = {
@@ -276,6 +277,7 @@ export type DataConnectionOrderByWithRelationInput = {
isDemoData?: Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
syncRuns?: Prisma.AppSyncRunOrderByRelationAggregateInput
entityBindings?: Prisma.AppEntityBindingOrderByRelationAggregateInput
}
export type DataConnectionWhereUniqueInput = Prisma.AtLeast<{
@@ -297,6 +299,7 @@ export type DataConnectionWhereUniqueInput = Prisma.AtLeast<{
isDemoData?: Prisma.BoolFilter<"DataConnection"> | boolean
archivedAt?: Prisma.DateTimeNullableFilter<"DataConnection"> | Date | string | null
syncRuns?: Prisma.AppSyncRunListRelationFilter
entityBindings?: Prisma.AppEntityBindingListRelationFilter
}, "id">
export type DataConnectionOrderByWithAggregationInput = {
@@ -355,6 +358,7 @@ export type DataConnectionCreateInput = {
isDemoData?: boolean
archivedAt?: Date | string | null
syncRuns?: Prisma.AppSyncRunCreateNestedManyWithoutDataConnectionInput
entityBindings?: Prisma.AppEntityBindingCreateNestedManyWithoutDataConnectionInput
}
export type DataConnectionUncheckedCreateInput = {
@@ -373,6 +377,7 @@ export type DataConnectionUncheckedCreateInput = {
isDemoData?: boolean
archivedAt?: Date | string | null
syncRuns?: Prisma.AppSyncRunUncheckedCreateNestedManyWithoutDataConnectionInput
entityBindings?: Prisma.AppEntityBindingUncheckedCreateNestedManyWithoutDataConnectionInput
}
export type DataConnectionUpdateInput = {
@@ -391,6 +396,7 @@ export type DataConnectionUpdateInput = {
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
syncRuns?: Prisma.AppSyncRunUpdateManyWithoutDataConnectionNestedInput
entityBindings?: Prisma.AppEntityBindingUpdateManyWithoutDataConnectionNestedInput
}
export type DataConnectionUncheckedUpdateInput = {
@@ -409,6 +415,7 @@ export type DataConnectionUncheckedUpdateInput = {
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
syncRuns?: Prisma.AppSyncRunUncheckedUpdateManyWithoutDataConnectionNestedInput
entityBindings?: Prisma.AppEntityBindingUncheckedUpdateManyWithoutDataConnectionNestedInput
}
export type DataConnectionCreateManyInput = {
@@ -536,6 +543,20 @@ export type DataConnectionUpdateOneRequiredWithoutSyncRunsNestedInput = {
update?: Prisma.XOR<Prisma.XOR<Prisma.DataConnectionUpdateToOneWithWhereWithoutSyncRunsInput, Prisma.DataConnectionUpdateWithoutSyncRunsInput>, Prisma.DataConnectionUncheckedUpdateWithoutSyncRunsInput>
}
export type DataConnectionCreateNestedOneWithoutEntityBindingsInput = {
create?: Prisma.XOR<Prisma.DataConnectionCreateWithoutEntityBindingsInput, Prisma.DataConnectionUncheckedCreateWithoutEntityBindingsInput>
connectOrCreate?: Prisma.DataConnectionCreateOrConnectWithoutEntityBindingsInput
connect?: Prisma.DataConnectionWhereUniqueInput
}
export type DataConnectionUpdateOneRequiredWithoutEntityBindingsNestedInput = {
create?: Prisma.XOR<Prisma.DataConnectionCreateWithoutEntityBindingsInput, Prisma.DataConnectionUncheckedCreateWithoutEntityBindingsInput>
connectOrCreate?: Prisma.DataConnectionCreateOrConnectWithoutEntityBindingsInput
upsert?: Prisma.DataConnectionUpsertWithoutEntityBindingsInput
connect?: Prisma.DataConnectionWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.DataConnectionUpdateToOneWithWhereWithoutEntityBindingsInput, Prisma.DataConnectionUpdateWithoutEntityBindingsInput>, Prisma.DataConnectionUncheckedUpdateWithoutEntityBindingsInput>
}
export type DataConnectionCreateWithoutSyncRunsInput = {
id?: string
createdAt?: Date | string
@@ -551,6 +572,7 @@ export type DataConnectionCreateWithoutSyncRunsInput = {
createdByUserId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
entityBindings?: Prisma.AppEntityBindingCreateNestedManyWithoutDataConnectionInput
}
export type DataConnectionUncheckedCreateWithoutSyncRunsInput = {
@@ -568,6 +590,7 @@ export type DataConnectionUncheckedCreateWithoutSyncRunsInput = {
createdByUserId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
entityBindings?: Prisma.AppEntityBindingUncheckedCreateNestedManyWithoutDataConnectionInput
}
export type DataConnectionCreateOrConnectWithoutSyncRunsInput = {
@@ -601,6 +624,7 @@ export type DataConnectionUpdateWithoutSyncRunsInput = {
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
entityBindings?: Prisma.AppEntityBindingUpdateManyWithoutDataConnectionNestedInput
}
export type DataConnectionUncheckedUpdateWithoutSyncRunsInput = {
@@ -618,6 +642,95 @@ export type DataConnectionUncheckedUpdateWithoutSyncRunsInput = {
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
entityBindings?: Prisma.AppEntityBindingUncheckedUpdateManyWithoutDataConnectionNestedInput
}
export type DataConnectionCreateWithoutEntityBindingsInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
appId: string
label: string
credentialsCiphertext?: string | null
connectionStatus?: $Enums.DataConnectionStatus
lastHealthCheck?: Date | string | null
healthMessageKey?: string | null
tokenExpiresAt?: Date | string | null
createdByUserId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
syncRuns?: Prisma.AppSyncRunCreateNestedManyWithoutDataConnectionInput
}
export type DataConnectionUncheckedCreateWithoutEntityBindingsInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
appId: string
label: string
credentialsCiphertext?: string | null
connectionStatus?: $Enums.DataConnectionStatus
lastHealthCheck?: Date | string | null
healthMessageKey?: string | null
tokenExpiresAt?: Date | string | null
createdByUserId?: string | null
isDemoData?: boolean
archivedAt?: Date | string | null
syncRuns?: Prisma.AppSyncRunUncheckedCreateNestedManyWithoutDataConnectionInput
}
export type DataConnectionCreateOrConnectWithoutEntityBindingsInput = {
where: Prisma.DataConnectionWhereUniqueInput
create: Prisma.XOR<Prisma.DataConnectionCreateWithoutEntityBindingsInput, Prisma.DataConnectionUncheckedCreateWithoutEntityBindingsInput>
}
export type DataConnectionUpsertWithoutEntityBindingsInput = {
update: Prisma.XOR<Prisma.DataConnectionUpdateWithoutEntityBindingsInput, Prisma.DataConnectionUncheckedUpdateWithoutEntityBindingsInput>
create: Prisma.XOR<Prisma.DataConnectionCreateWithoutEntityBindingsInput, Prisma.DataConnectionUncheckedCreateWithoutEntityBindingsInput>
where?: Prisma.DataConnectionWhereInput
}
export type DataConnectionUpdateToOneWithWhereWithoutEntityBindingsInput = {
where?: Prisma.DataConnectionWhereInput
data: Prisma.XOR<Prisma.DataConnectionUpdateWithoutEntityBindingsInput, Prisma.DataConnectionUncheckedUpdateWithoutEntityBindingsInput>
}
export type DataConnectionUpdateWithoutEntityBindingsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
appId?: Prisma.StringFieldUpdateOperationsInput | string
label?: Prisma.StringFieldUpdateOperationsInput | string
credentialsCiphertext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
connectionStatus?: Prisma.EnumDataConnectionStatusFieldUpdateOperationsInput | $Enums.DataConnectionStatus
lastHealthCheck?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
healthMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
tokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
syncRuns?: Prisma.AppSyncRunUpdateManyWithoutDataConnectionNestedInput
}
export type DataConnectionUncheckedUpdateWithoutEntityBindingsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
appId?: Prisma.StringFieldUpdateOperationsInput | string
label?: Prisma.StringFieldUpdateOperationsInput | string
credentialsCiphertext?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
connectionStatus?: Prisma.EnumDataConnectionStatusFieldUpdateOperationsInput | $Enums.DataConnectionStatus
lastHealthCheck?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
healthMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
tokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
syncRuns?: Prisma.AppSyncRunUncheckedUpdateManyWithoutDataConnectionNestedInput
}
@@ -627,10 +740,12 @@ export type DataConnectionUncheckedUpdateWithoutSyncRunsInput = {
export type DataConnectionCountOutputType = {
syncRuns: number
entityBindings: number
}
export type DataConnectionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
syncRuns?: boolean | DataConnectionCountOutputTypeCountSyncRunsArgs
entityBindings?: boolean | DataConnectionCountOutputTypeCountEntityBindingsArgs
}
/**
@@ -650,6 +765,13 @@ export type DataConnectionCountOutputTypeCountSyncRunsArgs<ExtArgs extends runti
where?: Prisma.AppSyncRunWhereInput
}
/**
* DataConnectionCountOutputType without action
*/
export type DataConnectionCountOutputTypeCountEntityBindingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AppEntityBindingWhereInput
}
export type DataConnectionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
@@ -667,6 +789,7 @@ export type DataConnectionSelect<ExtArgs extends runtime.Types.Extensions.Intern
isDemoData?: boolean
archivedAt?: boolean
syncRuns?: boolean | Prisma.DataConnection$syncRunsArgs<ExtArgs>
entityBindings?: boolean | Prisma.DataConnection$entityBindingsArgs<ExtArgs>
_count?: boolean | Prisma.DataConnectionCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["dataConnection"]>
@@ -724,6 +847,7 @@ export type DataConnectionSelectScalar = {
export type DataConnectionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "appId" | "label" | "credentialsCiphertext" | "connectionStatus" | "lastHealthCheck" | "healthMessageKey" | "tokenExpiresAt" | "createdByUserId" | "isDemoData" | "archivedAt", ExtArgs["result"]["dataConnection"]>
export type DataConnectionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
syncRuns?: boolean | Prisma.DataConnection$syncRunsArgs<ExtArgs>
entityBindings?: boolean | Prisma.DataConnection$entityBindingsArgs<ExtArgs>
_count?: boolean | Prisma.DataConnectionCountOutputTypeDefaultArgs<ExtArgs>
}
export type DataConnectionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
@@ -733,6 +857,7 @@ export type $DataConnectionPayload<ExtArgs extends runtime.Types.Extensions.Inte
name: "DataConnection"
objects: {
syncRuns: Prisma.$AppSyncRunPayload<ExtArgs>[]
entityBindings: Prisma.$AppEntityBindingPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
@@ -1144,6 +1269,7 @@ readonly fields: DataConnectionFieldRefs;
export interface Prisma__DataConnectionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
syncRuns<T extends Prisma.DataConnection$syncRunsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DataConnection$syncRunsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
entityBindings<T extends Prisma.DataConnection$entityBindingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DataConnection$entityBindingsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppEntityBindingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1603,6 +1729,30 @@ export type DataConnection$syncRunsArgs<ExtArgs extends runtime.Types.Extensions
distinct?: Prisma.AppSyncRunScalarFieldEnum | Prisma.AppSyncRunScalarFieldEnum[]
}
/**
* DataConnection.entityBindings
*/
export type DataConnection$entityBindingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppEntityBinding
*/
select?: Prisma.AppEntityBindingSelect<ExtArgs> | null
/**
* Omit specific fields from the AppEntityBinding
*/
omit?: Prisma.AppEntityBindingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppEntityBindingInclude<ExtArgs> | null
where?: Prisma.AppEntityBindingWhereInput
orderBy?: Prisma.AppEntityBindingOrderByWithRelationInput | Prisma.AppEntityBindingOrderByWithRelationInput[]
cursor?: Prisma.AppEntityBindingWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AppEntityBindingScalarFieldEnum | Prisma.AppEntityBindingScalarFieldEnum[]
}
/**
* DataConnection without action
*/
@@ -513,10 +513,6 @@ export type EventWebhookAttemptUncheckedUpdateManyWithoutEventNestedInput = {
deleteMany?: Prisma.EventWebhookAttemptScalarWhereInput | Prisma.EventWebhookAttemptScalarWhereInput[]
}
export type NullableBoolFieldUpdateOperationsInput = {
set?: boolean | null
}
export type EventWebhookAttemptCreateWithoutEventInput = {
id?: string
createdAt?: Date | string
@@ -35,6 +35,11 @@ export type FeatureFlagMinAggregateOutputType = {
name: string | null
description: string | null
enabled: boolean | null
defaultValue: boolean | null
lifecycleStage: $Enums.FeatureFlagLifecycleStage | null
ownerAdminUserId: string | null
targetModule: string | null
archivedAt: Date | null
enabledFrom: Date | null
enabledUntil: Date | null
parentFlagId: string | null
@@ -51,6 +56,11 @@ export type FeatureFlagMaxAggregateOutputType = {
name: string | null
description: string | null
enabled: boolean | null
defaultValue: boolean | null
lifecycleStage: $Enums.FeatureFlagLifecycleStage | null
ownerAdminUserId: string | null
targetModule: string | null
archivedAt: Date | null
enabledFrom: Date | null
enabledUntil: Date | null
parentFlagId: string | null
@@ -67,6 +77,11 @@ export type FeatureFlagCountAggregateOutputType = {
name: number
description: number
enabled: number
defaultValue: number
lifecycleStage: number
ownerAdminUserId: number
targetModule: number
archivedAt: number
rules: number
variants: number
enabledFrom: number
@@ -87,6 +102,11 @@ export type FeatureFlagMinAggregateInputType = {
name?: true
description?: true
enabled?: true
defaultValue?: true
lifecycleStage?: true
ownerAdminUserId?: true
targetModule?: true
archivedAt?: true
enabledFrom?: true
enabledUntil?: true
parentFlagId?: true
@@ -103,6 +123,11 @@ export type FeatureFlagMaxAggregateInputType = {
name?: true
description?: true
enabled?: true
defaultValue?: true
lifecycleStage?: true
ownerAdminUserId?: true
targetModule?: true
archivedAt?: true
enabledFrom?: true
enabledUntil?: true
parentFlagId?: true
@@ -119,6 +144,11 @@ export type FeatureFlagCountAggregateInputType = {
name?: true
description?: true
enabled?: true
defaultValue?: true
lifecycleStage?: true
ownerAdminUserId?: true
targetModule?: true
archivedAt?: true
rules?: true
variants?: true
enabledFrom?: true
@@ -210,6 +240,11 @@ export type FeatureFlagGroupByOutputType = {
name: string
description: string
enabled: boolean
defaultValue: boolean | null
lifecycleStage: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId: string | null
targetModule: string | null
archivedAt: Date | null
rules: runtime.JsonValue | null
variants: runtime.JsonValue[]
enabledFrom: Date | null
@@ -249,6 +284,11 @@ export type FeatureFlagWhereInput = {
name?: Prisma.StringFilter<"FeatureFlag"> | string
description?: Prisma.StringFilter<"FeatureFlag"> | string
enabled?: Prisma.BoolFilter<"FeatureFlag"> | boolean
defaultValue?: Prisma.BoolNullableFilter<"FeatureFlag"> | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFilter<"FeatureFlag"> | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.StringNullableFilter<"FeatureFlag"> | string | null
targetModule?: Prisma.StringNullableFilter<"FeatureFlag"> | string | null
archivedAt?: Prisma.DateTimeNullableFilter<"FeatureFlag"> | Date | string | null
rules?: Prisma.JsonNullableFilter<"FeatureFlag">
variants?: Prisma.JsonNullableListFilter<"FeatureFlag">
enabledFrom?: Prisma.DateTimeNullableFilter<"FeatureFlag"> | Date | string | null
@@ -259,6 +299,7 @@ export type FeatureFlagWhereInput = {
audits?: Prisma.FeatureFlagAuditListRelationFilter
events?: Prisma.AnalyticsEventListRelationFilter
filters?: Prisma.FeatureFlagFilterListRelationFilter
tenantOverrides?: Prisma.AdminFeatureFlagOverrideListRelationFilter
}
export type FeatureFlagOrderByWithRelationInput = {
@@ -272,6 +313,11 @@ export type FeatureFlagOrderByWithRelationInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
enabled?: Prisma.SortOrder
defaultValue?: Prisma.SortOrderInput | Prisma.SortOrder
lifecycleStage?: Prisma.SortOrder
ownerAdminUserId?: Prisma.SortOrderInput | Prisma.SortOrder
targetModule?: Prisma.SortOrderInput | Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
rules?: Prisma.SortOrderInput | Prisma.SortOrder
variants?: Prisma.SortOrder
enabledFrom?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -282,6 +328,7 @@ export type FeatureFlagOrderByWithRelationInput = {
audits?: Prisma.FeatureFlagAuditOrderByRelationAggregateInput
events?: Prisma.AnalyticsEventOrderByRelationAggregateInput
filters?: Prisma.FeatureFlagFilterOrderByRelationAggregateInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideOrderByRelationAggregateInput
}
export type FeatureFlagWhereUniqueInput = Prisma.AtLeast<{
@@ -299,6 +346,11 @@ export type FeatureFlagWhereUniqueInput = Prisma.AtLeast<{
name?: Prisma.StringFilter<"FeatureFlag"> | string
description?: Prisma.StringFilter<"FeatureFlag"> | string
enabled?: Prisma.BoolFilter<"FeatureFlag"> | boolean
defaultValue?: Prisma.BoolNullableFilter<"FeatureFlag"> | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFilter<"FeatureFlag"> | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.StringNullableFilter<"FeatureFlag"> | string | null
targetModule?: Prisma.StringNullableFilter<"FeatureFlag"> | string | null
archivedAt?: Prisma.DateTimeNullableFilter<"FeatureFlag"> | Date | string | null
rules?: Prisma.JsonNullableFilter<"FeatureFlag">
variants?: Prisma.JsonNullableListFilter<"FeatureFlag">
enabledFrom?: Prisma.DateTimeNullableFilter<"FeatureFlag"> | Date | string | null
@@ -309,6 +361,7 @@ export type FeatureFlagWhereUniqueInput = Prisma.AtLeast<{
audits?: Prisma.FeatureFlagAuditListRelationFilter
events?: Prisma.AnalyticsEventListRelationFilter
filters?: Prisma.FeatureFlagFilterListRelationFilter
tenantOverrides?: Prisma.AdminFeatureFlagOverrideListRelationFilter
}, "id" | "name_description">
export type FeatureFlagOrderByWithAggregationInput = {
@@ -322,6 +375,11 @@ export type FeatureFlagOrderByWithAggregationInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
enabled?: Prisma.SortOrder
defaultValue?: Prisma.SortOrderInput | Prisma.SortOrder
lifecycleStage?: Prisma.SortOrder
ownerAdminUserId?: Prisma.SortOrderInput | Prisma.SortOrder
targetModule?: Prisma.SortOrderInput | Prisma.SortOrder
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
rules?: Prisma.SortOrderInput | Prisma.SortOrder
variants?: Prisma.SortOrder
enabledFrom?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -346,6 +404,11 @@ export type FeatureFlagScalarWhereWithAggregatesInput = {
name?: Prisma.StringWithAggregatesFilter<"FeatureFlag"> | string
description?: Prisma.StringWithAggregatesFilter<"FeatureFlag"> | string
enabled?: Prisma.BoolWithAggregatesFilter<"FeatureFlag"> | boolean
defaultValue?: Prisma.BoolNullableWithAggregatesFilter<"FeatureFlag"> | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageWithAggregatesFilter<"FeatureFlag"> | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.StringNullableWithAggregatesFilter<"FeatureFlag"> | string | null
targetModule?: Prisma.StringNullableWithAggregatesFilter<"FeatureFlag"> | string | null
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"FeatureFlag"> | Date | string | null
rules?: Prisma.JsonNullableWithAggregatesFilter<"FeatureFlag">
variants?: Prisma.JsonNullableListFilter<"FeatureFlag">
enabledFrom?: Prisma.DateTimeNullableWithAggregatesFilter<"FeatureFlag"> | Date | string | null
@@ -364,6 +427,11 @@ export type FeatureFlagCreateInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -373,6 +441,7 @@ export type FeatureFlagCreateInput = {
audits?: Prisma.FeatureFlagAuditCreateNestedManyWithoutFlagInput
events?: Prisma.AnalyticsEventCreateNestedManyWithoutFeatureFlagInput
filters?: Prisma.FeatureFlagFilterCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagUncheckedCreateInput = {
@@ -386,6 +455,11 @@ export type FeatureFlagUncheckedCreateInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -395,6 +469,7 @@ export type FeatureFlagUncheckedCreateInput = {
audits?: Prisma.FeatureFlagAuditUncheckedCreateNestedManyWithoutFlagInput
events?: Prisma.AnalyticsEventUncheckedCreateNestedManyWithoutFeatureFlagInput
filters?: Prisma.FeatureFlagFilterUncheckedCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagUpdateInput = {
@@ -408,6 +483,11 @@ export type FeatureFlagUpdateInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -417,6 +497,7 @@ export type FeatureFlagUpdateInput = {
audits?: Prisma.FeatureFlagAuditUpdateManyWithoutFlagNestedInput
events?: Prisma.AnalyticsEventUpdateManyWithoutFeatureFlagNestedInput
filters?: Prisma.FeatureFlagFilterUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagUncheckedUpdateInput = {
@@ -430,6 +511,11 @@ export type FeatureFlagUncheckedUpdateInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -439,6 +525,7 @@ export type FeatureFlagUncheckedUpdateInput = {
audits?: Prisma.FeatureFlagAuditUncheckedUpdateManyWithoutFlagNestedInput
events?: Prisma.AnalyticsEventUncheckedUpdateManyWithoutFeatureFlagNestedInput
filters?: Prisma.FeatureFlagFilterUncheckedUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagCreateManyInput = {
@@ -452,6 +539,11 @@ export type FeatureFlagCreateManyInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -470,6 +562,11 @@ export type FeatureFlagUpdateManyMutationInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -487,6 +584,11 @@ export type FeatureFlagUncheckedUpdateManyInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -540,6 +642,11 @@ export type FeatureFlagCountOrderByAggregateInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
enabled?: Prisma.SortOrder
defaultValue?: Prisma.SortOrder
lifecycleStage?: Prisma.SortOrder
ownerAdminUserId?: Prisma.SortOrder
targetModule?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
rules?: Prisma.SortOrder
variants?: Prisma.SortOrder
enabledFrom?: Prisma.SortOrder
@@ -558,6 +665,11 @@ export type FeatureFlagMaxOrderByAggregateInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
enabled?: Prisma.SortOrder
defaultValue?: Prisma.SortOrder
lifecycleStage?: Prisma.SortOrder
ownerAdminUserId?: Prisma.SortOrder
targetModule?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
enabledFrom?: Prisma.SortOrder
enabledUntil?: Prisma.SortOrder
parentFlagId?: Prisma.SortOrder
@@ -574,6 +686,11 @@ export type FeatureFlagMinOrderByAggregateInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
enabled?: Prisma.SortOrder
defaultValue?: Prisma.SortOrder
lifecycleStage?: Prisma.SortOrder
ownerAdminUserId?: Prisma.SortOrder
targetModule?: Prisma.SortOrder
archivedAt?: Prisma.SortOrder
enabledFrom?: Prisma.SortOrder
enabledUntil?: Prisma.SortOrder
parentFlagId?: Prisma.SortOrder
@@ -624,6 +741,10 @@ export type FeatureFlagUncheckedCreateNestedManyWithoutParentFlagInput = {
connect?: Prisma.FeatureFlagWhereUniqueInput | Prisma.FeatureFlagWhereUniqueInput[]
}
export type EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput = {
set?: $Enums.FeatureFlagLifecycleStage
}
export type FeatureFlagUpdatevariantsInput = {
set?: runtime.InputJsonValue[]
push?: runtime.InputJsonValue | runtime.InputJsonValue[]
@@ -681,6 +802,20 @@ export type FeatureFlagUpdateOneRequiredWithoutFiltersNestedInput = {
update?: Prisma.XOR<Prisma.XOR<Prisma.FeatureFlagUpdateToOneWithWhereWithoutFiltersInput, Prisma.FeatureFlagUpdateWithoutFiltersInput>, Prisma.FeatureFlagUncheckedUpdateWithoutFiltersInput>
}
export type FeatureFlagCreateNestedOneWithoutTenantOverridesInput = {
create?: Prisma.XOR<Prisma.FeatureFlagCreateWithoutTenantOverridesInput, Prisma.FeatureFlagUncheckedCreateWithoutTenantOverridesInput>
connectOrCreate?: Prisma.FeatureFlagCreateOrConnectWithoutTenantOverridesInput
connect?: Prisma.FeatureFlagWhereUniqueInput
}
export type FeatureFlagUpdateOneRequiredWithoutTenantOverridesNestedInput = {
create?: Prisma.XOR<Prisma.FeatureFlagCreateWithoutTenantOverridesInput, Prisma.FeatureFlagUncheckedCreateWithoutTenantOverridesInput>
connectOrCreate?: Prisma.FeatureFlagCreateOrConnectWithoutTenantOverridesInput
upsert?: Prisma.FeatureFlagUpsertWithoutTenantOverridesInput
connect?: Prisma.FeatureFlagWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.FeatureFlagUpdateToOneWithWhereWithoutTenantOverridesInput, Prisma.FeatureFlagUpdateWithoutTenantOverridesInput>, Prisma.FeatureFlagUncheckedUpdateWithoutTenantOverridesInput>
}
export type FeatureFlagCreateNestedOneWithoutAuditsInput = {
create?: Prisma.XOR<Prisma.FeatureFlagCreateWithoutAuditsInput, Prisma.FeatureFlagUncheckedCreateWithoutAuditsInput>
connectOrCreate?: Prisma.FeatureFlagCreateOrConnectWithoutAuditsInput
@@ -706,6 +841,11 @@ export type FeatureFlagCreateWithoutEventsInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -714,6 +854,7 @@ export type FeatureFlagCreateWithoutEventsInput = {
childFlags?: Prisma.FeatureFlagCreateNestedManyWithoutParentFlagInput
audits?: Prisma.FeatureFlagAuditCreateNestedManyWithoutFlagInput
filters?: Prisma.FeatureFlagFilterCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagUncheckedCreateWithoutEventsInput = {
@@ -727,6 +868,11 @@ export type FeatureFlagUncheckedCreateWithoutEventsInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -735,6 +881,7 @@ export type FeatureFlagUncheckedCreateWithoutEventsInput = {
childFlags?: Prisma.FeatureFlagUncheckedCreateNestedManyWithoutParentFlagInput
audits?: Prisma.FeatureFlagAuditUncheckedCreateNestedManyWithoutFlagInput
filters?: Prisma.FeatureFlagFilterUncheckedCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagCreateOrConnectWithoutEventsInput = {
@@ -764,6 +911,11 @@ export type FeatureFlagUpdateWithoutEventsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -772,6 +924,7 @@ export type FeatureFlagUpdateWithoutEventsInput = {
childFlags?: Prisma.FeatureFlagUpdateManyWithoutParentFlagNestedInput
audits?: Prisma.FeatureFlagAuditUpdateManyWithoutFlagNestedInput
filters?: Prisma.FeatureFlagFilterUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagUncheckedUpdateWithoutEventsInput = {
@@ -785,6 +938,11 @@ export type FeatureFlagUncheckedUpdateWithoutEventsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -793,6 +951,7 @@ export type FeatureFlagUncheckedUpdateWithoutEventsInput = {
childFlags?: Prisma.FeatureFlagUncheckedUpdateManyWithoutParentFlagNestedInput
audits?: Prisma.FeatureFlagAuditUncheckedUpdateManyWithoutFlagNestedInput
filters?: Prisma.FeatureFlagFilterUncheckedUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagCreateWithoutChildFlagsInput = {
@@ -806,6 +965,11 @@ export type FeatureFlagCreateWithoutChildFlagsInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -814,6 +978,7 @@ export type FeatureFlagCreateWithoutChildFlagsInput = {
audits?: Prisma.FeatureFlagAuditCreateNestedManyWithoutFlagInput
events?: Prisma.AnalyticsEventCreateNestedManyWithoutFeatureFlagInput
filters?: Prisma.FeatureFlagFilterCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagUncheckedCreateWithoutChildFlagsInput = {
@@ -827,6 +992,11 @@ export type FeatureFlagUncheckedCreateWithoutChildFlagsInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -835,6 +1005,7 @@ export type FeatureFlagUncheckedCreateWithoutChildFlagsInput = {
audits?: Prisma.FeatureFlagAuditUncheckedCreateNestedManyWithoutFlagInput
events?: Prisma.AnalyticsEventUncheckedCreateNestedManyWithoutFeatureFlagInput
filters?: Prisma.FeatureFlagFilterUncheckedCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagCreateOrConnectWithoutChildFlagsInput = {
@@ -853,6 +1024,11 @@ export type FeatureFlagCreateWithoutParentFlagInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -861,6 +1037,7 @@ export type FeatureFlagCreateWithoutParentFlagInput = {
audits?: Prisma.FeatureFlagAuditCreateNestedManyWithoutFlagInput
events?: Prisma.AnalyticsEventCreateNestedManyWithoutFeatureFlagInput
filters?: Prisma.FeatureFlagFilterCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagUncheckedCreateWithoutParentFlagInput = {
@@ -874,6 +1051,11 @@ export type FeatureFlagUncheckedCreateWithoutParentFlagInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -882,6 +1064,7 @@ export type FeatureFlagUncheckedCreateWithoutParentFlagInput = {
audits?: Prisma.FeatureFlagAuditUncheckedCreateNestedManyWithoutFlagInput
events?: Prisma.AnalyticsEventUncheckedCreateNestedManyWithoutFeatureFlagInput
filters?: Prisma.FeatureFlagFilterUncheckedCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagCreateOrConnectWithoutParentFlagInput = {
@@ -916,6 +1099,11 @@ export type FeatureFlagUpdateWithoutChildFlagsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -924,6 +1112,7 @@ export type FeatureFlagUpdateWithoutChildFlagsInput = {
audits?: Prisma.FeatureFlagAuditUpdateManyWithoutFlagNestedInput
events?: Prisma.AnalyticsEventUpdateManyWithoutFeatureFlagNestedInput
filters?: Prisma.FeatureFlagFilterUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagUncheckedUpdateWithoutChildFlagsInput = {
@@ -937,6 +1126,11 @@ export type FeatureFlagUncheckedUpdateWithoutChildFlagsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -945,6 +1139,7 @@ export type FeatureFlagUncheckedUpdateWithoutChildFlagsInput = {
audits?: Prisma.FeatureFlagAuditUncheckedUpdateManyWithoutFlagNestedInput
events?: Prisma.AnalyticsEventUncheckedUpdateManyWithoutFeatureFlagNestedInput
filters?: Prisma.FeatureFlagFilterUncheckedUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagUpsertWithWhereUniqueWithoutParentFlagInput = {
@@ -977,6 +1172,11 @@ export type FeatureFlagScalarWhereInput = {
name?: Prisma.StringFilter<"FeatureFlag"> | string
description?: Prisma.StringFilter<"FeatureFlag"> | string
enabled?: Prisma.BoolFilter<"FeatureFlag"> | boolean
defaultValue?: Prisma.BoolNullableFilter<"FeatureFlag"> | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFilter<"FeatureFlag"> | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.StringNullableFilter<"FeatureFlag"> | string | null
targetModule?: Prisma.StringNullableFilter<"FeatureFlag"> | string | null
archivedAt?: Prisma.DateTimeNullableFilter<"FeatureFlag"> | Date | string | null
rules?: Prisma.JsonNullableFilter<"FeatureFlag">
variants?: Prisma.JsonNullableListFilter<"FeatureFlag">
enabledFrom?: Prisma.DateTimeNullableFilter<"FeatureFlag"> | Date | string | null
@@ -995,6 +1195,11 @@ export type FeatureFlagCreateWithoutFiltersInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -1003,6 +1208,7 @@ export type FeatureFlagCreateWithoutFiltersInput = {
childFlags?: Prisma.FeatureFlagCreateNestedManyWithoutParentFlagInput
audits?: Prisma.FeatureFlagAuditCreateNestedManyWithoutFlagInput
events?: Prisma.AnalyticsEventCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagUncheckedCreateWithoutFiltersInput = {
@@ -1016,6 +1222,11 @@ export type FeatureFlagUncheckedCreateWithoutFiltersInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -1024,6 +1235,7 @@ export type FeatureFlagUncheckedCreateWithoutFiltersInput = {
childFlags?: Prisma.FeatureFlagUncheckedCreateNestedManyWithoutParentFlagInput
audits?: Prisma.FeatureFlagAuditUncheckedCreateNestedManyWithoutFlagInput
events?: Prisma.AnalyticsEventUncheckedCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagCreateOrConnectWithoutFiltersInput = {
@@ -1053,6 +1265,11 @@ export type FeatureFlagUpdateWithoutFiltersInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1061,6 +1278,7 @@ export type FeatureFlagUpdateWithoutFiltersInput = {
childFlags?: Prisma.FeatureFlagUpdateManyWithoutParentFlagNestedInput
audits?: Prisma.FeatureFlagAuditUpdateManyWithoutFlagNestedInput
events?: Prisma.AnalyticsEventUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagUncheckedUpdateWithoutFiltersInput = {
@@ -1074,6 +1292,11 @@ export type FeatureFlagUncheckedUpdateWithoutFiltersInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1082,6 +1305,131 @@ export type FeatureFlagUncheckedUpdateWithoutFiltersInput = {
childFlags?: Prisma.FeatureFlagUncheckedUpdateManyWithoutParentFlagNestedInput
audits?: Prisma.FeatureFlagAuditUncheckedUpdateManyWithoutFlagNestedInput
events?: Prisma.AnalyticsEventUncheckedUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagCreateWithoutTenantOverridesInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
key?: string | null
scope?: string
tenantId?: string | null
userId?: string | null
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
enabledUntil?: Date | string | null
parentFlag?: Prisma.FeatureFlagCreateNestedOneWithoutChildFlagsInput
childFlags?: Prisma.FeatureFlagCreateNestedManyWithoutParentFlagInput
audits?: Prisma.FeatureFlagAuditCreateNestedManyWithoutFlagInput
events?: Prisma.AnalyticsEventCreateNestedManyWithoutFeatureFlagInput
filters?: Prisma.FeatureFlagFilterCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagUncheckedCreateWithoutTenantOverridesInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
key?: string | null
scope?: string
tenantId?: string | null
userId?: string | null
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
enabledUntil?: Date | string | null
parentFlagId?: string | null
childFlags?: Prisma.FeatureFlagUncheckedCreateNestedManyWithoutParentFlagInput
audits?: Prisma.FeatureFlagAuditUncheckedCreateNestedManyWithoutFlagInput
events?: Prisma.AnalyticsEventUncheckedCreateNestedManyWithoutFeatureFlagInput
filters?: Prisma.FeatureFlagFilterUncheckedCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagCreateOrConnectWithoutTenantOverridesInput = {
where: Prisma.FeatureFlagWhereUniqueInput
create: Prisma.XOR<Prisma.FeatureFlagCreateWithoutTenantOverridesInput, Prisma.FeatureFlagUncheckedCreateWithoutTenantOverridesInput>
}
export type FeatureFlagUpsertWithoutTenantOverridesInput = {
update: Prisma.XOR<Prisma.FeatureFlagUpdateWithoutTenantOverridesInput, Prisma.FeatureFlagUncheckedUpdateWithoutTenantOverridesInput>
create: Prisma.XOR<Prisma.FeatureFlagCreateWithoutTenantOverridesInput, Prisma.FeatureFlagUncheckedCreateWithoutTenantOverridesInput>
where?: Prisma.FeatureFlagWhereInput
}
export type FeatureFlagUpdateToOneWithWhereWithoutTenantOverridesInput = {
where?: Prisma.FeatureFlagWhereInput
data: Prisma.XOR<Prisma.FeatureFlagUpdateWithoutTenantOverridesInput, Prisma.FeatureFlagUncheckedUpdateWithoutTenantOverridesInput>
}
export type FeatureFlagUpdateWithoutTenantOverridesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
scope?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
enabledUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
parentFlag?: Prisma.FeatureFlagUpdateOneWithoutChildFlagsNestedInput
childFlags?: Prisma.FeatureFlagUpdateManyWithoutParentFlagNestedInput
audits?: Prisma.FeatureFlagAuditUpdateManyWithoutFlagNestedInput
events?: Prisma.AnalyticsEventUpdateManyWithoutFeatureFlagNestedInput
filters?: Prisma.FeatureFlagFilterUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagUncheckedUpdateWithoutTenantOverridesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
key?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
scope?: Prisma.StringFieldUpdateOperationsInput | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
enabledUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
parentFlagId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
childFlags?: Prisma.FeatureFlagUncheckedUpdateManyWithoutParentFlagNestedInput
audits?: Prisma.FeatureFlagAuditUncheckedUpdateManyWithoutFlagNestedInput
events?: Prisma.AnalyticsEventUncheckedUpdateManyWithoutFeatureFlagNestedInput
filters?: Prisma.FeatureFlagFilterUncheckedUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagCreateWithoutAuditsInput = {
@@ -1095,6 +1443,11 @@ export type FeatureFlagCreateWithoutAuditsInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -1103,6 +1456,7 @@ export type FeatureFlagCreateWithoutAuditsInput = {
childFlags?: Prisma.FeatureFlagCreateNestedManyWithoutParentFlagInput
events?: Prisma.AnalyticsEventCreateNestedManyWithoutFeatureFlagInput
filters?: Prisma.FeatureFlagFilterCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagUncheckedCreateWithoutAuditsInput = {
@@ -1116,6 +1470,11 @@ export type FeatureFlagUncheckedCreateWithoutAuditsInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -1124,6 +1483,7 @@ export type FeatureFlagUncheckedCreateWithoutAuditsInput = {
childFlags?: Prisma.FeatureFlagUncheckedCreateNestedManyWithoutParentFlagInput
events?: Prisma.AnalyticsEventUncheckedCreateNestedManyWithoutFeatureFlagInput
filters?: Prisma.FeatureFlagFilterUncheckedCreateNestedManyWithoutFeatureFlagInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedCreateNestedManyWithoutFeatureFlagInput
}
export type FeatureFlagCreateOrConnectWithoutAuditsInput = {
@@ -1153,6 +1513,11 @@ export type FeatureFlagUpdateWithoutAuditsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1161,6 +1526,7 @@ export type FeatureFlagUpdateWithoutAuditsInput = {
childFlags?: Prisma.FeatureFlagUpdateManyWithoutParentFlagNestedInput
events?: Prisma.AnalyticsEventUpdateManyWithoutFeatureFlagNestedInput
filters?: Prisma.FeatureFlagFilterUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagUncheckedUpdateWithoutAuditsInput = {
@@ -1174,6 +1540,11 @@ export type FeatureFlagUncheckedUpdateWithoutAuditsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1182,6 +1553,7 @@ export type FeatureFlagUncheckedUpdateWithoutAuditsInput = {
childFlags?: Prisma.FeatureFlagUncheckedUpdateManyWithoutParentFlagNestedInput
events?: Prisma.AnalyticsEventUncheckedUpdateManyWithoutFeatureFlagNestedInput
filters?: Prisma.FeatureFlagFilterUncheckedUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagCreateManyParentFlagInput = {
@@ -1195,6 +1567,11 @@ export type FeatureFlagCreateManyParentFlagInput = {
name: string
description: string
enabled?: boolean
defaultValue?: boolean | null
lifecycleStage?: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: string | null
targetModule?: string | null
archivedAt?: Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagCreatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Date | string | null
@@ -1212,6 +1589,11 @@ export type FeatureFlagUpdateWithoutParentFlagInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1220,6 +1602,7 @@ export type FeatureFlagUpdateWithoutParentFlagInput = {
audits?: Prisma.FeatureFlagAuditUpdateManyWithoutFlagNestedInput
events?: Prisma.AnalyticsEventUpdateManyWithoutFeatureFlagNestedInput
filters?: Prisma.FeatureFlagFilterUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagUncheckedUpdateWithoutParentFlagInput = {
@@ -1233,6 +1616,11 @@ export type FeatureFlagUncheckedUpdateWithoutParentFlagInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1241,6 +1629,7 @@ export type FeatureFlagUncheckedUpdateWithoutParentFlagInput = {
audits?: Prisma.FeatureFlagAuditUncheckedUpdateManyWithoutFlagNestedInput
events?: Prisma.AnalyticsEventUncheckedUpdateManyWithoutFeatureFlagNestedInput
filters?: Prisma.FeatureFlagFilterUncheckedUpdateManyWithoutFeatureFlagNestedInput
tenantOverrides?: Prisma.AdminFeatureFlagOverrideUncheckedUpdateManyWithoutFeatureFlagNestedInput
}
export type FeatureFlagUncheckedUpdateManyWithoutParentFlagInput = {
@@ -1254,6 +1643,11 @@ export type FeatureFlagUncheckedUpdateManyWithoutParentFlagInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.StringFieldUpdateOperationsInput | string
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
defaultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
lifecycleStage?: Prisma.EnumFeatureFlagLifecycleStageFieldUpdateOperationsInput | $Enums.FeatureFlagLifecycleStage
ownerAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetModule?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
variants?: Prisma.FeatureFlagUpdatevariantsInput | runtime.InputJsonValue[]
enabledFrom?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1270,6 +1664,7 @@ export type FeatureFlagCountOutputType = {
audits: number
events: number
filters: number
tenantOverrides: number
}
export type FeatureFlagCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1277,6 +1672,7 @@ export type FeatureFlagCountOutputTypeSelect<ExtArgs extends runtime.Types.Exten
audits?: boolean | FeatureFlagCountOutputTypeCountAuditsArgs
events?: boolean | FeatureFlagCountOutputTypeCountEventsArgs
filters?: boolean | FeatureFlagCountOutputTypeCountFiltersArgs
tenantOverrides?: boolean | FeatureFlagCountOutputTypeCountTenantOverridesArgs
}
/**
@@ -1317,6 +1713,13 @@ export type FeatureFlagCountOutputTypeCountFiltersArgs<ExtArgs extends runtime.T
where?: Prisma.FeatureFlagFilterWhereInput
}
/**
* FeatureFlagCountOutputType without action
*/
export type FeatureFlagCountOutputTypeCountTenantOverridesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AdminFeatureFlagOverrideWhereInput
}
export type FeatureFlagSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
@@ -1329,6 +1732,11 @@ export type FeatureFlagSelect<ExtArgs extends runtime.Types.Extensions.InternalA
name?: boolean
description?: boolean
enabled?: boolean
defaultValue?: boolean
lifecycleStage?: boolean
ownerAdminUserId?: boolean
targetModule?: boolean
archivedAt?: boolean
rules?: boolean
variants?: boolean
enabledFrom?: boolean
@@ -1339,6 +1747,7 @@ export type FeatureFlagSelect<ExtArgs extends runtime.Types.Extensions.InternalA
audits?: boolean | Prisma.FeatureFlag$auditsArgs<ExtArgs>
events?: boolean | Prisma.FeatureFlag$eventsArgs<ExtArgs>
filters?: boolean | Prisma.FeatureFlag$filtersArgs<ExtArgs>
tenantOverrides?: boolean | Prisma.FeatureFlag$tenantOverridesArgs<ExtArgs>
_count?: boolean | Prisma.FeatureFlagCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["featureFlag"]>
@@ -1353,6 +1762,11 @@ export type FeatureFlagSelectCreateManyAndReturn<ExtArgs extends runtime.Types.E
name?: boolean
description?: boolean
enabled?: boolean
defaultValue?: boolean
lifecycleStage?: boolean
ownerAdminUserId?: boolean
targetModule?: boolean
archivedAt?: boolean
rules?: boolean
variants?: boolean
enabledFrom?: boolean
@@ -1372,6 +1786,11 @@ export type FeatureFlagSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.E
name?: boolean
description?: boolean
enabled?: boolean
defaultValue?: boolean
lifecycleStage?: boolean
ownerAdminUserId?: boolean
targetModule?: boolean
archivedAt?: boolean
rules?: boolean
variants?: boolean
enabledFrom?: boolean
@@ -1391,6 +1810,11 @@ export type FeatureFlagSelectScalar = {
name?: boolean
description?: boolean
enabled?: boolean
defaultValue?: boolean
lifecycleStage?: boolean
ownerAdminUserId?: boolean
targetModule?: boolean
archivedAt?: boolean
rules?: boolean
variants?: boolean
enabledFrom?: boolean
@@ -1398,13 +1822,14 @@ export type FeatureFlagSelectScalar = {
parentFlagId?: boolean
}
export type FeatureFlagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "key" | "scope" | "tenantId" | "userId" | "name" | "description" | "enabled" | "rules" | "variants" | "enabledFrom" | "enabledUntil" | "parentFlagId", ExtArgs["result"]["featureFlag"]>
export type FeatureFlagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "key" | "scope" | "tenantId" | "userId" | "name" | "description" | "enabled" | "defaultValue" | "lifecycleStage" | "ownerAdminUserId" | "targetModule" | "archivedAt" | "rules" | "variants" | "enabledFrom" | "enabledUntil" | "parentFlagId", ExtArgs["result"]["featureFlag"]>
export type FeatureFlagInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
parentFlag?: boolean | Prisma.FeatureFlag$parentFlagArgs<ExtArgs>
childFlags?: boolean | Prisma.FeatureFlag$childFlagsArgs<ExtArgs>
audits?: boolean | Prisma.FeatureFlag$auditsArgs<ExtArgs>
events?: boolean | Prisma.FeatureFlag$eventsArgs<ExtArgs>
filters?: boolean | Prisma.FeatureFlag$filtersArgs<ExtArgs>
tenantOverrides?: boolean | Prisma.FeatureFlag$tenantOverridesArgs<ExtArgs>
_count?: boolean | Prisma.FeatureFlagCountOutputTypeDefaultArgs<ExtArgs>
}
export type FeatureFlagIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1422,6 +1847,7 @@ export type $FeatureFlagPayload<ExtArgs extends runtime.Types.Extensions.Interna
audits: Prisma.$FeatureFlagAuditPayload<ExtArgs>[]
events: Prisma.$AnalyticsEventPayload<ExtArgs>[]
filters: Prisma.$FeatureFlagFilterPayload<ExtArgs>[]
tenantOverrides: Prisma.$AdminFeatureFlagOverridePayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
@@ -1434,6 +1860,11 @@ export type $FeatureFlagPayload<ExtArgs extends runtime.Types.Extensions.Interna
name: string
description: string
enabled: boolean
defaultValue: boolean | null
lifecycleStage: $Enums.FeatureFlagLifecycleStage
ownerAdminUserId: string | null
targetModule: string | null
archivedAt: Date | null
rules: runtime.JsonValue | null
variants: runtime.JsonValue[]
enabledFrom: Date | null
@@ -1838,6 +2269,7 @@ export interface Prisma__FeatureFlagClient<T, Null = never, ExtArgs extends runt
audits<T extends Prisma.FeatureFlag$auditsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FeatureFlag$auditsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
events<T extends Prisma.FeatureFlag$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FeatureFlag$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
filters<T extends Prisma.FeatureFlag$filtersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FeatureFlag$filtersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FeatureFlagFilterPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
tenantOverrides<T extends Prisma.FeatureFlag$tenantOverridesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FeatureFlag$tenantOverridesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminFeatureFlagOverridePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1877,6 +2309,11 @@ export interface FeatureFlagFieldRefs {
readonly name: Prisma.FieldRef<"FeatureFlag", 'String'>
readonly description: Prisma.FieldRef<"FeatureFlag", 'String'>
readonly enabled: Prisma.FieldRef<"FeatureFlag", 'Boolean'>
readonly defaultValue: Prisma.FieldRef<"FeatureFlag", 'Boolean'>
readonly lifecycleStage: Prisma.FieldRef<"FeatureFlag", 'FeatureFlagLifecycleStage'>
readonly ownerAdminUserId: Prisma.FieldRef<"FeatureFlag", 'String'>
readonly targetModule: Prisma.FieldRef<"FeatureFlag", 'String'>
readonly archivedAt: Prisma.FieldRef<"FeatureFlag", 'DateTime'>
readonly rules: Prisma.FieldRef<"FeatureFlag", 'Json'>
readonly variants: Prisma.FieldRef<"FeatureFlag", 'Json[]'>
readonly enabledFrom: Prisma.FieldRef<"FeatureFlag", 'DateTime'>
@@ -2397,6 +2834,30 @@ export type FeatureFlag$filtersArgs<ExtArgs extends runtime.Types.Extensions.Int
distinct?: Prisma.FeatureFlagFilterScalarFieldEnum | Prisma.FeatureFlagFilterScalarFieldEnum[]
}
/**
* FeatureFlag.tenantOverrides
*/
export type FeatureFlag$tenantOverridesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminFeatureFlagOverride
*/
select?: Prisma.AdminFeatureFlagOverrideSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminFeatureFlagOverride
*/
omit?: Prisma.AdminFeatureFlagOverrideOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminFeatureFlagOverrideInclude<ExtArgs> | null
where?: Prisma.AdminFeatureFlagOverrideWhereInput
orderBy?: Prisma.AdminFeatureFlagOverrideOrderByWithRelationInput | Prisma.AdminFeatureFlagOverrideOrderByWithRelationInput[]
cursor?: Prisma.AdminFeatureFlagOverrideWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AdminFeatureFlagOverrideScalarFieldEnum | Prisma.AdminFeatureFlagOverrideScalarFieldEnum[]
}
/**
* FeatureFlag without action
*/
@@ -29,6 +29,7 @@ export type FeatureFlagAuditMinAggregateOutputType = {
id: string | null
flagId: string | null
actorUserId: string | null
actorType: string | null
action: string | null
createdAt: Date | null
}
@@ -37,6 +38,7 @@ export type FeatureFlagAuditMaxAggregateOutputType = {
id: string | null
flagId: string | null
actorUserId: string | null
actorType: string | null
action: string | null
createdAt: Date | null
}
@@ -45,9 +47,11 @@ export type FeatureFlagAuditCountAggregateOutputType = {
id: number
flagId: number
actorUserId: number
actorType: number
action: number
oldValue: number
newValue: number
metadata: number
createdAt: number
_all: number
}
@@ -57,6 +61,7 @@ export type FeatureFlagAuditMinAggregateInputType = {
id?: true
flagId?: true
actorUserId?: true
actorType?: true
action?: true
createdAt?: true
}
@@ -65,6 +70,7 @@ export type FeatureFlagAuditMaxAggregateInputType = {
id?: true
flagId?: true
actorUserId?: true
actorType?: true
action?: true
createdAt?: true
}
@@ -73,9 +79,11 @@ export type FeatureFlagAuditCountAggregateInputType = {
id?: true
flagId?: true
actorUserId?: true
actorType?: true
action?: true
oldValue?: true
newValue?: true
metadata?: true
createdAt?: true
_all?: true
}
@@ -156,9 +164,11 @@ export type FeatureFlagAuditGroupByOutputType = {
id: string
flagId: string
actorUserId: string | null
actorType: string
action: string
oldValue: runtime.JsonValue | null
newValue: runtime.JsonValue | null
metadata: runtime.JsonValue | null
createdAt: Date
_count: FeatureFlagAuditCountAggregateOutputType | null
_min: FeatureFlagAuditMinAggregateOutputType | null
@@ -187,9 +197,11 @@ export type FeatureFlagAuditWhereInput = {
id?: Prisma.StringFilter<"FeatureFlagAudit"> | string
flagId?: Prisma.StringFilter<"FeatureFlagAudit"> | string
actorUserId?: Prisma.StringNullableFilter<"FeatureFlagAudit"> | string | null
actorType?: Prisma.StringFilter<"FeatureFlagAudit"> | string
action?: Prisma.StringFilter<"FeatureFlagAudit"> | string
oldValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
newValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
metadata?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
createdAt?: Prisma.DateTimeFilter<"FeatureFlagAudit"> | Date | string
flag?: Prisma.XOR<Prisma.FeatureFlagScalarRelationFilter, Prisma.FeatureFlagWhereInput>
}
@@ -198,9 +210,11 @@ export type FeatureFlagAuditOrderByWithRelationInput = {
id?: Prisma.SortOrder
flagId?: Prisma.SortOrder
actorUserId?: Prisma.SortOrderInput | Prisma.SortOrder
actorType?: Prisma.SortOrder
action?: Prisma.SortOrder
oldValue?: Prisma.SortOrderInput | Prisma.SortOrder
newValue?: Prisma.SortOrderInput | Prisma.SortOrder
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
flag?: Prisma.FeatureFlagOrderByWithRelationInput
}
@@ -212,9 +226,11 @@ export type FeatureFlagAuditWhereUniqueInput = Prisma.AtLeast<{
NOT?: Prisma.FeatureFlagAuditWhereInput | Prisma.FeatureFlagAuditWhereInput[]
flagId?: Prisma.StringFilter<"FeatureFlagAudit"> | string
actorUserId?: Prisma.StringNullableFilter<"FeatureFlagAudit"> | string | null
actorType?: Prisma.StringFilter<"FeatureFlagAudit"> | string
action?: Prisma.StringFilter<"FeatureFlagAudit"> | string
oldValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
newValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
metadata?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
createdAt?: Prisma.DateTimeFilter<"FeatureFlagAudit"> | Date | string
flag?: Prisma.XOR<Prisma.FeatureFlagScalarRelationFilter, Prisma.FeatureFlagWhereInput>
}, "id">
@@ -223,9 +239,11 @@ export type FeatureFlagAuditOrderByWithAggregationInput = {
id?: Prisma.SortOrder
flagId?: Prisma.SortOrder
actorUserId?: Prisma.SortOrderInput | Prisma.SortOrder
actorType?: Prisma.SortOrder
action?: Prisma.SortOrder
oldValue?: Prisma.SortOrderInput | Prisma.SortOrder
newValue?: Prisma.SortOrderInput | Prisma.SortOrder
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
_count?: Prisma.FeatureFlagAuditCountOrderByAggregateInput
_max?: Prisma.FeatureFlagAuditMaxOrderByAggregateInput
@@ -239,18 +257,22 @@ export type FeatureFlagAuditScalarWhereWithAggregatesInput = {
id?: Prisma.StringWithAggregatesFilter<"FeatureFlagAudit"> | string
flagId?: Prisma.StringWithAggregatesFilter<"FeatureFlagAudit"> | string
actorUserId?: Prisma.StringNullableWithAggregatesFilter<"FeatureFlagAudit"> | string | null
actorType?: Prisma.StringWithAggregatesFilter<"FeatureFlagAudit"> | string
action?: Prisma.StringWithAggregatesFilter<"FeatureFlagAudit"> | string
oldValue?: Prisma.JsonNullableWithAggregatesFilter<"FeatureFlagAudit">
newValue?: Prisma.JsonNullableWithAggregatesFilter<"FeatureFlagAudit">
metadata?: Prisma.JsonNullableWithAggregatesFilter<"FeatureFlagAudit">
createdAt?: Prisma.DateTimeWithAggregatesFilter<"FeatureFlagAudit"> | Date | string
}
export type FeatureFlagAuditCreateInput = {
id?: string
actorUserId?: string | null
actorType?: string
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
flag: Prisma.FeatureFlagCreateNestedOneWithoutAuditsInput
}
@@ -259,18 +281,22 @@ export type FeatureFlagAuditUncheckedCreateInput = {
id?: string
flagId: string
actorUserId?: string | null
actorType?: string
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
}
export type FeatureFlagAuditUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
actorType?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
flag?: Prisma.FeatureFlagUpdateOneRequiredWithoutAuditsNestedInput
}
@@ -279,9 +305,11 @@ export type FeatureFlagAuditUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
flagId?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
actorType?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
@@ -289,18 +317,22 @@ export type FeatureFlagAuditCreateManyInput = {
id?: string
flagId: string
actorUserId?: string | null
actorType?: string
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
}
export type FeatureFlagAuditUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
actorType?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
@@ -308,9 +340,11 @@ export type FeatureFlagAuditUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
flagId?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
actorType?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
@@ -328,9 +362,11 @@ export type FeatureFlagAuditCountOrderByAggregateInput = {
id?: Prisma.SortOrder
flagId?: Prisma.SortOrder
actorUserId?: Prisma.SortOrder
actorType?: Prisma.SortOrder
action?: Prisma.SortOrder
oldValue?: Prisma.SortOrder
newValue?: Prisma.SortOrder
metadata?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
@@ -338,6 +374,7 @@ export type FeatureFlagAuditMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
flagId?: Prisma.SortOrder
actorUserId?: Prisma.SortOrder
actorType?: Prisma.SortOrder
action?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
@@ -346,6 +383,7 @@ export type FeatureFlagAuditMinOrderByAggregateInput = {
id?: Prisma.SortOrder
flagId?: Prisma.SortOrder
actorUserId?: Prisma.SortOrder
actorType?: Prisma.SortOrder
action?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
@@ -395,18 +433,22 @@ export type FeatureFlagAuditUncheckedUpdateManyWithoutFlagNestedInput = {
export type FeatureFlagAuditCreateWithoutFlagInput = {
id?: string
actorUserId?: string | null
actorType?: string
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
}
export type FeatureFlagAuditUncheckedCreateWithoutFlagInput = {
id?: string
actorUserId?: string | null
actorType?: string
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
}
@@ -443,45 +485,55 @@ export type FeatureFlagAuditScalarWhereInput = {
id?: Prisma.StringFilter<"FeatureFlagAudit"> | string
flagId?: Prisma.StringFilter<"FeatureFlagAudit"> | string
actorUserId?: Prisma.StringNullableFilter<"FeatureFlagAudit"> | string | null
actorType?: Prisma.StringFilter<"FeatureFlagAudit"> | string
action?: Prisma.StringFilter<"FeatureFlagAudit"> | string
oldValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
newValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
metadata?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
createdAt?: Prisma.DateTimeFilter<"FeatureFlagAudit"> | Date | string
}
export type FeatureFlagAuditCreateManyFlagInput = {
id?: string
actorUserId?: string | null
actorType?: string
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
}
export type FeatureFlagAuditUpdateWithoutFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
actorType?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type FeatureFlagAuditUncheckedUpdateWithoutFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
actorType?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type FeatureFlagAuditUncheckedUpdateManyWithoutFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
actorType?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
@@ -491,9 +543,11 @@ export type FeatureFlagAuditSelect<ExtArgs extends runtime.Types.Extensions.Inte
id?: boolean
flagId?: boolean
actorUserId?: boolean
actorType?: boolean
action?: boolean
oldValue?: boolean
newValue?: boolean
metadata?: boolean
createdAt?: boolean
flag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}, ExtArgs["result"]["featureFlagAudit"]>
@@ -502,9 +556,11 @@ export type FeatureFlagAuditSelectCreateManyAndReturn<ExtArgs extends runtime.Ty
id?: boolean
flagId?: boolean
actorUserId?: boolean
actorType?: boolean
action?: boolean
oldValue?: boolean
newValue?: boolean
metadata?: boolean
createdAt?: boolean
flag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}, ExtArgs["result"]["featureFlagAudit"]>
@@ -513,9 +569,11 @@ export type FeatureFlagAuditSelectUpdateManyAndReturn<ExtArgs extends runtime.Ty
id?: boolean
flagId?: boolean
actorUserId?: boolean
actorType?: boolean
action?: boolean
oldValue?: boolean
newValue?: boolean
metadata?: boolean
createdAt?: boolean
flag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}, ExtArgs["result"]["featureFlagAudit"]>
@@ -524,13 +582,15 @@ export type FeatureFlagAuditSelectScalar = {
id?: boolean
flagId?: boolean
actorUserId?: boolean
actorType?: boolean
action?: boolean
oldValue?: boolean
newValue?: boolean
metadata?: boolean
createdAt?: boolean
}
export type FeatureFlagAuditOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "flagId" | "actorUserId" | "action" | "oldValue" | "newValue" | "createdAt", ExtArgs["result"]["featureFlagAudit"]>
export type FeatureFlagAuditOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "flagId" | "actorUserId" | "actorType" | "action" | "oldValue" | "newValue" | "metadata" | "createdAt", ExtArgs["result"]["featureFlagAudit"]>
export type FeatureFlagAuditInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
flag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}
@@ -550,9 +610,11 @@ export type $FeatureFlagAuditPayload<ExtArgs extends runtime.Types.Extensions.In
id: string
flagId: string
actorUserId: string | null
actorType: string
action: string
oldValue: runtime.JsonValue | null
newValue: runtime.JsonValue | null
metadata: runtime.JsonValue | null
createdAt: Date
}, ExtArgs["result"]["featureFlagAudit"]>
composites: {}
@@ -981,9 +1043,11 @@ export interface FeatureFlagAuditFieldRefs {
readonly id: Prisma.FieldRef<"FeatureFlagAudit", 'String'>
readonly flagId: Prisma.FieldRef<"FeatureFlagAudit", 'String'>
readonly actorUserId: Prisma.FieldRef<"FeatureFlagAudit", 'String'>
readonly actorType: Prisma.FieldRef<"FeatureFlagAudit", 'String'>
readonly action: Prisma.FieldRef<"FeatureFlagAudit", 'String'>
readonly oldValue: Prisma.FieldRef<"FeatureFlagAudit", 'Json'>
readonly newValue: Prisma.FieldRef<"FeatureFlagAudit", 'Json'>
readonly metadata: Prisma.FieldRef<"FeatureFlagAudit", 'Json'>
readonly createdAt: Prisma.FieldRef<"FeatureFlagAudit", 'DateTime'>
}
@@ -20,64 +20,120 @@ export type FeatureFlagFilterModel = runtime.Types.Result.DefaultSelection<Prism
export type AggregateFeatureFlagFilter = {
_count: FeatureFlagFilterCountAggregateOutputType | null
_avg: FeatureFlagFilterAvgAggregateOutputType | null
_sum: FeatureFlagFilterSumAggregateOutputType | null
_min: FeatureFlagFilterMinAggregateOutputType | null
_max: FeatureFlagFilterMaxAggregateOutputType | null
}
export type FeatureFlagFilterAvgAggregateOutputType = {
priority: number | null
}
export type FeatureFlagFilterSumAggregateOutputType = {
priority: number | null
}
export type FeatureFlagFilterMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
featureFlagId: string | null
type: string | null
value: string | null
action: string | null
name: string | null
priority: number | null
resultValue: boolean | null
active: boolean | null
createdByAdminUserId: string | null
}
export type FeatureFlagFilterMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
featureFlagId: string | null
type: string | null
value: string | null
action: string | null
name: string | null
priority: number | null
resultValue: boolean | null
active: boolean | null
createdByAdminUserId: string | null
}
export type FeatureFlagFilterCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
featureFlagId: number
type: number
value: number
action: number
name: number
priority: number
resultValue: number
criteria: number
active: number
createdByAdminUserId: number
_all: number
}
export type FeatureFlagFilterAvgAggregateInputType = {
priority?: true
}
export type FeatureFlagFilterSumAggregateInputType = {
priority?: true
}
export type FeatureFlagFilterMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
featureFlagId?: true
type?: true
value?: true
action?: true
name?: true
priority?: true
resultValue?: true
active?: true
createdByAdminUserId?: true
}
export type FeatureFlagFilterMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
featureFlagId?: true
type?: true
value?: true
action?: true
name?: true
priority?: true
resultValue?: true
active?: true
createdByAdminUserId?: true
}
export type FeatureFlagFilterCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
featureFlagId?: true
type?: true
value?: true
action?: true
name?: true
priority?: true
resultValue?: true
criteria?: true
active?: true
createdByAdminUserId?: true
_all?: true
}
@@ -116,6 +172,18 @@ export type FeatureFlagFilterAggregateArgs<ExtArgs extends runtime.Types.Extensi
* Count returned FeatureFlagFilters
**/
_count?: true | FeatureFlagFilterCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: FeatureFlagFilterAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: FeatureFlagFilterSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
@@ -149,6 +217,8 @@ export type FeatureFlagFilterGroupByArgs<ExtArgs extends runtime.Types.Extension
take?: number
skip?: number
_count?: FeatureFlagFilterCountAggregateInputType | true
_avg?: FeatureFlagFilterAvgAggregateInputType
_sum?: FeatureFlagFilterSumAggregateInputType
_min?: FeatureFlagFilterMinAggregateInputType
_max?: FeatureFlagFilterMaxAggregateInputType
}
@@ -156,11 +226,20 @@ export type FeatureFlagFilterGroupByArgs<ExtArgs extends runtime.Types.Extension
export type FeatureFlagFilterGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
featureFlagId: string
type: string
value: string | null
action: string | null
name: string
priority: number
resultValue: boolean | null
criteria: runtime.JsonValue | null
active: boolean
createdByAdminUserId: string | null
_count: FeatureFlagFilterCountAggregateOutputType | null
_avg: FeatureFlagFilterAvgAggregateOutputType | null
_sum: FeatureFlagFilterSumAggregateOutputType | null
_min: FeatureFlagFilterMinAggregateOutputType | null
_max: FeatureFlagFilterMaxAggregateOutputType | null
}
@@ -186,20 +265,34 @@ export type FeatureFlagFilterWhereInput = {
NOT?: Prisma.FeatureFlagFilterWhereInput | Prisma.FeatureFlagFilterWhereInput[]
id?: Prisma.StringFilter<"FeatureFlagFilter"> | string
createdAt?: Prisma.DateTimeFilter<"FeatureFlagFilter"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"FeatureFlagFilter"> | Date | string
featureFlagId?: Prisma.StringFilter<"FeatureFlagFilter"> | string
type?: Prisma.StringFilter<"FeatureFlagFilter"> | string
value?: Prisma.StringNullableFilter<"FeatureFlagFilter"> | string | null
action?: Prisma.StringNullableFilter<"FeatureFlagFilter"> | string | null
name?: Prisma.StringFilter<"FeatureFlagFilter"> | string
priority?: Prisma.IntFilter<"FeatureFlagFilter"> | number
resultValue?: Prisma.BoolNullableFilter<"FeatureFlagFilter"> | boolean | null
criteria?: Prisma.JsonNullableFilter<"FeatureFlagFilter">
active?: Prisma.BoolFilter<"FeatureFlagFilter"> | boolean
createdByAdminUserId?: Prisma.StringNullableFilter<"FeatureFlagFilter"> | string | null
featureFlag?: Prisma.XOR<Prisma.FeatureFlagScalarRelationFilter, Prisma.FeatureFlagWhereInput>
}
export type FeatureFlagFilterOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
featureFlagId?: Prisma.SortOrder
type?: Prisma.SortOrder
value?: Prisma.SortOrderInput | Prisma.SortOrder
action?: Prisma.SortOrderInput | Prisma.SortOrder
name?: Prisma.SortOrder
priority?: Prisma.SortOrder
resultValue?: Prisma.SortOrderInput | Prisma.SortOrder
criteria?: Prisma.SortOrderInput | Prisma.SortOrder
active?: Prisma.SortOrder
createdByAdminUserId?: Prisma.SortOrderInput | Prisma.SortOrder
featureFlag?: Prisma.FeatureFlagOrderByWithRelationInput
}
@@ -209,23 +302,39 @@ export type FeatureFlagFilterWhereUniqueInput = Prisma.AtLeast<{
OR?: Prisma.FeatureFlagFilterWhereInput[]
NOT?: Prisma.FeatureFlagFilterWhereInput | Prisma.FeatureFlagFilterWhereInput[]
createdAt?: Prisma.DateTimeFilter<"FeatureFlagFilter"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"FeatureFlagFilter"> | Date | string
featureFlagId?: Prisma.StringFilter<"FeatureFlagFilter"> | string
type?: Prisma.StringFilter<"FeatureFlagFilter"> | string
value?: Prisma.StringNullableFilter<"FeatureFlagFilter"> | string | null
action?: Prisma.StringNullableFilter<"FeatureFlagFilter"> | string | null
name?: Prisma.StringFilter<"FeatureFlagFilter"> | string
priority?: Prisma.IntFilter<"FeatureFlagFilter"> | number
resultValue?: Prisma.BoolNullableFilter<"FeatureFlagFilter"> | boolean | null
criteria?: Prisma.JsonNullableFilter<"FeatureFlagFilter">
active?: Prisma.BoolFilter<"FeatureFlagFilter"> | boolean
createdByAdminUserId?: Prisma.StringNullableFilter<"FeatureFlagFilter"> | string | null
featureFlag?: Prisma.XOR<Prisma.FeatureFlagScalarRelationFilter, Prisma.FeatureFlagWhereInput>
}, "id">
export type FeatureFlagFilterOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
featureFlagId?: Prisma.SortOrder
type?: Prisma.SortOrder
value?: Prisma.SortOrderInput | Prisma.SortOrder
action?: Prisma.SortOrderInput | Prisma.SortOrder
name?: Prisma.SortOrder
priority?: Prisma.SortOrder
resultValue?: Prisma.SortOrderInput | Prisma.SortOrder
criteria?: Prisma.SortOrderInput | Prisma.SortOrder
active?: Prisma.SortOrder
createdByAdminUserId?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.FeatureFlagFilterCountOrderByAggregateInput
_avg?: Prisma.FeatureFlagFilterAvgOrderByAggregateInput
_max?: Prisma.FeatureFlagFilterMaxOrderByAggregateInput
_min?: Prisma.FeatureFlagFilterMinOrderByAggregateInput
_sum?: Prisma.FeatureFlagFilterSumOrderByAggregateInput
}
export type FeatureFlagFilterScalarWhereWithAggregatesInput = {
@@ -234,72 +343,128 @@ export type FeatureFlagFilterScalarWhereWithAggregatesInput = {
NOT?: Prisma.FeatureFlagFilterScalarWhereWithAggregatesInput | Prisma.FeatureFlagFilterScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"FeatureFlagFilter"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"FeatureFlagFilter"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"FeatureFlagFilter"> | Date | string
featureFlagId?: Prisma.StringWithAggregatesFilter<"FeatureFlagFilter"> | string
type?: Prisma.StringWithAggregatesFilter<"FeatureFlagFilter"> | string
value?: Prisma.StringNullableWithAggregatesFilter<"FeatureFlagFilter"> | string | null
action?: Prisma.StringNullableWithAggregatesFilter<"FeatureFlagFilter"> | string | null
name?: Prisma.StringWithAggregatesFilter<"FeatureFlagFilter"> | string
priority?: Prisma.IntWithAggregatesFilter<"FeatureFlagFilter"> | number
resultValue?: Prisma.BoolNullableWithAggregatesFilter<"FeatureFlagFilter"> | boolean | null
criteria?: Prisma.JsonNullableWithAggregatesFilter<"FeatureFlagFilter">
active?: Prisma.BoolWithAggregatesFilter<"FeatureFlagFilter"> | boolean
createdByAdminUserId?: Prisma.StringNullableWithAggregatesFilter<"FeatureFlagFilter"> | string | null
}
export type FeatureFlagFilterCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
type: string
value?: string | null
action?: string | null
name?: string
priority?: number
resultValue?: boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: boolean
createdByAdminUserId?: string | null
featureFlag: Prisma.FeatureFlagCreateNestedOneWithoutFiltersInput
}
export type FeatureFlagFilterUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
featureFlagId: string
type: string
value?: string | null
action?: string | null
name?: string
priority?: number
resultValue?: boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: boolean
createdByAdminUserId?: string | null
}
export type FeatureFlagFilterUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
name?: Prisma.StringFieldUpdateOperationsInput | string
priority?: Prisma.IntFieldUpdateOperationsInput | number
resultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
featureFlag?: Prisma.FeatureFlagUpdateOneRequiredWithoutFiltersNestedInput
}
export type FeatureFlagFilterUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
featureFlagId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
name?: Prisma.StringFieldUpdateOperationsInput | string
priority?: Prisma.IntFieldUpdateOperationsInput | number
resultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type FeatureFlagFilterCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
featureFlagId: string
type: string
value?: string | null
action?: string | null
name?: string
priority?: number
resultValue?: boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: boolean
createdByAdminUserId?: string | null
}
export type FeatureFlagFilterUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
name?: Prisma.StringFieldUpdateOperationsInput | string
priority?: Prisma.IntFieldUpdateOperationsInput | number
resultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type FeatureFlagFilterUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
featureFlagId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
name?: Prisma.StringFieldUpdateOperationsInput | string
priority?: Prisma.IntFieldUpdateOperationsInput | number
resultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type FeatureFlagFilterListRelationFilter = {
@@ -315,28 +480,55 @@ export type FeatureFlagFilterOrderByRelationAggregateInput = {
export type FeatureFlagFilterCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
featureFlagId?: Prisma.SortOrder
type?: Prisma.SortOrder
value?: Prisma.SortOrder
action?: Prisma.SortOrder
name?: Prisma.SortOrder
priority?: Prisma.SortOrder
resultValue?: Prisma.SortOrder
criteria?: Prisma.SortOrder
active?: Prisma.SortOrder
createdByAdminUserId?: Prisma.SortOrder
}
export type FeatureFlagFilterAvgOrderByAggregateInput = {
priority?: Prisma.SortOrder
}
export type FeatureFlagFilterMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
featureFlagId?: Prisma.SortOrder
type?: Prisma.SortOrder
value?: Prisma.SortOrder
action?: Prisma.SortOrder
name?: Prisma.SortOrder
priority?: Prisma.SortOrder
resultValue?: Prisma.SortOrder
active?: Prisma.SortOrder
createdByAdminUserId?: Prisma.SortOrder
}
export type FeatureFlagFilterMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
featureFlagId?: Prisma.SortOrder
type?: Prisma.SortOrder
value?: Prisma.SortOrder
action?: Prisma.SortOrder
name?: Prisma.SortOrder
priority?: Prisma.SortOrder
resultValue?: Prisma.SortOrder
active?: Prisma.SortOrder
createdByAdminUserId?: Prisma.SortOrder
}
export type FeatureFlagFilterSumOrderByAggregateInput = {
priority?: Prisma.SortOrder
}
export type FeatureFlagFilterCreateNestedManyWithoutFeatureFlagInput = {
@@ -384,17 +576,31 @@ export type FeatureFlagFilterUncheckedUpdateManyWithoutFeatureFlagNestedInput =
export type FeatureFlagFilterCreateWithoutFeatureFlagInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
type: string
value?: string | null
action?: string | null
name?: string
priority?: number
resultValue?: boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: boolean
createdByAdminUserId?: string | null
}
export type FeatureFlagFilterUncheckedCreateWithoutFeatureFlagInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
type: string
value?: string | null
action?: string | null
name?: string
priority?: number
resultValue?: boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: boolean
createdByAdminUserId?: string | null
}
export type FeatureFlagFilterCreateOrConnectWithoutFeatureFlagInput = {
@@ -429,42 +635,77 @@ export type FeatureFlagFilterScalarWhereInput = {
NOT?: Prisma.FeatureFlagFilterScalarWhereInput | Prisma.FeatureFlagFilterScalarWhereInput[]
id?: Prisma.StringFilter<"FeatureFlagFilter"> | string
createdAt?: Prisma.DateTimeFilter<"FeatureFlagFilter"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"FeatureFlagFilter"> | Date | string
featureFlagId?: Prisma.StringFilter<"FeatureFlagFilter"> | string
type?: Prisma.StringFilter<"FeatureFlagFilter"> | string
value?: Prisma.StringNullableFilter<"FeatureFlagFilter"> | string | null
action?: Prisma.StringNullableFilter<"FeatureFlagFilter"> | string | null
name?: Prisma.StringFilter<"FeatureFlagFilter"> | string
priority?: Prisma.IntFilter<"FeatureFlagFilter"> | number
resultValue?: Prisma.BoolNullableFilter<"FeatureFlagFilter"> | boolean | null
criteria?: Prisma.JsonNullableFilter<"FeatureFlagFilter">
active?: Prisma.BoolFilter<"FeatureFlagFilter"> | boolean
createdByAdminUserId?: Prisma.StringNullableFilter<"FeatureFlagFilter"> | string | null
}
export type FeatureFlagFilterCreateManyFeatureFlagInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
type: string
value?: string | null
action?: string | null
name?: string
priority?: number
resultValue?: boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: boolean
createdByAdminUserId?: string | null
}
export type FeatureFlagFilterUpdateWithoutFeatureFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
name?: Prisma.StringFieldUpdateOperationsInput | string
priority?: Prisma.IntFieldUpdateOperationsInput | number
resultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type FeatureFlagFilterUncheckedUpdateWithoutFeatureFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
name?: Prisma.StringFieldUpdateOperationsInput | string
priority?: Prisma.IntFieldUpdateOperationsInput | number
resultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type FeatureFlagFilterUncheckedUpdateManyWithoutFeatureFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
type?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
name?: Prisma.StringFieldUpdateOperationsInput | string
priority?: Prisma.IntFieldUpdateOperationsInput | number
resultValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
criteria?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
createdByAdminUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
@@ -472,43 +713,71 @@ export type FeatureFlagFilterUncheckedUpdateManyWithoutFeatureFlagInput = {
export type FeatureFlagFilterSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
featureFlagId?: boolean
type?: boolean
value?: boolean
action?: boolean
name?: boolean
priority?: boolean
resultValue?: boolean
criteria?: boolean
active?: boolean
createdByAdminUserId?: boolean
featureFlag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}, ExtArgs["result"]["featureFlagFilter"]>
export type FeatureFlagFilterSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
featureFlagId?: boolean
type?: boolean
value?: boolean
action?: boolean
name?: boolean
priority?: boolean
resultValue?: boolean
criteria?: boolean
active?: boolean
createdByAdminUserId?: boolean
featureFlag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}, ExtArgs["result"]["featureFlagFilter"]>
export type FeatureFlagFilterSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
featureFlagId?: boolean
type?: boolean
value?: boolean
action?: boolean
name?: boolean
priority?: boolean
resultValue?: boolean
criteria?: boolean
active?: boolean
createdByAdminUserId?: boolean
featureFlag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}, ExtArgs["result"]["featureFlagFilter"]>
export type FeatureFlagFilterSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
featureFlagId?: boolean
type?: boolean
value?: boolean
action?: boolean
name?: boolean
priority?: boolean
resultValue?: boolean
criteria?: boolean
active?: boolean
createdByAdminUserId?: boolean
}
export type FeatureFlagFilterOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "featureFlagId" | "type" | "value" | "action", ExtArgs["result"]["featureFlagFilter"]>
export type FeatureFlagFilterOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "featureFlagId" | "type" | "value" | "action" | "name" | "priority" | "resultValue" | "criteria" | "active" | "createdByAdminUserId", ExtArgs["result"]["featureFlagFilter"]>
export type FeatureFlagFilterInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
featureFlag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}
@@ -527,10 +796,17 @@ export type $FeatureFlagFilterPayload<ExtArgs extends runtime.Types.Extensions.I
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
featureFlagId: string
type: string
value: string | null
action: string | null
name: string
priority: number
resultValue: boolean | null
criteria: runtime.JsonValue | null
active: boolean
createdByAdminUserId: string | null
}, ExtArgs["result"]["featureFlagFilter"]>
composites: {}
}
@@ -957,10 +1233,17 @@ export interface Prisma__FeatureFlagFilterClient<T, Null = never, ExtArgs extend
export interface FeatureFlagFilterFieldRefs {
readonly id: Prisma.FieldRef<"FeatureFlagFilter", 'String'>
readonly createdAt: Prisma.FieldRef<"FeatureFlagFilter", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"FeatureFlagFilter", 'DateTime'>
readonly featureFlagId: Prisma.FieldRef<"FeatureFlagFilter", 'String'>
readonly type: Prisma.FieldRef<"FeatureFlagFilter", 'String'>
readonly value: Prisma.FieldRef<"FeatureFlagFilter", 'String'>
readonly action: Prisma.FieldRef<"FeatureFlagFilter", 'String'>
readonly name: Prisma.FieldRef<"FeatureFlagFilter", 'String'>
readonly priority: Prisma.FieldRef<"FeatureFlagFilter", 'Int'>
readonly resultValue: Prisma.FieldRef<"FeatureFlagFilter", 'Boolean'>
readonly criteria: Prisma.FieldRef<"FeatureFlagFilter", 'Json'>
readonly active: Prisma.FieldRef<"FeatureFlagFilter", 'Boolean'>
readonly createdByAdminUserId: Prisma.FieldRef<"FeatureFlagFilter", 'String'>
}
Loaded 100 of 5955 files, more files were not shown because too many files have changed in this diff. Show more