/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `TenantSettingsRow` 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 TenantSettingsRow * */ export type TenantSettingsRowModel = runtime.Types.Result.DefaultSelection export type AggregateTenantSettingsRow = { _count: TenantSettingsRowCountAggregateOutputType | null _min: TenantSettingsRowMinAggregateOutputType | null _max: TenantSettingsRowMaxAggregateOutputType | null } export type TenantSettingsRowMinAggregateOutputType = { tenantId: string | null rowId: string | null } export type TenantSettingsRowMaxAggregateOutputType = { tenantId: string | null rowId: string | null } export type TenantSettingsRowCountAggregateOutputType = { tenantId: number rowId: number _all: number } export type TenantSettingsRowMinAggregateInputType = { tenantId?: true rowId?: true } export type TenantSettingsRowMaxAggregateInputType = { tenantId?: true rowId?: true } export type TenantSettingsRowCountAggregateInputType = { tenantId?: true rowId?: true _all?: true } export type TenantSettingsRowAggregateArgs = { /** * Filter which TenantSettingsRow to aggregate. */ where?: Prisma.TenantSettingsRowWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TenantSettingsRows to fetch. */ orderBy?: Prisma.TenantSettingsRowOrderByWithRelationInput | Prisma.TenantSettingsRowOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.TenantSettingsRowWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TenantSettingsRows 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` TenantSettingsRows. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TenantSettingsRows **/ _count?: true | TenantSettingsRowCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TenantSettingsRowMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TenantSettingsRowMaxAggregateInputType } export type GetTenantSettingsRowAggregateType = { [P in keyof T & keyof AggregateTenantSettingsRow]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type TenantSettingsRowGroupByArgs = { where?: Prisma.TenantSettingsRowWhereInput orderBy?: Prisma.TenantSettingsRowOrderByWithAggregationInput | Prisma.TenantSettingsRowOrderByWithAggregationInput[] by: Prisma.TenantSettingsRowScalarFieldEnum[] | Prisma.TenantSettingsRowScalarFieldEnum having?: Prisma.TenantSettingsRowScalarWhereWithAggregatesInput take?: number skip?: number _count?: TenantSettingsRowCountAggregateInputType | true _min?: TenantSettingsRowMinAggregateInputType _max?: TenantSettingsRowMaxAggregateInputType } export type TenantSettingsRowGroupByOutputType = { tenantId: string rowId: string _count: TenantSettingsRowCountAggregateOutputType | null _min: TenantSettingsRowMinAggregateOutputType | null _max: TenantSettingsRowMaxAggregateOutputType | null } export type GetTenantSettingsRowGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof TenantSettingsRowGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type TenantSettingsRowWhereInput = { AND?: Prisma.TenantSettingsRowWhereInput | Prisma.TenantSettingsRowWhereInput[] OR?: Prisma.TenantSettingsRowWhereInput[] NOT?: Prisma.TenantSettingsRowWhereInput | Prisma.TenantSettingsRowWhereInput[] tenantId?: Prisma.StringFilter<"TenantSettingsRow"> | string rowId?: Prisma.StringFilter<"TenantSettingsRow"> | string tenant?: Prisma.XOR row?: Prisma.XOR } export type TenantSettingsRowOrderByWithRelationInput = { tenantId?: Prisma.SortOrder rowId?: Prisma.SortOrder tenant?: Prisma.TenantOrderByWithRelationInput row?: Prisma.RowOrderByWithRelationInput } export type TenantSettingsRowWhereUniqueInput = Prisma.AtLeast<{ tenantId?: string AND?: Prisma.TenantSettingsRowWhereInput | Prisma.TenantSettingsRowWhereInput[] OR?: Prisma.TenantSettingsRowWhereInput[] NOT?: Prisma.TenantSettingsRowWhereInput | Prisma.TenantSettingsRowWhereInput[] rowId?: Prisma.StringFilter<"TenantSettingsRow"> | string tenant?: Prisma.XOR row?: Prisma.XOR }, "tenantId" | "tenantId"> export type TenantSettingsRowOrderByWithAggregationInput = { tenantId?: Prisma.SortOrder rowId?: Prisma.SortOrder _count?: Prisma.TenantSettingsRowCountOrderByAggregateInput _max?: Prisma.TenantSettingsRowMaxOrderByAggregateInput _min?: Prisma.TenantSettingsRowMinOrderByAggregateInput } export type TenantSettingsRowScalarWhereWithAggregatesInput = { AND?: Prisma.TenantSettingsRowScalarWhereWithAggregatesInput | Prisma.TenantSettingsRowScalarWhereWithAggregatesInput[] OR?: Prisma.TenantSettingsRowScalarWhereWithAggregatesInput[] NOT?: Prisma.TenantSettingsRowScalarWhereWithAggregatesInput | Prisma.TenantSettingsRowScalarWhereWithAggregatesInput[] tenantId?: Prisma.StringWithAggregatesFilter<"TenantSettingsRow"> | string rowId?: Prisma.StringWithAggregatesFilter<"TenantSettingsRow"> | string } export type TenantSettingsRowCreateInput = { tenant: Prisma.TenantCreateNestedOneWithoutTenantSettingsRowInput row: Prisma.RowCreateNestedOneWithoutTenantSettingsRowInput } export type TenantSettingsRowUncheckedCreateInput = { tenantId: string rowId: string } export type TenantSettingsRowUpdateInput = { tenant?: Prisma.TenantUpdateOneRequiredWithoutTenantSettingsRowNestedInput row?: Prisma.RowUpdateOneRequiredWithoutTenantSettingsRowNestedInput } export type TenantSettingsRowUncheckedUpdateInput = { tenantId?: Prisma.StringFieldUpdateOperationsInput | string rowId?: Prisma.StringFieldUpdateOperationsInput | string } export type TenantSettingsRowCreateManyInput = { tenantId: string rowId: string } export type TenantSettingsRowUpdateManyMutationInput = { } export type TenantSettingsRowUncheckedUpdateManyInput = { tenantId?: Prisma.StringFieldUpdateOperationsInput | string rowId?: Prisma.StringFieldUpdateOperationsInput | string } export type TenantSettingsRowNullableScalarRelationFilter = { is?: Prisma.TenantSettingsRowWhereInput | null isNot?: Prisma.TenantSettingsRowWhereInput | null } export type TenantSettingsRowListRelationFilter = { every?: Prisma.TenantSettingsRowWhereInput some?: Prisma.TenantSettingsRowWhereInput none?: Prisma.TenantSettingsRowWhereInput } export type TenantSettingsRowOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type TenantSettingsRowCountOrderByAggregateInput = { tenantId?: Prisma.SortOrder rowId?: Prisma.SortOrder } export type TenantSettingsRowMaxOrderByAggregateInput = { tenantId?: Prisma.SortOrder rowId?: Prisma.SortOrder } export type TenantSettingsRowMinOrderByAggregateInput = { tenantId?: Prisma.SortOrder rowId?: Prisma.SortOrder } export type TenantSettingsRowCreateNestedOneWithoutTenantInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantSettingsRowCreateOrConnectWithoutTenantInput connect?: Prisma.TenantSettingsRowWhereUniqueInput } export type TenantSettingsRowUncheckedCreateNestedOneWithoutTenantInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantSettingsRowCreateOrConnectWithoutTenantInput connect?: Prisma.TenantSettingsRowWhereUniqueInput } export type TenantSettingsRowUpdateOneWithoutTenantNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantSettingsRowCreateOrConnectWithoutTenantInput upsert?: Prisma.TenantSettingsRowUpsertWithoutTenantInput disconnect?: Prisma.TenantSettingsRowWhereInput | boolean delete?: Prisma.TenantSettingsRowWhereInput | boolean connect?: Prisma.TenantSettingsRowWhereUniqueInput update?: Prisma.XOR, Prisma.TenantSettingsRowUncheckedUpdateWithoutTenantInput> } export type TenantSettingsRowUncheckedUpdateOneWithoutTenantNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.TenantSettingsRowCreateOrConnectWithoutTenantInput upsert?: Prisma.TenantSettingsRowUpsertWithoutTenantInput disconnect?: Prisma.TenantSettingsRowWhereInput | boolean delete?: Prisma.TenantSettingsRowWhereInput | boolean connect?: Prisma.TenantSettingsRowWhereUniqueInput update?: Prisma.XOR, Prisma.TenantSettingsRowUncheckedUpdateWithoutTenantInput> } export type TenantSettingsRowCreateNestedManyWithoutRowInput = { create?: Prisma.XOR | Prisma.TenantSettingsRowCreateWithoutRowInput[] | Prisma.TenantSettingsRowUncheckedCreateWithoutRowInput[] connectOrCreate?: Prisma.TenantSettingsRowCreateOrConnectWithoutRowInput | Prisma.TenantSettingsRowCreateOrConnectWithoutRowInput[] createMany?: Prisma.TenantSettingsRowCreateManyRowInputEnvelope connect?: Prisma.TenantSettingsRowWhereUniqueInput | Prisma.TenantSettingsRowWhereUniqueInput[] } export type TenantSettingsRowUncheckedCreateNestedManyWithoutRowInput = { create?: Prisma.XOR | Prisma.TenantSettingsRowCreateWithoutRowInput[] | Prisma.TenantSettingsRowUncheckedCreateWithoutRowInput[] connectOrCreate?: Prisma.TenantSettingsRowCreateOrConnectWithoutRowInput | Prisma.TenantSettingsRowCreateOrConnectWithoutRowInput[] createMany?: Prisma.TenantSettingsRowCreateManyRowInputEnvelope connect?: Prisma.TenantSettingsRowWhereUniqueInput | Prisma.TenantSettingsRowWhereUniqueInput[] } export type TenantSettingsRowUpdateManyWithoutRowNestedInput = { create?: Prisma.XOR | Prisma.TenantSettingsRowCreateWithoutRowInput[] | Prisma.TenantSettingsRowUncheckedCreateWithoutRowInput[] connectOrCreate?: Prisma.TenantSettingsRowCreateOrConnectWithoutRowInput | Prisma.TenantSettingsRowCreateOrConnectWithoutRowInput[] upsert?: Prisma.TenantSettingsRowUpsertWithWhereUniqueWithoutRowInput | Prisma.TenantSettingsRowUpsertWithWhereUniqueWithoutRowInput[] createMany?: Prisma.TenantSettingsRowCreateManyRowInputEnvelope set?: Prisma.TenantSettingsRowWhereUniqueInput | Prisma.TenantSettingsRowWhereUniqueInput[] disconnect?: Prisma.TenantSettingsRowWhereUniqueInput | Prisma.TenantSettingsRowWhereUniqueInput[] delete?: Prisma.TenantSettingsRowWhereUniqueInput | Prisma.TenantSettingsRowWhereUniqueInput[] connect?: Prisma.TenantSettingsRowWhereUniqueInput | Prisma.TenantSettingsRowWhereUniqueInput[] update?: Prisma.TenantSettingsRowUpdateWithWhereUniqueWithoutRowInput | Prisma.TenantSettingsRowUpdateWithWhereUniqueWithoutRowInput[] updateMany?: Prisma.TenantSettingsRowUpdateManyWithWhereWithoutRowInput | Prisma.TenantSettingsRowUpdateManyWithWhereWithoutRowInput[] deleteMany?: Prisma.TenantSettingsRowScalarWhereInput | Prisma.TenantSettingsRowScalarWhereInput[] } export type TenantSettingsRowUncheckedUpdateManyWithoutRowNestedInput = { create?: Prisma.XOR | Prisma.TenantSettingsRowCreateWithoutRowInput[] | Prisma.TenantSettingsRowUncheckedCreateWithoutRowInput[] connectOrCreate?: Prisma.TenantSettingsRowCreateOrConnectWithoutRowInput | Prisma.TenantSettingsRowCreateOrConnectWithoutRowInput[] upsert?: Prisma.TenantSettingsRowUpsertWithWhereUniqueWithoutRowInput | Prisma.TenantSettingsRowUpsertWithWhereUniqueWithoutRowInput[] createMany?: Prisma.TenantSettingsRowCreateManyRowInputEnvelope set?: Prisma.TenantSettingsRowWhereUniqueInput | Prisma.TenantSettingsRowWhereUniqueInput[] disconnect?: Prisma.TenantSettingsRowWhereUniqueInput | Prisma.TenantSettingsRowWhereUniqueInput[] delete?: Prisma.TenantSettingsRowWhereUniqueInput | Prisma.TenantSettingsRowWhereUniqueInput[] connect?: Prisma.TenantSettingsRowWhereUniqueInput | Prisma.TenantSettingsRowWhereUniqueInput[] update?: Prisma.TenantSettingsRowUpdateWithWhereUniqueWithoutRowInput | Prisma.TenantSettingsRowUpdateWithWhereUniqueWithoutRowInput[] updateMany?: Prisma.TenantSettingsRowUpdateManyWithWhereWithoutRowInput | Prisma.TenantSettingsRowUpdateManyWithWhereWithoutRowInput[] deleteMany?: Prisma.TenantSettingsRowScalarWhereInput | Prisma.TenantSettingsRowScalarWhereInput[] } export type TenantSettingsRowCreateWithoutTenantInput = { row: Prisma.RowCreateNestedOneWithoutTenantSettingsRowInput } export type TenantSettingsRowUncheckedCreateWithoutTenantInput = { rowId: string } export type TenantSettingsRowCreateOrConnectWithoutTenantInput = { where: Prisma.TenantSettingsRowWhereUniqueInput create: Prisma.XOR } export type TenantSettingsRowUpsertWithoutTenantInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.TenantSettingsRowWhereInput } export type TenantSettingsRowUpdateToOneWithWhereWithoutTenantInput = { where?: Prisma.TenantSettingsRowWhereInput data: Prisma.XOR } export type TenantSettingsRowUpdateWithoutTenantInput = { row?: Prisma.RowUpdateOneRequiredWithoutTenantSettingsRowNestedInput } export type TenantSettingsRowUncheckedUpdateWithoutTenantInput = { rowId?: Prisma.StringFieldUpdateOperationsInput | string } export type TenantSettingsRowCreateWithoutRowInput = { tenant: Prisma.TenantCreateNestedOneWithoutTenantSettingsRowInput } export type TenantSettingsRowUncheckedCreateWithoutRowInput = { tenantId: string } export type TenantSettingsRowCreateOrConnectWithoutRowInput = { where: Prisma.TenantSettingsRowWhereUniqueInput create: Prisma.XOR } export type TenantSettingsRowCreateManyRowInputEnvelope = { data: Prisma.TenantSettingsRowCreateManyRowInput | Prisma.TenantSettingsRowCreateManyRowInput[] skipDuplicates?: boolean } export type TenantSettingsRowUpsertWithWhereUniqueWithoutRowInput = { where: Prisma.TenantSettingsRowWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TenantSettingsRowUpdateWithWhereUniqueWithoutRowInput = { where: Prisma.TenantSettingsRowWhereUniqueInput data: Prisma.XOR } export type TenantSettingsRowUpdateManyWithWhereWithoutRowInput = { where: Prisma.TenantSettingsRowScalarWhereInput data: Prisma.XOR } export type TenantSettingsRowScalarWhereInput = { AND?: Prisma.TenantSettingsRowScalarWhereInput | Prisma.TenantSettingsRowScalarWhereInput[] OR?: Prisma.TenantSettingsRowScalarWhereInput[] NOT?: Prisma.TenantSettingsRowScalarWhereInput | Prisma.TenantSettingsRowScalarWhereInput[] tenantId?: Prisma.StringFilter<"TenantSettingsRow"> | string rowId?: Prisma.StringFilter<"TenantSettingsRow"> | string } export type TenantSettingsRowCreateManyRowInput = { tenantId: string } export type TenantSettingsRowUpdateWithoutRowInput = { tenant?: Prisma.TenantUpdateOneRequiredWithoutTenantSettingsRowNestedInput } export type TenantSettingsRowUncheckedUpdateWithoutRowInput = { tenantId?: Prisma.StringFieldUpdateOperationsInput | string } export type TenantSettingsRowUncheckedUpdateManyWithoutRowInput = { tenantId?: Prisma.StringFieldUpdateOperationsInput | string } export type TenantSettingsRowSelect = runtime.Types.Extensions.GetSelect<{ tenantId?: boolean rowId?: boolean tenant?: boolean | Prisma.TenantDefaultArgs row?: boolean | Prisma.RowDefaultArgs }, ExtArgs["result"]["tenantSettingsRow"]> export type TenantSettingsRowSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ tenantId?: boolean rowId?: boolean tenant?: boolean | Prisma.TenantDefaultArgs row?: boolean | Prisma.RowDefaultArgs }, ExtArgs["result"]["tenantSettingsRow"]> export type TenantSettingsRowSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ tenantId?: boolean rowId?: boolean tenant?: boolean | Prisma.TenantDefaultArgs row?: boolean | Prisma.RowDefaultArgs }, ExtArgs["result"]["tenantSettingsRow"]> export type TenantSettingsRowSelectScalar = { tenantId?: boolean rowId?: boolean } export type TenantSettingsRowOmit = runtime.Types.Extensions.GetOmit<"tenantId" | "rowId", ExtArgs["result"]["tenantSettingsRow"]> export type TenantSettingsRowInclude = { tenant?: boolean | Prisma.TenantDefaultArgs row?: boolean | Prisma.RowDefaultArgs } export type TenantSettingsRowIncludeCreateManyAndReturn = { tenant?: boolean | Prisma.TenantDefaultArgs row?: boolean | Prisma.RowDefaultArgs } export type TenantSettingsRowIncludeUpdateManyAndReturn = { tenant?: boolean | Prisma.TenantDefaultArgs row?: boolean | Prisma.RowDefaultArgs } export type $TenantSettingsRowPayload = { name: "TenantSettingsRow" objects: { tenant: Prisma.$TenantPayload row: Prisma.$RowPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ tenantId: string rowId: string }, ExtArgs["result"]["tenantSettingsRow"]> composites: {} } export type TenantSettingsRowGetPayload = runtime.Types.Result.GetResult export type TenantSettingsRowCountArgs = Omit & { select?: TenantSettingsRowCountAggregateInputType | true } export interface TenantSettingsRowDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TenantSettingsRow'], meta: { name: 'TenantSettingsRow' } } /** * Find zero or one TenantSettingsRow that matches the filter. * @param {TenantSettingsRowFindUniqueArgs} args - Arguments to find a TenantSettingsRow * @example * // Get one TenantSettingsRow * const tenantSettingsRow = await prisma.tenantSettingsRow.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TenantSettingsRowClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TenantSettingsRow that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TenantSettingsRowFindUniqueOrThrowArgs} args - Arguments to find a TenantSettingsRow * @example * // Get one TenantSettingsRow * const tenantSettingsRow = await prisma.tenantSettingsRow.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TenantSettingsRowClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TenantSettingsRow 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 {TenantSettingsRowFindFirstArgs} args - Arguments to find a TenantSettingsRow * @example * // Get one TenantSettingsRow * const tenantSettingsRow = await prisma.tenantSettingsRow.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TenantSettingsRowClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TenantSettingsRow 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 {TenantSettingsRowFindFirstOrThrowArgs} args - Arguments to find a TenantSettingsRow * @example * // Get one TenantSettingsRow * const tenantSettingsRow = await prisma.tenantSettingsRow.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TenantSettingsRowClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TenantSettingsRows 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 {TenantSettingsRowFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TenantSettingsRows * const tenantSettingsRows = await prisma.tenantSettingsRow.findMany() * * // Get first 10 TenantSettingsRows * const tenantSettingsRows = await prisma.tenantSettingsRow.findMany({ take: 10 }) * * // Only select the `tenantId` * const tenantSettingsRowWithTenantIdOnly = await prisma.tenantSettingsRow.findMany({ select: { tenantId: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a TenantSettingsRow. * @param {TenantSettingsRowCreateArgs} args - Arguments to create a TenantSettingsRow. * @example * // Create one TenantSettingsRow * const TenantSettingsRow = await prisma.tenantSettingsRow.create({ * data: { * // ... data to create a TenantSettingsRow * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__TenantSettingsRowClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TenantSettingsRows. * @param {TenantSettingsRowCreateManyArgs} args - Arguments to create many TenantSettingsRows. * @example * // Create many TenantSettingsRows * const tenantSettingsRow = await prisma.tenantSettingsRow.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many TenantSettingsRows and returns the data saved in the database. * @param {TenantSettingsRowCreateManyAndReturnArgs} args - Arguments to create many TenantSettingsRows. * @example * // Create many TenantSettingsRows * const tenantSettingsRow = await prisma.tenantSettingsRow.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TenantSettingsRows and only return the `tenantId` * const tenantSettingsRowWithTenantIdOnly = await prisma.tenantSettingsRow.createManyAndReturn({ * select: { tenantId: 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 TenantSettingsRow. * @param {TenantSettingsRowDeleteArgs} args - Arguments to delete one TenantSettingsRow. * @example * // Delete one TenantSettingsRow * const TenantSettingsRow = await prisma.tenantSettingsRow.delete({ * where: { * // ... filter to delete one TenantSettingsRow * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__TenantSettingsRowClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TenantSettingsRow. * @param {TenantSettingsRowUpdateArgs} args - Arguments to update one TenantSettingsRow. * @example * // Update one TenantSettingsRow * const tenantSettingsRow = await prisma.tenantSettingsRow.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__TenantSettingsRowClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TenantSettingsRows. * @param {TenantSettingsRowDeleteManyArgs} args - Arguments to filter TenantSettingsRows to delete. * @example * // Delete a few TenantSettingsRows * const { count } = await prisma.tenantSettingsRow.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TenantSettingsRows. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantSettingsRowUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TenantSettingsRows * const tenantSettingsRow = await prisma.tenantSettingsRow.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TenantSettingsRows and returns the data updated in the database. * @param {TenantSettingsRowUpdateManyAndReturnArgs} args - Arguments to update many TenantSettingsRows. * @example * // Update many TenantSettingsRows * const tenantSettingsRow = await prisma.tenantSettingsRow.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TenantSettingsRows and only return the `tenantId` * const tenantSettingsRowWithTenantIdOnly = await prisma.tenantSettingsRow.updateManyAndReturn({ * select: { tenantId: 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 TenantSettingsRow. * @param {TenantSettingsRowUpsertArgs} args - Arguments to update or create a TenantSettingsRow. * @example * // Update or create a TenantSettingsRow * const tenantSettingsRow = await prisma.tenantSettingsRow.upsert({ * create: { * // ... data to create a TenantSettingsRow * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TenantSettingsRow we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TenantSettingsRowClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TenantSettingsRows. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantSettingsRowCountArgs} args - Arguments to filter TenantSettingsRows to count. * @example * // Count the number of TenantSettingsRows * const count = await prisma.tenantSettingsRow.count({ * where: { * // ... the filter for the TenantSettingsRows 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 TenantSettingsRow. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantSettingsRowAggregateArgs} 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 TenantSettingsRow. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TenantSettingsRowGroupByArgs} 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 TenantSettingsRowGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: TenantSettingsRowGroupByArgs['orderBy'] } : { orderBy?: TenantSettingsRowGroupByArgs['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 ? GetTenantSettingsRowGroupByPayload : Prisma.PrismaPromise /** * Fields of the TenantSettingsRow model */ readonly fields: TenantSettingsRowFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TenantSettingsRow. * 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__TenantSettingsRowClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" tenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> row = {}>(args?: Prisma.Subset>): Prisma.Prisma__RowClient, 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 TenantSettingsRow model */ export interface TenantSettingsRowFieldRefs { readonly tenantId: Prisma.FieldRef<"TenantSettingsRow", 'String'> readonly rowId: Prisma.FieldRef<"TenantSettingsRow", 'String'> } // Custom InputTypes /** * TenantSettingsRow findUnique */ export type TenantSettingsRowFindUniqueArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelect | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowInclude | null /** * Filter, which TenantSettingsRow to fetch. */ where: Prisma.TenantSettingsRowWhereUniqueInput } /** * TenantSettingsRow findUniqueOrThrow */ export type TenantSettingsRowFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelect | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowInclude | null /** * Filter, which TenantSettingsRow to fetch. */ where: Prisma.TenantSettingsRowWhereUniqueInput } /** * TenantSettingsRow findFirst */ export type TenantSettingsRowFindFirstArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelect | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowInclude | null /** * Filter, which TenantSettingsRow to fetch. */ where?: Prisma.TenantSettingsRowWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TenantSettingsRows to fetch. */ orderBy?: Prisma.TenantSettingsRowOrderByWithRelationInput | Prisma.TenantSettingsRowOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TenantSettingsRows. */ cursor?: Prisma.TenantSettingsRowWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TenantSettingsRows 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` TenantSettingsRows. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TenantSettingsRows. */ distinct?: Prisma.TenantSettingsRowScalarFieldEnum | Prisma.TenantSettingsRowScalarFieldEnum[] } /** * TenantSettingsRow findFirstOrThrow */ export type TenantSettingsRowFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelect | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowInclude | null /** * Filter, which TenantSettingsRow to fetch. */ where?: Prisma.TenantSettingsRowWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TenantSettingsRows to fetch. */ orderBy?: Prisma.TenantSettingsRowOrderByWithRelationInput | Prisma.TenantSettingsRowOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TenantSettingsRows. */ cursor?: Prisma.TenantSettingsRowWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TenantSettingsRows 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` TenantSettingsRows. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TenantSettingsRows. */ distinct?: Prisma.TenantSettingsRowScalarFieldEnum | Prisma.TenantSettingsRowScalarFieldEnum[] } /** * TenantSettingsRow findMany */ export type TenantSettingsRowFindManyArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelect | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowInclude | null /** * Filter, which TenantSettingsRows to fetch. */ where?: Prisma.TenantSettingsRowWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TenantSettingsRows to fetch. */ orderBy?: Prisma.TenantSettingsRowOrderByWithRelationInput | Prisma.TenantSettingsRowOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TenantSettingsRows. */ cursor?: Prisma.TenantSettingsRowWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TenantSettingsRows 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` TenantSettingsRows. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TenantSettingsRows. */ distinct?: Prisma.TenantSettingsRowScalarFieldEnum | Prisma.TenantSettingsRowScalarFieldEnum[] } /** * TenantSettingsRow create */ export type TenantSettingsRowCreateArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelect | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowInclude | null /** * The data needed to create a TenantSettingsRow. */ data: Prisma.XOR } /** * TenantSettingsRow createMany */ export type TenantSettingsRowCreateManyArgs = { /** * The data used to create many TenantSettingsRows. */ data: Prisma.TenantSettingsRowCreateManyInput | Prisma.TenantSettingsRowCreateManyInput[] skipDuplicates?: boolean } /** * TenantSettingsRow createManyAndReturn */ export type TenantSettingsRowCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelectCreateManyAndReturn | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * The data used to create many TenantSettingsRows. */ data: Prisma.TenantSettingsRowCreateManyInput | Prisma.TenantSettingsRowCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowIncludeCreateManyAndReturn | null } /** * TenantSettingsRow update */ export type TenantSettingsRowUpdateArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelect | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowInclude | null /** * The data needed to update a TenantSettingsRow. */ data: Prisma.XOR /** * Choose, which TenantSettingsRow to update. */ where: Prisma.TenantSettingsRowWhereUniqueInput } /** * TenantSettingsRow updateMany */ export type TenantSettingsRowUpdateManyArgs = { /** * The data used to update TenantSettingsRows. */ data: Prisma.XOR /** * Filter which TenantSettingsRows to update */ where?: Prisma.TenantSettingsRowWhereInput /** * Limit how many TenantSettingsRows to update. */ limit?: number } /** * TenantSettingsRow updateManyAndReturn */ export type TenantSettingsRowUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelectUpdateManyAndReturn | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * The data used to update TenantSettingsRows. */ data: Prisma.XOR /** * Filter which TenantSettingsRows to update */ where?: Prisma.TenantSettingsRowWhereInput /** * Limit how many TenantSettingsRows to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowIncludeUpdateManyAndReturn | null } /** * TenantSettingsRow upsert */ export type TenantSettingsRowUpsertArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelect | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowInclude | null /** * The filter to search for the TenantSettingsRow to update in case it exists. */ where: Prisma.TenantSettingsRowWhereUniqueInput /** * In case the TenantSettingsRow found by the `where` argument doesn't exist, create a new TenantSettingsRow with this data. */ create: Prisma.XOR /** * In case the TenantSettingsRow was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * TenantSettingsRow delete */ export type TenantSettingsRowDeleteArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelect | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowInclude | null /** * Filter which TenantSettingsRow to delete. */ where: Prisma.TenantSettingsRowWhereUniqueInput } /** * TenantSettingsRow deleteMany */ export type TenantSettingsRowDeleteManyArgs = { /** * Filter which TenantSettingsRows to delete */ where?: Prisma.TenantSettingsRowWhereInput /** * Limit how many TenantSettingsRows to delete. */ limit?: number } /** * TenantSettingsRow without action */ export type TenantSettingsRowDefaultArgs = { /** * Select specific fields to fetch from the TenantSettingsRow */ select?: Prisma.TenantSettingsRowSelect | null /** * Omit specific fields from the TenantSettingsRow */ omit?: Prisma.TenantSettingsRowOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantSettingsRowInclude | null }