7412 lines
217 KiB
TypeScript
7412 lines
217 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* WARNING: This is an internal file that is subject to change!
|
|
*
|
|
* 🛑 Under no circumstances should you import this file directly! 🛑
|
|
*
|
|
* All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
|
|
* While this enables partial backward compatibility, it is not part of the stable public API.
|
|
*
|
|
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
|
* model files in the `model` directory!
|
|
*/
|
|
|
|
import * as runtime from "@prisma/client/runtime/index-browser"
|
|
|
|
export type * from '../models.ts'
|
|
export type * from './prismaNamespace.ts'
|
|
|
|
export const Decimal = runtime.Decimal
|
|
|
|
|
|
export const NullTypes = {
|
|
DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
|
|
JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
|
|
AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
|
|
}
|
|
/**
|
|
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
*
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
*/
|
|
export const DbNull = runtime.DbNull
|
|
|
|
/**
|
|
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
*
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
*/
|
|
export const JsonNull = runtime.JsonNull
|
|
|
|
/**
|
|
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
*
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
*/
|
|
export const AnyNull = runtime.AnyNull
|
|
|
|
|
|
export const ModelName = {
|
|
User: 'User',
|
|
MagicLinkToken: 'MagicLinkToken',
|
|
Tenant: 'Tenant',
|
|
WorkspaceAuthProvider: 'WorkspaceAuthProvider',
|
|
ImpersonationAudit: 'ImpersonationAudit',
|
|
TenantUser: 'TenantUser',
|
|
TenantUserInvitation: 'TenantUserInvitation',
|
|
Registration: 'Registration',
|
|
Blacklist: 'Blacklist',
|
|
TenantIpAddress: 'TenantIpAddress',
|
|
Activity: 'Activity',
|
|
AdminTenantNote: 'AdminTenantNote',
|
|
SupportTicketMessage: 'SupportTicketMessage',
|
|
AdminMeetingType: 'AdminMeetingType',
|
|
AdminAvailabilityRule: 'AdminAvailabilityRule',
|
|
AdminAvailabilityOverride: 'AdminAvailabilityOverride',
|
|
AdminBookingPage: 'AdminBookingPage',
|
|
AdminBooking: 'AdminBooking',
|
|
AdminBookingParticipant: 'AdminBookingParticipant',
|
|
AdminBookingAssignment: 'AdminBookingAssignment',
|
|
AdminBookingReminder: 'AdminBookingReminder',
|
|
AdminCalendarConnection: 'AdminCalendarConnection',
|
|
AdminCalendarSyncCursor: 'AdminCalendarSyncCursor',
|
|
AdminDataConnection: 'AdminDataConnection',
|
|
AdminConnectionCredential: 'AdminConnectionCredential',
|
|
AdminMailbox: 'AdminMailbox',
|
|
AdminMailboxSyncCursor: 'AdminMailboxSyncCursor',
|
|
AdminMailboxWebhookEvent: 'AdminMailboxWebhookEvent',
|
|
AdminEmailThread: 'AdminEmailThread',
|
|
AdminEmailMessage: 'AdminEmailMessage',
|
|
AdminEmailParticipant: 'AdminEmailParticipant',
|
|
AdminEmailAttachment: 'AdminEmailAttachment',
|
|
AdminEmailEvent: 'AdminEmailEvent',
|
|
AdminEmailLink: 'AdminEmailLink',
|
|
AdminEmailTemplate: 'AdminEmailTemplate',
|
|
AdminEmailSnippet: 'AdminEmailSnippet',
|
|
AdminEmailSignature: 'AdminEmailSignature',
|
|
AdminEmailOutboundPolicy: 'AdminEmailOutboundPolicy',
|
|
AdminScheduledEmail: 'AdminScheduledEmail',
|
|
AdminNoReplyReminder: 'AdminNoReplyReminder',
|
|
AdminBulkEmailRun: 'AdminBulkEmailRun',
|
|
AdminSendingDomain: 'AdminSendingDomain',
|
|
AdminBccAddress: 'AdminBccAddress',
|
|
AdminUser: 'AdminUser',
|
|
AdminSession: 'AdminSession',
|
|
AdminRole: 'AdminRole',
|
|
AdminPermission: 'AdminPermission',
|
|
AdminRolePermission: 'AdminRolePermission',
|
|
AdminUserRole: 'AdminUserRole',
|
|
AdminLeadSource: 'AdminLeadSource',
|
|
AdminLeadSourceCredential: 'AdminLeadSourceCredential',
|
|
AdminLead: 'AdminLead',
|
|
AdminLeadActivity: 'AdminLeadActivity',
|
|
AdminCompany: 'AdminCompany',
|
|
AdminContact: 'AdminContact',
|
|
AdminContactChannel: 'AdminContactChannel',
|
|
AdminPipeline: 'AdminPipeline',
|
|
AdminPipelineStage: 'AdminPipelineStage',
|
|
AdminStageRequiredField: 'AdminStageRequiredField',
|
|
AdminDealLossReason: 'AdminDealLossReason',
|
|
AdminDeal: 'AdminDeal',
|
|
AdminDealContact: 'AdminDealContact',
|
|
AdminDealStageHistory: 'AdminDealStageHistory',
|
|
AdminTaskRecurrence: 'AdminTaskRecurrence',
|
|
AdminTask: 'AdminTask',
|
|
AdminTag: 'AdminTag',
|
|
AdminContactTag: 'AdminContactTag',
|
|
AdminCustomFieldDefinition: 'AdminCustomFieldDefinition',
|
|
AdminCustomFieldValue: 'AdminCustomFieldValue',
|
|
AdminContactNote: 'AdminContactNote',
|
|
AdminImportJob: 'AdminImportJob',
|
|
AdminImportRowError: 'AdminImportRowError',
|
|
AdminExportJob: 'AdminExportJob',
|
|
AdminActivity: 'AdminActivity',
|
|
AdminLeadAssignmentRule: 'AdminLeadAssignmentRule',
|
|
AdminLeadScoreRule: 'AdminLeadScoreRule',
|
|
AdminLeadQualification: 'AdminLeadQualification',
|
|
AdminDuplicateCandidate: 'AdminDuplicateCandidate',
|
|
AdminMergeRecord: 'AdminMergeRecord',
|
|
AdminPhoneConnection: 'AdminPhoneConnection',
|
|
AdminPhoneNumber: 'AdminPhoneNumber',
|
|
AdminTelephonyPolicy: 'AdminTelephonyPolicy',
|
|
AdminCallDisposition: 'AdminCallDisposition',
|
|
AdminCallSession: 'AdminCallSession',
|
|
AdminCallParticipant: 'AdminCallParticipant',
|
|
AdminCallEvent: 'AdminCallEvent',
|
|
AdminCallMatchCandidate: 'AdminCallMatchCandidate',
|
|
AdminCallRecording: 'AdminCallRecording',
|
|
AdminDialerList: 'AdminDialerList',
|
|
AdminDialerEntry: 'AdminDialerEntry',
|
|
AdminOutboundCallRequest: 'AdminOutboundCallRequest',
|
|
AnalyticsSettings: 'AnalyticsSettings',
|
|
AnalyticsUniqueVisitor: 'AnalyticsUniqueVisitor',
|
|
AnalyticsPageView: 'AnalyticsPageView',
|
|
AnalyticsEvent: 'AnalyticsEvent',
|
|
App: 'App',
|
|
DataConnection: 'DataConnection',
|
|
AppSyncRun: 'AppSyncRun',
|
|
AppSyncRunLog: 'AppSyncRunLog',
|
|
AppSyncItem: 'AppSyncItem',
|
|
AppEntityBinding: 'AppEntityBinding',
|
|
AuditChainCheckpoint: 'AuditChainCheckpoint',
|
|
AuditChainHead: 'AuditChainHead',
|
|
AuditChainCheckpointHead: 'AuditChainCheckpointHead',
|
|
ProjektMitglied: 'ProjektMitglied',
|
|
ProjektTermin: 'ProjektTermin',
|
|
Rechnung: 'Rechnung',
|
|
ProjektChecklist: 'ProjektChecklist',
|
|
ProjektChecklistItem: 'ProjektChecklistItem',
|
|
AuftragPipelineStageConfig: 'AuftragPipelineStageConfig',
|
|
AcceptanceFormTemplate: 'AcceptanceFormTemplate',
|
|
ProjectTemplate: 'ProjectTemplate',
|
|
ScheduleEntry: 'ScheduleEntry',
|
|
ScheduleConflict: 'ScheduleConflict',
|
|
AbnahmeProtokoll: 'AbnahmeProtokoll',
|
|
AbnahmeSignatur: 'AbnahmeSignatur',
|
|
OfflineSyncMutation: 'OfflineSyncMutation',
|
|
UserSession: 'UserSession',
|
|
TrustedDevice: 'TrustedDevice',
|
|
AutomationRule: 'AutomationRule',
|
|
AutomationRuleStep: 'AutomationRuleStep',
|
|
AutomationExecution: 'AutomationExecution',
|
|
AutomationStepExecution: 'AutomationStepExecution',
|
|
AutomationCredential: 'AutomationCredential',
|
|
AutomationTemplate: 'AutomationTemplate',
|
|
AutomationTriggerMeter: 'AutomationTriggerMeter',
|
|
BookingPage: 'BookingPage',
|
|
BookingPageProvider: 'BookingPageProvider',
|
|
AvailabilityRule: 'AvailabilityRule',
|
|
AvailabilityException: 'AvailabilityException',
|
|
Appointment: 'Appointment',
|
|
CalendarConnection: 'CalendarConnection',
|
|
CalendarEvent: 'CalendarEvent',
|
|
CalendarEventMapping: 'CalendarEventMapping',
|
|
CalendarSyncCursor: 'CalendarSyncCursor',
|
|
CalendarWebhookEvent: 'CalendarWebhookEvent',
|
|
CalendarConflict: 'CalendarConflict',
|
|
TeamChat: 'TeamChat',
|
|
TeamChatGroupSource: 'TeamChatGroupSource',
|
|
TeamChatEvent: 'TeamChatEvent',
|
|
TeamChatMember: 'TeamChatMember',
|
|
TeamChatMessage: 'TeamChatMessage',
|
|
TeamChatThread: 'TeamChatThread',
|
|
TeamChatPinnedMessage: 'TeamChatPinnedMessage',
|
|
TeamChatReaction: 'TeamChatReaction',
|
|
TeamChatRead: 'TeamChatRead',
|
|
CollabDoc: 'CollabDoc',
|
|
AppConfiguration: 'AppConfiguration',
|
|
Log: 'Log',
|
|
AuditEvent: 'AuditEvent',
|
|
IdempotencyKey: 'IdempotencyKey',
|
|
ApiKey: 'ApiKey',
|
|
ApiKeyLog: 'ApiKeyLog',
|
|
Event: 'Event',
|
|
EventWebhookAttempt: 'EventWebhookAttempt',
|
|
MetricLog: 'MetricLog',
|
|
FileUploadProgress: 'FileUploadProgress',
|
|
FileChunk: 'FileChunk',
|
|
FileObject: 'FileObject',
|
|
IpAddress: 'IpAddress',
|
|
IpAddressLog: 'IpAddressLog',
|
|
Widget: 'Widget',
|
|
Credential: 'Credential',
|
|
Kontakt: 'Kontakt',
|
|
KontaktRelation: 'KontaktRelation',
|
|
KontaktEmail: 'KontaktEmail',
|
|
KontaktTelefon: 'KontaktTelefon',
|
|
Adresse: 'Adresse',
|
|
CustomFieldDefinition: 'CustomFieldDefinition',
|
|
CustomFieldValue: 'CustomFieldValue',
|
|
Tag: 'Tag',
|
|
TagAssignment: 'TagAssignment',
|
|
TenantEncryptionKey: 'TenantEncryptionKey',
|
|
Dashboard: 'Dashboard',
|
|
DashboardLayout: 'DashboardLayout',
|
|
WidgetInstance: 'WidgetInstance',
|
|
EmailIntegrationMailbox: 'EmailIntegrationMailbox',
|
|
EmailIntegrationMessage: 'EmailIntegrationMessage',
|
|
EmailIntegrationSyncCursor: 'EmailIntegrationSyncCursor',
|
|
EmailIntegrationWebhookEvent: 'EmailIntegrationWebhookEvent',
|
|
TenantInboundAddress: 'TenantInboundAddress',
|
|
Email: 'Email',
|
|
EmailRead: 'EmailRead',
|
|
EmailCc: 'EmailCc',
|
|
EmailAttachment: 'EmailAttachment',
|
|
EmailSender: 'EmailSender',
|
|
Campaign: 'Campaign',
|
|
OutboundEmail: 'OutboundEmail',
|
|
OutboundEmailOpen: 'OutboundEmailOpen',
|
|
OutboundEmailClick: 'OutboundEmailClick',
|
|
TenantSendingDomain: 'TenantSendingDomain',
|
|
EmailSuppressionList: 'EmailSuppressionList',
|
|
EmailTemplate: 'EmailTemplate',
|
|
RecipientSegment: 'RecipientSegment',
|
|
SegmentSnapshotMember: 'SegmentSnapshotMember',
|
|
CampaignVariant: 'CampaignVariant',
|
|
KontaktMarketingConsent: 'KontaktMarketingConsent',
|
|
Unsubscribe: 'Unsubscribe',
|
|
EmailSequence: 'EmailSequence',
|
|
EmailSequenceRun: 'EmailSequenceRun',
|
|
EmailSequenceStepDelivery: 'EmailSequenceStepDelivery',
|
|
EntityLink: 'EntityLink',
|
|
FeatureFlag: 'FeatureFlag',
|
|
FeatureFlagFilter: 'FeatureFlagFilter',
|
|
AdminFeatureFlagOverride: 'AdminFeatureFlagOverride',
|
|
FeatureFlagAudit: 'FeatureFlagAudit',
|
|
File: 'File',
|
|
FileEntityLink: 'FileEntityLink',
|
|
FileUpload: 'FileUpload',
|
|
FileUploadChunk: 'FileUploadChunk',
|
|
Form: 'Form',
|
|
FormSubmission: 'FormSubmission',
|
|
FormField: 'FormField',
|
|
FormFile: 'FormFile',
|
|
FormAction: 'FormAction',
|
|
FormActionLog: 'FormActionLog',
|
|
GdprExportJob: 'GdprExportJob',
|
|
TenantDeletionRequest: 'TenantDeletionRequest',
|
|
AvvAcceptance: 'AvvAcceptance',
|
|
Subprocessor: 'Subprocessor',
|
|
Feedback: 'Feedback',
|
|
SupportTicket: 'SupportTicket',
|
|
HrEmployeeProfile: 'HrEmployeeProfile',
|
|
HrLocation: 'HrLocation',
|
|
HrEmployeeDocument: 'HrEmployeeDocument',
|
|
HrResource: 'HrResource',
|
|
HrQuickLink: 'HrQuickLink',
|
|
EmployeePasswordSafeVault: 'EmployeePasswordSafeVault',
|
|
EmployeePasswordSafeEntry: 'EmployeePasswordSafeEntry',
|
|
EmployeePasswordSafeAccess: 'EmployeePasswordSafeAccess',
|
|
EmployeeVacationRequest: 'EmployeeVacationRequest',
|
|
EmployeeSickLeaveReport: 'EmployeeSickLeaveReport',
|
|
HrAnnouncement: 'HrAnnouncement',
|
|
HrAnnouncementRead: 'HrAnnouncementRead',
|
|
HrAnnouncementReaction: 'HrAnnouncementReaction',
|
|
HrAnnouncementComment: 'HrAnnouncementComment',
|
|
EmployeePayslip: 'EmployeePayslip',
|
|
EmployeeUploadReminder: 'EmployeeUploadReminder',
|
|
EmployeeUploadReminderDispatch: 'EmployeeUploadReminderDispatch',
|
|
HrRequestTemplate: 'HrRequestTemplate',
|
|
HrRequest: 'HrRequest',
|
|
HrSurvey: 'HrSurvey',
|
|
HrSurveyItem: 'HrSurveyItem',
|
|
HrSurveySubmission: 'HrSurveySubmission',
|
|
ImportJob: 'ImportJob',
|
|
KnowledgeBase: 'KnowledgeBase',
|
|
KnowledgeBaseCategory: 'KnowledgeBaseCategory',
|
|
KnowledgeBaseCategorySection: 'KnowledgeBaseCategorySection',
|
|
KnowledgeBaseArticle: 'KnowledgeBaseArticle',
|
|
KnowledgeBaseRelatedArticle: 'KnowledgeBaseRelatedArticle',
|
|
KnowledgeBaseViews: 'KnowledgeBaseViews',
|
|
KnowledgeBaseArticleViews: 'KnowledgeBaseArticleViews',
|
|
KnowledgeBaseArticleUpvotes: 'KnowledgeBaseArticleUpvotes',
|
|
KnowledgeBaseArticleDownvotes: 'KnowledgeBaseArticleDownvotes',
|
|
KwpApiContractSnapshot: 'KwpApiContractSnapshot',
|
|
KwpCapabilityState: 'KwpCapabilityState',
|
|
KwpErrorReport: 'KwpErrorReport',
|
|
KwpProjectRouting: 'KwpProjectRouting',
|
|
KwpProjectCatalogState: 'KwpProjectCatalogState',
|
|
KwpProjectCatalogItem: 'KwpProjectCatalogItem',
|
|
KwpMaterialPosition: 'KwpMaterialPosition',
|
|
InboxLead: 'InboxLead',
|
|
LeadSource: 'LeadSource',
|
|
LeadAntiSpamConfig: 'LeadAntiSpamConfig',
|
|
Lead: 'Lead',
|
|
LeadEvent: 'LeadEvent',
|
|
TenantAcquisition: 'TenantAcquisition',
|
|
MarketingIntegration: 'MarketingIntegration',
|
|
McpOAuthClient: 'McpOAuthClient',
|
|
McpOAuthAuthorizationCode: 'McpOAuthAuthorizationCode',
|
|
McpOAuthAccessToken: 'McpOAuthAccessToken',
|
|
McpOAuthRefreshToken: 'McpOAuthRefreshToken',
|
|
NotificationDelivery: 'NotificationDelivery',
|
|
UserNotificationPreference: 'UserNotificationPreference',
|
|
DeviceToken: 'DeviceToken',
|
|
Onboarding: 'Onboarding',
|
|
OnboardingFilter: 'OnboardingFilter',
|
|
OnboardingStep: 'OnboardingStep',
|
|
OnboardingSession: 'OnboardingSession',
|
|
OnboardingSessionAction: 'OnboardingSessionAction',
|
|
OnboardingSessionFilterMatch: 'OnboardingSessionFilterMatch',
|
|
OnboardingSessionStep: 'OnboardingSessionStep',
|
|
OnboardingDemoProvisioning: 'OnboardingDemoProvisioning',
|
|
OutboxEvent: 'OutboxEvent',
|
|
Role: 'Role',
|
|
Permission: 'Permission',
|
|
RolePermission: 'RolePermission',
|
|
UserRole: 'UserRole',
|
|
Group: 'Group',
|
|
GroupUser: 'GroupUser',
|
|
PipelineAccessRequest: 'PipelineAccessRequest',
|
|
PipelineHandover: 'PipelineHandover',
|
|
PipelineHandoverItem: 'PipelineHandoverItem',
|
|
Plugin: 'Plugin',
|
|
TenantPluginCapabilityGrant: 'TenantPluginCapabilityGrant',
|
|
PluginUserConfig: 'PluginUserConfig',
|
|
PluginInvocation: 'PluginInvocation',
|
|
PluginCapabilityUse: 'PluginCapabilityUse',
|
|
Portal: 'Portal',
|
|
PortalUser: 'PortalUser',
|
|
PortalSession: 'PortalSession',
|
|
PortalDomainHostnameClaim: 'PortalDomainHostnameClaim',
|
|
PortalCustomDomain: 'PortalCustomDomain',
|
|
PortalToken: 'PortalToken',
|
|
PortalProjectAccess: 'PortalProjectAccess',
|
|
PortalStageVisibility: 'PortalStageVisibility',
|
|
PortalProjectDocument: 'PortalProjectDocument',
|
|
PortalEmailTemplate: 'PortalEmailTemplate',
|
|
PortalUpload: 'PortalUpload',
|
|
PortalComplaint: 'PortalComplaint',
|
|
PortalSubcontractorAccess: 'PortalSubcontractorAccess',
|
|
PortalConfiguration: 'PortalConfiguration',
|
|
PortalDocumentAutoReleaseRule: 'PortalDocumentAutoReleaseRule',
|
|
PortalNotificationPreference: 'PortalNotificationPreference',
|
|
PortalServiceInboxItem: 'PortalServiceInboxItem',
|
|
PortalActivityRoutingRule: 'PortalActivityRoutingRule',
|
|
PortalDeletionRequest: 'PortalDeletionRequest',
|
|
PortalGdprExportJob: 'PortalGdprExportJob',
|
|
PortalPage: 'PortalPage',
|
|
HiveNumberSeq: 'HiveNumberSeq',
|
|
Pipeline: 'Pipeline',
|
|
PipelineStage: 'PipelineStage',
|
|
PipelineAccess: 'PipelineAccess',
|
|
PipelineFieldGroup: 'PipelineFieldGroup',
|
|
PipelineFieldConfig: 'PipelineFieldConfig',
|
|
PipelineFieldVisibility: 'PipelineFieldVisibility',
|
|
LostReason: 'LostReason',
|
|
Projekt: 'Projekt',
|
|
ProjektStageChange: 'ProjektStageChange',
|
|
PipelineAggregateSnapshot: 'PipelineAggregateSnapshot',
|
|
ProjektKontakt: 'ProjektKontakt',
|
|
ProjektAdressDetail: 'ProjektAdressDetail',
|
|
ProjektNotiz: 'ProjektNotiz',
|
|
PublicIncomingWebhookEndpoint: 'PublicIncomingWebhookEndpoint',
|
|
PublicWebhookIngestionLog: 'PublicWebhookIngestionLog',
|
|
PublicWebhookSubscription: 'PublicWebhookSubscription',
|
|
PublicWebhookDeliveryLog: 'PublicWebhookDeliveryLog',
|
|
QueueFailedJob: 'QueueFailedJob',
|
|
ExportJob: 'ExportJob',
|
|
SearchIndexEntry: 'SearchIndexEntry',
|
|
RecentSearch: 'RecentSearch',
|
|
SignatureProviderConnection: 'SignatureProviderConnection',
|
|
ProjektSignatureDocument: 'ProjektSignatureDocument',
|
|
ProjektSignatureSigner: 'ProjektSignatureSigner',
|
|
SignatureEvent: 'SignatureEvent',
|
|
Site: 'Site',
|
|
SubscriptionProduct: 'SubscriptionProduct',
|
|
SubscriptionPrice: 'SubscriptionPrice',
|
|
SubscriptionUsageBasedPrice: 'SubscriptionUsageBasedPrice',
|
|
SubscriptionUsageBasedTier: 'SubscriptionUsageBasedTier',
|
|
SubscriptionFeature: 'SubscriptionFeature',
|
|
TenantSubscription: 'TenantSubscription',
|
|
TenantSubscriptionProduct: 'TenantSubscriptionProduct',
|
|
TenantProductAcquisition: 'TenantProductAcquisition',
|
|
TenantSubscriptionProductPrice: 'TenantSubscriptionProductPrice',
|
|
TenantSubscriptionUsageRecord: 'TenantSubscriptionUsageRecord',
|
|
TenantProductConfiguration: 'TenantProductConfiguration',
|
|
TenantFeatureOverride: 'TenantFeatureOverride',
|
|
CheckoutSessionStatus: 'CheckoutSessionStatus',
|
|
BillingWebhookLog: 'BillingWebhookLog',
|
|
Credit: 'Credit',
|
|
Task: 'Task',
|
|
TaskWatcher: 'TaskWatcher',
|
|
TelephonyConnection: 'TelephonyConnection',
|
|
TelephonyUserBinding: 'TelephonyUserBinding',
|
|
TelephonyCallSession: 'TelephonyCallSession',
|
|
TelephonyWebhookEvent: 'TelephonyWebhookEvent',
|
|
Workflow: 'Workflow',
|
|
WorkflowBlock: 'WorkflowBlock',
|
|
WorkflowBlockConditionGroup: 'WorkflowBlockConditionGroup',
|
|
WorkflowBlockCondition: 'WorkflowBlockCondition',
|
|
WorkflowBlockToBlock: 'WorkflowBlockToBlock',
|
|
WorkflowExecution: 'WorkflowExecution',
|
|
WorkflowInputExample: 'WorkflowInputExample',
|
|
WorkflowBlockExecution: 'WorkflowBlockExecution',
|
|
WorkflowVariable: 'WorkflowVariable',
|
|
WorkflowCredential: 'WorkflowCredential'
|
|
} as const
|
|
|
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
|
|
/*
|
|
* Enums
|
|
*/
|
|
|
|
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
|
ReadUncommitted: 'ReadUncommitted',
|
|
ReadCommitted: 'ReadCommitted',
|
|
RepeatableRead: 'RepeatableRead',
|
|
Serializable: 'Serializable'
|
|
} as const)
|
|
|
|
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
|
|
|
|
|
export const UserScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
email: 'email',
|
|
passwordHash: 'passwordHash',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
avatar: 'avatar',
|
|
phone: 'phone',
|
|
defaultTenantId: 'defaultTenantId',
|
|
verifyToken: 'verifyToken',
|
|
verifyTokenCreatedAt: 'verifyTokenCreatedAt',
|
|
locale: 'locale',
|
|
lightOrDarkMode: 'lightOrDarkMode',
|
|
totpSecretEncrypted: 'totpSecretEncrypted',
|
|
totpPendingSecretEncrypted: 'totpPendingSecretEncrypted',
|
|
totpEnabledAt: 'totpEnabledAt',
|
|
totpPendingCreatedAt: 'totpPendingCreatedAt',
|
|
mfaRecoveryCodeHashes: 'mfaRecoveryCodeHashes',
|
|
mfaRecoveryCodesGeneratedAt: 'mfaRecoveryCodesGeneratedAt',
|
|
mfaRecoveryCodeLastUsedAt: 'mfaRecoveryCodeLastUsedAt',
|
|
active: 'active',
|
|
pendingDeletion: 'pendingDeletion',
|
|
scheduledDeletionAt: 'scheduledDeletionAt',
|
|
deletionRequestedAt: 'deletionRequestedAt',
|
|
pseudonymized: 'pseudonymized',
|
|
pseudonymizedAt: 'pseudonymizedAt',
|
|
deletionRequestId: 'deletionRequestId'
|
|
} as const
|
|
|
|
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
|
|
|
|
|
export const MagicLinkTokenScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
userId: 'userId',
|
|
tokenHash: 'tokenHash',
|
|
expiresAt: 'expiresAt',
|
|
consumedAt: 'consumedAt'
|
|
} as const
|
|
|
|
export type MagicLinkTokenScalarFieldEnum = (typeof MagicLinkTokenScalarFieldEnum)[keyof typeof MagicLinkTokenScalarFieldEnum]
|
|
|
|
|
|
export const TenantScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
slug: 'slug',
|
|
name: 'name',
|
|
icon: 'icon',
|
|
logo: 'logo',
|
|
subscriptionId: 'subscriptionId',
|
|
active: 'active',
|
|
deactivatedReason: 'deactivatedReason',
|
|
theme: 'theme',
|
|
themeConfig: 'themeConfig',
|
|
anrede: 'anrede'
|
|
} as const
|
|
|
|
export type TenantScalarFieldEnum = (typeof TenantScalarFieldEnum)[keyof typeof TenantScalarFieldEnum]
|
|
|
|
|
|
export const WorkspaceAuthProviderScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
kind: 'kind',
|
|
name: 'name',
|
|
slug: 'slug',
|
|
enabled: 'enabled',
|
|
issuer: 'issuer',
|
|
authorizationUrl: 'authorizationUrl',
|
|
tokenUrl: 'tokenUrl',
|
|
jwksUrl: 'jwksUrl',
|
|
clientId: 'clientId',
|
|
entityId: 'entityId',
|
|
ssoUrl: 'ssoUrl',
|
|
certificateFingerprint: 'certificateFingerprint',
|
|
metadataUpdatedAt: 'metadataUpdatedAt'
|
|
} as const
|
|
|
|
export type WorkspaceAuthProviderScalarFieldEnum = (typeof WorkspaceAuthProviderScalarFieldEnum)[keyof typeof WorkspaceAuthProviderScalarFieldEnum]
|
|
|
|
|
|
export const ImpersonationAuditScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
actorUserId: 'actorUserId',
|
|
targetUserId: 'targetUserId',
|
|
tenantId: 'tenantId',
|
|
action: 'action',
|
|
reason: 'reason',
|
|
requestPath: 'requestPath',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type ImpersonationAuditScalarFieldEnum = (typeof ImpersonationAuditScalarFieldEnum)[keyof typeof ImpersonationAuditScalarFieldEnum]
|
|
|
|
|
|
export const TenantUserScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
type: 'type',
|
|
joined: 'joined',
|
|
status: 'status',
|
|
seatType: 'seatType'
|
|
} as const
|
|
|
|
export type TenantUserScalarFieldEnum = (typeof TenantUserScalarFieldEnum)[keyof typeof TenantUserScalarFieldEnum]
|
|
|
|
|
|
export const TenantUserInvitationScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
email: 'email',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
type: 'type',
|
|
pending: 'pending',
|
|
status: 'status',
|
|
tokenHash: 'tokenHash',
|
|
tokenPrefix: 'tokenPrefix',
|
|
expiresAt: 'expiresAt',
|
|
acceptedAt: 'acceptedAt',
|
|
revokedAt: 'revokedAt',
|
|
createdUserId: 'createdUserId',
|
|
fromUserId: 'fromUserId',
|
|
acceptedByUserId: 'acceptedByUserId',
|
|
revokedByUserId: 'revokedByUserId'
|
|
} as const
|
|
|
|
export type TenantUserInvitationScalarFieldEnum = (typeof TenantUserInvitationScalarFieldEnum)[keyof typeof TenantUserInvitationScalarFieldEnum]
|
|
|
|
|
|
export const RegistrationScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
email: 'email',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
slug: 'slug',
|
|
token: 'token',
|
|
ipAddress: 'ipAddress',
|
|
company: 'company',
|
|
selectedSubscriptionPriceId: 'selectedSubscriptionPriceId',
|
|
selectedOfficeSeatQuantity: 'selectedOfficeSeatQuantity',
|
|
selectedFieldSeatQuantity: 'selectedFieldSeatQuantity',
|
|
leadConversionLeadId: 'leadConversionLeadId',
|
|
leadConversionToken: 'leadConversionToken',
|
|
leadConversionPlanId: 'leadConversionPlanId',
|
|
createdTenantId: 'createdTenantId'
|
|
} as const
|
|
|
|
export type RegistrationScalarFieldEnum = (typeof RegistrationScalarFieldEnum)[keyof typeof RegistrationScalarFieldEnum]
|
|
|
|
|
|
export const BlacklistScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
type: 'type',
|
|
value: 'value',
|
|
active: 'active',
|
|
registerAttempts: 'registerAttempts'
|
|
} as const
|
|
|
|
export type BlacklistScalarFieldEnum = (typeof BlacklistScalarFieldEnum)[keyof typeof BlacklistScalarFieldEnum]
|
|
|
|
|
|
export const TenantIpAddressScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
apiKeyId: 'apiKeyId',
|
|
ip: 'ip',
|
|
fromUrl: 'fromUrl',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type TenantIpAddressScalarFieldEnum = (typeof TenantIpAddressScalarFieldEnum)[keyof typeof TenantIpAddressScalarFieldEnum]
|
|
|
|
|
|
export const ActivityScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
createdAt: 'createdAt',
|
|
actorUserId: 'actorUserId',
|
|
actorKind: 'actorKind',
|
|
activityType: 'activityType',
|
|
subjectType: 'subjectType',
|
|
subjectId: 'subjectId',
|
|
relatedEntityRefs: 'relatedEntityRefs',
|
|
metadata: 'metadata',
|
|
summaryText: 'summaryText'
|
|
} as const
|
|
|
|
export type ActivityScalarFieldEnum = (typeof ActivityScalarFieldEnum)[keyof typeof ActivityScalarFieldEnum]
|
|
|
|
|
|
export const AdminTenantNoteScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
authorUserId: 'authorUserId',
|
|
noteText: 'noteText',
|
|
category: 'category',
|
|
pinned: 'pinned'
|
|
} as const
|
|
|
|
export type AdminTenantNoteScalarFieldEnum = (typeof AdminTenantNoteScalarFieldEnum)[keyof typeof AdminTenantNoteScalarFieldEnum]
|
|
|
|
|
|
export const SupportTicketMessageScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
supportTicketId: 'supportTicketId',
|
|
authorUserId: 'authorUserId',
|
|
body: 'body',
|
|
internalNote: 'internalNote'
|
|
} as const
|
|
|
|
export type SupportTicketMessageScalarFieldEnum = (typeof SupportTicketMessageScalarFieldEnum)[keyof typeof SupportTicketMessageScalarFieldEnum]
|
|
|
|
|
|
export const AdminMeetingTypeScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
createdByAdminUserId: 'createdByAdminUserId',
|
|
name: 'name',
|
|
slug: 'slug',
|
|
description: 'description',
|
|
durationMinutes: 'durationMinutes',
|
|
bufferBeforeMinutes: 'bufferBeforeMinutes',
|
|
bufferAfterMinutes: 'bufferAfterMinutes',
|
|
slotIncrementMinutes: 'slotIncrementMinutes',
|
|
minimumNoticeMinutes: 'minimumNoticeMinutes',
|
|
bookingHorizonDays: 'bookingHorizonDays',
|
|
hostAdminUserIds: 'hostAdminUserIds',
|
|
intakeQuestions: 'intakeQuestions',
|
|
reminderOffsetsMinutes: 'reminderOffsetsMinutes',
|
|
active: 'active'
|
|
} as const
|
|
|
|
export type AdminMeetingTypeScalarFieldEnum = (typeof AdminMeetingTypeScalarFieldEnum)[keyof typeof AdminMeetingTypeScalarFieldEnum]
|
|
|
|
|
|
export const AdminAvailabilityRuleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
dayOfWeek: 'dayOfWeek',
|
|
startMinutes: 'startMinutes',
|
|
endMinutes: 'endMinutes',
|
|
timeZone: 'timeZone'
|
|
} as const
|
|
|
|
export type AdminAvailabilityRuleScalarFieldEnum = (typeof AdminAvailabilityRuleScalarFieldEnum)[keyof typeof AdminAvailabilityRuleScalarFieldEnum]
|
|
|
|
|
|
export const AdminAvailabilityOverrideScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
date: 'date',
|
|
kind: 'kind',
|
|
startMinutes: 'startMinutes',
|
|
endMinutes: 'endMinutes',
|
|
timeZone: 'timeZone',
|
|
reason: 'reason'
|
|
} as const
|
|
|
|
export type AdminAvailabilityOverrideScalarFieldEnum = (typeof AdminAvailabilityOverrideScalarFieldEnum)[keyof typeof AdminAvailabilityOverrideScalarFieldEnum]
|
|
|
|
|
|
export const AdminBookingPageScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
createdByAdminUserId: 'createdByAdminUserId',
|
|
meetingTypeId: 'meetingTypeId',
|
|
slug: 'slug',
|
|
title: 'title',
|
|
description: 'description',
|
|
published: 'published',
|
|
tokenVersion: 'tokenVersion',
|
|
allowedEmailDomains: 'allowedEmailDomains',
|
|
maxBookingsPerEmailPerDay: 'maxBookingsPerEmailPerDay'
|
|
} as const
|
|
|
|
export type AdminBookingPageScalarFieldEnum = (typeof AdminBookingPageScalarFieldEnum)[keyof typeof AdminBookingPageScalarFieldEnum]
|
|
|
|
|
|
export const AdminBookingScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
bookingPageId: 'bookingPageId',
|
|
meetingTypeId: 'meetingTypeId',
|
|
calendarConnectionId: 'calendarConnectionId',
|
|
contactId: 'contactId',
|
|
dealId: 'dealId',
|
|
startsAt: 'startsAt',
|
|
endsAt: 'endsAt',
|
|
bookerTimeZone: 'bookerTimeZone',
|
|
status: 'status',
|
|
idempotencyKey: 'idempotencyKey',
|
|
slotReservationKey: 'slotReservationKey',
|
|
providerEventId: 'providerEventId',
|
|
providerEventVersion: 'providerEventVersion',
|
|
providerSyncedAt: 'providerSyncedAt',
|
|
intakeAnswers: 'intakeAnswers',
|
|
manageTokenVersion: 'manageTokenVersion',
|
|
manageTokenExpiresAt: 'manageTokenExpiresAt',
|
|
lastManageNonceHash: 'lastManageNonceHash',
|
|
confirmedAt: 'confirmedAt',
|
|
cancelledAt: 'cancelledAt',
|
|
cancellationReason: 'cancellationReason',
|
|
rescheduledFromId: 'rescheduledFromId'
|
|
} as const
|
|
|
|
export type AdminBookingScalarFieldEnum = (typeof AdminBookingScalarFieldEnum)[keyof typeof AdminBookingScalarFieldEnum]
|
|
|
|
|
|
export const AdminBookingParticipantScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
adminUserId: 'adminUserId',
|
|
bookingId: 'bookingId',
|
|
email: 'email',
|
|
name: 'name',
|
|
locale: 'locale',
|
|
timeZone: 'timeZone',
|
|
isOrganizer: 'isOrganizer'
|
|
} as const
|
|
|
|
export type AdminBookingParticipantScalarFieldEnum = (typeof AdminBookingParticipantScalarFieldEnum)[keyof typeof AdminBookingParticipantScalarFieldEnum]
|
|
|
|
|
|
export const AdminBookingAssignmentScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
adminUserId: 'adminUserId',
|
|
bookingId: 'bookingId',
|
|
kind: 'kind',
|
|
selectedHostAdminUserId: 'selectedHostAdminUserId',
|
|
previousHostAdminUserId: 'previousHostAdminUserId',
|
|
overriddenByAdminUserId: 'overriddenByAdminUserId',
|
|
eligibleHostAdminUserIds: 'eligibleHostAdminUserIds',
|
|
excludedHosts: 'excludedHosts',
|
|
loadSnapshot: 'loadSnapshot',
|
|
selectionReason: 'selectionReason'
|
|
} as const
|
|
|
|
export type AdminBookingAssignmentScalarFieldEnum = (typeof AdminBookingAssignmentScalarFieldEnum)[keyof typeof AdminBookingAssignmentScalarFieldEnum]
|
|
|
|
|
|
export const AdminBookingReminderScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
bookingId: 'bookingId',
|
|
offsetMinutes: 'offsetMinutes',
|
|
scheduledFor: 'scheduledFor',
|
|
status: 'status',
|
|
idempotencyKey: 'idempotencyKey',
|
|
attemptCount: 'attemptCount',
|
|
sentAt: 'sentAt',
|
|
lastErrorCode: 'lastErrorCode'
|
|
} as const
|
|
|
|
export type AdminBookingReminderScalarFieldEnum = (typeof AdminBookingReminderScalarFieldEnum)[keyof typeof AdminBookingReminderScalarFieldEnum]
|
|
|
|
|
|
export const AdminCalendarConnectionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
externalCalendarId: 'externalCalendarId',
|
|
externalCalendarLabel: 'externalCalendarLabel',
|
|
timeZone: 'timeZone',
|
|
status: 'status',
|
|
lastSyncAt: 'lastSyncAt',
|
|
lastErrorCode: 'lastErrorCode',
|
|
healthMessageKey: 'healthMessageKey',
|
|
webhookExpiresAt: 'webhookExpiresAt'
|
|
} as const
|
|
|
|
export type AdminCalendarConnectionScalarFieldEnum = (typeof AdminCalendarConnectionScalarFieldEnum)[keyof typeof AdminCalendarConnectionScalarFieldEnum]
|
|
|
|
|
|
export const AdminCalendarSyncCursorScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
calendarConnectionId: 'calendarConnectionId',
|
|
externalCalendarId: 'externalCalendarId',
|
|
cursorToken: 'cursorToken',
|
|
deltaLink: 'deltaLink',
|
|
busyIntervals: 'busyIntervals',
|
|
status: 'status',
|
|
lastFullSyncAt: 'lastFullSyncAt',
|
|
lastIncrementalSyncAt: 'lastIncrementalSyncAt',
|
|
recoveryRequestedAt: 'recoveryRequestedAt',
|
|
lastErrorCode: 'lastErrorCode'
|
|
} as const
|
|
|
|
export type AdminCalendarSyncCursorScalarFieldEnum = (typeof AdminCalendarSyncCursorScalarFieldEnum)[keyof typeof AdminCalendarSyncCursorScalarFieldEnum]
|
|
|
|
|
|
export const AdminDataConnectionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
provider: 'provider',
|
|
capability: 'capability',
|
|
label: 'label',
|
|
externalAccountId: 'externalAccountId',
|
|
externalAccountEmail: 'externalAccountEmail',
|
|
status: 'status',
|
|
scopes: 'scopes',
|
|
tokenExpiresAt: 'tokenExpiresAt',
|
|
lastHealthCheckAt: 'lastHealthCheckAt',
|
|
healthMessageKey: 'healthMessageKey',
|
|
webhookRegistrationId: 'webhookRegistrationId',
|
|
revokedAt: 'revokedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type AdminDataConnectionScalarFieldEnum = (typeof AdminDataConnectionScalarFieldEnum)[keyof typeof AdminDataConnectionScalarFieldEnum]
|
|
|
|
|
|
export const AdminConnectionCredentialScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
connectionId: 'connectionId',
|
|
adminUserId: 'adminUserId',
|
|
wrappedDek: 'wrappedDek',
|
|
ciphertext: 'ciphertext',
|
|
keyVersion: 'keyVersion',
|
|
rotatedAt: 'rotatedAt',
|
|
revokedAt: 'revokedAt'
|
|
} as const
|
|
|
|
export type AdminConnectionCredentialScalarFieldEnum = (typeof AdminConnectionCredentialScalarFieldEnum)[keyof typeof AdminConnectionCredentialScalarFieldEnum]
|
|
|
|
|
|
export const AdminMailboxScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
connectionId: 'connectionId',
|
|
emailAddress: 'emailAddress',
|
|
normalizedEmail: 'normalizedEmail',
|
|
displayName: 'displayName',
|
|
providerAccountId: 'providerAccountId',
|
|
status: 'status',
|
|
lastSyncAt: 'lastSyncAt',
|
|
lastRecoveryPollAt: 'lastRecoveryPollAt',
|
|
webhookExpiresAt: 'webhookExpiresAt',
|
|
lastErrorMessageKey: 'lastErrorMessageKey'
|
|
} as const
|
|
|
|
export type AdminMailboxScalarFieldEnum = (typeof AdminMailboxScalarFieldEnum)[keyof typeof AdminMailboxScalarFieldEnum]
|
|
|
|
|
|
export const AdminMailboxSyncCursorScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
mailboxId: 'mailboxId',
|
|
externalFolderId: 'externalFolderId',
|
|
cursorToken: 'cursorToken',
|
|
syncStatus: 'syncStatus',
|
|
recoveryGeneration: 'recoveryGeneration',
|
|
lastAttemptAt: 'lastAttemptAt',
|
|
lastSuccessAt: 'lastSuccessAt',
|
|
lastErrorMessageKey: 'lastErrorMessageKey'
|
|
} as const
|
|
|
|
export type AdminMailboxSyncCursorScalarFieldEnum = (typeof AdminMailboxSyncCursorScalarFieldEnum)[keyof typeof AdminMailboxSyncCursorScalarFieldEnum]
|
|
|
|
|
|
export const AdminMailboxWebhookEventScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
processedAt: 'processedAt',
|
|
failedAt: 'failedAt',
|
|
adminUserId: 'adminUserId',
|
|
mailboxId: 'mailboxId',
|
|
providerEventId: 'providerEventId',
|
|
idempotencyKey: 'idempotencyKey',
|
|
payload: 'payload',
|
|
lastErrorMessageKey: 'lastErrorMessageKey'
|
|
} as const
|
|
|
|
export type AdminMailboxWebhookEventScalarFieldEnum = (typeof AdminMailboxWebhookEventScalarFieldEnum)[keyof typeof AdminMailboxWebhookEventScalarFieldEnum]
|
|
|
|
|
|
export const AdminEmailThreadScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
mailboxId: 'mailboxId',
|
|
providerThreadId: 'providerThreadId',
|
|
normalizedSubject: 'normalizedSubject',
|
|
latestMessageAt: 'latestMessageAt',
|
|
messageCount: 'messageCount',
|
|
unreadCount: 'unreadCount'
|
|
} as const
|
|
|
|
export type AdminEmailThreadScalarFieldEnum = (typeof AdminEmailThreadScalarFieldEnum)[keyof typeof AdminEmailThreadScalarFieldEnum]
|
|
|
|
|
|
export const AdminEmailMessageScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
mailboxId: 'mailboxId',
|
|
threadId: 'threadId',
|
|
providerMessageId: 'providerMessageId',
|
|
internetMessageId: 'internetMessageId',
|
|
direction: 'direction',
|
|
fromAddress: 'fromAddress',
|
|
subject: 'subject',
|
|
snippet: 'snippet',
|
|
bodyHtml: 'bodyHtml',
|
|
bodyText: 'bodyText',
|
|
sentAt: 'sentAt',
|
|
receivedAt: 'receivedAt',
|
|
isRead: 'isRead',
|
|
isNewsletter: 'isNewsletter',
|
|
providerLabels: 'providerLabels',
|
|
matchStatus: 'matchStatus',
|
|
matchedContactId: 'matchedContactId',
|
|
matchedLeadId: 'matchedLeadId',
|
|
matchedDealId: 'matchedDealId',
|
|
matchedAt: 'matchedAt',
|
|
matchedByAdminUserId: 'matchedByAdminUserId',
|
|
matchingReason: 'matchingReason',
|
|
matchingCandidates: 'matchingCandidates'
|
|
} as const
|
|
|
|
export type AdminEmailMessageScalarFieldEnum = (typeof AdminEmailMessageScalarFieldEnum)[keyof typeof AdminEmailMessageScalarFieldEnum]
|
|
|
|
|
|
export const AdminEmailParticipantScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
adminUserId: 'adminUserId',
|
|
messageId: 'messageId',
|
|
kind: 'kind',
|
|
emailAddress: 'emailAddress',
|
|
displayName: 'displayName'
|
|
} as const
|
|
|
|
export type AdminEmailParticipantScalarFieldEnum = (typeof AdminEmailParticipantScalarFieldEnum)[keyof typeof AdminEmailParticipantScalarFieldEnum]
|
|
|
|
|
|
export const AdminEmailAttachmentScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
adminUserId: 'adminUserId',
|
|
messageId: 'messageId',
|
|
providerAttachmentId: 'providerAttachmentId',
|
|
filename: 'filename',
|
|
mimeType: 'mimeType',
|
|
sizeBytes: 'sizeBytes',
|
|
storageBucket: 'storageBucket',
|
|
storageKey: 'storageKey',
|
|
checksumSha256: 'checksumSha256',
|
|
scannedAt: 'scannedAt',
|
|
linkedDealId: 'linkedDealId'
|
|
} as const
|
|
|
|
export type AdminEmailAttachmentScalarFieldEnum = (typeof AdminEmailAttachmentScalarFieldEnum)[keyof typeof AdminEmailAttachmentScalarFieldEnum]
|
|
|
|
|
|
export const AdminEmailEventScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
adminUserId: 'adminUserId',
|
|
messageId: 'messageId',
|
|
type: 'type',
|
|
providerEventId: 'providerEventId',
|
|
recipient: 'recipient',
|
|
linkId: 'linkId',
|
|
occurredAt: 'occurredAt',
|
|
rawExpiresAt: 'rawExpiresAt',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type AdminEmailEventScalarFieldEnum = (typeof AdminEmailEventScalarFieldEnum)[keyof typeof AdminEmailEventScalarFieldEnum]
|
|
|
|
|
|
export const AdminEmailLinkScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
adminUserId: 'adminUserId',
|
|
messageId: 'messageId',
|
|
destinationUrl: 'destinationUrl',
|
|
trackingTokenHash: 'trackingTokenHash'
|
|
} as const
|
|
|
|
export type AdminEmailLinkScalarFieldEnum = (typeof AdminEmailLinkScalarFieldEnum)[keyof typeof AdminEmailLinkScalarFieldEnum]
|
|
|
|
|
|
export const AdminEmailTemplateScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
name: 'name',
|
|
subjectTemplate: 'subjectTemplate',
|
|
htmlTemplate: 'htmlTemplate',
|
|
textTemplate: 'textTemplate',
|
|
allowedPlaceholders: 'allowedPlaceholders',
|
|
version: 'version'
|
|
} as const
|
|
|
|
export type AdminEmailTemplateScalarFieldEnum = (typeof AdminEmailTemplateScalarFieldEnum)[keyof typeof AdminEmailTemplateScalarFieldEnum]
|
|
|
|
|
|
export const AdminEmailSnippetScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
shortcut: 'shortcut',
|
|
title: 'title',
|
|
content: 'content'
|
|
} as const
|
|
|
|
export type AdminEmailSnippetScalarFieldEnum = (typeof AdminEmailSnippetScalarFieldEnum)[keyof typeof AdminEmailSnippetScalarFieldEnum]
|
|
|
|
|
|
export const AdminEmailSignatureScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
html: 'html',
|
|
text: 'text'
|
|
} as const
|
|
|
|
export type AdminEmailSignatureScalarFieldEnum = (typeof AdminEmailSignatureScalarFieldEnum)[keyof typeof AdminEmailSignatureScalarFieldEnum]
|
|
|
|
|
|
export const AdminEmailOutboundPolicyScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
timeZone: 'timeZone',
|
|
workdayStartMinutes: 'workdayStartMinutes',
|
|
workdayEndMinutes: 'workdayEndMinutes',
|
|
allowedWeekDays: 'allowedWeekDays',
|
|
dailySendLimit: 'dailySendLimit',
|
|
bulkDailySendLimit: 'bulkDailySendLimit',
|
|
consentRulesConfigured: 'consentRulesConfigured',
|
|
trackingEnabled: 'trackingEnabled',
|
|
liveOpenEnabled: 'liveOpenEnabled',
|
|
trackingRetentionDays: 'trackingRetentionDays',
|
|
configuredAt: 'configuredAt'
|
|
} as const
|
|
|
|
export type AdminEmailOutboundPolicyScalarFieldEnum = (typeof AdminEmailOutboundPolicyScalarFieldEnum)[keyof typeof AdminEmailOutboundPolicyScalarFieldEnum]
|
|
|
|
|
|
export const AdminScheduledEmailScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
mailboxId: 'mailboxId',
|
|
contactId: 'contactId',
|
|
leadId: 'leadId',
|
|
dealId: 'dealId',
|
|
threadId: 'threadId',
|
|
bulkRunId: 'bulkRunId',
|
|
toAddresses: 'toAddresses',
|
|
ccAddresses: 'ccAddresses',
|
|
bccAddresses: 'bccAddresses',
|
|
subject: 'subject',
|
|
bodyHtml: 'bodyHtml',
|
|
bodyText: 'bodyText',
|
|
scheduledFor: 'scheduledFor',
|
|
timeZone: 'timeZone',
|
|
noReplyAfterDays: 'noReplyAfterDays',
|
|
status: 'status',
|
|
idempotencyKey: 'idempotencyKey',
|
|
claimedAt: 'claimedAt',
|
|
sentAt: 'sentAt',
|
|
sendAttemptCount: 'sendAttemptCount',
|
|
providerMessageId: 'providerMessageId',
|
|
sentMessageId: 'sentMessageId',
|
|
lastErrorMessageKey: 'lastErrorMessageKey'
|
|
} as const
|
|
|
|
export type AdminScheduledEmailScalarFieldEnum = (typeof AdminScheduledEmailScalarFieldEnum)[keyof typeof AdminScheduledEmailScalarFieldEnum]
|
|
|
|
|
|
export const AdminNoReplyReminderScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
outboundMessageId: 'outboundMessageId',
|
|
dueAt: 'dueAt',
|
|
status: 'status',
|
|
taskId: 'taskId',
|
|
idempotencyKey: 'idempotencyKey'
|
|
} as const
|
|
|
|
export type AdminNoReplyReminderScalarFieldEnum = (typeof AdminNoReplyReminderScalarFieldEnum)[keyof typeof AdminNoReplyReminderScalarFieldEnum]
|
|
|
|
|
|
export const AdminBulkEmailRunScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
mailboxId: 'mailboxId',
|
|
name: 'name',
|
|
selectedContactIds: 'selectedContactIds',
|
|
templateId: 'templateId',
|
|
status: 'status',
|
|
scheduledFor: 'scheduledFor',
|
|
timeZone: 'timeZone',
|
|
recipientCount: 'recipientCount',
|
|
sentCount: 'sentCount',
|
|
failedCount: 'failedCount',
|
|
idempotencyKey: 'idempotencyKey',
|
|
lastErrorMessageKey: 'lastErrorMessageKey'
|
|
} as const
|
|
|
|
export type AdminBulkEmailRunScalarFieldEnum = (typeof AdminBulkEmailRunScalarFieldEnum)[keyof typeof AdminBulkEmailRunScalarFieldEnum]
|
|
|
|
|
|
export const AdminSendingDomainScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
domain: 'domain',
|
|
spfRecordName: 'spfRecordName',
|
|
spfExpectedValue: 'spfExpectedValue',
|
|
dkimRecordName: 'dkimRecordName',
|
|
dkimExpectedValue: 'dkimExpectedValue',
|
|
status: 'status',
|
|
spfStatus: 'spfStatus',
|
|
dkimStatus: 'dkimStatus',
|
|
lastCheckedAt: 'lastCheckedAt',
|
|
lastErrorMessageKey: 'lastErrorMessageKey'
|
|
} as const
|
|
|
|
export type AdminSendingDomainScalarFieldEnum = (typeof AdminSendingDomainScalarFieldEnum)[keyof typeof AdminSendingDomainScalarFieldEnum]
|
|
|
|
|
|
export const AdminBccAddressScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
mailboxId: 'mailboxId',
|
|
localPartHash: 'localPartHash',
|
|
displayAddress: 'displayAddress',
|
|
rotatedAt: 'rotatedAt'
|
|
} as const
|
|
|
|
export type AdminBccAddressScalarFieldEnum = (typeof AdminBccAddressScalarFieldEnum)[keyof typeof AdminBccAddressScalarFieldEnum]
|
|
|
|
|
|
export const AdminUserScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
email: 'email',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
avatar: 'avatar',
|
|
locale: 'locale',
|
|
status: 'status',
|
|
authentikSubject: 'authentikSubject',
|
|
authentikGroups: 'authentikGroups',
|
|
lastSsoLoginAt: 'lastSsoLoginAt',
|
|
lastLoginIpHash: 'lastLoginIpHash',
|
|
disabledAt: 'disabledAt',
|
|
disabledReason: 'disabledReason'
|
|
} as const
|
|
|
|
export type AdminUserScalarFieldEnum = (typeof AdminUserScalarFieldEnum)[keyof typeof AdminUserScalarFieldEnum]
|
|
|
|
|
|
export const AdminSessionScalarFieldEnum = {
|
|
id: 'id',
|
|
adminUserId: 'adminUserId',
|
|
tokenHash: 'tokenHash',
|
|
createdAt: 'createdAt',
|
|
lastSeenAt: 'lastSeenAt',
|
|
expiresAt: 'expiresAt',
|
|
revokedAt: 'revokedAt',
|
|
ipHash: 'ipHash',
|
|
userAgent: 'userAgent',
|
|
approxLocation: 'approxLocation',
|
|
authenticationMethods: 'authenticationMethods',
|
|
mfaAssuredAt: 'mfaAssuredAt'
|
|
} as const
|
|
|
|
export type AdminSessionScalarFieldEnum = (typeof AdminSessionScalarFieldEnum)[keyof typeof AdminSessionScalarFieldEnum]
|
|
|
|
|
|
export const AdminRoleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
name: 'name',
|
|
description: 'description',
|
|
systemKey: 'systemKey',
|
|
isSystem: 'isSystem',
|
|
active: 'active'
|
|
} as const
|
|
|
|
export type AdminRoleScalarFieldEnum = (typeof AdminRoleScalarFieldEnum)[keyof typeof AdminRoleScalarFieldEnum]
|
|
|
|
|
|
export const AdminPermissionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
name: 'name',
|
|
description: 'description'
|
|
} as const
|
|
|
|
export type AdminPermissionScalarFieldEnum = (typeof AdminPermissionScalarFieldEnum)[keyof typeof AdminPermissionScalarFieldEnum]
|
|
|
|
|
|
export const AdminRolePermissionScalarFieldEnum = {
|
|
adminRoleId: 'adminRoleId',
|
|
adminPermissionId: 'adminPermissionId',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type AdminRolePermissionScalarFieldEnum = (typeof AdminRolePermissionScalarFieldEnum)[keyof typeof AdminRolePermissionScalarFieldEnum]
|
|
|
|
|
|
export const AdminUserRoleScalarFieldEnum = {
|
|
adminUserId: 'adminUserId',
|
|
adminRoleId: 'adminRoleId',
|
|
createdAt: 'createdAt',
|
|
grantedByAdminUserId: 'grantedByAdminUserId'
|
|
} as const
|
|
|
|
export type AdminUserRoleScalarFieldEnum = (typeof AdminUserRoleScalarFieldEnum)[keyof typeof AdminUserRoleScalarFieldEnum]
|
|
|
|
|
|
export const AdminLeadSourceScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
key: 'key',
|
|
displayName: 'displayName',
|
|
enabled: 'enabled',
|
|
defaultAssigneeAdminUserId: 'defaultAssigneeAdminUserId',
|
|
notifyAdminUserIds: 'notifyAdminUserIds',
|
|
rateLimitPerMinute: 'rateLimitPerMinute',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type AdminLeadSourceScalarFieldEnum = (typeof AdminLeadSourceScalarFieldEnum)[keyof typeof AdminLeadSourceScalarFieldEnum]
|
|
|
|
|
|
export const AdminLeadSourceCredentialScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
sourceId: 'sourceId',
|
|
keyHash: 'keyHash',
|
|
keyPrefix: 'keyPrefix',
|
|
expiresAt: 'expiresAt',
|
|
revokedAt: 'revokedAt',
|
|
lastUsedAt: 'lastUsedAt'
|
|
} as const
|
|
|
|
export type AdminLeadSourceCredentialScalarFieldEnum = (typeof AdminLeadSourceCredentialScalarFieldEnum)[keyof typeof AdminLeadSourceCredentialScalarFieldEnum]
|
|
|
|
|
|
export const AdminLeadScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
capturedAt: 'capturedAt',
|
|
archivedAt: 'archivedAt',
|
|
sourceId: 'sourceId',
|
|
sourceDetail: 'sourceDetail',
|
|
externalId: 'externalId',
|
|
idempotencyKey: 'idempotencyKey',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
email: 'email',
|
|
normalizedEmail: 'normalizedEmail',
|
|
phone: 'phone',
|
|
normalizedPhone: 'normalizedPhone',
|
|
company: 'company',
|
|
message: 'message',
|
|
utmSource: 'utmSource',
|
|
utmMedium: 'utmMedium',
|
|
utmCampaign: 'utmCampaign',
|
|
utmTerm: 'utmTerm',
|
|
utmContent: 'utmContent',
|
|
referrer: 'referrer',
|
|
landingPage: 'landingPage',
|
|
status: 'status',
|
|
assignedToAdminUserId: 'assignedToAdminUserId',
|
|
duplicateHintOfLeadId: 'duplicateHintOfLeadId',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type AdminLeadScalarFieldEnum = (typeof AdminLeadScalarFieldEnum)[keyof typeof AdminLeadScalarFieldEnum]
|
|
|
|
|
|
export const AdminLeadActivityScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
leadId: 'leadId',
|
|
type: 'type',
|
|
actorAdminUserId: 'actorAdminUserId',
|
|
payload: 'payload'
|
|
} as const
|
|
|
|
export type AdminLeadActivityScalarFieldEnum = (typeof AdminLeadActivityScalarFieldEnum)[keyof typeof AdminLeadActivityScalarFieldEnum]
|
|
|
|
|
|
export const AdminCompanyScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
name: 'name',
|
|
normalizedName: 'normalizedName',
|
|
legalName: 'legalName',
|
|
domain: 'domain',
|
|
website: 'website',
|
|
phone: 'phone',
|
|
normalizedPhone: 'normalizedPhone',
|
|
region: 'region',
|
|
countryCode: 'countryCode',
|
|
industry: 'industry',
|
|
employeeRange: 'employeeRange',
|
|
ownerAdminUserId: 'ownerAdminUserId',
|
|
sourceLeadId: 'sourceLeadId',
|
|
enrichmentMetadata: 'enrichmentMetadata'
|
|
} as const
|
|
|
|
export type AdminCompanyScalarFieldEnum = (typeof AdminCompanyScalarFieldEnum)[keyof typeof AdminCompanyScalarFieldEnum]
|
|
|
|
|
|
export const AdminContactScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
companyId: 'companyId',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
jobTitle: 'jobTitle',
|
|
email: 'email',
|
|
normalizedEmail: 'normalizedEmail',
|
|
phone: 'phone',
|
|
normalizedPhone: 'normalizedPhone',
|
|
locale: 'locale',
|
|
timeZone: 'timeZone',
|
|
ownerAdminUserId: 'ownerAdminUserId',
|
|
sourceLeadId: 'sourceLeadId',
|
|
enrichmentMetadata: 'enrichmentMetadata',
|
|
doNotCall: 'doNotCall',
|
|
doNotCallReason: 'doNotCallReason',
|
|
doNotCallAt: 'doNotCallAt'
|
|
} as const
|
|
|
|
export type AdminContactScalarFieldEnum = (typeof AdminContactScalarFieldEnum)[keyof typeof AdminContactScalarFieldEnum]
|
|
|
|
|
|
export const AdminContactChannelScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
contactId: 'contactId',
|
|
kind: 'kind',
|
|
label: 'label',
|
|
value: 'value',
|
|
normalizedValue: 'normalizedValue',
|
|
isPrimary: 'isPrimary'
|
|
} as const
|
|
|
|
export type AdminContactChannelScalarFieldEnum = (typeof AdminContactChannelScalarFieldEnum)[keyof typeof AdminContactChannelScalarFieldEnum]
|
|
|
|
|
|
export const AdminPipelineScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
name: 'name',
|
|
description: 'description',
|
|
isDefault: 'isDefault'
|
|
} as const
|
|
|
|
export type AdminPipelineScalarFieldEnum = (typeof AdminPipelineScalarFieldEnum)[keyof typeof AdminPipelineScalarFieldEnum]
|
|
|
|
|
|
export const AdminPipelineStageScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
pipelineId: 'pipelineId',
|
|
name: 'name',
|
|
position: 'position',
|
|
kind: 'kind',
|
|
probabilityBasisPoints: 'probabilityBasisPoints',
|
|
agingThresholdDays: 'agingThresholdDays',
|
|
color: 'color'
|
|
} as const
|
|
|
|
export type AdminPipelineStageScalarFieldEnum = (typeof AdminPipelineStageScalarFieldEnum)[keyof typeof AdminPipelineStageScalarFieldEnum]
|
|
|
|
|
|
export const AdminStageRequiredFieldScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
stageId: 'stageId',
|
|
fieldKey: 'fieldKey'
|
|
} as const
|
|
|
|
export type AdminStageRequiredFieldScalarFieldEnum = (typeof AdminStageRequiredFieldScalarFieldEnum)[keyof typeof AdminStageRequiredFieldScalarFieldEnum]
|
|
|
|
|
|
export const AdminDealLossReasonScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
pipelineId: 'pipelineId',
|
|
label: 'label',
|
|
position: 'position'
|
|
} as const
|
|
|
|
export type AdminDealLossReasonScalarFieldEnum = (typeof AdminDealLossReasonScalarFieldEnum)[keyof typeof AdminDealLossReasonScalarFieldEnum]
|
|
|
|
|
|
export const AdminDealScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
title: 'title',
|
|
pipelineId: 'pipelineId',
|
|
stageId: 'stageId',
|
|
companyId: 'companyId',
|
|
sourceLeadId: 'sourceLeadId',
|
|
ownerAdminUserId: 'ownerAdminUserId',
|
|
status: 'status',
|
|
amountCents: 'amountCents',
|
|
currencyCode: 'currencyCode',
|
|
probabilityBasisPoints: 'probabilityBasisPoints',
|
|
expectedCloseDate: 'expectedCloseDate',
|
|
nextStep: 'nextStep',
|
|
nextStepDueAt: 'nextStepDueAt',
|
|
stageEnteredAt: 'stageEnteredAt',
|
|
wonAt: 'wonAt',
|
|
lostAt: 'lostAt',
|
|
lossReasonId: 'lossReasonId',
|
|
lossReasonNote: 'lossReasonNote',
|
|
promotedTenantId: 'promotedTenantId',
|
|
promotedAt: 'promotedAt'
|
|
} as const
|
|
|
|
export type AdminDealScalarFieldEnum = (typeof AdminDealScalarFieldEnum)[keyof typeof AdminDealScalarFieldEnum]
|
|
|
|
|
|
export const AdminDealContactScalarFieldEnum = {
|
|
dealId: 'dealId',
|
|
contactId: 'contactId',
|
|
createdAt: 'createdAt',
|
|
role: 'role',
|
|
isPrimary: 'isPrimary'
|
|
} as const
|
|
|
|
export type AdminDealContactScalarFieldEnum = (typeof AdminDealContactScalarFieldEnum)[keyof typeof AdminDealContactScalarFieldEnum]
|
|
|
|
|
|
export const AdminDealStageHistoryScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
dealId: 'dealId',
|
|
fromStageId: 'fromStageId',
|
|
toStageId: 'toStageId',
|
|
actorAdminUserId: 'actorAdminUserId',
|
|
enteredAt: 'enteredAt',
|
|
exitedAt: 'exitedAt',
|
|
reason: 'reason'
|
|
} as const
|
|
|
|
export type AdminDealStageHistoryScalarFieldEnum = (typeof AdminDealStageHistoryScalarFieldEnum)[keyof typeof AdminDealStageHistoryScalarFieldEnum]
|
|
|
|
|
|
export const AdminTaskRecurrenceScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
createdByAdminUserId: 'createdByAdminUserId',
|
|
frequency: 'frequency',
|
|
interval: 'interval',
|
|
timeZone: 'timeZone',
|
|
weekDays: 'weekDays',
|
|
dayOfMonth: 'dayOfMonth',
|
|
reminderOffsetMinutes: 'reminderOffsetMinutes',
|
|
endsAt: 'endsAt'
|
|
} as const
|
|
|
|
export type AdminTaskRecurrenceScalarFieldEnum = (typeof AdminTaskRecurrenceScalarFieldEnum)[keyof typeof AdminTaskRecurrenceScalarFieldEnum]
|
|
|
|
|
|
export const AdminTaskScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
title: 'title',
|
|
description: 'description',
|
|
contactId: 'contactId',
|
|
dealId: 'dealId',
|
|
assignedToAdminUserId: 'assignedToAdminUserId',
|
|
createdByAdminUserId: 'createdByAdminUserId',
|
|
dueAt: 'dueAt',
|
|
timeZone: 'timeZone',
|
|
reminderAt: 'reminderAt',
|
|
reminderSentAt: 'reminderSentAt',
|
|
priority: 'priority',
|
|
status: 'status',
|
|
completedAt: 'completedAt',
|
|
source: 'source',
|
|
sourceActivityId: 'sourceActivityId',
|
|
recurrenceId: 'recurrenceId',
|
|
recurrenceSequence: 'recurrenceSequence'
|
|
} as const
|
|
|
|
export type AdminTaskScalarFieldEnum = (typeof AdminTaskScalarFieldEnum)[keyof typeof AdminTaskScalarFieldEnum]
|
|
|
|
|
|
export const AdminTagScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
name: 'name',
|
|
normalizedName: 'normalizedName',
|
|
color: 'color',
|
|
createdByAdminUserId: 'createdByAdminUserId'
|
|
} as const
|
|
|
|
export type AdminTagScalarFieldEnum = (typeof AdminTagScalarFieldEnum)[keyof typeof AdminTagScalarFieldEnum]
|
|
|
|
|
|
export const AdminContactTagScalarFieldEnum = {
|
|
contactId: 'contactId',
|
|
tagId: 'tagId',
|
|
createdAt: 'createdAt',
|
|
createdByAdminUserId: 'createdByAdminUserId'
|
|
} as const
|
|
|
|
export type AdminContactTagScalarFieldEnum = (typeof AdminContactTagScalarFieldEnum)[keyof typeof AdminContactTagScalarFieldEnum]
|
|
|
|
|
|
export const AdminCustomFieldDefinitionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
target: 'target',
|
|
key: 'key',
|
|
label: 'label',
|
|
type: 'type',
|
|
options: 'options',
|
|
required: 'required',
|
|
position: 'position',
|
|
createdByAdminUserId: 'createdByAdminUserId'
|
|
} as const
|
|
|
|
export type AdminCustomFieldDefinitionScalarFieldEnum = (typeof AdminCustomFieldDefinitionScalarFieldEnum)[keyof typeof AdminCustomFieldDefinitionScalarFieldEnum]
|
|
|
|
|
|
export const AdminCustomFieldValueScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
definitionId: 'definitionId',
|
|
contactId: 'contactId',
|
|
dealId: 'dealId',
|
|
textValue: 'textValue',
|
|
numberValue: 'numberValue',
|
|
booleanValue: 'booleanValue',
|
|
dateValue: 'dateValue',
|
|
optionValue: 'optionValue',
|
|
updatedByAdminUserId: 'updatedByAdminUserId'
|
|
} as const
|
|
|
|
export type AdminCustomFieldValueScalarFieldEnum = (typeof AdminCustomFieldValueScalarFieldEnum)[keyof typeof AdminCustomFieldValueScalarFieldEnum]
|
|
|
|
|
|
export const AdminContactNoteScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
contactId: 'contactId',
|
|
body: 'body',
|
|
createdByAdminUserId: 'createdByAdminUserId'
|
|
} as const
|
|
|
|
export type AdminContactNoteScalarFieldEnum = (typeof AdminContactNoteScalarFieldEnum)[keyof typeof AdminContactNoteScalarFieldEnum]
|
|
|
|
|
|
export const AdminImportJobScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
requestedByAdminUserId: 'requestedByAdminUserId',
|
|
status: 'status',
|
|
fileName: 'fileName',
|
|
sourceBucket: 'sourceBucket',
|
|
sourceKey: 'sourceKey',
|
|
sourceHeaders: 'sourceHeaders',
|
|
fieldMapping: 'fieldMapping',
|
|
totalRows: 'totalRows',
|
|
acceptedRows: 'acceptedRows',
|
|
rejectedRows: 'rejectedRows',
|
|
errorReportBucket: 'errorReportBucket',
|
|
errorReportKey: 'errorReportKey',
|
|
queuedAt: 'queuedAt',
|
|
startedAt: 'startedAt',
|
|
completedAt: 'completedAt',
|
|
errorCode: 'errorCode',
|
|
errorMessage: 'errorMessage',
|
|
idempotencyKey: 'idempotencyKey'
|
|
} as const
|
|
|
|
export type AdminImportJobScalarFieldEnum = (typeof AdminImportJobScalarFieldEnum)[keyof typeof AdminImportJobScalarFieldEnum]
|
|
|
|
|
|
export const AdminImportRowErrorScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
importJobId: 'importJobId',
|
|
rowNumber: 'rowNumber',
|
|
fieldKey: 'fieldKey',
|
|
code: 'code',
|
|
message: 'message',
|
|
rawValues: 'rawValues'
|
|
} as const
|
|
|
|
export type AdminImportRowErrorScalarFieldEnum = (typeof AdminImportRowErrorScalarFieldEnum)[keyof typeof AdminImportRowErrorScalarFieldEnum]
|
|
|
|
|
|
export const AdminExportJobScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
requestedByAdminUserId: 'requestedByAdminUserId',
|
|
status: 'status',
|
|
selectedContactIds: 'selectedContactIds',
|
|
artifactBucket: 'artifactBucket',
|
|
artifactKey: 'artifactKey',
|
|
rowCount: 'rowCount',
|
|
queuedAt: 'queuedAt',
|
|
startedAt: 'startedAt',
|
|
completedAt: 'completedAt',
|
|
expiresAt: 'expiresAt',
|
|
errorCode: 'errorCode',
|
|
errorMessage: 'errorMessage',
|
|
idempotencyKey: 'idempotencyKey'
|
|
} as const
|
|
|
|
export type AdminExportJobScalarFieldEnum = (typeof AdminExportJobScalarFieldEnum)[keyof typeof AdminExportJobScalarFieldEnum]
|
|
|
|
|
|
export const AdminActivityScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
type: 'type',
|
|
actorAdminUserId: 'actorAdminUserId',
|
|
leadId: 'leadId',
|
|
pipelineId: 'pipelineId',
|
|
companyId: 'companyId',
|
|
contactId: 'contactId',
|
|
dealId: 'dealId',
|
|
taskId: 'taskId',
|
|
noteId: 'noteId',
|
|
emailMessageId: 'emailMessageId',
|
|
callSessionId: 'callSessionId',
|
|
bookingId: 'bookingId',
|
|
summary: 'summary',
|
|
payload: 'payload',
|
|
occurredAt: 'occurredAt'
|
|
} as const
|
|
|
|
export type AdminActivityScalarFieldEnum = (typeof AdminActivityScalarFieldEnum)[keyof typeof AdminActivityScalarFieldEnum]
|
|
|
|
|
|
export const AdminLeadAssignmentRuleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
name: 'name',
|
|
active: 'active',
|
|
priority: 'priority',
|
|
sourceId: 'sourceId',
|
|
region: 'region',
|
|
strategy: 'strategy',
|
|
fixedAssigneeAdminUserId: 'fixedAssigneeAdminUserId',
|
|
roundRobinAdminUserIds: 'roundRobinAdminUserIds',
|
|
nextAssigneeIndex: 'nextAssigneeIndex',
|
|
lastAssignedAt: 'lastAssignedAt'
|
|
} as const
|
|
|
|
export type AdminLeadAssignmentRuleScalarFieldEnum = (typeof AdminLeadAssignmentRuleScalarFieldEnum)[keyof typeof AdminLeadAssignmentRuleScalarFieldEnum]
|
|
|
|
|
|
export const AdminLeadScoreRuleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
name: 'name',
|
|
active: 'active',
|
|
priority: 'priority',
|
|
field: 'field',
|
|
operator: 'operator',
|
|
value: 'value',
|
|
points: 'points',
|
|
version: 'version'
|
|
} as const
|
|
|
|
export type AdminLeadScoreRuleScalarFieldEnum = (typeof AdminLeadScoreRuleScalarFieldEnum)[keyof typeof AdminLeadScoreRuleScalarFieldEnum]
|
|
|
|
|
|
export const AdminLeadQualificationScalarFieldEnum = {
|
|
leadId: 'leadId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
score: 'score',
|
|
scoreBand: 'scoreBand',
|
|
scoreVersion: 'scoreVersion',
|
|
scoreBreakdown: 'scoreBreakdown',
|
|
enrichmentStatus: 'enrichmentStatus',
|
|
enrichmentProvider: 'enrichmentProvider',
|
|
enrichmentData: 'enrichmentData',
|
|
enrichedAt: 'enrichedAt'
|
|
} as const
|
|
|
|
export type AdminLeadQualificationScalarFieldEnum = (typeof AdminLeadQualificationScalarFieldEnum)[keyof typeof AdminLeadQualificationScalarFieldEnum]
|
|
|
|
|
|
export const AdminDuplicateCandidateScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
primaryLeadId: 'primaryLeadId',
|
|
duplicateLeadId: 'duplicateLeadId',
|
|
status: 'status',
|
|
matchKeys: 'matchKeys',
|
|
confidenceBasisPoints: 'confidenceBasisPoints',
|
|
resolvedAt: 'resolvedAt',
|
|
resolvedByAdminUserId: 'resolvedByAdminUserId',
|
|
resolutionReason: 'resolutionReason'
|
|
} as const
|
|
|
|
export type AdminDuplicateCandidateScalarFieldEnum = (typeof AdminDuplicateCandidateScalarFieldEnum)[keyof typeof AdminDuplicateCandidateScalarFieldEnum]
|
|
|
|
|
|
export const AdminMergeRecordScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
survivorLeadId: 'survivorLeadId',
|
|
mergedLeadId: 'mergedLeadId',
|
|
actorAdminUserId: 'actorAdminUserId',
|
|
reason: 'reason',
|
|
survivorSnapshot: 'survivorSnapshot',
|
|
mergedSnapshot: 'mergedSnapshot'
|
|
} as const
|
|
|
|
export type AdminMergeRecordScalarFieldEnum = (typeof AdminMergeRecordScalarFieldEnum)[keyof typeof AdminMergeRecordScalarFieldEnum]
|
|
|
|
|
|
export const AdminPhoneConnectionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
connectionId: 'connectionId',
|
|
providerCompanyId: 'providerCompanyId',
|
|
providerUserId: 'providerUserId',
|
|
providerUserEmail: 'providerUserEmail',
|
|
defaultPhoneNumberId: 'defaultPhoneNumberId',
|
|
webhookTokenHash: 'webhookTokenHash',
|
|
webhookVerifiedAt: 'webhookVerifiedAt',
|
|
lastEventAt: 'lastEventAt'
|
|
} as const
|
|
|
|
export type AdminPhoneConnectionScalarFieldEnum = (typeof AdminPhoneConnectionScalarFieldEnum)[keyof typeof AdminPhoneConnectionScalarFieldEnum]
|
|
|
|
|
|
export const AdminPhoneNumberScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
phoneConnectionId: 'phoneConnectionId',
|
|
providerNumberId: 'providerNumberId',
|
|
label: 'label',
|
|
e164: 'e164',
|
|
countryCode: 'countryCode',
|
|
selected: 'selected'
|
|
} as const
|
|
|
|
export type AdminPhoneNumberScalarFieldEnum = (typeof AdminPhoneNumberScalarFieldEnum)[keyof typeof AdminPhoneNumberScalarFieldEnum]
|
|
|
|
|
|
export const AdminTelephonyPolicyScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
outboundEnabled: 'outboundEnabled',
|
|
recordingEnabled: 'recordingEnabled',
|
|
recordingConsentText: 'recordingConsentText',
|
|
recordingConsentVersion: 'recordingConsentVersion',
|
|
recordingConsentAt: 'recordingConsentAt',
|
|
recordingRetentionDays: 'recordingRetentionDays',
|
|
dncEnforced: 'dncEnforced',
|
|
dailyCallLimit: 'dailyCallLimit',
|
|
workDayStartMinutes: 'workDayStartMinutes',
|
|
workDayEndMinutes: 'workDayEndMinutes',
|
|
workDays: 'workDays',
|
|
timeZone: 'timeZone'
|
|
} as const
|
|
|
|
export type AdminTelephonyPolicyScalarFieldEnum = (typeof AdminTelephonyPolicyScalarFieldEnum)[keyof typeof AdminTelephonyPolicyScalarFieldEnum]
|
|
|
|
|
|
export const AdminCallDispositionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
code: 'code',
|
|
label: 'label',
|
|
position: 'position',
|
|
active: 'active',
|
|
isSystem: 'isSystem'
|
|
} as const
|
|
|
|
export type AdminCallDispositionScalarFieldEnum = (typeof AdminCallDispositionScalarFieldEnum)[keyof typeof AdminCallDispositionScalarFieldEnum]
|
|
|
|
|
|
export const AdminCallSessionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
phoneConnectionId: 'phoneConnectionId',
|
|
providerCallId: 'providerCallId',
|
|
direction: 'direction',
|
|
status: 'status',
|
|
providerUserId: 'providerUserId',
|
|
fromNumber: 'fromNumber',
|
|
toNumber: 'toNumber',
|
|
externalNumber: 'externalNumber',
|
|
startedAt: 'startedAt',
|
|
answeredAt: 'answeredAt',
|
|
endedAt: 'endedAt',
|
|
durationSeconds: 'durationSeconds',
|
|
contactId: 'contactId',
|
|
leadId: 'leadId',
|
|
dealId: 'dealId',
|
|
matchStatus: 'matchStatus',
|
|
matchConfidenceBasisPoints: 'matchConfidenceBasisPoints',
|
|
note: 'note',
|
|
dispositionId: 'dispositionId',
|
|
dispositionCodeSnapshot: 'dispositionCodeSnapshot',
|
|
dispositionLabelSnapshot: 'dispositionLabelSnapshot',
|
|
callbackTaskId: 'callbackTaskId',
|
|
recordingOffered: 'recordingOffered',
|
|
recordingConsentConfirmedAt: 'recordingConsentConfirmedAt'
|
|
} as const
|
|
|
|
export type AdminCallSessionScalarFieldEnum = (typeof AdminCallSessionScalarFieldEnum)[keyof typeof AdminCallSessionScalarFieldEnum]
|
|
|
|
|
|
export const AdminCallParticipantScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
adminUserId: 'adminUserId',
|
|
callSessionId: 'callSessionId',
|
|
kind: 'kind',
|
|
externalId: 'externalId',
|
|
displayName: 'displayName',
|
|
phone: 'phone'
|
|
} as const
|
|
|
|
export type AdminCallParticipantScalarFieldEnum = (typeof AdminCallParticipantScalarFieldEnum)[keyof typeof AdminCallParticipantScalarFieldEnum]
|
|
|
|
|
|
export const AdminCallEventScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
adminUserId: 'adminUserId',
|
|
callSessionId: 'callSessionId',
|
|
dedupeKey: 'dedupeKey',
|
|
providerEvent: 'providerEvent',
|
|
status: 'status',
|
|
occurredAt: 'occurredAt',
|
|
durationSeconds: 'durationSeconds'
|
|
} as const
|
|
|
|
export type AdminCallEventScalarFieldEnum = (typeof AdminCallEventScalarFieldEnum)[keyof typeof AdminCallEventScalarFieldEnum]
|
|
|
|
|
|
export const AdminCallMatchCandidateScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
adminUserId: 'adminUserId',
|
|
callSessionId: 'callSessionId',
|
|
contactId: 'contactId',
|
|
leadId: 'leadId',
|
|
confidenceBasisPoints: 'confidenceBasisPoints',
|
|
matchReason: 'matchReason'
|
|
} as const
|
|
|
|
export type AdminCallMatchCandidateScalarFieldEnum = (typeof AdminCallMatchCandidateScalarFieldEnum)[keyof typeof AdminCallMatchCandidateScalarFieldEnum]
|
|
|
|
|
|
export const AdminCallRecordingScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
callSessionId: 'callSessionId',
|
|
status: 'status',
|
|
providerUrlWrappedDek: 'providerUrlWrappedDek',
|
|
providerUrlCiphertext: 'providerUrlCiphertext',
|
|
providerUrlKeyVersion: 'providerUrlKeyVersion',
|
|
storageBucket: 'storageBucket',
|
|
storageKey: 'storageKey',
|
|
encryptedSizeBytes: 'encryptedSizeBytes',
|
|
checksumSha256: 'checksumSha256',
|
|
wrappedDek: 'wrappedDek',
|
|
iv: 'iv',
|
|
authTag: 'authTag',
|
|
processingAt: 'processingAt',
|
|
attemptCount: 'attemptCount',
|
|
lastErrorCode: 'lastErrorCode',
|
|
scannedAt: 'scannedAt',
|
|
retainedUntil: 'retainedUntil',
|
|
expiredAt: 'expiredAt',
|
|
deletedAt: 'deletedAt',
|
|
rejectionCode: 'rejectionCode'
|
|
} as const
|
|
|
|
export type AdminCallRecordingScalarFieldEnum = (typeof AdminCallRecordingScalarFieldEnum)[keyof typeof AdminCallRecordingScalarFieldEnum]
|
|
|
|
|
|
export const AdminDialerListScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt',
|
|
adminUserId: 'adminUserId',
|
|
name: 'name',
|
|
status: 'status',
|
|
currentPosition: 'currentPosition',
|
|
startedAt: 'startedAt',
|
|
completedAt: 'completedAt'
|
|
} as const
|
|
|
|
export type AdminDialerListScalarFieldEnum = (typeof AdminDialerListScalarFieldEnum)[keyof typeof AdminDialerListScalarFieldEnum]
|
|
|
|
|
|
export const AdminDialerEntryScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
dialerListId: 'dialerListId',
|
|
contactId: 'contactId',
|
|
position: 'position',
|
|
status: 'status',
|
|
callSessionId: 'callSessionId',
|
|
blockedReason: 'blockedReason',
|
|
activatedAt: 'activatedAt',
|
|
completedAt: 'completedAt'
|
|
} as const
|
|
|
|
export type AdminDialerEntryScalarFieldEnum = (typeof AdminDialerEntryScalarFieldEnum)[keyof typeof AdminDialerEntryScalarFieldEnum]
|
|
|
|
|
|
export const AdminOutboundCallRequestScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
adminUserId: 'adminUserId',
|
|
phoneConnectionId: 'phoneConnectionId',
|
|
contactId: 'contactId',
|
|
dealId: 'dealId',
|
|
dialerEntryId: 'dialerEntryId',
|
|
idempotencyKey: 'idempotencyKey',
|
|
destinationE164: 'destinationE164',
|
|
status: 'status',
|
|
requestedAt: 'requestedAt',
|
|
processingAt: 'processingAt',
|
|
acceptedAt: 'acceptedAt',
|
|
failedAt: 'failedAt',
|
|
attemptCount: 'attemptCount',
|
|
errorCode: 'errorCode'
|
|
} as const
|
|
|
|
export type AdminOutboundCallRequestScalarFieldEnum = (typeof AdminOutboundCallRequestScalarFieldEnum)[keyof typeof AdminOutboundCallRequestScalarFieldEnum]
|
|
|
|
|
|
export const AnalyticsSettingsScalarFieldEnum = {
|
|
id: 'id',
|
|
public: 'public',
|
|
ignorePages: 'ignorePages',
|
|
onlyPages: 'onlyPages'
|
|
} as const
|
|
|
|
export type AnalyticsSettingsScalarFieldEnum = (typeof AnalyticsSettingsScalarFieldEnum)[keyof typeof AnalyticsSettingsScalarFieldEnum]
|
|
|
|
|
|
export const AnalyticsUniqueVisitorScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
cookie: 'cookie',
|
|
via: 'via',
|
|
httpReferrer: 'httpReferrer',
|
|
browser: 'browser',
|
|
browserVersion: 'browserVersion',
|
|
os: 'os',
|
|
osVersion: 'osVersion',
|
|
device: 'device',
|
|
source: 'source',
|
|
medium: 'medium',
|
|
campaign: 'campaign',
|
|
content: 'content',
|
|
term: 'term',
|
|
country: 'country',
|
|
city: 'city',
|
|
fromUrl: 'fromUrl',
|
|
fromRoute: 'fromRoute',
|
|
userId: 'userId',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId'
|
|
} as const
|
|
|
|
export type AnalyticsUniqueVisitorScalarFieldEnum = (typeof AnalyticsUniqueVisitorScalarFieldEnum)[keyof typeof AnalyticsUniqueVisitorScalarFieldEnum]
|
|
|
|
|
|
export const AnalyticsPageViewScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
uniqueVisitorId: 'uniqueVisitorId',
|
|
url: 'url',
|
|
route: 'route',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId'
|
|
} as const
|
|
|
|
export type AnalyticsPageViewScalarFieldEnum = (typeof AnalyticsPageViewScalarFieldEnum)[keyof typeof AnalyticsPageViewScalarFieldEnum]
|
|
|
|
|
|
export const AnalyticsEventScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
uniqueVisitorId: 'uniqueVisitorId',
|
|
action: 'action',
|
|
category: 'category',
|
|
label: 'label',
|
|
value: 'value',
|
|
url: 'url',
|
|
route: 'route',
|
|
featureFlagId: 'featureFlagId',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId'
|
|
} as const
|
|
|
|
export type AnalyticsEventScalarFieldEnum = (typeof AnalyticsEventScalarFieldEnum)[keyof typeof AnalyticsEventScalarFieldEnum]
|
|
|
|
|
|
export const AppScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
key: 'key',
|
|
title: 'title',
|
|
category: 'category',
|
|
connectionType: 'connectionType',
|
|
connectionSchema: 'connectionSchema',
|
|
phase: 'phase',
|
|
icon: 'icon',
|
|
isActive: 'isActive'
|
|
} as const
|
|
|
|
export type AppScalarFieldEnum = (typeof AppScalarFieldEnum)[keyof typeof AppScalarFieldEnum]
|
|
|
|
|
|
export const DataConnectionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
appId: 'appId',
|
|
label: 'label',
|
|
credentialsCiphertext: 'credentialsCiphertext',
|
|
connectionStatus: 'connectionStatus',
|
|
lastHealthCheck: 'lastHealthCheck',
|
|
healthMessageKey: 'healthMessageKey',
|
|
tokenExpiresAt: 'tokenExpiresAt',
|
|
createdByUserId: 'createdByUserId',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type DataConnectionScalarFieldEnum = (typeof DataConnectionScalarFieldEnum)[keyof typeof DataConnectionScalarFieldEnum]
|
|
|
|
|
|
export const AppSyncRunScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
kind: 'kind',
|
|
status: 'status',
|
|
itemsTotal: 'itemsTotal',
|
|
itemsSucceeded: 'itemsSucceeded',
|
|
itemsFailed: 'itemsFailed',
|
|
summaryText: 'summaryText',
|
|
startedAt: 'startedAt',
|
|
completedAt: 'completedAt',
|
|
createdByUserId: 'createdByUserId'
|
|
} as const
|
|
|
|
export type AppSyncRunScalarFieldEnum = (typeof AppSyncRunScalarFieldEnum)[keyof typeof AppSyncRunScalarFieldEnum]
|
|
|
|
|
|
export const AppSyncRunLogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
syncRunId: 'syncRunId',
|
|
severity: 'severity',
|
|
messageText: 'messageText',
|
|
techDetails: 'techDetails'
|
|
} as const
|
|
|
|
export type AppSyncRunLogScalarFieldEnum = (typeof AppSyncRunLogScalarFieldEnum)[keyof typeof AppSyncRunLogScalarFieldEnum]
|
|
|
|
|
|
export const AppSyncItemScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
syncRunId: 'syncRunId',
|
|
entityType: 'entityType',
|
|
entityId: 'entityId',
|
|
externalId: 'externalId',
|
|
operation: 'operation',
|
|
status: 'status',
|
|
errorText: 'errorText'
|
|
} as const
|
|
|
|
export type AppSyncItemScalarFieldEnum = (typeof AppSyncItemScalarFieldEnum)[keyof typeof AppSyncItemScalarFieldEnum]
|
|
|
|
|
|
export const AppEntityBindingScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
externalEntityType: 'externalEntityType',
|
|
localEntityType: 'localEntityType',
|
|
externalId: 'externalId',
|
|
localId: 'localId',
|
|
state: 'state',
|
|
normalizedSnapshot: 'normalizedSnapshot',
|
|
fingerprint: 'fingerprint',
|
|
overwrittenLocalSnapshot: 'overwrittenLocalSnapshot',
|
|
revision: 'revision',
|
|
lastSeenAt: 'lastSeenAt',
|
|
lastSyncedAt: 'lastSyncedAt',
|
|
missingSince: 'missingSince',
|
|
unlinkedAt: 'unlinkedAt'
|
|
} as const
|
|
|
|
export type AppEntityBindingScalarFieldEnum = (typeof AppEntityBindingScalarFieldEnum)[keyof typeof AppEntityBindingScalarFieldEnum]
|
|
|
|
|
|
export const AuditChainCheckpointScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
chainKey: 'chainKey',
|
|
tenantId: 'tenantId',
|
|
deletedThroughAt: 'deletedThroughAt',
|
|
lastDeletedEventId: 'lastDeletedEventId',
|
|
lastDeletedEventHash: 'lastDeletedEventHash',
|
|
deletedCount: 'deletedCount',
|
|
previousCheckpointMac: 'previousCheckpointMac',
|
|
checkpointMac: 'checkpointMac'
|
|
} as const
|
|
|
|
export type AuditChainCheckpointScalarFieldEnum = (typeof AuditChainCheckpointScalarFieldEnum)[keyof typeof AuditChainCheckpointScalarFieldEnum]
|
|
|
|
|
|
export const AuditChainHeadScalarFieldEnum = {
|
|
chainKey: 'chainKey',
|
|
tenantId: 'tenantId',
|
|
eventId: 'eventId',
|
|
eventHash: 'eventHash',
|
|
eventCreatedAt: 'eventCreatedAt',
|
|
headMac: 'headMac'
|
|
} as const
|
|
|
|
export type AuditChainHeadScalarFieldEnum = (typeof AuditChainHeadScalarFieldEnum)[keyof typeof AuditChainHeadScalarFieldEnum]
|
|
|
|
|
|
export const AuditChainCheckpointHeadScalarFieldEnum = {
|
|
chainKey: 'chainKey',
|
|
tenantId: 'tenantId',
|
|
checkpointId: 'checkpointId',
|
|
checkpointMac: 'checkpointMac',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type AuditChainCheckpointHeadScalarFieldEnum = (typeof AuditChainCheckpointHeadScalarFieldEnum)[keyof typeof AuditChainCheckpointHeadScalarFieldEnum]
|
|
|
|
|
|
export const ProjektMitgliedScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
projektId: 'projektId',
|
|
userId: 'userId',
|
|
groupId: 'groupId',
|
|
rolle: 'rolle',
|
|
createdByUserId: 'createdByUserId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type ProjektMitgliedScalarFieldEnum = (typeof ProjektMitgliedScalarFieldEnum)[keyof typeof ProjektMitgliedScalarFieldEnum]
|
|
|
|
|
|
export const ProjektTerminScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
projektId: 'projektId',
|
|
createdByUserId: 'createdByUserId',
|
|
assignedToUserId: 'assignedToUserId',
|
|
assignedToGroupId: 'assignedToGroupId',
|
|
titel: 'titel',
|
|
beschreibung: 'beschreibung',
|
|
startAt: 'startAt',
|
|
endAt: 'endAt',
|
|
status: 'status',
|
|
typ: 'typ',
|
|
isDemoData: 'isDemoData',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type ProjektTerminScalarFieldEnum = (typeof ProjektTerminScalarFieldEnum)[keyof typeof ProjektTerminScalarFieldEnum]
|
|
|
|
|
|
export const RechnungScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
projektId: 'projektId',
|
|
createdByUserId: 'createdByUserId',
|
|
rechnungsnummer: 'rechnungsnummer',
|
|
betrag: 'betrag',
|
|
status: 'status',
|
|
datum: 'datum',
|
|
faelligAm: 'faelligAm',
|
|
bezahltAm: 'bezahltAm',
|
|
dateiId: 'dateiId',
|
|
quelle: 'quelle',
|
|
isDemoData: 'isDemoData',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type RechnungScalarFieldEnum = (typeof RechnungScalarFieldEnum)[keyof typeof RechnungScalarFieldEnum]
|
|
|
|
|
|
export const ProjektChecklistScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
projektId: 'projektId',
|
|
createdByUserId: 'createdByUserId',
|
|
titel: 'titel',
|
|
typ: 'typ',
|
|
isDemoData: 'isDemoData',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type ProjektChecklistScalarFieldEnum = (typeof ProjektChecklistScalarFieldEnum)[keyof typeof ProjektChecklistScalarFieldEnum]
|
|
|
|
|
|
export const ProjektChecklistItemScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
checklistId: 'checklistId',
|
|
titel: 'titel',
|
|
status: 'status',
|
|
maengelKlasse: 'maengelKlasse',
|
|
fotoFileId: 'fotoFileId',
|
|
assignedToUserId: 'assignedToUserId',
|
|
dueAt: 'dueAt',
|
|
position: 'position',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type ProjektChecklistItemScalarFieldEnum = (typeof ProjektChecklistItemScalarFieldEnum)[keyof typeof ProjektChecklistItemScalarFieldEnum]
|
|
|
|
|
|
export const AuftragPipelineStageConfigScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
pipelineId: 'pipelineId',
|
|
stageId: 'stageId',
|
|
requiresAcceptanceProtocol: 'requiresAcceptanceProtocol',
|
|
acceptanceFormTemplateId: 'acceptanceFormTemplateId',
|
|
autoArchiveAfterDays: 'autoArchiveAfterDays',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type AuftragPipelineStageConfigScalarFieldEnum = (typeof AuftragPipelineStageConfigScalarFieldEnum)[keyof typeof AuftragPipelineStageConfigScalarFieldEnum]
|
|
|
|
|
|
export const AcceptanceFormTemplateScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
formId: 'formId',
|
|
definition: 'definition',
|
|
isDefault: 'isDefault',
|
|
isDemoData: 'isDemoData',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type AcceptanceFormTemplateScalarFieldEnum = (typeof AcceptanceFormTemplateScalarFieldEnum)[keyof typeof AcceptanceFormTemplateScalarFieldEnum]
|
|
|
|
|
|
export const ProjectTemplateScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
defaultPipelineId: 'defaultPipelineId',
|
|
defaultStageId: 'defaultStageId',
|
|
defaultMembers: 'defaultMembers',
|
|
defaultTasks: 'defaultTasks',
|
|
customFields: 'customFields',
|
|
isDemoData: 'isDemoData',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type ProjectTemplateScalarFieldEnum = (typeof ProjectTemplateScalarFieldEnum)[keyof typeof ProjectTemplateScalarFieldEnum]
|
|
|
|
|
|
export const ScheduleEntryScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
projektId: 'projektId',
|
|
assignedUserId: 'assignedUserId',
|
|
createdByUserId: 'createdByUserId',
|
|
title: 'title',
|
|
startAt: 'startAt',
|
|
endAt: 'endAt',
|
|
status: 'status',
|
|
calendarEventId: 'calendarEventId',
|
|
syncStatus: 'syncStatus',
|
|
conflictOverrideReason: 'conflictOverrideReason',
|
|
clientMutationId: 'clientMutationId',
|
|
isDemoData: 'isDemoData',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type ScheduleEntryScalarFieldEnum = (typeof ScheduleEntryScalarFieldEnum)[keyof typeof ScheduleEntryScalarFieldEnum]
|
|
|
|
|
|
export const ScheduleConflictScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
entryId: 'entryId',
|
|
type: 'type',
|
|
severity: 'severity',
|
|
messageKey: 'messageKey',
|
|
sourceKind: 'sourceKind',
|
|
sourceId: 'sourceId',
|
|
createdAt: 'createdAt',
|
|
resolvedAt: 'resolvedAt',
|
|
overriddenAt: 'overriddenAt'
|
|
} as const
|
|
|
|
export type ScheduleConflictScalarFieldEnum = (typeof ScheduleConflictScalarFieldEnum)[keyof typeof ScheduleConflictScalarFieldEnum]
|
|
|
|
|
|
export const AbnahmeProtokollScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
projektId: 'projektId',
|
|
maengelChecklistId: 'maengelChecklistId',
|
|
createdByUserId: 'createdByUserId',
|
|
datum: 'datum',
|
|
acceptanceKind: 'acceptanceKind',
|
|
anwesende: 'anwesende',
|
|
druckprobe: 'druckprobe',
|
|
funktionspruefung: 'funktionspruefung',
|
|
zaehlerstaende: 'zaehlerstaende',
|
|
dokumente: 'dokumente',
|
|
bemerkungen: 'bemerkungen',
|
|
pdfFileId: 'pdfFileId',
|
|
customerEmail: 'customerEmail',
|
|
customerEmailQueuedAt: 'customerEmailQueuedAt',
|
|
clientMutationId: 'clientMutationId',
|
|
gesperrtAt: 'gesperrtAt',
|
|
isDemoData: 'isDemoData',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type AbnahmeProtokollScalarFieldEnum = (typeof AbnahmeProtokollScalarFieldEnum)[keyof typeof AbnahmeProtokollScalarFieldEnum]
|
|
|
|
|
|
export const AbnahmeSignaturScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
protokollId: 'protokollId',
|
|
signerName: 'signerName',
|
|
signerRole: 'signerRole',
|
|
signatureFileId: 'signatureFileId',
|
|
signerIpHash: 'signerIpHash',
|
|
signedAt: 'signedAt',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type AbnahmeSignaturScalarFieldEnum = (typeof AbnahmeSignaturScalarFieldEnum)[keyof typeof AbnahmeSignaturScalarFieldEnum]
|
|
|
|
|
|
export const OfflineSyncMutationScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
clientMutationId: 'clientMutationId',
|
|
createdByUserId: 'createdByUserId',
|
|
operation: 'operation',
|
|
payload: 'payload',
|
|
status: 'status',
|
|
resultEntityType: 'resultEntityType',
|
|
resultEntityId: 'resultEntityId',
|
|
errorMessageKey: 'errorMessageKey',
|
|
createdAt: 'createdAt',
|
|
appliedAt: 'appliedAt'
|
|
} as const
|
|
|
|
export type OfflineSyncMutationScalarFieldEnum = (typeof OfflineSyncMutationScalarFieldEnum)[keyof typeof OfflineSyncMutationScalarFieldEnum]
|
|
|
|
|
|
export const UserSessionScalarFieldEnum = {
|
|
id: 'id',
|
|
userId: 'userId',
|
|
tokenHash: 'tokenHash',
|
|
createdAt: 'createdAt',
|
|
lastSeenAt: 'lastSeenAt',
|
|
expiresAt: 'expiresAt',
|
|
revokedAt: 'revokedAt',
|
|
trustedAt: 'trustedAt',
|
|
ipHash: 'ipHash',
|
|
userAgent: 'userAgent',
|
|
deviceLabel: 'deviceLabel',
|
|
approxLocation: 'approxLocation',
|
|
browserFingerprint: 'browserFingerprint'
|
|
} as const
|
|
|
|
export type UserSessionScalarFieldEnum = (typeof UserSessionScalarFieldEnum)[keyof typeof UserSessionScalarFieldEnum]
|
|
|
|
|
|
export const TrustedDeviceScalarFieldEnum = {
|
|
id: 'id',
|
|
userId: 'userId',
|
|
tokenHash: 'tokenHash',
|
|
createdAt: 'createdAt',
|
|
lastUsedAt: 'lastUsedAt',
|
|
expiresAt: 'expiresAt',
|
|
revokedAt: 'revokedAt',
|
|
ipHash: 'ipHash',
|
|
userAgent: 'userAgent',
|
|
deviceLabel: 'deviceLabel',
|
|
approxLocation: 'approxLocation'
|
|
} as const
|
|
|
|
export type TrustedDeviceScalarFieldEnum = (typeof TrustedDeviceScalarFieldEnum)[keyof typeof TrustedDeviceScalarFieldEnum]
|
|
|
|
|
|
export const AutomationRuleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
description: 'description',
|
|
status: 'status',
|
|
enabled: 'enabled',
|
|
createdVia: 'createdVia',
|
|
triggerKey: 'triggerKey',
|
|
flowData: 'flowData',
|
|
createdByUserId: 'createdByUserId',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type AutomationRuleScalarFieldEnum = (typeof AutomationRuleScalarFieldEnum)[keyof typeof AutomationRuleScalarFieldEnum]
|
|
|
|
|
|
export const AutomationRuleStepScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
ruleId: 'ruleId',
|
|
stepKey: 'stepKey',
|
|
stepKind: 'stepKind',
|
|
nodeType: 'nodeType',
|
|
config: 'config',
|
|
parentStepIds: 'parentStepIds',
|
|
position: 'position',
|
|
sortOrder: 'sortOrder',
|
|
summaryText: 'summaryText',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type AutomationRuleStepScalarFieldEnum = (typeof AutomationRuleStepScalarFieldEnum)[keyof typeof AutomationRuleStepScalarFieldEnum]
|
|
|
|
|
|
export const AutomationExecutionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
ruleId: 'ruleId',
|
|
triggerKey: 'triggerKey',
|
|
triggerPayload: 'triggerPayload',
|
|
status: 'status',
|
|
dryRun: 'dryRun',
|
|
idempotencyKey: 'idempotencyKey',
|
|
reverseWindowExpiresAt: 'reverseWindowExpiresAt',
|
|
resumeFromStepId: 'resumeFromStepId',
|
|
summaryText: 'summaryText',
|
|
errorText: 'errorText',
|
|
queuedAt: 'queuedAt',
|
|
startedAt: 'startedAt',
|
|
endedAt: 'endedAt',
|
|
durationMs: 'durationMs',
|
|
attempt: 'attempt',
|
|
nextRetryAt: 'nextRetryAt',
|
|
createdByUserId: 'createdByUserId',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type AutomationExecutionScalarFieldEnum = (typeof AutomationExecutionScalarFieldEnum)[keyof typeof AutomationExecutionScalarFieldEnum]
|
|
|
|
|
|
export const AutomationStepExecutionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
executionId: 'executionId',
|
|
ruleStepId: 'ruleStepId',
|
|
stepKey: 'stepKey',
|
|
stepKind: 'stepKind',
|
|
nodeType: 'nodeType',
|
|
status: 'status',
|
|
input: 'input',
|
|
output: 'output',
|
|
summaryText: 'summaryText',
|
|
errorText: 'errorText',
|
|
startedAt: 'startedAt',
|
|
endedAt: 'endedAt',
|
|
durationMs: 'durationMs',
|
|
attempt: 'attempt',
|
|
sortOrder: 'sortOrder'
|
|
} as const
|
|
|
|
export type AutomationStepExecutionScalarFieldEnum = (typeof AutomationStepExecutionScalarFieldEnum)[keyof typeof AutomationStepExecutionScalarFieldEnum]
|
|
|
|
|
|
export const AutomationCredentialScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
kind: 'kind',
|
|
encryptedValue: 'encryptedValue',
|
|
metadata: 'metadata',
|
|
createdByUserId: 'createdByUserId',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type AutomationCredentialScalarFieldEnum = (typeof AutomationCredentialScalarFieldEnum)[keyof typeof AutomationCredentialScalarFieldEnum]
|
|
|
|
|
|
export const AutomationTemplateScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
description: 'description',
|
|
category: 'category',
|
|
flowData: 'flowData',
|
|
isPublished: 'isPublished',
|
|
createdFromRuleId: 'createdFromRuleId',
|
|
createdByUserId: 'createdByUserId',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type AutomationTemplateScalarFieldEnum = (typeof AutomationTemplateScalarFieldEnum)[keyof typeof AutomationTemplateScalarFieldEnum]
|
|
|
|
|
|
export const AutomationTriggerMeterScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
triggerKey: 'triggerKey',
|
|
windowStart: 'windowStart',
|
|
windowMinutes: 'windowMinutes',
|
|
count: 'count',
|
|
pausedUntil: 'pausedUntil',
|
|
anomalyText: 'anomalyText'
|
|
} as const
|
|
|
|
export type AutomationTriggerMeterScalarFieldEnum = (typeof AutomationTriggerMeterScalarFieldEnum)[keyof typeof AutomationTriggerMeterScalarFieldEnum]
|
|
|
|
|
|
export const BookingPageScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
slug: 'slug',
|
|
title: 'title',
|
|
description: 'description',
|
|
durationMinutes: 'durationMinutes',
|
|
bufferBeforeMinutes: 'bufferBeforeMinutes',
|
|
bufferAfterMinutes: 'bufferAfterMinutes',
|
|
slotIncrementMinutes: 'slotIncrementMinutes',
|
|
minNoticeHours: 'minNoticeHours',
|
|
maxAdvanceDays: 'maxAdvanceDays',
|
|
assignmentStrategy: 'assignmentStrategy',
|
|
confirmationEmailSubject: 'confirmationEmailSubject',
|
|
confirmationEmailBody: 'confirmationEmailBody',
|
|
internalEventTitleTemplate: 'internalEventTitleTemplate',
|
|
redirectUrlAfterBooking: 'redirectUrlAfterBooking',
|
|
intakeFormId: 'intakeFormId',
|
|
isPublished: 'isPublished',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type BookingPageScalarFieldEnum = (typeof BookingPageScalarFieldEnum)[keyof typeof BookingPageScalarFieldEnum]
|
|
|
|
|
|
export const BookingPageProviderScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
bookingPageId: 'bookingPageId',
|
|
providerUserId: 'providerUserId',
|
|
displayOrder: 'displayOrder',
|
|
isActive: 'isActive'
|
|
} as const
|
|
|
|
export type BookingPageProviderScalarFieldEnum = (typeof BookingPageProviderScalarFieldEnum)[keyof typeof BookingPageProviderScalarFieldEnum]
|
|
|
|
|
|
export const AvailabilityRuleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
providerUserId: 'providerUserId',
|
|
dayOfWeek: 'dayOfWeek',
|
|
startTime: 'startTime',
|
|
endTime: 'endTime',
|
|
timezone: 'timezone'
|
|
} as const
|
|
|
|
export type AvailabilityRuleScalarFieldEnum = (typeof AvailabilityRuleScalarFieldEnum)[keyof typeof AvailabilityRuleScalarFieldEnum]
|
|
|
|
|
|
export const AvailabilityExceptionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
providerUserId: 'providerUserId',
|
|
date: 'date',
|
|
kind: 'kind',
|
|
startTime: 'startTime',
|
|
endTime: 'endTime',
|
|
reason: 'reason',
|
|
timezone: 'timezone'
|
|
} as const
|
|
|
|
export type AvailabilityExceptionScalarFieldEnum = (typeof AvailabilityExceptionScalarFieldEnum)[keyof typeof AvailabilityExceptionScalarFieldEnum]
|
|
|
|
|
|
export const AppointmentScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
bookingPageId: 'bookingPageId',
|
|
providerUserId: 'providerUserId',
|
|
startAt: 'startAt',
|
|
endAt: 'endAt',
|
|
timezone: 'timezone',
|
|
status: 'status',
|
|
kontaktId: 'kontaktId',
|
|
leadId: 'leadId',
|
|
formSubmissionId: 'formSubmissionId',
|
|
intakeAnswers: 'intakeAnswers',
|
|
internalCalendarEventId: 'internalCalendarEventId',
|
|
externalCalendarEventIds: 'externalCalendarEventIds',
|
|
cancelledAt: 'cancelledAt',
|
|
cancelledByKind: 'cancelledByKind',
|
|
cancellationReason: 'cancellationReason',
|
|
rescheduledFromId: 'rescheduledFromId',
|
|
notesInternal: 'notesInternal',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type AppointmentScalarFieldEnum = (typeof AppointmentScalarFieldEnum)[keyof typeof AppointmentScalarFieldEnum]
|
|
|
|
|
|
export const CalendarConnectionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
provider: 'provider',
|
|
externalAccountEmail: 'externalAccountEmail',
|
|
externalAccountId: 'externalAccountId',
|
|
oauthRefreshTokenCiphertext: 'oauthRefreshTokenCiphertext',
|
|
oauthAccessTokenCiphertext: 'oauthAccessTokenCiphertext',
|
|
oauthAccessTokenExpiresAt: 'oauthAccessTokenExpiresAt',
|
|
oauthScopes: 'oauthScopes',
|
|
webhookSubscriptionId: 'webhookSubscriptionId',
|
|
webhookSubscriptionExpiresAt: 'webhookSubscriptionExpiresAt',
|
|
selectedCalendars: 'selectedCalendars',
|
|
syncDirection: 'syncDirection',
|
|
status: 'status',
|
|
lastSyncAt: 'lastSyncAt',
|
|
lastErrorText: 'lastErrorText',
|
|
dataConnectionId: 'dataConnectionId',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type CalendarConnectionScalarFieldEnum = (typeof CalendarConnectionScalarFieldEnum)[keyof typeof CalendarConnectionScalarFieldEnum]
|
|
|
|
|
|
export const CalendarEventScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
connectionId: 'connectionId',
|
|
source: 'source',
|
|
provider: 'provider',
|
|
externalEventId: 'externalEventId',
|
|
externalCalendarId: 'externalCalendarId',
|
|
title: 'title',
|
|
description: 'description',
|
|
location: 'location',
|
|
startsAt: 'startsAt',
|
|
endsAt: 'endsAt',
|
|
isAllDay: 'isAllDay',
|
|
timeZone: 'timeZone',
|
|
recurrenceRule: 'recurrenceRule',
|
|
attendees: 'attendees',
|
|
etag: 'etag',
|
|
lastModifiedExternal: 'lastModifiedExternal',
|
|
isBusyForAvailability: 'isBusyForAvailability',
|
|
internalEntityLink: 'internalEntityLink',
|
|
versionToken: 'versionToken',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type CalendarEventScalarFieldEnum = (typeof CalendarEventScalarFieldEnum)[keyof typeof CalendarEventScalarFieldEnum]
|
|
|
|
|
|
export const CalendarEventMappingScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
internalEventId: 'internalEventId',
|
|
externalEventId: 'externalEventId',
|
|
provider: 'provider',
|
|
externalCalendarId: 'externalCalendarId',
|
|
connectionId: 'connectionId',
|
|
lastSyncedAt: 'lastSyncedAt',
|
|
lastKnownExternalEtag: 'lastKnownExternalEtag',
|
|
lastKnownInternalVersionToken: 'lastKnownInternalVersionToken'
|
|
} as const
|
|
|
|
export type CalendarEventMappingScalarFieldEnum = (typeof CalendarEventMappingScalarFieldEnum)[keyof typeof CalendarEventMappingScalarFieldEnum]
|
|
|
|
|
|
export const CalendarSyncCursorScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
connectionId: 'connectionId',
|
|
externalCalendarId: 'externalCalendarId',
|
|
cursorToken: 'cursorToken',
|
|
lastFullSyncAt: 'lastFullSyncAt'
|
|
} as const
|
|
|
|
export type CalendarSyncCursorScalarFieldEnum = (typeof CalendarSyncCursorScalarFieldEnum)[keyof typeof CalendarSyncCursorScalarFieldEnum]
|
|
|
|
|
|
export const CalendarWebhookEventScalarFieldEnum = {
|
|
id: 'id',
|
|
receivedAt: 'receivedAt',
|
|
tenantId: 'tenantId',
|
|
connectionId: 'connectionId',
|
|
provider: 'provider',
|
|
notificationPayload: 'notificationPayload',
|
|
processingStatus: 'processingStatus',
|
|
processingErrorText: 'processingErrorText',
|
|
processedAt: 'processedAt',
|
|
externalResourceState: 'externalResourceState'
|
|
} as const
|
|
|
|
export type CalendarWebhookEventScalarFieldEnum = (typeof CalendarWebhookEventScalarFieldEnum)[keyof typeof CalendarWebhookEventScalarFieldEnum]
|
|
|
|
|
|
export const CalendarConflictScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
connectionId: 'connectionId',
|
|
userId: 'userId',
|
|
internalEventId: 'internalEventId',
|
|
externalEventId: 'externalEventId',
|
|
resolution: 'resolution',
|
|
descriptionText: 'descriptionText',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type CalendarConflictScalarFieldEnum = (typeof CalendarConflictScalarFieldEnum)[keyof typeof CalendarConflictScalarFieldEnum]
|
|
|
|
|
|
export const TeamChatScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
kind: 'kind',
|
|
name: 'name',
|
|
description: 'description',
|
|
projektId: 'projektId',
|
|
isPrivate: 'isPrivate',
|
|
archivedAt: 'archivedAt',
|
|
archivedReason: 'archivedReason',
|
|
lastMessageAt: 'lastMessageAt',
|
|
notificationDefault: 'notificationDefault',
|
|
eventStreamId: 'eventStreamId',
|
|
dmPairKey: 'dmPairKey',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type TeamChatScalarFieldEnum = (typeof TeamChatScalarFieldEnum)[keyof typeof TeamChatScalarFieldEnum]
|
|
|
|
|
|
export const TeamChatGroupSourceScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
chatId: 'chatId',
|
|
groupId: 'groupId',
|
|
syncEnabled: 'syncEnabled'
|
|
} as const
|
|
|
|
export type TeamChatGroupSourceScalarFieldEnum = (typeof TeamChatGroupSourceScalarFieldEnum)[keyof typeof TeamChatGroupSourceScalarFieldEnum]
|
|
|
|
|
|
export const TeamChatEventScalarFieldEnum = {
|
|
id: 'id',
|
|
sequence: 'sequence',
|
|
occurredAt: 'occurredAt',
|
|
tenantId: 'tenantId',
|
|
chatId: 'chatId',
|
|
type: 'type',
|
|
actorUserId: 'actorUserId',
|
|
entityId: 'entityId',
|
|
requestId: 'requestId',
|
|
data: 'data'
|
|
} as const
|
|
|
|
export type TeamChatEventScalarFieldEnum = (typeof TeamChatEventScalarFieldEnum)[keyof typeof TeamChatEventScalarFieldEnum]
|
|
|
|
|
|
export const TeamChatMemberScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
chatId: 'chatId',
|
|
userId: 'userId',
|
|
joinedAt: 'joinedAt',
|
|
joinedViaUserId: 'joinedViaUserId',
|
|
roleInChat: 'roleInChat',
|
|
notificationPref: 'notificationPref',
|
|
lastReadMessageId: 'lastReadMessageId',
|
|
lastReadAt: 'lastReadAt',
|
|
isPinned: 'isPinned',
|
|
isProjectManaged: 'isProjectManaged',
|
|
isManualMember: 'isManualMember',
|
|
manualRoleInChat: 'manualRoleInChat',
|
|
projectRoleInChat: 'projectRoleInChat',
|
|
isGroupManaged: 'isGroupManaged',
|
|
groupSyncOptOutAt: 'groupSyncOptOutAt',
|
|
writeRevokedAt: 'writeRevokedAt',
|
|
leftAt: 'leftAt'
|
|
} as const
|
|
|
|
export type TeamChatMemberScalarFieldEnum = (typeof TeamChatMemberScalarFieldEnum)[keyof typeof TeamChatMemberScalarFieldEnum]
|
|
|
|
|
|
export const TeamChatMessageScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
chatId: 'chatId',
|
|
authorUserId: 'authorUserId',
|
|
clientMessageId: 'clientMessageId',
|
|
body: 'body',
|
|
bodyFormat: 'bodyFormat',
|
|
parentMessageId: 'parentMessageId',
|
|
mentions: 'mentions',
|
|
linkPreviews: 'linkPreviews',
|
|
editedAt: 'editedAt',
|
|
deletedAt: 'deletedAt',
|
|
deletedByUserId: 'deletedByUserId',
|
|
systemEventKey: 'systemEventKey',
|
|
systemEventKind: 'systemEventKind',
|
|
systemEventMetadata: 'systemEventMetadata',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type TeamChatMessageScalarFieldEnum = (typeof TeamChatMessageScalarFieldEnum)[keyof typeof TeamChatMessageScalarFieldEnum]
|
|
|
|
|
|
export const TeamChatThreadScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
chatId: 'chatId',
|
|
parentMessageId: 'parentMessageId',
|
|
createdAt: 'createdAt',
|
|
createdByUserId: 'createdByUserId',
|
|
lastReplyAt: 'lastReplyAt',
|
|
replyCount: 'replyCount',
|
|
participantUserIds: 'participantUserIds'
|
|
} as const
|
|
|
|
export type TeamChatThreadScalarFieldEnum = (typeof TeamChatThreadScalarFieldEnum)[keyof typeof TeamChatThreadScalarFieldEnum]
|
|
|
|
|
|
export const TeamChatPinnedMessageScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
chatId: 'chatId',
|
|
messageId: 'messageId',
|
|
pinnedByUserId: 'pinnedByUserId',
|
|
pinnedAt: 'pinnedAt',
|
|
note: 'note'
|
|
} as const
|
|
|
|
export type TeamChatPinnedMessageScalarFieldEnum = (typeof TeamChatPinnedMessageScalarFieldEnum)[keyof typeof TeamChatPinnedMessageScalarFieldEnum]
|
|
|
|
|
|
export const TeamChatReactionScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
messageId: 'messageId',
|
|
userId: 'userId',
|
|
emoji: 'emoji',
|
|
reactedAt: 'reactedAt'
|
|
} as const
|
|
|
|
export type TeamChatReactionScalarFieldEnum = (typeof TeamChatReactionScalarFieldEnum)[keyof typeof TeamChatReactionScalarFieldEnum]
|
|
|
|
|
|
export const TeamChatReadScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
messageId: 'messageId',
|
|
userId: 'userId',
|
|
readAt: 'readAt'
|
|
} as const
|
|
|
|
export type TeamChatReadScalarFieldEnum = (typeof TeamChatReadScalarFieldEnum)[keyof typeof TeamChatReadScalarFieldEnum]
|
|
|
|
|
|
export const CollabDocScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
resourceType: 'resourceType',
|
|
resourceId: 'resourceId',
|
|
ydocState: 'ydocState',
|
|
version: 'version',
|
|
lastUpdatedAt: 'lastUpdatedAt',
|
|
lastSnapshotAt: 'lastSnapshotAt',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type CollabDocScalarFieldEnum = (typeof CollabDocScalarFieldEnum)[keyof typeof CollabDocScalarFieldEnum]
|
|
|
|
|
|
export const AppConfigurationScalarFieldEnum = {
|
|
id: 'id',
|
|
updatedAt: 'updatedAt',
|
|
name: 'name',
|
|
url: 'url',
|
|
theme: 'theme',
|
|
authRequireEmailVerification: 'authRequireEmailVerification',
|
|
authRequireOrganization: 'authRequireOrganization',
|
|
authRequireName: 'authRequireName',
|
|
analyticsEnabled: 'analyticsEnabled',
|
|
analyticsSimpleAnalytics: 'analyticsSimpleAnalytics',
|
|
analyticsPlausibleAnalytics: 'analyticsPlausibleAnalytics',
|
|
subscriptionRequired: 'subscriptionRequired',
|
|
subscriptionAllowSubscribeBeforeSignUp: 'subscriptionAllowSubscribeBeforeSignUp',
|
|
subscriptionAllowSignUpBeforeSubscribe: 'subscriptionAllowSignUpBeforeSubscribe',
|
|
cookiesEnabled: 'cookiesEnabled',
|
|
metricsEnabled: 'metricsEnabled',
|
|
metricsLogToConsole: 'metricsLogToConsole',
|
|
metricsSaveToDatabase: 'metricsSaveToDatabase',
|
|
metricsIgnoreUrls: 'metricsIgnoreUrls',
|
|
brandingLogo: 'brandingLogo',
|
|
brandingLogoDarkMode: 'brandingLogoDarkMode',
|
|
brandingIcon: 'brandingIcon',
|
|
brandingIconDarkMode: 'brandingIconDarkMode',
|
|
brandingFavicon: 'brandingFavicon',
|
|
headScripts: 'headScripts',
|
|
bodyScripts: 'bodyScripts',
|
|
emailProvider: 'emailProvider',
|
|
emailFromEmail: 'emailFromEmail',
|
|
emailFromName: 'emailFromName',
|
|
emailSupportEmail: 'emailSupportEmail'
|
|
} as const
|
|
|
|
export type AppConfigurationScalarFieldEnum = (typeof AppConfigurationScalarFieldEnum)[keyof typeof AppConfigurationScalarFieldEnum]
|
|
|
|
|
|
export const LogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
apiKeyId: 'apiKeyId',
|
|
url: 'url',
|
|
action: 'action',
|
|
details: 'details'
|
|
} as const
|
|
|
|
export type LogScalarFieldEnum = (typeof LogScalarFieldEnum)[keyof typeof LogScalarFieldEnum]
|
|
|
|
|
|
export const AuditEventScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
actorId: 'actorId',
|
|
actorType: 'actorType',
|
|
actorEmail: 'actorEmail',
|
|
actorIp: 'actorIp',
|
|
actorUserAgent: 'actorUserAgent',
|
|
action: 'action',
|
|
targetType: 'targetType',
|
|
targetId: 'targetId',
|
|
requestId: 'requestId',
|
|
sourceModule: 'sourceModule',
|
|
outcome: 'outcome',
|
|
dataSensitivity: 'dataSensitivity',
|
|
regulatoryScope: 'regulatoryScope',
|
|
metadata: 'metadata',
|
|
beforeDiff: 'beforeDiff',
|
|
afterDiff: 'afterDiff',
|
|
summaryText: 'summaryText',
|
|
previousHash: 'previousHash',
|
|
eventHash: 'eventHash'
|
|
} as const
|
|
|
|
export type AuditEventScalarFieldEnum = (typeof AuditEventScalarFieldEnum)[keyof typeof AuditEventScalarFieldEnum]
|
|
|
|
|
|
export const IdempotencyKeyScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
expiresAt: 'expiresAt',
|
|
tenantId: 'tenantId',
|
|
partitionKey: 'partitionKey',
|
|
systemOwned: 'systemOwned',
|
|
scope: 'scope',
|
|
key: 'key',
|
|
requestHash: 'requestHash',
|
|
responseStatus: 'responseStatus',
|
|
responseBody: 'responseBody',
|
|
responseHeaders: 'responseHeaders'
|
|
} as const
|
|
|
|
export type IdempotencyKeyScalarFieldEnum = (typeof IdempotencyKeyScalarFieldEnum)[keyof typeof IdempotencyKeyScalarFieldEnum]
|
|
|
|
|
|
export const ApiKeyScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
createdByUserId: 'createdByUserId',
|
|
tenantId: 'tenantId',
|
|
key: 'key',
|
|
keyHash: 'keyHash',
|
|
keyPrefix: 'keyPrefix',
|
|
keyLastFour: 'keyLastFour',
|
|
hashedAt: 'hashedAt',
|
|
keyVersion: 'keyVersion',
|
|
scopes: 'scopes',
|
|
alias: 'alias',
|
|
expires: 'expires',
|
|
active: 'active'
|
|
} as const
|
|
|
|
export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum]
|
|
|
|
|
|
export const ApiKeyLogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
apiKeyId: 'apiKeyId',
|
|
tenantId: 'tenantId',
|
|
ip: 'ip',
|
|
endpoint: 'endpoint',
|
|
method: 'method',
|
|
params: 'params',
|
|
status: 'status',
|
|
duration: 'duration',
|
|
error: 'error',
|
|
type: 'type',
|
|
alias: 'alias',
|
|
tenantName: 'tenantName'
|
|
} as const
|
|
|
|
export type ApiKeyLogScalarFieldEnum = (typeof ApiKeyLogScalarFieldEnum)[keyof typeof ApiKeyLogScalarFieldEnum]
|
|
|
|
|
|
export const EventScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
name: 'name',
|
|
data: 'data',
|
|
resource: 'resource',
|
|
description: 'description'
|
|
} as const
|
|
|
|
export type EventScalarFieldEnum = (typeof EventScalarFieldEnum)[keyof typeof EventScalarFieldEnum]
|
|
|
|
|
|
export const EventWebhookAttemptScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
startedAt: 'startedAt',
|
|
finishedAt: 'finishedAt',
|
|
eventId: 'eventId',
|
|
endpoint: 'endpoint',
|
|
success: 'success',
|
|
status: 'status',
|
|
message: 'message',
|
|
body: 'body'
|
|
} as const
|
|
|
|
export type EventWebhookAttemptScalarFieldEnum = (typeof EventWebhookAttemptScalarFieldEnum)[keyof typeof EventWebhookAttemptScalarFieldEnum]
|
|
|
|
|
|
export const MetricLogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
env: 'env',
|
|
type: 'type',
|
|
route: 'route',
|
|
url: 'url',
|
|
function: 'function',
|
|
duration: 'duration',
|
|
userId: 'userId',
|
|
tenantId: 'tenantId'
|
|
} as const
|
|
|
|
export type MetricLogScalarFieldEnum = (typeof MetricLogScalarFieldEnum)[keyof typeof MetricLogScalarFieldEnum]
|
|
|
|
|
|
export const FileUploadProgressScalarFieldEnum = {
|
|
id: 'id',
|
|
fileName: 'fileName',
|
|
progressServer: 'progressServer',
|
|
progressStorage: 'progressStorage',
|
|
url: 'url',
|
|
error: 'error'
|
|
} as const
|
|
|
|
export type FileUploadProgressScalarFieldEnum = (typeof FileUploadProgressScalarFieldEnum)[keyof typeof FileUploadProgressScalarFieldEnum]
|
|
|
|
|
|
export const FileChunkScalarFieldEnum = {
|
|
id: 'id',
|
|
fileUploadId: 'fileUploadId',
|
|
index: 'index',
|
|
data: 'data'
|
|
} as const
|
|
|
|
export type FileChunkScalarFieldEnum = (typeof FileChunkScalarFieldEnum)[keyof typeof FileChunkScalarFieldEnum]
|
|
|
|
|
|
export const FileObjectScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
provider: 'provider',
|
|
bucket: 'bucket',
|
|
key: 'key',
|
|
contentType: 'contentType',
|
|
byteSize: 'byteSize',
|
|
checksumSha256: 'checksumSha256',
|
|
publicUrl: 'publicUrl',
|
|
uploadedAt: 'uploadedAt',
|
|
lastSignedUploadAt: 'lastSignedUploadAt',
|
|
lastSignedDownloadAt: 'lastSignedDownloadAt',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type FileObjectScalarFieldEnum = (typeof FileObjectScalarFieldEnum)[keyof typeof FileObjectScalarFieldEnum]
|
|
|
|
|
|
export const IpAddressScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
ip: 'ip',
|
|
provider: 'provider',
|
|
type: 'type',
|
|
countryCode: 'countryCode',
|
|
countryName: 'countryName',
|
|
regionCode: 'regionCode',
|
|
regionName: 'regionName',
|
|
city: 'city',
|
|
zipCode: 'zipCode',
|
|
latitude: 'latitude',
|
|
longitude: 'longitude',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type IpAddressScalarFieldEnum = (typeof IpAddressScalarFieldEnum)[keyof typeof IpAddressScalarFieldEnum]
|
|
|
|
|
|
export const IpAddressLogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
ip: 'ip',
|
|
url: 'url',
|
|
action: 'action',
|
|
description: 'description',
|
|
success: 'success',
|
|
error: 'error',
|
|
metadata: 'metadata',
|
|
ipAddressId: 'ipAddressId'
|
|
} as const
|
|
|
|
export type IpAddressLogScalarFieldEnum = (typeof IpAddressLogScalarFieldEnum)[keyof typeof IpAddressLogScalarFieldEnum]
|
|
|
|
|
|
export const WidgetScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
appearance: 'appearance',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type WidgetScalarFieldEnum = (typeof WidgetScalarFieldEnum)[keyof typeof WidgetScalarFieldEnum]
|
|
|
|
|
|
export const CredentialScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
name: 'name',
|
|
value: 'value'
|
|
} as const
|
|
|
|
export type CredentialScalarFieldEnum = (typeof CredentialScalarFieldEnum)[keyof typeof CredentialScalarFieldEnum]
|
|
|
|
|
|
export const KontaktScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
kontaktTyp: 'kontaktTyp',
|
|
kontaktStatus: 'kontaktStatus',
|
|
vorname: 'vorname',
|
|
nachname: 'nachname',
|
|
orgName: 'orgName',
|
|
orgMerkmal: 'orgMerkmal',
|
|
website: 'website',
|
|
ustIdNr: 'ustIdNr',
|
|
handelsregister: 'handelsregister',
|
|
kundennummer: 'kundennummer',
|
|
kundeSeit: 'kundeSeit',
|
|
branche: 'branche',
|
|
mitarbeiterzahl: 'mitarbeiterzahl',
|
|
position: 'position',
|
|
erreichbarkeit: 'erreichbarkeit',
|
|
notizen: 'notizen',
|
|
primaerEmail: 'primaerEmail',
|
|
primaerTelefon: 'primaerTelefon',
|
|
adresseId: 'adresseId',
|
|
zustaendigerUserId: 'zustaendigerUserId',
|
|
language: 'language',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type KontaktScalarFieldEnum = (typeof KontaktScalarFieldEnum)[keyof typeof KontaktScalarFieldEnum]
|
|
|
|
|
|
export const KontaktRelationScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
vonKontaktId: 'vonKontaktId',
|
|
zuKontaktId: 'zuKontaktId',
|
|
rolle: 'rolle',
|
|
kontext: 'kontext'
|
|
} as const
|
|
|
|
export type KontaktRelationScalarFieldEnum = (typeof KontaktRelationScalarFieldEnum)[keyof typeof KontaktRelationScalarFieldEnum]
|
|
|
|
|
|
export const KontaktEmailScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
kontaktId: 'kontaktId',
|
|
email: 'email',
|
|
primaer: 'primaer'
|
|
} as const
|
|
|
|
export type KontaktEmailScalarFieldEnum = (typeof KontaktEmailScalarFieldEnum)[keyof typeof KontaktEmailScalarFieldEnum]
|
|
|
|
|
|
export const KontaktTelefonScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
kontaktId: 'kontaktId',
|
|
telefon: 'telefon',
|
|
typ: 'typ',
|
|
primaer: 'primaer'
|
|
} as const
|
|
|
|
export type KontaktTelefonScalarFieldEnum = (typeof KontaktTelefonScalarFieldEnum)[keyof typeof KontaktTelefonScalarFieldEnum]
|
|
|
|
|
|
export const AdresseScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
strasse: 'strasse',
|
|
hausnummer: 'hausnummer',
|
|
plz: 'plz',
|
|
ort: 'ort',
|
|
land: 'land'
|
|
} as const
|
|
|
|
export type AdresseScalarFieldEnum = (typeof AdresseScalarFieldEnum)[keyof typeof AdresseScalarFieldEnum]
|
|
|
|
|
|
export const CustomFieldDefinitionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
entityType: 'entityType',
|
|
key: 'key',
|
|
label: 'label',
|
|
datentyp: 'datentyp',
|
|
optionen: 'optionen',
|
|
archiviert: 'archiviert',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type CustomFieldDefinitionScalarFieldEnum = (typeof CustomFieldDefinitionScalarFieldEnum)[keyof typeof CustomFieldDefinitionScalarFieldEnum]
|
|
|
|
|
|
export const CustomFieldValueScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
definitionId: 'definitionId',
|
|
entityType: 'entityType',
|
|
entityId: 'entityId',
|
|
wert: 'wert'
|
|
} as const
|
|
|
|
export type CustomFieldValueScalarFieldEnum = (typeof CustomFieldValueScalarFieldEnum)[keyof typeof CustomFieldValueScalarFieldEnum]
|
|
|
|
|
|
export const TagScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
farbe: 'farbe'
|
|
} as const
|
|
|
|
export type TagScalarFieldEnum = (typeof TagScalarFieldEnum)[keyof typeof TagScalarFieldEnum]
|
|
|
|
|
|
export const TagAssignmentScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
tagId: 'tagId',
|
|
entityType: 'entityType',
|
|
entityId: 'entityId'
|
|
} as const
|
|
|
|
export type TagAssignmentScalarFieldEnum = (typeof TagAssignmentScalarFieldEnum)[keyof typeof TagAssignmentScalarFieldEnum]
|
|
|
|
|
|
export const TenantEncryptionKeyScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
wrappedDek: 'wrappedDek',
|
|
keyVersion: 'keyVersion'
|
|
} as const
|
|
|
|
export type TenantEncryptionKeyScalarFieldEnum = (typeof TenantEncryptionKeyScalarFieldEnum)[keyof typeof TenantEncryptionKeyScalarFieldEnum]
|
|
|
|
|
|
export const DashboardScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
description: 'description',
|
|
role: 'role',
|
|
isDefaultForRole: 'isDefaultForRole',
|
|
isShared: 'isShared',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type DashboardScalarFieldEnum = (typeof DashboardScalarFieldEnum)[keyof typeof DashboardScalarFieldEnum]
|
|
|
|
|
|
export const DashboardLayoutScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
dashboardId: 'dashboardId',
|
|
userId: 'userId',
|
|
widgets: 'widgets',
|
|
layoutData: 'layoutData',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type DashboardLayoutScalarFieldEnum = (typeof DashboardLayoutScalarFieldEnum)[keyof typeof DashboardLayoutScalarFieldEnum]
|
|
|
|
|
|
export const WidgetInstanceScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
dashboardId: 'dashboardId',
|
|
widgetCatalogKey: 'widgetCatalogKey',
|
|
config: 'config',
|
|
position: 'position',
|
|
size: 'size',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type WidgetInstanceScalarFieldEnum = (typeof WidgetInstanceScalarFieldEnum)[keyof typeof WidgetInstanceScalarFieldEnum]
|
|
|
|
|
|
export const EmailIntegrationMailboxScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
ownerUserId: 'ownerUserId',
|
|
provider: 'provider',
|
|
emailAddress: 'emailAddress',
|
|
externalAccountId: 'externalAccountId',
|
|
displayName: 'displayName',
|
|
oauthRefreshTokenCiphertext: 'oauthRefreshTokenCiphertext',
|
|
oauthAccessTokenCiphertext: 'oauthAccessTokenCiphertext',
|
|
oauthAccessTokenExpiresAt: 'oauthAccessTokenExpiresAt',
|
|
oauthScopes: 'oauthScopes',
|
|
webhookSubscriptionId: 'webhookSubscriptionId',
|
|
webhookSubscriptionExpiresAt: 'webhookSubscriptionExpiresAt',
|
|
webhookClientState: 'webhookClientState',
|
|
isDefaultForUser: 'isDefaultForUser',
|
|
status: 'status',
|
|
lastSyncAt: 'lastSyncAt',
|
|
lastErrorText: 'lastErrorText',
|
|
dataConnectionId: 'dataConnectionId',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type EmailIntegrationMailboxScalarFieldEnum = (typeof EmailIntegrationMailboxScalarFieldEnum)[keyof typeof EmailIntegrationMailboxScalarFieldEnum]
|
|
|
|
|
|
export const EmailIntegrationMessageScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
mailboxId: 'mailboxId',
|
|
providerMessageId: 'providerMessageId',
|
|
providerThreadId: 'providerThreadId',
|
|
internetMessageId: 'internetMessageId',
|
|
direction: 'direction',
|
|
fromAddress: 'fromAddress',
|
|
fromName: 'fromName',
|
|
toAddresses: 'toAddresses',
|
|
ccAddresses: 'ccAddresses',
|
|
bccAddresses: 'bccAddresses',
|
|
subject: 'subject',
|
|
snippet: 'snippet',
|
|
bodyHtml: 'bodyHtml',
|
|
bodyText: 'bodyText',
|
|
sentAt: 'sentAt',
|
|
receivedAt: 'receivedAt',
|
|
isRead: 'isRead',
|
|
isStarred: 'isStarred',
|
|
isNewsletter: 'isNewsletter',
|
|
hasAttachments: 'hasAttachments',
|
|
providerLabels: 'providerLabels',
|
|
matchedKontaktId: 'matchedKontaktId',
|
|
matchedLeadId: 'matchedLeadId',
|
|
matchedProjektId: 'matchedProjektId',
|
|
matchConfidence: 'matchConfidence',
|
|
manualOverrideAt: 'manualOverrideAt',
|
|
manualOverrideUserId: 'manualOverrideUserId',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type EmailIntegrationMessageScalarFieldEnum = (typeof EmailIntegrationMessageScalarFieldEnum)[keyof typeof EmailIntegrationMessageScalarFieldEnum]
|
|
|
|
|
|
export const EmailIntegrationSyncCursorScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
mailboxId: 'mailboxId',
|
|
externalFolderId: 'externalFolderId',
|
|
cursorToken: 'cursorToken',
|
|
initialSyncStatus: 'initialSyncStatus',
|
|
initialSyncProgress: 'initialSyncProgress',
|
|
lastCursorAdvanceAt: 'lastCursorAdvanceAt',
|
|
lastFullSyncAt: 'lastFullSyncAt',
|
|
errorText: 'errorText'
|
|
} as const
|
|
|
|
export type EmailIntegrationSyncCursorScalarFieldEnum = (typeof EmailIntegrationSyncCursorScalarFieldEnum)[keyof typeof EmailIntegrationSyncCursorScalarFieldEnum]
|
|
|
|
|
|
export const EmailIntegrationWebhookEventScalarFieldEnum = {
|
|
id: 'id',
|
|
receivedAt: 'receivedAt',
|
|
tenantId: 'tenantId',
|
|
mailboxId: 'mailboxId',
|
|
provider: 'provider',
|
|
notificationPayload: 'notificationPayload',
|
|
processingStatus: 'processingStatus',
|
|
processingErrorText: 'processingErrorText',
|
|
processedAt: 'processedAt',
|
|
derivedMessageIds: 'derivedMessageIds'
|
|
} as const
|
|
|
|
export type EmailIntegrationWebhookEventScalarFieldEnum = (typeof EmailIntegrationWebhookEventScalarFieldEnum)[keyof typeof EmailIntegrationWebhookEventScalarFieldEnum]
|
|
|
|
|
|
export const TenantInboundAddressScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
address: 'address',
|
|
localPart: 'localPart',
|
|
fullAddress: 'fullAddress',
|
|
purpose: 'purpose',
|
|
enabled: 'enabled',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type TenantInboundAddressScalarFieldEnum = (typeof TenantInboundAddressScalarFieldEnum)[keyof typeof TenantInboundAddressScalarFieldEnum]
|
|
|
|
|
|
export const EmailScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantInboundAddressId: 'tenantInboundAddressId',
|
|
messageId: 'messageId',
|
|
type: 'type',
|
|
date: 'date',
|
|
subject: 'subject',
|
|
fromEmail: 'fromEmail',
|
|
fromName: 'fromName',
|
|
toEmail: 'toEmail',
|
|
toName: 'toName',
|
|
textBody: 'textBody',
|
|
htmlBody: 'htmlBody',
|
|
purpose: 'purpose',
|
|
deliveryStatus: 'deliveryStatus',
|
|
relatedKontaktId: 'relatedKontaktId',
|
|
relatedProjektId: 'relatedProjektId'
|
|
} as const
|
|
|
|
export type EmailScalarFieldEnum = (typeof EmailScalarFieldEnum)[keyof typeof EmailScalarFieldEnum]
|
|
|
|
|
|
export const EmailReadScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
emailId: 'emailId',
|
|
userId: 'userId'
|
|
} as const
|
|
|
|
export type EmailReadScalarFieldEnum = (typeof EmailReadScalarFieldEnum)[keyof typeof EmailReadScalarFieldEnum]
|
|
|
|
|
|
export const EmailCcScalarFieldEnum = {
|
|
id: 'id',
|
|
emailId: 'emailId',
|
|
toEmail: 'toEmail',
|
|
toName: 'toName'
|
|
} as const
|
|
|
|
export type EmailCcScalarFieldEnum = (typeof EmailCcScalarFieldEnum)[keyof typeof EmailCcScalarFieldEnum]
|
|
|
|
|
|
export const EmailAttachmentScalarFieldEnum = {
|
|
id: 'id',
|
|
emailId: 'emailId',
|
|
name: 'name',
|
|
type: 'type',
|
|
length: 'length',
|
|
content: 'content',
|
|
publicUrl: 'publicUrl',
|
|
storageBucket: 'storageBucket',
|
|
storageProvider: 'storageProvider'
|
|
} as const
|
|
|
|
export type EmailAttachmentScalarFieldEnum = (typeof EmailAttachmentScalarFieldEnum)[keyof typeof EmailAttachmentScalarFieldEnum]
|
|
|
|
|
|
export const EmailSenderScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
provider: 'provider',
|
|
stream: 'stream',
|
|
apiKey: 'apiKey',
|
|
apiSecret: 'apiSecret',
|
|
fromEmail: 'fromEmail',
|
|
fromName: 'fromName',
|
|
replyToEmail: 'replyToEmail',
|
|
isDefault: 'isDefault',
|
|
isDemoData: 'isDemoData',
|
|
sendingDomainId: 'sendingDomainId'
|
|
} as const
|
|
|
|
export type EmailSenderScalarFieldEnum = (typeof EmailSenderScalarFieldEnum)[keyof typeof EmailSenderScalarFieldEnum]
|
|
|
|
|
|
export const CampaignScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
emailSenderId: 'emailSenderId',
|
|
name: 'name',
|
|
subject: 'subject',
|
|
htmlBody: 'htmlBody',
|
|
textBody: 'textBody',
|
|
status: 'status',
|
|
track: 'track',
|
|
sentAt: 'sentAt',
|
|
recipientSegmentId: 'recipientSegmentId',
|
|
scheduledAt: 'scheduledAt',
|
|
timezone: 'timezone',
|
|
previewText: 'previewText',
|
|
footerHtml: 'footerHtml',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type CampaignScalarFieldEnum = (typeof CampaignScalarFieldEnum)[keyof typeof CampaignScalarFieldEnum]
|
|
|
|
|
|
export const OutboundEmailScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
campaignId: 'campaignId',
|
|
kontaktId: 'kontaktId',
|
|
campaignVariantId: 'campaignVariantId',
|
|
unsubscribeToken: 'unsubscribeToken',
|
|
trackingToken: 'trackingToken',
|
|
email: 'email',
|
|
fromSenderId: 'fromSenderId',
|
|
isPreview: 'isPreview',
|
|
error: 'error',
|
|
sentAt: 'sentAt',
|
|
deliveredAt: 'deliveredAt',
|
|
bouncedAt: 'bouncedAt',
|
|
spamComplainedAt: 'spamComplainedAt',
|
|
unsubscribedAt: 'unsubscribedAt'
|
|
} as const
|
|
|
|
export type OutboundEmailScalarFieldEnum = (typeof OutboundEmailScalarFieldEnum)[keyof typeof OutboundEmailScalarFieldEnum]
|
|
|
|
|
|
export const OutboundEmailOpenScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
firstOpen: 'firstOpen',
|
|
ipHash: 'ipHash',
|
|
outboundEmailId: 'outboundEmailId'
|
|
} as const
|
|
|
|
export type OutboundEmailOpenScalarFieldEnum = (typeof OutboundEmailOpenScalarFieldEnum)[keyof typeof OutboundEmailOpenScalarFieldEnum]
|
|
|
|
|
|
export const OutboundEmailClickScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
link: 'link',
|
|
ipHash: 'ipHash',
|
|
outboundEmailId: 'outboundEmailId'
|
|
} as const
|
|
|
|
export type OutboundEmailClickScalarFieldEnum = (typeof OutboundEmailClickScalarFieldEnum)[keyof typeof OutboundEmailClickScalarFieldEnum]
|
|
|
|
|
|
export const TenantSendingDomainScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
domain: 'domain',
|
|
dkimSelector: 'dkimSelector',
|
|
dkimRecord: 'dkimRecord',
|
|
spfRecord: 'spfRecord',
|
|
dmarcRecord: 'dmarcRecord',
|
|
dkimPrivateKeyCiphertext: 'dkimPrivateKeyCiphertext',
|
|
verificationStatus: 'verificationStatus',
|
|
mailjetDnsId: 'mailjetDnsId',
|
|
firstProbeAt: 'firstProbeAt',
|
|
lastProbedAt: 'lastProbedAt',
|
|
lastError: 'lastError',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type TenantSendingDomainScalarFieldEnum = (typeof TenantSendingDomainScalarFieldEnum)[keyof typeof TenantSendingDomainScalarFieldEnum]
|
|
|
|
|
|
export const EmailSuppressionListScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
emailAddress: 'emailAddress',
|
|
reason: 'reason',
|
|
detail: 'detail'
|
|
} as const
|
|
|
|
export type EmailSuppressionListScalarFieldEnum = (typeof EmailSuppressionListScalarFieldEnum)[keyof typeof EmailSuppressionListScalarFieldEnum]
|
|
|
|
|
|
export const EmailTemplateScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
subject: 'subject',
|
|
htmlBody: 'htmlBody',
|
|
isDefault: 'isDefault',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type EmailTemplateScalarFieldEnum = (typeof EmailTemplateScalarFieldEnum)[keyof typeof EmailTemplateScalarFieldEnum]
|
|
|
|
|
|
export const RecipientSegmentScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
entityType: 'entityType',
|
|
filterDefinition: 'filterDefinition',
|
|
isStaticSnapshot: 'isStaticSnapshot',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type RecipientSegmentScalarFieldEnum = (typeof RecipientSegmentScalarFieldEnum)[keyof typeof RecipientSegmentScalarFieldEnum]
|
|
|
|
|
|
export const SegmentSnapshotMemberScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
segmentId: 'segmentId',
|
|
kontaktId: 'kontaktId'
|
|
} as const
|
|
|
|
export type SegmentSnapshotMemberScalarFieldEnum = (typeof SegmentSnapshotMemberScalarFieldEnum)[keyof typeof SegmentSnapshotMemberScalarFieldEnum]
|
|
|
|
|
|
export const CampaignVariantScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
campaignId: 'campaignId',
|
|
label: 'label',
|
|
subject: 'subject',
|
|
htmlBody: 'htmlBody',
|
|
textBody: 'textBody',
|
|
weightPercent: 'weightPercent',
|
|
deliveredCount: 'deliveredCount',
|
|
openedCount: 'openedCount',
|
|
clickedCount: 'clickedCount'
|
|
} as const
|
|
|
|
export type CampaignVariantScalarFieldEnum = (typeof CampaignVariantScalarFieldEnum)[keyof typeof CampaignVariantScalarFieldEnum]
|
|
|
|
|
|
export const KontaktMarketingConsentScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
kontaktId: 'kontaktId',
|
|
status: 'status',
|
|
optInSource: 'optInSource',
|
|
optInAt: 'optInAt',
|
|
doubleOptInToken: 'doubleOptInToken',
|
|
confirmedAt: 'confirmedAt',
|
|
unsubscribedAt: 'unsubscribedAt'
|
|
} as const
|
|
|
|
export type KontaktMarketingConsentScalarFieldEnum = (typeof KontaktMarketingConsentScalarFieldEnum)[keyof typeof KontaktMarketingConsentScalarFieldEnum]
|
|
|
|
|
|
export const UnsubscribeScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
kontaktId: 'kontaktId',
|
|
scope: 'scope',
|
|
campaignId: 'campaignId',
|
|
reason: 'reason'
|
|
} as const
|
|
|
|
export type UnsubscribeScalarFieldEnum = (typeof UnsubscribeScalarFieldEnum)[keyof typeof UnsubscribeScalarFieldEnum]
|
|
|
|
|
|
export const EmailSequenceScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
description: 'description',
|
|
triggerEvent: 'triggerEvent',
|
|
stepsJson: 'stepsJson',
|
|
conditionsJson: 'conditionsJson',
|
|
isEnabled: 'isEnabled',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type EmailSequenceScalarFieldEnum = (typeof EmailSequenceScalarFieldEnum)[keyof typeof EmailSequenceScalarFieldEnum]
|
|
|
|
|
|
export const EmailSequenceRunScalarFieldEnum = {
|
|
id: 'id',
|
|
sequenceId: 'sequenceId',
|
|
leadId: 'leadId',
|
|
tenantId: 'tenantId',
|
|
triggerEventId: 'triggerEventId',
|
|
status: 'status',
|
|
startedAt: 'startedAt',
|
|
completedAt: 'completedAt',
|
|
stepStateJson: 'stepStateJson'
|
|
} as const
|
|
|
|
export type EmailSequenceRunScalarFieldEnum = (typeof EmailSequenceRunScalarFieldEnum)[keyof typeof EmailSequenceRunScalarFieldEnum]
|
|
|
|
|
|
export const EmailSequenceStepDeliveryScalarFieldEnum = {
|
|
id: 'id',
|
|
runId: 'runId',
|
|
stepIndex: 'stepIndex',
|
|
status: 'status',
|
|
scheduledAt: 'scheduledAt',
|
|
sentAt: 'sentAt',
|
|
openedAt: 'openedAt',
|
|
clickedAt: 'clickedAt',
|
|
bouncedAt: 'bouncedAt',
|
|
providerMessageId: 'providerMessageId',
|
|
errorMessage: 'errorMessage'
|
|
} as const
|
|
|
|
export type EmailSequenceStepDeliveryScalarFieldEnum = (typeof EmailSequenceStepDeliveryScalarFieldEnum)[keyof typeof EmailSequenceStepDeliveryScalarFieldEnum]
|
|
|
|
|
|
export const EntityLinkScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
sourceType: 'sourceType',
|
|
sourceId: 'sourceId',
|
|
targetType: 'targetType',
|
|
targetId: 'targetId',
|
|
linkRole: 'linkRole'
|
|
} as const
|
|
|
|
export type EntityLinkScalarFieldEnum = (typeof EntityLinkScalarFieldEnum)[keyof typeof EntityLinkScalarFieldEnum]
|
|
|
|
|
|
export const FeatureFlagScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
key: 'key',
|
|
scope: 'scope',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
name: 'name',
|
|
description: 'description',
|
|
enabled: 'enabled',
|
|
defaultValue: 'defaultValue',
|
|
lifecycleStage: 'lifecycleStage',
|
|
ownerAdminUserId: 'ownerAdminUserId',
|
|
targetModule: 'targetModule',
|
|
archivedAt: 'archivedAt',
|
|
rules: 'rules',
|
|
variants: 'variants',
|
|
enabledFrom: 'enabledFrom',
|
|
enabledUntil: 'enabledUntil',
|
|
parentFlagId: 'parentFlagId'
|
|
} as const
|
|
|
|
export type FeatureFlagScalarFieldEnum = (typeof FeatureFlagScalarFieldEnum)[keyof typeof FeatureFlagScalarFieldEnum]
|
|
|
|
|
|
export const FeatureFlagFilterScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
featureFlagId: 'featureFlagId',
|
|
type: 'type',
|
|
value: 'value',
|
|
action: 'action',
|
|
name: 'name',
|
|
priority: 'priority',
|
|
resultValue: 'resultValue',
|
|
criteria: 'criteria',
|
|
active: 'active',
|
|
createdByAdminUserId: 'createdByAdminUserId'
|
|
} as const
|
|
|
|
export type FeatureFlagFilterScalarFieldEnum = (typeof FeatureFlagFilterScalarFieldEnum)[keyof typeof FeatureFlagFilterScalarFieldEnum]
|
|
|
|
|
|
export const AdminFeatureFlagOverrideScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
featureFlagId: 'featureFlagId',
|
|
tenantId: 'tenantId',
|
|
value: 'value',
|
|
note: 'note',
|
|
expiresAt: 'expiresAt',
|
|
setByAdminUserId: 'setByAdminUserId'
|
|
} as const
|
|
|
|
export type AdminFeatureFlagOverrideScalarFieldEnum = (typeof AdminFeatureFlagOverrideScalarFieldEnum)[keyof typeof AdminFeatureFlagOverrideScalarFieldEnum]
|
|
|
|
|
|
export const FeatureFlagAuditScalarFieldEnum = {
|
|
id: 'id',
|
|
flagId: 'flagId',
|
|
actorUserId: 'actorUserId',
|
|
actorType: 'actorType',
|
|
action: 'action',
|
|
oldValue: 'oldValue',
|
|
newValue: 'newValue',
|
|
metadata: 'metadata',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type FeatureFlagAuditScalarFieldEnum = (typeof FeatureFlagAuditScalarFieldEnum)[keyof typeof FeatureFlagAuditScalarFieldEnum]
|
|
|
|
|
|
export const FileScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
displayName: 'displayName',
|
|
mimeType: 'mimeType',
|
|
sizeBytes: 'sizeBytes',
|
|
storageKey: 'storageKey',
|
|
checksumSha256: 'checksumSha256',
|
|
previewStatus: 'previewStatus',
|
|
previewStorageKey: 'previewStorageKey',
|
|
thumbnailStorageKey: 'thumbnailStorageKey',
|
|
scanStatus: 'scanStatus',
|
|
assignedToUserId: 'assignedToUserId',
|
|
tags: 'tags',
|
|
notes: 'notes',
|
|
source: 'source',
|
|
createdByPortalUserId: 'createdByPortalUserId',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type FileScalarFieldEnum = (typeof FileScalarFieldEnum)[keyof typeof FileScalarFieldEnum]
|
|
|
|
|
|
export const FileEntityLinkScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
createdByPortalUserId: 'createdByPortalUserId',
|
|
fileId: 'fileId',
|
|
entityType: 'entityType',
|
|
entityId: 'entityId',
|
|
linkRole: 'linkRole'
|
|
} as const
|
|
|
|
export type FileEntityLinkScalarFieldEnum = (typeof FileEntityLinkScalarFieldEnum)[keyof typeof FileEntityLinkScalarFieldEnum]
|
|
|
|
|
|
export const FileUploadScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
createdByPortalUserId: 'createdByPortalUserId',
|
|
originalFilename: 'originalFilename',
|
|
totalSizeBytes: 'totalSizeBytes',
|
|
mimeType: 'mimeType',
|
|
totalChunks: 'totalChunks',
|
|
receivedChunks: 'receivedChunks',
|
|
status: 'status',
|
|
targetFileId: 'targetFileId',
|
|
expiresAt: 'expiresAt',
|
|
failureReason: 'failureReason'
|
|
} as const
|
|
|
|
export type FileUploadScalarFieldEnum = (typeof FileUploadScalarFieldEnum)[keyof typeof FileUploadScalarFieldEnum]
|
|
|
|
|
|
export const FileUploadChunkScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
uploadId: 'uploadId',
|
|
chunkIndex: 'chunkIndex',
|
|
storageKey: 'storageKey',
|
|
sizeBytes: 'sizeBytes',
|
|
checksumSha256: 'checksumSha256',
|
|
receivedAt: 'receivedAt'
|
|
} as const
|
|
|
|
export type FileUploadChunkScalarFieldEnum = (typeof FileUploadChunkScalarFieldEnum)[keyof typeof FileUploadChunkScalarFieldEnum]
|
|
|
|
|
|
export const FormScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
key: 'key',
|
|
slug: 'slug',
|
|
name: 'name',
|
|
subtype: 'subtype',
|
|
status: 'status',
|
|
createdByUserId: 'createdByUserId',
|
|
publishedAt: 'publishedAt',
|
|
isPublic: 'isPublic',
|
|
isDemoData: 'isDemoData',
|
|
definition: 'definition',
|
|
theme: 'theme',
|
|
targetType: 'targetType',
|
|
targetEntityId: 'targetEntityId',
|
|
fieldMapping: 'fieldMapping',
|
|
allowedOrigins: 'allowedOrigins',
|
|
notifyEmails: 'notifyEmails',
|
|
webhookUrl: 'webhookUrl',
|
|
config: 'config',
|
|
isEnabled: 'isEnabled',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type FormScalarFieldEnum = (typeof FormScalarFieldEnum)[keyof typeof FormScalarFieldEnum]
|
|
|
|
|
|
export const FormSubmissionScalarFieldEnum = {
|
|
id: 'id',
|
|
formId: 'formId',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
createdByPortalUserId: 'createdByPortalUserId',
|
|
projectId: 'projectId',
|
|
payload: 'payload',
|
|
sourceOrigin: 'sourceOrigin',
|
|
ipHash: 'ipHash',
|
|
userAgent: 'userAgent',
|
|
status: 'status',
|
|
result: 'result',
|
|
linkedEntityType: 'linkedEntityType',
|
|
linkedEntityId: 'linkedEntityId',
|
|
idempotencyKey: 'idempotencyKey',
|
|
gdprAccepted: 'gdprAccepted',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type FormSubmissionScalarFieldEnum = (typeof FormSubmissionScalarFieldEnum)[keyof typeof FormSubmissionScalarFieldEnum]
|
|
|
|
|
|
export const FormFieldScalarFieldEnum = {
|
|
id: 'id',
|
|
formId: 'formId',
|
|
tenantId: 'tenantId',
|
|
fieldKey: 'fieldKey',
|
|
fieldType: 'fieldType',
|
|
label: 'label',
|
|
helpText: 'helpText',
|
|
placeholder: 'placeholder',
|
|
required: 'required',
|
|
position: 'position',
|
|
options: 'options',
|
|
validationRules: 'validationRules',
|
|
conditionalLogic: 'conditionalLogic',
|
|
isSystem: 'isSystem',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type FormFieldScalarFieldEnum = (typeof FormFieldScalarFieldEnum)[keyof typeof FormFieldScalarFieldEnum]
|
|
|
|
|
|
export const FormFileScalarFieldEnum = {
|
|
id: 'id',
|
|
formId: 'formId',
|
|
submissionId: 'submissionId',
|
|
tenantId: 'tenantId',
|
|
fieldKey: 'fieldKey',
|
|
fileId: 'fileId',
|
|
kind: 'kind',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type FormFileScalarFieldEnum = (typeof FormFileScalarFieldEnum)[keyof typeof FormFileScalarFieldEnum]
|
|
|
|
|
|
export const FormActionScalarFieldEnum = {
|
|
id: 'id',
|
|
formId: 'formId',
|
|
tenantId: 'tenantId',
|
|
actionType: 'actionType',
|
|
name: 'name',
|
|
position: 'position',
|
|
enabled: 'enabled',
|
|
fieldMapping: 'fieldMapping',
|
|
actionConfig: 'actionConfig',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type FormActionScalarFieldEnum = (typeof FormActionScalarFieldEnum)[keyof typeof FormActionScalarFieldEnum]
|
|
|
|
|
|
export const FormActionLogScalarFieldEnum = {
|
|
id: 'id',
|
|
formActionId: 'formActionId',
|
|
submissionId: 'submissionId',
|
|
formId: 'formId',
|
|
tenantId: 'tenantId',
|
|
actionType: 'actionType',
|
|
status: 'status',
|
|
attempt: 'attempt',
|
|
inputSnapshot: 'inputSnapshot',
|
|
outputSnapshot: 'outputSnapshot',
|
|
errorMessage: 'errorMessage',
|
|
targetType: 'targetType',
|
|
targetId: 'targetId',
|
|
idempotencyKey: 'idempotencyKey',
|
|
rerunOfLogId: 'rerunOfLogId',
|
|
startedAt: 'startedAt',
|
|
finishedAt: 'finishedAt',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type FormActionLogScalarFieldEnum = (typeof FormActionLogScalarFieldEnum)[keyof typeof FormActionLogScalarFieldEnum]
|
|
|
|
|
|
export const GdprExportJobScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
requestedByUserId: 'requestedByUserId',
|
|
targetUserId: 'targetUserId',
|
|
scope: 'scope',
|
|
status: 'status',
|
|
progressPercent: 'progressPercent',
|
|
resultFileId: 'resultFileId',
|
|
resultBucket: 'resultBucket',
|
|
resultKey: 'resultKey',
|
|
resultSizeBytes: 'resultSizeBytes',
|
|
resultExpiresAt: 'resultExpiresAt',
|
|
downloadCount: 'downloadCount',
|
|
lastDownloadedAt: 'lastDownloadedAt',
|
|
errorMessage: 'errorMessage',
|
|
processingStartedAt: 'processingStartedAt',
|
|
processingFinishedAt: 'processingFinishedAt'
|
|
} as const
|
|
|
|
export type GdprExportJobScalarFieldEnum = (typeof GdprExportJobScalarFieldEnum)[keyof typeof GdprExportJobScalarFieldEnum]
|
|
|
|
|
|
export const TenantDeletionRequestScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
requestedByUserId: 'requestedByUserId',
|
|
reason: 'reason',
|
|
reasonText: 'reasonText',
|
|
slugConfirmPhrase: 'slugConfirmPhrase',
|
|
status: 'status',
|
|
gracePeriodEndsAt: 'gracePeriodEndsAt',
|
|
cancelledAt: 'cancelledAt',
|
|
cancelledByUserId: 'cancelledByUserId',
|
|
hardDeleteStartedAt: 'hardDeleteStartedAt',
|
|
hardDeleteEndedAt: 'hardDeleteEndedAt',
|
|
errorMessage: 'errorMessage'
|
|
} as const
|
|
|
|
export type TenantDeletionRequestScalarFieldEnum = (typeof TenantDeletionRequestScalarFieldEnum)[keyof typeof TenantDeletionRequestScalarFieldEnum]
|
|
|
|
|
|
export const AvvAcceptanceScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
acceptedByUserId: 'acceptedByUserId',
|
|
acceptedIp: 'acceptedIp',
|
|
acceptedUserAgent: 'acceptedUserAgent',
|
|
avvVersion: 'avvVersion',
|
|
pdfFileId: 'pdfFileId',
|
|
signerName: 'signerName',
|
|
signerRole: 'signerRole'
|
|
} as const
|
|
|
|
export type AvvAcceptanceScalarFieldEnum = (typeof AvvAcceptanceScalarFieldEnum)[keyof typeof AvvAcceptanceScalarFieldEnum]
|
|
|
|
|
|
export const SubprocessorScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
name: 'name',
|
|
purposeText: 'purposeText',
|
|
country: 'country',
|
|
isEuEea: 'isEuEea',
|
|
dataCategories: 'dataCategories',
|
|
dpaUrl: 'dpaUrl',
|
|
activeSince: 'activeSince',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type SubprocessorScalarFieldEnum = (typeof SubprocessorScalarFieldEnum)[keyof typeof SubprocessorScalarFieldEnum]
|
|
|
|
|
|
export const FeedbackScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
message: 'message',
|
|
fromUrl: 'fromUrl'
|
|
} as const
|
|
|
|
export type FeedbackScalarFieldEnum = (typeof FeedbackScalarFieldEnum)[keyof typeof FeedbackScalarFieldEnum]
|
|
|
|
|
|
export const SupportTicketScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
source: 'source',
|
|
status: 'status',
|
|
priority: 'priority',
|
|
subject: 'subject',
|
|
message: 'message',
|
|
fromEmail: 'fromEmail',
|
|
fromUrl: 'fromUrl',
|
|
inboundMessageId: 'inboundMessageId',
|
|
assignedToUserId: 'assignedToUserId'
|
|
} as const
|
|
|
|
export type SupportTicketScalarFieldEnum = (typeof SupportTicketScalarFieldEnum)[keyof typeof SupportTicketScalarFieldEnum]
|
|
|
|
|
|
export const HrEmployeeProfileScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
personalNumber: 'personalNumber',
|
|
hireDate: 'hireDate',
|
|
position: 'position',
|
|
team: 'team',
|
|
locationId: 'locationId',
|
|
managerUserId: 'managerUserId',
|
|
emergencyContactCiphertext: 'emergencyContactCiphertext',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type HrEmployeeProfileScalarFieldEnum = (typeof HrEmployeeProfileScalarFieldEnum)[keyof typeof HrEmployeeProfileScalarFieldEnum]
|
|
|
|
|
|
export const HrLocationScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
addressLine1: 'addressLine1',
|
|
addressLine2: 'addressLine2',
|
|
postalCode: 'postalCode',
|
|
city: 'city',
|
|
country: 'country',
|
|
phone: 'phone',
|
|
latitude: 'latitude',
|
|
longitude: 'longitude',
|
|
imageFileId: 'imageFileId',
|
|
description: 'description',
|
|
isDefault: 'isDefault',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type HrLocationScalarFieldEnum = (typeof HrLocationScalarFieldEnum)[keyof typeof HrLocationScalarFieldEnum]
|
|
|
|
|
|
export const HrEmployeeDocumentScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
employeeUserId: 'employeeUserId',
|
|
uploadedByUserId: 'uploadedByUserId',
|
|
title: 'title',
|
|
documentKind: 'documentKind',
|
|
fileId: 'fileId',
|
|
visibility: 'visibility',
|
|
uploadedByOffice: 'uploadedByOffice',
|
|
validUntil: 'validUntil',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type HrEmployeeDocumentScalarFieldEnum = (typeof HrEmployeeDocumentScalarFieldEnum)[keyof typeof HrEmployeeDocumentScalarFieldEnum]
|
|
|
|
|
|
export const HrResourceScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
title: 'title',
|
|
kind: 'kind',
|
|
url: 'url',
|
|
fileId: 'fileId',
|
|
category: 'category',
|
|
audience: 'audience',
|
|
sortOrder: 'sortOrder',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type HrResourceScalarFieldEnum = (typeof HrResourceScalarFieldEnum)[keyof typeof HrResourceScalarFieldEnum]
|
|
|
|
|
|
export const HrQuickLinkScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
title: 'title',
|
|
url: 'url',
|
|
icon: 'icon',
|
|
audience: 'audience',
|
|
sortOrder: 'sortOrder',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type HrQuickLinkScalarFieldEnum = (typeof HrQuickLinkScalarFieldEnum)[keyof typeof HrQuickLinkScalarFieldEnum]
|
|
|
|
|
|
export const EmployeePasswordSafeVaultScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
description: 'description',
|
|
createdByUserId: 'createdByUserId',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type EmployeePasswordSafeVaultScalarFieldEnum = (typeof EmployeePasswordSafeVaultScalarFieldEnum)[keyof typeof EmployeePasswordSafeVaultScalarFieldEnum]
|
|
|
|
|
|
export const EmployeePasswordSafeEntryScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
vaultId: 'vaultId',
|
|
title: 'title',
|
|
tags: 'tags',
|
|
url: 'url',
|
|
usernameCiphertext: 'usernameCiphertext',
|
|
passwordCiphertext: 'passwordCiphertext',
|
|
notesCiphertext: 'notesCiphertext',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type EmployeePasswordSafeEntryScalarFieldEnum = (typeof EmployeePasswordSafeEntryScalarFieldEnum)[keyof typeof EmployeePasswordSafeEntryScalarFieldEnum]
|
|
|
|
|
|
export const EmployeePasswordSafeAccessScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
vaultId: 'vaultId',
|
|
userId: 'userId',
|
|
permissionLevel: 'permissionLevel',
|
|
grantedByUserId: 'grantedByUserId'
|
|
} as const
|
|
|
|
export type EmployeePasswordSafeAccessScalarFieldEnum = (typeof EmployeePasswordSafeAccessScalarFieldEnum)[keyof typeof EmployeePasswordSafeAccessScalarFieldEnum]
|
|
|
|
|
|
export const EmployeeVacationRequestScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
employeeUserId: 'employeeUserId',
|
|
requestKind: 'requestKind',
|
|
startDate: 'startDate',
|
|
endDate: 'endDate',
|
|
note: 'note',
|
|
status: 'status',
|
|
assignedApproverUserId: 'assignedApproverUserId',
|
|
clarificationNote: 'clarificationNote',
|
|
decidedByUserId: 'decidedByUserId',
|
|
decidedAt: 'decidedAt',
|
|
decisionNote: 'decisionNote',
|
|
withdrawnAt: 'withdrawnAt',
|
|
calendarEventId: 'calendarEventId',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type EmployeeVacationRequestScalarFieldEnum = (typeof EmployeeVacationRequestScalarFieldEnum)[keyof typeof EmployeeVacationRequestScalarFieldEnum]
|
|
|
|
|
|
export const EmployeeSickLeaveReportScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
employeeUserId: 'employeeUserId',
|
|
reportedByUserId: 'reportedByUserId',
|
|
startDate: 'startDate',
|
|
expectedReturnDate: 'expectedReturnDate',
|
|
returnDate: 'returnDate',
|
|
certificateRefCiphertext: 'certificateRefCiphertext',
|
|
status: 'status',
|
|
note: 'note',
|
|
calendarEventId: 'calendarEventId',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type EmployeeSickLeaveReportScalarFieldEnum = (typeof EmployeeSickLeaveReportScalarFieldEnum)[keyof typeof EmployeeSickLeaveReportScalarFieldEnum]
|
|
|
|
|
|
export const HrAnnouncementScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
authorUserId: 'authorUserId',
|
|
title: 'title',
|
|
body: 'body',
|
|
audienceKind: 'audienceKind',
|
|
audienceRef: 'audienceRef',
|
|
requiresAcknowledgement: 'requiresAcknowledgement',
|
|
pinnedAt: 'pinnedAt',
|
|
publishAt: 'publishAt',
|
|
expiresAt: 'expiresAt',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type HrAnnouncementScalarFieldEnum = (typeof HrAnnouncementScalarFieldEnum)[keyof typeof HrAnnouncementScalarFieldEnum]
|
|
|
|
|
|
export const HrAnnouncementReadScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
announcementId: 'announcementId',
|
|
userId: 'userId',
|
|
acknowledgedAt: 'acknowledgedAt'
|
|
} as const
|
|
|
|
export type HrAnnouncementReadScalarFieldEnum = (typeof HrAnnouncementReadScalarFieldEnum)[keyof typeof HrAnnouncementReadScalarFieldEnum]
|
|
|
|
|
|
export const HrAnnouncementReactionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
announcementId: 'announcementId',
|
|
userId: 'userId',
|
|
reaction: 'reaction'
|
|
} as const
|
|
|
|
export type HrAnnouncementReactionScalarFieldEnum = (typeof HrAnnouncementReactionScalarFieldEnum)[keyof typeof HrAnnouncementReactionScalarFieldEnum]
|
|
|
|
|
|
export const HrAnnouncementCommentScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
announcementId: 'announcementId',
|
|
userId: 'userId',
|
|
body: 'body',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type HrAnnouncementCommentScalarFieldEnum = (typeof HrAnnouncementCommentScalarFieldEnum)[keyof typeof HrAnnouncementCommentScalarFieldEnum]
|
|
|
|
|
|
export const EmployeePayslipScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
employeeUserId: 'employeeUserId',
|
|
uploadedByUserId: 'uploadedByUserId',
|
|
periodYear: 'periodYear',
|
|
periodMonth: 'periodMonth',
|
|
fileId: 'fileId',
|
|
isRead: 'isRead',
|
|
readAt: 'readAt',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type EmployeePayslipScalarFieldEnum = (typeof EmployeePayslipScalarFieldEnum)[keyof typeof EmployeePayslipScalarFieldEnum]
|
|
|
|
|
|
export const EmployeeUploadReminderScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
title: 'title',
|
|
documentKind: 'documentKind',
|
|
cadenceKind: 'cadenceKind',
|
|
intervalMonths: 'intervalMonths',
|
|
audienceKind: 'audienceKind',
|
|
audienceRef: 'audienceRef',
|
|
mandatory: 'mandatory',
|
|
escalateToManager: 'escalateToManager',
|
|
linkedFormId: 'linkedFormId',
|
|
dueAt: 'dueAt',
|
|
status: 'status',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type EmployeeUploadReminderScalarFieldEnum = (typeof EmployeeUploadReminderScalarFieldEnum)[keyof typeof EmployeeUploadReminderScalarFieldEnum]
|
|
|
|
|
|
export const EmployeeUploadReminderDispatchScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
reminderId: 'reminderId',
|
|
employeeUserId: 'employeeUserId',
|
|
dueAt: 'dueAt',
|
|
status: 'status',
|
|
sentAt: 'sentAt',
|
|
acknowledgedAt: 'acknowledgedAt',
|
|
escalatedAt: 'escalatedAt'
|
|
} as const
|
|
|
|
export type EmployeeUploadReminderDispatchScalarFieldEnum = (typeof EmployeeUploadReminderDispatchScalarFieldEnum)[keyof typeof EmployeeUploadReminderDispatchScalarFieldEnum]
|
|
|
|
|
|
export const HrRequestTemplateScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
title: 'title',
|
|
requestKind: 'requestKind',
|
|
description: 'description',
|
|
defaultApproverUserId: 'defaultApproverUserId',
|
|
linkedFormId: 'linkedFormId',
|
|
isActive: 'isActive',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type HrRequestTemplateScalarFieldEnum = (typeof HrRequestTemplateScalarFieldEnum)[keyof typeof HrRequestTemplateScalarFieldEnum]
|
|
|
|
|
|
export const HrRequestScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
employeeUserId: 'employeeUserId',
|
|
templateId: 'templateId',
|
|
requestKind: 'requestKind',
|
|
title: 'title',
|
|
details: 'details',
|
|
formSubmissionId: 'formSubmissionId',
|
|
status: 'status',
|
|
assignedApproverUserId: 'assignedApproverUserId',
|
|
clarificationNote: 'clarificationNote',
|
|
decidedByUserId: 'decidedByUserId',
|
|
decidedAt: 'decidedAt',
|
|
decisionNote: 'decisionNote',
|
|
withdrawnAt: 'withdrawnAt',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type HrRequestScalarFieldEnum = (typeof HrRequestScalarFieldEnum)[keyof typeof HrRequestScalarFieldEnum]
|
|
|
|
|
|
export const HrSurveyScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
authorUserId: 'authorUserId',
|
|
title: 'title',
|
|
description: 'description',
|
|
isAnonymous: 'isAnonymous',
|
|
resultVisibility: 'resultVisibility',
|
|
audienceKind: 'audienceKind',
|
|
audienceRef: 'audienceRef',
|
|
status: 'status',
|
|
opensAt: 'opensAt',
|
|
closesAt: 'closesAt',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type HrSurveyScalarFieldEnum = (typeof HrSurveyScalarFieldEnum)[keyof typeof HrSurveyScalarFieldEnum]
|
|
|
|
|
|
export const HrSurveyItemScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
surveyId: 'surveyId',
|
|
itemType: 'itemType',
|
|
prompt: 'prompt',
|
|
required: 'required',
|
|
options: 'options',
|
|
sortOrder: 'sortOrder'
|
|
} as const
|
|
|
|
export type HrSurveyItemScalarFieldEnum = (typeof HrSurveyItemScalarFieldEnum)[keyof typeof HrSurveyItemScalarFieldEnum]
|
|
|
|
|
|
export const HrSurveySubmissionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
surveyId: 'surveyId',
|
|
submitterUserId: 'submitterUserId',
|
|
submitterHash: 'submitterHash',
|
|
answers: 'answers'
|
|
} as const
|
|
|
|
export type HrSurveySubmissionScalarFieldEnum = (typeof HrSurveySubmissionScalarFieldEnum)[keyof typeof HrSurveySubmissionScalarFieldEnum]
|
|
|
|
|
|
export const ImportJobScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
requestedByUserId: 'requestedByUserId',
|
|
importType: 'importType',
|
|
format: 'format',
|
|
status: 'status',
|
|
requestId: 'requestId',
|
|
attemptsMade: 'attemptsMade',
|
|
sourceBucket: 'sourceBucket',
|
|
sourceKey: 'sourceKey',
|
|
fileName: 'fileName',
|
|
contentType: 'contentType',
|
|
rowCount: 'rowCount',
|
|
acceptedRows: 'acceptedRows',
|
|
rejectedRows: 'rejectedRows',
|
|
errorName: 'errorName',
|
|
errorMessage: 'errorMessage',
|
|
errorReportBucket: 'errorReportBucket',
|
|
errorReportKey: 'errorReportKey',
|
|
startedAt: 'startedAt',
|
|
finishedAt: 'finishedAt',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type ImportJobScalarFieldEnum = (typeof ImportJobScalarFieldEnum)[keyof typeof ImportJobScalarFieldEnum]
|
|
|
|
|
|
export const KnowledgeBaseScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
ownerKey: 'ownerKey',
|
|
basePath: 'basePath',
|
|
slug: 'slug',
|
|
title: 'title',
|
|
description: 'description',
|
|
defaultLanguage: 'defaultLanguage',
|
|
layout: 'layout',
|
|
color: 'color',
|
|
enabled: 'enabled',
|
|
languages: 'languages',
|
|
links: 'links',
|
|
logo: 'logo',
|
|
seoImage: 'seoImage'
|
|
} as const
|
|
|
|
export type KnowledgeBaseScalarFieldEnum = (typeof KnowledgeBaseScalarFieldEnum)[keyof typeof KnowledgeBaseScalarFieldEnum]
|
|
|
|
|
|
export const KnowledgeBaseCategoryScalarFieldEnum = {
|
|
id: 'id',
|
|
knowledgeBaseId: 'knowledgeBaseId',
|
|
slug: 'slug',
|
|
order: 'order',
|
|
title: 'title',
|
|
description: 'description',
|
|
icon: 'icon',
|
|
language: 'language',
|
|
seoImage: 'seoImage'
|
|
} as const
|
|
|
|
export type KnowledgeBaseCategoryScalarFieldEnum = (typeof KnowledgeBaseCategoryScalarFieldEnum)[keyof typeof KnowledgeBaseCategoryScalarFieldEnum]
|
|
|
|
|
|
export const KnowledgeBaseCategorySectionScalarFieldEnum = {
|
|
id: 'id',
|
|
categoryId: 'categoryId',
|
|
order: 'order',
|
|
title: 'title',
|
|
description: 'description'
|
|
} as const
|
|
|
|
export type KnowledgeBaseCategorySectionScalarFieldEnum = (typeof KnowledgeBaseCategorySectionScalarFieldEnum)[keyof typeof KnowledgeBaseCategorySectionScalarFieldEnum]
|
|
|
|
|
|
export const KnowledgeBaseArticleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
knowledgeBaseId: 'knowledgeBaseId',
|
|
categoryId: 'categoryId',
|
|
sectionId: 'sectionId',
|
|
slug: 'slug',
|
|
title: 'title',
|
|
description: 'description',
|
|
order: 'order',
|
|
contentDraft: 'contentDraft',
|
|
contentPublished: 'contentPublished',
|
|
contentPublishedAsText: 'contentPublishedAsText',
|
|
contentType: 'contentType',
|
|
language: 'language',
|
|
featuredOrder: 'featuredOrder',
|
|
seoImage: 'seoImage',
|
|
publishedAt: 'publishedAt',
|
|
relatedInArticleId: 'relatedInArticleId',
|
|
createdByUserId: 'createdByUserId'
|
|
} as const
|
|
|
|
export type KnowledgeBaseArticleScalarFieldEnum = (typeof KnowledgeBaseArticleScalarFieldEnum)[keyof typeof KnowledgeBaseArticleScalarFieldEnum]
|
|
|
|
|
|
export const KnowledgeBaseRelatedArticleScalarFieldEnum = {
|
|
id: 'id',
|
|
articleId: 'articleId',
|
|
relatedArticleId: 'relatedArticleId'
|
|
} as const
|
|
|
|
export type KnowledgeBaseRelatedArticleScalarFieldEnum = (typeof KnowledgeBaseRelatedArticleScalarFieldEnum)[keyof typeof KnowledgeBaseRelatedArticleScalarFieldEnum]
|
|
|
|
|
|
export const KnowledgeBaseViewsScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
knowledgeBaseId: 'knowledgeBaseId',
|
|
userAnalyticsId: 'userAnalyticsId'
|
|
} as const
|
|
|
|
export type KnowledgeBaseViewsScalarFieldEnum = (typeof KnowledgeBaseViewsScalarFieldEnum)[keyof typeof KnowledgeBaseViewsScalarFieldEnum]
|
|
|
|
|
|
export const KnowledgeBaseArticleViewsScalarFieldEnum = {
|
|
knowledgeBaseArticleId: 'knowledgeBaseArticleId',
|
|
userAnalyticsId: 'userAnalyticsId'
|
|
} as const
|
|
|
|
export type KnowledgeBaseArticleViewsScalarFieldEnum = (typeof KnowledgeBaseArticleViewsScalarFieldEnum)[keyof typeof KnowledgeBaseArticleViewsScalarFieldEnum]
|
|
|
|
|
|
export const KnowledgeBaseArticleUpvotesScalarFieldEnum = {
|
|
createdAt: 'createdAt',
|
|
knowledgeBaseArticleId: 'knowledgeBaseArticleId',
|
|
userAnalyticsId: 'userAnalyticsId'
|
|
} as const
|
|
|
|
export type KnowledgeBaseArticleUpvotesScalarFieldEnum = (typeof KnowledgeBaseArticleUpvotesScalarFieldEnum)[keyof typeof KnowledgeBaseArticleUpvotesScalarFieldEnum]
|
|
|
|
|
|
export const KnowledgeBaseArticleDownvotesScalarFieldEnum = {
|
|
createdAt: 'createdAt',
|
|
knowledgeBaseArticleId: 'knowledgeBaseArticleId',
|
|
userAnalyticsId: 'userAnalyticsId'
|
|
} as const
|
|
|
|
export type KnowledgeBaseArticleDownvotesScalarFieldEnum = (typeof KnowledgeBaseArticleDownvotesScalarFieldEnum)[keyof typeof KnowledgeBaseArticleDownvotesScalarFieldEnum]
|
|
|
|
|
|
export const KwpApiContractSnapshotScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
capability: 'capability',
|
|
apiVersion: 'apiVersion',
|
|
semanticFingerprint: 'semanticFingerprint',
|
|
consumedContract: 'consumedContract',
|
|
adapterRevision: 'adapterRevision',
|
|
validatedAt: 'validatedAt',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type KwpApiContractSnapshotScalarFieldEnum = (typeof KwpApiContractSnapshotScalarFieldEnum)[keyof typeof KwpApiContractSnapshotScalarFieldEnum]
|
|
|
|
|
|
export const KwpCapabilityStateScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
capability: 'capability',
|
|
status: 'status',
|
|
reasonCode: 'reasonCode',
|
|
observedFingerprint: 'observedFingerprint',
|
|
approvedFingerprint: 'approvedFingerprint',
|
|
adapterRevision: 'adapterRevision',
|
|
revision: 'revision',
|
|
pausedAt: 'pausedAt',
|
|
lastCheckedAt: 'lastCheckedAt',
|
|
approvedAt: 'approvedAt',
|
|
approvedByUserId: 'approvedByUserId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type KwpCapabilityStateScalarFieldEnum = (typeof KwpCapabilityStateScalarFieldEnum)[keyof typeof KwpCapabilityStateScalarFieldEnum]
|
|
|
|
|
|
export const KwpErrorReportScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
capability: 'capability',
|
|
code: 'code',
|
|
redactedDetails: 'redactedDetails',
|
|
createdAt: 'createdAt',
|
|
resolvedAt: 'resolvedAt',
|
|
resolvedByUserId: 'resolvedByUserId'
|
|
} as const
|
|
|
|
export type KwpErrorReportScalarFieldEnum = (typeof KwpErrorReportScalarFieldEnum)[keyof typeof KwpErrorReportScalarFieldEnum]
|
|
|
|
|
|
export const KwpProjectRoutingScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
externalStatus: 'externalStatus',
|
|
pipelineId: 'pipelineId',
|
|
stageId: 'stageId',
|
|
revision: 'revision',
|
|
createdByUserId: 'createdByUserId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type KwpProjectRoutingScalarFieldEnum = (typeof KwpProjectRoutingScalarFieldEnum)[keyof typeof KwpProjectRoutingScalarFieldEnum]
|
|
|
|
|
|
export const KwpProjectCatalogStateScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
status: 'status',
|
|
discoveredCount: 'discoveredCount',
|
|
hydratedCount: 'hydratedCount',
|
|
revision: 'revision',
|
|
lastDiscoveryAt: 'lastDiscoveryAt',
|
|
nextDiscoveryAt: 'nextDiscoveryAt',
|
|
lastCompletedAt: 'lastCompletedAt',
|
|
lastErrorCode: 'lastErrorCode',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type KwpProjectCatalogStateScalarFieldEnum = (typeof KwpProjectCatalogStateScalarFieldEnum)[keyof typeof KwpProjectCatalogStateScalarFieldEnum]
|
|
|
|
|
|
export const KwpProjectCatalogItemScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
externalProjectNumber: 'externalProjectNumber',
|
|
name: 'name',
|
|
searchText: 'searchText',
|
|
status: 'status',
|
|
projectAddressCode: 'projectAddressCode',
|
|
invoiceAddressCode: 'invoiceAddressCode',
|
|
clientAddressCode: 'clientAddressCode',
|
|
startDate: 'startDate',
|
|
orderValue: 'orderValue',
|
|
normalizedFingerprint: 'normalizedFingerprint',
|
|
state: 'state',
|
|
discoveredAt: 'discoveredAt',
|
|
lastSeenAt: 'lastSeenAt',
|
|
lastSyncedAt: 'lastSyncedAt',
|
|
nextRefreshAt: 'nextRefreshAt',
|
|
missingSince: 'missingSince',
|
|
refreshAttempts: 'refreshAttempts',
|
|
lastErrorCode: 'lastErrorCode',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type KwpProjectCatalogItemScalarFieldEnum = (typeof KwpProjectCatalogItemScalarFieldEnum)[keyof typeof KwpProjectCatalogItemScalarFieldEnum]
|
|
|
|
|
|
export const KwpMaterialPositionScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
projektId: 'projektId',
|
|
externalId: 'externalId',
|
|
positionNumber: 'positionNumber',
|
|
text: 'text',
|
|
longText: 'longText',
|
|
quantity: 'quantity',
|
|
unit: 'unit',
|
|
unitPrice: 'unitPrice',
|
|
totalPrice: 'totalPrice',
|
|
positionMarker: 'positionMarker',
|
|
normalizedFingerprint: 'normalizedFingerprint',
|
|
lastSeenAt: 'lastSeenAt',
|
|
lastSyncedAt: 'lastSyncedAt',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type KwpMaterialPositionScalarFieldEnum = (typeof KwpMaterialPositionScalarFieldEnum)[keyof typeof KwpMaterialPositionScalarFieldEnum]
|
|
|
|
|
|
export const InboxLeadScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
zustaendigerUserId: 'zustaendigerUserId',
|
|
quelle: 'quelle',
|
|
quelleDetail: 'quelleDetail',
|
|
sourceId: 'sourceId',
|
|
sourceOrigin: 'sourceOrigin',
|
|
submitterIpHash: 'submitterIpHash',
|
|
status: 'status',
|
|
weiterverarbeitungFreigabe: 'weiterverarbeitungFreigabe',
|
|
vorname: 'vorname',
|
|
nachname: 'nachname',
|
|
email: 'email',
|
|
telefon: 'telefon',
|
|
message: 'message',
|
|
rohdaten: 'rohdaten',
|
|
spamScore: 'spamScore',
|
|
spamReason: 'spamReason',
|
|
isQuarantined: 'isQuarantined',
|
|
konvertiertProjektId: 'konvertiertProjektId',
|
|
verknuepfterKontaktId: 'verknuepfterKontaktId',
|
|
convertedAt: 'convertedAt',
|
|
lostAt: 'lostAt',
|
|
spamMarkedAt: 'spamMarkedAt',
|
|
autoDeleteAt: 'autoDeleteAt',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type InboxLeadScalarFieldEnum = (typeof InboxLeadScalarFieldEnum)[keyof typeof InboxLeadScalarFieldEnum]
|
|
|
|
|
|
export const LeadSourceScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
type: 'type',
|
|
key: 'key',
|
|
name: 'name',
|
|
displayLabel: 'displayLabel',
|
|
defaultZustaendigerUserId: 'defaultZustaendigerUserId',
|
|
defaultTags: 'defaultTags',
|
|
webhookTokenHash: 'webhookTokenHash',
|
|
pausedAt: 'pausedAt',
|
|
archivedAt: 'archivedAt',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type LeadSourceScalarFieldEnum = (typeof LeadSourceScalarFieldEnum)[keyof typeof LeadSourceScalarFieldEnum]
|
|
|
|
|
|
export const LeadAntiSpamConfigScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
perSourcePerHourLimit: 'perSourcePerHourLimit',
|
|
perIpPerHourLimit: 'perIpPerHourLimit',
|
|
anomalySpikeFactor: 'anomalySpikeFactor',
|
|
mode: 'mode',
|
|
disposableDomainEnabled: 'disposableDomainEnabled',
|
|
honeypotEnabled: 'honeypotEnabled',
|
|
fastSubmitEnabled: 'fastSubmitEnabled',
|
|
lostAutoDeleteDays: 'lostAutoDeleteDays',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type LeadAntiSpamConfigScalarFieldEnum = (typeof LeadAntiSpamConfigScalarFieldEnum)[keyof typeof LeadAntiSpamConfigScalarFieldEnum]
|
|
|
|
|
|
export const LeadScalarFieldEnum = {
|
|
id: 'id',
|
|
email: 'email',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
phone: 'phone',
|
|
company: 'company',
|
|
source: 'source',
|
|
status: 'status',
|
|
utmSource: 'utmSource',
|
|
utmMedium: 'utmMedium',
|
|
utmCampaign: 'utmCampaign',
|
|
utmTerm: 'utmTerm',
|
|
utmContent: 'utmContent',
|
|
gclid: 'gclid',
|
|
fbclid: 'fbclid',
|
|
referrer: 'referrer',
|
|
landingPage: 'landingPage',
|
|
firstSeenAt: 'firstSeenAt',
|
|
lastTouchAt: 'lastTouchAt',
|
|
score: 'score',
|
|
notes: 'notes',
|
|
convertedToTenantId: 'convertedToTenantId',
|
|
convertedAt: 'convertedAt',
|
|
lastIpHash: 'lastIpHash',
|
|
userAgent: 'userAgent',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type LeadScalarFieldEnum = (typeof LeadScalarFieldEnum)[keyof typeof LeadScalarFieldEnum]
|
|
|
|
|
|
export const LeadEventScalarFieldEnum = {
|
|
id: 'id',
|
|
leadId: 'leadId',
|
|
type: 'type',
|
|
actorId: 'actorId',
|
|
payload: 'payload',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type LeadEventScalarFieldEnum = (typeof LeadEventScalarFieldEnum)[keyof typeof LeadEventScalarFieldEnum]
|
|
|
|
|
|
export const TenantAcquisitionScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
leadId: 'leadId',
|
|
source: 'source',
|
|
utmSource: 'utmSource',
|
|
utmMedium: 'utmMedium',
|
|
utmCampaign: 'utmCampaign',
|
|
utmTerm: 'utmTerm',
|
|
utmContent: 'utmContent',
|
|
gclid: 'gclid',
|
|
fbclid: 'fbclid',
|
|
referrer: 'referrer',
|
|
landingPage: 'landingPage',
|
|
capturedAt: 'capturedAt',
|
|
convertedAt: 'convertedAt',
|
|
conversionPath: 'conversionPath',
|
|
customFields: 'customFields',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type TenantAcquisitionScalarFieldEnum = (typeof TenantAcquisitionScalarFieldEnum)[keyof typeof TenantAcquisitionScalarFieldEnum]
|
|
|
|
|
|
export const MarketingIntegrationScalarFieldEnum = {
|
|
id: 'id',
|
|
type: 'type',
|
|
name: 'name',
|
|
configJson: 'configJson',
|
|
enabled: 'enabled',
|
|
triggerEvents: 'triggerEvents',
|
|
lastDeliveredAt: 'lastDeliveredAt',
|
|
lastError: 'lastError',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type MarketingIntegrationScalarFieldEnum = (typeof MarketingIntegrationScalarFieldEnum)[keyof typeof MarketingIntegrationScalarFieldEnum]
|
|
|
|
|
|
export const McpOAuthClientScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
clientId: 'clientId',
|
|
clientName: 'clientName',
|
|
redirectUris: 'redirectUris',
|
|
grantTypes: 'grantTypes',
|
|
scopes: 'scopes',
|
|
contacts: 'contacts',
|
|
metadata: 'metadata',
|
|
active: 'active'
|
|
} as const
|
|
|
|
export type McpOAuthClientScalarFieldEnum = (typeof McpOAuthClientScalarFieldEnum)[keyof typeof McpOAuthClientScalarFieldEnum]
|
|
|
|
|
|
export const McpOAuthAuthorizationCodeScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
clientId: 'clientId',
|
|
userId: 'userId',
|
|
tenantId: 'tenantId',
|
|
tenantSlug: 'tenantSlug',
|
|
codeHash: 'codeHash',
|
|
redirectUri: 'redirectUri',
|
|
scopes: 'scopes',
|
|
resource: 'resource',
|
|
codeChallenge: 'codeChallenge',
|
|
codeChallengeMethod: 'codeChallengeMethod',
|
|
expiresAt: 'expiresAt',
|
|
consumedAt: 'consumedAt'
|
|
} as const
|
|
|
|
export type McpOAuthAuthorizationCodeScalarFieldEnum = (typeof McpOAuthAuthorizationCodeScalarFieldEnum)[keyof typeof McpOAuthAuthorizationCodeScalarFieldEnum]
|
|
|
|
|
|
export const McpOAuthAccessTokenScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
clientId: 'clientId',
|
|
userId: 'userId',
|
|
tenantId: 'tenantId',
|
|
tenantSlug: 'tenantSlug',
|
|
tokenHash: 'tokenHash',
|
|
scopes: 'scopes',
|
|
resource: 'resource',
|
|
expiresAt: 'expiresAt',
|
|
revokedAt: 'revokedAt',
|
|
refreshTokenId: 'refreshTokenId'
|
|
} as const
|
|
|
|
export type McpOAuthAccessTokenScalarFieldEnum = (typeof McpOAuthAccessTokenScalarFieldEnum)[keyof typeof McpOAuthAccessTokenScalarFieldEnum]
|
|
|
|
|
|
export const McpOAuthRefreshTokenScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
rotatedAt: 'rotatedAt',
|
|
clientId: 'clientId',
|
|
userId: 'userId',
|
|
tenantId: 'tenantId',
|
|
tenantSlug: 'tenantSlug',
|
|
tokenHash: 'tokenHash',
|
|
scopes: 'scopes',
|
|
resource: 'resource',
|
|
expiresAt: 'expiresAt',
|
|
revokedAt: 'revokedAt'
|
|
} as const
|
|
|
|
export type McpOAuthRefreshTokenScalarFieldEnum = (typeof McpOAuthRefreshTokenScalarFieldEnum)[keyof typeof McpOAuthRefreshTokenScalarFieldEnum]
|
|
|
|
|
|
export const NotificationDeliveryScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
adminUserId: 'adminUserId',
|
|
channel: 'channel',
|
|
category: 'category',
|
|
messageKey: 'messageKey',
|
|
sourceKey: 'sourceKey',
|
|
status: 'status',
|
|
attemptsMade: 'attemptsMade',
|
|
providerMessageId: 'providerMessageId',
|
|
lastError: 'lastError',
|
|
payloadMetadata: 'payloadMetadata',
|
|
sentAt: 'sentAt',
|
|
readAt: 'readAt'
|
|
} as const
|
|
|
|
export type NotificationDeliveryScalarFieldEnum = (typeof NotificationDeliveryScalarFieldEnum)[keyof typeof NotificationDeliveryScalarFieldEnum]
|
|
|
|
|
|
export const UserNotificationPreferenceScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
channel: 'channel',
|
|
category: 'category',
|
|
enabled: 'enabled'
|
|
} as const
|
|
|
|
export type UserNotificationPreferenceScalarFieldEnum = (typeof UserNotificationPreferenceScalarFieldEnum)[keyof typeof UserNotificationPreferenceScalarFieldEnum]
|
|
|
|
|
|
export const DeviceTokenScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
userId: 'userId',
|
|
tenantId: 'tenantId',
|
|
platform: 'platform',
|
|
token: 'token',
|
|
pushProvider: 'pushProvider',
|
|
appVersion: 'appVersion',
|
|
lastSeenAt: 'lastSeenAt',
|
|
revokedAt: 'revokedAt'
|
|
} as const
|
|
|
|
export type DeviceTokenScalarFieldEnum = (typeof DeviceTokenScalarFieldEnum)[keyof typeof DeviceTokenScalarFieldEnum]
|
|
|
|
|
|
export const OnboardingScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
title: 'title',
|
|
type: 'type',
|
|
realtime: 'realtime',
|
|
active: 'active',
|
|
canBeDismissed: 'canBeDismissed',
|
|
height: 'height'
|
|
} as const
|
|
|
|
export type OnboardingScalarFieldEnum = (typeof OnboardingScalarFieldEnum)[keyof typeof OnboardingScalarFieldEnum]
|
|
|
|
|
|
export const OnboardingFilterScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
onboardingId: 'onboardingId',
|
|
type: 'type',
|
|
value: 'value'
|
|
} as const
|
|
|
|
export type OnboardingFilterScalarFieldEnum = (typeof OnboardingFilterScalarFieldEnum)[keyof typeof OnboardingFilterScalarFieldEnum]
|
|
|
|
|
|
export const OnboardingStepScalarFieldEnum = {
|
|
id: 'id',
|
|
onboardingId: 'onboardingId',
|
|
order: 'order',
|
|
block: 'block'
|
|
} as const
|
|
|
|
export type OnboardingStepScalarFieldEnum = (typeof OnboardingStepScalarFieldEnum)[keyof typeof OnboardingStepScalarFieldEnum]
|
|
|
|
|
|
export const OnboardingSessionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
onboardingId: 'onboardingId',
|
|
userId: 'userId',
|
|
tenantId: 'tenantId',
|
|
status: 'status',
|
|
startedAt: 'startedAt',
|
|
completedAt: 'completedAt',
|
|
dismissedAt: 'dismissedAt',
|
|
createdRealtime: 'createdRealtime'
|
|
} as const
|
|
|
|
export type OnboardingSessionScalarFieldEnum = (typeof OnboardingSessionScalarFieldEnum)[keyof typeof OnboardingSessionScalarFieldEnum]
|
|
|
|
|
|
export const OnboardingSessionActionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
onboardingSessionId: 'onboardingSessionId',
|
|
type: 'type',
|
|
name: 'name',
|
|
value: 'value'
|
|
} as const
|
|
|
|
export type OnboardingSessionActionScalarFieldEnum = (typeof OnboardingSessionActionScalarFieldEnum)[keyof typeof OnboardingSessionActionScalarFieldEnum]
|
|
|
|
|
|
export const OnboardingSessionFilterMatchScalarFieldEnum = {
|
|
id: 'id',
|
|
onboardingFilterId: 'onboardingFilterId',
|
|
onboardingSessionId: 'onboardingSessionId'
|
|
} as const
|
|
|
|
export type OnboardingSessionFilterMatchScalarFieldEnum = (typeof OnboardingSessionFilterMatchScalarFieldEnum)[keyof typeof OnboardingSessionFilterMatchScalarFieldEnum]
|
|
|
|
|
|
export const OnboardingSessionStepScalarFieldEnum = {
|
|
id: 'id',
|
|
onboardingSessionId: 'onboardingSessionId',
|
|
stepId: 'stepId',
|
|
seenAt: 'seenAt',
|
|
completedAt: 'completedAt'
|
|
} as const
|
|
|
|
export type OnboardingSessionStepScalarFieldEnum = (typeof OnboardingSessionStepScalarFieldEnum)[keyof typeof OnboardingSessionStepScalarFieldEnum]
|
|
|
|
|
|
export const OnboardingDemoProvisioningScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
templateCode: 'templateCode',
|
|
status: 'status',
|
|
entitiesCreated: 'entitiesCreated',
|
|
removableUntil: 'removableUntil',
|
|
deletedAt: 'deletedAt'
|
|
} as const
|
|
|
|
export type OnboardingDemoProvisioningScalarFieldEnum = (typeof OnboardingDemoProvisioningScalarFieldEnum)[keyof typeof OnboardingDemoProvisioningScalarFieldEnum]
|
|
|
|
|
|
export const OutboxEventScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
eventType: 'eventType',
|
|
payload: 'payload',
|
|
status: 'status',
|
|
createdAt: 'createdAt',
|
|
processedAt: 'processedAt',
|
|
retries: 'retries',
|
|
deliveryGeneration: 'deliveryGeneration',
|
|
lastError: 'lastError',
|
|
scheduledAt: 'scheduledAt',
|
|
dispatchKey: 'dispatchKey',
|
|
priority: 'priority',
|
|
lockedUntil: 'lockedUntil'
|
|
} as const
|
|
|
|
export type OutboxEventScalarFieldEnum = (typeof OutboxEventScalarFieldEnum)[keyof typeof OutboxEventScalarFieldEnum]
|
|
|
|
|
|
export const RoleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
description: 'description',
|
|
type: 'type',
|
|
assignToNewUsers: 'assignToNewUsers',
|
|
isDefault: 'isDefault',
|
|
order: 'order',
|
|
seatCategory: 'seatCategory',
|
|
isTemplateOrigin: 'isTemplateOrigin'
|
|
} as const
|
|
|
|
export type RoleScalarFieldEnum = (typeof RoleScalarFieldEnum)[keyof typeof RoleScalarFieldEnum]
|
|
|
|
|
|
export const PermissionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
name: 'name',
|
|
description: 'description',
|
|
type: 'type',
|
|
isDefault: 'isDefault',
|
|
order: 'order'
|
|
} as const
|
|
|
|
export type PermissionScalarFieldEnum = (typeof PermissionScalarFieldEnum)[keyof typeof PermissionScalarFieldEnum]
|
|
|
|
|
|
export const RolePermissionScalarFieldEnum = {
|
|
id: 'id',
|
|
roleId: 'roleId',
|
|
permissionId: 'permissionId'
|
|
} as const
|
|
|
|
export type RolePermissionScalarFieldEnum = (typeof RolePermissionScalarFieldEnum)[keyof typeof RolePermissionScalarFieldEnum]
|
|
|
|
|
|
export const UserRoleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
userId: 'userId',
|
|
roleId: 'roleId',
|
|
tenantId: 'tenantId'
|
|
} as const
|
|
|
|
export type UserRoleScalarFieldEnum = (typeof UserRoleScalarFieldEnum)[keyof typeof UserRoleScalarFieldEnum]
|
|
|
|
|
|
export const GroupScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
createdByUserId: 'createdByUserId',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
description: 'description',
|
|
color: 'color'
|
|
} as const
|
|
|
|
export type GroupScalarFieldEnum = (typeof GroupScalarFieldEnum)[keyof typeof GroupScalarFieldEnum]
|
|
|
|
|
|
export const GroupUserScalarFieldEnum = {
|
|
id: 'id',
|
|
groupId: 'groupId',
|
|
userId: 'userId'
|
|
} as const
|
|
|
|
export type GroupUserScalarFieldEnum = (typeof GroupUserScalarFieldEnum)[keyof typeof GroupUserScalarFieldEnum]
|
|
|
|
|
|
export const PipelineAccessRequestScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
pipelineId: 'pipelineId',
|
|
requestedByUserId: 'requestedByUserId',
|
|
status: 'status',
|
|
createdAt: 'createdAt',
|
|
resolvedAt: 'resolvedAt',
|
|
resolvedByUserId: 'resolvedByUserId'
|
|
} as const
|
|
|
|
export type PipelineAccessRequestScalarFieldEnum = (typeof PipelineAccessRequestScalarFieldEnum)[keyof typeof PipelineAccessRequestScalarFieldEnum]
|
|
|
|
|
|
export const PipelineHandoverScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
createdAt: 'createdAt',
|
|
projektId: 'projektId',
|
|
fromPipelineId: 'fromPipelineId',
|
|
toPipelineId: 'toPipelineId',
|
|
fromStageId: 'fromStageId',
|
|
toStageId: 'toStageId',
|
|
performedByUserId: 'performedByUserId'
|
|
} as const
|
|
|
|
export type PipelineHandoverScalarFieldEnum = (typeof PipelineHandoverScalarFieldEnum)[keyof typeof PipelineHandoverScalarFieldEnum]
|
|
|
|
|
|
export const PipelineHandoverItemScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
handoverId: 'handoverId',
|
|
kind: 'kind',
|
|
sourceId: 'sourceId',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type PipelineHandoverItemScalarFieldEnum = (typeof PipelineHandoverItemScalarFieldEnum)[keyof typeof PipelineHandoverItemScalarFieldEnum]
|
|
|
|
|
|
export const PluginScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
pluginId: 'pluginId',
|
|
version: 'version',
|
|
manifest: 'manifest',
|
|
wasmSha256: 'wasmSha256',
|
|
signaturePublicKey: 'signaturePublicKey',
|
|
enabled: 'enabled',
|
|
installedAt: 'installedAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type PluginScalarFieldEnum = (typeof PluginScalarFieldEnum)[keyof typeof PluginScalarFieldEnum]
|
|
|
|
|
|
export const TenantPluginCapabilityGrantScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
pluginId: 'pluginId',
|
|
capabilityName: 'capabilityName',
|
|
scopeJson: 'scopeJson',
|
|
grantedAt: 'grantedAt',
|
|
grantedByUserId: 'grantedByUserId'
|
|
} as const
|
|
|
|
export type TenantPluginCapabilityGrantScalarFieldEnum = (typeof TenantPluginCapabilityGrantScalarFieldEnum)[keyof typeof TenantPluginCapabilityGrantScalarFieldEnum]
|
|
|
|
|
|
export const PluginUserConfigScalarFieldEnum = {
|
|
id: 'id',
|
|
pluginId: 'pluginId',
|
|
userId: 'userId',
|
|
enabled: 'enabled',
|
|
configJson: 'configJson',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type PluginUserConfigScalarFieldEnum = (typeof PluginUserConfigScalarFieldEnum)[keyof typeof PluginUserConfigScalarFieldEnum]
|
|
|
|
|
|
export const PluginInvocationScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
pluginId: 'pluginId',
|
|
version: 'version',
|
|
hookName: 'hookName',
|
|
outcome: 'outcome',
|
|
failureReason: 'failureReason',
|
|
message: 'message',
|
|
durationMs: 'durationMs',
|
|
fuelUsed: 'fuelUsed',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type PluginInvocationScalarFieldEnum = (typeof PluginInvocationScalarFieldEnum)[keyof typeof PluginInvocationScalarFieldEnum]
|
|
|
|
|
|
export const PluginCapabilityUseScalarFieldEnum = {
|
|
id: 'id',
|
|
pluginInvocationId: 'pluginInvocationId',
|
|
tenantId: 'tenantId',
|
|
pluginId: 'pluginId',
|
|
capability: 'capability',
|
|
payloadHash: 'payloadHash',
|
|
outcome: 'outcome',
|
|
errorCode: 'errorCode',
|
|
durationMs: 'durationMs',
|
|
timestamp: 'timestamp',
|
|
prevHash: 'prevHash',
|
|
rowHash: 'rowHash'
|
|
} as const
|
|
|
|
export type PluginCapabilityUseScalarFieldEnum = (typeof PluginCapabilityUseScalarFieldEnum)[keyof typeof PluginCapabilityUseScalarFieldEnum]
|
|
|
|
|
|
export const PortalScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
subdomain: 'subdomain',
|
|
title: 'title',
|
|
isPublished: 'isPublished',
|
|
paymentProviderAccountId: 'paymentProviderAccountId',
|
|
themeColor: 'themeColor',
|
|
themeScheme: 'themeScheme',
|
|
seoTitle: 'seoTitle',
|
|
seoDescription: 'seoDescription',
|
|
seoImage: 'seoImage',
|
|
seoThumbnail: 'seoThumbnail',
|
|
seoTwitterCreator: 'seoTwitterCreator',
|
|
seoTwitterSite: 'seoTwitterSite',
|
|
seoKeywords: 'seoKeywords',
|
|
authRequireEmailVerification: 'authRequireEmailVerification',
|
|
authRequireOrganization: 'authRequireOrganization',
|
|
authRequireName: 'authRequireName',
|
|
analyticsSimpleAnalytics: 'analyticsSimpleAnalytics',
|
|
analyticsPlausibleAnalytics: 'analyticsPlausibleAnalytics',
|
|
analyticsGoogleAnalyticsTrackingId: 'analyticsGoogleAnalyticsTrackingId',
|
|
brandingLogo: 'brandingLogo',
|
|
brandingLogoDarkMode: 'brandingLogoDarkMode',
|
|
brandingIcon: 'brandingIcon',
|
|
brandingIconDarkMode: 'brandingIconDarkMode',
|
|
brandingFavicon: 'brandingFavicon',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type PortalScalarFieldEnum = (typeof PortalScalarFieldEnum)[keyof typeof PortalScalarFieldEnum]
|
|
|
|
|
|
export const PortalUserScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
email: 'email',
|
|
emailNormalized: 'emailNormalized',
|
|
passwordHash: 'passwordHash',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
avatar: 'avatar',
|
|
phone: 'phone',
|
|
kind: 'kind',
|
|
status: 'status',
|
|
locale: 'locale',
|
|
emailVerifiedAt: 'emailVerifiedAt',
|
|
privacyNoticeAcknowledgedAt: 'privacyNoticeAcknowledgedAt',
|
|
privacyNoticeAcknowledgedUrl: 'privacyNoticeAcknowledgedUrl',
|
|
archivedAt: 'archivedAt',
|
|
lastLoginAt: 'lastLoginAt',
|
|
lastActivityAt: 'lastActivityAt',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalUserScalarFieldEnum = (typeof PortalUserScalarFieldEnum)[keyof typeof PortalUserScalarFieldEnum]
|
|
|
|
|
|
export const PortalSessionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalUserId: 'portalUserId',
|
|
tokenHash: 'tokenHash',
|
|
expiresAt: 'expiresAt',
|
|
lastSeenAt: 'lastSeenAt',
|
|
revokedAt: 'revokedAt',
|
|
ipAddressHash: 'ipAddressHash',
|
|
userAgent: 'userAgent',
|
|
origin: 'origin'
|
|
} as const
|
|
|
|
export type PortalSessionScalarFieldEnum = (typeof PortalSessionScalarFieldEnum)[keyof typeof PortalSessionScalarFieldEnum]
|
|
|
|
|
|
export const PortalDomainHostnameClaimScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
hostname: 'hostname',
|
|
verificationTokenHash: 'verificationTokenHash',
|
|
verificationTokenExpiresAt: 'verificationTokenExpiresAt',
|
|
dnsStatus: 'dnsStatus',
|
|
txtVerifiedAt: 'txtVerifiedAt',
|
|
cnameVerifiedAt: 'cnameVerifiedAt',
|
|
verifiedAt: 'verifiedAt',
|
|
lastDnsCheckedAt: 'lastDnsCheckedAt',
|
|
verificationAttemptCount: 'verificationAttemptCount',
|
|
lastDnsObservation: 'lastDnsObservation',
|
|
generation: 'generation',
|
|
billingScopeKey: 'billingScopeKey',
|
|
idempotencyKey: 'idempotencyKey',
|
|
claimedAt: 'claimedAt',
|
|
releasedAt: 'releasedAt',
|
|
cooldownUntil: 'cooldownUntil',
|
|
deprovisionedAt: 'deprovisionedAt',
|
|
deprovisionCommandHash: 'deprovisionCommandHash',
|
|
deprovisionResultHash: 'deprovisionResultHash',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalDomainHostnameClaimScalarFieldEnum = (typeof PortalDomainHostnameClaimScalarFieldEnum)[keyof typeof PortalDomainHostnameClaimScalarFieldEnum]
|
|
|
|
|
|
export const PortalCustomDomainScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
claimId: 'claimId',
|
|
generation: 'generation',
|
|
status: 'status',
|
|
activeOrigin: 'activeOrigin',
|
|
entitlementValidatedAt: 'entitlementValidatedAt',
|
|
paymentAcquisitionId: 'paymentAcquisitionId',
|
|
controllerCommandId: 'controllerCommandId',
|
|
controllerContentHash: 'controllerContentHash',
|
|
controllerResultContentHash: 'controllerResultContentHash',
|
|
controllerResultAttempt: 'controllerResultAttempt',
|
|
controllerResultStatus: 'controllerResultStatus',
|
|
lastHealthAckAt: 'lastHealthAckAt',
|
|
provisionedAt: 'provisionedAt',
|
|
nextRevalidationAt: 'nextRevalidationAt',
|
|
firstFailureAt: 'firstFailureAt',
|
|
lastFailureAt: 'lastFailureAt',
|
|
failureCount: 'failureCount',
|
|
lastFailureCode: 'lastFailureCode',
|
|
nextRetryAt: 'nextRetryAt',
|
|
tlsObservedAt: 'tlsObservedAt',
|
|
certificateExpiresAt: 'certificateExpiresAt',
|
|
disabledAt: 'disabledAt',
|
|
disabledReason: 'disabledReason',
|
|
deprovisioningStartedAt: 'deprovisioningStartedAt',
|
|
deprovisionedAt: 'deprovisionedAt',
|
|
killSwitchEnabled: 'killSwitchEnabled',
|
|
killSwitchReason: 'killSwitchReason',
|
|
cooldownUntil: 'cooldownUntil',
|
|
releasedAt: 'releasedAt',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalCustomDomainScalarFieldEnum = (typeof PortalCustomDomainScalarFieldEnum)[keyof typeof PortalCustomDomainScalarFieldEnum]
|
|
|
|
|
|
export const PortalTokenScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
portalUserId: 'portalUserId',
|
|
purpose: 'purpose',
|
|
tokenHash: 'tokenHash',
|
|
expiresAt: 'expiresAt',
|
|
consumedAt: 'consumedAt',
|
|
revokedAt: 'revokedAt',
|
|
requestedIpHash: 'requestedIpHash'
|
|
} as const
|
|
|
|
export type PortalTokenScalarFieldEnum = (typeof PortalTokenScalarFieldEnum)[keyof typeof PortalTokenScalarFieldEnum]
|
|
|
|
|
|
export const PortalProjectAccessScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId',
|
|
projectId: 'projectId',
|
|
active: 'active',
|
|
statusEmailsEnabled: 'statusEmailsEnabled',
|
|
revokedAt: 'revokedAt',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalProjectAccessScalarFieldEnum = (typeof PortalProjectAccessScalarFieldEnum)[keyof typeof PortalProjectAccessScalarFieldEnum]
|
|
|
|
|
|
export const PortalStageVisibilityScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
stageId: 'stageId',
|
|
visible: 'visible',
|
|
customerLabel: 'customerLabel',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalStageVisibilityScalarFieldEnum = (typeof PortalStageVisibilityScalarFieldEnum)[keyof typeof PortalStageVisibilityScalarFieldEnum]
|
|
|
|
|
|
export const PortalProjectDocumentScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
projectId: 'projectId',
|
|
fileId: 'fileId',
|
|
releasedAt: 'releasedAt',
|
|
releasedByUserId: 'releasedByUserId',
|
|
revokedAt: 'revokedAt',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalProjectDocumentScalarFieldEnum = (typeof PortalProjectDocumentScalarFieldEnum)[keyof typeof PortalProjectDocumentScalarFieldEnum]
|
|
|
|
|
|
export const PortalEmailTemplateScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
stageId: 'stageId',
|
|
locale: 'locale',
|
|
subject: 'subject',
|
|
body: 'body',
|
|
active: 'active',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalEmailTemplateScalarFieldEnum = (typeof PortalEmailTemplateScalarFieldEnum)[keyof typeof PortalEmailTemplateScalarFieldEnum]
|
|
|
|
|
|
export const PortalUploadScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId',
|
|
projectId: 'projectId',
|
|
fileUploadId: 'fileUploadId',
|
|
fileId: 'fileId',
|
|
fileEntityLinkId: 'fileEntityLinkId',
|
|
category: 'category',
|
|
description: 'description',
|
|
status: 'status',
|
|
quotaBytes: 'quotaBytes',
|
|
requestChecksumSha256: 'requestChecksumSha256',
|
|
scanCompletedAt: 'scanCompletedAt',
|
|
completedAt: 'completedAt',
|
|
effectsCompletedAt: 'effectsCompletedAt',
|
|
failedAt: 'failedAt',
|
|
failureCode: 'failureCode',
|
|
idempotencyKey: 'idempotencyKey',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalUploadScalarFieldEnum = (typeof PortalUploadScalarFieldEnum)[keyof typeof PortalUploadScalarFieldEnum]
|
|
|
|
|
|
export const PortalComplaintScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId',
|
|
projectId: 'projectId',
|
|
formSubmissionId: 'formSubmissionId',
|
|
subject: 'subject',
|
|
status: 'status',
|
|
effectsCompletedAt: 'effectsCompletedAt',
|
|
resolvedAt: 'resolvedAt',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalComplaintScalarFieldEnum = (typeof PortalComplaintScalarFieldEnum)[keyof typeof PortalComplaintScalarFieldEnum]
|
|
|
|
|
|
export const PortalSubcontractorAccessScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId',
|
|
projectId: 'projectId',
|
|
projectAccessId: 'projectAccessId',
|
|
companyName: 'companyName',
|
|
roleLabel: 'roleLabel',
|
|
validFrom: 'validFrom',
|
|
validUntil: 'validUntil',
|
|
visibleStageIds: 'visibleStageIds',
|
|
visibleDocumentTypes: 'visibleDocumentTypes',
|
|
canSeeOtherSubcontractors: 'canSeeOtherSubcontractors',
|
|
canUpload: 'canUpload',
|
|
active: 'active',
|
|
revokedAt: 'revokedAt',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalSubcontractorAccessScalarFieldEnum = (typeof PortalSubcontractorAccessScalarFieldEnum)[keyof typeof PortalSubcontractorAccessScalarFieldEnum]
|
|
|
|
|
|
export const PortalConfigurationScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
lifecycleMode: 'lifecycleMode',
|
|
projectAutoCloseMonths: 'projectAutoCloseMonths',
|
|
inactivityDisableMonths: 'inactivityDisableMonths',
|
|
enabledProjectTypes: 'enabledProjectTypes',
|
|
uploadMaxFiles: 'uploadMaxFiles',
|
|
uploadMaxFileSizeBytes: 'uploadMaxFileSizeBytes',
|
|
statusEmailsEnabled: 'statusEmailsEnabled',
|
|
welcomeMessage: 'welcomeMessage',
|
|
supportEmail: 'supportEmail',
|
|
supportPhone: 'supportPhone',
|
|
imprintUrl: 'imprintUrl',
|
|
privacyUrl: 'privacyUrl',
|
|
termsUrl: 'termsUrl',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalConfigurationScalarFieldEnum = (typeof PortalConfigurationScalarFieldEnum)[keyof typeof PortalConfigurationScalarFieldEnum]
|
|
|
|
|
|
export const PortalDocumentAutoReleaseRuleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
projectType: 'projectType',
|
|
documentType: 'documentType',
|
|
enabled: 'enabled',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalDocumentAutoReleaseRuleScalarFieldEnum = (typeof PortalDocumentAutoReleaseRuleScalarFieldEnum)[keyof typeof PortalDocumentAutoReleaseRuleScalarFieldEnum]
|
|
|
|
|
|
export const PortalNotificationPreferenceScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalUserId: 'portalUserId',
|
|
eventType: 'eventType',
|
|
emailEnabled: 'emailEnabled',
|
|
mutedUntil: 'mutedUntil'
|
|
} as const
|
|
|
|
export type PortalNotificationPreferenceScalarFieldEnum = (typeof PortalNotificationPreferenceScalarFieldEnum)[keyof typeof PortalNotificationPreferenceScalarFieldEnum]
|
|
|
|
|
|
export const PortalServiceInboxItemScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId',
|
|
projectId: 'projectId',
|
|
kind: 'kind',
|
|
status: 'status',
|
|
priority: 'priority',
|
|
sourceKey: 'sourceKey',
|
|
sourceId: 'sourceId',
|
|
titleKey: 'titleKey',
|
|
metadata: 'metadata',
|
|
occurredAt: 'occurredAt',
|
|
lastOccurredAt: 'lastOccurredAt',
|
|
bundledCount: 'bundledCount',
|
|
expiresAt: 'expiresAt',
|
|
ownerUserId: 'ownerUserId',
|
|
routingRuleId: 'routingRuleId',
|
|
resolvedAt: 'resolvedAt',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalServiceInboxItemScalarFieldEnum = (typeof PortalServiceInboxItemScalarFieldEnum)[keyof typeof PortalServiceInboxItemScalarFieldEnum]
|
|
|
|
|
|
export const PortalActivityRoutingRuleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
activityType: 'activityType',
|
|
targetKind: 'targetKind',
|
|
targetUserId: 'targetUserId',
|
|
targetRoleId: 'targetRoleId',
|
|
priority: 'priority',
|
|
enabled: 'enabled',
|
|
notifyEnabled: 'notifyEnabled',
|
|
matchConfig: 'matchConfig',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PortalActivityRoutingRuleScalarFieldEnum = (typeof PortalActivityRoutingRuleScalarFieldEnum)[keyof typeof PortalActivityRoutingRuleScalarFieldEnum]
|
|
|
|
|
|
export const PortalDeletionRequestScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId',
|
|
status: 'status',
|
|
requestedAt: 'requestedAt',
|
|
confirmedAt: 'confirmedAt',
|
|
confirmationEmailSentAt: 'confirmationEmailSentAt',
|
|
cancellableUntil: 'cancellableUntil',
|
|
cancelledAt: 'cancelledAt',
|
|
processingStartedAt: 'processingStartedAt',
|
|
completedAt: 'completedAt',
|
|
failureCode: 'failureCode',
|
|
idempotencyKey: 'idempotencyKey'
|
|
} as const
|
|
|
|
export type PortalDeletionRequestScalarFieldEnum = (typeof PortalDeletionRequestScalarFieldEnum)[keyof typeof PortalDeletionRequestScalarFieldEnum]
|
|
|
|
|
|
export const PortalGdprExportJobScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId',
|
|
requestedByUserId: 'requestedByUserId',
|
|
status: 'status',
|
|
progressPercent: 'progressPercent',
|
|
resultFileId: 'resultFileId',
|
|
resultBucket: 'resultBucket',
|
|
resultKey: 'resultKey',
|
|
resultSizeBytes: 'resultSizeBytes',
|
|
resultExpiresAt: 'resultExpiresAt',
|
|
downloadCount: 'downloadCount',
|
|
lastDownloadedAt: 'lastDownloadedAt',
|
|
processingStartedAt: 'processingStartedAt',
|
|
processingFinishedAt: 'processingFinishedAt',
|
|
failureCode: 'failureCode',
|
|
idempotencyKey: 'idempotencyKey'
|
|
} as const
|
|
|
|
export type PortalGdprExportJobScalarFieldEnum = (typeof PortalGdprExportJobScalarFieldEnum)[keyof typeof PortalGdprExportJobScalarFieldEnum]
|
|
|
|
|
|
export const PortalPageScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
portalId: 'portalId',
|
|
name: 'name',
|
|
attributes: 'attributes'
|
|
} as const
|
|
|
|
export type PortalPageScalarFieldEnum = (typeof PortalPageScalarFieldEnum)[keyof typeof PortalPageScalarFieldEnum]
|
|
|
|
|
|
export const HiveNumberSeqScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
entityType: 'entityType',
|
|
prefix: 'prefix',
|
|
nextNumber: 'nextNumber',
|
|
padding: 'padding',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type HiveNumberSeqScalarFieldEnum = (typeof HiveNumberSeqScalarFieldEnum)[keyof typeof HiveNumberSeqScalarFieldEnum]
|
|
|
|
|
|
export const PipelineScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
createdByUserId: 'createdByUserId',
|
|
name: 'name',
|
|
typHint: 'typHint',
|
|
position: 'position',
|
|
isDefault: 'isDefault',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt',
|
|
nachfolgePipelineId: 'nachfolgePipelineId'
|
|
} as const
|
|
|
|
export type PipelineScalarFieldEnum = (typeof PipelineScalarFieldEnum)[keyof typeof PipelineScalarFieldEnum]
|
|
|
|
|
|
export const PipelineStageScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
pipelineId: 'pipelineId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
name: 'name',
|
|
stageKind: 'stageKind',
|
|
winProbability: 'winProbability',
|
|
color: 'color',
|
|
position: 'position',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type PipelineStageScalarFieldEnum = (typeof PipelineStageScalarFieldEnum)[keyof typeof PipelineStageScalarFieldEnum]
|
|
|
|
|
|
export const PipelineAccessScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
pipelineId: 'pipelineId',
|
|
principalType: 'principalType',
|
|
principalId: 'principalId',
|
|
kannSehen: 'kannSehen',
|
|
kannBearbeiten: 'kannBearbeiten',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type PipelineAccessScalarFieldEnum = (typeof PipelineAccessScalarFieldEnum)[keyof typeof PipelineAccessScalarFieldEnum]
|
|
|
|
|
|
export const PipelineFieldGroupScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
pipelineId: 'pipelineId',
|
|
name: 'name',
|
|
reihenfolge: 'reihenfolge',
|
|
istSystem: 'istSystem',
|
|
isDemoData: 'isDemoData',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type PipelineFieldGroupScalarFieldEnum = (typeof PipelineFieldGroupScalarFieldEnum)[keyof typeof PipelineFieldGroupScalarFieldEnum]
|
|
|
|
|
|
export const PipelineFieldConfigScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
pipelineId: 'pipelineId',
|
|
stageId: 'stageId',
|
|
fieldKey: 'fieldKey',
|
|
sichtbar: 'sichtbar',
|
|
pflicht: 'pflicht',
|
|
reihenfolge: 'reihenfolge',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
groupId: 'groupId',
|
|
pflichtAbStageId: 'pflichtAbStageId',
|
|
hinweis: 'hinweis',
|
|
istSystem: 'istSystem',
|
|
gesperrt: 'gesperrt'
|
|
} as const
|
|
|
|
export type PipelineFieldConfigScalarFieldEnum = (typeof PipelineFieldConfigScalarFieldEnum)[keyof typeof PipelineFieldConfigScalarFieldEnum]
|
|
|
|
|
|
export const PipelineFieldVisibilityScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
fieldConfigId: 'fieldConfigId',
|
|
principalType: 'principalType',
|
|
principalId: 'principalId',
|
|
kannSehen: 'kannSehen',
|
|
kannBearbeiten: 'kannBearbeiten',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type PipelineFieldVisibilityScalarFieldEnum = (typeof PipelineFieldVisibilityScalarFieldEnum)[keyof typeof PipelineFieldVisibilityScalarFieldEnum]
|
|
|
|
|
|
export const LostReasonScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
name: 'name',
|
|
beschreibung: 'beschreibung',
|
|
kategorie: 'kategorie',
|
|
istVorlage: 'istVorlage',
|
|
position: 'position',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type LostReasonScalarFieldEnum = (typeof LostReasonScalarFieldEnum)[keyof typeof LostReasonScalarFieldEnum]
|
|
|
|
|
|
export const ProjektScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
createdByUserId: 'createdByUserId',
|
|
projektNummer: 'projektNummer',
|
|
projektname: 'projektname',
|
|
beschreibung: 'beschreibung',
|
|
projekttyp: 'projekttyp',
|
|
quelle: 'quelle',
|
|
promotion: 'promotion',
|
|
email: 'email',
|
|
telefon: 'telefon',
|
|
fax: 'fax',
|
|
prioritaet: 'prioritaet',
|
|
pipelineId: 'pipelineId',
|
|
stageId: 'stageId',
|
|
potenziellerAuftragswert: 'potenziellerAuftragswert',
|
|
auftragsvolumen: 'auftragsvolumen',
|
|
startDatum: 'startDatum',
|
|
deadline: 'deadline',
|
|
zustaendigePersonId: 'zustaendigePersonId',
|
|
projektleiterId: 'projektleiterId',
|
|
projektAdresseId: 'projektAdresseId',
|
|
rechnungsAdresseId: 'rechnungsAdresseId',
|
|
bauherrAdresseId: 'bauherrAdresseId',
|
|
konvertiertAusLeadId: 'konvertiertAusLeadId',
|
|
lostReasonId: 'lostReasonId',
|
|
wonAt: 'wonAt',
|
|
lostAt: 'lostAt',
|
|
undoStageChangeUntil: 'undoStageChangeUntil',
|
|
redoStageId: 'redoStageId',
|
|
redoLostReasonId: 'redoLostReasonId',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type ProjektScalarFieldEnum = (typeof ProjektScalarFieldEnum)[keyof typeof ProjektScalarFieldEnum]
|
|
|
|
|
|
export const ProjektStageChangeScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
projektId: 'projektId',
|
|
fromStageId: 'fromStageId',
|
|
toStageId: 'toStageId',
|
|
lostReasonId: 'lostReasonId',
|
|
notiz: 'notiz',
|
|
changedByUserId: 'changedByUserId',
|
|
undoUntil: 'undoUntil',
|
|
undoneAt: 'undoneAt',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type ProjektStageChangeScalarFieldEnum = (typeof ProjektStageChangeScalarFieldEnum)[keyof typeof ProjektStageChangeScalarFieldEnum]
|
|
|
|
|
|
export const PipelineAggregateSnapshotScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
pipelineId: 'pipelineId',
|
|
stageId: 'stageId',
|
|
scopeKey: 'scopeKey',
|
|
projectCount: 'projectCount',
|
|
potentialValue: 'potentialValue',
|
|
orderVolume: 'orderVolume',
|
|
weightedForecast: 'weightedForecast',
|
|
realizedRevenue: 'realizedRevenue',
|
|
lostCount: 'lostCount',
|
|
stageConversionRate: 'stageConversionRate',
|
|
lostReasonDistribution: 'lostReasonDistribution',
|
|
isDemoDataIncluded: 'isDemoDataIncluded',
|
|
calculatedAt: 'calculatedAt'
|
|
} as const
|
|
|
|
export type PipelineAggregateSnapshotScalarFieldEnum = (typeof PipelineAggregateSnapshotScalarFieldEnum)[keyof typeof PipelineAggregateSnapshotScalarFieldEnum]
|
|
|
|
|
|
export const ProjektKontaktScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
createdAt: 'createdAt',
|
|
projektId: 'projektId',
|
|
kontaktId: 'kontaktId',
|
|
rolle: 'rolle',
|
|
primaer: 'primaer'
|
|
} as const
|
|
|
|
export type ProjektKontaktScalarFieldEnum = (typeof ProjektKontaktScalarFieldEnum)[keyof typeof ProjektKontaktScalarFieldEnum]
|
|
|
|
|
|
export const ProjektAdressDetailScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
projektId: 'projektId',
|
|
slot: 'slot',
|
|
bauabschnitt: 'bauabschnitt',
|
|
zufahrt: 'zufahrt',
|
|
koordinaten: 'koordinaten',
|
|
empfaenger: 'empfaenger',
|
|
zahlungsziel: 'zahlungsziel',
|
|
rechnungsEmail: 'rechnungsEmail',
|
|
postErwuenscht: 'postErwuenscht',
|
|
telefon: 'telefon',
|
|
ansprechpartnerVorOrt: 'ansprechpartnerVorOrt',
|
|
notizen: 'notizen'
|
|
} as const
|
|
|
|
export type ProjektAdressDetailScalarFieldEnum = (typeof ProjektAdressDetailScalarFieldEnum)[keyof typeof ProjektAdressDetailScalarFieldEnum]
|
|
|
|
|
|
export const ProjektNotizScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
projektId: 'projektId',
|
|
autorUserId: 'autorUserId',
|
|
inhalt: 'inhalt',
|
|
sichtbarkeit: 'sichtbarkeit',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type ProjektNotizScalarFieldEnum = (typeof ProjektNotizScalarFieldEnum)[keyof typeof ProjektNotizScalarFieldEnum]
|
|
|
|
|
|
export const PublicIncomingWebhookEndpointScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
slug: 'slug',
|
|
name: 'name',
|
|
authMode: 'authMode',
|
|
apiKeyId: 'apiKeyId',
|
|
tokenHash: 'tokenHash',
|
|
tokenPrefix: 'tokenPrefix',
|
|
tokenLastFour: 'tokenLastFour',
|
|
hmacSecretHash: 'hmacSecretHash',
|
|
hmacSecretPrefix: 'hmacSecretPrefix',
|
|
hmacSecretLastFour: 'hmacSecretLastFour',
|
|
payloadMapping: 'payloadMapping',
|
|
autoMatchRules: 'autoMatchRules',
|
|
status: 'status',
|
|
pausedAt: 'pausedAt',
|
|
archivedAt: 'archivedAt',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PublicIncomingWebhookEndpointScalarFieldEnum = (typeof PublicIncomingWebhookEndpointScalarFieldEnum)[keyof typeof PublicIncomingWebhookEndpointScalarFieldEnum]
|
|
|
|
|
|
export const PublicWebhookIngestionLogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
endpointId: 'endpointId',
|
|
endpointSlug: 'endpointSlug',
|
|
authMode: 'authMode',
|
|
requestId: 'requestId',
|
|
sourceIp: 'sourceIp',
|
|
status: 'status',
|
|
result: 'result',
|
|
payloadHash: 'payloadHash',
|
|
payloadPreview: 'payloadPreview',
|
|
leadId: 'leadId',
|
|
matchedKontaktId: 'matchedKontaktId',
|
|
automationRunId: 'automationRunId',
|
|
error: 'error'
|
|
} as const
|
|
|
|
export type PublicWebhookIngestionLogScalarFieldEnum = (typeof PublicWebhookIngestionLogScalarFieldEnum)[keyof typeof PublicWebhookIngestionLogScalarFieldEnum]
|
|
|
|
|
|
export const PublicWebhookSubscriptionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
targetUrl: 'targetUrl',
|
|
eventTypes: 'eventTypes',
|
|
signingSecretHash: 'signingSecretHash',
|
|
signingSecretPrefix: 'signingSecretPrefix',
|
|
signingSecretLastFour: 'signingSecretLastFour',
|
|
status: 'status',
|
|
failureCount: 'failureCount',
|
|
lastDeliveredAt: 'lastDeliveredAt',
|
|
lastErrorAt: 'lastErrorAt',
|
|
autoDisabledAt: 'autoDisabledAt',
|
|
pausedAt: 'pausedAt',
|
|
archivedAt: 'archivedAt',
|
|
createdByUserId: 'createdByUserId',
|
|
isDemoData: 'isDemoData'
|
|
} as const
|
|
|
|
export type PublicWebhookSubscriptionScalarFieldEnum = (typeof PublicWebhookSubscriptionScalarFieldEnum)[keyof typeof PublicWebhookSubscriptionScalarFieldEnum]
|
|
|
|
|
|
export const PublicWebhookDeliveryLogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
subscriptionId: 'subscriptionId',
|
|
eventType: 'eventType',
|
|
targetUrl: 'targetUrl',
|
|
status: 'status',
|
|
httpStatus: 'httpStatus',
|
|
attempt: 'attempt',
|
|
maxAttempts: 'maxAttempts',
|
|
nextAttemptAt: 'nextAttemptAt',
|
|
idempotencyKey: 'idempotencyKey',
|
|
payloadHash: 'payloadHash',
|
|
error: 'error',
|
|
responsePreview: 'responsePreview',
|
|
sentAt: 'sentAt'
|
|
} as const
|
|
|
|
export type PublicWebhookDeliveryLogScalarFieldEnum = (typeof PublicWebhookDeliveryLogScalarFieldEnum)[keyof typeof PublicWebhookDeliveryLogScalarFieldEnum]
|
|
|
|
|
|
export const QueueFailedJobScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
queueName: 'queueName',
|
|
jobName: 'jobName',
|
|
jobId: 'jobId',
|
|
attemptsMade: 'attemptsMade',
|
|
attemptsLimit: 'attemptsLimit',
|
|
errorName: 'errorName',
|
|
errorMessage: 'errorMessage',
|
|
failedAt: 'failedAt'
|
|
} as const
|
|
|
|
export type QueueFailedJobScalarFieldEnum = (typeof QueueFailedJobScalarFieldEnum)[keyof typeof QueueFailedJobScalarFieldEnum]
|
|
|
|
|
|
export const ExportJobScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
requestedByUserId: 'requestedByUserId',
|
|
exportType: 'exportType',
|
|
format: 'format',
|
|
status: 'status',
|
|
requestId: 'requestId',
|
|
attemptsMade: 'attemptsMade',
|
|
artifactBucket: 'artifactBucket',
|
|
artifactKey: 'artifactKey',
|
|
rowCount: 'rowCount',
|
|
errorName: 'errorName',
|
|
errorMessage: 'errorMessage',
|
|
retentionErrorMessage: 'retentionErrorMessage',
|
|
expiresAt: 'expiresAt',
|
|
deletedAt: 'deletedAt',
|
|
hardDeletedAt: 'hardDeletedAt',
|
|
startedAt: 'startedAt',
|
|
finishedAt: 'finishedAt',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type ExportJobScalarFieldEnum = (typeof ExportJobScalarFieldEnum)[keyof typeof ExportJobScalarFieldEnum]
|
|
|
|
|
|
export const SearchIndexEntryScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
entityType: 'entityType',
|
|
entityId: 'entityId',
|
|
title: 'title',
|
|
subtitle: 'subtitle',
|
|
bodyText: 'bodyText',
|
|
routePath: 'routePath',
|
|
sourceIndex: 'sourceIndex',
|
|
permissionSubject: 'permissionSubject',
|
|
lastIndexedAt: 'lastIndexedAt',
|
|
isArchived: 'isArchived',
|
|
isDemoData: 'isDemoData',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type SearchIndexEntryScalarFieldEnum = (typeof SearchIndexEntryScalarFieldEnum)[keyof typeof SearchIndexEntryScalarFieldEnum]
|
|
|
|
|
|
export const RecentSearchScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
queryText: 'queryText',
|
|
appliedFilters: 'appliedFilters',
|
|
resultCount: 'resultCount'
|
|
} as const
|
|
|
|
export type RecentSearchScalarFieldEnum = (typeof RecentSearchScalarFieldEnum)[keyof typeof RecentSearchScalarFieldEnum]
|
|
|
|
|
|
export const SignatureProviderConnectionScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
provider: 'provider',
|
|
dataConnectionId: 'dataConnectionId',
|
|
label: 'label',
|
|
isDefault: 'isDefault',
|
|
webhookSharedKeyId: 'webhookSharedKeyId',
|
|
healthMessageKey: 'healthMessageKey',
|
|
isDemoData: 'isDemoData',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type SignatureProviderConnectionScalarFieldEnum = (typeof SignatureProviderConnectionScalarFieldEnum)[keyof typeof SignatureProviderConnectionScalarFieldEnum]
|
|
|
|
|
|
export const ProjektSignatureDocumentScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
projektId: 'projektId',
|
|
providerConnectionId: 'providerConnectionId',
|
|
provider: 'provider',
|
|
providerDocumentId: 'providerDocumentId',
|
|
sourcePdfFileId: 'sourcePdfFileId',
|
|
signedPdfFileId: 'signedPdfFileId',
|
|
completionCertFileId: 'completionCertFileId',
|
|
status: 'status',
|
|
routingMode: 'routingMode',
|
|
title: 'title',
|
|
subject: 'subject',
|
|
message: 'message',
|
|
externalStatusPayload: 'externalStatusPayload',
|
|
documentHashSha256: 'documentHashSha256',
|
|
sealedPdfHashSha256: 'sealedPdfHashSha256',
|
|
completionCertHashSha256: 'completionCertHashSha256',
|
|
sentAt: 'sentAt',
|
|
completedAt: 'completedAt',
|
|
revokedAt: 'revokedAt',
|
|
declinedAt: 'declinedAt',
|
|
expiresAt: 'expiresAt',
|
|
createdByUserId: 'createdByUserId',
|
|
isDemoData: 'isDemoData',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type ProjektSignatureDocumentScalarFieldEnum = (typeof ProjektSignatureDocumentScalarFieldEnum)[keyof typeof ProjektSignatureDocumentScalarFieldEnum]
|
|
|
|
|
|
export const ProjektSignatureSignerScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
documentId: 'documentId',
|
|
signerEmail: 'signerEmail',
|
|
signerName: 'signerName',
|
|
signerRole: 'signerRole',
|
|
linkedKontaktId: 'linkedKontaktId',
|
|
status: 'status',
|
|
signingOrder: 'signingOrder',
|
|
accessTokenHash: 'accessTokenHash',
|
|
otpHash: 'otpHash',
|
|
otpExpiresAt: 'otpExpiresAt',
|
|
lastLinkOpenedAt: 'lastLinkOpenedAt',
|
|
lastReminderAt: 'lastReminderAt',
|
|
viewedAt: 'viewedAt',
|
|
signedAt: 'signedAt',
|
|
declinedAt: 'declinedAt',
|
|
revokedAt: 'revokedAt',
|
|
signerIpHash: 'signerIpHash',
|
|
signerUserAgent: 'signerUserAgent',
|
|
intentText: 'intentText',
|
|
signatureSvg: 'signatureSvg',
|
|
signatureImageFileId: 'signatureImageFileId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type ProjektSignatureSignerScalarFieldEnum = (typeof ProjektSignatureSignerScalarFieldEnum)[keyof typeof ProjektSignatureSignerScalarFieldEnum]
|
|
|
|
|
|
export const SignatureEventScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
documentId: 'documentId',
|
|
signerId: 'signerId',
|
|
eventType: 'eventType',
|
|
actorUserId: 'actorUserId',
|
|
providerEventId: 'providerEventId',
|
|
ipHash: 'ipHash',
|
|
userAgent: 'userAgent',
|
|
metadata: 'metadata',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type SignatureEventScalarFieldEnum = (typeof SignatureEventScalarFieldEnum)[keyof typeof SignatureEventScalarFieldEnum]
|
|
|
|
|
|
export const SiteScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
type: 'type',
|
|
siteId: 'siteId',
|
|
name: 'name',
|
|
isActive: 'isActive',
|
|
branding: 'branding',
|
|
copy: 'copy',
|
|
serverName: 'serverName',
|
|
serverHost: 'serverHost',
|
|
serverResolution: 'serverResolution',
|
|
createdByUserId: 'createdByUserId'
|
|
} as const
|
|
|
|
export type SiteScalarFieldEnum = (typeof SiteScalarFieldEnum)[keyof typeof SiteScalarFieldEnum]
|
|
|
|
|
|
export const SubscriptionProductScalarFieldEnum = {
|
|
id: 'id',
|
|
billingProviderId: 'billingProviderId',
|
|
code: 'code',
|
|
lagoPlanCode: 'lagoPlanCode',
|
|
kind: 'kind',
|
|
order: 'order',
|
|
title: 'title',
|
|
active: 'active',
|
|
model: 'model',
|
|
public: 'public',
|
|
groupTitle: 'groupTitle',
|
|
groupDescription: 'groupDescription',
|
|
description: 'description',
|
|
badge: 'badge',
|
|
billingAddressCollection: 'billingAddressCollection',
|
|
hasQuantity: 'hasQuantity',
|
|
canBuyAgain: 'canBuyAgain'
|
|
} as const
|
|
|
|
export type SubscriptionProductScalarFieldEnum = (typeof SubscriptionProductScalarFieldEnum)[keyof typeof SubscriptionProductScalarFieldEnum]
|
|
|
|
|
|
export const SubscriptionPriceScalarFieldEnum = {
|
|
id: 'id',
|
|
subscriptionProductId: 'subscriptionProductId',
|
|
billingProviderId: 'billingProviderId',
|
|
lagoPlanCode: 'lagoPlanCode',
|
|
lagoFeeCode: 'lagoFeeCode',
|
|
molliePriceReference: 'molliePriceReference',
|
|
billingCadence: 'billingCadence',
|
|
contractMonths: 'contractMonths',
|
|
requiredPaymentMethod: 'requiredPaymentMethod',
|
|
type: 'type',
|
|
billingPeriod: 'billingPeriod',
|
|
price: 'price',
|
|
currency: 'currency',
|
|
trialDays: 'trialDays',
|
|
active: 'active'
|
|
} as const
|
|
|
|
export type SubscriptionPriceScalarFieldEnum = (typeof SubscriptionPriceScalarFieldEnum)[keyof typeof SubscriptionPriceScalarFieldEnum]
|
|
|
|
|
|
export const SubscriptionUsageBasedPriceScalarFieldEnum = {
|
|
id: 'id',
|
|
subscriptionProductId: 'subscriptionProductId',
|
|
billingProviderId: 'billingProviderId',
|
|
billingPeriod: 'billingPeriod',
|
|
currency: 'currency',
|
|
unit: 'unit',
|
|
unitTitle: 'unitTitle',
|
|
unitTitlePlural: 'unitTitlePlural',
|
|
usageType: 'usageType',
|
|
aggregateUsage: 'aggregateUsage',
|
|
tiersMode: 'tiersMode',
|
|
billingScheme: 'billingScheme'
|
|
} as const
|
|
|
|
export type SubscriptionUsageBasedPriceScalarFieldEnum = (typeof SubscriptionUsageBasedPriceScalarFieldEnum)[keyof typeof SubscriptionUsageBasedPriceScalarFieldEnum]
|
|
|
|
|
|
export const SubscriptionUsageBasedTierScalarFieldEnum = {
|
|
id: 'id',
|
|
subscriptionUsageBasedPriceId: 'subscriptionUsageBasedPriceId',
|
|
from: 'from',
|
|
to: 'to',
|
|
perUnitPrice: 'perUnitPrice',
|
|
flatFeePrice: 'flatFeePrice'
|
|
} as const
|
|
|
|
export type SubscriptionUsageBasedTierScalarFieldEnum = (typeof SubscriptionUsageBasedTierScalarFieldEnum)[keyof typeof SubscriptionUsageBasedTierScalarFieldEnum]
|
|
|
|
|
|
export const SubscriptionFeatureScalarFieldEnum = {
|
|
id: 'id',
|
|
subscriptionProductId: 'subscriptionProductId',
|
|
order: 'order',
|
|
title: 'title',
|
|
name: 'name',
|
|
code: 'code',
|
|
type: 'type',
|
|
value: 'value',
|
|
quotaValue: 'quotaValue',
|
|
href: 'href',
|
|
badge: 'badge',
|
|
accumulate: 'accumulate'
|
|
} as const
|
|
|
|
export type SubscriptionFeatureScalarFieldEnum = (typeof SubscriptionFeatureScalarFieldEnum)[keyof typeof SubscriptionFeatureScalarFieldEnum]
|
|
|
|
|
|
export const TenantSubscriptionScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
billingProviderCustomerId: 'billingProviderCustomerId',
|
|
lagoCustomerId: 'lagoCustomerId',
|
|
mollieCustomerId: 'mollieCustomerId',
|
|
planCode: 'planCode',
|
|
seatQuantity: 'seatQuantity',
|
|
officeSeatQuantity: 'officeSeatQuantity',
|
|
fieldSeatQuantity: 'fieldSeatQuantity',
|
|
billingCadence: 'billingCadence',
|
|
commitmentEndsAt: 'commitmentEndsAt',
|
|
storageAddOnCodes: 'storageAddOnCodes',
|
|
lastInvoiceExternalId: 'lastInvoiceExternalId',
|
|
lastPaymentExternalId: 'lastPaymentExternalId',
|
|
status: 'status',
|
|
trialStartsAt: 'trialStartsAt',
|
|
trialEndsAt: 'trialEndsAt',
|
|
pastDueSince: 'pastDueSince',
|
|
frozenAt: 'frozenAt',
|
|
cancelledAt: 'cancelledAt',
|
|
dunningAttemptCount: 'dunningAttemptCount',
|
|
lastDunningSentAt: 'lastDunningSentAt'
|
|
} as const
|
|
|
|
export type TenantSubscriptionScalarFieldEnum = (typeof TenantSubscriptionScalarFieldEnum)[keyof typeof TenantSubscriptionScalarFieldEnum]
|
|
|
|
|
|
export const TenantSubscriptionProductScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantSubscriptionId: 'tenantSubscriptionId',
|
|
subscriptionProductId: 'subscriptionProductId',
|
|
customEntitlementPlanId: 'customEntitlementPlanId',
|
|
cancelledAt: 'cancelledAt',
|
|
endsAt: 'endsAt',
|
|
billingProviderSubscriptionId: 'billingProviderSubscriptionId',
|
|
lagoSubscriptionId: 'lagoSubscriptionId',
|
|
planCode: 'planCode',
|
|
seatQuantity: 'seatQuantity',
|
|
officeSeatQuantity: 'officeSeatQuantity',
|
|
fieldSeatQuantity: 'fieldSeatQuantity',
|
|
billingCadence: 'billingCadence',
|
|
commitmentEndsAt: 'commitmentEndsAt',
|
|
storageAddOnCodes: 'storageAddOnCodes',
|
|
quantity: 'quantity',
|
|
fromCheckoutSessionId: 'fromCheckoutSessionId',
|
|
currentPeriodStart: 'currentPeriodStart',
|
|
currentPeriodEnd: 'currentPeriodEnd'
|
|
} as const
|
|
|
|
export type TenantSubscriptionProductScalarFieldEnum = (typeof TenantSubscriptionProductScalarFieldEnum)[keyof typeof TenantSubscriptionProductScalarFieldEnum]
|
|
|
|
|
|
export const TenantProductAcquisitionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
subscriptionProductId: 'subscriptionProductId',
|
|
subscriptionPriceId: 'subscriptionPriceId',
|
|
productKind: 'productKind',
|
|
scopeKey: 'scopeKey',
|
|
requestHash: 'requestHash',
|
|
status: 'status',
|
|
version: 'version',
|
|
quantity: 'quantity',
|
|
amountCents: 'amountCents',
|
|
currency: 'currency',
|
|
checkoutSessionId: 'checkoutSessionId',
|
|
tenantSubscriptionProductId: 'tenantSubscriptionProductId',
|
|
provider: 'provider',
|
|
providerAttempt: 'providerAttempt',
|
|
providerPaymentId: 'providerPaymentId',
|
|
lagoInvoiceIntentReference: 'lagoInvoiceIntentReference',
|
|
providerPaymentExpiresAt: 'providerPaymentExpiresAt',
|
|
providerPaidAt: 'providerPaidAt',
|
|
invoiceExternalId: 'invoiceExternalId',
|
|
lagoSubscriptionId: 'lagoSubscriptionId',
|
|
lagoProviderSubscriptionId: 'lagoProviderSubscriptionId',
|
|
initialLagoInvoiceExternalId: 'initialLagoInvoiceExternalId',
|
|
checkoutUrl: 'checkoutUrl',
|
|
sourceReference: 'sourceReference',
|
|
failureCode: 'failureCode',
|
|
providerStartedAt: 'providerStartedAt',
|
|
reservationExpiresAt: 'reservationExpiresAt',
|
|
activatedAt: 'activatedAt',
|
|
failedAt: 'failedAt',
|
|
cancelledAt: 'cancelledAt',
|
|
expiredAt: 'expiredAt',
|
|
refundedAt: 'refundedAt'
|
|
} as const
|
|
|
|
export type TenantProductAcquisitionScalarFieldEnum = (typeof TenantProductAcquisitionScalarFieldEnum)[keyof typeof TenantProductAcquisitionScalarFieldEnum]
|
|
|
|
|
|
export const TenantSubscriptionProductPriceScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantSubscriptionProductId: 'tenantSubscriptionProductId',
|
|
subscriptionPriceId: 'subscriptionPriceId',
|
|
subscriptionUsageBasedPriceId: 'subscriptionUsageBasedPriceId',
|
|
quantity: 'quantity',
|
|
isMetered: 'isMetered'
|
|
} as const
|
|
|
|
export type TenantSubscriptionProductPriceScalarFieldEnum = (typeof TenantSubscriptionProductPriceScalarFieldEnum)[keyof typeof TenantSubscriptionProductPriceScalarFieldEnum]
|
|
|
|
|
|
export const TenantSubscriptionUsageRecordScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
tenantSubscriptionId: 'tenantSubscriptionId',
|
|
tenantSubscriptionProductPriceId: 'tenantSubscriptionProductPriceId',
|
|
metricCode: 'metricCode',
|
|
timestamp: 'timestamp',
|
|
quantity: 'quantity',
|
|
idempotencyKey: 'idempotencyKey',
|
|
billingProviderSubscriptionItemId: 'billingProviderSubscriptionItemId'
|
|
} as const
|
|
|
|
export type TenantSubscriptionUsageRecordScalarFieldEnum = (typeof TenantSubscriptionUsageRecordScalarFieldEnum)[keyof typeof TenantSubscriptionUsageRecordScalarFieldEnum]
|
|
|
|
|
|
export const TenantProductConfigurationScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
blueprintId: 'blueprintId',
|
|
notes: 'notes',
|
|
signupSubscriptionPriceId: 'signupSubscriptionPriceId',
|
|
signupOfficeSeatQuantity: 'signupOfficeSeatQuantity',
|
|
signupFieldSeatQuantity: 'signupFieldSeatQuantity'
|
|
} as const
|
|
|
|
export type TenantProductConfigurationScalarFieldEnum = (typeof TenantProductConfigurationScalarFieldEnum)[keyof typeof TenantProductConfigurationScalarFieldEnum]
|
|
|
|
|
|
export const TenantFeatureOverrideScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
featureKey: 'featureKey',
|
|
override: 'override',
|
|
reason: 'reason'
|
|
} as const
|
|
|
|
export type TenantFeatureOverrideScalarFieldEnum = (typeof TenantFeatureOverrideScalarFieldEnum)[keyof typeof TenantFeatureOverrideScalarFieldEnum]
|
|
|
|
|
|
export const CheckoutSessionStatusScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
pending: 'pending',
|
|
email: 'email',
|
|
fromUrl: 'fromUrl',
|
|
fromUserId: 'fromUserId',
|
|
createdUserId: 'createdUserId',
|
|
createdTenantId: 'createdTenantId',
|
|
provider: 'provider',
|
|
providerPaymentId: 'providerPaymentId',
|
|
invoiceExternalId: 'invoiceExternalId',
|
|
subscriptionProductId: 'subscriptionProductId',
|
|
subscriptionPriceId: 'subscriptionPriceId',
|
|
lagoSubscriptionId: 'lagoSubscriptionId',
|
|
planCode: 'planCode',
|
|
productKind: 'productKind',
|
|
scopeKey: 'scopeKey',
|
|
quantity: 'quantity',
|
|
officeSeatQuantity: 'officeSeatQuantity',
|
|
fieldSeatQuantity: 'fieldSeatQuantity',
|
|
billingCadence: 'billingCadence',
|
|
commitmentEndsAt: 'commitmentEndsAt',
|
|
storageAddOnCodes: 'storageAddOnCodes',
|
|
amountCents: 'amountCents',
|
|
currency: 'currency',
|
|
checkoutUrl: 'checkoutUrl',
|
|
status: 'status'
|
|
} as const
|
|
|
|
export type CheckoutSessionStatusScalarFieldEnum = (typeof CheckoutSessionStatusScalarFieldEnum)[keyof typeof CheckoutSessionStatusScalarFieldEnum]
|
|
|
|
|
|
export const BillingWebhookLogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
providerEventId: 'providerEventId',
|
|
eventType: 'eventType',
|
|
processedAt: 'processedAt',
|
|
relatedTenantId: 'relatedTenantId',
|
|
error: 'error'
|
|
} as const
|
|
|
|
export type BillingWebhookLogScalarFieldEnum = (typeof BillingWebhookLogScalarFieldEnum)[keyof typeof BillingWebhookLogScalarFieldEnum]
|
|
|
|
|
|
export const CreditScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
amount: 'amount',
|
|
type: 'type',
|
|
objectId: 'objectId'
|
|
} as const
|
|
|
|
export type CreditScalarFieldEnum = (typeof CreditScalarFieldEnum)[keyof typeof CreditScalarFieldEnum]
|
|
|
|
|
|
export const TaskScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
title: 'title',
|
|
description: 'description',
|
|
status: 'status',
|
|
priority: 'priority',
|
|
deadline: 'deadline',
|
|
assignedToUserId: 'assignedToUserId',
|
|
assignedToGroupId: 'assignedToGroupId',
|
|
linkedEntityType: 'linkedEntityType',
|
|
linkedEntityId: 'linkedEntityId',
|
|
source: 'source',
|
|
sourceRef: 'sourceRef',
|
|
completedAt: 'completedAt',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type TaskScalarFieldEnum = (typeof TaskScalarFieldEnum)[keyof typeof TaskScalarFieldEnum]
|
|
|
|
|
|
export const TaskWatcherScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
taskId: 'taskId',
|
|
userId: 'userId'
|
|
} as const
|
|
|
|
export type TaskWatcherScalarFieldEnum = (typeof TaskWatcherScalarFieldEnum)[keyof typeof TaskWatcherScalarFieldEnum]
|
|
|
|
|
|
export const TelephonyConnectionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
dataConnectionId: 'dataConnectionId',
|
|
provider: 'provider',
|
|
providerAccountId: 'providerAccountId',
|
|
providerAccountName: 'providerAccountName',
|
|
webhookId: 'webhookId',
|
|
webhookTokenHash: 'webhookTokenHash'
|
|
} as const
|
|
|
|
export type TelephonyConnectionScalarFieldEnum = (typeof TelephonyConnectionScalarFieldEnum)[keyof typeof TelephonyConnectionScalarFieldEnum]
|
|
|
|
|
|
export const TelephonyUserBindingScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
connectionId: 'connectionId',
|
|
tenantUserId: 'tenantUserId',
|
|
providerUserId: 'providerUserId',
|
|
providerEmail: 'providerEmail',
|
|
providerDisplayName: 'providerDisplayName',
|
|
defaultProviderNumberId: 'defaultProviderNumberId',
|
|
source: 'source'
|
|
} as const
|
|
|
|
export type TelephonyUserBindingScalarFieldEnum = (typeof TelephonyUserBindingScalarFieldEnum)[keyof typeof TelephonyUserBindingScalarFieldEnum]
|
|
|
|
|
|
export const TelephonyCallSessionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
connectionId: 'connectionId',
|
|
providerCallId: 'providerCallId',
|
|
providerUserId: 'providerUserId',
|
|
tenantUserId: 'tenantUserId',
|
|
direction: 'direction',
|
|
status: 'status',
|
|
fromNumber: 'fromNumber',
|
|
toNumber: 'toNumber',
|
|
startedAt: 'startedAt',
|
|
answeredAt: 'answeredAt',
|
|
endedAt: 'endedAt',
|
|
durationSeconds: 'durationSeconds',
|
|
matchedKontaktId: 'matchedKontaktId',
|
|
matchedLeadId: 'matchedLeadId',
|
|
matchedProjektId: 'matchedProjektId',
|
|
matchConfidence: 'matchConfidence',
|
|
manualOverrideAt: 'manualOverrideAt',
|
|
manualOverrideUserId: 'manualOverrideUserId',
|
|
noteMarkdown: 'noteMarkdown',
|
|
recordingUrl: 'recordingUrl',
|
|
isDemoData: 'isDemoData',
|
|
archivedAt: 'archivedAt'
|
|
} as const
|
|
|
|
export type TelephonyCallSessionScalarFieldEnum = (typeof TelephonyCallSessionScalarFieldEnum)[keyof typeof TelephonyCallSessionScalarFieldEnum]
|
|
|
|
|
|
export const TelephonyWebhookEventScalarFieldEnum = {
|
|
id: 'id',
|
|
receivedAt: 'receivedAt',
|
|
tenantId: 'tenantId',
|
|
connectionId: 'connectionId',
|
|
callSessionId: 'callSessionId',
|
|
eventType: 'eventType',
|
|
dedupeKey: 'dedupeKey',
|
|
authenticationValid: 'authenticationValid',
|
|
notificationPayload: 'notificationPayload',
|
|
processingStatus: 'processingStatus',
|
|
processingLeaseId: 'processingLeaseId',
|
|
processingLeaseUntil: 'processingLeaseUntil',
|
|
processingAttempt: 'processingAttempt',
|
|
processingErrorText: 'processingErrorText',
|
|
processedAt: 'processedAt'
|
|
} as const
|
|
|
|
export type TelephonyWebhookEventScalarFieldEnum = (typeof TelephonyWebhookEventScalarFieldEnum)[keyof typeof TelephonyWebhookEventScalarFieldEnum]
|
|
|
|
|
|
export const WorkflowScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
name: 'name',
|
|
description: 'description',
|
|
status: 'status',
|
|
tenantId: 'tenantId',
|
|
createdByUserId: 'createdByUserId',
|
|
appliesToAllTenants: 'appliesToAllTenants'
|
|
} as const
|
|
|
|
export type WorkflowScalarFieldEnum = (typeof WorkflowScalarFieldEnum)[keyof typeof WorkflowScalarFieldEnum]
|
|
|
|
|
|
export const WorkflowBlockScalarFieldEnum = {
|
|
id: 'id',
|
|
workflowId: 'workflowId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
type: 'type',
|
|
description: 'description',
|
|
isTrigger: 'isTrigger',
|
|
isBlock: 'isBlock',
|
|
input: 'input'
|
|
} as const
|
|
|
|
export type WorkflowBlockScalarFieldEnum = (typeof WorkflowBlockScalarFieldEnum)[keyof typeof WorkflowBlockScalarFieldEnum]
|
|
|
|
|
|
export const WorkflowBlockConditionGroupScalarFieldEnum = {
|
|
id: 'id',
|
|
workflowBlockId: 'workflowBlockId',
|
|
index: 'index',
|
|
type: 'type'
|
|
} as const
|
|
|
|
export type WorkflowBlockConditionGroupScalarFieldEnum = (typeof WorkflowBlockConditionGroupScalarFieldEnum)[keyof typeof WorkflowBlockConditionGroupScalarFieldEnum]
|
|
|
|
|
|
export const WorkflowBlockConditionScalarFieldEnum = {
|
|
id: 'id',
|
|
workflowBlockConditionGroupId: 'workflowBlockConditionGroupId',
|
|
index: 'index',
|
|
variable: 'variable',
|
|
operator: 'operator',
|
|
value: 'value'
|
|
} as const
|
|
|
|
export type WorkflowBlockConditionScalarFieldEnum = (typeof WorkflowBlockConditionScalarFieldEnum)[keyof typeof WorkflowBlockConditionScalarFieldEnum]
|
|
|
|
|
|
export const WorkflowBlockToBlockScalarFieldEnum = {
|
|
id: 'id',
|
|
fromBlockId: 'fromBlockId',
|
|
toBlockId: 'toBlockId',
|
|
condition: 'condition'
|
|
} as const
|
|
|
|
export type WorkflowBlockToBlockScalarFieldEnum = (typeof WorkflowBlockToBlockScalarFieldEnum)[keyof typeof WorkflowBlockToBlockScalarFieldEnum]
|
|
|
|
|
|
export const WorkflowExecutionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
workflowId: 'workflowId',
|
|
tenantId: 'tenantId',
|
|
type: 'type',
|
|
status: 'status',
|
|
input: 'input',
|
|
output: 'output',
|
|
duration: 'duration',
|
|
endedAt: 'endedAt',
|
|
error: 'error',
|
|
waitingBlockId: 'waitingBlockId',
|
|
createdByUserId: 'createdByUserId',
|
|
appliesToAllTenants: 'appliesToAllTenants'
|
|
} as const
|
|
|
|
export type WorkflowExecutionScalarFieldEnum = (typeof WorkflowExecutionScalarFieldEnum)[keyof typeof WorkflowExecutionScalarFieldEnum]
|
|
|
|
|
|
export const WorkflowInputExampleScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
workflowId: 'workflowId',
|
|
title: 'title',
|
|
input: 'input'
|
|
} as const
|
|
|
|
export type WorkflowInputExampleScalarFieldEnum = (typeof WorkflowInputExampleScalarFieldEnum)[keyof typeof WorkflowInputExampleScalarFieldEnum]
|
|
|
|
|
|
export const WorkflowBlockExecutionScalarFieldEnum = {
|
|
id: 'id',
|
|
workflowExecutionId: 'workflowExecutionId',
|
|
workflowBlockId: 'workflowBlockId',
|
|
fromWorkflowBlockId: 'fromWorkflowBlockId',
|
|
status: 'status',
|
|
startedAt: 'startedAt',
|
|
input: 'input',
|
|
output: 'output',
|
|
duration: 'duration',
|
|
endedAt: 'endedAt',
|
|
error: 'error'
|
|
} as const
|
|
|
|
export type WorkflowBlockExecutionScalarFieldEnum = (typeof WorkflowBlockExecutionScalarFieldEnum)[keyof typeof WorkflowBlockExecutionScalarFieldEnum]
|
|
|
|
|
|
export const WorkflowVariableScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
value: 'value',
|
|
createdByUserId: 'createdByUserId',
|
|
userId: 'userId'
|
|
} as const
|
|
|
|
export type WorkflowVariableScalarFieldEnum = (typeof WorkflowVariableScalarFieldEnum)[keyof typeof WorkflowVariableScalarFieldEnum]
|
|
|
|
|
|
export const WorkflowCredentialScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
value: 'value',
|
|
createdByUserId: 'createdByUserId',
|
|
userId: 'userId'
|
|
} as const
|
|
|
|
export type WorkflowCredentialScalarFieldEnum = (typeof WorkflowCredentialScalarFieldEnum)[keyof typeof WorkflowCredentialScalarFieldEnum]
|
|
|
|
|
|
export const SortOrder = {
|
|
asc: 'asc',
|
|
desc: 'desc'
|
|
} as const
|
|
|
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
|
|
|
|
|
export const NullableJsonNullValueInput = {
|
|
DbNull: DbNull,
|
|
JsonNull: JsonNull
|
|
} as const
|
|
|
|
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
|
|
|
|
|
export const JsonNullValueInput = {
|
|
JsonNull: JsonNull
|
|
} as const
|
|
|
|
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
|
|
|
|
|
export const QueryMode = {
|
|
default: 'default',
|
|
insensitive: 'insensitive'
|
|
} as const
|
|
|
|
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
|
|
|
|
|
|
export const JsonNullValueFilter = {
|
|
DbNull: DbNull,
|
|
JsonNull: JsonNull,
|
|
AnyNull: AnyNull
|
|
} as const
|
|
|
|
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
|
|
|
|
|
|
export const NullsOrder = {
|
|
first: 'first',
|
|
last: 'last'
|
|
} as const
|
|
|
|
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
|
|