3041 lines
84 KiB
TypeScript
3041 lines
84 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',
|
|
AdminUser: 'AdminUser',
|
|
Tenant: 'Tenant',
|
|
WorkspaceAuthProvider: 'WorkspaceAuthProvider',
|
|
ImpersonationAudit: 'ImpersonationAudit',
|
|
TenantUser: 'TenantUser',
|
|
TenantUserInvitation: 'TenantUserInvitation',
|
|
Registration: 'Registration',
|
|
Blacklist: 'Blacklist',
|
|
TenantIpAddress: 'TenantIpAddress',
|
|
TenantType: 'TenantType',
|
|
Activity: 'Activity',
|
|
AnalyticsSettings: 'AnalyticsSettings',
|
|
AnalyticsUniqueVisitor: 'AnalyticsUniqueVisitor',
|
|
AnalyticsPageView: 'AnalyticsPageView',
|
|
AnalyticsEvent: 'AnalyticsEvent',
|
|
App: 'App',
|
|
DataConnection: 'DataConnection',
|
|
AppSyncRun: 'AppSyncRun',
|
|
AppSyncRunLog: 'AppSyncRunLog',
|
|
AppSyncItem: 'AppSyncItem',
|
|
UserSession: 'UserSession',
|
|
TrustedDevice: 'TrustedDevice',
|
|
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',
|
|
TenantInboundAddress: 'TenantInboundAddress',
|
|
Email: 'Email',
|
|
EmailRead: 'EmailRead',
|
|
EmailCc: 'EmailCc',
|
|
EmailAttachment: 'EmailAttachment',
|
|
EmailSender: 'EmailSender',
|
|
Campaign: 'Campaign',
|
|
OutboundEmail: 'OutboundEmail',
|
|
OutboundEmailOpen: 'OutboundEmailOpen',
|
|
OutboundEmailClick: 'OutboundEmailClick',
|
|
EmailSequence: 'EmailSequence',
|
|
EmailSequenceRun: 'EmailSequenceRun',
|
|
EmailSequenceStepDelivery: 'EmailSequenceStepDelivery',
|
|
Entity: 'Entity',
|
|
Property: 'Property',
|
|
EntityView: 'EntityView',
|
|
EntityViewProperty: 'EntityViewProperty',
|
|
EntityViewFilter: 'EntityViewFilter',
|
|
EntityViewSort: 'EntityViewSort',
|
|
PropertyAttribute: 'PropertyAttribute',
|
|
PropertyOption: 'PropertyOption',
|
|
EntityTag: 'EntityTag',
|
|
EntityTenantUserPermission: 'EntityTenantUserPermission',
|
|
EntityWebhook: 'EntityWebhook',
|
|
EntityWebhookLog: 'EntityWebhookLog',
|
|
EntityRelationship: 'EntityRelationship',
|
|
SampleCustomEntity: 'SampleCustomEntity',
|
|
RowRelationship: 'RowRelationship',
|
|
Row: 'Row',
|
|
RowValue: 'RowValue',
|
|
RowValueMultiple: 'RowValueMultiple',
|
|
RowValueRange: 'RowValueRange',
|
|
RowPermission: 'RowPermission',
|
|
RowMedia: 'RowMedia',
|
|
RowTag: 'RowTag',
|
|
RowComment: 'RowComment',
|
|
RowCommentReaction: 'RowCommentReaction',
|
|
RowTask: 'RowTask',
|
|
EntityTemplate: 'EntityTemplate',
|
|
EntityGroup: 'EntityGroup',
|
|
EntityGroupEntity: 'EntityGroupEntity',
|
|
Formula: 'Formula',
|
|
FormulaComponent: 'FormulaComponent',
|
|
FormulaLog: 'FormulaLog',
|
|
FormulaComponentLog: 'FormulaComponentLog',
|
|
EntityGroupConfiguration: 'EntityGroupConfiguration',
|
|
EntityGroupConfigurationRow: 'EntityGroupConfigurationRow',
|
|
ApiKeyEntity: 'ApiKeyEntity',
|
|
TenantSettingsRow: 'TenantSettingsRow',
|
|
EntityLink: 'EntityLink',
|
|
FeatureFlag: 'FeatureFlag',
|
|
FeatureFlagFilter: 'FeatureFlagFilter',
|
|
FeatureFlagAudit: 'FeatureFlagAudit',
|
|
File: 'File',
|
|
FileEntityLink: 'FileEntityLink',
|
|
FileUpload: 'FileUpload',
|
|
FileUploadChunk: 'FileUploadChunk',
|
|
Form: 'Form',
|
|
FormSubmission: 'FormSubmission',
|
|
Feedback: 'Feedback',
|
|
SupportTicket: 'SupportTicket',
|
|
ImportJob: 'ImportJob',
|
|
KnowledgeBase: 'KnowledgeBase',
|
|
KnowledgeBaseCategory: 'KnowledgeBaseCategory',
|
|
KnowledgeBaseCategorySection: 'KnowledgeBaseCategorySection',
|
|
KnowledgeBaseArticle: 'KnowledgeBaseArticle',
|
|
KnowledgeBaseRelatedArticle: 'KnowledgeBaseRelatedArticle',
|
|
KnowledgeBaseViews: 'KnowledgeBaseViews',
|
|
KnowledgeBaseArticleViews: 'KnowledgeBaseArticleViews',
|
|
KnowledgeBaseArticleUpvotes: 'KnowledgeBaseArticleUpvotes',
|
|
KnowledgeBaseArticleDownvotes: 'KnowledgeBaseArticleDownvotes',
|
|
Lead: 'Lead',
|
|
LeadEvent: 'LeadEvent',
|
|
TenantAcquisition: 'TenantAcquisition',
|
|
MarketingIntegration: 'MarketingIntegration',
|
|
NotificationDelivery: 'NotificationDelivery',
|
|
UserNotificationPreference: 'UserNotificationPreference',
|
|
DeviceToken: 'DeviceToken',
|
|
Onboarding: 'Onboarding',
|
|
OnboardingFilter: 'OnboardingFilter',
|
|
OnboardingStep: 'OnboardingStep',
|
|
OnboardingSession: 'OnboardingSession',
|
|
OnboardingSessionAction: 'OnboardingSessionAction',
|
|
OnboardingSessionFilterMatch: 'OnboardingSessionFilterMatch',
|
|
OnboardingSessionStep: 'OnboardingSessionStep',
|
|
OutboxEvent: 'OutboxEvent',
|
|
Role: 'Role',
|
|
Permission: 'Permission',
|
|
RolePermission: 'RolePermission',
|
|
UserRole: 'UserRole',
|
|
Group: 'Group',
|
|
GroupUser: 'GroupUser',
|
|
Plugin: 'Plugin',
|
|
TenantPluginCapabilityGrant: 'TenantPluginCapabilityGrant',
|
|
PluginUserConfig: 'PluginUserConfig',
|
|
PluginInvocation: 'PluginInvocation',
|
|
PluginCapabilityUse: 'PluginCapabilityUse',
|
|
Portal: 'Portal',
|
|
PortalUser: 'PortalUser',
|
|
PortalPage: 'PortalPage',
|
|
PortalUserRegistration: 'PortalUserRegistration',
|
|
PortalSubscriptionProduct: 'PortalSubscriptionProduct',
|
|
PortalSubscriptionPrice: 'PortalSubscriptionPrice',
|
|
PortalSubscriptionFeature: 'PortalSubscriptionFeature',
|
|
PortalUserSubscription: 'PortalUserSubscription',
|
|
PortalUserSubscriptionProduct: 'PortalUserSubscriptionProduct',
|
|
PortalUserSubscriptionProductPrice: 'PortalUserSubscriptionProductPrice',
|
|
PortalCheckoutSessionStatus: 'PortalCheckoutSessionStatus',
|
|
QueueFailedJob: 'QueueFailedJob',
|
|
ExportJob: 'ExportJob',
|
|
Site: 'Site',
|
|
SubscriptionProduct: 'SubscriptionProduct',
|
|
SubscriptionPrice: 'SubscriptionPrice',
|
|
SubscriptionUsageBasedPrice: 'SubscriptionUsageBasedPrice',
|
|
SubscriptionUsageBasedTier: 'SubscriptionUsageBasedTier',
|
|
SubscriptionFeature: 'SubscriptionFeature',
|
|
TenantSubscription: 'TenantSubscription',
|
|
TenantSubscriptionProduct: 'TenantSubscriptionProduct',
|
|
TenantSubscriptionProductPrice: 'TenantSubscriptionProductPrice',
|
|
TenantSubscriptionUsageRecord: 'TenantSubscriptionUsageRecord',
|
|
TenantProductConfiguration: 'TenantProductConfiguration',
|
|
TenantFeatureOverride: 'TenantFeatureOverride',
|
|
CheckoutSessionStatus: 'CheckoutSessionStatus',
|
|
Credit: 'Credit',
|
|
Task: 'Task',
|
|
TaskWatcher: 'TaskWatcher',
|
|
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 AdminUserScalarFieldEnum = {
|
|
userId: 'userId',
|
|
ssoProvider: 'ssoProvider',
|
|
ssoSubjectId: 'ssoSubjectId',
|
|
ssoGroups: 'ssoGroups',
|
|
lastSsoLoginAt: 'lastSsoLoginAt'
|
|
} as const
|
|
|
|
export type AdminUserScalarFieldEnum = (typeof AdminUserScalarFieldEnum)[keyof typeof AdminUserScalarFieldEnum]
|
|
|
|
|
|
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'
|
|
} 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'
|
|
} 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',
|
|
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 TenantTypeScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
title: 'title',
|
|
titlePlural: 'titlePlural',
|
|
description: 'description',
|
|
isDefault: 'isDefault'
|
|
} as const
|
|
|
|
export type TenantTypeScalarFieldEnum = (typeof TenantTypeScalarFieldEnum)[keyof typeof TenantTypeScalarFieldEnum]
|
|
|
|
|
|
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 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',
|
|
tenantId: 'tenantId',
|
|
type: 'type',
|
|
config: 'config',
|
|
icon: 'icon',
|
|
isActive: 'isActive',
|
|
installedByUserId: 'installedByUserId'
|
|
} as const
|
|
|
|
export type AppScalarFieldEnum = (typeof AppScalarFieldEnum)[keyof typeof AppScalarFieldEnum]
|
|
|
|
|
|
export const DataConnectionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
name: 'name',
|
|
type: 'type',
|
|
config: 'config',
|
|
description: 'description'
|
|
} as const
|
|
|
|
export type DataConnectionScalarFieldEnum = (typeof DataConnectionScalarFieldEnum)[keyof typeof DataConnectionScalarFieldEnum]
|
|
|
|
|
|
export const AppSyncRunScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
appId: 'appId',
|
|
tenantId: 'tenantId',
|
|
taskKey: 'taskKey',
|
|
taskName: 'taskName',
|
|
description: 'description',
|
|
status: 'status',
|
|
executionMode: 'executionMode',
|
|
startedAt: 'startedAt',
|
|
completedAt: 'completedAt',
|
|
duration: 'duration',
|
|
itemsProcessed: 'itemsProcessed',
|
|
itemsCreated: 'itemsCreated',
|
|
itemsUpdated: 'itemsUpdated',
|
|
itemsFailed: 'itemsFailed',
|
|
error: 'error',
|
|
metadata: 'metadata',
|
|
createdByUserId: 'createdByUserId'
|
|
} as const
|
|
|
|
export type AppSyncRunScalarFieldEnum = (typeof AppSyncRunScalarFieldEnum)[keyof typeof AppSyncRunScalarFieldEnum]
|
|
|
|
|
|
export const AppSyncRunLogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
syncRunId: 'syncRunId',
|
|
type: 'type',
|
|
message: 'message',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type AppSyncRunLogScalarFieldEnum = (typeof AppSyncRunLogScalarFieldEnum)[keyof typeof AppSyncRunLogScalarFieldEnum]
|
|
|
|
|
|
export const AppSyncItemScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
syncRunId: 'syncRunId',
|
|
objectType: 'objectType',
|
|
sourceId: 'sourceId',
|
|
destinationId: 'destinationId',
|
|
description: 'description',
|
|
status: 'status',
|
|
action: 'action',
|
|
sourceData: 'sourceData',
|
|
destinationData: 'destinationData',
|
|
error: 'error',
|
|
rolledBackData: 'rolledBackData',
|
|
rolledBackAt: 'rolledBackAt'
|
|
} as const
|
|
|
|
export type AppSyncItemScalarFieldEnum = (typeof AppSyncItemScalarFieldEnum)[keyof typeof AppSyncItemScalarFieldEnum]
|
|
|
|
|
|
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 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',
|
|
rowId: 'rowId',
|
|
url: 'url',
|
|
action: 'action',
|
|
details: 'details',
|
|
commentId: 'commentId'
|
|
} 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',
|
|
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',
|
|
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',
|
|
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 TenantInboundAddressScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
address: 'address'
|
|
} 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'
|
|
} 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'
|
|
} 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'
|
|
} as const
|
|
|
|
export type CampaignScalarFieldEnum = (typeof CampaignScalarFieldEnum)[keyof typeof CampaignScalarFieldEnum]
|
|
|
|
|
|
export const OutboundEmailScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
campaignId: 'campaignId',
|
|
contactRowId: 'contactRowId',
|
|
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',
|
|
outboundEmailId: 'outboundEmailId'
|
|
} as const
|
|
|
|
export type OutboundEmailOpenScalarFieldEnum = (typeof OutboundEmailOpenScalarFieldEnum)[keyof typeof OutboundEmailOpenScalarFieldEnum]
|
|
|
|
|
|
export const OutboundEmailClickScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
link: 'link',
|
|
outboundEmailId: 'outboundEmailId'
|
|
} as const
|
|
|
|
export type OutboundEmailClickScalarFieldEnum = (typeof OutboundEmailClickScalarFieldEnum)[keyof typeof OutboundEmailClickScalarFieldEnum]
|
|
|
|
|
|
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 EntityScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
moduleId: 'moduleId',
|
|
name: 'name',
|
|
slug: 'slug',
|
|
order: 'order',
|
|
prefix: 'prefix',
|
|
type: 'type',
|
|
title: 'title',
|
|
titlePlural: 'titlePlural',
|
|
isAutogenerated: 'isAutogenerated',
|
|
hasApi: 'hasApi',
|
|
icon: 'icon',
|
|
active: 'active',
|
|
showInSidebar: 'showInSidebar',
|
|
hasTags: 'hasTags',
|
|
hasComments: 'hasComments',
|
|
hasTasks: 'hasTasks',
|
|
hasActivity: 'hasActivity',
|
|
hasBulkDelete: 'hasBulkDelete',
|
|
hasViews: 'hasViews',
|
|
defaultVisibility: 'defaultVisibility',
|
|
onCreated: 'onCreated',
|
|
onEdit: 'onEdit'
|
|
} as const
|
|
|
|
export type EntityScalarFieldEnum = (typeof EntityScalarFieldEnum)[keyof typeof EntityScalarFieldEnum]
|
|
|
|
|
|
export const PropertyScalarFieldEnum = {
|
|
id: 'id',
|
|
entityId: 'entityId',
|
|
order: 'order',
|
|
name: 'name',
|
|
title: 'title',
|
|
type: 'type',
|
|
subtype: 'subtype',
|
|
isDefault: 'isDefault',
|
|
isRequired: 'isRequired',
|
|
isHidden: 'isHidden',
|
|
isDisplay: 'isDisplay',
|
|
isUnique: 'isUnique',
|
|
isReadOnly: 'isReadOnly',
|
|
showInCreate: 'showInCreate',
|
|
canUpdate: 'canUpdate',
|
|
formulaId: 'formulaId',
|
|
tenantId: 'tenantId'
|
|
} as const
|
|
|
|
export type PropertyScalarFieldEnum = (typeof PropertyScalarFieldEnum)[keyof typeof PropertyScalarFieldEnum]
|
|
|
|
|
|
export const EntityViewScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
createdByUserId: 'createdByUserId',
|
|
entityId: 'entityId',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
layout: 'layout',
|
|
order: 'order',
|
|
name: 'name',
|
|
title: 'title',
|
|
pageSize: 'pageSize',
|
|
isDefault: 'isDefault',
|
|
isSystem: 'isSystem',
|
|
gridColumns: 'gridColumns',
|
|
gridColumnsSm: 'gridColumnsSm',
|
|
gridColumnsMd: 'gridColumnsMd',
|
|
gridColumnsLg: 'gridColumnsLg',
|
|
gridColumnsXl: 'gridColumnsXl',
|
|
gridColumns2xl: 'gridColumns2xl',
|
|
gridGap: 'gridGap',
|
|
groupByPropertyId: 'groupByPropertyId'
|
|
} as const
|
|
|
|
export type EntityViewScalarFieldEnum = (typeof EntityViewScalarFieldEnum)[keyof typeof EntityViewScalarFieldEnum]
|
|
|
|
|
|
export const EntityViewPropertyScalarFieldEnum = {
|
|
id: 'id',
|
|
entityViewId: 'entityViewId',
|
|
propertyId: 'propertyId',
|
|
name: 'name',
|
|
order: 'order'
|
|
} as const
|
|
|
|
export type EntityViewPropertyScalarFieldEnum = (typeof EntityViewPropertyScalarFieldEnum)[keyof typeof EntityViewPropertyScalarFieldEnum]
|
|
|
|
|
|
export const EntityViewFilterScalarFieldEnum = {
|
|
id: 'id',
|
|
entityViewId: 'entityViewId',
|
|
match: 'match',
|
|
name: 'name',
|
|
condition: 'condition',
|
|
value: 'value'
|
|
} as const
|
|
|
|
export type EntityViewFilterScalarFieldEnum = (typeof EntityViewFilterScalarFieldEnum)[keyof typeof EntityViewFilterScalarFieldEnum]
|
|
|
|
|
|
export const EntityViewSortScalarFieldEnum = {
|
|
id: 'id',
|
|
entityViewId: 'entityViewId',
|
|
name: 'name',
|
|
asc: 'asc',
|
|
order: 'order'
|
|
} as const
|
|
|
|
export type EntityViewSortScalarFieldEnum = (typeof EntityViewSortScalarFieldEnum)[keyof typeof EntityViewSortScalarFieldEnum]
|
|
|
|
|
|
export const PropertyAttributeScalarFieldEnum = {
|
|
id: 'id',
|
|
propertyId: 'propertyId',
|
|
name: 'name',
|
|
value: 'value'
|
|
} as const
|
|
|
|
export type PropertyAttributeScalarFieldEnum = (typeof PropertyAttributeScalarFieldEnum)[keyof typeof PropertyAttributeScalarFieldEnum]
|
|
|
|
|
|
export const PropertyOptionScalarFieldEnum = {
|
|
id: 'id',
|
|
propertyId: 'propertyId',
|
|
order: 'order',
|
|
value: 'value',
|
|
name: 'name',
|
|
color: 'color'
|
|
} as const
|
|
|
|
export type PropertyOptionScalarFieldEnum = (typeof PropertyOptionScalarFieldEnum)[keyof typeof PropertyOptionScalarFieldEnum]
|
|
|
|
|
|
export const EntityTagScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
entityId: 'entityId',
|
|
value: 'value',
|
|
color: 'color'
|
|
} as const
|
|
|
|
export type EntityTagScalarFieldEnum = (typeof EntityTagScalarFieldEnum)[keyof typeof EntityTagScalarFieldEnum]
|
|
|
|
|
|
export const EntityTenantUserPermissionScalarFieldEnum = {
|
|
id: 'id',
|
|
entityId: 'entityId',
|
|
level: 'level'
|
|
} as const
|
|
|
|
export type EntityTenantUserPermissionScalarFieldEnum = (typeof EntityTenantUserPermissionScalarFieldEnum)[keyof typeof EntityTenantUserPermissionScalarFieldEnum]
|
|
|
|
|
|
export const EntityWebhookScalarFieldEnum = {
|
|
id: 'id',
|
|
entityId: 'entityId',
|
|
action: 'action',
|
|
method: 'method',
|
|
endpoint: 'endpoint'
|
|
} as const
|
|
|
|
export type EntityWebhookScalarFieldEnum = (typeof EntityWebhookScalarFieldEnum)[keyof typeof EntityWebhookScalarFieldEnum]
|
|
|
|
|
|
export const EntityWebhookLogScalarFieldEnum = {
|
|
id: 'id',
|
|
webhookId: 'webhookId',
|
|
logId: 'logId',
|
|
status: 'status',
|
|
error: 'error'
|
|
} as const
|
|
|
|
export type EntityWebhookLogScalarFieldEnum = (typeof EntityWebhookLogScalarFieldEnum)[keyof typeof EntityWebhookLogScalarFieldEnum]
|
|
|
|
|
|
export const EntityRelationshipScalarFieldEnum = {
|
|
id: 'id',
|
|
parentId: 'parentId',
|
|
childId: 'childId',
|
|
order: 'order',
|
|
title: 'title',
|
|
type: 'type',
|
|
required: 'required',
|
|
cascade: 'cascade',
|
|
readOnly: 'readOnly',
|
|
hiddenIfEmpty: 'hiddenIfEmpty',
|
|
childEntityViewId: 'childEntityViewId',
|
|
parentEntityViewId: 'parentEntityViewId'
|
|
} as const
|
|
|
|
export type EntityRelationshipScalarFieldEnum = (typeof EntityRelationshipScalarFieldEnum)[keyof typeof EntityRelationshipScalarFieldEnum]
|
|
|
|
|
|
export const SampleCustomEntityScalarFieldEnum = {
|
|
rowId: 'rowId',
|
|
customText: 'customText',
|
|
customNumber: 'customNumber',
|
|
customDate: 'customDate',
|
|
customBoolean: 'customBoolean',
|
|
customSelect: 'customSelect'
|
|
} as const
|
|
|
|
export type SampleCustomEntityScalarFieldEnum = (typeof SampleCustomEntityScalarFieldEnum)[keyof typeof SampleCustomEntityScalarFieldEnum]
|
|
|
|
|
|
export const RowRelationshipScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
relationshipId: 'relationshipId',
|
|
parentId: 'parentId',
|
|
childId: 'childId',
|
|
metadata: 'metadata'
|
|
} as const
|
|
|
|
export type RowRelationshipScalarFieldEnum = (typeof RowRelationshipScalarFieldEnum)[keyof typeof RowRelationshipScalarFieldEnum]
|
|
|
|
|
|
export const RowScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
deletedAt: 'deletedAt',
|
|
entityId: 'entityId',
|
|
tenantId: 'tenantId',
|
|
folio: 'folio',
|
|
createdByUserId: 'createdByUserId',
|
|
createdByApiKeyId: 'createdByApiKeyId',
|
|
order: 'order'
|
|
} as const
|
|
|
|
export type RowScalarFieldEnum = (typeof RowScalarFieldEnum)[keyof typeof RowScalarFieldEnum]
|
|
|
|
|
|
export const RowValueScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
rowId: 'rowId',
|
|
propertyId: 'propertyId',
|
|
textValue: 'textValue',
|
|
numberValue: 'numberValue',
|
|
dateValue: 'dateValue',
|
|
booleanValue: 'booleanValue'
|
|
} as const
|
|
|
|
export type RowValueScalarFieldEnum = (typeof RowValueScalarFieldEnum)[keyof typeof RowValueScalarFieldEnum]
|
|
|
|
|
|
export const RowValueMultipleScalarFieldEnum = {
|
|
id: 'id',
|
|
rowValueId: 'rowValueId',
|
|
order: 'order',
|
|
value: 'value'
|
|
} as const
|
|
|
|
export type RowValueMultipleScalarFieldEnum = (typeof RowValueMultipleScalarFieldEnum)[keyof typeof RowValueMultipleScalarFieldEnum]
|
|
|
|
|
|
export const RowValueRangeScalarFieldEnum = {
|
|
rowValueId: 'rowValueId',
|
|
numberMin: 'numberMin',
|
|
numberMax: 'numberMax',
|
|
dateMin: 'dateMin',
|
|
dateMax: 'dateMax'
|
|
} as const
|
|
|
|
export type RowValueRangeScalarFieldEnum = (typeof RowValueRangeScalarFieldEnum)[keyof typeof RowValueRangeScalarFieldEnum]
|
|
|
|
|
|
export const RowPermissionScalarFieldEnum = {
|
|
id: 'id',
|
|
rowId: 'rowId',
|
|
tenantId: 'tenantId',
|
|
roleId: 'roleId',
|
|
groupId: 'groupId',
|
|
userId: 'userId',
|
|
public: 'public',
|
|
access: 'access'
|
|
} as const
|
|
|
|
export type RowPermissionScalarFieldEnum = (typeof RowPermissionScalarFieldEnum)[keyof typeof RowPermissionScalarFieldEnum]
|
|
|
|
|
|
export const RowMediaScalarFieldEnum = {
|
|
id: 'id',
|
|
rowValueId: 'rowValueId',
|
|
title: 'title',
|
|
name: 'name',
|
|
file: 'file',
|
|
type: 'type',
|
|
publicUrl: 'publicUrl',
|
|
storageBucket: 'storageBucket',
|
|
storageProvider: 'storageProvider'
|
|
} as const
|
|
|
|
export type RowMediaScalarFieldEnum = (typeof RowMediaScalarFieldEnum)[keyof typeof RowMediaScalarFieldEnum]
|
|
|
|
|
|
export const RowTagScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
rowId: 'rowId',
|
|
tagId: 'tagId'
|
|
} as const
|
|
|
|
export type RowTagScalarFieldEnum = (typeof RowTagScalarFieldEnum)[keyof typeof RowTagScalarFieldEnum]
|
|
|
|
|
|
export const RowCommentScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
createdByUserId: 'createdByUserId',
|
|
rowId: 'rowId',
|
|
value: 'value',
|
|
isDeleted: 'isDeleted'
|
|
} as const
|
|
|
|
export type RowCommentScalarFieldEnum = (typeof RowCommentScalarFieldEnum)[keyof typeof RowCommentScalarFieldEnum]
|
|
|
|
|
|
export const RowCommentReactionScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
createdByUserId: 'createdByUserId',
|
|
rowCommentId: 'rowCommentId',
|
|
reaction: 'reaction'
|
|
} as const
|
|
|
|
export type RowCommentReactionScalarFieldEnum = (typeof RowCommentReactionScalarFieldEnum)[keyof typeof RowCommentReactionScalarFieldEnum]
|
|
|
|
|
|
export const RowTaskScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
createdByUserId: 'createdByUserId',
|
|
rowId: 'rowId',
|
|
title: 'title',
|
|
description: 'description',
|
|
completed: 'completed',
|
|
completedAt: 'completedAt',
|
|
completedByUserId: 'completedByUserId',
|
|
assignedToUserId: 'assignedToUserId',
|
|
deadline: 'deadline'
|
|
} as const
|
|
|
|
export type RowTaskScalarFieldEnum = (typeof RowTaskScalarFieldEnum)[keyof typeof RowTaskScalarFieldEnum]
|
|
|
|
|
|
export const EntityTemplateScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
tenantId: 'tenantId',
|
|
entityId: 'entityId',
|
|
title: 'title',
|
|
config: 'config'
|
|
} as const
|
|
|
|
export type EntityTemplateScalarFieldEnum = (typeof EntityTemplateScalarFieldEnum)[keyof typeof EntityTemplateScalarFieldEnum]
|
|
|
|
|
|
export const EntityGroupScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
order: 'order',
|
|
slug: 'slug',
|
|
title: 'title',
|
|
icon: 'icon',
|
|
collapsible: 'collapsible',
|
|
section: 'section'
|
|
} as const
|
|
|
|
export type EntityGroupScalarFieldEnum = (typeof EntityGroupScalarFieldEnum)[keyof typeof EntityGroupScalarFieldEnum]
|
|
|
|
|
|
export const EntityGroupEntityScalarFieldEnum = {
|
|
id: 'id',
|
|
entityGroupId: 'entityGroupId',
|
|
entityId: 'entityId',
|
|
allViewId: 'allViewId',
|
|
selectMin: 'selectMin',
|
|
selectMax: 'selectMax'
|
|
} as const
|
|
|
|
export type EntityGroupEntityScalarFieldEnum = (typeof EntityGroupEntityScalarFieldEnum)[keyof typeof EntityGroupEntityScalarFieldEnum]
|
|
|
|
|
|
export const FormulaScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
name: 'name',
|
|
description: 'description',
|
|
resultAs: 'resultAs',
|
|
calculationTrigger: 'calculationTrigger',
|
|
withLogs: 'withLogs'
|
|
} as const
|
|
|
|
export type FormulaScalarFieldEnum = (typeof FormulaScalarFieldEnum)[keyof typeof FormulaScalarFieldEnum]
|
|
|
|
|
|
export const FormulaComponentScalarFieldEnum = {
|
|
id: 'id',
|
|
formulaId: 'formulaId',
|
|
order: 'order',
|
|
type: 'type',
|
|
value: 'value'
|
|
} as const
|
|
|
|
export type FormulaComponentScalarFieldEnum = (typeof FormulaComponentScalarFieldEnum)[keyof typeof FormulaComponentScalarFieldEnum]
|
|
|
|
|
|
export const FormulaLogScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
formulaId: 'formulaId',
|
|
userId: 'userId',
|
|
tenantId: 'tenantId',
|
|
originalTrigger: 'originalTrigger',
|
|
triggeredBy: 'triggeredBy',
|
|
expression: 'expression',
|
|
result: 'result',
|
|
duration: 'duration',
|
|
error: 'error',
|
|
rowValueId: 'rowValueId'
|
|
} as const
|
|
|
|
export type FormulaLogScalarFieldEnum = (typeof FormulaLogScalarFieldEnum)[keyof typeof FormulaLogScalarFieldEnum]
|
|
|
|
|
|
export const FormulaComponentLogScalarFieldEnum = {
|
|
id: 'id',
|
|
order: 'order',
|
|
type: 'type',
|
|
value: 'value',
|
|
rowId: 'rowId',
|
|
formulaLogId: 'formulaLogId'
|
|
} as const
|
|
|
|
export type FormulaComponentLogScalarFieldEnum = (typeof FormulaComponentLogScalarFieldEnum)[keyof typeof FormulaComponentLogScalarFieldEnum]
|
|
|
|
|
|
export const EntityGroupConfigurationScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
entityGroupId: 'entityGroupId',
|
|
title: 'title'
|
|
} as const
|
|
|
|
export type EntityGroupConfigurationScalarFieldEnum = (typeof EntityGroupConfigurationScalarFieldEnum)[keyof typeof EntityGroupConfigurationScalarFieldEnum]
|
|
|
|
|
|
export const EntityGroupConfigurationRowScalarFieldEnum = {
|
|
id: 'id',
|
|
entityGroupConfigurationId: 'entityGroupConfigurationId',
|
|
rowId: 'rowId'
|
|
} as const
|
|
|
|
export type EntityGroupConfigurationRowScalarFieldEnum = (typeof EntityGroupConfigurationRowScalarFieldEnum)[keyof typeof EntityGroupConfigurationRowScalarFieldEnum]
|
|
|
|
|
|
export const ApiKeyEntityScalarFieldEnum = {
|
|
id: 'id',
|
|
apiKeyId: 'apiKeyId',
|
|
entityId: 'entityId',
|
|
create: 'create',
|
|
read: 'read',
|
|
update: 'update',
|
|
delete: 'delete'
|
|
} as const
|
|
|
|
export type ApiKeyEntityScalarFieldEnum = (typeof ApiKeyEntityScalarFieldEnum)[keyof typeof ApiKeyEntityScalarFieldEnum]
|
|
|
|
|
|
export const TenantSettingsRowScalarFieldEnum = {
|
|
tenantId: 'tenantId',
|
|
rowId: 'rowId'
|
|
} as const
|
|
|
|
export type TenantSettingsRowScalarFieldEnum = (typeof TenantSettingsRowScalarFieldEnum)[keyof typeof TenantSettingsRowScalarFieldEnum]
|
|
|
|
|
|
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',
|
|
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',
|
|
featureFlagId: 'featureFlagId',
|
|
type: 'type',
|
|
value: 'value',
|
|
action: 'action'
|
|
} as const
|
|
|
|
export type FeatureFlagFilterScalarFieldEnum = (typeof FeatureFlagFilterScalarFieldEnum)[keyof typeof FeatureFlagFilterScalarFieldEnum]
|
|
|
|
|
|
export const FeatureFlagAuditScalarFieldEnum = {
|
|
id: 'id',
|
|
flagId: 'flagId',
|
|
actorUserId: 'actorUserId',
|
|
action: 'action',
|
|
oldValue: 'oldValue',
|
|
newValue: 'newValue',
|
|
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',
|
|
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',
|
|
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',
|
|
name: 'name',
|
|
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',
|
|
payload: 'payload',
|
|
sourceOrigin: 'sourceOrigin',
|
|
ipHash: 'ipHash',
|
|
userAgent: 'userAgent',
|
|
status: 'status',
|
|
result: 'result',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type FormSubmissionScalarFieldEnum = (typeof FormSubmissionScalarFieldEnum)[keyof typeof FormSubmissionScalarFieldEnum]
|
|
|
|
|
|
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'
|
|
} as const
|
|
|
|
export type SupportTicketScalarFieldEnum = (typeof SupportTicketScalarFieldEnum)[keyof typeof SupportTicketScalarFieldEnum]
|
|
|
|
|
|
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 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 NotificationDeliveryScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
tenantId: 'tenantId',
|
|
userId: 'userId',
|
|
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 OutboxEventScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
eventType: 'eventType',
|
|
payload: 'payload',
|
|
status: 'status',
|
|
createdAt: 'createdAt',
|
|
processedAt: 'processedAt',
|
|
retries: 'retries',
|
|
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'
|
|
} 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',
|
|
entityId: 'entityId'
|
|
} 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 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',
|
|
domain: 'domain',
|
|
title: 'title',
|
|
isPublished: 'isPublished',
|
|
stripeAccountId: 'stripeAccountId',
|
|
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',
|
|
passwordHash: 'passwordHash',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
avatar: 'avatar',
|
|
phone: 'phone',
|
|
verifyToken: 'verifyToken',
|
|
locale: 'locale'
|
|
} as const
|
|
|
|
export type PortalUserScalarFieldEnum = (typeof PortalUserScalarFieldEnum)[keyof typeof PortalUserScalarFieldEnum]
|
|
|
|
|
|
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 PortalUserRegistrationScalarFieldEnum = {
|
|
id: 'id',
|
|
createdAt: 'createdAt',
|
|
portalId: 'portalId',
|
|
email: 'email',
|
|
firstName: 'firstName',
|
|
lastName: 'lastName',
|
|
slug: 'slug',
|
|
token: 'token',
|
|
ipAddress: 'ipAddress',
|
|
company: 'company',
|
|
selectedSubscriptionPriceId: 'selectedSubscriptionPriceId',
|
|
createdPortalUserId: 'createdPortalUserId'
|
|
} as const
|
|
|
|
export type PortalUserRegistrationScalarFieldEnum = (typeof PortalUserRegistrationScalarFieldEnum)[keyof typeof PortalUserRegistrationScalarFieldEnum]
|
|
|
|
|
|
export const PortalSubscriptionProductScalarFieldEnum = {
|
|
id: 'id',
|
|
portalId: 'portalId',
|
|
stripeId: 'stripeId',
|
|
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 PortalSubscriptionProductScalarFieldEnum = (typeof PortalSubscriptionProductScalarFieldEnum)[keyof typeof PortalSubscriptionProductScalarFieldEnum]
|
|
|
|
|
|
export const PortalSubscriptionPriceScalarFieldEnum = {
|
|
id: 'id',
|
|
portalId: 'portalId',
|
|
subscriptionProductId: 'subscriptionProductId',
|
|
stripeId: 'stripeId',
|
|
type: 'type',
|
|
billingPeriod: 'billingPeriod',
|
|
price: 'price',
|
|
currency: 'currency',
|
|
trialDays: 'trialDays',
|
|
active: 'active'
|
|
} as const
|
|
|
|
export type PortalSubscriptionPriceScalarFieldEnum = (typeof PortalSubscriptionPriceScalarFieldEnum)[keyof typeof PortalSubscriptionPriceScalarFieldEnum]
|
|
|
|
|
|
export const PortalSubscriptionFeatureScalarFieldEnum = {
|
|
id: 'id',
|
|
portalId: 'portalId',
|
|
subscriptionProductId: 'subscriptionProductId',
|
|
order: 'order',
|
|
title: 'title',
|
|
name: 'name',
|
|
type: 'type',
|
|
value: 'value',
|
|
href: 'href',
|
|
badge: 'badge',
|
|
accumulate: 'accumulate'
|
|
} as const
|
|
|
|
export type PortalSubscriptionFeatureScalarFieldEnum = (typeof PortalSubscriptionFeatureScalarFieldEnum)[keyof typeof PortalSubscriptionFeatureScalarFieldEnum]
|
|
|
|
|
|
export const PortalUserSubscriptionScalarFieldEnum = {
|
|
id: 'id',
|
|
portalId: 'portalId',
|
|
portalUserId: 'portalUserId',
|
|
stripeCustomerId: 'stripeCustomerId'
|
|
} as const
|
|
|
|
export type PortalUserSubscriptionScalarFieldEnum = (typeof PortalUserSubscriptionScalarFieldEnum)[keyof typeof PortalUserSubscriptionScalarFieldEnum]
|
|
|
|
|
|
export const PortalUserSubscriptionProductScalarFieldEnum = {
|
|
id: 'id',
|
|
portalId: 'portalId',
|
|
createdAt: 'createdAt',
|
|
portalUserSubscriptionId: 'portalUserSubscriptionId',
|
|
subscriptionProductId: 'subscriptionProductId',
|
|
cancelledAt: 'cancelledAt',
|
|
endsAt: 'endsAt',
|
|
stripeSubscriptionId: 'stripeSubscriptionId',
|
|
quantity: 'quantity',
|
|
fromCheckoutSessionId: 'fromCheckoutSessionId',
|
|
currentPeriodStart: 'currentPeriodStart',
|
|
currentPeriodEnd: 'currentPeriodEnd'
|
|
} as const
|
|
|
|
export type PortalUserSubscriptionProductScalarFieldEnum = (typeof PortalUserSubscriptionProductScalarFieldEnum)[keyof typeof PortalUserSubscriptionProductScalarFieldEnum]
|
|
|
|
|
|
export const PortalUserSubscriptionProductPriceScalarFieldEnum = {
|
|
id: 'id',
|
|
portalId: 'portalId',
|
|
portalUserSubscriptionProductId: 'portalUserSubscriptionProductId',
|
|
subscriptionPriceId: 'subscriptionPriceId'
|
|
} as const
|
|
|
|
export type PortalUserSubscriptionProductPriceScalarFieldEnum = (typeof PortalUserSubscriptionProductPriceScalarFieldEnum)[keyof typeof PortalUserSubscriptionProductPriceScalarFieldEnum]
|
|
|
|
|
|
export const PortalCheckoutSessionStatusScalarFieldEnum = {
|
|
id: 'id',
|
|
portalId: 'portalId',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
pending: 'pending',
|
|
email: 'email',
|
|
fromUrl: 'fromUrl',
|
|
fromUserId: 'fromUserId',
|
|
createdUserId: 'createdUserId'
|
|
} as const
|
|
|
|
export type PortalCheckoutSessionStatusScalarFieldEnum = (typeof PortalCheckoutSessionStatusScalarFieldEnum)[keyof typeof PortalCheckoutSessionStatusScalarFieldEnum]
|
|
|
|
|
|
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 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',
|
|
stripeId: 'stripeId',
|
|
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',
|
|
stripeId: 'stripeId',
|
|
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',
|
|
stripeId: 'stripeId',
|
|
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',
|
|
type: 'type',
|
|
value: 'value',
|
|
href: 'href',
|
|
badge: 'badge',
|
|
accumulate: 'accumulate'
|
|
} as const
|
|
|
|
export type SubscriptionFeatureScalarFieldEnum = (typeof SubscriptionFeatureScalarFieldEnum)[keyof typeof SubscriptionFeatureScalarFieldEnum]
|
|
|
|
|
|
export const TenantSubscriptionScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantId: 'tenantId',
|
|
stripeCustomerId: 'stripeCustomerId'
|
|
} 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',
|
|
stripeSubscriptionId: 'stripeSubscriptionId',
|
|
quantity: 'quantity',
|
|
fromCheckoutSessionId: 'fromCheckoutSessionId',
|
|
currentPeriodStart: 'currentPeriodStart',
|
|
currentPeriodEnd: 'currentPeriodEnd'
|
|
} as const
|
|
|
|
export type TenantSubscriptionProductScalarFieldEnum = (typeof TenantSubscriptionProductScalarFieldEnum)[keyof typeof TenantSubscriptionProductScalarFieldEnum]
|
|
|
|
|
|
export const TenantSubscriptionProductPriceScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantSubscriptionProductId: 'tenantSubscriptionProductId',
|
|
subscriptionPriceId: 'subscriptionPriceId',
|
|
subscriptionUsageBasedPriceId: 'subscriptionUsageBasedPriceId'
|
|
} as const
|
|
|
|
export type TenantSubscriptionProductPriceScalarFieldEnum = (typeof TenantSubscriptionProductPriceScalarFieldEnum)[keyof typeof TenantSubscriptionProductPriceScalarFieldEnum]
|
|
|
|
|
|
export const TenantSubscriptionUsageRecordScalarFieldEnum = {
|
|
id: 'id',
|
|
tenantSubscriptionProductPriceId: 'tenantSubscriptionProductPriceId',
|
|
timestamp: 'timestamp',
|
|
quantity: 'quantity',
|
|
stripeSubscriptionItemId: 'stripeSubscriptionItemId'
|
|
} 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'
|
|
} 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 = {
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt',
|
|
id: 'id',
|
|
pending: 'pending',
|
|
email: 'email',
|
|
fromUrl: 'fromUrl',
|
|
fromUserId: 'fromUserId',
|
|
fromTenantId: 'fromTenantId',
|
|
createdUserId: 'createdUserId',
|
|
createdTenantId: 'createdTenantId'
|
|
} as const
|
|
|
|
export type CheckoutSessionStatusScalarFieldEnum = (typeof CheckoutSessionStatusScalarFieldEnum)[keyof typeof CheckoutSessionStatusScalarFieldEnum]
|
|
|
|
|
|
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 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]
|
|
|