/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Entity` 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 Entity * */ export type EntityModel = runtime.Types.Result.DefaultSelection export type AggregateEntity = { _count: EntityCountAggregateOutputType | null _avg: EntityAvgAggregateOutputType | null _sum: EntitySumAggregateOutputType | null _min: EntityMinAggregateOutputType | null _max: EntityMaxAggregateOutputType | null } export type EntityAvgAggregateOutputType = { order: number | null } export type EntitySumAggregateOutputType = { order: number | null } export type EntityMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null moduleId: string | null name: string | null slug: string | null order: number | null prefix: string | null type: string | null title: string | null titlePlural: string | null isAutogenerated: boolean | null hasApi: boolean | null icon: string | null active: boolean | null showInSidebar: boolean | null hasTags: boolean | null hasComments: boolean | null hasTasks: boolean | null hasActivity: boolean | null hasBulkDelete: boolean | null hasViews: boolean | null defaultVisibility: string | null onCreated: string | null onEdit: string | null } export type EntityMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null moduleId: string | null name: string | null slug: string | null order: number | null prefix: string | null type: string | null title: string | null titlePlural: string | null isAutogenerated: boolean | null hasApi: boolean | null icon: string | null active: boolean | null showInSidebar: boolean | null hasTags: boolean | null hasComments: boolean | null hasTasks: boolean | null hasActivity: boolean | null hasBulkDelete: boolean | null hasViews: boolean | null defaultVisibility: string | null onCreated: string | null onEdit: string | null } export type EntityCountAggregateOutputType = { id: number createdAt: number updatedAt: number moduleId: number name: number slug: number order: number prefix: number type: number title: number titlePlural: number isAutogenerated: number hasApi: number icon: number active: number showInSidebar: number hasTags: number hasComments: number hasTasks: number hasActivity: number hasBulkDelete: number hasViews: number defaultVisibility: number onCreated: number onEdit: number _all: number } export type EntityAvgAggregateInputType = { order?: true } export type EntitySumAggregateInputType = { order?: true } export type EntityMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true moduleId?: true name?: true slug?: true order?: true prefix?: true type?: true title?: true titlePlural?: true isAutogenerated?: true hasApi?: true icon?: true active?: true showInSidebar?: true hasTags?: true hasComments?: true hasTasks?: true hasActivity?: true hasBulkDelete?: true hasViews?: true defaultVisibility?: true onCreated?: true onEdit?: true } export type EntityMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true moduleId?: true name?: true slug?: true order?: true prefix?: true type?: true title?: true titlePlural?: true isAutogenerated?: true hasApi?: true icon?: true active?: true showInSidebar?: true hasTags?: true hasComments?: true hasTasks?: true hasActivity?: true hasBulkDelete?: true hasViews?: true defaultVisibility?: true onCreated?: true onEdit?: true } export type EntityCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true moduleId?: true name?: true slug?: true order?: true prefix?: true type?: true title?: true titlePlural?: true isAutogenerated?: true hasApi?: true icon?: true active?: true showInSidebar?: true hasTags?: true hasComments?: true hasTasks?: true hasActivity?: true hasBulkDelete?: true hasViews?: true defaultVisibility?: true onCreated?: true onEdit?: true _all?: true } export type EntityAggregateArgs = { /** * Filter which Entity to aggregate. */ where?: Prisma.EntityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Entities to fetch. */ orderBy?: Prisma.EntityOrderByWithRelationInput | Prisma.EntityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.EntityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Entities 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` Entities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Entities **/ _count?: true | EntityCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: EntityAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: EntitySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: EntityMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: EntityMaxAggregateInputType } export type GetEntityAggregateType = { [P in keyof T & keyof AggregateEntity]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type EntityGroupByArgs = { where?: Prisma.EntityWhereInput orderBy?: Prisma.EntityOrderByWithAggregationInput | Prisma.EntityOrderByWithAggregationInput[] by: Prisma.EntityScalarFieldEnum[] | Prisma.EntityScalarFieldEnum having?: Prisma.EntityScalarWhereWithAggregatesInput take?: number skip?: number _count?: EntityCountAggregateInputType | true _avg?: EntityAvgAggregateInputType _sum?: EntitySumAggregateInputType _min?: EntityMinAggregateInputType _max?: EntityMaxAggregateInputType } export type EntityGroupByOutputType = { id: string createdAt: Date updatedAt: Date moduleId: string | null name: string slug: string order: number prefix: string type: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar: boolean hasTags: boolean hasComments: boolean hasTasks: boolean hasActivity: boolean hasBulkDelete: boolean hasViews: boolean defaultVisibility: string onCreated: string | null onEdit: string | null _count: EntityCountAggregateOutputType | null _avg: EntityAvgAggregateOutputType | null _sum: EntitySumAggregateOutputType | null _min: EntityMinAggregateOutputType | null _max: EntityMaxAggregateOutputType | null } export type GetEntityGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof EntityGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type EntityWhereInput = { AND?: Prisma.EntityWhereInput | Prisma.EntityWhereInput[] OR?: Prisma.EntityWhereInput[] NOT?: Prisma.EntityWhereInput | Prisma.EntityWhereInput[] id?: Prisma.StringFilter<"Entity"> | string createdAt?: Prisma.DateTimeFilter<"Entity"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Entity"> | Date | string moduleId?: Prisma.StringNullableFilter<"Entity"> | string | null name?: Prisma.StringFilter<"Entity"> | string slug?: Prisma.StringFilter<"Entity"> | string order?: Prisma.IntFilter<"Entity"> | number prefix?: Prisma.StringFilter<"Entity"> | string type?: Prisma.StringFilter<"Entity"> | string title?: Prisma.StringFilter<"Entity"> | string titlePlural?: Prisma.StringFilter<"Entity"> | string isAutogenerated?: Prisma.BoolFilter<"Entity"> | boolean hasApi?: Prisma.BoolFilter<"Entity"> | boolean icon?: Prisma.StringFilter<"Entity"> | string active?: Prisma.BoolFilter<"Entity"> | boolean showInSidebar?: Prisma.BoolFilter<"Entity"> | boolean hasTags?: Prisma.BoolFilter<"Entity"> | boolean hasComments?: Prisma.BoolFilter<"Entity"> | boolean hasTasks?: Prisma.BoolFilter<"Entity"> | boolean hasActivity?: Prisma.BoolFilter<"Entity"> | boolean hasBulkDelete?: Prisma.BoolFilter<"Entity"> | boolean hasViews?: Prisma.BoolFilter<"Entity"> | boolean defaultVisibility?: Prisma.StringFilter<"Entity"> | string onCreated?: Prisma.StringNullableFilter<"Entity"> | string | null onEdit?: Prisma.StringNullableFilter<"Entity"> | string | null createdPermissions?: Prisma.PermissionListRelationFilter apiKeys?: Prisma.ApiKeyEntityListRelationFilter tags?: Prisma.EntityTagListRelationFilter permissions?: Prisma.EntityTenantUserPermissionListRelationFilter webhooks?: Prisma.EntityWebhookListRelationFilter properties?: Prisma.PropertyListRelationFilter rows?: Prisma.RowListRelationFilter views?: Prisma.EntityViewListRelationFilter parentEntities?: Prisma.EntityRelationshipListRelationFilter childEntities?: Prisma.EntityRelationshipListRelationFilter groups?: Prisma.EntityGroupEntityListRelationFilter templates?: Prisma.EntityTemplateListRelationFilter } export type EntityOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder moduleId?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrder slug?: Prisma.SortOrder order?: Prisma.SortOrder prefix?: Prisma.SortOrder type?: Prisma.SortOrder title?: Prisma.SortOrder titlePlural?: Prisma.SortOrder isAutogenerated?: Prisma.SortOrder hasApi?: Prisma.SortOrder icon?: Prisma.SortOrder active?: Prisma.SortOrder showInSidebar?: Prisma.SortOrder hasTags?: Prisma.SortOrder hasComments?: Prisma.SortOrder hasTasks?: Prisma.SortOrder hasActivity?: Prisma.SortOrder hasBulkDelete?: Prisma.SortOrder hasViews?: Prisma.SortOrder defaultVisibility?: Prisma.SortOrder onCreated?: Prisma.SortOrderInput | Prisma.SortOrder onEdit?: Prisma.SortOrderInput | Prisma.SortOrder createdPermissions?: Prisma.PermissionOrderByRelationAggregateInput apiKeys?: Prisma.ApiKeyEntityOrderByRelationAggregateInput tags?: Prisma.EntityTagOrderByRelationAggregateInput permissions?: Prisma.EntityTenantUserPermissionOrderByRelationAggregateInput webhooks?: Prisma.EntityWebhookOrderByRelationAggregateInput properties?: Prisma.PropertyOrderByRelationAggregateInput rows?: Prisma.RowOrderByRelationAggregateInput views?: Prisma.EntityViewOrderByRelationAggregateInput parentEntities?: Prisma.EntityRelationshipOrderByRelationAggregateInput childEntities?: Prisma.EntityRelationshipOrderByRelationAggregateInput groups?: Prisma.EntityGroupEntityOrderByRelationAggregateInput templates?: Prisma.EntityTemplateOrderByRelationAggregateInput } export type EntityWhereUniqueInput = Prisma.AtLeast<{ id?: string name?: string slug?: string prefix?: string AND?: Prisma.EntityWhereInput | Prisma.EntityWhereInput[] OR?: Prisma.EntityWhereInput[] NOT?: Prisma.EntityWhereInput | Prisma.EntityWhereInput[] createdAt?: Prisma.DateTimeFilter<"Entity"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Entity"> | Date | string moduleId?: Prisma.StringNullableFilter<"Entity"> | string | null order?: Prisma.IntFilter<"Entity"> | number type?: Prisma.StringFilter<"Entity"> | string title?: Prisma.StringFilter<"Entity"> | string titlePlural?: Prisma.StringFilter<"Entity"> | string isAutogenerated?: Prisma.BoolFilter<"Entity"> | boolean hasApi?: Prisma.BoolFilter<"Entity"> | boolean icon?: Prisma.StringFilter<"Entity"> | string active?: Prisma.BoolFilter<"Entity"> | boolean showInSidebar?: Prisma.BoolFilter<"Entity"> | boolean hasTags?: Prisma.BoolFilter<"Entity"> | boolean hasComments?: Prisma.BoolFilter<"Entity"> | boolean hasTasks?: Prisma.BoolFilter<"Entity"> | boolean hasActivity?: Prisma.BoolFilter<"Entity"> | boolean hasBulkDelete?: Prisma.BoolFilter<"Entity"> | boolean hasViews?: Prisma.BoolFilter<"Entity"> | boolean defaultVisibility?: Prisma.StringFilter<"Entity"> | string onCreated?: Prisma.StringNullableFilter<"Entity"> | string | null onEdit?: Prisma.StringNullableFilter<"Entity"> | string | null createdPermissions?: Prisma.PermissionListRelationFilter apiKeys?: Prisma.ApiKeyEntityListRelationFilter tags?: Prisma.EntityTagListRelationFilter permissions?: Prisma.EntityTenantUserPermissionListRelationFilter webhooks?: Prisma.EntityWebhookListRelationFilter properties?: Prisma.PropertyListRelationFilter rows?: Prisma.RowListRelationFilter views?: Prisma.EntityViewListRelationFilter parentEntities?: Prisma.EntityRelationshipListRelationFilter childEntities?: Prisma.EntityRelationshipListRelationFilter groups?: Prisma.EntityGroupEntityListRelationFilter templates?: Prisma.EntityTemplateListRelationFilter }, "id" | "name" | "slug" | "prefix"> export type EntityOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder moduleId?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrder slug?: Prisma.SortOrder order?: Prisma.SortOrder prefix?: Prisma.SortOrder type?: Prisma.SortOrder title?: Prisma.SortOrder titlePlural?: Prisma.SortOrder isAutogenerated?: Prisma.SortOrder hasApi?: Prisma.SortOrder icon?: Prisma.SortOrder active?: Prisma.SortOrder showInSidebar?: Prisma.SortOrder hasTags?: Prisma.SortOrder hasComments?: Prisma.SortOrder hasTasks?: Prisma.SortOrder hasActivity?: Prisma.SortOrder hasBulkDelete?: Prisma.SortOrder hasViews?: Prisma.SortOrder defaultVisibility?: Prisma.SortOrder onCreated?: Prisma.SortOrderInput | Prisma.SortOrder onEdit?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.EntityCountOrderByAggregateInput _avg?: Prisma.EntityAvgOrderByAggregateInput _max?: Prisma.EntityMaxOrderByAggregateInput _min?: Prisma.EntityMinOrderByAggregateInput _sum?: Prisma.EntitySumOrderByAggregateInput } export type EntityScalarWhereWithAggregatesInput = { AND?: Prisma.EntityScalarWhereWithAggregatesInput | Prisma.EntityScalarWhereWithAggregatesInput[] OR?: Prisma.EntityScalarWhereWithAggregatesInput[] NOT?: Prisma.EntityScalarWhereWithAggregatesInput | Prisma.EntityScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Entity"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"Entity"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Entity"> | Date | string moduleId?: Prisma.StringNullableWithAggregatesFilter<"Entity"> | string | null name?: Prisma.StringWithAggregatesFilter<"Entity"> | string slug?: Prisma.StringWithAggregatesFilter<"Entity"> | string order?: Prisma.IntWithAggregatesFilter<"Entity"> | number prefix?: Prisma.StringWithAggregatesFilter<"Entity"> | string type?: Prisma.StringWithAggregatesFilter<"Entity"> | string title?: Prisma.StringWithAggregatesFilter<"Entity"> | string titlePlural?: Prisma.StringWithAggregatesFilter<"Entity"> | string isAutogenerated?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean hasApi?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean icon?: Prisma.StringWithAggregatesFilter<"Entity"> | string active?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean showInSidebar?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean hasTags?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean hasComments?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean hasTasks?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean hasActivity?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean hasBulkDelete?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean hasViews?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean defaultVisibility?: Prisma.StringWithAggregatesFilter<"Entity"> | string onCreated?: Prisma.StringNullableWithAggregatesFilter<"Entity"> | string | null onEdit?: Prisma.StringNullableWithAggregatesFilter<"Entity"> | string | null } export type EntityCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null } export type EntityUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type EntityUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type EntityCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder moduleId?: Prisma.SortOrder name?: Prisma.SortOrder slug?: Prisma.SortOrder order?: Prisma.SortOrder prefix?: Prisma.SortOrder type?: Prisma.SortOrder title?: Prisma.SortOrder titlePlural?: Prisma.SortOrder isAutogenerated?: Prisma.SortOrder hasApi?: Prisma.SortOrder icon?: Prisma.SortOrder active?: Prisma.SortOrder showInSidebar?: Prisma.SortOrder hasTags?: Prisma.SortOrder hasComments?: Prisma.SortOrder hasTasks?: Prisma.SortOrder hasActivity?: Prisma.SortOrder hasBulkDelete?: Prisma.SortOrder hasViews?: Prisma.SortOrder defaultVisibility?: Prisma.SortOrder onCreated?: Prisma.SortOrder onEdit?: Prisma.SortOrder } export type EntityAvgOrderByAggregateInput = { order?: Prisma.SortOrder } export type EntityMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder moduleId?: Prisma.SortOrder name?: Prisma.SortOrder slug?: Prisma.SortOrder order?: Prisma.SortOrder prefix?: Prisma.SortOrder type?: Prisma.SortOrder title?: Prisma.SortOrder titlePlural?: Prisma.SortOrder isAutogenerated?: Prisma.SortOrder hasApi?: Prisma.SortOrder icon?: Prisma.SortOrder active?: Prisma.SortOrder showInSidebar?: Prisma.SortOrder hasTags?: Prisma.SortOrder hasComments?: Prisma.SortOrder hasTasks?: Prisma.SortOrder hasActivity?: Prisma.SortOrder hasBulkDelete?: Prisma.SortOrder hasViews?: Prisma.SortOrder defaultVisibility?: Prisma.SortOrder onCreated?: Prisma.SortOrder onEdit?: Prisma.SortOrder } export type EntityMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder moduleId?: Prisma.SortOrder name?: Prisma.SortOrder slug?: Prisma.SortOrder order?: Prisma.SortOrder prefix?: Prisma.SortOrder type?: Prisma.SortOrder title?: Prisma.SortOrder titlePlural?: Prisma.SortOrder isAutogenerated?: Prisma.SortOrder hasApi?: Prisma.SortOrder icon?: Prisma.SortOrder active?: Prisma.SortOrder showInSidebar?: Prisma.SortOrder hasTags?: Prisma.SortOrder hasComments?: Prisma.SortOrder hasTasks?: Prisma.SortOrder hasActivity?: Prisma.SortOrder hasBulkDelete?: Prisma.SortOrder hasViews?: Prisma.SortOrder defaultVisibility?: Prisma.SortOrder onCreated?: Prisma.SortOrder onEdit?: Prisma.SortOrder } export type EntitySumOrderByAggregateInput = { order?: Prisma.SortOrder } export type EntityScalarRelationFilter = { is?: Prisma.EntityWhereInput isNot?: Prisma.EntityWhereInput } export type EntityNullableScalarRelationFilter = { is?: Prisma.EntityWhereInput | null isNot?: Prisma.EntityWhereInput | null } export type EntityCreateNestedOneWithoutPropertiesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutPropertiesInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneRequiredWithoutPropertiesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutPropertiesInput upsert?: Prisma.EntityUpsertWithoutPropertiesInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutPropertiesInput> } export type EntityCreateNestedOneWithoutViewsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutViewsInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneRequiredWithoutViewsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutViewsInput upsert?: Prisma.EntityUpsertWithoutViewsInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutViewsInput> } export type EntityCreateNestedOneWithoutTagsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutTagsInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneRequiredWithoutTagsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutTagsInput upsert?: Prisma.EntityUpsertWithoutTagsInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutTagsInput> } export type EntityCreateNestedOneWithoutPermissionsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutPermissionsInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneRequiredWithoutPermissionsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutPermissionsInput upsert?: Prisma.EntityUpsertWithoutPermissionsInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutPermissionsInput> } export type EntityCreateNestedOneWithoutWebhooksInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutWebhooksInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneRequiredWithoutWebhooksNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutWebhooksInput upsert?: Prisma.EntityUpsertWithoutWebhooksInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutWebhooksInput> } export type EntityCreateNestedOneWithoutChildEntitiesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutChildEntitiesInput connect?: Prisma.EntityWhereUniqueInput } export type EntityCreateNestedOneWithoutParentEntitiesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutParentEntitiesInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneRequiredWithoutChildEntitiesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutChildEntitiesInput upsert?: Prisma.EntityUpsertWithoutChildEntitiesInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutChildEntitiesInput> } export type EntityUpdateOneRequiredWithoutParentEntitiesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutParentEntitiesInput upsert?: Prisma.EntityUpsertWithoutParentEntitiesInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutParentEntitiesInput> } export type EntityCreateNestedOneWithoutRowsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutRowsInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneRequiredWithoutRowsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutRowsInput upsert?: Prisma.EntityUpsertWithoutRowsInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutRowsInput> } export type EntityCreateNestedOneWithoutTemplatesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutTemplatesInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneRequiredWithoutTemplatesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutTemplatesInput upsert?: Prisma.EntityUpsertWithoutTemplatesInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutTemplatesInput> } export type EntityCreateNestedOneWithoutGroupsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutGroupsInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneRequiredWithoutGroupsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutGroupsInput upsert?: Prisma.EntityUpsertWithoutGroupsInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutGroupsInput> } export type EntityCreateNestedOneWithoutApiKeysInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutApiKeysInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneRequiredWithoutApiKeysNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutApiKeysInput upsert?: Prisma.EntityUpsertWithoutApiKeysInput connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutApiKeysInput> } export type EntityCreateNestedOneWithoutCreatedPermissionsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutCreatedPermissionsInput connect?: Prisma.EntityWhereUniqueInput } export type EntityUpdateOneWithoutCreatedPermissionsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.EntityCreateOrConnectWithoutCreatedPermissionsInput upsert?: Prisma.EntityUpsertWithoutCreatedPermissionsInput disconnect?: Prisma.EntityWhereInput | boolean delete?: Prisma.EntityWhereInput | boolean connect?: Prisma.EntityWhereUniqueInput update?: Prisma.XOR, Prisma.EntityUncheckedUpdateWithoutCreatedPermissionsInput> } export type EntityCreateWithoutPropertiesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutPropertiesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutPropertiesInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutPropertiesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutPropertiesInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutPropertiesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutPropertiesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateWithoutViewsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutViewsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutViewsInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutViewsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutViewsInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutViewsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutViewsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateWithoutTagsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutTagsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutTagsInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutTagsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutTagsInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutTagsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutTagsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateWithoutPermissionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutPermissionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutPermissionsInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutPermissionsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutPermissionsInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutPermissionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutPermissionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateWithoutWebhooksInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutWebhooksInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutWebhooksInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutWebhooksInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutWebhooksInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutWebhooksInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutWebhooksInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateWithoutChildEntitiesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutChildEntitiesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutChildEntitiesInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityCreateWithoutParentEntitiesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutParentEntitiesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutParentEntitiesInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutChildEntitiesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutChildEntitiesInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutChildEntitiesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutChildEntitiesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityUpsertWithoutParentEntitiesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutParentEntitiesInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutParentEntitiesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutParentEntitiesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateWithoutRowsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutRowsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutRowsInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutRowsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutRowsInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutRowsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutRowsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateWithoutTemplatesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutTemplatesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutTemplatesInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutTemplatesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutTemplatesInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutTemplatesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutTemplatesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateWithoutGroupsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutGroupsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutGroupsInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutGroupsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutGroupsInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutGroupsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutGroupsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateWithoutApiKeysInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutApiKeysInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutApiKeysInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutApiKeysInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutApiKeysInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutApiKeysInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutApiKeysInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } export type EntityCreateWithoutCreatedPermissionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput rows?: Prisma.RowCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput } export type EntityUncheckedCreateWithoutCreatedPermissionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string moduleId?: string | null name: string slug: string order: number prefix: string type?: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: string onCreated?: string | null onEdit?: string | null apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput } export type EntityCreateOrConnectWithoutCreatedPermissionsInput = { where: Prisma.EntityWhereUniqueInput create: Prisma.XOR } export type EntityUpsertWithoutCreatedPermissionsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.EntityWhereInput } export type EntityUpdateToOneWithWhereWithoutCreatedPermissionsInput = { where?: Prisma.EntityWhereInput data: Prisma.XOR } export type EntityUpdateWithoutCreatedPermissionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput } export type EntityUncheckedUpdateWithoutCreatedPermissionsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.StringFieldUpdateOperationsInput | string order?: Prisma.IntFieldUpdateOperationsInput | number prefix?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string titlePlural?: Prisma.StringFieldUpdateOperationsInput | string isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean icon?: Prisma.StringFieldUpdateOperationsInput | string active?: Prisma.BoolFieldUpdateOperationsInput | boolean showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput } /** * Count Type EntityCountOutputType */ export type EntityCountOutputType = { createdPermissions: number apiKeys: number tags: number permissions: number webhooks: number properties: number rows: number views: number parentEntities: number childEntities: number groups: number templates: number } export type EntityCountOutputTypeSelect = { createdPermissions?: boolean | EntityCountOutputTypeCountCreatedPermissionsArgs apiKeys?: boolean | EntityCountOutputTypeCountApiKeysArgs tags?: boolean | EntityCountOutputTypeCountTagsArgs permissions?: boolean | EntityCountOutputTypeCountPermissionsArgs webhooks?: boolean | EntityCountOutputTypeCountWebhooksArgs properties?: boolean | EntityCountOutputTypeCountPropertiesArgs rows?: boolean | EntityCountOutputTypeCountRowsArgs views?: boolean | EntityCountOutputTypeCountViewsArgs parentEntities?: boolean | EntityCountOutputTypeCountParentEntitiesArgs childEntities?: boolean | EntityCountOutputTypeCountChildEntitiesArgs groups?: boolean | EntityCountOutputTypeCountGroupsArgs templates?: boolean | EntityCountOutputTypeCountTemplatesArgs } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the EntityCountOutputType */ select?: Prisma.EntityCountOutputTypeSelect | null } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountCreatedPermissionsArgs = { where?: Prisma.PermissionWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountApiKeysArgs = { where?: Prisma.ApiKeyEntityWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountTagsArgs = { where?: Prisma.EntityTagWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountPermissionsArgs = { where?: Prisma.EntityTenantUserPermissionWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountWebhooksArgs = { where?: Prisma.EntityWebhookWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountPropertiesArgs = { where?: Prisma.PropertyWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountRowsArgs = { where?: Prisma.RowWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountViewsArgs = { where?: Prisma.EntityViewWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountParentEntitiesArgs = { where?: Prisma.EntityRelationshipWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountChildEntitiesArgs = { where?: Prisma.EntityRelationshipWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountGroupsArgs = { where?: Prisma.EntityGroupEntityWhereInput } /** * EntityCountOutputType without action */ export type EntityCountOutputTypeCountTemplatesArgs = { where?: Prisma.EntityTemplateWhereInput } export type EntitySelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean moduleId?: boolean name?: boolean slug?: boolean order?: boolean prefix?: boolean type?: boolean title?: boolean titlePlural?: boolean isAutogenerated?: boolean hasApi?: boolean icon?: boolean active?: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: boolean onCreated?: boolean onEdit?: boolean createdPermissions?: boolean | Prisma.Entity$createdPermissionsArgs apiKeys?: boolean | Prisma.Entity$apiKeysArgs tags?: boolean | Prisma.Entity$tagsArgs permissions?: boolean | Prisma.Entity$permissionsArgs webhooks?: boolean | Prisma.Entity$webhooksArgs properties?: boolean | Prisma.Entity$propertiesArgs rows?: boolean | Prisma.Entity$rowsArgs views?: boolean | Prisma.Entity$viewsArgs parentEntities?: boolean | Prisma.Entity$parentEntitiesArgs childEntities?: boolean | Prisma.Entity$childEntitiesArgs groups?: boolean | Prisma.Entity$groupsArgs templates?: boolean | Prisma.Entity$templatesArgs _count?: boolean | Prisma.EntityCountOutputTypeDefaultArgs }, ExtArgs["result"]["entity"]> export type EntitySelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean moduleId?: boolean name?: boolean slug?: boolean order?: boolean prefix?: boolean type?: boolean title?: boolean titlePlural?: boolean isAutogenerated?: boolean hasApi?: boolean icon?: boolean active?: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: boolean onCreated?: boolean onEdit?: boolean }, ExtArgs["result"]["entity"]> export type EntitySelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean moduleId?: boolean name?: boolean slug?: boolean order?: boolean prefix?: boolean type?: boolean title?: boolean titlePlural?: boolean isAutogenerated?: boolean hasApi?: boolean icon?: boolean active?: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: boolean onCreated?: boolean onEdit?: boolean }, ExtArgs["result"]["entity"]> export type EntitySelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean moduleId?: boolean name?: boolean slug?: boolean order?: boolean prefix?: boolean type?: boolean title?: boolean titlePlural?: boolean isAutogenerated?: boolean hasApi?: boolean icon?: boolean active?: boolean showInSidebar?: boolean hasTags?: boolean hasComments?: boolean hasTasks?: boolean hasActivity?: boolean hasBulkDelete?: boolean hasViews?: boolean defaultVisibility?: boolean onCreated?: boolean onEdit?: boolean } export type EntityOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "moduleId" | "name" | "slug" | "order" | "prefix" | "type" | "title" | "titlePlural" | "isAutogenerated" | "hasApi" | "icon" | "active" | "showInSidebar" | "hasTags" | "hasComments" | "hasTasks" | "hasActivity" | "hasBulkDelete" | "hasViews" | "defaultVisibility" | "onCreated" | "onEdit", ExtArgs["result"]["entity"]> export type EntityInclude = { createdPermissions?: boolean | Prisma.Entity$createdPermissionsArgs apiKeys?: boolean | Prisma.Entity$apiKeysArgs tags?: boolean | Prisma.Entity$tagsArgs permissions?: boolean | Prisma.Entity$permissionsArgs webhooks?: boolean | Prisma.Entity$webhooksArgs properties?: boolean | Prisma.Entity$propertiesArgs rows?: boolean | Prisma.Entity$rowsArgs views?: boolean | Prisma.Entity$viewsArgs parentEntities?: boolean | Prisma.Entity$parentEntitiesArgs childEntities?: boolean | Prisma.Entity$childEntitiesArgs groups?: boolean | Prisma.Entity$groupsArgs templates?: boolean | Prisma.Entity$templatesArgs _count?: boolean | Prisma.EntityCountOutputTypeDefaultArgs } export type EntityIncludeCreateManyAndReturn = {} export type EntityIncludeUpdateManyAndReturn = {} export type $EntityPayload = { name: "Entity" objects: { createdPermissions: Prisma.$PermissionPayload[] apiKeys: Prisma.$ApiKeyEntityPayload[] tags: Prisma.$EntityTagPayload[] permissions: Prisma.$EntityTenantUserPermissionPayload[] webhooks: Prisma.$EntityWebhookPayload[] properties: Prisma.$PropertyPayload[] rows: Prisma.$RowPayload[] views: Prisma.$EntityViewPayload[] parentEntities: Prisma.$EntityRelationshipPayload[] childEntities: Prisma.$EntityRelationshipPayload[] groups: Prisma.$EntityGroupEntityPayload[] templates: Prisma.$EntityTemplatePayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date moduleId: string | null name: string slug: string order: number prefix: string type: string title: string titlePlural: string isAutogenerated: boolean hasApi: boolean icon: string active: boolean showInSidebar: boolean hasTags: boolean hasComments: boolean hasTasks: boolean hasActivity: boolean hasBulkDelete: boolean hasViews: boolean defaultVisibility: string onCreated: string | null onEdit: string | null }, ExtArgs["result"]["entity"]> composites: {} } export type EntityGetPayload = runtime.Types.Result.GetResult export type EntityCountArgs = Omit & { select?: EntityCountAggregateInputType | true } export interface EntityDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Entity'], meta: { name: 'Entity' } } /** * Find zero or one Entity that matches the filter. * @param {EntityFindUniqueArgs} args - Arguments to find a Entity * @example * // Get one Entity * const entity = await prisma.entity.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__EntityClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Entity that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {EntityFindUniqueOrThrowArgs} args - Arguments to find a Entity * @example * // Get one Entity * const entity = await prisma.entity.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__EntityClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Entity 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 {EntityFindFirstArgs} args - Arguments to find a Entity * @example * // Get one Entity * const entity = await prisma.entity.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__EntityClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Entity 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 {EntityFindFirstOrThrowArgs} args - Arguments to find a Entity * @example * // Get one Entity * const entity = await prisma.entity.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__EntityClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Entities 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 {EntityFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Entities * const entities = await prisma.entity.findMany() * * // Get first 10 Entities * const entities = await prisma.entity.findMany({ take: 10 }) * * // Only select the `id` * const entityWithIdOnly = await prisma.entity.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Entity. * @param {EntityCreateArgs} args - Arguments to create a Entity. * @example * // Create one Entity * const Entity = await prisma.entity.create({ * data: { * // ... data to create a Entity * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__EntityClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Entities. * @param {EntityCreateManyArgs} args - Arguments to create many Entities. * @example * // Create many Entities * const entity = await prisma.entity.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Entities and returns the data saved in the database. * @param {EntityCreateManyAndReturnArgs} args - Arguments to create many Entities. * @example * // Create many Entities * const entity = await prisma.entity.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Entities and only return the `id` * const entityWithIdOnly = await prisma.entity.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 Entity. * @param {EntityDeleteArgs} args - Arguments to delete one Entity. * @example * // Delete one Entity * const Entity = await prisma.entity.delete({ * where: { * // ... filter to delete one Entity * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__EntityClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Entity. * @param {EntityUpdateArgs} args - Arguments to update one Entity. * @example * // Update one Entity * const entity = await prisma.entity.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__EntityClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Entities. * @param {EntityDeleteManyArgs} args - Arguments to filter Entities to delete. * @example * // Delete a few Entities * const { count } = await prisma.entity.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Entities. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Entities * const entity = await prisma.entity.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Entities and returns the data updated in the database. * @param {EntityUpdateManyAndReturnArgs} args - Arguments to update many Entities. * @example * // Update many Entities * const entity = await prisma.entity.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Entities and only return the `id` * const entityWithIdOnly = await prisma.entity.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 Entity. * @param {EntityUpsertArgs} args - Arguments to update or create a Entity. * @example * // Update or create a Entity * const entity = await prisma.entity.upsert({ * create: { * // ... data to create a Entity * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Entity we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__EntityClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Entities. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityCountArgs} args - Arguments to filter Entities to count. * @example * // Count the number of Entities * const count = await prisma.entity.count({ * where: { * // ... the filter for the Entities 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 Entity. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityAggregateArgs} 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 Entity. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityGroupByArgs} 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 EntityGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: EntityGroupByArgs['orderBy'] } : { orderBy?: EntityGroupByArgs['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 ? GetEntityGroupByPayload : Prisma.PrismaPromise /** * Fields of the Entity model */ readonly fields: EntityFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Entity. * 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__EntityClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" createdPermissions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> apiKeys = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> tags = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> permissions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> webhooks = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> properties = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> rows = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> views = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> parentEntities = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> childEntities = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> groups = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> templates = {}>(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 Entity model */ export interface EntityFieldRefs { readonly id: Prisma.FieldRef<"Entity", 'String'> readonly createdAt: Prisma.FieldRef<"Entity", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Entity", 'DateTime'> readonly moduleId: Prisma.FieldRef<"Entity", 'String'> readonly name: Prisma.FieldRef<"Entity", 'String'> readonly slug: Prisma.FieldRef<"Entity", 'String'> readonly order: Prisma.FieldRef<"Entity", 'Int'> readonly prefix: Prisma.FieldRef<"Entity", 'String'> readonly type: Prisma.FieldRef<"Entity", 'String'> readonly title: Prisma.FieldRef<"Entity", 'String'> readonly titlePlural: Prisma.FieldRef<"Entity", 'String'> readonly isAutogenerated: Prisma.FieldRef<"Entity", 'Boolean'> readonly hasApi: Prisma.FieldRef<"Entity", 'Boolean'> readonly icon: Prisma.FieldRef<"Entity", 'String'> readonly active: Prisma.FieldRef<"Entity", 'Boolean'> readonly showInSidebar: Prisma.FieldRef<"Entity", 'Boolean'> readonly hasTags: Prisma.FieldRef<"Entity", 'Boolean'> readonly hasComments: Prisma.FieldRef<"Entity", 'Boolean'> readonly hasTasks: Prisma.FieldRef<"Entity", 'Boolean'> readonly hasActivity: Prisma.FieldRef<"Entity", 'Boolean'> readonly hasBulkDelete: Prisma.FieldRef<"Entity", 'Boolean'> readonly hasViews: Prisma.FieldRef<"Entity", 'Boolean'> readonly defaultVisibility: Prisma.FieldRef<"Entity", 'String'> readonly onCreated: Prisma.FieldRef<"Entity", 'String'> readonly onEdit: Prisma.FieldRef<"Entity", 'String'> } // Custom InputTypes /** * Entity findUnique */ export type EntityFindUniqueArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelect | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityInclude | null /** * Filter, which Entity to fetch. */ where: Prisma.EntityWhereUniqueInput } /** * Entity findUniqueOrThrow */ export type EntityFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelect | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityInclude | null /** * Filter, which Entity to fetch. */ where: Prisma.EntityWhereUniqueInput } /** * Entity findFirst */ export type EntityFindFirstArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelect | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityInclude | null /** * Filter, which Entity to fetch. */ where?: Prisma.EntityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Entities to fetch. */ orderBy?: Prisma.EntityOrderByWithRelationInput | Prisma.EntityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Entities. */ cursor?: Prisma.EntityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Entities 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` Entities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Entities. */ distinct?: Prisma.EntityScalarFieldEnum | Prisma.EntityScalarFieldEnum[] } /** * Entity findFirstOrThrow */ export type EntityFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelect | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityInclude | null /** * Filter, which Entity to fetch. */ where?: Prisma.EntityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Entities to fetch. */ orderBy?: Prisma.EntityOrderByWithRelationInput | Prisma.EntityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Entities. */ cursor?: Prisma.EntityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Entities 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` Entities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Entities. */ distinct?: Prisma.EntityScalarFieldEnum | Prisma.EntityScalarFieldEnum[] } /** * Entity findMany */ export type EntityFindManyArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelect | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityInclude | null /** * Filter, which Entities to fetch. */ where?: Prisma.EntityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Entities to fetch. */ orderBy?: Prisma.EntityOrderByWithRelationInput | Prisma.EntityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Entities. */ cursor?: Prisma.EntityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Entities 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` Entities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Entities. */ distinct?: Prisma.EntityScalarFieldEnum | Prisma.EntityScalarFieldEnum[] } /** * Entity create */ export type EntityCreateArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelect | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityInclude | null /** * The data needed to create a Entity. */ data: Prisma.XOR } /** * Entity createMany */ export type EntityCreateManyArgs = { /** * The data used to create many Entities. */ data: Prisma.EntityCreateManyInput | Prisma.EntityCreateManyInput[] skipDuplicates?: boolean } /** * Entity createManyAndReturn */ export type EntityCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelectCreateManyAndReturn | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * The data used to create many Entities. */ data: Prisma.EntityCreateManyInput | Prisma.EntityCreateManyInput[] skipDuplicates?: boolean } /** * Entity update */ export type EntityUpdateArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelect | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityInclude | null /** * The data needed to update a Entity. */ data: Prisma.XOR /** * Choose, which Entity to update. */ where: Prisma.EntityWhereUniqueInput } /** * Entity updateMany */ export type EntityUpdateManyArgs = { /** * The data used to update Entities. */ data: Prisma.XOR /** * Filter which Entities to update */ where?: Prisma.EntityWhereInput /** * Limit how many Entities to update. */ limit?: number } /** * Entity updateManyAndReturn */ export type EntityUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelectUpdateManyAndReturn | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * The data used to update Entities. */ data: Prisma.XOR /** * Filter which Entities to update */ where?: Prisma.EntityWhereInput /** * Limit how many Entities to update. */ limit?: number } /** * Entity upsert */ export type EntityUpsertArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelect | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityInclude | null /** * The filter to search for the Entity to update in case it exists. */ where: Prisma.EntityWhereUniqueInput /** * In case the Entity found by the `where` argument doesn't exist, create a new Entity with this data. */ create: Prisma.XOR /** * In case the Entity was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Entity delete */ export type EntityDeleteArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelect | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityInclude | null /** * Filter which Entity to delete. */ where: Prisma.EntityWhereUniqueInput } /** * Entity deleteMany */ export type EntityDeleteManyArgs = { /** * Filter which Entities to delete */ where?: Prisma.EntityWhereInput /** * Limit how many Entities to delete. */ limit?: number } /** * Entity.createdPermissions */ export type Entity$createdPermissionsArgs = { /** * Select specific fields to fetch from the Permission */ select?: Prisma.PermissionSelect | null /** * Omit specific fields from the Permission */ omit?: Prisma.PermissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PermissionInclude | null where?: Prisma.PermissionWhereInput orderBy?: Prisma.PermissionOrderByWithRelationInput | Prisma.PermissionOrderByWithRelationInput[] cursor?: Prisma.PermissionWhereUniqueInput take?: number skip?: number distinct?: Prisma.PermissionScalarFieldEnum | Prisma.PermissionScalarFieldEnum[] } /** * Entity.apiKeys */ export type Entity$apiKeysArgs = { /** * Select specific fields to fetch from the ApiKeyEntity */ select?: Prisma.ApiKeyEntitySelect | null /** * Omit specific fields from the ApiKeyEntity */ omit?: Prisma.ApiKeyEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ApiKeyEntityInclude | null where?: Prisma.ApiKeyEntityWhereInput orderBy?: Prisma.ApiKeyEntityOrderByWithRelationInput | Prisma.ApiKeyEntityOrderByWithRelationInput[] cursor?: Prisma.ApiKeyEntityWhereUniqueInput take?: number skip?: number distinct?: Prisma.ApiKeyEntityScalarFieldEnum | Prisma.ApiKeyEntityScalarFieldEnum[] } /** * Entity.tags */ export type Entity$tagsArgs = { /** * Select specific fields to fetch from the EntityTag */ select?: Prisma.EntityTagSelect | null /** * Omit specific fields from the EntityTag */ omit?: Prisma.EntityTagOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityTagInclude | null where?: Prisma.EntityTagWhereInput orderBy?: Prisma.EntityTagOrderByWithRelationInput | Prisma.EntityTagOrderByWithRelationInput[] cursor?: Prisma.EntityTagWhereUniqueInput take?: number skip?: number distinct?: Prisma.EntityTagScalarFieldEnum | Prisma.EntityTagScalarFieldEnum[] } /** * Entity.permissions */ export type Entity$permissionsArgs = { /** * Select specific fields to fetch from the EntityTenantUserPermission */ select?: Prisma.EntityTenantUserPermissionSelect | null /** * Omit specific fields from the EntityTenantUserPermission */ omit?: Prisma.EntityTenantUserPermissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityTenantUserPermissionInclude | null where?: Prisma.EntityTenantUserPermissionWhereInput orderBy?: Prisma.EntityTenantUserPermissionOrderByWithRelationInput | Prisma.EntityTenantUserPermissionOrderByWithRelationInput[] cursor?: Prisma.EntityTenantUserPermissionWhereUniqueInput take?: number skip?: number distinct?: Prisma.EntityTenantUserPermissionScalarFieldEnum | Prisma.EntityTenantUserPermissionScalarFieldEnum[] } /** * Entity.webhooks */ export type Entity$webhooksArgs = { /** * Select specific fields to fetch from the EntityWebhook */ select?: Prisma.EntityWebhookSelect | null /** * Omit specific fields from the EntityWebhook */ omit?: Prisma.EntityWebhookOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityWebhookInclude | null where?: Prisma.EntityWebhookWhereInput orderBy?: Prisma.EntityWebhookOrderByWithRelationInput | Prisma.EntityWebhookOrderByWithRelationInput[] cursor?: Prisma.EntityWebhookWhereUniqueInput take?: number skip?: number distinct?: Prisma.EntityWebhookScalarFieldEnum | Prisma.EntityWebhookScalarFieldEnum[] } /** * Entity.properties */ export type Entity$propertiesArgs = { /** * Select specific fields to fetch from the Property */ select?: Prisma.PropertySelect | null /** * Omit specific fields from the Property */ omit?: Prisma.PropertyOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyInclude | null where?: Prisma.PropertyWhereInput orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[] cursor?: Prisma.PropertyWhereUniqueInput take?: number skip?: number distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[] } /** * Entity.rows */ export type Entity$rowsArgs = { /** * Select specific fields to fetch from the Row */ select?: Prisma.RowSelect | null /** * Omit specific fields from the Row */ omit?: Prisma.RowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowInclude | null where?: Prisma.RowWhereInput orderBy?: Prisma.RowOrderByWithRelationInput | Prisma.RowOrderByWithRelationInput[] cursor?: Prisma.RowWhereUniqueInput take?: number skip?: number distinct?: Prisma.RowScalarFieldEnum | Prisma.RowScalarFieldEnum[] } /** * Entity.views */ export type Entity$viewsArgs = { /** * Select specific fields to fetch from the EntityView */ select?: Prisma.EntityViewSelect | null /** * Omit specific fields from the EntityView */ omit?: Prisma.EntityViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityViewInclude | null where?: Prisma.EntityViewWhereInput orderBy?: Prisma.EntityViewOrderByWithRelationInput | Prisma.EntityViewOrderByWithRelationInput[] cursor?: Prisma.EntityViewWhereUniqueInput take?: number skip?: number distinct?: Prisma.EntityViewScalarFieldEnum | Prisma.EntityViewScalarFieldEnum[] } /** * Entity.parentEntities */ export type Entity$parentEntitiesArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null where?: Prisma.EntityRelationshipWhereInput orderBy?: Prisma.EntityRelationshipOrderByWithRelationInput | Prisma.EntityRelationshipOrderByWithRelationInput[] cursor?: Prisma.EntityRelationshipWhereUniqueInput take?: number skip?: number distinct?: Prisma.EntityRelationshipScalarFieldEnum | Prisma.EntityRelationshipScalarFieldEnum[] } /** * Entity.childEntities */ export type Entity$childEntitiesArgs = { /** * Select specific fields to fetch from the EntityRelationship */ select?: Prisma.EntityRelationshipSelect | null /** * Omit specific fields from the EntityRelationship */ omit?: Prisma.EntityRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityRelationshipInclude | null where?: Prisma.EntityRelationshipWhereInput orderBy?: Prisma.EntityRelationshipOrderByWithRelationInput | Prisma.EntityRelationshipOrderByWithRelationInput[] cursor?: Prisma.EntityRelationshipWhereUniqueInput take?: number skip?: number distinct?: Prisma.EntityRelationshipScalarFieldEnum | Prisma.EntityRelationshipScalarFieldEnum[] } /** * Entity.groups */ export type Entity$groupsArgs = { /** * Select specific fields to fetch from the EntityGroupEntity */ select?: Prisma.EntityGroupEntitySelect | null /** * Omit specific fields from the EntityGroupEntity */ omit?: Prisma.EntityGroupEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityGroupEntityInclude | null where?: Prisma.EntityGroupEntityWhereInput orderBy?: Prisma.EntityGroupEntityOrderByWithRelationInput | Prisma.EntityGroupEntityOrderByWithRelationInput[] cursor?: Prisma.EntityGroupEntityWhereUniqueInput take?: number skip?: number distinct?: Prisma.EntityGroupEntityScalarFieldEnum | Prisma.EntityGroupEntityScalarFieldEnum[] } /** * Entity.templates */ export type Entity$templatesArgs = { /** * Select specific fields to fetch from the EntityTemplate */ select?: Prisma.EntityTemplateSelect | null /** * Omit specific fields from the EntityTemplate */ omit?: Prisma.EntityTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityTemplateInclude | null where?: Prisma.EntityTemplateWhereInput orderBy?: Prisma.EntityTemplateOrderByWithRelationInput | Prisma.EntityTemplateOrderByWithRelationInput[] cursor?: Prisma.EntityTemplateWhereUniqueInput take?: number skip?: number distinct?: Prisma.EntityTemplateScalarFieldEnum | Prisma.EntityTemplateScalarFieldEnum[] } /** * Entity without action */ export type EntityDefaultArgs = { /** * Select specific fields to fetch from the Entity */ select?: Prisma.EntitySelect | null /** * Omit specific fields from the Entity */ omit?: Prisma.EntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityInclude | null }