/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `invoice_msg_template` 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 invoice_msg_template * */ export type invoice_msg_templateModel = runtime.Types.Result.DefaultSelection export type AggregateInvoice_msg_template = { _count: Invoice_msg_templateCountAggregateOutputType | null _avg: Invoice_msg_templateAvgAggregateOutputType | null _sum: Invoice_msg_templateSumAggregateOutputType | null _min: Invoice_msg_templateMinAggregateOutputType | null _max: Invoice_msg_templateMaxAggregateOutputType | null } export type Invoice_msg_templateAvgAggregateOutputType = { id: number | null } export type Invoice_msg_templateSumAggregateOutputType = { id: bigint | null } export type Invoice_msg_templateMinAggregateOutputType = { id: bigint | null name: string | null message: string | null } export type Invoice_msg_templateMaxAggregateOutputType = { id: bigint | null name: string | null message: string | null } export type Invoice_msg_templateCountAggregateOutputType = { id: number name: number message: number _all: number } export type Invoice_msg_templateAvgAggregateInputType = { id?: true } export type Invoice_msg_templateSumAggregateInputType = { id?: true } export type Invoice_msg_templateMinAggregateInputType = { id?: true name?: true message?: true } export type Invoice_msg_templateMaxAggregateInputType = { id?: true name?: true message?: true } export type Invoice_msg_templateCountAggregateInputType = { id?: true name?: true message?: true _all?: true } export type Invoice_msg_templateAggregateArgs = { /** * Filter which invoice_msg_template to aggregate. */ where?: Prisma.invoice_msg_templateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of invoice_msg_templates to fetch. */ orderBy?: Prisma.invoice_msg_templateOrderByWithRelationInput | Prisma.invoice_msg_templateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.invoice_msg_templateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` invoice_msg_templates 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` invoice_msg_templates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned invoice_msg_templates **/ _count?: true | Invoice_msg_templateCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Invoice_msg_templateAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Invoice_msg_templateSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Invoice_msg_templateMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Invoice_msg_templateMaxAggregateInputType } export type GetInvoice_msg_templateAggregateType = { [P in keyof T & keyof AggregateInvoice_msg_template]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type invoice_msg_templateGroupByArgs = { where?: Prisma.invoice_msg_templateWhereInput orderBy?: Prisma.invoice_msg_templateOrderByWithAggregationInput | Prisma.invoice_msg_templateOrderByWithAggregationInput[] by: Prisma.Invoice_msg_templateScalarFieldEnum[] | Prisma.Invoice_msg_templateScalarFieldEnum having?: Prisma.invoice_msg_templateScalarWhereWithAggregatesInput take?: number skip?: number _count?: Invoice_msg_templateCountAggregateInputType | true _avg?: Invoice_msg_templateAvgAggregateInputType _sum?: Invoice_msg_templateSumAggregateInputType _min?: Invoice_msg_templateMinAggregateInputType _max?: Invoice_msg_templateMaxAggregateInputType } export type Invoice_msg_templateGroupByOutputType = { id: bigint name: string | null message: string | null _count: Invoice_msg_templateCountAggregateOutputType | null _avg: Invoice_msg_templateAvgAggregateOutputType | null _sum: Invoice_msg_templateSumAggregateOutputType | null _min: Invoice_msg_templateMinAggregateOutputType | null _max: Invoice_msg_templateMaxAggregateOutputType | null } type GetInvoice_msg_templateGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Invoice_msg_templateGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type invoice_msg_templateWhereInput = { AND?: Prisma.invoice_msg_templateWhereInput | Prisma.invoice_msg_templateWhereInput[] OR?: Prisma.invoice_msg_templateWhereInput[] NOT?: Prisma.invoice_msg_templateWhereInput | Prisma.invoice_msg_templateWhereInput[] id?: Prisma.BigIntFilter<"invoice_msg_template"> | bigint | number name?: Prisma.StringNullableFilter<"invoice_msg_template"> | string | null message?: Prisma.StringNullableFilter<"invoice_msg_template"> | string | null } export type invoice_msg_templateOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder message?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.invoice_msg_templateOrderByRelevanceInput } export type invoice_msg_templateWhereUniqueInput = Prisma.AtLeast<{ id?: bigint | number AND?: Prisma.invoice_msg_templateWhereInput | Prisma.invoice_msg_templateWhereInput[] OR?: Prisma.invoice_msg_templateWhereInput[] NOT?: Prisma.invoice_msg_templateWhereInput | Prisma.invoice_msg_templateWhereInput[] name?: Prisma.StringNullableFilter<"invoice_msg_template"> | string | null message?: Prisma.StringNullableFilter<"invoice_msg_template"> | string | null }, "id"> export type invoice_msg_templateOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder message?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.invoice_msg_templateCountOrderByAggregateInput _avg?: Prisma.invoice_msg_templateAvgOrderByAggregateInput _max?: Prisma.invoice_msg_templateMaxOrderByAggregateInput _min?: Prisma.invoice_msg_templateMinOrderByAggregateInput _sum?: Prisma.invoice_msg_templateSumOrderByAggregateInput } export type invoice_msg_templateScalarWhereWithAggregatesInput = { AND?: Prisma.invoice_msg_templateScalarWhereWithAggregatesInput | Prisma.invoice_msg_templateScalarWhereWithAggregatesInput[] OR?: Prisma.invoice_msg_templateScalarWhereWithAggregatesInput[] NOT?: Prisma.invoice_msg_templateScalarWhereWithAggregatesInput | Prisma.invoice_msg_templateScalarWhereWithAggregatesInput[] id?: Prisma.BigIntWithAggregatesFilter<"invoice_msg_template"> | bigint | number name?: Prisma.StringNullableWithAggregatesFilter<"invoice_msg_template"> | string | null message?: Prisma.StringNullableWithAggregatesFilter<"invoice_msg_template"> | string | null } export type invoice_msg_templateCreateInput = { id?: bigint | number name?: string | null message?: string | null } export type invoice_msg_templateUncheckedCreateInput = { id?: bigint | number name?: string | null message?: string | null } export type invoice_msg_templateUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type invoice_msg_templateUncheckedUpdateInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type invoice_msg_templateCreateManyInput = { id?: bigint | number name?: string | null message?: string | null } export type invoice_msg_templateUpdateManyMutationInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type invoice_msg_templateUncheckedUpdateManyInput = { id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type invoice_msg_templateOrderByRelevanceInput = { fields: Prisma.invoice_msg_templateOrderByRelevanceFieldEnum | Prisma.invoice_msg_templateOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type invoice_msg_templateCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder message?: Prisma.SortOrder } export type invoice_msg_templateAvgOrderByAggregateInput = { id?: Prisma.SortOrder } export type invoice_msg_templateMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder message?: Prisma.SortOrder } export type invoice_msg_templateMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder message?: Prisma.SortOrder } export type invoice_msg_templateSumOrderByAggregateInput = { id?: Prisma.SortOrder } export type invoice_msg_templateSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean message?: boolean }, ExtArgs["result"]["invoice_msg_template"]> export type invoice_msg_templateSelectScalar = { id?: boolean name?: boolean message?: boolean } export type invoice_msg_templateOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "message", ExtArgs["result"]["invoice_msg_template"]> export type $invoice_msg_templatePayload = { name: "invoice_msg_template" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: bigint name: string | null message: string | null }, ExtArgs["result"]["invoice_msg_template"]> composites: {} } export type invoice_msg_templateGetPayload = runtime.Types.Result.GetResult export type invoice_msg_templateCountArgs = Omit & { select?: Invoice_msg_templateCountAggregateInputType | true } export interface invoice_msg_templateDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['invoice_msg_template'], meta: { name: 'invoice_msg_template' } } /** * Find zero or one Invoice_msg_template that matches the filter. * @param {invoice_msg_templateFindUniqueArgs} args - Arguments to find a Invoice_msg_template * @example * // Get one Invoice_msg_template * const invoice_msg_template = await prisma.invoice_msg_template.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_msg_templateClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Invoice_msg_template that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {invoice_msg_templateFindUniqueOrThrowArgs} args - Arguments to find a Invoice_msg_template * @example * // Get one Invoice_msg_template * const invoice_msg_template = await prisma.invoice_msg_template.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_msg_templateClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Invoice_msg_template 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 {invoice_msg_templateFindFirstArgs} args - Arguments to find a Invoice_msg_template * @example * // Get one Invoice_msg_template * const invoice_msg_template = await prisma.invoice_msg_template.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__invoice_msg_templateClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Invoice_msg_template 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 {invoice_msg_templateFindFirstOrThrowArgs} args - Arguments to find a Invoice_msg_template * @example * // Get one Invoice_msg_template * const invoice_msg_template = await prisma.invoice_msg_template.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__invoice_msg_templateClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Invoice_msg_templates 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 {invoice_msg_templateFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Invoice_msg_templates * const invoice_msg_templates = await prisma.invoice_msg_template.findMany() * * // Get first 10 Invoice_msg_templates * const invoice_msg_templates = await prisma.invoice_msg_template.findMany({ take: 10 }) * * // Only select the `id` * const invoice_msg_templateWithIdOnly = await prisma.invoice_msg_template.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Invoice_msg_template. * @param {invoice_msg_templateCreateArgs} args - Arguments to create a Invoice_msg_template. * @example * // Create one Invoice_msg_template * const Invoice_msg_template = await prisma.invoice_msg_template.create({ * data: { * // ... data to create a Invoice_msg_template * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_msg_templateClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Invoice_msg_templates. * @param {invoice_msg_templateCreateManyArgs} args - Arguments to create many Invoice_msg_templates. * @example * // Create many Invoice_msg_templates * const invoice_msg_template = await prisma.invoice_msg_template.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Invoice_msg_template. * @param {invoice_msg_templateDeleteArgs} args - Arguments to delete one Invoice_msg_template. * @example * // Delete one Invoice_msg_template * const Invoice_msg_template = await prisma.invoice_msg_template.delete({ * where: { * // ... filter to delete one Invoice_msg_template * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_msg_templateClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Invoice_msg_template. * @param {invoice_msg_templateUpdateArgs} args - Arguments to update one Invoice_msg_template. * @example * // Update one Invoice_msg_template * const invoice_msg_template = await prisma.invoice_msg_template.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_msg_templateClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Invoice_msg_templates. * @param {invoice_msg_templateDeleteManyArgs} args - Arguments to filter Invoice_msg_templates to delete. * @example * // Delete a few Invoice_msg_templates * const { count } = await prisma.invoice_msg_template.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Invoice_msg_templates. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {invoice_msg_templateUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Invoice_msg_templates * const invoice_msg_template = await prisma.invoice_msg_template.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Invoice_msg_template. * @param {invoice_msg_templateUpsertArgs} args - Arguments to update or create a Invoice_msg_template. * @example * // Update or create a Invoice_msg_template * const invoice_msg_template = await prisma.invoice_msg_template.upsert({ * create: { * // ... data to create a Invoice_msg_template * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Invoice_msg_template we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__invoice_msg_templateClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Invoice_msg_templates. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {invoice_msg_templateCountArgs} args - Arguments to filter Invoice_msg_templates to count. * @example * // Count the number of Invoice_msg_templates * const count = await prisma.invoice_msg_template.count({ * where: { * // ... the filter for the Invoice_msg_templates 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 Invoice_msg_template. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Invoice_msg_templateAggregateArgs} 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 Invoice_msg_template. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {invoice_msg_templateGroupByArgs} 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 invoice_msg_templateGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: invoice_msg_templateGroupByArgs['orderBy'] } : { orderBy?: invoice_msg_templateGroupByArgs['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 ? GetInvoice_msg_templateGroupByPayload : Prisma.PrismaPromise /** * Fields of the invoice_msg_template model */ readonly fields: invoice_msg_templateFieldRefs; } /** * The delegate class that acts as a "Promise-like" for invoice_msg_template. * 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__invoice_msg_templateClient 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 invoice_msg_template model */ export interface invoice_msg_templateFieldRefs { readonly id: Prisma.FieldRef<"invoice_msg_template", 'BigInt'> readonly name: Prisma.FieldRef<"invoice_msg_template", 'String'> readonly message: Prisma.FieldRef<"invoice_msg_template", 'String'> } // Custom InputTypes /** * invoice_msg_template findUnique */ export type invoice_msg_templateFindUniqueArgs = { /** * Select specific fields to fetch from the invoice_msg_template */ select?: Prisma.invoice_msg_templateSelect | null /** * Omit specific fields from the invoice_msg_template */ omit?: Prisma.invoice_msg_templateOmit | null /** * Filter, which invoice_msg_template to fetch. */ where: Prisma.invoice_msg_templateWhereUniqueInput } /** * invoice_msg_template findUniqueOrThrow */ export type invoice_msg_templateFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the invoice_msg_template */ select?: Prisma.invoice_msg_templateSelect | null /** * Omit specific fields from the invoice_msg_template */ omit?: Prisma.invoice_msg_templateOmit | null /** * Filter, which invoice_msg_template to fetch. */ where: Prisma.invoice_msg_templateWhereUniqueInput } /** * invoice_msg_template findFirst */ export type invoice_msg_templateFindFirstArgs = { /** * Select specific fields to fetch from the invoice_msg_template */ select?: Prisma.invoice_msg_templateSelect | null /** * Omit specific fields from the invoice_msg_template */ omit?: Prisma.invoice_msg_templateOmit | null /** * Filter, which invoice_msg_template to fetch. */ where?: Prisma.invoice_msg_templateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of invoice_msg_templates to fetch. */ orderBy?: Prisma.invoice_msg_templateOrderByWithRelationInput | Prisma.invoice_msg_templateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for invoice_msg_templates. */ cursor?: Prisma.invoice_msg_templateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` invoice_msg_templates 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` invoice_msg_templates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of invoice_msg_templates. */ distinct?: Prisma.Invoice_msg_templateScalarFieldEnum | Prisma.Invoice_msg_templateScalarFieldEnum[] } /** * invoice_msg_template findFirstOrThrow */ export type invoice_msg_templateFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the invoice_msg_template */ select?: Prisma.invoice_msg_templateSelect | null /** * Omit specific fields from the invoice_msg_template */ omit?: Prisma.invoice_msg_templateOmit | null /** * Filter, which invoice_msg_template to fetch. */ where?: Prisma.invoice_msg_templateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of invoice_msg_templates to fetch. */ orderBy?: Prisma.invoice_msg_templateOrderByWithRelationInput | Prisma.invoice_msg_templateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for invoice_msg_templates. */ cursor?: Prisma.invoice_msg_templateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` invoice_msg_templates 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` invoice_msg_templates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of invoice_msg_templates. */ distinct?: Prisma.Invoice_msg_templateScalarFieldEnum | Prisma.Invoice_msg_templateScalarFieldEnum[] } /** * invoice_msg_template findMany */ export type invoice_msg_templateFindManyArgs = { /** * Select specific fields to fetch from the invoice_msg_template */ select?: Prisma.invoice_msg_templateSelect | null /** * Omit specific fields from the invoice_msg_template */ omit?: Prisma.invoice_msg_templateOmit | null /** * Filter, which invoice_msg_templates to fetch. */ where?: Prisma.invoice_msg_templateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of invoice_msg_templates to fetch. */ orderBy?: Prisma.invoice_msg_templateOrderByWithRelationInput | Prisma.invoice_msg_templateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing invoice_msg_templates. */ cursor?: Prisma.invoice_msg_templateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` invoice_msg_templates 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` invoice_msg_templates. */ skip?: number distinct?: Prisma.Invoice_msg_templateScalarFieldEnum | Prisma.Invoice_msg_templateScalarFieldEnum[] } /** * invoice_msg_template create */ export type invoice_msg_templateCreateArgs = { /** * Select specific fields to fetch from the invoice_msg_template */ select?: Prisma.invoice_msg_templateSelect | null /** * Omit specific fields from the invoice_msg_template */ omit?: Prisma.invoice_msg_templateOmit | null /** * The data needed to create a invoice_msg_template. */ data?: Prisma.XOR } /** * invoice_msg_template createMany */ export type invoice_msg_templateCreateManyArgs = { /** * The data used to create many invoice_msg_templates. */ data: Prisma.invoice_msg_templateCreateManyInput | Prisma.invoice_msg_templateCreateManyInput[] skipDuplicates?: boolean } /** * invoice_msg_template update */ export type invoice_msg_templateUpdateArgs = { /** * Select specific fields to fetch from the invoice_msg_template */ select?: Prisma.invoice_msg_templateSelect | null /** * Omit specific fields from the invoice_msg_template */ omit?: Prisma.invoice_msg_templateOmit | null /** * The data needed to update a invoice_msg_template. */ data: Prisma.XOR /** * Choose, which invoice_msg_template to update. */ where: Prisma.invoice_msg_templateWhereUniqueInput } /** * invoice_msg_template updateMany */ export type invoice_msg_templateUpdateManyArgs = { /** * The data used to update invoice_msg_templates. */ data: Prisma.XOR /** * Filter which invoice_msg_templates to update */ where?: Prisma.invoice_msg_templateWhereInput /** * Limit how many invoice_msg_templates to update. */ limit?: number } /** * invoice_msg_template upsert */ export type invoice_msg_templateUpsertArgs = { /** * Select specific fields to fetch from the invoice_msg_template */ select?: Prisma.invoice_msg_templateSelect | null /** * Omit specific fields from the invoice_msg_template */ omit?: Prisma.invoice_msg_templateOmit | null /** * The filter to search for the invoice_msg_template to update in case it exists. */ where: Prisma.invoice_msg_templateWhereUniqueInput /** * In case the invoice_msg_template found by the `where` argument doesn't exist, create a new invoice_msg_template with this data. */ create: Prisma.XOR /** * In case the invoice_msg_template was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * invoice_msg_template delete */ export type invoice_msg_templateDeleteArgs = { /** * Select specific fields to fetch from the invoice_msg_template */ select?: Prisma.invoice_msg_templateSelect | null /** * Omit specific fields from the invoice_msg_template */ omit?: Prisma.invoice_msg_templateOmit | null /** * Filter which invoice_msg_template to delete. */ where: Prisma.invoice_msg_templateWhereUniqueInput } /** * invoice_msg_template deleteMany */ export type invoice_msg_templateDeleteManyArgs = { /** * Filter which invoice_msg_templates to delete */ where?: Prisma.invoice_msg_templateWhereInput /** * Limit how many invoice_msg_templates to delete. */ limit?: number } /** * invoice_msg_template without action */ export type invoice_msg_templateDefaultArgs = { /** * Select specific fields to fetch from the invoice_msg_template */ select?: Prisma.invoice_msg_templateSelect | null /** * Omit specific fields from the invoice_msg_template */ omit?: Prisma.invoice_msg_templateOmit | null }