/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Tenant` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model Tenant * */ export type TenantModel = runtime.Types.Result.DefaultSelection export type AggregateTenant = { _count: TenantCountAggregateOutputType | null _min: TenantMinAggregateOutputType | null _max: TenantMaxAggregateOutputType | null } export type TenantMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null slug: string | null name: string | null icon: string | null logo: string | null subscriptionId: string | null active: boolean | null deactivatedReason: string | null theme: string | null themeConfig: string | null anrede: string | null } export type TenantMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null slug: string | null name: string | null icon: string | null logo: string | null subscriptionId: string | null active: boolean | null deactivatedReason: string | null theme: string | null themeConfig: string | null anrede: string | null } export type TenantCountAggregateOutputType = { id: number createdAt: number updatedAt: number slug: number name: number icon: number logo: number subscriptionId: number active: number deactivatedReason: number theme: number themeConfig: number anrede: number _all: number } export type TenantMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true slug?: true name?: true icon?: true logo?: true subscriptionId?: true active?: true deactivatedReason?: true theme?: true themeConfig?: true anrede?: true } export type TenantMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true slug?: true name?: true icon?: true logo?: true subscriptionId?: true active?: true deactivatedReason?: true theme?: true themeConfig?: true anrede?: true } export type TenantCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true slug?: true name?: true icon?: true logo?: true subscriptionId?: true active?: true deactivatedReason?: true theme?: true themeConfig?: true anrede?: true _all?: true } export type TenantAggregateArgs = { /** * Filter which Tenant to aggregate. */ where?: Prisma.TenantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tenants to fetch. */ orderBy?: Prisma.TenantOrderByWithRelationInput | Prisma.TenantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.TenantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tenants from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Tenants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Tenants **/ _count?: true | TenantCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TenantMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TenantMaxAggregateInputType } export type GetTenantAggregateType = { [P in keyof T & keyof AggregateTenant]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type TenantGroupByArgs = { where?: Prisma.TenantWhereInput orderBy?: Prisma.TenantOrderByWithAggregationInput | Prisma.TenantOrderByWithAggregationInput[] by: Prisma.TenantScalarFieldEnum[] | Prisma.TenantScalarFieldEnum having?: Prisma.TenantScalarWhereWithAggregatesInput take?: number skip?: number _count?: TenantCountAggregateInputType | true _min?: TenantMinAggregateInputType _max?: TenantMaxAggregateInputType } export type TenantGroupByOutputType = { id: string createdAt: Date updatedAt: Date slug: string name: string icon: string | null logo: string | null subscriptionId: string | null active: boolean deactivatedReason: string | null theme: string | null themeConfig: string | null anrede: string | null _count: TenantCountAggregateOutputType | null _min: TenantMinAggregateOutputType | null _max: TenantMaxAggregateOutputType | null } export type GetTenantGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof TenantGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type TenantWhereInput = { AND?: Prisma.TenantWhereInput | Prisma.TenantWhereInput[] OR?: Prisma.TenantWhereInput[] NOT?: Prisma.TenantWhereInput | Prisma.TenantWhereInput[] id?: Prisma.StringFilter<"Tenant"> | string createdAt?: Prisma.DateTimeFilter<"Tenant"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Tenant"> | Date | string slug?: Prisma.StringFilter<"Tenant"> | string name?: Prisma.StringFilter<"Tenant"> | string icon?: Prisma.StringNullableFilter<"Tenant"> | string | null logo?: Prisma.StringNullableFilter<"Tenant"> | string | null subscriptionId?: Prisma.StringNullableFilter<"Tenant"> | string | null active?: Prisma.BoolFilter<"Tenant"> | boolean deactivatedReason?: Prisma.StringNullableFilter<"Tenant"> | string | null theme?: Prisma.StringNullableFilter<"Tenant"> | string | null themeConfig?: Prisma.StringNullableFilter<"Tenant"> | string | null anrede?: Prisma.StringNullableFilter<"Tenant"> | string | null apiKeys?: Prisma.ApiKeyListRelationFilter apiKeyLogs?: Prisma.ApiKeyLogListRelationFilter groups?: Prisma.GroupListRelationFilter logs?: Prisma.LogListRelationFilter subscription?: Prisma.XOR | null productConfiguration?: Prisma.XOR | null featureOverrides?: Prisma.TenantFeatureOverrideListRelationFilter users?: Prisma.TenantUserListRelationFilter roles?: Prisma.RoleListRelationFilter invitations?: Prisma.TenantUserInvitationListRelationFilter userRoles?: Prisma.UserRoleListRelationFilter inboundAddresses?: Prisma.TenantInboundAddressListRelationFilter events?: Prisma.EventListRelationFilter fromRegistration?: Prisma.XOR | null emailSenders?: Prisma.EmailSenderListRelationFilter campaigns?: Prisma.CampaignListRelationFilter outboundEmails?: Prisma.OutboundEmailListRelationFilter onboardingSessions?: Prisma.OnboardingSessionListRelationFilter onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningListRelationFilter ipAddresses?: Prisma.TenantIpAddressListRelationFilter metricLogs?: Prisma.MetricLogListRelationFilter knowledgeBases?: Prisma.KnowledgeBaseListRelationFilter types?: Prisma.TenantTypeListRelationFilter workflows?: Prisma.WorkflowListRelationFilter workflowExecutions?: Prisma.WorkflowExecutionListRelationFilter workflowVariables?: Prisma.WorkflowVariableListRelationFilter workflowCredentials?: Prisma.WorkflowCredentialListRelationFilter feedback?: Prisma.FeedbackListRelationFilter supportTickets?: Prisma.SupportTicketListRelationFilter credits?: Prisma.CreditListRelationFilter portals?: Prisma.PortalListRelationFilter portalsUsers?: Prisma.PortalUserListRelationFilter widgets?: Prisma.WidgetListRelationFilter impersonationAudits?: Prisma.ImpersonationAuditListRelationFilter adminTenantNotes?: Prisma.AdminTenantNoteListRelationFilter notificationDeliveries?: Prisma.NotificationDeliveryListRelationFilter notificationPreferences?: Prisma.UserNotificationPreferenceListRelationFilter deviceTokens?: Prisma.DeviceTokenListRelationFilter authProviders?: Prisma.WorkspaceAuthProviderListRelationFilter sites?: Prisma.SiteListRelationFilter forms?: Prisma.FormListRelationFilter } export type TenantOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder slug?: Prisma.SortOrder name?: Prisma.SortOrder icon?: Prisma.SortOrderInput | Prisma.SortOrder logo?: Prisma.SortOrderInput | Prisma.SortOrder subscriptionId?: Prisma.SortOrderInput | Prisma.SortOrder active?: Prisma.SortOrder deactivatedReason?: Prisma.SortOrderInput | Prisma.SortOrder theme?: Prisma.SortOrderInput | Prisma.SortOrder themeConfig?: Prisma.SortOrderInput | Prisma.SortOrder anrede?: Prisma.SortOrderInput | Prisma.SortOrder apiKeys?: Prisma.ApiKeyOrderByRelationAggregateInput apiKeyLogs?: Prisma.ApiKeyLogOrderByRelationAggregateInput groups?: Prisma.GroupOrderByRelationAggregateInput logs?: Prisma.LogOrderByRelationAggregateInput subscription?: Prisma.TenantSubscriptionOrderByWithRelationInput productConfiguration?: Prisma.TenantProductConfigurationOrderByWithRelationInput featureOverrides?: Prisma.TenantFeatureOverrideOrderByRelationAggregateInput users?: Prisma.TenantUserOrderByRelationAggregateInput roles?: Prisma.RoleOrderByRelationAggregateInput invitations?: Prisma.TenantUserInvitationOrderByRelationAggregateInput userRoles?: Prisma.UserRoleOrderByRelationAggregateInput inboundAddresses?: Prisma.TenantInboundAddressOrderByRelationAggregateInput events?: Prisma.EventOrderByRelationAggregateInput fromRegistration?: Prisma.RegistrationOrderByWithRelationInput emailSenders?: Prisma.EmailSenderOrderByRelationAggregateInput campaigns?: Prisma.CampaignOrderByRelationAggregateInput outboundEmails?: Prisma.OutboundEmailOrderByRelationAggregateInput onboardingSessions?: Prisma.OnboardingSessionOrderByRelationAggregateInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningOrderByRelationAggregateInput ipAddresses?: Prisma.TenantIpAddressOrderByRelationAggregateInput metricLogs?: Prisma.MetricLogOrderByRelationAggregateInput knowledgeBases?: Prisma.KnowledgeBaseOrderByRelationAggregateInput types?: Prisma.TenantTypeOrderByRelationAggregateInput workflows?: Prisma.WorkflowOrderByRelationAggregateInput workflowExecutions?: Prisma.WorkflowExecutionOrderByRelationAggregateInput workflowVariables?: Prisma.WorkflowVariableOrderByRelationAggregateInput workflowCredentials?: Prisma.WorkflowCredentialOrderByRelationAggregateInput feedback?: Prisma.FeedbackOrderByRelationAggregateInput supportTickets?: Prisma.SupportTicketOrderByRelationAggregateInput credits?: Prisma.CreditOrderByRelationAggregateInput portals?: Prisma.PortalOrderByRelationAggregateInput portalsUsers?: Prisma.PortalUserOrderByRelationAggregateInput widgets?: Prisma.WidgetOrderByRelationAggregateInput impersonationAudits?: Prisma.ImpersonationAuditOrderByRelationAggregateInput adminTenantNotes?: Prisma.AdminTenantNoteOrderByRelationAggregateInput notificationDeliveries?: Prisma.NotificationDeliveryOrderByRelationAggregateInput notificationPreferences?: Prisma.UserNotificationPreferenceOrderByRelationAggregateInput deviceTokens?: Prisma.DeviceTokenOrderByRelationAggregateInput authProviders?: Prisma.WorkspaceAuthProviderOrderByRelationAggregateInput sites?: Prisma.SiteOrderByRelationAggregateInput forms?: Prisma.FormOrderByRelationAggregateInput } export type TenantWhereUniqueInput = Prisma.AtLeast<{ id?: string slug?: string AND?: Prisma.TenantWhereInput | Prisma.TenantWhereInput[] OR?: Prisma.TenantWhereInput[] NOT?: Prisma.TenantWhereInput | Prisma.TenantWhereInput[] createdAt?: Prisma.DateTimeFilter<"Tenant"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Tenant"> | Date | string name?: Prisma.StringFilter<"Tenant"> | string icon?: Prisma.StringNullableFilter<"Tenant"> | string | null logo?: Prisma.StringNullableFilter<"Tenant"> | string | null subscriptionId?: Prisma.StringNullableFilter<"Tenant"> | string | null active?: Prisma.BoolFilter<"Tenant"> | boolean deactivatedReason?: Prisma.StringNullableFilter<"Tenant"> | string | null theme?: Prisma.StringNullableFilter<"Tenant"> | string | null themeConfig?: Prisma.StringNullableFilter<"Tenant"> | string | null anrede?: Prisma.StringNullableFilter<"Tenant"> | string | null apiKeys?: Prisma.ApiKeyListRelationFilter apiKeyLogs?: Prisma.ApiKeyLogListRelationFilter groups?: Prisma.GroupListRelationFilter logs?: Prisma.LogListRelationFilter subscription?: Prisma.XOR | null productConfiguration?: Prisma.XOR | null featureOverrides?: Prisma.TenantFeatureOverrideListRelationFilter users?: Prisma.TenantUserListRelationFilter roles?: Prisma.RoleListRelationFilter invitations?: Prisma.TenantUserInvitationListRelationFilter userRoles?: Prisma.UserRoleListRelationFilter inboundAddresses?: Prisma.TenantInboundAddressListRelationFilter events?: Prisma.EventListRelationFilter fromRegistration?: Prisma.XOR | null emailSenders?: Prisma.EmailSenderListRelationFilter campaigns?: Prisma.CampaignListRelationFilter outboundEmails?: Prisma.OutboundEmailListRelationFilter onboardingSessions?: Prisma.OnboardingSessionListRelationFilter onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningListRelationFilter ipAddresses?: Prisma.TenantIpAddressListRelationFilter metricLogs?: Prisma.MetricLogListRelationFilter knowledgeBases?: Prisma.KnowledgeBaseListRelationFilter types?: Prisma.TenantTypeListRelationFilter workflows?: Prisma.WorkflowListRelationFilter workflowExecutions?: Prisma.WorkflowExecutionListRelationFilter workflowVariables?: Prisma.WorkflowVariableListRelationFilter workflowCredentials?: Prisma.WorkflowCredentialListRelationFilter feedback?: Prisma.FeedbackListRelationFilter supportTickets?: Prisma.SupportTicketListRelationFilter credits?: Prisma.CreditListRelationFilter portals?: Prisma.PortalListRelationFilter portalsUsers?: Prisma.PortalUserListRelationFilter widgets?: Prisma.WidgetListRelationFilter impersonationAudits?: Prisma.ImpersonationAuditListRelationFilter adminTenantNotes?: Prisma.AdminTenantNoteListRelationFilter notificationDeliveries?: Prisma.NotificationDeliveryListRelationFilter notificationPreferences?: Prisma.UserNotificationPreferenceListRelationFilter deviceTokens?: Prisma.DeviceTokenListRelationFilter authProviders?: Prisma.WorkspaceAuthProviderListRelationFilter sites?: Prisma.SiteListRelationFilter forms?: Prisma.FormListRelationFilter }, "id" | "slug"> export type TenantOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder slug?: Prisma.SortOrder name?: Prisma.SortOrder icon?: Prisma.SortOrderInput | Prisma.SortOrder logo?: Prisma.SortOrderInput | Prisma.SortOrder subscriptionId?: Prisma.SortOrderInput | Prisma.SortOrder active?: Prisma.SortOrder deactivatedReason?: Prisma.SortOrderInput | Prisma.SortOrder theme?: Prisma.SortOrderInput | Prisma.SortOrder themeConfig?: Prisma.SortOrderInput | Prisma.SortOrder anrede?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.TenantCountOrderByAggregateInput _max?: Prisma.TenantMaxOrderByAggregateInput _min?: Prisma.TenantMinOrderByAggregateInput } export type TenantScalarWhereWithAggregatesInput = { AND?: Prisma.TenantScalarWhereWithAggregatesInput | Prisma.TenantScalarWhereWithAggregatesInput[] OR?: Prisma.TenantScalarWhereWithAggregatesInput[] NOT?: Prisma.TenantScalarWhereWithAggregatesInput | Prisma.TenantScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Tenant"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"Tenant"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Tenant"> | Date | string slug?: Prisma.StringWithAggregatesFilter<"Tenant"> | string name?: Prisma.StringWithAggregatesFilter<"Tenant"> | string icon?: Prisma.StringNullableWithAggregatesFilter<"Tenant"> | string | null logo?: Prisma.StringNullableWithAggregatesFilter<"Tenant"> | string | null subscriptionId?: Prisma.StringNullableWithAggregatesFilter<"Tenant"> | string | null active?: Prisma.BoolWithAggregatesFilter<"Tenant"> | boolean deactivatedReason?: Prisma.StringNullableWithAggregatesFilter<"Tenant"> | string | null theme?: Prisma.StringNullableWithAggregatesFilter<"Tenant"> | string | null themeConfig?: Prisma.StringNullableWithAggregatesFilter<"Tenant"> | string | null anrede?: Prisma.StringNullableWithAggregatesFilter<"Tenant"> | string | null } export type TenantCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null } export type TenantUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type TenantUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type TenantCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder slug?: Prisma.SortOrder name?: Prisma.SortOrder icon?: Prisma.SortOrder logo?: Prisma.SortOrder subscriptionId?: Prisma.SortOrder active?: Prisma.SortOrder deactivatedReason?: Prisma.SortOrder theme?: Prisma.SortOrder themeConfig?: Prisma.SortOrder anrede?: Prisma.SortOrder } export type TenantMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder slug?: Prisma.SortOrder name?: Prisma.SortOrder icon?: Prisma.SortOrder logo?: Prisma.SortOrder subscriptionId?: Prisma.SortOrder active?: Prisma.SortOrder deactivatedReason?: Prisma.SortOrder theme?: Prisma.SortOrder themeConfig?: Prisma.SortOrder anrede?: Prisma.SortOrder } export type TenantMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder slug?: Prisma.SortOrder name?: Prisma.SortOrder icon?: Prisma.SortOrder logo?: Prisma.SortOrder subscriptionId?: Prisma.SortOrder active?: Prisma.SortOrder deactivatedReason?: Prisma.SortOrder theme?: Prisma.SortOrder themeConfig?: Prisma.SortOrder anrede?: Prisma.SortOrder } export type TenantScalarRelationFilter = { is?: Prisma.TenantWhereInput isNot?: Prisma.TenantWhereInput } export type TenantNullableScalarRelationFilter = { is?: Prisma.TenantWhereInput | null isNot?: Prisma.TenantWhereInput | null } export type TenantListRelationFilter = { every?: Prisma.TenantWhereInput some?: Prisma.TenantWhereInput none?: Prisma.TenantWhereInput } export type TenantOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type TenantCreateNestedOneWithoutAuthProvidersInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutAuthProvidersInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutAuthProvidersNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutAuthProvidersInput upsert?: Prisma.TenantUpsertWithoutAuthProvidersInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutAuthProvidersInput> } export type TenantCreateNestedOneWithoutImpersonationAuditsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutImpersonationAuditsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutImpersonationAuditsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutImpersonationAuditsInput upsert?: Prisma.TenantUpsertWithoutImpersonationAuditsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutImpersonationAuditsInput> } export type TenantCreateNestedOneWithoutUsersInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutUsersInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutUsersNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutUsersInput upsert?: Prisma.TenantUpsertWithoutUsersInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutUsersInput> } export type TenantCreateNestedOneWithoutInvitationsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutInvitationsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutInvitationsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutInvitationsInput upsert?: Prisma.TenantUpsertWithoutInvitationsInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutInvitationsInput> } export type TenantCreateNestedOneWithoutFromRegistrationInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutFromRegistrationInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutFromRegistrationNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutFromRegistrationInput upsert?: Prisma.TenantUpsertWithoutFromRegistrationInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutFromRegistrationInput> } export type TenantCreateNestedOneWithoutIpAddressesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutIpAddressesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutIpAddressesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutIpAddressesInput upsert?: Prisma.TenantUpsertWithoutIpAddressesInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutIpAddressesInput> } export type TenantCreateNestedManyWithoutTypesInput = { create?: Prisma.XOR | Prisma.TenantCreateWithoutTypesInput[] | Prisma.TenantUncheckedCreateWithoutTypesInput[] connectOrCreate?: Prisma.TenantCreateOrConnectWithoutTypesInput | Prisma.TenantCreateOrConnectWithoutTypesInput[] connect?: Prisma.TenantWhereUniqueInput | Prisma.TenantWhereUniqueInput[] } export type TenantUncheckedCreateNestedManyWithoutTypesInput = { create?: Prisma.XOR | Prisma.TenantCreateWithoutTypesInput[] | Prisma.TenantUncheckedCreateWithoutTypesInput[] connectOrCreate?: Prisma.TenantCreateOrConnectWithoutTypesInput | Prisma.TenantCreateOrConnectWithoutTypesInput[] connect?: Prisma.TenantWhereUniqueInput | Prisma.TenantWhereUniqueInput[] } export type TenantUpdateManyWithoutTypesNestedInput = { create?: Prisma.XOR | Prisma.TenantCreateWithoutTypesInput[] | Prisma.TenantUncheckedCreateWithoutTypesInput[] connectOrCreate?: Prisma.TenantCreateOrConnectWithoutTypesInput | Prisma.TenantCreateOrConnectWithoutTypesInput[] upsert?: Prisma.TenantUpsertWithWhereUniqueWithoutTypesInput | Prisma.TenantUpsertWithWhereUniqueWithoutTypesInput[] set?: Prisma.TenantWhereUniqueInput | Prisma.TenantWhereUniqueInput[] disconnect?: Prisma.TenantWhereUniqueInput | Prisma.TenantWhereUniqueInput[] delete?: Prisma.TenantWhereUniqueInput | Prisma.TenantWhereUniqueInput[] connect?: Prisma.TenantWhereUniqueInput | Prisma.TenantWhereUniqueInput[] update?: Prisma.TenantUpdateWithWhereUniqueWithoutTypesInput | Prisma.TenantUpdateWithWhereUniqueWithoutTypesInput[] updateMany?: Prisma.TenantUpdateManyWithWhereWithoutTypesInput | Prisma.TenantUpdateManyWithWhereWithoutTypesInput[] deleteMany?: Prisma.TenantScalarWhereInput | Prisma.TenantScalarWhereInput[] } export type TenantUncheckedUpdateManyWithoutTypesNestedInput = { create?: Prisma.XOR | Prisma.TenantCreateWithoutTypesInput[] | Prisma.TenantUncheckedCreateWithoutTypesInput[] connectOrCreate?: Prisma.TenantCreateOrConnectWithoutTypesInput | Prisma.TenantCreateOrConnectWithoutTypesInput[] upsert?: Prisma.TenantUpsertWithWhereUniqueWithoutTypesInput | Prisma.TenantUpsertWithWhereUniqueWithoutTypesInput[] set?: Prisma.TenantWhereUniqueInput | Prisma.TenantWhereUniqueInput[] disconnect?: Prisma.TenantWhereUniqueInput | Prisma.TenantWhereUniqueInput[] delete?: Prisma.TenantWhereUniqueInput | Prisma.TenantWhereUniqueInput[] connect?: Prisma.TenantWhereUniqueInput | Prisma.TenantWhereUniqueInput[] update?: Prisma.TenantUpdateWithWhereUniqueWithoutTypesInput | Prisma.TenantUpdateWithWhereUniqueWithoutTypesInput[] updateMany?: Prisma.TenantUpdateManyWithWhereWithoutTypesInput | Prisma.TenantUpdateManyWithWhereWithoutTypesInput[] deleteMany?: Prisma.TenantScalarWhereInput | Prisma.TenantScalarWhereInput[] } export type TenantCreateNestedOneWithoutAdminTenantNotesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutAdminTenantNotesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutAdminTenantNotesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutAdminTenantNotesInput upsert?: Prisma.TenantUpsertWithoutAdminTenantNotesInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutAdminTenantNotesInput> } export type TenantCreateNestedOneWithoutLogsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutLogsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutLogsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutLogsInput upsert?: Prisma.TenantUpsertWithoutLogsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutLogsInput> } export type TenantCreateNestedOneWithoutApiKeysInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutApiKeysInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutApiKeysNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutApiKeysInput upsert?: Prisma.TenantUpsertWithoutApiKeysInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutApiKeysInput> } export type TenantCreateNestedOneWithoutApiKeyLogsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutApiKeyLogsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutApiKeyLogsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutApiKeyLogsInput upsert?: Prisma.TenantUpsertWithoutApiKeyLogsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutApiKeyLogsInput> } export type TenantCreateNestedOneWithoutEventsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutEventsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutEventsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutEventsInput upsert?: Prisma.TenantUpsertWithoutEventsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutEventsInput> } export type TenantCreateNestedOneWithoutMetricLogsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutMetricLogsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutMetricLogsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutMetricLogsInput upsert?: Prisma.TenantUpsertWithoutMetricLogsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutMetricLogsInput> } export type TenantCreateNestedOneWithoutWidgetsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutWidgetsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutWidgetsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutWidgetsInput upsert?: Prisma.TenantUpsertWithoutWidgetsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutWidgetsInput> } export type TenantCreateNestedOneWithoutInboundAddressesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutInboundAddressesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutInboundAddressesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutInboundAddressesInput upsert?: Prisma.TenantUpsertWithoutInboundAddressesInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutInboundAddressesInput> } export type TenantCreateNestedOneWithoutEmailSendersInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutEmailSendersInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutEmailSendersNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutEmailSendersInput upsert?: Prisma.TenantUpsertWithoutEmailSendersInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutEmailSendersInput> } export type TenantCreateNestedOneWithoutCampaignsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutCampaignsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutCampaignsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutCampaignsInput upsert?: Prisma.TenantUpsertWithoutCampaignsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutCampaignsInput> } export type TenantCreateNestedOneWithoutOutboundEmailsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutOutboundEmailsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutOutboundEmailsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutOutboundEmailsInput upsert?: Prisma.TenantUpsertWithoutOutboundEmailsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutOutboundEmailsInput> } export type TenantCreateNestedOneWithoutFormsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutFormsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutFormsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutFormsInput upsert?: Prisma.TenantUpsertWithoutFormsInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutFormsInput> } export type TenantCreateNestedOneWithoutFeedbackInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutFeedbackInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutFeedbackNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutFeedbackInput upsert?: Prisma.TenantUpsertWithoutFeedbackInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutFeedbackInput> } export type TenantCreateNestedOneWithoutSupportTicketsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutSupportTicketsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutSupportTicketsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutSupportTicketsInput upsert?: Prisma.TenantUpsertWithoutSupportTicketsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutSupportTicketsInput> } export type TenantCreateNestedOneWithoutKnowledgeBasesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutKnowledgeBasesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutKnowledgeBasesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutKnowledgeBasesInput upsert?: Prisma.TenantUpsertWithoutKnowledgeBasesInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutKnowledgeBasesInput> } export type TenantCreateNestedOneWithoutNotificationDeliveriesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutNotificationDeliveriesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutNotificationDeliveriesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutNotificationDeliveriesInput upsert?: Prisma.TenantUpsertWithoutNotificationDeliveriesInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutNotificationDeliveriesInput> } export type TenantCreateNestedOneWithoutNotificationPreferencesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutNotificationPreferencesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutNotificationPreferencesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutNotificationPreferencesInput upsert?: Prisma.TenantUpsertWithoutNotificationPreferencesInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutNotificationPreferencesInput> } export type TenantCreateNestedOneWithoutDeviceTokensInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutDeviceTokensInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutDeviceTokensNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutDeviceTokensInput upsert?: Prisma.TenantUpsertWithoutDeviceTokensInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutDeviceTokensInput> } export type TenantCreateNestedOneWithoutOnboardingSessionsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutOnboardingSessionsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutOnboardingSessionsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutOnboardingSessionsInput upsert?: Prisma.TenantUpsertWithoutOnboardingSessionsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutOnboardingSessionsInput> } export type TenantCreateNestedOneWithoutOnboardingDemoProvisioningsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutOnboardingDemoProvisioningsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutOnboardingDemoProvisioningsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutOnboardingDemoProvisioningsInput upsert?: Prisma.TenantUpsertWithoutOnboardingDemoProvisioningsInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutOnboardingDemoProvisioningsInput> } export type TenantCreateNestedOneWithoutRolesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutRolesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutRolesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutRolesInput upsert?: Prisma.TenantUpsertWithoutRolesInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutRolesInput> } export type TenantCreateNestedOneWithoutUserRolesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutUserRolesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutUserRolesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutUserRolesInput upsert?: Prisma.TenantUpsertWithoutUserRolesInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutUserRolesInput> } export type TenantCreateNestedOneWithoutGroupsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutGroupsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutGroupsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutGroupsInput upsert?: Prisma.TenantUpsertWithoutGroupsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutGroupsInput> } export type TenantCreateNestedOneWithoutPortalsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutPortalsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutPortalsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutPortalsInput upsert?: Prisma.TenantUpsertWithoutPortalsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutPortalsInput> } export type TenantCreateNestedOneWithoutPortalsUsersInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutPortalsUsersInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutPortalsUsersNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutPortalsUsersInput upsert?: Prisma.TenantUpsertWithoutPortalsUsersInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutPortalsUsersInput> } export type TenantCreateNestedOneWithoutSitesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutSitesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutSitesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutSitesInput upsert?: Prisma.TenantUpsertWithoutSitesInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutSitesInput> } export type TenantCreateNestedOneWithoutSubscriptionInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutSubscriptionInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutSubscriptionNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutSubscriptionInput upsert?: Prisma.TenantUpsertWithoutSubscriptionInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutSubscriptionInput> } export type TenantCreateNestedOneWithoutProductConfigurationInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutProductConfigurationInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutProductConfigurationNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutProductConfigurationInput upsert?: Prisma.TenantUpsertWithoutProductConfigurationInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutProductConfigurationInput> } export type TenantCreateNestedOneWithoutFeatureOverridesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutFeatureOverridesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutFeatureOverridesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutFeatureOverridesInput upsert?: Prisma.TenantUpsertWithoutFeatureOverridesInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutFeatureOverridesInput> } export type TenantCreateNestedOneWithoutCreditsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutCreditsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneRequiredWithoutCreditsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutCreditsInput upsert?: Prisma.TenantUpsertWithoutCreditsInput connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutCreditsInput> } export type TenantCreateNestedOneWithoutWorkflowsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutWorkflowsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutWorkflowsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutWorkflowsInput upsert?: Prisma.TenantUpsertWithoutWorkflowsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutWorkflowsInput> } export type TenantCreateNestedOneWithoutWorkflowExecutionsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutWorkflowExecutionsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutWorkflowExecutionsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutWorkflowExecutionsInput upsert?: Prisma.TenantUpsertWithoutWorkflowExecutionsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutWorkflowExecutionsInput> } export type TenantCreateNestedOneWithoutWorkflowVariablesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutWorkflowVariablesInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutWorkflowVariablesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutWorkflowVariablesInput upsert?: Prisma.TenantUpsertWithoutWorkflowVariablesInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutWorkflowVariablesInput> } export type TenantCreateNestedOneWithoutWorkflowCredentialsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutWorkflowCredentialsInput connect?: Prisma.TenantWhereUniqueInput } export type TenantUpdateOneWithoutWorkflowCredentialsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantCreateOrConnectWithoutWorkflowCredentialsInput upsert?: Prisma.TenantUpsertWithoutWorkflowCredentialsInput disconnect?: Prisma.TenantWhereInput | boolean delete?: Prisma.TenantWhereInput | boolean connect?: Prisma.TenantWhereUniqueInput update?: Prisma.XOR, Prisma.TenantUncheckedUpdateWithoutWorkflowCredentialsInput> } export type TenantCreateWithoutAuthProvidersInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutAuthProvidersInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutAuthProvidersInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutAuthProvidersInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutAuthProvidersInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutAuthProvidersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutAuthProvidersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutImpersonationAuditsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutImpersonationAuditsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutImpersonationAuditsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutImpersonationAuditsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutImpersonationAuditsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutImpersonationAuditsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutImpersonationAuditsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutUsersInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutUsersInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutUsersInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutUsersInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutUsersInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutUsersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutUsersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutInvitationsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutInvitationsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutInvitationsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutInvitationsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutInvitationsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutInvitationsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutInvitationsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutFromRegistrationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutFromRegistrationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutFromRegistrationInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutFromRegistrationInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutFromRegistrationInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutFromRegistrationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutFromRegistrationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutIpAddressesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutIpAddressesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutIpAddressesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutIpAddressesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutIpAddressesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutIpAddressesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutIpAddressesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutTypesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutTypesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutTypesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithWhereUniqueWithoutTypesInput = { where: Prisma.TenantWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TenantUpdateWithWhereUniqueWithoutTypesInput = { where: Prisma.TenantWhereUniqueInput data: Prisma.XOR } export type TenantUpdateManyWithWhereWithoutTypesInput = { where: Prisma.TenantScalarWhereInput data: Prisma.XOR } export type TenantScalarWhereInput = { AND?: Prisma.TenantScalarWhereInput | Prisma.TenantScalarWhereInput[] OR?: Prisma.TenantScalarWhereInput[] NOT?: Prisma.TenantScalarWhereInput | Prisma.TenantScalarWhereInput[] id?: Prisma.StringFilter<"Tenant"> | string createdAt?: Prisma.DateTimeFilter<"Tenant"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Tenant"> | Date | string slug?: Prisma.StringFilter<"Tenant"> | string name?: Prisma.StringFilter<"Tenant"> | string icon?: Prisma.StringNullableFilter<"Tenant"> | string | null logo?: Prisma.StringNullableFilter<"Tenant"> | string | null subscriptionId?: Prisma.StringNullableFilter<"Tenant"> | string | null active?: Prisma.BoolFilter<"Tenant"> | boolean deactivatedReason?: Prisma.StringNullableFilter<"Tenant"> | string | null theme?: Prisma.StringNullableFilter<"Tenant"> | string | null themeConfig?: Prisma.StringNullableFilter<"Tenant"> | string | null anrede?: Prisma.StringNullableFilter<"Tenant"> | string | null } export type TenantCreateWithoutAdminTenantNotesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutAdminTenantNotesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutAdminTenantNotesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutAdminTenantNotesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutAdminTenantNotesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutAdminTenantNotesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutAdminTenantNotesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutLogsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutLogsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutLogsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutLogsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutLogsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutApiKeysInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutApiKeysInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutApiKeysInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutApiKeysInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutApiKeysInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutApiKeysInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutApiKeysInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutApiKeyLogsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutApiKeyLogsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutApiKeyLogsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutApiKeyLogsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutApiKeyLogsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutApiKeyLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutApiKeyLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutEventsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutEventsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutEventsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutEventsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutEventsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutEventsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutEventsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutMetricLogsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutMetricLogsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutMetricLogsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutMetricLogsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutMetricLogsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutMetricLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutMetricLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutWidgetsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutWidgetsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutWidgetsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutWidgetsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutWidgetsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutWidgetsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutWidgetsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutInboundAddressesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutInboundAddressesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutInboundAddressesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutInboundAddressesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutInboundAddressesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutInboundAddressesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutInboundAddressesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutEmailSendersInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutEmailSendersInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutEmailSendersInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutEmailSendersInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutEmailSendersInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutEmailSendersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutEmailSendersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutCampaignsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutCampaignsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutCampaignsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutCampaignsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutCampaignsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutCampaignsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutCampaignsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutOutboundEmailsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutOutboundEmailsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutOutboundEmailsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutOutboundEmailsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutOutboundEmailsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutOutboundEmailsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutOutboundEmailsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutFormsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutFormsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutFormsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutFormsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutFormsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutFormsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutFormsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutFeedbackInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutFeedbackInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutFeedbackInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutFeedbackInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutFeedbackInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutFeedbackInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutFeedbackInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutSupportTicketsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutSupportTicketsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutSupportTicketsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutSupportTicketsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutSupportTicketsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutSupportTicketsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutSupportTicketsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutKnowledgeBasesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutKnowledgeBasesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutKnowledgeBasesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutKnowledgeBasesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutKnowledgeBasesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutKnowledgeBasesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutKnowledgeBasesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutNotificationDeliveriesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutNotificationDeliveriesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutNotificationDeliveriesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutNotificationDeliveriesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutNotificationDeliveriesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutNotificationDeliveriesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutNotificationDeliveriesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutNotificationPreferencesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutNotificationPreferencesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutNotificationPreferencesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutNotificationPreferencesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutNotificationPreferencesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutNotificationPreferencesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutNotificationPreferencesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutDeviceTokensInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutDeviceTokensInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutDeviceTokensInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutDeviceTokensInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutDeviceTokensInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutDeviceTokensInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutDeviceTokensInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutOnboardingSessionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutOnboardingSessionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutOnboardingSessionsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutOnboardingSessionsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutOnboardingSessionsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutOnboardingSessionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutOnboardingSessionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutOnboardingDemoProvisioningsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutOnboardingDemoProvisioningsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutOnboardingDemoProvisioningsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutOnboardingDemoProvisioningsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutOnboardingDemoProvisioningsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutOnboardingDemoProvisioningsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutOnboardingDemoProvisioningsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutRolesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutRolesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutRolesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutRolesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutRolesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutRolesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutRolesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutUserRolesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutUserRolesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutUserRolesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutUserRolesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutUserRolesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutUserRolesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutUserRolesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutGroupsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutGroupsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutGroupsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutGroupsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutGroupsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutGroupsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutGroupsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutPortalsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutPortalsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutPortalsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutPortalsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutPortalsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutPortalsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutPortalsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutPortalsUsersInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutPortalsUsersInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutPortalsUsersInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutPortalsUsersInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutPortalsUsersInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutPortalsUsersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutPortalsUsersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutSitesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutSitesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutSitesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutSitesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutSitesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutSitesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutSitesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutSubscriptionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutSubscriptionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutSubscriptionInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutSubscriptionInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutSubscriptionInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutSubscriptionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutSubscriptionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutProductConfigurationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutProductConfigurationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutProductConfigurationInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutProductConfigurationInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutProductConfigurationInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutProductConfigurationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutProductConfigurationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutFeatureOverridesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutFeatureOverridesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutFeatureOverridesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutFeatureOverridesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutFeatureOverridesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutFeatureOverridesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutFeatureOverridesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutCreditsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutCreditsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutCreditsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutCreditsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutCreditsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutCreditsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutCreditsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutWorkflowsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutWorkflowsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutWorkflowsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutWorkflowsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutWorkflowsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutWorkflowsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutWorkflowsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutWorkflowExecutionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutWorkflowExecutionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutWorkflowExecutionsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutWorkflowExecutionsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutWorkflowExecutionsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutWorkflowExecutionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutWorkflowExecutionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutWorkflowVariablesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutWorkflowVariablesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutWorkflowVariablesInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutWorkflowVariablesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutWorkflowVariablesInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutWorkflowVariablesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutWorkflowVariablesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantCreateWithoutWorkflowCredentialsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogCreateNestedManyWithoutTenantInput groups?: Prisma.GroupCreateNestedManyWithoutTenantInput logs?: Prisma.LogCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserCreateNestedManyWithoutTenantInput roles?: Prisma.RoleCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressCreateNestedManyWithoutTenantInput events?: Prisma.EventCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketCreateNestedManyWithoutTenantInput credits?: Prisma.CreditCreateNestedManyWithoutTenantInput portals?: Prisma.PortalCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderCreateNestedManyWithoutTenantInput sites?: Prisma.SiteCreateNestedManyWithoutTenantInput forms?: Prisma.FormCreateNestedManyWithoutTenantInput } export type TenantUncheckedCreateWithoutWorkflowCredentialsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string slug: string name: string icon?: string | null logo?: string | null subscriptionId?: string | null active?: boolean deactivatedReason?: string | null theme?: string | null themeConfig?: string | null anrede?: string | null apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedCreateNestedManyWithoutTenantInput groups?: Prisma.GroupUncheckedCreateNestedManyWithoutTenantInput logs?: Prisma.LogUncheckedCreateNestedManyWithoutTenantInput subscription?: Prisma.TenantSubscriptionUncheckedCreateNestedOneWithoutTenantInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedCreateNestedOneWithoutTenantInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedCreateNestedManyWithoutTenantInput users?: Prisma.TenantUserUncheckedCreateNestedManyWithoutTenantInput roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput invitations?: Prisma.TenantUserInvitationUncheckedCreateNestedManyWithoutTenantInput userRoles?: Prisma.UserRoleUncheckedCreateNestedManyWithoutTenantInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedCreateNestedManyWithoutTenantInput events?: Prisma.EventUncheckedCreateNestedManyWithoutTenantInput fromRegistration?: Prisma.RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput emailSenders?: Prisma.EmailSenderUncheckedCreateNestedManyWithoutTenantInput campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutTenantInput outboundEmails?: Prisma.OutboundEmailUncheckedCreateNestedManyWithoutTenantInput onboardingSessions?: Prisma.OnboardingSessionUncheckedCreateNestedManyWithoutTenantInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedCreateNestedManyWithoutTenantInput ipAddresses?: Prisma.TenantIpAddressUncheckedCreateNestedManyWithoutTenantInput metricLogs?: Prisma.MetricLogUncheckedCreateNestedManyWithoutTenantInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutTenantInput types?: Prisma.TenantTypeUncheckedCreateNestedManyWithoutTenantsInput workflows?: Prisma.WorkflowUncheckedCreateNestedManyWithoutTenantInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutTenantInput workflowVariables?: Prisma.WorkflowVariableUncheckedCreateNestedManyWithoutTenantInput feedback?: Prisma.FeedbackUncheckedCreateNestedManyWithoutTenantInput supportTickets?: Prisma.SupportTicketUncheckedCreateNestedManyWithoutTenantInput credits?: Prisma.CreditUncheckedCreateNestedManyWithoutTenantInput portals?: Prisma.PortalUncheckedCreateNestedManyWithoutTenantInput portalsUsers?: Prisma.PortalUserUncheckedCreateNestedManyWithoutTenantInput widgets?: Prisma.WidgetUncheckedCreateNestedManyWithoutTenantInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedCreateNestedManyWithoutTenantInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutTenantInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutTenantInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedCreateNestedManyWithoutTenantInput deviceTokens?: Prisma.DeviceTokenUncheckedCreateNestedManyWithoutTenantInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput sites?: Prisma.SiteUncheckedCreateNestedManyWithoutTenantInput forms?: Prisma.FormUncheckedCreateNestedManyWithoutTenantInput } export type TenantCreateOrConnectWithoutWorkflowCredentialsInput = { where: Prisma.TenantWhereUniqueInput create: Prisma.XOR } export type TenantUpsertWithoutWorkflowCredentialsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantWhereInput } export type TenantUpdateToOneWithWhereWithoutWorkflowCredentialsInput = { where?: Prisma.TenantWhereInput data: Prisma.XOR } export type TenantUpdateWithoutWorkflowCredentialsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutWorkflowCredentialsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput types?: Prisma.TenantTypeUncheckedUpdateManyWithoutTenantsNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantUpdateWithoutTypesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUpdateManyWithoutTenantNestedInput events?: Prisma.EventUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutTenantNestedInput workflows?: Prisma.WorkflowUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateWithoutTypesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput apiKeyLogs?: Prisma.ApiKeyLogUncheckedUpdateManyWithoutTenantNestedInput groups?: Prisma.GroupUncheckedUpdateManyWithoutTenantNestedInput logs?: Prisma.LogUncheckedUpdateManyWithoutTenantNestedInput subscription?: Prisma.TenantSubscriptionUncheckedUpdateOneWithoutTenantNestedInput productConfiguration?: Prisma.TenantProductConfigurationUncheckedUpdateOneWithoutTenantNestedInput featureOverrides?: Prisma.TenantFeatureOverrideUncheckedUpdateManyWithoutTenantNestedInput users?: Prisma.TenantUserUncheckedUpdateManyWithoutTenantNestedInput roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput invitations?: Prisma.TenantUserInvitationUncheckedUpdateManyWithoutTenantNestedInput userRoles?: Prisma.UserRoleUncheckedUpdateManyWithoutTenantNestedInput inboundAddresses?: Prisma.TenantInboundAddressUncheckedUpdateManyWithoutTenantNestedInput events?: Prisma.EventUncheckedUpdateManyWithoutTenantNestedInput fromRegistration?: Prisma.RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput emailSenders?: Prisma.EmailSenderUncheckedUpdateManyWithoutTenantNestedInput campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutTenantNestedInput outboundEmails?: Prisma.OutboundEmailUncheckedUpdateManyWithoutTenantNestedInput onboardingSessions?: Prisma.OnboardingSessionUncheckedUpdateManyWithoutTenantNestedInput onboardingDemoProvisionings?: Prisma.OnboardingDemoProvisioningUncheckedUpdateManyWithoutTenantNestedInput ipAddresses?: Prisma.TenantIpAddressUncheckedUpdateManyWithoutTenantNestedInput metricLogs?: Prisma.MetricLogUncheckedUpdateManyWithoutTenantNestedInput knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutTenantNestedInput workflows?: Prisma.WorkflowUncheckedUpdateManyWithoutTenantNestedInput workflowExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutTenantNestedInput workflowVariables?: Prisma.WorkflowVariableUncheckedUpdateManyWithoutTenantNestedInput workflowCredentials?: Prisma.WorkflowCredentialUncheckedUpdateManyWithoutTenantNestedInput feedback?: Prisma.FeedbackUncheckedUpdateManyWithoutTenantNestedInput supportTickets?: Prisma.SupportTicketUncheckedUpdateManyWithoutTenantNestedInput credits?: Prisma.CreditUncheckedUpdateManyWithoutTenantNestedInput portals?: Prisma.PortalUncheckedUpdateManyWithoutTenantNestedInput portalsUsers?: Prisma.PortalUserUncheckedUpdateManyWithoutTenantNestedInput widgets?: Prisma.WidgetUncheckedUpdateManyWithoutTenantNestedInput impersonationAudits?: Prisma.ImpersonationAuditUncheckedUpdateManyWithoutTenantNestedInput adminTenantNotes?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutTenantNestedInput notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutTenantNestedInput notificationPreferences?: Prisma.UserNotificationPreferenceUncheckedUpdateManyWithoutTenantNestedInput deviceTokens?: Prisma.DeviceTokenUncheckedUpdateManyWithoutTenantNestedInput authProviders?: Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput sites?: Prisma.SiteUncheckedUpdateManyWithoutTenantNestedInput forms?: Prisma.FormUncheckedUpdateManyWithoutTenantNestedInput } export type TenantUncheckedUpdateManyWithoutTypesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string slug?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null subscriptionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null active?: Prisma.BoolFieldUpdateOperationsInput | boolean deactivatedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null theme?: Prisma.NullableStringFieldUpdateOperationsInput | string | null themeConfig?: Prisma.NullableStringFieldUpdateOperationsInput | string | null anrede?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type TenantCountOutputType */ export type TenantCountOutputType = { apiKeys: number apiKeyLogs: number groups: number logs: number featureOverrides: number users: number roles: number invitations: number userRoles: number inboundAddresses: number events: number emailSenders: number campaigns: number outboundEmails: number onboardingSessions: number onboardingDemoProvisionings: number ipAddresses: number metricLogs: number knowledgeBases: number types: number workflows: number workflowExecutions: number workflowVariables: number workflowCredentials: number feedback: number supportTickets: number credits: number portals: number portalsUsers: number widgets: number impersonationAudits: number adminTenantNotes: number notificationDeliveries: number notificationPreferences: number deviceTokens: number authProviders: number sites: number forms: number } export type TenantCountOutputTypeSelect = { apiKeys?: boolean | TenantCountOutputTypeCountApiKeysArgs apiKeyLogs?: boolean | TenantCountOutputTypeCountApiKeyLogsArgs groups?: boolean | TenantCountOutputTypeCountGroupsArgs logs?: boolean | TenantCountOutputTypeCountLogsArgs featureOverrides?: boolean | TenantCountOutputTypeCountFeatureOverridesArgs users?: boolean | TenantCountOutputTypeCountUsersArgs roles?: boolean | TenantCountOutputTypeCountRolesArgs invitations?: boolean | TenantCountOutputTypeCountInvitationsArgs userRoles?: boolean | TenantCountOutputTypeCountUserRolesArgs inboundAddresses?: boolean | TenantCountOutputTypeCountInboundAddressesArgs events?: boolean | TenantCountOutputTypeCountEventsArgs emailSenders?: boolean | TenantCountOutputTypeCountEmailSendersArgs campaigns?: boolean | TenantCountOutputTypeCountCampaignsArgs outboundEmails?: boolean | TenantCountOutputTypeCountOutboundEmailsArgs onboardingSessions?: boolean | TenantCountOutputTypeCountOnboardingSessionsArgs onboardingDemoProvisionings?: boolean | TenantCountOutputTypeCountOnboardingDemoProvisioningsArgs ipAddresses?: boolean | TenantCountOutputTypeCountIpAddressesArgs metricLogs?: boolean | TenantCountOutputTypeCountMetricLogsArgs knowledgeBases?: boolean | TenantCountOutputTypeCountKnowledgeBasesArgs types?: boolean | TenantCountOutputTypeCountTypesArgs workflows?: boolean | TenantCountOutputTypeCountWorkflowsArgs workflowExecutions?: boolean | TenantCountOutputTypeCountWorkflowExecutionsArgs workflowVariables?: boolean | TenantCountOutputTypeCountWorkflowVariablesArgs workflowCredentials?: boolean | TenantCountOutputTypeCountWorkflowCredentialsArgs feedback?: boolean | TenantCountOutputTypeCountFeedbackArgs supportTickets?: boolean | TenantCountOutputTypeCountSupportTicketsArgs credits?: boolean | TenantCountOutputTypeCountCreditsArgs portals?: boolean | TenantCountOutputTypeCountPortalsArgs portalsUsers?: boolean | TenantCountOutputTypeCountPortalsUsersArgs widgets?: boolean | TenantCountOutputTypeCountWidgetsArgs impersonationAudits?: boolean | TenantCountOutputTypeCountImpersonationAuditsArgs adminTenantNotes?: boolean | TenantCountOutputTypeCountAdminTenantNotesArgs notificationDeliveries?: boolean | TenantCountOutputTypeCountNotificationDeliveriesArgs notificationPreferences?: boolean | TenantCountOutputTypeCountNotificationPreferencesArgs deviceTokens?: boolean | TenantCountOutputTypeCountDeviceTokensArgs authProviders?: boolean | TenantCountOutputTypeCountAuthProvidersArgs sites?: boolean | TenantCountOutputTypeCountSitesArgs forms?: boolean | TenantCountOutputTypeCountFormsArgs } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the TenantCountOutputType */ select?: Prisma.TenantCountOutputTypeSelect | null } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountApiKeysArgs = { where?: Prisma.ApiKeyWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountApiKeyLogsArgs = { where?: Prisma.ApiKeyLogWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountGroupsArgs = { where?: Prisma.GroupWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountLogsArgs = { where?: Prisma.LogWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountFeatureOverridesArgs = { where?: Prisma.TenantFeatureOverrideWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountUsersArgs = { where?: Prisma.TenantUserWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountRolesArgs = { where?: Prisma.RoleWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountInvitationsArgs = { where?: Prisma.TenantUserInvitationWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountUserRolesArgs = { where?: Prisma.UserRoleWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountInboundAddressesArgs = { where?: Prisma.TenantInboundAddressWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountEventsArgs = { where?: Prisma.EventWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountEmailSendersArgs = { where?: Prisma.EmailSenderWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountCampaignsArgs = { where?: Prisma.CampaignWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountOutboundEmailsArgs = { where?: Prisma.OutboundEmailWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountOnboardingSessionsArgs = { where?: Prisma.OnboardingSessionWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountOnboardingDemoProvisioningsArgs = { where?: Prisma.OnboardingDemoProvisioningWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountIpAddressesArgs = { where?: Prisma.TenantIpAddressWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountMetricLogsArgs = { where?: Prisma.MetricLogWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountKnowledgeBasesArgs = { where?: Prisma.KnowledgeBaseWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountTypesArgs = { where?: Prisma.TenantTypeWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountWorkflowsArgs = { where?: Prisma.WorkflowWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountWorkflowExecutionsArgs = { where?: Prisma.WorkflowExecutionWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountWorkflowVariablesArgs = { where?: Prisma.WorkflowVariableWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountWorkflowCredentialsArgs = { where?: Prisma.WorkflowCredentialWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountFeedbackArgs = { where?: Prisma.FeedbackWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountSupportTicketsArgs = { where?: Prisma.SupportTicketWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountCreditsArgs = { where?: Prisma.CreditWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountPortalsArgs = { where?: Prisma.PortalWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountPortalsUsersArgs = { where?: Prisma.PortalUserWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountWidgetsArgs = { where?: Prisma.WidgetWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountImpersonationAuditsArgs = { where?: Prisma.ImpersonationAuditWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountAdminTenantNotesArgs = { where?: Prisma.AdminTenantNoteWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountNotificationDeliveriesArgs = { where?: Prisma.NotificationDeliveryWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountNotificationPreferencesArgs = { where?: Prisma.UserNotificationPreferenceWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountDeviceTokensArgs = { where?: Prisma.DeviceTokenWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountAuthProvidersArgs = { where?: Prisma.WorkspaceAuthProviderWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountSitesArgs = { where?: Prisma.SiteWhereInput } /** * TenantCountOutputType without action */ export type TenantCountOutputTypeCountFormsArgs = { where?: Prisma.FormWhereInput } export type TenantSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean slug?: boolean name?: boolean icon?: boolean logo?: boolean subscriptionId?: boolean active?: boolean deactivatedReason?: boolean theme?: boolean themeConfig?: boolean anrede?: boolean apiKeys?: boolean | Prisma.Tenant$apiKeysArgs apiKeyLogs?: boolean | Prisma.Tenant$apiKeyLogsArgs groups?: boolean | Prisma.Tenant$groupsArgs logs?: boolean | Prisma.Tenant$logsArgs subscription?: boolean | Prisma.Tenant$subscriptionArgs productConfiguration?: boolean | Prisma.Tenant$productConfigurationArgs featureOverrides?: boolean | Prisma.Tenant$featureOverridesArgs users?: boolean | Prisma.Tenant$usersArgs roles?: boolean | Prisma.Tenant$rolesArgs invitations?: boolean | Prisma.Tenant$invitationsArgs userRoles?: boolean | Prisma.Tenant$userRolesArgs inboundAddresses?: boolean | Prisma.Tenant$inboundAddressesArgs events?: boolean | Prisma.Tenant$eventsArgs fromRegistration?: boolean | Prisma.Tenant$fromRegistrationArgs emailSenders?: boolean | Prisma.Tenant$emailSendersArgs campaigns?: boolean | Prisma.Tenant$campaignsArgs outboundEmails?: boolean | Prisma.Tenant$outboundEmailsArgs onboardingSessions?: boolean | Prisma.Tenant$onboardingSessionsArgs onboardingDemoProvisionings?: boolean | Prisma.Tenant$onboardingDemoProvisioningsArgs ipAddresses?: boolean | Prisma.Tenant$ipAddressesArgs metricLogs?: boolean | Prisma.Tenant$metricLogsArgs knowledgeBases?: boolean | Prisma.Tenant$knowledgeBasesArgs types?: boolean | Prisma.Tenant$typesArgs workflows?: boolean | Prisma.Tenant$workflowsArgs workflowExecutions?: boolean | Prisma.Tenant$workflowExecutionsArgs workflowVariables?: boolean | Prisma.Tenant$workflowVariablesArgs workflowCredentials?: boolean | Prisma.Tenant$workflowCredentialsArgs feedback?: boolean | Prisma.Tenant$feedbackArgs supportTickets?: boolean | Prisma.Tenant$supportTicketsArgs credits?: boolean | Prisma.Tenant$creditsArgs portals?: boolean | Prisma.Tenant$portalsArgs portalsUsers?: boolean | Prisma.Tenant$portalsUsersArgs widgets?: boolean | Prisma.Tenant$widgetsArgs impersonationAudits?: boolean | Prisma.Tenant$impersonationAuditsArgs adminTenantNotes?: boolean | Prisma.Tenant$adminTenantNotesArgs notificationDeliveries?: boolean | Prisma.Tenant$notificationDeliveriesArgs notificationPreferences?: boolean | Prisma.Tenant$notificationPreferencesArgs deviceTokens?: boolean | Prisma.Tenant$deviceTokensArgs authProviders?: boolean | Prisma.Tenant$authProvidersArgs sites?: boolean | Prisma.Tenant$sitesArgs forms?: boolean | Prisma.Tenant$formsArgs _count?: boolean | Prisma.TenantCountOutputTypeDefaultArgs }, ExtArgs["result"]["tenant"]> export type TenantSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean slug?: boolean name?: boolean icon?: boolean logo?: boolean subscriptionId?: boolean active?: boolean deactivatedReason?: boolean theme?: boolean themeConfig?: boolean anrede?: boolean }, ExtArgs["result"]["tenant"]> export type TenantSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean slug?: boolean name?: boolean icon?: boolean logo?: boolean subscriptionId?: boolean active?: boolean deactivatedReason?: boolean theme?: boolean themeConfig?: boolean anrede?: boolean }, ExtArgs["result"]["tenant"]> export type TenantSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean slug?: boolean name?: boolean icon?: boolean logo?: boolean subscriptionId?: boolean active?: boolean deactivatedReason?: boolean theme?: boolean themeConfig?: boolean anrede?: boolean } export type TenantOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "slug" | "name" | "icon" | "logo" | "subscriptionId" | "active" | "deactivatedReason" | "theme" | "themeConfig" | "anrede", ExtArgs["result"]["tenant"]> export type TenantInclude = { apiKeys?: boolean | Prisma.Tenant$apiKeysArgs apiKeyLogs?: boolean | Prisma.Tenant$apiKeyLogsArgs groups?: boolean | Prisma.Tenant$groupsArgs logs?: boolean | Prisma.Tenant$logsArgs subscription?: boolean | Prisma.Tenant$subscriptionArgs productConfiguration?: boolean | Prisma.Tenant$productConfigurationArgs featureOverrides?: boolean | Prisma.Tenant$featureOverridesArgs users?: boolean | Prisma.Tenant$usersArgs roles?: boolean | Prisma.Tenant$rolesArgs invitations?: boolean | Prisma.Tenant$invitationsArgs userRoles?: boolean | Prisma.Tenant$userRolesArgs inboundAddresses?: boolean | Prisma.Tenant$inboundAddressesArgs events?: boolean | Prisma.Tenant$eventsArgs fromRegistration?: boolean | Prisma.Tenant$fromRegistrationArgs emailSenders?: boolean | Prisma.Tenant$emailSendersArgs campaigns?: boolean | Prisma.Tenant$campaignsArgs outboundEmails?: boolean | Prisma.Tenant$outboundEmailsArgs onboardingSessions?: boolean | Prisma.Tenant$onboardingSessionsArgs onboardingDemoProvisionings?: boolean | Prisma.Tenant$onboardingDemoProvisioningsArgs ipAddresses?: boolean | Prisma.Tenant$ipAddressesArgs metricLogs?: boolean | Prisma.Tenant$metricLogsArgs knowledgeBases?: boolean | Prisma.Tenant$knowledgeBasesArgs types?: boolean | Prisma.Tenant$typesArgs workflows?: boolean | Prisma.Tenant$workflowsArgs workflowExecutions?: boolean | Prisma.Tenant$workflowExecutionsArgs workflowVariables?: boolean | Prisma.Tenant$workflowVariablesArgs workflowCredentials?: boolean | Prisma.Tenant$workflowCredentialsArgs feedback?: boolean | Prisma.Tenant$feedbackArgs supportTickets?: boolean | Prisma.Tenant$supportTicketsArgs credits?: boolean | Prisma.Tenant$creditsArgs portals?: boolean | Prisma.Tenant$portalsArgs portalsUsers?: boolean | Prisma.Tenant$portalsUsersArgs widgets?: boolean | Prisma.Tenant$widgetsArgs impersonationAudits?: boolean | Prisma.Tenant$impersonationAuditsArgs adminTenantNotes?: boolean | Prisma.Tenant$adminTenantNotesArgs notificationDeliveries?: boolean | Prisma.Tenant$notificationDeliveriesArgs notificationPreferences?: boolean | Prisma.Tenant$notificationPreferencesArgs deviceTokens?: boolean | Prisma.Tenant$deviceTokensArgs authProviders?: boolean | Prisma.Tenant$authProvidersArgs sites?: boolean | Prisma.Tenant$sitesArgs forms?: boolean | Prisma.Tenant$formsArgs _count?: boolean | Prisma.TenantCountOutputTypeDefaultArgs } export type TenantIncludeCreateManyAndReturn = {} export type TenantIncludeUpdateManyAndReturn = {} export type $TenantPayload = { name: "Tenant" objects: { apiKeys: Prisma.$ApiKeyPayload[] apiKeyLogs: Prisma.$ApiKeyLogPayload[] groups: Prisma.$GroupPayload[] logs: Prisma.$LogPayload[] subscription: Prisma.$TenantSubscriptionPayload | null productConfiguration: Prisma.$TenantProductConfigurationPayload | null featureOverrides: Prisma.$TenantFeatureOverridePayload[] users: Prisma.$TenantUserPayload[] roles: Prisma.$RolePayload[] invitations: Prisma.$TenantUserInvitationPayload[] userRoles: Prisma.$UserRolePayload[] inboundAddresses: Prisma.$TenantInboundAddressPayload[] events: Prisma.$EventPayload[] fromRegistration: Prisma.$RegistrationPayload | null emailSenders: Prisma.$EmailSenderPayload[] campaigns: Prisma.$CampaignPayload[] outboundEmails: Prisma.$OutboundEmailPayload[] onboardingSessions: Prisma.$OnboardingSessionPayload[] onboardingDemoProvisionings: Prisma.$OnboardingDemoProvisioningPayload[] ipAddresses: Prisma.$TenantIpAddressPayload[] metricLogs: Prisma.$MetricLogPayload[] knowledgeBases: Prisma.$KnowledgeBasePayload[] types: Prisma.$TenantTypePayload[] workflows: Prisma.$WorkflowPayload[] workflowExecutions: Prisma.$WorkflowExecutionPayload[] workflowVariables: Prisma.$WorkflowVariablePayload[] workflowCredentials: Prisma.$WorkflowCredentialPayload[] feedback: Prisma.$FeedbackPayload[] supportTickets: Prisma.$SupportTicketPayload[] credits: Prisma.$CreditPayload[] portals: Prisma.$PortalPayload[] portalsUsers: Prisma.$PortalUserPayload[] widgets: Prisma.$WidgetPayload[] impersonationAudits: Prisma.$ImpersonationAuditPayload[] adminTenantNotes: Prisma.$AdminTenantNotePayload[] notificationDeliveries: Prisma.$NotificationDeliveryPayload[] notificationPreferences: Prisma.$UserNotificationPreferencePayload[] deviceTokens: Prisma.$DeviceTokenPayload[] authProviders: Prisma.$WorkspaceAuthProviderPayload[] sites: Prisma.$SitePayload[] forms: Prisma.$FormPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date slug: string name: string icon: string | null logo: string | null subscriptionId: string | null active: boolean deactivatedReason: string | null theme: string | null themeConfig: string | null anrede: string | null }, ExtArgs["result"]["tenant"]> composites: {} } export type TenantGetPayload = runtime.Types.Result.GetResult export type TenantCountArgs = Omit & { select?: TenantCountAggregateInputType | true } export interface TenantDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Tenant'], meta: { name: 'Tenant' } } /** * Find zero or one Tenant that matches the filter. * @param {TenantFindUniqueArgs} args - Arguments to find a Tenant * @example * // Get one Tenant * const tenant = await prisma.tenant.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TenantClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Tenant that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TenantFindUniqueOrThrowArgs} args - Arguments to find a Tenant * @example * // Get one Tenant * const tenant = await prisma.tenant.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Tenant that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantFindFirstArgs} args - Arguments to find a Tenant * @example * // Get one Tenant * const tenant = await prisma.tenant.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TenantClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Tenant that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantFindFirstOrThrowArgs} args - Arguments to find a Tenant * @example * // Get one Tenant * const tenant = await prisma.tenant.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TenantClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Tenants that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Tenants * const tenants = await prisma.tenant.findMany() * * // Get first 10 Tenants * const tenants = await prisma.tenant.findMany({ take: 10 }) * * // Only select the `id` * const tenantWithIdOnly = await prisma.tenant.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Tenant. * @param {TenantCreateArgs} args - Arguments to create a Tenant. * @example * // Create one Tenant * const Tenant = await prisma.tenant.create({ * data: { * // ... data to create a Tenant * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__TenantClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Tenants. * @param {TenantCreateManyArgs} args - Arguments to create many Tenants. * @example * // Create many Tenants * const tenant = await prisma.tenant.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Tenants and returns the data saved in the database. * @param {TenantCreateManyAndReturnArgs} args - Arguments to create many Tenants. * @example * // Create many Tenants * const tenant = await prisma.tenant.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Tenants and only return the `id` * const tenantWithIdOnly = await prisma.tenant.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Tenant. * @param {TenantDeleteArgs} args - Arguments to delete one Tenant. * @example * // Delete one Tenant * const Tenant = await prisma.tenant.delete({ * where: { * // ... filter to delete one Tenant * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__TenantClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Tenant. * @param {TenantUpdateArgs} args - Arguments to update one Tenant. * @example * // Update one Tenant * const tenant = await prisma.tenant.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__TenantClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Tenants. * @param {TenantDeleteManyArgs} args - Arguments to filter Tenants to delete. * @example * // Delete a few Tenants * const { count } = await prisma.tenant.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Tenants. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Tenants * const tenant = await prisma.tenant.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Tenants and returns the data updated in the database. * @param {TenantUpdateManyAndReturnArgs} args - Arguments to update many Tenants. * @example * // Update many Tenants * const tenant = await prisma.tenant.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Tenants and only return the `id` * const tenantWithIdOnly = await prisma.tenant.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Tenant. * @param {TenantUpsertArgs} args - Arguments to update or create a Tenant. * @example * // Update or create a Tenant * const tenant = await prisma.tenant.upsert({ * create: { * // ... data to create a Tenant * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Tenant we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TenantClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Tenants. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantCountArgs} args - Arguments to filter Tenants to count. * @example * // Count the number of Tenants * const count = await prisma.tenant.count({ * where: { * // ... the filter for the Tenants we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a Tenant. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by Tenant. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends TenantGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: TenantGroupByArgs['orderBy'] } : { orderBy?: TenantGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTenantGroupByPayload : Prisma.PrismaPromise /** * Fields of the Tenant model */ readonly fields: TenantFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Tenant. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__TenantClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" apiKeys = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> apiKeyLogs = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> groups = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> logs = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> subscription = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantSubscriptionClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> productConfiguration = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantProductConfigurationClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> featureOverrides = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> users = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> roles = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> invitations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> userRoles = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> inboundAddresses = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> events = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> fromRegistration = {}>(args?: Prisma.Subset>): Prisma.Prisma__RegistrationClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> emailSenders = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> campaigns = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> outboundEmails = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> onboardingSessions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> onboardingDemoProvisionings = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> ipAddresses = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> metricLogs = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> knowledgeBases = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> types = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> workflows = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> workflowExecutions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> workflowVariables = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> workflowCredentials = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> feedback = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> supportTickets = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> credits = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> portals = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> portalsUsers = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> widgets = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> impersonationAudits = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> adminTenantNotes = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> notificationDeliveries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> notificationPreferences = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> deviceTokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> authProviders = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> sites = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> forms = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the Tenant model */ export interface TenantFieldRefs { readonly id: Prisma.FieldRef<"Tenant", 'String'> readonly createdAt: Prisma.FieldRef<"Tenant", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Tenant", 'DateTime'> readonly slug: Prisma.FieldRef<"Tenant", 'String'> readonly name: Prisma.FieldRef<"Tenant", 'String'> readonly icon: Prisma.FieldRef<"Tenant", 'String'> readonly logo: Prisma.FieldRef<"Tenant", 'String'> readonly subscriptionId: Prisma.FieldRef<"Tenant", 'String'> readonly active: Prisma.FieldRef<"Tenant", 'Boolean'> readonly deactivatedReason: Prisma.FieldRef<"Tenant", 'String'> readonly theme: Prisma.FieldRef<"Tenant", 'String'> readonly themeConfig: Prisma.FieldRef<"Tenant", 'String'> readonly anrede: Prisma.FieldRef<"Tenant", 'String'> } // Custom InputTypes /** * Tenant findUnique */ export type TenantFindUniqueArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null /** * Filter, which Tenant to fetch. */ where: Prisma.TenantWhereUniqueInput } /** * Tenant findUniqueOrThrow */ export type TenantFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null /** * Filter, which Tenant to fetch. */ where: Prisma.TenantWhereUniqueInput } /** * Tenant findFirst */ export type TenantFindFirstArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null /** * Filter, which Tenant to fetch. */ where?: Prisma.TenantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tenants to fetch. */ orderBy?: Prisma.TenantOrderByWithRelationInput | Prisma.TenantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Tenants. */ cursor?: Prisma.TenantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tenants from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Tenants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Tenants. */ distinct?: Prisma.TenantScalarFieldEnum | Prisma.TenantScalarFieldEnum[] } /** * Tenant findFirstOrThrow */ export type TenantFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null /** * Filter, which Tenant to fetch. */ where?: Prisma.TenantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tenants to fetch. */ orderBy?: Prisma.TenantOrderByWithRelationInput | Prisma.TenantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Tenants. */ cursor?: Prisma.TenantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tenants from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Tenants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Tenants. */ distinct?: Prisma.TenantScalarFieldEnum | Prisma.TenantScalarFieldEnum[] } /** * Tenant findMany */ export type TenantFindManyArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null /** * Filter, which Tenants to fetch. */ where?: Prisma.TenantWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tenants to fetch. */ orderBy?: Prisma.TenantOrderByWithRelationInput | Prisma.TenantOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Tenants. */ cursor?: Prisma.TenantWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tenants from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Tenants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Tenants. */ distinct?: Prisma.TenantScalarFieldEnum | Prisma.TenantScalarFieldEnum[] } /** * Tenant create */ export type TenantCreateArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null /** * The data needed to create a Tenant. */ data: Prisma.XOR } /** * Tenant createMany */ export type TenantCreateManyArgs = { /** * The data used to create many Tenants. */ data: Prisma.TenantCreateManyInput | Prisma.TenantCreateManyInput[] skipDuplicates?: boolean } /** * Tenant createManyAndReturn */ export type TenantCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelectCreateManyAndReturn | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * The data used to create many Tenants. */ data: Prisma.TenantCreateManyInput | Prisma.TenantCreateManyInput[] skipDuplicates?: boolean } /** * Tenant update */ export type TenantUpdateArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null /** * The data needed to update a Tenant. */ data: Prisma.XOR /** * Choose, which Tenant to update. */ where: Prisma.TenantWhereUniqueInput } /** * Tenant updateMany */ export type TenantUpdateManyArgs = { /** * The data used to update Tenants. */ data: Prisma.XOR /** * Filter which Tenants to update */ where?: Prisma.TenantWhereInput /** * Limit how many Tenants to update. */ limit?: number } /** * Tenant updateManyAndReturn */ export type TenantUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelectUpdateManyAndReturn | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * The data used to update Tenants. */ data: Prisma.XOR /** * Filter which Tenants to update */ where?: Prisma.TenantWhereInput /** * Limit how many Tenants to update. */ limit?: number } /** * Tenant upsert */ export type TenantUpsertArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null /** * The filter to search for the Tenant to update in case it exists. */ where: Prisma.TenantWhereUniqueInput /** * In case the Tenant found by the `where` argument doesn't exist, create a new Tenant with this data. */ create: Prisma.XOR /** * In case the Tenant was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Tenant delete */ export type TenantDeleteArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null /** * Filter which Tenant to delete. */ where: Prisma.TenantWhereUniqueInput } /** * Tenant deleteMany */ export type TenantDeleteManyArgs = { /** * Filter which Tenants to delete */ where?: Prisma.TenantWhereInput /** * Limit how many Tenants to delete. */ limit?: number } /** * Tenant.apiKeys */ export type Tenant$apiKeysArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: Prisma.ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: Prisma.ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ApiKeyInclude | null where?: Prisma.ApiKeyWhereInput orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[] cursor?: Prisma.ApiKeyWhereUniqueInput take?: number skip?: number distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[] } /** * Tenant.apiKeyLogs */ export type Tenant$apiKeyLogsArgs = { /** * Select specific fields to fetch from the ApiKeyLog */ select?: Prisma.ApiKeyLogSelect | null /** * Omit specific fields from the ApiKeyLog */ omit?: Prisma.ApiKeyLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ApiKeyLogInclude | null where?: Prisma.ApiKeyLogWhereInput orderBy?: Prisma.ApiKeyLogOrderByWithRelationInput | Prisma.ApiKeyLogOrderByWithRelationInput[] cursor?: Prisma.ApiKeyLogWhereUniqueInput take?: number skip?: number distinct?: Prisma.ApiKeyLogScalarFieldEnum | Prisma.ApiKeyLogScalarFieldEnum[] } /** * Tenant.groups */ export type Tenant$groupsArgs = { /** * Select specific fields to fetch from the Group */ select?: Prisma.GroupSelect | null /** * Omit specific fields from the Group */ omit?: Prisma.GroupOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.GroupInclude | null where?: Prisma.GroupWhereInput orderBy?: Prisma.GroupOrderByWithRelationInput | Prisma.GroupOrderByWithRelationInput[] cursor?: Prisma.GroupWhereUniqueInput take?: number skip?: number distinct?: Prisma.GroupScalarFieldEnum | Prisma.GroupScalarFieldEnum[] } /** * Tenant.logs */ export type Tenant$logsArgs = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | null where?: Prisma.LogWhereInput orderBy?: Prisma.LogOrderByWithRelationInput | Prisma.LogOrderByWithRelationInput[] cursor?: Prisma.LogWhereUniqueInput take?: number skip?: number distinct?: Prisma.LogScalarFieldEnum | Prisma.LogScalarFieldEnum[] } /** * Tenant.subscription */ export type Tenant$subscriptionArgs = { /** * Select specific fields to fetch from the TenantSubscription */ select?: Prisma.TenantSubscriptionSelect | null /** * Omit specific fields from the TenantSubscription */ omit?: Prisma.TenantSubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSubscriptionInclude | null where?: Prisma.TenantSubscriptionWhereInput } /** * Tenant.productConfiguration */ export type Tenant$productConfigurationArgs = { /** * Select specific fields to fetch from the TenantProductConfiguration */ select?: Prisma.TenantProductConfigurationSelect | null /** * Omit specific fields from the TenantProductConfiguration */ omit?: Prisma.TenantProductConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantProductConfigurationInclude | null where?: Prisma.TenantProductConfigurationWhereInput } /** * Tenant.featureOverrides */ export type Tenant$featureOverridesArgs = { /** * Select specific fields to fetch from the TenantFeatureOverride */ select?: Prisma.TenantFeatureOverrideSelect | null /** * Omit specific fields from the TenantFeatureOverride */ omit?: Prisma.TenantFeatureOverrideOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantFeatureOverrideInclude | null where?: Prisma.TenantFeatureOverrideWhereInput orderBy?: Prisma.TenantFeatureOverrideOrderByWithRelationInput | Prisma.TenantFeatureOverrideOrderByWithRelationInput[] cursor?: Prisma.TenantFeatureOverrideWhereUniqueInput take?: number skip?: number distinct?: Prisma.TenantFeatureOverrideScalarFieldEnum | Prisma.TenantFeatureOverrideScalarFieldEnum[] } /** * Tenant.users */ export type Tenant$usersArgs = { /** * Select specific fields to fetch from the TenantUser */ select?: Prisma.TenantUserSelect | null /** * Omit specific fields from the TenantUser */ omit?: Prisma.TenantUserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantUserInclude | null where?: Prisma.TenantUserWhereInput orderBy?: Prisma.TenantUserOrderByWithRelationInput | Prisma.TenantUserOrderByWithRelationInput[] cursor?: Prisma.TenantUserWhereUniqueInput take?: number skip?: number distinct?: Prisma.TenantUserScalarFieldEnum | Prisma.TenantUserScalarFieldEnum[] } /** * Tenant.roles */ export type Tenant$rolesArgs = { /** * Select specific fields to fetch from the Role */ select?: Prisma.RoleSelect | null /** * Omit specific fields from the Role */ omit?: Prisma.RoleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RoleInclude | null where?: Prisma.RoleWhereInput orderBy?: Prisma.RoleOrderByWithRelationInput | Prisma.RoleOrderByWithRelationInput[] cursor?: Prisma.RoleWhereUniqueInput take?: number skip?: number distinct?: Prisma.RoleScalarFieldEnum | Prisma.RoleScalarFieldEnum[] } /** * Tenant.invitations */ export type Tenant$invitationsArgs = { /** * Select specific fields to fetch from the TenantUserInvitation */ select?: Prisma.TenantUserInvitationSelect | null /** * Omit specific fields from the TenantUserInvitation */ omit?: Prisma.TenantUserInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantUserInvitationInclude | null where?: Prisma.TenantUserInvitationWhereInput orderBy?: Prisma.TenantUserInvitationOrderByWithRelationInput | Prisma.TenantUserInvitationOrderByWithRelationInput[] cursor?: Prisma.TenantUserInvitationWhereUniqueInput take?: number skip?: number distinct?: Prisma.TenantUserInvitationScalarFieldEnum | Prisma.TenantUserInvitationScalarFieldEnum[] } /** * Tenant.userRoles */ export type Tenant$userRolesArgs = { /** * Select specific fields to fetch from the UserRole */ select?: Prisma.UserRoleSelect | null /** * Omit specific fields from the UserRole */ omit?: Prisma.UserRoleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserRoleInclude | null where?: Prisma.UserRoleWhereInput orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[] cursor?: Prisma.UserRoleWhereUniqueInput take?: number skip?: number distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[] } /** * Tenant.inboundAddresses */ export type Tenant$inboundAddressesArgs = { /** * Select specific fields to fetch from the TenantInboundAddress */ select?: Prisma.TenantInboundAddressSelect | null /** * Omit specific fields from the TenantInboundAddress */ omit?: Prisma.TenantInboundAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInboundAddressInclude | null where?: Prisma.TenantInboundAddressWhereInput orderBy?: Prisma.TenantInboundAddressOrderByWithRelationInput | Prisma.TenantInboundAddressOrderByWithRelationInput[] cursor?: Prisma.TenantInboundAddressWhereUniqueInput take?: number skip?: number distinct?: Prisma.TenantInboundAddressScalarFieldEnum | Prisma.TenantInboundAddressScalarFieldEnum[] } /** * Tenant.events */ export type Tenant$eventsArgs = { /** * Select specific fields to fetch from the Event */ select?: Prisma.EventSelect | null /** * Omit specific fields from the Event */ omit?: Prisma.EventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EventInclude | null where?: Prisma.EventWhereInput orderBy?: Prisma.EventOrderByWithRelationInput | Prisma.EventOrderByWithRelationInput[] cursor?: Prisma.EventWhereUniqueInput take?: number skip?: number distinct?: Prisma.EventScalarFieldEnum | Prisma.EventScalarFieldEnum[] } /** * Tenant.fromRegistration */ export type Tenant$fromRegistrationArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null where?: Prisma.RegistrationWhereInput } /** * Tenant.emailSenders */ export type Tenant$emailSendersArgs = { /** * Select specific fields to fetch from the EmailSender */ select?: Prisma.EmailSenderSelect | null /** * Omit specific fields from the EmailSender */ omit?: Prisma.EmailSenderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EmailSenderInclude | null where?: Prisma.EmailSenderWhereInput orderBy?: Prisma.EmailSenderOrderByWithRelationInput | Prisma.EmailSenderOrderByWithRelationInput[] cursor?: Prisma.EmailSenderWhereUniqueInput take?: number skip?: number distinct?: Prisma.EmailSenderScalarFieldEnum | Prisma.EmailSenderScalarFieldEnum[] } /** * Tenant.campaigns */ export type Tenant$campaignsArgs = { /** * Select specific fields to fetch from the Campaign */ select?: Prisma.CampaignSelect | null /** * Omit specific fields from the Campaign */ omit?: Prisma.CampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CampaignInclude | null where?: Prisma.CampaignWhereInput orderBy?: Prisma.CampaignOrderByWithRelationInput | Prisma.CampaignOrderByWithRelationInput[] cursor?: Prisma.CampaignWhereUniqueInput take?: number skip?: number distinct?: Prisma.CampaignScalarFieldEnum | Prisma.CampaignScalarFieldEnum[] } /** * Tenant.outboundEmails */ export type Tenant$outboundEmailsArgs = { /** * Select specific fields to fetch from the OutboundEmail */ select?: Prisma.OutboundEmailSelect | null /** * Omit specific fields from the OutboundEmail */ omit?: Prisma.OutboundEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.OutboundEmailInclude | null where?: Prisma.OutboundEmailWhereInput orderBy?: Prisma.OutboundEmailOrderByWithRelationInput | Prisma.OutboundEmailOrderByWithRelationInput[] cursor?: Prisma.OutboundEmailWhereUniqueInput take?: number skip?: number distinct?: Prisma.OutboundEmailScalarFieldEnum | Prisma.OutboundEmailScalarFieldEnum[] } /** * Tenant.onboardingSessions */ export type Tenant$onboardingSessionsArgs = { /** * Select specific fields to fetch from the OnboardingSession */ select?: Prisma.OnboardingSessionSelect | null /** * Omit specific fields from the OnboardingSession */ omit?: Prisma.OnboardingSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.OnboardingSessionInclude | null where?: Prisma.OnboardingSessionWhereInput orderBy?: Prisma.OnboardingSessionOrderByWithRelationInput | Prisma.OnboardingSessionOrderByWithRelationInput[] cursor?: Prisma.OnboardingSessionWhereUniqueInput take?: number skip?: number distinct?: Prisma.OnboardingSessionScalarFieldEnum | Prisma.OnboardingSessionScalarFieldEnum[] } /** * Tenant.onboardingDemoProvisionings */ export type Tenant$onboardingDemoProvisioningsArgs = { /** * Select specific fields to fetch from the OnboardingDemoProvisioning */ select?: Prisma.OnboardingDemoProvisioningSelect | null /** * Omit specific fields from the OnboardingDemoProvisioning */ omit?: Prisma.OnboardingDemoProvisioningOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.OnboardingDemoProvisioningInclude | null where?: Prisma.OnboardingDemoProvisioningWhereInput orderBy?: Prisma.OnboardingDemoProvisioningOrderByWithRelationInput | Prisma.OnboardingDemoProvisioningOrderByWithRelationInput[] cursor?: Prisma.OnboardingDemoProvisioningWhereUniqueInput take?: number skip?: number distinct?: Prisma.OnboardingDemoProvisioningScalarFieldEnum | Prisma.OnboardingDemoProvisioningScalarFieldEnum[] } /** * Tenant.ipAddresses */ export type Tenant$ipAddressesArgs = { /** * Select specific fields to fetch from the TenantIpAddress */ select?: Prisma.TenantIpAddressSelect | null /** * Omit specific fields from the TenantIpAddress */ omit?: Prisma.TenantIpAddressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantIpAddressInclude | null where?: Prisma.TenantIpAddressWhereInput orderBy?: Prisma.TenantIpAddressOrderByWithRelationInput | Prisma.TenantIpAddressOrderByWithRelationInput[] cursor?: Prisma.TenantIpAddressWhereUniqueInput take?: number skip?: number distinct?: Prisma.TenantIpAddressScalarFieldEnum | Prisma.TenantIpAddressScalarFieldEnum[] } /** * Tenant.metricLogs */ export type Tenant$metricLogsArgs = { /** * Select specific fields to fetch from the MetricLog */ select?: Prisma.MetricLogSelect | null /** * Omit specific fields from the MetricLog */ omit?: Prisma.MetricLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MetricLogInclude | null where?: Prisma.MetricLogWhereInput orderBy?: Prisma.MetricLogOrderByWithRelationInput | Prisma.MetricLogOrderByWithRelationInput[] cursor?: Prisma.MetricLogWhereUniqueInput take?: number skip?: number distinct?: Prisma.MetricLogScalarFieldEnum | Prisma.MetricLogScalarFieldEnum[] } /** * Tenant.knowledgeBases */ export type Tenant$knowledgeBasesArgs = { /** * Select specific fields to fetch from the KnowledgeBase */ select?: Prisma.KnowledgeBaseSelect | null /** * Omit specific fields from the KnowledgeBase */ omit?: Prisma.KnowledgeBaseOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseInclude | null where?: Prisma.KnowledgeBaseWhereInput orderBy?: Prisma.KnowledgeBaseOrderByWithRelationInput | Prisma.KnowledgeBaseOrderByWithRelationInput[] cursor?: Prisma.KnowledgeBaseWhereUniqueInput take?: number skip?: number distinct?: Prisma.KnowledgeBaseScalarFieldEnum | Prisma.KnowledgeBaseScalarFieldEnum[] } /** * Tenant.types */ export type Tenant$typesArgs = { /** * Select specific fields to fetch from the TenantType */ select?: Prisma.TenantTypeSelect | null /** * Omit specific fields from the TenantType */ omit?: Prisma.TenantTypeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantTypeInclude | null where?: Prisma.TenantTypeWhereInput orderBy?: Prisma.TenantTypeOrderByWithRelationInput | Prisma.TenantTypeOrderByWithRelationInput[] cursor?: Prisma.TenantTypeWhereUniqueInput take?: number skip?: number distinct?: Prisma.TenantTypeScalarFieldEnum | Prisma.TenantTypeScalarFieldEnum[] } /** * Tenant.workflows */ export type Tenant$workflowsArgs = { /** * Select specific fields to fetch from the Workflow */ select?: Prisma.WorkflowSelect | null /** * Omit specific fields from the Workflow */ omit?: Prisma.WorkflowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowInclude | null where?: Prisma.WorkflowWhereInput orderBy?: Prisma.WorkflowOrderByWithRelationInput | Prisma.WorkflowOrderByWithRelationInput[] cursor?: Prisma.WorkflowWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkflowScalarFieldEnum | Prisma.WorkflowScalarFieldEnum[] } /** * Tenant.workflowExecutions */ export type Tenant$workflowExecutionsArgs = { /** * Select specific fields to fetch from the WorkflowExecution */ select?: Prisma.WorkflowExecutionSelect | null /** * Omit specific fields from the WorkflowExecution */ omit?: Prisma.WorkflowExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowExecutionInclude | null where?: Prisma.WorkflowExecutionWhereInput orderBy?: Prisma.WorkflowExecutionOrderByWithRelationInput | Prisma.WorkflowExecutionOrderByWithRelationInput[] cursor?: Prisma.WorkflowExecutionWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkflowExecutionScalarFieldEnum | Prisma.WorkflowExecutionScalarFieldEnum[] } /** * Tenant.workflowVariables */ export type Tenant$workflowVariablesArgs = { /** * Select specific fields to fetch from the WorkflowVariable */ select?: Prisma.WorkflowVariableSelect | null /** * Omit specific fields from the WorkflowVariable */ omit?: Prisma.WorkflowVariableOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowVariableInclude | null where?: Prisma.WorkflowVariableWhereInput orderBy?: Prisma.WorkflowVariableOrderByWithRelationInput | Prisma.WorkflowVariableOrderByWithRelationInput[] cursor?: Prisma.WorkflowVariableWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkflowVariableScalarFieldEnum | Prisma.WorkflowVariableScalarFieldEnum[] } /** * Tenant.workflowCredentials */ export type Tenant$workflowCredentialsArgs = { /** * Select specific fields to fetch from the WorkflowCredential */ select?: Prisma.WorkflowCredentialSelect | null /** * Omit specific fields from the WorkflowCredential */ omit?: Prisma.WorkflowCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkflowCredentialInclude | null where?: Prisma.WorkflowCredentialWhereInput orderBy?: Prisma.WorkflowCredentialOrderByWithRelationInput | Prisma.WorkflowCredentialOrderByWithRelationInput[] cursor?: Prisma.WorkflowCredentialWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkflowCredentialScalarFieldEnum | Prisma.WorkflowCredentialScalarFieldEnum[] } /** * Tenant.feedback */ export type Tenant$feedbackArgs = { /** * Select specific fields to fetch from the Feedback */ select?: Prisma.FeedbackSelect | null /** * Omit specific fields from the Feedback */ omit?: Prisma.FeedbackOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FeedbackInclude | null where?: Prisma.FeedbackWhereInput orderBy?: Prisma.FeedbackOrderByWithRelationInput | Prisma.FeedbackOrderByWithRelationInput[] cursor?: Prisma.FeedbackWhereUniqueInput take?: number skip?: number distinct?: Prisma.FeedbackScalarFieldEnum | Prisma.FeedbackScalarFieldEnum[] } /** * Tenant.supportTickets */ export type Tenant$supportTicketsArgs = { /** * Select specific fields to fetch from the SupportTicket */ select?: Prisma.SupportTicketSelect | null /** * Omit specific fields from the SupportTicket */ omit?: Prisma.SupportTicketOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SupportTicketInclude | null where?: Prisma.SupportTicketWhereInput orderBy?: Prisma.SupportTicketOrderByWithRelationInput | Prisma.SupportTicketOrderByWithRelationInput[] cursor?: Prisma.SupportTicketWhereUniqueInput take?: number skip?: number distinct?: Prisma.SupportTicketScalarFieldEnum | Prisma.SupportTicketScalarFieldEnum[] } /** * Tenant.credits */ export type Tenant$creditsArgs = { /** * Select specific fields to fetch from the Credit */ select?: Prisma.CreditSelect | null /** * Omit specific fields from the Credit */ omit?: Prisma.CreditOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CreditInclude | null where?: Prisma.CreditWhereInput orderBy?: Prisma.CreditOrderByWithRelationInput | Prisma.CreditOrderByWithRelationInput[] cursor?: Prisma.CreditWhereUniqueInput take?: number skip?: number distinct?: Prisma.CreditScalarFieldEnum | Prisma.CreditScalarFieldEnum[] } /** * Tenant.portals */ export type Tenant$portalsArgs = { /** * Select specific fields to fetch from the Portal */ select?: Prisma.PortalSelect | null /** * Omit specific fields from the Portal */ omit?: Prisma.PortalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalInclude | null where?: Prisma.PortalWhereInput orderBy?: Prisma.PortalOrderByWithRelationInput | Prisma.PortalOrderByWithRelationInput[] cursor?: Prisma.PortalWhereUniqueInput take?: number skip?: number distinct?: Prisma.PortalScalarFieldEnum | Prisma.PortalScalarFieldEnum[] } /** * Tenant.portalsUsers */ export type Tenant$portalsUsersArgs = { /** * Select specific fields to fetch from the PortalUser */ select?: Prisma.PortalUserSelect | null /** * Omit specific fields from the PortalUser */ omit?: Prisma.PortalUserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalUserInclude | null where?: Prisma.PortalUserWhereInput orderBy?: Prisma.PortalUserOrderByWithRelationInput | Prisma.PortalUserOrderByWithRelationInput[] cursor?: Prisma.PortalUserWhereUniqueInput take?: number skip?: number distinct?: Prisma.PortalUserScalarFieldEnum | Prisma.PortalUserScalarFieldEnum[] } /** * Tenant.widgets */ export type Tenant$widgetsArgs = { /** * Select specific fields to fetch from the Widget */ select?: Prisma.WidgetSelect | null /** * Omit specific fields from the Widget */ omit?: Prisma.WidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WidgetInclude | null where?: Prisma.WidgetWhereInput orderBy?: Prisma.WidgetOrderByWithRelationInput | Prisma.WidgetOrderByWithRelationInput[] cursor?: Prisma.WidgetWhereUniqueInput take?: number skip?: number distinct?: Prisma.WidgetScalarFieldEnum | Prisma.WidgetScalarFieldEnum[] } /** * Tenant.impersonationAudits */ export type Tenant$impersonationAuditsArgs = { /** * Select specific fields to fetch from the ImpersonationAudit */ select?: Prisma.ImpersonationAuditSelect | null /** * Omit specific fields from the ImpersonationAudit */ omit?: Prisma.ImpersonationAuditOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ImpersonationAuditInclude | null where?: Prisma.ImpersonationAuditWhereInput orderBy?: Prisma.ImpersonationAuditOrderByWithRelationInput | Prisma.ImpersonationAuditOrderByWithRelationInput[] cursor?: Prisma.ImpersonationAuditWhereUniqueInput take?: number skip?: number distinct?: Prisma.ImpersonationAuditScalarFieldEnum | Prisma.ImpersonationAuditScalarFieldEnum[] } /** * Tenant.adminTenantNotes */ export type Tenant$adminTenantNotesArgs = { /** * Select specific fields to fetch from the AdminTenantNote */ select?: Prisma.AdminTenantNoteSelect | null /** * Omit specific fields from the AdminTenantNote */ omit?: Prisma.AdminTenantNoteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminTenantNoteInclude | null where?: Prisma.AdminTenantNoteWhereInput orderBy?: Prisma.AdminTenantNoteOrderByWithRelationInput | Prisma.AdminTenantNoteOrderByWithRelationInput[] cursor?: Prisma.AdminTenantNoteWhereUniqueInput take?: number skip?: number distinct?: Prisma.AdminTenantNoteScalarFieldEnum | Prisma.AdminTenantNoteScalarFieldEnum[] } /** * Tenant.notificationDeliveries */ export type Tenant$notificationDeliveriesArgs = { /** * Select specific fields to fetch from the NotificationDelivery */ select?: Prisma.NotificationDeliverySelect | null /** * Omit specific fields from the NotificationDelivery */ omit?: Prisma.NotificationDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.NotificationDeliveryInclude | null where?: Prisma.NotificationDeliveryWhereInput orderBy?: Prisma.NotificationDeliveryOrderByWithRelationInput | Prisma.NotificationDeliveryOrderByWithRelationInput[] cursor?: Prisma.NotificationDeliveryWhereUniqueInput take?: number skip?: number distinct?: Prisma.NotificationDeliveryScalarFieldEnum | Prisma.NotificationDeliveryScalarFieldEnum[] } /** * Tenant.notificationPreferences */ export type Tenant$notificationPreferencesArgs = { /** * Select specific fields to fetch from the UserNotificationPreference */ select?: Prisma.UserNotificationPreferenceSelect | null /** * Omit specific fields from the UserNotificationPreference */ omit?: Prisma.UserNotificationPreferenceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserNotificationPreferenceInclude | null where?: Prisma.UserNotificationPreferenceWhereInput orderBy?: Prisma.UserNotificationPreferenceOrderByWithRelationInput | Prisma.UserNotificationPreferenceOrderByWithRelationInput[] cursor?: Prisma.UserNotificationPreferenceWhereUniqueInput take?: number skip?: number distinct?: Prisma.UserNotificationPreferenceScalarFieldEnum | Prisma.UserNotificationPreferenceScalarFieldEnum[] } /** * Tenant.deviceTokens */ export type Tenant$deviceTokensArgs = { /** * Select specific fields to fetch from the DeviceToken */ select?: Prisma.DeviceTokenSelect | null /** * Omit specific fields from the DeviceToken */ omit?: Prisma.DeviceTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DeviceTokenInclude | null where?: Prisma.DeviceTokenWhereInput orderBy?: Prisma.DeviceTokenOrderByWithRelationInput | Prisma.DeviceTokenOrderByWithRelationInput[] cursor?: Prisma.DeviceTokenWhereUniqueInput take?: number skip?: number distinct?: Prisma.DeviceTokenScalarFieldEnum | Prisma.DeviceTokenScalarFieldEnum[] } /** * Tenant.authProviders */ export type Tenant$authProvidersArgs = { /** * Select specific fields to fetch from the WorkspaceAuthProvider */ select?: Prisma.WorkspaceAuthProviderSelect | null /** * Omit specific fields from the WorkspaceAuthProvider */ omit?: Prisma.WorkspaceAuthProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WorkspaceAuthProviderInclude | null where?: Prisma.WorkspaceAuthProviderWhereInput orderBy?: Prisma.WorkspaceAuthProviderOrderByWithRelationInput | Prisma.WorkspaceAuthProviderOrderByWithRelationInput[] cursor?: Prisma.WorkspaceAuthProviderWhereUniqueInput take?: number skip?: number distinct?: Prisma.WorkspaceAuthProviderScalarFieldEnum | Prisma.WorkspaceAuthProviderScalarFieldEnum[] } /** * Tenant.sites */ export type Tenant$sitesArgs = { /** * Select specific fields to fetch from the Site */ select?: Prisma.SiteSelect | null /** * Omit specific fields from the Site */ omit?: Prisma.SiteOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SiteInclude | null where?: Prisma.SiteWhereInput orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[] cursor?: Prisma.SiteWhereUniqueInput take?: number skip?: number distinct?: Prisma.SiteScalarFieldEnum | Prisma.SiteScalarFieldEnum[] } /** * Tenant.forms */ export type Tenant$formsArgs = { /** * Select specific fields to fetch from the Form */ select?: Prisma.FormSelect | null /** * Omit specific fields from the Form */ omit?: Prisma.FormOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormInclude | null where?: Prisma.FormWhereInput orderBy?: Prisma.FormOrderByWithRelationInput | Prisma.FormOrderByWithRelationInput[] cursor?: Prisma.FormWhereUniqueInput take?: number skip?: number distinct?: Prisma.FormScalarFieldEnum | Prisma.FormScalarFieldEnum[] } /** * Tenant without action */ export type TenantDefaultArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null }