targo-backend/prisma/generated/mariadb/models/tele_wiz.ts

1194 lines
39 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `tele_wiz` 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 tele_wiz
*
*/
export type tele_wizModel = runtime.Types.Result.DefaultSelection<Prisma.$tele_wizPayload>
export type AggregateTele_wiz = {
_count: Tele_wizCountAggregateOutputType | null
_avg: Tele_wizAvgAggregateOutputType | null
_sum: Tele_wizSumAggregateOutputType | null
_min: Tele_wizMinAggregateOutputType | null
_max: Tele_wizMaxAggregateOutputType | null
}
export type Tele_wizAvgAggregateOutputType = {
id: number | null
account_id: number | null
delivery_id: number | null
ticket_id: number | null
nb_stb: number | null
credit: number | null
fbase: number | null
}
export type Tele_wizSumAggregateOutputType = {
id: number | null
account_id: number | null
delivery_id: number | null
ticket_id: number | null
nb_stb: number | null
credit: number | null
fbase: number | null
}
export type Tele_wizMinAggregateOutputType = {
id: number | null
account_id: number | null
delivery_id: number | null
ticket_id: number | null
nb_stb: number | null
credit: number | null
fbase: number | null
fthem: string | null
}
export type Tele_wizMaxAggregateOutputType = {
id: number | null
account_id: number | null
delivery_id: number | null
ticket_id: number | null
nb_stb: number | null
credit: number | null
fbase: number | null
fthem: string | null
}
export type Tele_wizCountAggregateOutputType = {
id: number
account_id: number
delivery_id: number
ticket_id: number
nb_stb: number
credit: number
fbase: number
fthem: number
_all: number
}
export type Tele_wizAvgAggregateInputType = {
id?: true
account_id?: true
delivery_id?: true
ticket_id?: true
nb_stb?: true
credit?: true
fbase?: true
}
export type Tele_wizSumAggregateInputType = {
id?: true
account_id?: true
delivery_id?: true
ticket_id?: true
nb_stb?: true
credit?: true
fbase?: true
}
export type Tele_wizMinAggregateInputType = {
id?: true
account_id?: true
delivery_id?: true
ticket_id?: true
nb_stb?: true
credit?: true
fbase?: true
fthem?: true
}
export type Tele_wizMaxAggregateInputType = {
id?: true
account_id?: true
delivery_id?: true
ticket_id?: true
nb_stb?: true
credit?: true
fbase?: true
fthem?: true
}
export type Tele_wizCountAggregateInputType = {
id?: true
account_id?: true
delivery_id?: true
ticket_id?: true
nb_stb?: true
credit?: true
fbase?: true
fthem?: true
_all?: true
}
export type Tele_wizAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which tele_wiz to aggregate.
*/
where?: Prisma.tele_wizWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tele_wizs to fetch.
*/
orderBy?: Prisma.tele_wizOrderByWithRelationInput | Prisma.tele_wizOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.tele_wizWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tele_wizs 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` tele_wizs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned tele_wizs
**/
_count?: true | Tele_wizCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Tele_wizAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Tele_wizSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Tele_wizMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Tele_wizMaxAggregateInputType
}
export type GetTele_wizAggregateType<T extends Tele_wizAggregateArgs> = {
[P in keyof T & keyof AggregateTele_wiz]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateTele_wiz[P]>
: Prisma.GetScalarType<T[P], AggregateTele_wiz[P]>
}
export type tele_wizGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.tele_wizWhereInput
orderBy?: Prisma.tele_wizOrderByWithAggregationInput | Prisma.tele_wizOrderByWithAggregationInput[]
by: Prisma.Tele_wizScalarFieldEnum[] | Prisma.Tele_wizScalarFieldEnum
having?: Prisma.tele_wizScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Tele_wizCountAggregateInputType | true
_avg?: Tele_wizAvgAggregateInputType
_sum?: Tele_wizSumAggregateInputType
_min?: Tele_wizMinAggregateInputType
_max?: Tele_wizMaxAggregateInputType
}
export type Tele_wizGroupByOutputType = {
id: number
account_id: number
delivery_id: number
ticket_id: number
nb_stb: number
credit: number
fbase: number
fthem: string
_count: Tele_wizCountAggregateOutputType | null
_avg: Tele_wizAvgAggregateOutputType | null
_sum: Tele_wizSumAggregateOutputType | null
_min: Tele_wizMinAggregateOutputType | null
_max: Tele_wizMaxAggregateOutputType | null
}
type GetTele_wizGroupByPayload<T extends tele_wizGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Tele_wizGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Tele_wizGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Tele_wizGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Tele_wizGroupByOutputType[P]>
}
>
>
export type tele_wizWhereInput = {
AND?: Prisma.tele_wizWhereInput | Prisma.tele_wizWhereInput[]
OR?: Prisma.tele_wizWhereInput[]
NOT?: Prisma.tele_wizWhereInput | Prisma.tele_wizWhereInput[]
id?: Prisma.IntFilter<"tele_wiz"> | number
account_id?: Prisma.IntFilter<"tele_wiz"> | number
delivery_id?: Prisma.IntFilter<"tele_wiz"> | number
ticket_id?: Prisma.IntFilter<"tele_wiz"> | number
nb_stb?: Prisma.IntFilter<"tele_wiz"> | number
credit?: Prisma.IntFilter<"tele_wiz"> | number
fbase?: Prisma.IntFilter<"tele_wiz"> | number
fthem?: Prisma.StringFilter<"tele_wiz"> | string
}
export type tele_wizOrderByWithRelationInput = {
id?: Prisma.SortOrder
account_id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
ticket_id?: Prisma.SortOrder
nb_stb?: Prisma.SortOrder
credit?: Prisma.SortOrder
fbase?: Prisma.SortOrder
fthem?: Prisma.SortOrder
_relevance?: Prisma.tele_wizOrderByRelevanceInput
}
export type tele_wizWhereUniqueInput = Prisma.AtLeast<{
id?: number
AND?: Prisma.tele_wizWhereInput | Prisma.tele_wizWhereInput[]
OR?: Prisma.tele_wizWhereInput[]
NOT?: Prisma.tele_wizWhereInput | Prisma.tele_wizWhereInput[]
account_id?: Prisma.IntFilter<"tele_wiz"> | number
delivery_id?: Prisma.IntFilter<"tele_wiz"> | number
ticket_id?: Prisma.IntFilter<"tele_wiz"> | number
nb_stb?: Prisma.IntFilter<"tele_wiz"> | number
credit?: Prisma.IntFilter<"tele_wiz"> | number
fbase?: Prisma.IntFilter<"tele_wiz"> | number
fthem?: Prisma.StringFilter<"tele_wiz"> | string
}, "id">
export type tele_wizOrderByWithAggregationInput = {
id?: Prisma.SortOrder
account_id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
ticket_id?: Prisma.SortOrder
nb_stb?: Prisma.SortOrder
credit?: Prisma.SortOrder
fbase?: Prisma.SortOrder
fthem?: Prisma.SortOrder
_count?: Prisma.tele_wizCountOrderByAggregateInput
_avg?: Prisma.tele_wizAvgOrderByAggregateInput
_max?: Prisma.tele_wizMaxOrderByAggregateInput
_min?: Prisma.tele_wizMinOrderByAggregateInput
_sum?: Prisma.tele_wizSumOrderByAggregateInput
}
export type tele_wizScalarWhereWithAggregatesInput = {
AND?: Prisma.tele_wizScalarWhereWithAggregatesInput | Prisma.tele_wizScalarWhereWithAggregatesInput[]
OR?: Prisma.tele_wizScalarWhereWithAggregatesInput[]
NOT?: Prisma.tele_wizScalarWhereWithAggregatesInput | Prisma.tele_wizScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"tele_wiz"> | number
account_id?: Prisma.IntWithAggregatesFilter<"tele_wiz"> | number
delivery_id?: Prisma.IntWithAggregatesFilter<"tele_wiz"> | number
ticket_id?: Prisma.IntWithAggregatesFilter<"tele_wiz"> | number
nb_stb?: Prisma.IntWithAggregatesFilter<"tele_wiz"> | number
credit?: Prisma.IntWithAggregatesFilter<"tele_wiz"> | number
fbase?: Prisma.IntWithAggregatesFilter<"tele_wiz"> | number
fthem?: Prisma.StringWithAggregatesFilter<"tele_wiz"> | string
}
export type tele_wizCreateInput = {
account_id: number
delivery_id: number
ticket_id: number
nb_stb: number
credit: number
fbase: number
fthem: string
}
export type tele_wizUncheckedCreateInput = {
id?: number
account_id: number
delivery_id: number
ticket_id: number
nb_stb: number
credit: number
fbase: number
fthem: string
}
export type tele_wizUpdateInput = {
account_id?: Prisma.IntFieldUpdateOperationsInput | number
delivery_id?: Prisma.IntFieldUpdateOperationsInput | number
ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
nb_stb?: Prisma.IntFieldUpdateOperationsInput | number
credit?: Prisma.IntFieldUpdateOperationsInput | number
fbase?: Prisma.IntFieldUpdateOperationsInput | number
fthem?: Prisma.StringFieldUpdateOperationsInput | string
}
export type tele_wizUncheckedUpdateInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
account_id?: Prisma.IntFieldUpdateOperationsInput | number
delivery_id?: Prisma.IntFieldUpdateOperationsInput | number
ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
nb_stb?: Prisma.IntFieldUpdateOperationsInput | number
credit?: Prisma.IntFieldUpdateOperationsInput | number
fbase?: Prisma.IntFieldUpdateOperationsInput | number
fthem?: Prisma.StringFieldUpdateOperationsInput | string
}
export type tele_wizCreateManyInput = {
id?: number
account_id: number
delivery_id: number
ticket_id: number
nb_stb: number
credit: number
fbase: number
fthem: string
}
export type tele_wizUpdateManyMutationInput = {
account_id?: Prisma.IntFieldUpdateOperationsInput | number
delivery_id?: Prisma.IntFieldUpdateOperationsInput | number
ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
nb_stb?: Prisma.IntFieldUpdateOperationsInput | number
credit?: Prisma.IntFieldUpdateOperationsInput | number
fbase?: Prisma.IntFieldUpdateOperationsInput | number
fthem?: Prisma.StringFieldUpdateOperationsInput | string
}
export type tele_wizUncheckedUpdateManyInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
account_id?: Prisma.IntFieldUpdateOperationsInput | number
delivery_id?: Prisma.IntFieldUpdateOperationsInput | number
ticket_id?: Prisma.IntFieldUpdateOperationsInput | number
nb_stb?: Prisma.IntFieldUpdateOperationsInput | number
credit?: Prisma.IntFieldUpdateOperationsInput | number
fbase?: Prisma.IntFieldUpdateOperationsInput | number
fthem?: Prisma.StringFieldUpdateOperationsInput | string
}
export type tele_wizOrderByRelevanceInput = {
fields: Prisma.tele_wizOrderByRelevanceFieldEnum | Prisma.tele_wizOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type tele_wizCountOrderByAggregateInput = {
id?: Prisma.SortOrder
account_id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
ticket_id?: Prisma.SortOrder
nb_stb?: Prisma.SortOrder
credit?: Prisma.SortOrder
fbase?: Prisma.SortOrder
fthem?: Prisma.SortOrder
}
export type tele_wizAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
account_id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
ticket_id?: Prisma.SortOrder
nb_stb?: Prisma.SortOrder
credit?: Prisma.SortOrder
fbase?: Prisma.SortOrder
}
export type tele_wizMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
account_id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
ticket_id?: Prisma.SortOrder
nb_stb?: Prisma.SortOrder
credit?: Prisma.SortOrder
fbase?: Prisma.SortOrder
fthem?: Prisma.SortOrder
}
export type tele_wizMinOrderByAggregateInput = {
id?: Prisma.SortOrder
account_id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
ticket_id?: Prisma.SortOrder
nb_stb?: Prisma.SortOrder
credit?: Prisma.SortOrder
fbase?: Prisma.SortOrder
fthem?: Prisma.SortOrder
}
export type tele_wizSumOrderByAggregateInput = {
id?: Prisma.SortOrder
account_id?: Prisma.SortOrder
delivery_id?: Prisma.SortOrder
ticket_id?: Prisma.SortOrder
nb_stb?: Prisma.SortOrder
credit?: Prisma.SortOrder
fbase?: Prisma.SortOrder
}
export type tele_wizSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
account_id?: boolean
delivery_id?: boolean
ticket_id?: boolean
nb_stb?: boolean
credit?: boolean
fbase?: boolean
fthem?: boolean
}, ExtArgs["result"]["tele_wiz"]>
export type tele_wizSelectScalar = {
id?: boolean
account_id?: boolean
delivery_id?: boolean
ticket_id?: boolean
nb_stb?: boolean
credit?: boolean
fbase?: boolean
fthem?: boolean
}
export type tele_wizOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "delivery_id" | "ticket_id" | "nb_stb" | "credit" | "fbase" | "fthem", ExtArgs["result"]["tele_wiz"]>
export type $tele_wizPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "tele_wiz"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: number
account_id: number
delivery_id: number
ticket_id: number
nb_stb: number
credit: number
fbase: number
fthem: string
}, ExtArgs["result"]["tele_wiz"]>
composites: {}
}
export type tele_wizGetPayload<S extends boolean | null | undefined | tele_wizDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$tele_wizPayload, S>
export type tele_wizCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<tele_wizFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Tele_wizCountAggregateInputType | true
}
export interface tele_wizDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['tele_wiz'], meta: { name: 'tele_wiz' } }
/**
* Find zero or one Tele_wiz that matches the filter.
* @param {tele_wizFindUniqueArgs} args - Arguments to find a Tele_wiz
* @example
* // Get one Tele_wiz
* const tele_wiz = await prisma.tele_wiz.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends tele_wizFindUniqueArgs>(args: Prisma.SelectSubset<T, tele_wizFindUniqueArgs<ExtArgs>>): Prisma.Prisma__tele_wizClient<runtime.Types.Result.GetResult<Prisma.$tele_wizPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Tele_wiz that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {tele_wizFindUniqueOrThrowArgs} args - Arguments to find a Tele_wiz
* @example
* // Get one Tele_wiz
* const tele_wiz = await prisma.tele_wiz.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends tele_wizFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, tele_wizFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__tele_wizClient<runtime.Types.Result.GetResult<Prisma.$tele_wizPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Tele_wiz 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 {tele_wizFindFirstArgs} args - Arguments to find a Tele_wiz
* @example
* // Get one Tele_wiz
* const tele_wiz = await prisma.tele_wiz.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends tele_wizFindFirstArgs>(args?: Prisma.SelectSubset<T, tele_wizFindFirstArgs<ExtArgs>>): Prisma.Prisma__tele_wizClient<runtime.Types.Result.GetResult<Prisma.$tele_wizPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Tele_wiz 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 {tele_wizFindFirstOrThrowArgs} args - Arguments to find a Tele_wiz
* @example
* // Get one Tele_wiz
* const tele_wiz = await prisma.tele_wiz.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends tele_wizFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, tele_wizFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__tele_wizClient<runtime.Types.Result.GetResult<Prisma.$tele_wizPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Tele_wizs 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 {tele_wizFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Tele_wizs
* const tele_wizs = await prisma.tele_wiz.findMany()
*
* // Get first 10 Tele_wizs
* const tele_wizs = await prisma.tele_wiz.findMany({ take: 10 })
*
* // Only select the `id`
* const tele_wizWithIdOnly = await prisma.tele_wiz.findMany({ select: { id: true } })
*
*/
findMany<T extends tele_wizFindManyArgs>(args?: Prisma.SelectSubset<T, tele_wizFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$tele_wizPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Tele_wiz.
* @param {tele_wizCreateArgs} args - Arguments to create a Tele_wiz.
* @example
* // Create one Tele_wiz
* const Tele_wiz = await prisma.tele_wiz.create({
* data: {
* // ... data to create a Tele_wiz
* }
* })
*
*/
create<T extends tele_wizCreateArgs>(args: Prisma.SelectSubset<T, tele_wizCreateArgs<ExtArgs>>): Prisma.Prisma__tele_wizClient<runtime.Types.Result.GetResult<Prisma.$tele_wizPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Tele_wizs.
* @param {tele_wizCreateManyArgs} args - Arguments to create many Tele_wizs.
* @example
* // Create many Tele_wizs
* const tele_wiz = await prisma.tele_wiz.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends tele_wizCreateManyArgs>(args?: Prisma.SelectSubset<T, tele_wizCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Tele_wiz.
* @param {tele_wizDeleteArgs} args - Arguments to delete one Tele_wiz.
* @example
* // Delete one Tele_wiz
* const Tele_wiz = await prisma.tele_wiz.delete({
* where: {
* // ... filter to delete one Tele_wiz
* }
* })
*
*/
delete<T extends tele_wizDeleteArgs>(args: Prisma.SelectSubset<T, tele_wizDeleteArgs<ExtArgs>>): Prisma.Prisma__tele_wizClient<runtime.Types.Result.GetResult<Prisma.$tele_wizPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Tele_wiz.
* @param {tele_wizUpdateArgs} args - Arguments to update one Tele_wiz.
* @example
* // Update one Tele_wiz
* const tele_wiz = await prisma.tele_wiz.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends tele_wizUpdateArgs>(args: Prisma.SelectSubset<T, tele_wizUpdateArgs<ExtArgs>>): Prisma.Prisma__tele_wizClient<runtime.Types.Result.GetResult<Prisma.$tele_wizPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Tele_wizs.
* @param {tele_wizDeleteManyArgs} args - Arguments to filter Tele_wizs to delete.
* @example
* // Delete a few Tele_wizs
* const { count } = await prisma.tele_wiz.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends tele_wizDeleteManyArgs>(args?: Prisma.SelectSubset<T, tele_wizDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Tele_wizs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {tele_wizUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Tele_wizs
* const tele_wiz = await prisma.tele_wiz.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends tele_wizUpdateManyArgs>(args: Prisma.SelectSubset<T, tele_wizUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Tele_wiz.
* @param {tele_wizUpsertArgs} args - Arguments to update or create a Tele_wiz.
* @example
* // Update or create a Tele_wiz
* const tele_wiz = await prisma.tele_wiz.upsert({
* create: {
* // ... data to create a Tele_wiz
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Tele_wiz we want to update
* }
* })
*/
upsert<T extends tele_wizUpsertArgs>(args: Prisma.SelectSubset<T, tele_wizUpsertArgs<ExtArgs>>): Prisma.Prisma__tele_wizClient<runtime.Types.Result.GetResult<Prisma.$tele_wizPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Tele_wizs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {tele_wizCountArgs} args - Arguments to filter Tele_wizs to count.
* @example
* // Count the number of Tele_wizs
* const count = await prisma.tele_wiz.count({
* where: {
* // ... the filter for the Tele_wizs we want to count
* }
* })
**/
count<T extends tele_wizCountArgs>(
args?: Prisma.Subset<T, tele_wizCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Tele_wizCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Tele_wiz.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Tele_wizAggregateArgs} 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<T extends Tele_wizAggregateArgs>(args: Prisma.Subset<T, Tele_wizAggregateArgs>): Prisma.PrismaPromise<GetTele_wizAggregateType<T>>
/**
* Group by Tele_wiz.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {tele_wizGroupByArgs} 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 tele_wizGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: tele_wizGroupByArgs['orderBy'] }
: { orderBy?: tele_wizGroupByArgs['orderBy'] },
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
ByValid extends Prisma.Has<ByFields, OrderFields>,
HavingFields extends Prisma.GetHavingFields<T['having']>,
HavingValid extends Prisma.Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Prisma.Keys<T>
? 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<T>
? 'orderBy' extends Prisma.Keys<T>
? 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<T, tele_wizGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTele_wizGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the tele_wiz model
*/
readonly fields: tele_wizFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for tele_wiz.
* 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__tele_wizClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* Fields of the tele_wiz model
*/
export interface tele_wizFieldRefs {
readonly id: Prisma.FieldRef<"tele_wiz", 'Int'>
readonly account_id: Prisma.FieldRef<"tele_wiz", 'Int'>
readonly delivery_id: Prisma.FieldRef<"tele_wiz", 'Int'>
readonly ticket_id: Prisma.FieldRef<"tele_wiz", 'Int'>
readonly nb_stb: Prisma.FieldRef<"tele_wiz", 'Int'>
readonly credit: Prisma.FieldRef<"tele_wiz", 'Int'>
readonly fbase: Prisma.FieldRef<"tele_wiz", 'Int'>
readonly fthem: Prisma.FieldRef<"tele_wiz", 'String'>
}
// Custom InputTypes
/**
* tele_wiz findUnique
*/
export type tele_wizFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_wiz
*/
select?: Prisma.tele_wizSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_wiz
*/
omit?: Prisma.tele_wizOmit<ExtArgs> | null
/**
* Filter, which tele_wiz to fetch.
*/
where: Prisma.tele_wizWhereUniqueInput
}
/**
* tele_wiz findUniqueOrThrow
*/
export type tele_wizFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_wiz
*/
select?: Prisma.tele_wizSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_wiz
*/
omit?: Prisma.tele_wizOmit<ExtArgs> | null
/**
* Filter, which tele_wiz to fetch.
*/
where: Prisma.tele_wizWhereUniqueInput
}
/**
* tele_wiz findFirst
*/
export type tele_wizFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_wiz
*/
select?: Prisma.tele_wizSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_wiz
*/
omit?: Prisma.tele_wizOmit<ExtArgs> | null
/**
* Filter, which tele_wiz to fetch.
*/
where?: Prisma.tele_wizWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tele_wizs to fetch.
*/
orderBy?: Prisma.tele_wizOrderByWithRelationInput | Prisma.tele_wizOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for tele_wizs.
*/
cursor?: Prisma.tele_wizWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tele_wizs 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` tele_wizs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of tele_wizs.
*/
distinct?: Prisma.Tele_wizScalarFieldEnum | Prisma.Tele_wizScalarFieldEnum[]
}
/**
* tele_wiz findFirstOrThrow
*/
export type tele_wizFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_wiz
*/
select?: Prisma.tele_wizSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_wiz
*/
omit?: Prisma.tele_wizOmit<ExtArgs> | null
/**
* Filter, which tele_wiz to fetch.
*/
where?: Prisma.tele_wizWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tele_wizs to fetch.
*/
orderBy?: Prisma.tele_wizOrderByWithRelationInput | Prisma.tele_wizOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for tele_wizs.
*/
cursor?: Prisma.tele_wizWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tele_wizs 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` tele_wizs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of tele_wizs.
*/
distinct?: Prisma.Tele_wizScalarFieldEnum | Prisma.Tele_wizScalarFieldEnum[]
}
/**
* tele_wiz findMany
*/
export type tele_wizFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_wiz
*/
select?: Prisma.tele_wizSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_wiz
*/
omit?: Prisma.tele_wizOmit<ExtArgs> | null
/**
* Filter, which tele_wizs to fetch.
*/
where?: Prisma.tele_wizWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tele_wizs to fetch.
*/
orderBy?: Prisma.tele_wizOrderByWithRelationInput | Prisma.tele_wizOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing tele_wizs.
*/
cursor?: Prisma.tele_wizWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tele_wizs 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` tele_wizs.
*/
skip?: number
distinct?: Prisma.Tele_wizScalarFieldEnum | Prisma.Tele_wizScalarFieldEnum[]
}
/**
* tele_wiz create
*/
export type tele_wizCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_wiz
*/
select?: Prisma.tele_wizSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_wiz
*/
omit?: Prisma.tele_wizOmit<ExtArgs> | null
/**
* The data needed to create a tele_wiz.
*/
data: Prisma.XOR<Prisma.tele_wizCreateInput, Prisma.tele_wizUncheckedCreateInput>
}
/**
* tele_wiz createMany
*/
export type tele_wizCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many tele_wizs.
*/
data: Prisma.tele_wizCreateManyInput | Prisma.tele_wizCreateManyInput[]
skipDuplicates?: boolean
}
/**
* tele_wiz update
*/
export type tele_wizUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_wiz
*/
select?: Prisma.tele_wizSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_wiz
*/
omit?: Prisma.tele_wizOmit<ExtArgs> | null
/**
* The data needed to update a tele_wiz.
*/
data: Prisma.XOR<Prisma.tele_wizUpdateInput, Prisma.tele_wizUncheckedUpdateInput>
/**
* Choose, which tele_wiz to update.
*/
where: Prisma.tele_wizWhereUniqueInput
}
/**
* tele_wiz updateMany
*/
export type tele_wizUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update tele_wizs.
*/
data: Prisma.XOR<Prisma.tele_wizUpdateManyMutationInput, Prisma.tele_wizUncheckedUpdateManyInput>
/**
* Filter which tele_wizs to update
*/
where?: Prisma.tele_wizWhereInput
/**
* Limit how many tele_wizs to update.
*/
limit?: number
}
/**
* tele_wiz upsert
*/
export type tele_wizUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_wiz
*/
select?: Prisma.tele_wizSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_wiz
*/
omit?: Prisma.tele_wizOmit<ExtArgs> | null
/**
* The filter to search for the tele_wiz to update in case it exists.
*/
where: Prisma.tele_wizWhereUniqueInput
/**
* In case the tele_wiz found by the `where` argument doesn't exist, create a new tele_wiz with this data.
*/
create: Prisma.XOR<Prisma.tele_wizCreateInput, Prisma.tele_wizUncheckedCreateInput>
/**
* In case the tele_wiz was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.tele_wizUpdateInput, Prisma.tele_wizUncheckedUpdateInput>
}
/**
* tele_wiz delete
*/
export type tele_wizDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_wiz
*/
select?: Prisma.tele_wizSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_wiz
*/
omit?: Prisma.tele_wizOmit<ExtArgs> | null
/**
* Filter which tele_wiz to delete.
*/
where: Prisma.tele_wizWhereUniqueInput
}
/**
* tele_wiz deleteMany
*/
export type tele_wizDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which tele_wizs to delete
*/
where?: Prisma.tele_wizWhereInput
/**
* Limit how many tele_wizs to delete.
*/
limit?: number
}
/**
* tele_wiz without action
*/
export type tele_wizDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_wiz
*/
select?: Prisma.tele_wizSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_wiz
*/
omit?: Prisma.tele_wizOmit<ExtArgs> | null
}