/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `account_memo` 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" import type * as Prisma from "../internal/prismaNamespace" /** * Model account_memo * */ export type account_memoModel = runtime.Types.Result.DefaultSelection export type AggregateAccount_memo = { _count: Account_memoCountAggregateOutputType | null _avg: Account_memoAvgAggregateOutputType | null _sum: Account_memoSumAggregateOutputType | null _min: Account_memoMinAggregateOutputType | null _max: Account_memoMaxAggregateOutputType | null } export type Account_memoAvgAggregateOutputType = { id: number | null date_orig: number | null last_updated: number | null staff_id: number | null account_id: number | null } export type Account_memoSumAggregateOutputType = { id: bigint | null date_orig: bigint | null last_updated: bigint | null staff_id: bigint | null account_id: bigint | null } export type Account_memoMinAggregateOutputType = { id: bigint | null date_orig: bigint | null last_updated: bigint | null staff_id: bigint | null account_id: bigint | null memo: string | null color: string | null bcolor: string | null border: string | null } export type Account_memoMaxAggregateOutputType = { id: bigint | null date_orig: bigint | null last_updated: bigint | null staff_id: bigint | null account_id: bigint | null memo: string | null color: string | null bcolor: string | null border: string | null } export type Account_memoCountAggregateOutputType = { id: number date_orig: number last_updated: number staff_id: number account_id: number memo: number color: number bcolor: number border: number _all: number } export type Account_memoAvgAggregateInputType = { id?: true date_orig?: true last_updated?: true staff_id?: true account_id?: true } export type Account_memoSumAggregateInputType = { id?: true date_orig?: true last_updated?: true staff_id?: true account_id?: true } export type Account_memoMinAggregateInputType = { id?: true date_orig?: true last_updated?: true staff_id?: true account_id?: true memo?: true color?: true bcolor?: true border?: true } export type Account_memoMaxAggregateInputType = { id?: true date_orig?: true last_updated?: true staff_id?: true account_id?: true memo?: true color?: true bcolor?: true border?: true } export type Account_memoCountAggregateInputType = { id?: true date_orig?: true last_updated?: true staff_id?: true account_id?: true memo?: true color?: true bcolor?: true border?: true _all?: true } export type Account_memoAggregateArgs = { /** * Filter which account_memo to aggregate. */ where?: Prisma.account_memoWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of account_memos to fetch. */ orderBy?: Prisma.account_memoOrderByWithRelationInput | Prisma.account_memoOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.account_memoWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` account_memos 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` account_memos. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned account_memos **/ _count?: true | Account_memoCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Account_memoAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Account_memoSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Account_memoMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Account_memoMaxAggregateInputType } export type GetAccount_memoAggregateType = { [P in keyof T & keyof AggregateAccount_memo]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type account_memoGroupByArgs = { where?: Prisma.account_memoWhereInput orderBy?: Prisma.account_memoOrderByWithAggregationInput | Prisma.account_memoOrderByWithAggregationInput[] by: Prisma.Account_memoScalarFieldEnum[] | Prisma.Account_memoScalarFieldEnum having?: Prisma.account_memoScalarWhereWithAggregatesInput take?: number skip?: number _count?: Account_memoCountAggregateInputType | true _avg?: Account_memoAvgAggregateInputType _sum?: Account_memoSumAggregateInputType _min?: Account_memoMinAggregateInputType _max?: Account_memoMaxAggregateInputType } export type Account_memoGroupByOutputType = { id: bigint date_orig: bigint | null last_updated: bigint staff_id: bigint | null account_id: bigint | null memo: string | null color: string bcolor: string border: string _count: Account_memoCountAggregateOutputType | null _avg: Account_memoAvgAggregateOutputType | null _sum: Account_memoSumAggregateOutputType | null _min: Account_memoMinAggregateOutputType | null _max: Account_memoMaxAggregateOutputType | null } type GetAccount_memoGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Account_memoGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type account_memoWhereInput = { AND?: Prisma.account_memoWhereInput | Prisma.account_memoWhereInput[] OR?: Prisma.account_memoWhereInput[] NOT?: Prisma.account_memoWhereInput | Prisma.account_memoWhereInput[] id?: Prisma.BigIntFilter<"account_memo"> | bigint | number date_orig?: Prisma.BigIntNullableFilter<"account_memo"> | bigint | number | null last_updated?: Prisma.BigIntFilter<"account_memo"> | bigint | number staff_id?: Prisma.BigIntNullableFilter<"account_memo"> | bigint | number | null account_id?: Prisma.BigIntNullableFilter<"account_memo"> | bigint | number | null memo?: Prisma.StringNullableFilter<"account_memo"> | string | null color?: Prisma.StringFilter<"account_memo"> | string bcolor?: Prisma.StringFilter<"account_memo"> | string border?: Prisma.StringFilter<"account_memo"> | string } export type account_memoOrderByWithRelationInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrderInput | Prisma.SortOrder last_updated?: Prisma.SortOrder staff_id?: Prisma.SortOrderInput | Prisma.SortOrder account_id?: Prisma.SortOrderInput | Prisma.SortOrder memo?: Prisma.SortOrderInput | Prisma.SortOrder color?: Prisma.SortOrder bcolor?: Prisma.SortOrder border?: Prisma.SortOrder _relevance?: Prisma.account_memoOrderByRelevanceInput } export type account_memoWhereUniqueInput = Prisma.AtLeast<{ id?: bigint | number AND?: Prisma.account_memoWhereInput | Prisma.account_memoWhereInput[] OR?: Prisma.account_memoWhereInput[] NOT?: Prisma.account_memoWhereInput | Prisma.account_memoWhereInput[] date_orig?: Prisma.BigIntNullableFilter<"account_memo"> | bigint | number | null last_updated?: Prisma.BigIntFilter<"account_memo"> | bigint | number staff_id?: Prisma.BigIntNullableFilter<"account_memo"> | bigint | number | null account_id?: Prisma.BigIntNullableFilter<"account_memo"> | bigint | number | null memo?: Prisma.StringNullableFilter<"account_memo"> | string | null color?: Prisma.StringFilter<"account_memo"> | string bcolor?: Prisma.StringFilter<"account_memo"> | string border?: Prisma.StringFilter<"account_memo"> | string }, "id"> export type account_memoOrderByWithAggregationInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrderInput | Prisma.SortOrder last_updated?: Prisma.SortOrder staff_id?: Prisma.SortOrderInput | Prisma.SortOrder account_id?: Prisma.SortOrderInput | Prisma.SortOrder memo?: Prisma.SortOrderInput | Prisma.SortOrder color?: Prisma.SortOrder bcolor?: Prisma.SortOrder border?: Prisma.SortOrder _count?: Prisma.account_memoCountOrderByAggregateInput _avg?: Prisma.account_memoAvgOrderByAggregateInput _max?: Prisma.account_memoMaxOrderByAggregateInput _min?: Prisma.account_memoMinOrderByAggregateInput _sum?: Prisma.account_memoSumOrderByAggregateInput } export type account_memoScalarWhereWithAggregatesInput = { AND?: Prisma.account_memoScalarWhereWithAggregatesInput | Prisma.account_memoScalarWhereWithAggregatesInput[] OR?: Prisma.account_memoScalarWhereWithAggregatesInput[] NOT?: Prisma.account_memoScalarWhereWithAggregatesInput | Prisma.account_memoScalarWhereWithAggregatesInput[] id?: Prisma.BigIntWithAggregatesFilter<"account_memo"> | bigint | number date_orig?: Prisma.BigIntNullableWithAggregatesFilter<"account_memo"> | bigint | number | null last_updated?: Prisma.BigIntWithAggregatesFilter<"account_memo"> | bigint | number staff_id?: Prisma.BigIntNullableWithAggregatesFilter<"account_memo"> | bigint | number | null account_id?: Prisma.BigIntNullableWithAggregatesFilter<"account_memo"> | bigint | number | null memo?: Prisma.StringNullableWithAggregatesFilter<"account_memo"> | string | null color?: Prisma.StringWithAggregatesFilter<"account_memo"> | string bcolor?: Prisma.StringWithAggregatesFilter<"account_memo"> | string border?: Prisma.StringWithAggregatesFilter<"account_memo"> | string } export type account_memoCreateInput = { id?: bigint | number date_orig?: bigint | number | null last_updated?: bigint | number staff_id?: bigint | number | null account_id?: bigint | number | null memo?: string | null color?: string bcolor?: string border?: string } export type account_memoUncheckedCreateInput = { id?: bigint | number date_orig?: bigint | number | null last_updated?: bigint | number staff_id?: bigint | number | null account_id?: bigint | number | null memo?: string | null color?: string bcolor?: string border?: string } export type account_memoUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null last_updated?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number staff_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null memo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null color?: Prisma.StringFieldUpdateOperationsInput | string bcolor?: Prisma.StringFieldUpdateOperationsInput | string border?: Prisma.StringFieldUpdateOperationsInput | string } export type account_memoUncheckedUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null last_updated?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number staff_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null memo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null color?: Prisma.StringFieldUpdateOperationsInput | string bcolor?: Prisma.StringFieldUpdateOperationsInput | string border?: Prisma.StringFieldUpdateOperationsInput | string } export type account_memoCreateManyInput = { id?: bigint | number date_orig?: bigint | number | null last_updated?: bigint | number staff_id?: bigint | number | null account_id?: bigint | number | null memo?: string | null color?: string bcolor?: string border?: string } export type account_memoUpdateManyMutationInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null last_updated?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number staff_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null memo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null color?: Prisma.StringFieldUpdateOperationsInput | string bcolor?: Prisma.StringFieldUpdateOperationsInput | string border?: Prisma.StringFieldUpdateOperationsInput | string } export type account_memoUncheckedUpdateManyInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null last_updated?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number staff_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null memo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null color?: Prisma.StringFieldUpdateOperationsInput | string bcolor?: Prisma.StringFieldUpdateOperationsInput | string border?: Prisma.StringFieldUpdateOperationsInput | string } export type account_memoOrderByRelevanceInput = { fields: Prisma.account_memoOrderByRelevanceFieldEnum | Prisma.account_memoOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type account_memoCountOrderByAggregateInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrder last_updated?: Prisma.SortOrder staff_id?: Prisma.SortOrder account_id?: Prisma.SortOrder memo?: Prisma.SortOrder color?: Prisma.SortOrder bcolor?: Prisma.SortOrder border?: Prisma.SortOrder } export type account_memoAvgOrderByAggregateInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrder last_updated?: Prisma.SortOrder staff_id?: Prisma.SortOrder account_id?: Prisma.SortOrder } export type account_memoMaxOrderByAggregateInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrder last_updated?: Prisma.SortOrder staff_id?: Prisma.SortOrder account_id?: Prisma.SortOrder memo?: Prisma.SortOrder color?: Prisma.SortOrder bcolor?: Prisma.SortOrder border?: Prisma.SortOrder } export type account_memoMinOrderByAggregateInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrder last_updated?: Prisma.SortOrder staff_id?: Prisma.SortOrder account_id?: Prisma.SortOrder memo?: Prisma.SortOrder color?: Prisma.SortOrder bcolor?: Prisma.SortOrder border?: Prisma.SortOrder } export type account_memoSumOrderByAggregateInput = { id?: Prisma.SortOrder date_orig?: Prisma.SortOrder last_updated?: Prisma.SortOrder staff_id?: Prisma.SortOrder account_id?: Prisma.SortOrder } export type account_memoSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean date_orig?: boolean last_updated?: boolean staff_id?: boolean account_id?: boolean memo?: boolean color?: boolean bcolor?: boolean border?: boolean }, ExtArgs["result"]["account_memo"]> export type account_memoSelectScalar = { id?: boolean date_orig?: boolean last_updated?: boolean staff_id?: boolean account_id?: boolean memo?: boolean color?: boolean bcolor?: boolean border?: boolean } export type account_memoOmit = runtime.Types.Extensions.GetOmit<"id" | "date_orig" | "last_updated" | "staff_id" | "account_id" | "memo" | "color" | "bcolor" | "border", ExtArgs["result"]["account_memo"]> export type $account_memoPayload = { name: "account_memo" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: bigint date_orig: bigint | null last_updated: bigint staff_id: bigint | null account_id: bigint | null memo: string | null color: string bcolor: string border: string }, ExtArgs["result"]["account_memo"]> composites: {} } export type account_memoGetPayload = runtime.Types.Result.GetResult export type account_memoCountArgs = Omit & { select?: Account_memoCountAggregateInputType | true } export interface account_memoDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['account_memo'], meta: { name: 'account_memo' } } /** * Find zero or one Account_memo that matches the filter. * @param {account_memoFindUniqueArgs} args - Arguments to find a Account_memo * @example * // Get one Account_memo * const account_memo = await prisma.account_memo.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__account_memoClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Account_memo that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {account_memoFindUniqueOrThrowArgs} args - Arguments to find a Account_memo * @example * // Get one Account_memo * const account_memo = await prisma.account_memo.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__account_memoClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Account_memo 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 {account_memoFindFirstArgs} args - Arguments to find a Account_memo * @example * // Get one Account_memo * const account_memo = await prisma.account_memo.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__account_memoClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Account_memo 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 {account_memoFindFirstOrThrowArgs} args - Arguments to find a Account_memo * @example * // Get one Account_memo * const account_memo = await prisma.account_memo.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__account_memoClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Account_memos 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 {account_memoFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Account_memos * const account_memos = await prisma.account_memo.findMany() * * // Get first 10 Account_memos * const account_memos = await prisma.account_memo.findMany({ take: 10 }) * * // Only select the `id` * const account_memoWithIdOnly = await prisma.account_memo.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Account_memo. * @param {account_memoCreateArgs} args - Arguments to create a Account_memo. * @example * // Create one Account_memo * const Account_memo = await prisma.account_memo.create({ * data: { * // ... data to create a Account_memo * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__account_memoClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Account_memos. * @param {account_memoCreateManyArgs} args - Arguments to create many Account_memos. * @example * // Create many Account_memos * const account_memo = await prisma.account_memo.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Account_memo. * @param {account_memoDeleteArgs} args - Arguments to delete one Account_memo. * @example * // Delete one Account_memo * const Account_memo = await prisma.account_memo.delete({ * where: { * // ... filter to delete one Account_memo * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__account_memoClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Account_memo. * @param {account_memoUpdateArgs} args - Arguments to update one Account_memo. * @example * // Update one Account_memo * const account_memo = await prisma.account_memo.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__account_memoClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Account_memos. * @param {account_memoDeleteManyArgs} args - Arguments to filter Account_memos to delete. * @example * // Delete a few Account_memos * const { count } = await prisma.account_memo.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Account_memos. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {account_memoUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Account_memos * const account_memo = await prisma.account_memo.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Account_memo. * @param {account_memoUpsertArgs} args - Arguments to update or create a Account_memo. * @example * // Update or create a Account_memo * const account_memo = await prisma.account_memo.upsert({ * create: { * // ... data to create a Account_memo * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Account_memo we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__account_memoClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Account_memos. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {account_memoCountArgs} args - Arguments to filter Account_memos to count. * @example * // Count the number of Account_memos * const count = await prisma.account_memo.count({ * where: { * // ... the filter for the Account_memos 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 Account_memo. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Account_memoAggregateArgs} 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 Account_memo. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {account_memoGroupByArgs} 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 account_memoGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: account_memoGroupByArgs['orderBy'] } : { orderBy?: account_memoGroupByArgs['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 ? GetAccount_memoGroupByPayload : Prisma.PrismaPromise /** * Fields of the account_memo model */ readonly fields: account_memoFieldRefs; } /** * The delegate class that acts as a "Promise-like" for account_memo. * 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__account_memoClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * 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 account_memo model */ export interface account_memoFieldRefs { readonly id: Prisma.FieldRef<"account_memo", 'BigInt'> readonly date_orig: Prisma.FieldRef<"account_memo", 'BigInt'> readonly last_updated: Prisma.FieldRef<"account_memo", 'BigInt'> readonly staff_id: Prisma.FieldRef<"account_memo", 'BigInt'> readonly account_id: Prisma.FieldRef<"account_memo", 'BigInt'> readonly memo: Prisma.FieldRef<"account_memo", 'String'> readonly color: Prisma.FieldRef<"account_memo", 'String'> readonly bcolor: Prisma.FieldRef<"account_memo", 'String'> readonly border: Prisma.FieldRef<"account_memo", 'String'> } // Custom InputTypes /** * account_memo findUnique */ export type account_memoFindUniqueArgs = { /** * Select specific fields to fetch from the account_memo */ select?: Prisma.account_memoSelect | null /** * Omit specific fields from the account_memo */ omit?: Prisma.account_memoOmit | null /** * Filter, which account_memo to fetch. */ where: Prisma.account_memoWhereUniqueInput } /** * account_memo findUniqueOrThrow */ export type account_memoFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the account_memo */ select?: Prisma.account_memoSelect | null /** * Omit specific fields from the account_memo */ omit?: Prisma.account_memoOmit | null /** * Filter, which account_memo to fetch. */ where: Prisma.account_memoWhereUniqueInput } /** * account_memo findFirst */ export type account_memoFindFirstArgs = { /** * Select specific fields to fetch from the account_memo */ select?: Prisma.account_memoSelect | null /** * Omit specific fields from the account_memo */ omit?: Prisma.account_memoOmit | null /** * Filter, which account_memo to fetch. */ where?: Prisma.account_memoWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of account_memos to fetch. */ orderBy?: Prisma.account_memoOrderByWithRelationInput | Prisma.account_memoOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for account_memos. */ cursor?: Prisma.account_memoWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` account_memos 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` account_memos. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of account_memos. */ distinct?: Prisma.Account_memoScalarFieldEnum | Prisma.Account_memoScalarFieldEnum[] } /** * account_memo findFirstOrThrow */ export type account_memoFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the account_memo */ select?: Prisma.account_memoSelect | null /** * Omit specific fields from the account_memo */ omit?: Prisma.account_memoOmit | null /** * Filter, which account_memo to fetch. */ where?: Prisma.account_memoWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of account_memos to fetch. */ orderBy?: Prisma.account_memoOrderByWithRelationInput | Prisma.account_memoOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for account_memos. */ cursor?: Prisma.account_memoWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` account_memos 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` account_memos. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of account_memos. */ distinct?: Prisma.Account_memoScalarFieldEnum | Prisma.Account_memoScalarFieldEnum[] } /** * account_memo findMany */ export type account_memoFindManyArgs = { /** * Select specific fields to fetch from the account_memo */ select?: Prisma.account_memoSelect | null /** * Omit specific fields from the account_memo */ omit?: Prisma.account_memoOmit | null /** * Filter, which account_memos to fetch. */ where?: Prisma.account_memoWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of account_memos to fetch. */ orderBy?: Prisma.account_memoOrderByWithRelationInput | Prisma.account_memoOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing account_memos. */ cursor?: Prisma.account_memoWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` account_memos 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` account_memos. */ skip?: number distinct?: Prisma.Account_memoScalarFieldEnum | Prisma.Account_memoScalarFieldEnum[] } /** * account_memo create */ export type account_memoCreateArgs = { /** * Select specific fields to fetch from the account_memo */ select?: Prisma.account_memoSelect | null /** * Omit specific fields from the account_memo */ omit?: Prisma.account_memoOmit | null /** * The data needed to create a account_memo. */ data?: Prisma.XOR } /** * account_memo createMany */ export type account_memoCreateManyArgs = { /** * The data used to create many account_memos. */ data: Prisma.account_memoCreateManyInput | Prisma.account_memoCreateManyInput[] skipDuplicates?: boolean } /** * account_memo update */ export type account_memoUpdateArgs = { /** * Select specific fields to fetch from the account_memo */ select?: Prisma.account_memoSelect | null /** * Omit specific fields from the account_memo */ omit?: Prisma.account_memoOmit | null /** * The data needed to update a account_memo. */ data: Prisma.XOR /** * Choose, which account_memo to update. */ where: Prisma.account_memoWhereUniqueInput } /** * account_memo updateMany */ export type account_memoUpdateManyArgs = { /** * The data used to update account_memos. */ data: Prisma.XOR /** * Filter which account_memos to update */ where?: Prisma.account_memoWhereInput /** * Limit how many account_memos to update. */ limit?: number } /** * account_memo upsert */ export type account_memoUpsertArgs = { /** * Select specific fields to fetch from the account_memo */ select?: Prisma.account_memoSelect | null /** * Omit specific fields from the account_memo */ omit?: Prisma.account_memoOmit | null /** * The filter to search for the account_memo to update in case it exists. */ where: Prisma.account_memoWhereUniqueInput /** * In case the account_memo found by the `where` argument doesn't exist, create a new account_memo with this data. */ create: Prisma.XOR /** * In case the account_memo was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * account_memo delete */ export type account_memoDeleteArgs = { /** * Select specific fields to fetch from the account_memo */ select?: Prisma.account_memoSelect | null /** * Omit specific fields from the account_memo */ omit?: Prisma.account_memoOmit | null /** * Filter which account_memo to delete. */ where: Prisma.account_memoWhereUniqueInput } /** * account_memo deleteMany */ export type account_memoDeleteManyArgs = { /** * Filter which account_memos to delete */ where?: Prisma.account_memoWhereInput /** * Limit how many account_memos to delete. */ limit?: number } /** * account_memo without action */ export type account_memoDefaultArgs = { /** * Select specific fields to fetch from the account_memo */ select?: Prisma.account_memoSelect | null /** * Omit specific fields from the account_memo */ omit?: Prisma.account_memoOmit | null }