/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `EntityTemplate` 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 EntityTemplate * */ export type EntityTemplateModel = runtime.Types.Result.DefaultSelection export type AggregateEntityTemplate = { _count: EntityTemplateCountAggregateOutputType | null _min: EntityTemplateMinAggregateOutputType | null _max: EntityTemplateMaxAggregateOutputType | null } export type EntityTemplateMinAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null entityId: string | null title: string | null config: string | null } export type EntityTemplateMaxAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null entityId: string | null title: string | null config: string | null } export type EntityTemplateCountAggregateOutputType = { id: number createdAt: number tenantId: number entityId: number title: number config: number _all: number } export type EntityTemplateMinAggregateInputType = { id?: true createdAt?: true tenantId?: true entityId?: true title?: true config?: true } export type EntityTemplateMaxAggregateInputType = { id?: true createdAt?: true tenantId?: true entityId?: true title?: true config?: true } export type EntityTemplateCountAggregateInputType = { id?: true createdAt?: true tenantId?: true entityId?: true title?: true config?: true _all?: true } export type EntityTemplateAggregateArgs = { /** * Filter which EntityTemplate to aggregate. */ where?: Prisma.EntityTemplateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EntityTemplates to fetch. */ orderBy?: Prisma.EntityTemplateOrderByWithRelationInput | Prisma.EntityTemplateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.EntityTemplateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EntityTemplates 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` EntityTemplates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned EntityTemplates **/ _count?: true | EntityTemplateCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: EntityTemplateMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: EntityTemplateMaxAggregateInputType } export type GetEntityTemplateAggregateType = { [P in keyof T & keyof AggregateEntityTemplate]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type EntityTemplateGroupByArgs = { where?: Prisma.EntityTemplateWhereInput orderBy?: Prisma.EntityTemplateOrderByWithAggregationInput | Prisma.EntityTemplateOrderByWithAggregationInput[] by: Prisma.EntityTemplateScalarFieldEnum[] | Prisma.EntityTemplateScalarFieldEnum having?: Prisma.EntityTemplateScalarWhereWithAggregatesInput take?: number skip?: number _count?: EntityTemplateCountAggregateInputType | true _min?: EntityTemplateMinAggregateInputType _max?: EntityTemplateMaxAggregateInputType } export type EntityTemplateGroupByOutputType = { id: string createdAt: Date tenantId: string | null entityId: string title: string config: string _count: EntityTemplateCountAggregateOutputType | null _min: EntityTemplateMinAggregateOutputType | null _max: EntityTemplateMaxAggregateOutputType | null } export type GetEntityTemplateGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof EntityTemplateGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type EntityTemplateWhereInput = { AND?: Prisma.EntityTemplateWhereInput | Prisma.EntityTemplateWhereInput[] OR?: Prisma.EntityTemplateWhereInput[] NOT?: Prisma.EntityTemplateWhereInput | Prisma.EntityTemplateWhereInput[] id?: Prisma.StringFilter<"EntityTemplate"> | string createdAt?: Prisma.DateTimeFilter<"EntityTemplate"> | Date | string tenantId?: Prisma.StringNullableFilter<"EntityTemplate"> | string | null entityId?: Prisma.StringFilter<"EntityTemplate"> | string title?: Prisma.StringFilter<"EntityTemplate"> | string config?: Prisma.StringFilter<"EntityTemplate"> | string tenant?: Prisma.XOR | null entity?: Prisma.XOR } export type EntityTemplateOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrderInput | Prisma.SortOrder entityId?: Prisma.SortOrder title?: Prisma.SortOrder config?: Prisma.SortOrder tenant?: Prisma.TenantOrderByWithRelationInput entity?: Prisma.EntityOrderByWithRelationInput } export type EntityTemplateWhereUniqueInput = Prisma.AtLeast<{ id?: string tenantId_entityId_title?: Prisma.EntityTemplateTenantIdEntityIdTitleCompoundUniqueInput AND?: Prisma.EntityTemplateWhereInput | Prisma.EntityTemplateWhereInput[] OR?: Prisma.EntityTemplateWhereInput[] NOT?: Prisma.EntityTemplateWhereInput | Prisma.EntityTemplateWhereInput[] createdAt?: Prisma.DateTimeFilter<"EntityTemplate"> | Date | string tenantId?: Prisma.StringNullableFilter<"EntityTemplate"> | string | null entityId?: Prisma.StringFilter<"EntityTemplate"> | string title?: Prisma.StringFilter<"EntityTemplate"> | string config?: Prisma.StringFilter<"EntityTemplate"> | string tenant?: Prisma.XOR | null entity?: Prisma.XOR }, "id" | "tenantId_entityId_title"> export type EntityTemplateOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrderInput | Prisma.SortOrder entityId?: Prisma.SortOrder title?: Prisma.SortOrder config?: Prisma.SortOrder _count?: Prisma.EntityTemplateCountOrderByAggregateInput _max?: Prisma.EntityTemplateMaxOrderByAggregateInput _min?: Prisma.EntityTemplateMinOrderByAggregateInput } export type EntityTemplateScalarWhereWithAggregatesInput = { AND?: Prisma.EntityTemplateScalarWhereWithAggregatesInput | Prisma.EntityTemplateScalarWhereWithAggregatesInput[] OR?: Prisma.EntityTemplateScalarWhereWithAggregatesInput[] NOT?: Prisma.EntityTemplateScalarWhereWithAggregatesInput | Prisma.EntityTemplateScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"EntityTemplate"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"EntityTemplate"> | Date | string tenantId?: Prisma.StringNullableWithAggregatesFilter<"EntityTemplate"> | string | null entityId?: Prisma.StringWithAggregatesFilter<"EntityTemplate"> | string title?: Prisma.StringWithAggregatesFilter<"EntityTemplate"> | string config?: Prisma.StringWithAggregatesFilter<"EntityTemplate"> | string } export type EntityTemplateCreateInput = { id?: string createdAt?: Date | string title: string config: string tenant?: Prisma.TenantCreateNestedOneWithoutEntityTemplatesInput entity: Prisma.EntityCreateNestedOneWithoutTemplatesInput } export type EntityTemplateUncheckedCreateInput = { id?: string createdAt?: Date | string tenantId?: string | null entityId: string title: string config: string } export type EntityTemplateUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string tenant?: Prisma.TenantUpdateOneWithoutEntityTemplatesNestedInput entity?: Prisma.EntityUpdateOneRequiredWithoutTemplatesNestedInput } export type EntityTemplateUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null entityId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string } export type EntityTemplateCreateManyInput = { id?: string createdAt?: Date | string tenantId?: string | null entityId: string title: string config: string } export type EntityTemplateUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string } export type EntityTemplateUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null entityId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string } export type EntityTemplateListRelationFilter = { every?: Prisma.EntityTemplateWhereInput some?: Prisma.EntityTemplateWhereInput none?: Prisma.EntityTemplateWhereInput } export type EntityTemplateOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type EntityTemplateTenantIdEntityIdTitleCompoundUniqueInput = { tenantId: string entityId: string title: string } export type EntityTemplateCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder entityId?: Prisma.SortOrder title?: Prisma.SortOrder config?: Prisma.SortOrder } export type EntityTemplateMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder entityId?: Prisma.SortOrder title?: Prisma.SortOrder config?: Prisma.SortOrder } export type EntityTemplateMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder entityId?: Prisma.SortOrder title?: Prisma.SortOrder config?: Prisma.SortOrder } export type EntityTemplateCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.EntityTemplateCreateWithoutTenantInput[] | Prisma.EntityTemplateUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.EntityTemplateCreateOrConnectWithoutTenantInput | Prisma.EntityTemplateCreateOrConnectWithoutTenantInput[] createMany?: Prisma.EntityTemplateCreateManyTenantInputEnvelope connect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] } export type EntityTemplateUncheckedCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.EntityTemplateCreateWithoutTenantInput[] | Prisma.EntityTemplateUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.EntityTemplateCreateOrConnectWithoutTenantInput | Prisma.EntityTemplateCreateOrConnectWithoutTenantInput[] createMany?: Prisma.EntityTemplateCreateManyTenantInputEnvelope connect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] } export type EntityTemplateUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.EntityTemplateCreateWithoutTenantInput[] | Prisma.EntityTemplateUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.EntityTemplateCreateOrConnectWithoutTenantInput | Prisma.EntityTemplateCreateOrConnectWithoutTenantInput[] upsert?: Prisma.EntityTemplateUpsertWithWhereUniqueWithoutTenantInput | Prisma.EntityTemplateUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.EntityTemplateCreateManyTenantInputEnvelope set?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] disconnect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] delete?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] connect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] update?: Prisma.EntityTemplateUpdateWithWhereUniqueWithoutTenantInput | Prisma.EntityTemplateUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.EntityTemplateUpdateManyWithWhereWithoutTenantInput | Prisma.EntityTemplateUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.EntityTemplateScalarWhereInput | Prisma.EntityTemplateScalarWhereInput[] } export type EntityTemplateUncheckedUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.EntityTemplateCreateWithoutTenantInput[] | Prisma.EntityTemplateUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.EntityTemplateCreateOrConnectWithoutTenantInput | Prisma.EntityTemplateCreateOrConnectWithoutTenantInput[] upsert?: Prisma.EntityTemplateUpsertWithWhereUniqueWithoutTenantInput | Prisma.EntityTemplateUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.EntityTemplateCreateManyTenantInputEnvelope set?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] disconnect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] delete?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] connect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] update?: Prisma.EntityTemplateUpdateWithWhereUniqueWithoutTenantInput | Prisma.EntityTemplateUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.EntityTemplateUpdateManyWithWhereWithoutTenantInput | Prisma.EntityTemplateUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.EntityTemplateScalarWhereInput | Prisma.EntityTemplateScalarWhereInput[] } export type EntityTemplateCreateNestedManyWithoutEntityInput = { create?: Prisma.XOR | Prisma.EntityTemplateCreateWithoutEntityInput[] | Prisma.EntityTemplateUncheckedCreateWithoutEntityInput[] connectOrCreate?: Prisma.EntityTemplateCreateOrConnectWithoutEntityInput | Prisma.EntityTemplateCreateOrConnectWithoutEntityInput[] createMany?: Prisma.EntityTemplateCreateManyEntityInputEnvelope connect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] } export type EntityTemplateUncheckedCreateNestedManyWithoutEntityInput = { create?: Prisma.XOR | Prisma.EntityTemplateCreateWithoutEntityInput[] | Prisma.EntityTemplateUncheckedCreateWithoutEntityInput[] connectOrCreate?: Prisma.EntityTemplateCreateOrConnectWithoutEntityInput | Prisma.EntityTemplateCreateOrConnectWithoutEntityInput[] createMany?: Prisma.EntityTemplateCreateManyEntityInputEnvelope connect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] } export type EntityTemplateUpdateManyWithoutEntityNestedInput = { create?: Prisma.XOR | Prisma.EntityTemplateCreateWithoutEntityInput[] | Prisma.EntityTemplateUncheckedCreateWithoutEntityInput[] connectOrCreate?: Prisma.EntityTemplateCreateOrConnectWithoutEntityInput | Prisma.EntityTemplateCreateOrConnectWithoutEntityInput[] upsert?: Prisma.EntityTemplateUpsertWithWhereUniqueWithoutEntityInput | Prisma.EntityTemplateUpsertWithWhereUniqueWithoutEntityInput[] createMany?: Prisma.EntityTemplateCreateManyEntityInputEnvelope set?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] disconnect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] delete?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] connect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] update?: Prisma.EntityTemplateUpdateWithWhereUniqueWithoutEntityInput | Prisma.EntityTemplateUpdateWithWhereUniqueWithoutEntityInput[] updateMany?: Prisma.EntityTemplateUpdateManyWithWhereWithoutEntityInput | Prisma.EntityTemplateUpdateManyWithWhereWithoutEntityInput[] deleteMany?: Prisma.EntityTemplateScalarWhereInput | Prisma.EntityTemplateScalarWhereInput[] } export type EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput = { create?: Prisma.XOR | Prisma.EntityTemplateCreateWithoutEntityInput[] | Prisma.EntityTemplateUncheckedCreateWithoutEntityInput[] connectOrCreate?: Prisma.EntityTemplateCreateOrConnectWithoutEntityInput | Prisma.EntityTemplateCreateOrConnectWithoutEntityInput[] upsert?: Prisma.EntityTemplateUpsertWithWhereUniqueWithoutEntityInput | Prisma.EntityTemplateUpsertWithWhereUniqueWithoutEntityInput[] createMany?: Prisma.EntityTemplateCreateManyEntityInputEnvelope set?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] disconnect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] delete?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] connect?: Prisma.EntityTemplateWhereUniqueInput | Prisma.EntityTemplateWhereUniqueInput[] update?: Prisma.EntityTemplateUpdateWithWhereUniqueWithoutEntityInput | Prisma.EntityTemplateUpdateWithWhereUniqueWithoutEntityInput[] updateMany?: Prisma.EntityTemplateUpdateManyWithWhereWithoutEntityInput | Prisma.EntityTemplateUpdateManyWithWhereWithoutEntityInput[] deleteMany?: Prisma.EntityTemplateScalarWhereInput | Prisma.EntityTemplateScalarWhereInput[] } export type EntityTemplateCreateWithoutTenantInput = { id?: string createdAt?: Date | string title: string config: string entity: Prisma.EntityCreateNestedOneWithoutTemplatesInput } export type EntityTemplateUncheckedCreateWithoutTenantInput = { id?: string createdAt?: Date | string entityId: string title: string config: string } export type EntityTemplateCreateOrConnectWithoutTenantInput = { where: Prisma.EntityTemplateWhereUniqueInput create: Prisma.XOR } export type EntityTemplateCreateManyTenantInputEnvelope = { data: Prisma.EntityTemplateCreateManyTenantInput | Prisma.EntityTemplateCreateManyTenantInput[] skipDuplicates?: boolean } export type EntityTemplateUpsertWithWhereUniqueWithoutTenantInput = { where: Prisma.EntityTemplateWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type EntityTemplateUpdateWithWhereUniqueWithoutTenantInput = { where: Prisma.EntityTemplateWhereUniqueInput data: Prisma.XOR } export type EntityTemplateUpdateManyWithWhereWithoutTenantInput = { where: Prisma.EntityTemplateScalarWhereInput data: Prisma.XOR } export type EntityTemplateScalarWhereInput = { AND?: Prisma.EntityTemplateScalarWhereInput | Prisma.EntityTemplateScalarWhereInput[] OR?: Prisma.EntityTemplateScalarWhereInput[] NOT?: Prisma.EntityTemplateScalarWhereInput | Prisma.EntityTemplateScalarWhereInput[] id?: Prisma.StringFilter<"EntityTemplate"> | string createdAt?: Prisma.DateTimeFilter<"EntityTemplate"> | Date | string tenantId?: Prisma.StringNullableFilter<"EntityTemplate"> | string | null entityId?: Prisma.StringFilter<"EntityTemplate"> | string title?: Prisma.StringFilter<"EntityTemplate"> | string config?: Prisma.StringFilter<"EntityTemplate"> | string } export type EntityTemplateCreateWithoutEntityInput = { id?: string createdAt?: Date | string title: string config: string tenant?: Prisma.TenantCreateNestedOneWithoutEntityTemplatesInput } export type EntityTemplateUncheckedCreateWithoutEntityInput = { id?: string createdAt?: Date | string tenantId?: string | null title: string config: string } export type EntityTemplateCreateOrConnectWithoutEntityInput = { where: Prisma.EntityTemplateWhereUniqueInput create: Prisma.XOR } export type EntityTemplateCreateManyEntityInputEnvelope = { data: Prisma.EntityTemplateCreateManyEntityInput | Prisma.EntityTemplateCreateManyEntityInput[] skipDuplicates?: boolean } export type EntityTemplateUpsertWithWhereUniqueWithoutEntityInput = { where: Prisma.EntityTemplateWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type EntityTemplateUpdateWithWhereUniqueWithoutEntityInput = { where: Prisma.EntityTemplateWhereUniqueInput data: Prisma.XOR } export type EntityTemplateUpdateManyWithWhereWithoutEntityInput = { where: Prisma.EntityTemplateScalarWhereInput data: Prisma.XOR } export type EntityTemplateCreateManyTenantInput = { id?: string createdAt?: Date | string entityId: string title: string config: string } export type EntityTemplateUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string entity?: Prisma.EntityUpdateOneRequiredWithoutTemplatesNestedInput } export type EntityTemplateUncheckedUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string entityId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string } export type EntityTemplateUncheckedUpdateManyWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string entityId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string } export type EntityTemplateCreateManyEntityInput = { id?: string createdAt?: Date | string tenantId?: string | null title: string config: string } export type EntityTemplateUpdateWithoutEntityInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string tenant?: Prisma.TenantUpdateOneWithoutEntityTemplatesNestedInput } export type EntityTemplateUncheckedUpdateWithoutEntityInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null title?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string } export type EntityTemplateUncheckedUpdateManyWithoutEntityInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null title?: Prisma.StringFieldUpdateOperationsInput | string config?: Prisma.StringFieldUpdateOperationsInput | string } export type EntityTemplateSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean entityId?: boolean title?: boolean config?: boolean tenant?: boolean | Prisma.EntityTemplate$tenantArgs entity?: boolean | Prisma.EntityDefaultArgs }, ExtArgs["result"]["entityTemplate"]> export type EntityTemplateSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean entityId?: boolean title?: boolean config?: boolean tenant?: boolean | Prisma.EntityTemplate$tenantArgs entity?: boolean | Prisma.EntityDefaultArgs }, ExtArgs["result"]["entityTemplate"]> export type EntityTemplateSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean entityId?: boolean title?: boolean config?: boolean tenant?: boolean | Prisma.EntityTemplate$tenantArgs entity?: boolean | Prisma.EntityDefaultArgs }, ExtArgs["result"]["entityTemplate"]> export type EntityTemplateSelectScalar = { id?: boolean createdAt?: boolean tenantId?: boolean entityId?: boolean title?: boolean config?: boolean } export type EntityTemplateOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "entityId" | "title" | "config", ExtArgs["result"]["entityTemplate"]> export type EntityTemplateInclude = { tenant?: boolean | Prisma.EntityTemplate$tenantArgs entity?: boolean | Prisma.EntityDefaultArgs } export type EntityTemplateIncludeCreateManyAndReturn = { tenant?: boolean | Prisma.EntityTemplate$tenantArgs entity?: boolean | Prisma.EntityDefaultArgs } export type EntityTemplateIncludeUpdateManyAndReturn = { tenant?: boolean | Prisma.EntityTemplate$tenantArgs entity?: boolean | Prisma.EntityDefaultArgs } export type $EntityTemplatePayload = { name: "EntityTemplate" objects: { tenant: Prisma.$TenantPayload | null entity: Prisma.$EntityPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date tenantId: string | null entityId: string title: string config: string }, ExtArgs["result"]["entityTemplate"]> composites: {} } export type EntityTemplateGetPayload = runtime.Types.Result.GetResult export type EntityTemplateCountArgs = Omit & { select?: EntityTemplateCountAggregateInputType | true } export interface EntityTemplateDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['EntityTemplate'], meta: { name: 'EntityTemplate' } } /** * Find zero or one EntityTemplate that matches the filter. * @param {EntityTemplateFindUniqueArgs} args - Arguments to find a EntityTemplate * @example * // Get one EntityTemplate * const entityTemplate = await prisma.entityTemplate.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__EntityTemplateClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one EntityTemplate that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {EntityTemplateFindUniqueOrThrowArgs} args - Arguments to find a EntityTemplate * @example * // Get one EntityTemplate * const entityTemplate = await prisma.entityTemplate.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__EntityTemplateClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first EntityTemplate 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 {EntityTemplateFindFirstArgs} args - Arguments to find a EntityTemplate * @example * // Get one EntityTemplate * const entityTemplate = await prisma.entityTemplate.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__EntityTemplateClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first EntityTemplate 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 {EntityTemplateFindFirstOrThrowArgs} args - Arguments to find a EntityTemplate * @example * // Get one EntityTemplate * const entityTemplate = await prisma.entityTemplate.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__EntityTemplateClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more EntityTemplates 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 {EntityTemplateFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all EntityTemplates * const entityTemplates = await prisma.entityTemplate.findMany() * * // Get first 10 EntityTemplates * const entityTemplates = await prisma.entityTemplate.findMany({ take: 10 }) * * // Only select the `id` * const entityTemplateWithIdOnly = await prisma.entityTemplate.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a EntityTemplate. * @param {EntityTemplateCreateArgs} args - Arguments to create a EntityTemplate. * @example * // Create one EntityTemplate * const EntityTemplate = await prisma.entityTemplate.create({ * data: { * // ... data to create a EntityTemplate * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__EntityTemplateClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many EntityTemplates. * @param {EntityTemplateCreateManyArgs} args - Arguments to create many EntityTemplates. * @example * // Create many EntityTemplates * const entityTemplate = await prisma.entityTemplate.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many EntityTemplates and returns the data saved in the database. * @param {EntityTemplateCreateManyAndReturnArgs} args - Arguments to create many EntityTemplates. * @example * // Create many EntityTemplates * const entityTemplate = await prisma.entityTemplate.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many EntityTemplates and only return the `id` * const entityTemplateWithIdOnly = await prisma.entityTemplate.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 EntityTemplate. * @param {EntityTemplateDeleteArgs} args - Arguments to delete one EntityTemplate. * @example * // Delete one EntityTemplate * const EntityTemplate = await prisma.entityTemplate.delete({ * where: { * // ... filter to delete one EntityTemplate * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__EntityTemplateClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one EntityTemplate. * @param {EntityTemplateUpdateArgs} args - Arguments to update one EntityTemplate. * @example * // Update one EntityTemplate * const entityTemplate = await prisma.entityTemplate.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__EntityTemplateClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more EntityTemplates. * @param {EntityTemplateDeleteManyArgs} args - Arguments to filter EntityTemplates to delete. * @example * // Delete a few EntityTemplates * const { count } = await prisma.entityTemplate.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EntityTemplates. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityTemplateUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many EntityTemplates * const entityTemplate = await prisma.entityTemplate.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EntityTemplates and returns the data updated in the database. * @param {EntityTemplateUpdateManyAndReturnArgs} args - Arguments to update many EntityTemplates. * @example * // Update many EntityTemplates * const entityTemplate = await prisma.entityTemplate.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more EntityTemplates and only return the `id` * const entityTemplateWithIdOnly = await prisma.entityTemplate.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 EntityTemplate. * @param {EntityTemplateUpsertArgs} args - Arguments to update or create a EntityTemplate. * @example * // Update or create a EntityTemplate * const entityTemplate = await prisma.entityTemplate.upsert({ * create: { * // ... data to create a EntityTemplate * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the EntityTemplate we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__EntityTemplateClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of EntityTemplates. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityTemplateCountArgs} args - Arguments to filter EntityTemplates to count. * @example * // Count the number of EntityTemplates * const count = await prisma.entityTemplate.count({ * where: { * // ... the filter for the EntityTemplates 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 EntityTemplate. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityTemplateAggregateArgs} 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 EntityTemplate. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EntityTemplateGroupByArgs} 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 EntityTemplateGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: EntityTemplateGroupByArgs['orderBy'] } : { orderBy?: EntityTemplateGroupByArgs['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 ? GetEntityTemplateGroupByPayload : Prisma.PrismaPromise /** * Fields of the EntityTemplate model */ readonly fields: EntityTemplateFieldRefs; } /** * The delegate class that acts as a "Promise-like" for EntityTemplate. * 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__EntityTemplateClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" tenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> entity = {}>(args?: Prisma.Subset>): Prisma.Prisma__EntityClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @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 EntityTemplate model */ export interface EntityTemplateFieldRefs { readonly id: Prisma.FieldRef<"EntityTemplate", 'String'> readonly createdAt: Prisma.FieldRef<"EntityTemplate", 'DateTime'> readonly tenantId: Prisma.FieldRef<"EntityTemplate", 'String'> readonly entityId: Prisma.FieldRef<"EntityTemplate", 'String'> readonly title: Prisma.FieldRef<"EntityTemplate", 'String'> readonly config: Prisma.FieldRef<"EntityTemplate", 'String'> } // Custom InputTypes /** * EntityTemplate findUnique */ export type EntityTemplateFindUniqueArgs = { /** * 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 /** * Filter, which EntityTemplate to fetch. */ where: Prisma.EntityTemplateWhereUniqueInput } /** * EntityTemplate findUniqueOrThrow */ export type EntityTemplateFindUniqueOrThrowArgs = { /** * 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 /** * Filter, which EntityTemplate to fetch. */ where: Prisma.EntityTemplateWhereUniqueInput } /** * EntityTemplate findFirst */ export type EntityTemplateFindFirstArgs = { /** * 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 /** * Filter, which EntityTemplate to fetch. */ where?: Prisma.EntityTemplateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EntityTemplates to fetch. */ orderBy?: Prisma.EntityTemplateOrderByWithRelationInput | Prisma.EntityTemplateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EntityTemplates. */ cursor?: Prisma.EntityTemplateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EntityTemplates 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` EntityTemplates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EntityTemplates. */ distinct?: Prisma.EntityTemplateScalarFieldEnum | Prisma.EntityTemplateScalarFieldEnum[] } /** * EntityTemplate findFirstOrThrow */ export type EntityTemplateFindFirstOrThrowArgs = { /** * 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 /** * Filter, which EntityTemplate to fetch. */ where?: Prisma.EntityTemplateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EntityTemplates to fetch. */ orderBy?: Prisma.EntityTemplateOrderByWithRelationInput | Prisma.EntityTemplateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EntityTemplates. */ cursor?: Prisma.EntityTemplateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EntityTemplates 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` EntityTemplates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EntityTemplates. */ distinct?: Prisma.EntityTemplateScalarFieldEnum | Prisma.EntityTemplateScalarFieldEnum[] } /** * EntityTemplate findMany */ export type EntityTemplateFindManyArgs = { /** * 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 /** * Filter, which EntityTemplates to fetch. */ where?: Prisma.EntityTemplateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EntityTemplates to fetch. */ orderBy?: Prisma.EntityTemplateOrderByWithRelationInput | Prisma.EntityTemplateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing EntityTemplates. */ cursor?: Prisma.EntityTemplateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EntityTemplates 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` EntityTemplates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EntityTemplates. */ distinct?: Prisma.EntityTemplateScalarFieldEnum | Prisma.EntityTemplateScalarFieldEnum[] } /** * EntityTemplate create */ export type EntityTemplateCreateArgs = { /** * 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 /** * The data needed to create a EntityTemplate. */ data: Prisma.XOR } /** * EntityTemplate createMany */ export type EntityTemplateCreateManyArgs = { /** * The data used to create many EntityTemplates. */ data: Prisma.EntityTemplateCreateManyInput | Prisma.EntityTemplateCreateManyInput[] skipDuplicates?: boolean } /** * EntityTemplate createManyAndReturn */ export type EntityTemplateCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the EntityTemplate */ select?: Prisma.EntityTemplateSelectCreateManyAndReturn | null /** * Omit specific fields from the EntityTemplate */ omit?: Prisma.EntityTemplateOmit | null /** * The data used to create many EntityTemplates. */ data: Prisma.EntityTemplateCreateManyInput | Prisma.EntityTemplateCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityTemplateIncludeCreateManyAndReturn | null } /** * EntityTemplate update */ export type EntityTemplateUpdateArgs = { /** * 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 /** * The data needed to update a EntityTemplate. */ data: Prisma.XOR /** * Choose, which EntityTemplate to update. */ where: Prisma.EntityTemplateWhereUniqueInput } /** * EntityTemplate updateMany */ export type EntityTemplateUpdateManyArgs = { /** * The data used to update EntityTemplates. */ data: Prisma.XOR /** * Filter which EntityTemplates to update */ where?: Prisma.EntityTemplateWhereInput /** * Limit how many EntityTemplates to update. */ limit?: number } /** * EntityTemplate updateManyAndReturn */ export type EntityTemplateUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the EntityTemplate */ select?: Prisma.EntityTemplateSelectUpdateManyAndReturn | null /** * Omit specific fields from the EntityTemplate */ omit?: Prisma.EntityTemplateOmit | null /** * The data used to update EntityTemplates. */ data: Prisma.XOR /** * Filter which EntityTemplates to update */ where?: Prisma.EntityTemplateWhereInput /** * Limit how many EntityTemplates to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.EntityTemplateIncludeUpdateManyAndReturn | null } /** * EntityTemplate upsert */ export type EntityTemplateUpsertArgs = { /** * 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 /** * The filter to search for the EntityTemplate to update in case it exists. */ where: Prisma.EntityTemplateWhereUniqueInput /** * In case the EntityTemplate found by the `where` argument doesn't exist, create a new EntityTemplate with this data. */ create: Prisma.XOR /** * In case the EntityTemplate was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * EntityTemplate delete */ export type EntityTemplateDeleteArgs = { /** * 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 /** * Filter which EntityTemplate to delete. */ where: Prisma.EntityTemplateWhereUniqueInput } /** * EntityTemplate deleteMany */ export type EntityTemplateDeleteManyArgs = { /** * Filter which EntityTemplates to delete */ where?: Prisma.EntityTemplateWhereInput /** * Limit how many EntityTemplates to delete. */ limit?: number } /** * EntityTemplate.tenant */ export type EntityTemplate$tenantArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null where?: Prisma.TenantWhereInput } /** * EntityTemplate without action */ export type EntityTemplateDefaultArgs = { /** * 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 }