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

1612 lines
61 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_channel` 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_channel
*
*/
export type tele_channelModel = runtime.Types.Result.DefaultSelection<Prisma.$tele_channelPayload>
export type AggregateTele_channel = {
_count: Tele_channelCountAggregateOutputType | null
_avg: Tele_channelAvgAggregateOutputType | null
_sum: Tele_channelSumAggregateOutputType | null
_min: Tele_channelMinAggregateOutputType | null
_max: Tele_channelMaxAggregateOutputType | null
}
export type Tele_channelAvgAggregateOutputType = {
id: number | null
pack_min: number | null
pack_redevance: runtime.Decimal | null
pack_prix_vendu: runtime.Decimal | null
carte_percentage: runtime.Decimal | null
carte_redevance_min: runtime.Decimal | null
carte_prix_vendu: runtime.Decimal | null
monthly_min: runtime.Decimal | null
has_penetration_rate: number | null
penetration_actuel: runtime.Decimal | null
is_commercial: number | null
epgId: number | null
uptele_no: number | null
groupe_id: number | null
ccsa_packageID: number | null
rapport_bell: number | null
}
export type Tele_channelSumAggregateOutputType = {
id: number | null
pack_min: number | null
pack_redevance: runtime.Decimal | null
pack_prix_vendu: runtime.Decimal | null
carte_percentage: runtime.Decimal | null
carte_redevance_min: runtime.Decimal | null
carte_prix_vendu: runtime.Decimal | null
monthly_min: runtime.Decimal | null
has_penetration_rate: number | null
penetration_actuel: runtime.Decimal | null
is_commercial: number | null
epgId: number | null
uptele_no: number | null
groupe_id: number | null
ccsa_packageID: number | null
rapport_bell: number | null
}
export type Tele_channelMinAggregateOutputType = {
id: number | null
proprio: string | null
poste: string | null
pack_min: number | null
pack_redevance: runtime.Decimal | null
pack_prix_vendu: runtime.Decimal | null
carte_percentage: runtime.Decimal | null
carte_redevance_min: runtime.Decimal | null
carte_prix_vendu: runtime.Decimal | null
monthly_min: runtime.Decimal | null
has_penetration_rate: number | null
penetration_actuel: runtime.Decimal | null
is_commercial: number | null
note: string | null
epgId: number | null
uptele_no: number | null
uptele_code: string | null
abbr: string | null
groupe_id: number | null
ccsa_packageID: number | null
ccsa_desc: string | null
rapport_bell: number | null
}
export type Tele_channelMaxAggregateOutputType = {
id: number | null
proprio: string | null
poste: string | null
pack_min: number | null
pack_redevance: runtime.Decimal | null
pack_prix_vendu: runtime.Decimal | null
carte_percentage: runtime.Decimal | null
carte_redevance_min: runtime.Decimal | null
carte_prix_vendu: runtime.Decimal | null
monthly_min: runtime.Decimal | null
has_penetration_rate: number | null
penetration_actuel: runtime.Decimal | null
is_commercial: number | null
note: string | null
epgId: number | null
uptele_no: number | null
uptele_code: string | null
abbr: string | null
groupe_id: number | null
ccsa_packageID: number | null
ccsa_desc: string | null
rapport_bell: number | null
}
export type Tele_channelCountAggregateOutputType = {
id: number
proprio: number
poste: number
pack_min: number
pack_redevance: number
pack_prix_vendu: number
carte_percentage: number
carte_redevance_min: number
carte_prix_vendu: number
monthly_min: number
has_penetration_rate: number
penetration_actuel: number
is_commercial: number
note: number
epgId: number
uptele_no: number
uptele_code: number
abbr: number
groupe_id: number
ccsa_packageID: number
ccsa_desc: number
rapport_bell: number
_all: number
}
export type Tele_channelAvgAggregateInputType = {
id?: true
pack_min?: true
pack_redevance?: true
pack_prix_vendu?: true
carte_percentage?: true
carte_redevance_min?: true
carte_prix_vendu?: true
monthly_min?: true
has_penetration_rate?: true
penetration_actuel?: true
is_commercial?: true
epgId?: true
uptele_no?: true
groupe_id?: true
ccsa_packageID?: true
rapport_bell?: true
}
export type Tele_channelSumAggregateInputType = {
id?: true
pack_min?: true
pack_redevance?: true
pack_prix_vendu?: true
carte_percentage?: true
carte_redevance_min?: true
carte_prix_vendu?: true
monthly_min?: true
has_penetration_rate?: true
penetration_actuel?: true
is_commercial?: true
epgId?: true
uptele_no?: true
groupe_id?: true
ccsa_packageID?: true
rapport_bell?: true
}
export type Tele_channelMinAggregateInputType = {
id?: true
proprio?: true
poste?: true
pack_min?: true
pack_redevance?: true
pack_prix_vendu?: true
carte_percentage?: true
carte_redevance_min?: true
carte_prix_vendu?: true
monthly_min?: true
has_penetration_rate?: true
penetration_actuel?: true
is_commercial?: true
note?: true
epgId?: true
uptele_no?: true
uptele_code?: true
abbr?: true
groupe_id?: true
ccsa_packageID?: true
ccsa_desc?: true
rapport_bell?: true
}
export type Tele_channelMaxAggregateInputType = {
id?: true
proprio?: true
poste?: true
pack_min?: true
pack_redevance?: true
pack_prix_vendu?: true
carte_percentage?: true
carte_redevance_min?: true
carte_prix_vendu?: true
monthly_min?: true
has_penetration_rate?: true
penetration_actuel?: true
is_commercial?: true
note?: true
epgId?: true
uptele_no?: true
uptele_code?: true
abbr?: true
groupe_id?: true
ccsa_packageID?: true
ccsa_desc?: true
rapport_bell?: true
}
export type Tele_channelCountAggregateInputType = {
id?: true
proprio?: true
poste?: true
pack_min?: true
pack_redevance?: true
pack_prix_vendu?: true
carte_percentage?: true
carte_redevance_min?: true
carte_prix_vendu?: true
monthly_min?: true
has_penetration_rate?: true
penetration_actuel?: true
is_commercial?: true
note?: true
epgId?: true
uptele_no?: true
uptele_code?: true
abbr?: true
groupe_id?: true
ccsa_packageID?: true
ccsa_desc?: true
rapport_bell?: true
_all?: true
}
export type Tele_channelAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which tele_channel to aggregate.
*/
where?: Prisma.tele_channelWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tele_channels to fetch.
*/
orderBy?: Prisma.tele_channelOrderByWithRelationInput | Prisma.tele_channelOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.tele_channelWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tele_channels 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_channels.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned tele_channels
**/
_count?: true | Tele_channelCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Tele_channelAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Tele_channelSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Tele_channelMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Tele_channelMaxAggregateInputType
}
export type GetTele_channelAggregateType<T extends Tele_channelAggregateArgs> = {
[P in keyof T & keyof AggregateTele_channel]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateTele_channel[P]>
: Prisma.GetScalarType<T[P], AggregateTele_channel[P]>
}
export type tele_channelGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.tele_channelWhereInput
orderBy?: Prisma.tele_channelOrderByWithAggregationInput | Prisma.tele_channelOrderByWithAggregationInput[]
by: Prisma.Tele_channelScalarFieldEnum[] | Prisma.Tele_channelScalarFieldEnum
having?: Prisma.tele_channelScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Tele_channelCountAggregateInputType | true
_avg?: Tele_channelAvgAggregateInputType
_sum?: Tele_channelSumAggregateInputType
_min?: Tele_channelMinAggregateInputType
_max?: Tele_channelMaxAggregateInputType
}
export type Tele_channelGroupByOutputType = {
id: number
proprio: string
poste: string
pack_min: number
pack_redevance: runtime.Decimal
pack_prix_vendu: runtime.Decimal
carte_percentage: runtime.Decimal
carte_redevance_min: runtime.Decimal
carte_prix_vendu: runtime.Decimal
monthly_min: runtime.Decimal
has_penetration_rate: number
penetration_actuel: runtime.Decimal
is_commercial: number
note: string
epgId: number
uptele_no: number
uptele_code: string
abbr: string
groupe_id: number
ccsa_packageID: number
ccsa_desc: string
rapport_bell: number
_count: Tele_channelCountAggregateOutputType | null
_avg: Tele_channelAvgAggregateOutputType | null
_sum: Tele_channelSumAggregateOutputType | null
_min: Tele_channelMinAggregateOutputType | null
_max: Tele_channelMaxAggregateOutputType | null
}
type GetTele_channelGroupByPayload<T extends tele_channelGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Tele_channelGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Tele_channelGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Tele_channelGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Tele_channelGroupByOutputType[P]>
}
>
>
export type tele_channelWhereInput = {
AND?: Prisma.tele_channelWhereInput | Prisma.tele_channelWhereInput[]
OR?: Prisma.tele_channelWhereInput[]
NOT?: Prisma.tele_channelWhereInput | Prisma.tele_channelWhereInput[]
id?: Prisma.IntFilter<"tele_channel"> | number
proprio?: Prisma.StringFilter<"tele_channel"> | string
poste?: Prisma.StringFilter<"tele_channel"> | string
pack_min?: Prisma.IntFilter<"tele_channel"> | number
pack_redevance?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
pack_prix_vendu?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_percentage?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_redevance_min?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_prix_vendu?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
monthly_min?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
has_penetration_rate?: Prisma.IntFilter<"tele_channel"> | number
penetration_actuel?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
is_commercial?: Prisma.IntFilter<"tele_channel"> | number
note?: Prisma.StringFilter<"tele_channel"> | string
epgId?: Prisma.IntFilter<"tele_channel"> | number
uptele_no?: Prisma.IntFilter<"tele_channel"> | number
uptele_code?: Prisma.StringFilter<"tele_channel"> | string
abbr?: Prisma.StringFilter<"tele_channel"> | string
groupe_id?: Prisma.IntFilter<"tele_channel"> | number
ccsa_packageID?: Prisma.IntFilter<"tele_channel"> | number
ccsa_desc?: Prisma.StringFilter<"tele_channel"> | string
rapport_bell?: Prisma.IntFilter<"tele_channel"> | number
}
export type tele_channelOrderByWithRelationInput = {
id?: Prisma.SortOrder
proprio?: Prisma.SortOrder
poste?: Prisma.SortOrder
pack_min?: Prisma.SortOrder
pack_redevance?: Prisma.SortOrder
pack_prix_vendu?: Prisma.SortOrder
carte_percentage?: Prisma.SortOrder
carte_redevance_min?: Prisma.SortOrder
carte_prix_vendu?: Prisma.SortOrder
monthly_min?: Prisma.SortOrder
has_penetration_rate?: Prisma.SortOrder
penetration_actuel?: Prisma.SortOrder
is_commercial?: Prisma.SortOrder
note?: Prisma.SortOrder
epgId?: Prisma.SortOrder
uptele_no?: Prisma.SortOrder
uptele_code?: Prisma.SortOrder
abbr?: Prisma.SortOrder
groupe_id?: Prisma.SortOrder
ccsa_packageID?: Prisma.SortOrder
ccsa_desc?: Prisma.SortOrder
rapport_bell?: Prisma.SortOrder
_relevance?: Prisma.tele_channelOrderByRelevanceInput
}
export type tele_channelWhereUniqueInput = Prisma.AtLeast<{
id?: number
AND?: Prisma.tele_channelWhereInput | Prisma.tele_channelWhereInput[]
OR?: Prisma.tele_channelWhereInput[]
NOT?: Prisma.tele_channelWhereInput | Prisma.tele_channelWhereInput[]
proprio?: Prisma.StringFilter<"tele_channel"> | string
poste?: Prisma.StringFilter<"tele_channel"> | string
pack_min?: Prisma.IntFilter<"tele_channel"> | number
pack_redevance?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
pack_prix_vendu?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_percentage?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_redevance_min?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_prix_vendu?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
monthly_min?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
has_penetration_rate?: Prisma.IntFilter<"tele_channel"> | number
penetration_actuel?: Prisma.DecimalFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
is_commercial?: Prisma.IntFilter<"tele_channel"> | number
note?: Prisma.StringFilter<"tele_channel"> | string
epgId?: Prisma.IntFilter<"tele_channel"> | number
uptele_no?: Prisma.IntFilter<"tele_channel"> | number
uptele_code?: Prisma.StringFilter<"tele_channel"> | string
abbr?: Prisma.StringFilter<"tele_channel"> | string
groupe_id?: Prisma.IntFilter<"tele_channel"> | number
ccsa_packageID?: Prisma.IntFilter<"tele_channel"> | number
ccsa_desc?: Prisma.StringFilter<"tele_channel"> | string
rapport_bell?: Prisma.IntFilter<"tele_channel"> | number
}, "id">
export type tele_channelOrderByWithAggregationInput = {
id?: Prisma.SortOrder
proprio?: Prisma.SortOrder
poste?: Prisma.SortOrder
pack_min?: Prisma.SortOrder
pack_redevance?: Prisma.SortOrder
pack_prix_vendu?: Prisma.SortOrder
carte_percentage?: Prisma.SortOrder
carte_redevance_min?: Prisma.SortOrder
carte_prix_vendu?: Prisma.SortOrder
monthly_min?: Prisma.SortOrder
has_penetration_rate?: Prisma.SortOrder
penetration_actuel?: Prisma.SortOrder
is_commercial?: Prisma.SortOrder
note?: Prisma.SortOrder
epgId?: Prisma.SortOrder
uptele_no?: Prisma.SortOrder
uptele_code?: Prisma.SortOrder
abbr?: Prisma.SortOrder
groupe_id?: Prisma.SortOrder
ccsa_packageID?: Prisma.SortOrder
ccsa_desc?: Prisma.SortOrder
rapport_bell?: Prisma.SortOrder
_count?: Prisma.tele_channelCountOrderByAggregateInput
_avg?: Prisma.tele_channelAvgOrderByAggregateInput
_max?: Prisma.tele_channelMaxOrderByAggregateInput
_min?: Prisma.tele_channelMinOrderByAggregateInput
_sum?: Prisma.tele_channelSumOrderByAggregateInput
}
export type tele_channelScalarWhereWithAggregatesInput = {
AND?: Prisma.tele_channelScalarWhereWithAggregatesInput | Prisma.tele_channelScalarWhereWithAggregatesInput[]
OR?: Prisma.tele_channelScalarWhereWithAggregatesInput[]
NOT?: Prisma.tele_channelScalarWhereWithAggregatesInput | Prisma.tele_channelScalarWhereWithAggregatesInput[]
id?: Prisma.IntWithAggregatesFilter<"tele_channel"> | number
proprio?: Prisma.StringWithAggregatesFilter<"tele_channel"> | string
poste?: Prisma.StringWithAggregatesFilter<"tele_channel"> | string
pack_min?: Prisma.IntWithAggregatesFilter<"tele_channel"> | number
pack_redevance?: Prisma.DecimalWithAggregatesFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
pack_prix_vendu?: Prisma.DecimalWithAggregatesFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_percentage?: Prisma.DecimalWithAggregatesFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_redevance_min?: Prisma.DecimalWithAggregatesFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_prix_vendu?: Prisma.DecimalWithAggregatesFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
monthly_min?: Prisma.DecimalWithAggregatesFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
has_penetration_rate?: Prisma.IntWithAggregatesFilter<"tele_channel"> | number
penetration_actuel?: Prisma.DecimalWithAggregatesFilter<"tele_channel"> | runtime.Decimal | runtime.DecimalJsLike | number | string
is_commercial?: Prisma.IntWithAggregatesFilter<"tele_channel"> | number
note?: Prisma.StringWithAggregatesFilter<"tele_channel"> | string
epgId?: Prisma.IntWithAggregatesFilter<"tele_channel"> | number
uptele_no?: Prisma.IntWithAggregatesFilter<"tele_channel"> | number
uptele_code?: Prisma.StringWithAggregatesFilter<"tele_channel"> | string
abbr?: Prisma.StringWithAggregatesFilter<"tele_channel"> | string
groupe_id?: Prisma.IntWithAggregatesFilter<"tele_channel"> | number
ccsa_packageID?: Prisma.IntWithAggregatesFilter<"tele_channel"> | number
ccsa_desc?: Prisma.StringWithAggregatesFilter<"tele_channel"> | string
rapport_bell?: Prisma.IntWithAggregatesFilter<"tele_channel"> | number
}
export type tele_channelCreateInput = {
proprio: string
poste: string
pack_min?: number
pack_redevance?: runtime.Decimal | runtime.DecimalJsLike | number | string
pack_prix_vendu?: runtime.Decimal | runtime.DecimalJsLike | number | string
carte_percentage: runtime.Decimal | runtime.DecimalJsLike | number | string
carte_redevance_min: runtime.Decimal | runtime.DecimalJsLike | number | string
carte_prix_vendu: runtime.Decimal | runtime.DecimalJsLike | number | string
monthly_min?: runtime.Decimal | runtime.DecimalJsLike | number | string
has_penetration_rate?: number
penetration_actuel?: runtime.Decimal | runtime.DecimalJsLike | number | string
is_commercial?: number
note: string
epgId?: number
uptele_no: number
uptele_code: string
abbr: string
groupe_id?: number
ccsa_packageID: number
ccsa_desc: string
rapport_bell?: number
}
export type tele_channelUncheckedCreateInput = {
id?: number
proprio: string
poste: string
pack_min?: number
pack_redevance?: runtime.Decimal | runtime.DecimalJsLike | number | string
pack_prix_vendu?: runtime.Decimal | runtime.DecimalJsLike | number | string
carte_percentage: runtime.Decimal | runtime.DecimalJsLike | number | string
carte_redevance_min: runtime.Decimal | runtime.DecimalJsLike | number | string
carte_prix_vendu: runtime.Decimal | runtime.DecimalJsLike | number | string
monthly_min?: runtime.Decimal | runtime.DecimalJsLike | number | string
has_penetration_rate?: number
penetration_actuel?: runtime.Decimal | runtime.DecimalJsLike | number | string
is_commercial?: number
note: string
epgId?: number
uptele_no: number
uptele_code: string
abbr: string
groupe_id?: number
ccsa_packageID: number
ccsa_desc: string
rapport_bell?: number
}
export type tele_channelUpdateInput = {
proprio?: Prisma.StringFieldUpdateOperationsInput | string
poste?: Prisma.StringFieldUpdateOperationsInput | string
pack_min?: Prisma.IntFieldUpdateOperationsInput | number
pack_redevance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
pack_prix_vendu?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_percentage?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_redevance_min?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_prix_vendu?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
monthly_min?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
has_penetration_rate?: Prisma.IntFieldUpdateOperationsInput | number
penetration_actuel?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
is_commercial?: Prisma.IntFieldUpdateOperationsInput | number
note?: Prisma.StringFieldUpdateOperationsInput | string
epgId?: Prisma.IntFieldUpdateOperationsInput | number
uptele_no?: Prisma.IntFieldUpdateOperationsInput | number
uptele_code?: Prisma.StringFieldUpdateOperationsInput | string
abbr?: Prisma.StringFieldUpdateOperationsInput | string
groupe_id?: Prisma.IntFieldUpdateOperationsInput | number
ccsa_packageID?: Prisma.IntFieldUpdateOperationsInput | number
ccsa_desc?: Prisma.StringFieldUpdateOperationsInput | string
rapport_bell?: Prisma.IntFieldUpdateOperationsInput | number
}
export type tele_channelUncheckedUpdateInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
proprio?: Prisma.StringFieldUpdateOperationsInput | string
poste?: Prisma.StringFieldUpdateOperationsInput | string
pack_min?: Prisma.IntFieldUpdateOperationsInput | number
pack_redevance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
pack_prix_vendu?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_percentage?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_redevance_min?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_prix_vendu?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
monthly_min?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
has_penetration_rate?: Prisma.IntFieldUpdateOperationsInput | number
penetration_actuel?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
is_commercial?: Prisma.IntFieldUpdateOperationsInput | number
note?: Prisma.StringFieldUpdateOperationsInput | string
epgId?: Prisma.IntFieldUpdateOperationsInput | number
uptele_no?: Prisma.IntFieldUpdateOperationsInput | number
uptele_code?: Prisma.StringFieldUpdateOperationsInput | string
abbr?: Prisma.StringFieldUpdateOperationsInput | string
groupe_id?: Prisma.IntFieldUpdateOperationsInput | number
ccsa_packageID?: Prisma.IntFieldUpdateOperationsInput | number
ccsa_desc?: Prisma.StringFieldUpdateOperationsInput | string
rapport_bell?: Prisma.IntFieldUpdateOperationsInput | number
}
export type tele_channelCreateManyInput = {
id?: number
proprio: string
poste: string
pack_min?: number
pack_redevance?: runtime.Decimal | runtime.DecimalJsLike | number | string
pack_prix_vendu?: runtime.Decimal | runtime.DecimalJsLike | number | string
carte_percentage: runtime.Decimal | runtime.DecimalJsLike | number | string
carte_redevance_min: runtime.Decimal | runtime.DecimalJsLike | number | string
carte_prix_vendu: runtime.Decimal | runtime.DecimalJsLike | number | string
monthly_min?: runtime.Decimal | runtime.DecimalJsLike | number | string
has_penetration_rate?: number
penetration_actuel?: runtime.Decimal | runtime.DecimalJsLike | number | string
is_commercial?: number
note: string
epgId?: number
uptele_no: number
uptele_code: string
abbr: string
groupe_id?: number
ccsa_packageID: number
ccsa_desc: string
rapport_bell?: number
}
export type tele_channelUpdateManyMutationInput = {
proprio?: Prisma.StringFieldUpdateOperationsInput | string
poste?: Prisma.StringFieldUpdateOperationsInput | string
pack_min?: Prisma.IntFieldUpdateOperationsInput | number
pack_redevance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
pack_prix_vendu?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_percentage?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_redevance_min?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_prix_vendu?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
monthly_min?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
has_penetration_rate?: Prisma.IntFieldUpdateOperationsInput | number
penetration_actuel?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
is_commercial?: Prisma.IntFieldUpdateOperationsInput | number
note?: Prisma.StringFieldUpdateOperationsInput | string
epgId?: Prisma.IntFieldUpdateOperationsInput | number
uptele_no?: Prisma.IntFieldUpdateOperationsInput | number
uptele_code?: Prisma.StringFieldUpdateOperationsInput | string
abbr?: Prisma.StringFieldUpdateOperationsInput | string
groupe_id?: Prisma.IntFieldUpdateOperationsInput | number
ccsa_packageID?: Prisma.IntFieldUpdateOperationsInput | number
ccsa_desc?: Prisma.StringFieldUpdateOperationsInput | string
rapport_bell?: Prisma.IntFieldUpdateOperationsInput | number
}
export type tele_channelUncheckedUpdateManyInput = {
id?: Prisma.IntFieldUpdateOperationsInput | number
proprio?: Prisma.StringFieldUpdateOperationsInput | string
poste?: Prisma.StringFieldUpdateOperationsInput | string
pack_min?: Prisma.IntFieldUpdateOperationsInput | number
pack_redevance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
pack_prix_vendu?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_percentage?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_redevance_min?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
carte_prix_vendu?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
monthly_min?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
has_penetration_rate?: Prisma.IntFieldUpdateOperationsInput | number
penetration_actuel?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
is_commercial?: Prisma.IntFieldUpdateOperationsInput | number
note?: Prisma.StringFieldUpdateOperationsInput | string
epgId?: Prisma.IntFieldUpdateOperationsInput | number
uptele_no?: Prisma.IntFieldUpdateOperationsInput | number
uptele_code?: Prisma.StringFieldUpdateOperationsInput | string
abbr?: Prisma.StringFieldUpdateOperationsInput | string
groupe_id?: Prisma.IntFieldUpdateOperationsInput | number
ccsa_packageID?: Prisma.IntFieldUpdateOperationsInput | number
ccsa_desc?: Prisma.StringFieldUpdateOperationsInput | string
rapport_bell?: Prisma.IntFieldUpdateOperationsInput | number
}
export type tele_channelOrderByRelevanceInput = {
fields: Prisma.tele_channelOrderByRelevanceFieldEnum | Prisma.tele_channelOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type tele_channelCountOrderByAggregateInput = {
id?: Prisma.SortOrder
proprio?: Prisma.SortOrder
poste?: Prisma.SortOrder
pack_min?: Prisma.SortOrder
pack_redevance?: Prisma.SortOrder
pack_prix_vendu?: Prisma.SortOrder
carte_percentage?: Prisma.SortOrder
carte_redevance_min?: Prisma.SortOrder
carte_prix_vendu?: Prisma.SortOrder
monthly_min?: Prisma.SortOrder
has_penetration_rate?: Prisma.SortOrder
penetration_actuel?: Prisma.SortOrder
is_commercial?: Prisma.SortOrder
note?: Prisma.SortOrder
epgId?: Prisma.SortOrder
uptele_no?: Prisma.SortOrder
uptele_code?: Prisma.SortOrder
abbr?: Prisma.SortOrder
groupe_id?: Prisma.SortOrder
ccsa_packageID?: Prisma.SortOrder
ccsa_desc?: Prisma.SortOrder
rapport_bell?: Prisma.SortOrder
}
export type tele_channelAvgOrderByAggregateInput = {
id?: Prisma.SortOrder
pack_min?: Prisma.SortOrder
pack_redevance?: Prisma.SortOrder
pack_prix_vendu?: Prisma.SortOrder
carte_percentage?: Prisma.SortOrder
carte_redevance_min?: Prisma.SortOrder
carte_prix_vendu?: Prisma.SortOrder
monthly_min?: Prisma.SortOrder
has_penetration_rate?: Prisma.SortOrder
penetration_actuel?: Prisma.SortOrder
is_commercial?: Prisma.SortOrder
epgId?: Prisma.SortOrder
uptele_no?: Prisma.SortOrder
groupe_id?: Prisma.SortOrder
ccsa_packageID?: Prisma.SortOrder
rapport_bell?: Prisma.SortOrder
}
export type tele_channelMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
proprio?: Prisma.SortOrder
poste?: Prisma.SortOrder
pack_min?: Prisma.SortOrder
pack_redevance?: Prisma.SortOrder
pack_prix_vendu?: Prisma.SortOrder
carte_percentage?: Prisma.SortOrder
carte_redevance_min?: Prisma.SortOrder
carte_prix_vendu?: Prisma.SortOrder
monthly_min?: Prisma.SortOrder
has_penetration_rate?: Prisma.SortOrder
penetration_actuel?: Prisma.SortOrder
is_commercial?: Prisma.SortOrder
note?: Prisma.SortOrder
epgId?: Prisma.SortOrder
uptele_no?: Prisma.SortOrder
uptele_code?: Prisma.SortOrder
abbr?: Prisma.SortOrder
groupe_id?: Prisma.SortOrder
ccsa_packageID?: Prisma.SortOrder
ccsa_desc?: Prisma.SortOrder
rapport_bell?: Prisma.SortOrder
}
export type tele_channelMinOrderByAggregateInput = {
id?: Prisma.SortOrder
proprio?: Prisma.SortOrder
poste?: Prisma.SortOrder
pack_min?: Prisma.SortOrder
pack_redevance?: Prisma.SortOrder
pack_prix_vendu?: Prisma.SortOrder
carte_percentage?: Prisma.SortOrder
carte_redevance_min?: Prisma.SortOrder
carte_prix_vendu?: Prisma.SortOrder
monthly_min?: Prisma.SortOrder
has_penetration_rate?: Prisma.SortOrder
penetration_actuel?: Prisma.SortOrder
is_commercial?: Prisma.SortOrder
note?: Prisma.SortOrder
epgId?: Prisma.SortOrder
uptele_no?: Prisma.SortOrder
uptele_code?: Prisma.SortOrder
abbr?: Prisma.SortOrder
groupe_id?: Prisma.SortOrder
ccsa_packageID?: Prisma.SortOrder
ccsa_desc?: Prisma.SortOrder
rapport_bell?: Prisma.SortOrder
}
export type tele_channelSumOrderByAggregateInput = {
id?: Prisma.SortOrder
pack_min?: Prisma.SortOrder
pack_redevance?: Prisma.SortOrder
pack_prix_vendu?: Prisma.SortOrder
carte_percentage?: Prisma.SortOrder
carte_redevance_min?: Prisma.SortOrder
carte_prix_vendu?: Prisma.SortOrder
monthly_min?: Prisma.SortOrder
has_penetration_rate?: Prisma.SortOrder
penetration_actuel?: Prisma.SortOrder
is_commercial?: Prisma.SortOrder
epgId?: Prisma.SortOrder
uptele_no?: Prisma.SortOrder
groupe_id?: Prisma.SortOrder
ccsa_packageID?: Prisma.SortOrder
rapport_bell?: Prisma.SortOrder
}
export type tele_channelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
proprio?: boolean
poste?: boolean
pack_min?: boolean
pack_redevance?: boolean
pack_prix_vendu?: boolean
carte_percentage?: boolean
carte_redevance_min?: boolean
carte_prix_vendu?: boolean
monthly_min?: boolean
has_penetration_rate?: boolean
penetration_actuel?: boolean
is_commercial?: boolean
note?: boolean
epgId?: boolean
uptele_no?: boolean
uptele_code?: boolean
abbr?: boolean
groupe_id?: boolean
ccsa_packageID?: boolean
ccsa_desc?: boolean
rapport_bell?: boolean
}, ExtArgs["result"]["tele_channel"]>
export type tele_channelSelectScalar = {
id?: boolean
proprio?: boolean
poste?: boolean
pack_min?: boolean
pack_redevance?: boolean
pack_prix_vendu?: boolean
carte_percentage?: boolean
carte_redevance_min?: boolean
carte_prix_vendu?: boolean
monthly_min?: boolean
has_penetration_rate?: boolean
penetration_actuel?: boolean
is_commercial?: boolean
note?: boolean
epgId?: boolean
uptele_no?: boolean
uptele_code?: boolean
abbr?: boolean
groupe_id?: boolean
ccsa_packageID?: boolean
ccsa_desc?: boolean
rapport_bell?: boolean
}
export type tele_channelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "proprio" | "poste" | "pack_min" | "pack_redevance" | "pack_prix_vendu" | "carte_percentage" | "carte_redevance_min" | "carte_prix_vendu" | "monthly_min" | "has_penetration_rate" | "penetration_actuel" | "is_commercial" | "note" | "epgId" | "uptele_no" | "uptele_code" | "abbr" | "groupe_id" | "ccsa_packageID" | "ccsa_desc" | "rapport_bell", ExtArgs["result"]["tele_channel"]>
export type $tele_channelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "tele_channel"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: number
proprio: string
poste: string
pack_min: number
pack_redevance: runtime.Decimal
pack_prix_vendu: runtime.Decimal
carte_percentage: runtime.Decimal
carte_redevance_min: runtime.Decimal
carte_prix_vendu: runtime.Decimal
monthly_min: runtime.Decimal
has_penetration_rate: number
penetration_actuel: runtime.Decimal
is_commercial: number
note: string
epgId: number
uptele_no: number
uptele_code: string
abbr: string
groupe_id: number
ccsa_packageID: number
ccsa_desc: string
rapport_bell: number
}, ExtArgs["result"]["tele_channel"]>
composites: {}
}
export type tele_channelGetPayload<S extends boolean | null | undefined | tele_channelDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$tele_channelPayload, S>
export type tele_channelCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<tele_channelFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Tele_channelCountAggregateInputType | true
}
export interface tele_channelDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['tele_channel'], meta: { name: 'tele_channel' } }
/**
* Find zero or one Tele_channel that matches the filter.
* @param {tele_channelFindUniqueArgs} args - Arguments to find a Tele_channel
* @example
* // Get one Tele_channel
* const tele_channel = await prisma.tele_channel.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends tele_channelFindUniqueArgs>(args: Prisma.SelectSubset<T, tele_channelFindUniqueArgs<ExtArgs>>): Prisma.Prisma__tele_channelClient<runtime.Types.Result.GetResult<Prisma.$tele_channelPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Tele_channel that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {tele_channelFindUniqueOrThrowArgs} args - Arguments to find a Tele_channel
* @example
* // Get one Tele_channel
* const tele_channel = await prisma.tele_channel.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends tele_channelFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, tele_channelFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__tele_channelClient<runtime.Types.Result.GetResult<Prisma.$tele_channelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Tele_channel 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_channelFindFirstArgs} args - Arguments to find a Tele_channel
* @example
* // Get one Tele_channel
* const tele_channel = await prisma.tele_channel.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends tele_channelFindFirstArgs>(args?: Prisma.SelectSubset<T, tele_channelFindFirstArgs<ExtArgs>>): Prisma.Prisma__tele_channelClient<runtime.Types.Result.GetResult<Prisma.$tele_channelPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Tele_channel 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_channelFindFirstOrThrowArgs} args - Arguments to find a Tele_channel
* @example
* // Get one Tele_channel
* const tele_channel = await prisma.tele_channel.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends tele_channelFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, tele_channelFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__tele_channelClient<runtime.Types.Result.GetResult<Prisma.$tele_channelPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Tele_channels 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_channelFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Tele_channels
* const tele_channels = await prisma.tele_channel.findMany()
*
* // Get first 10 Tele_channels
* const tele_channels = await prisma.tele_channel.findMany({ take: 10 })
*
* // Only select the `id`
* const tele_channelWithIdOnly = await prisma.tele_channel.findMany({ select: { id: true } })
*
*/
findMany<T extends tele_channelFindManyArgs>(args?: Prisma.SelectSubset<T, tele_channelFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$tele_channelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Tele_channel.
* @param {tele_channelCreateArgs} args - Arguments to create a Tele_channel.
* @example
* // Create one Tele_channel
* const Tele_channel = await prisma.tele_channel.create({
* data: {
* // ... data to create a Tele_channel
* }
* })
*
*/
create<T extends tele_channelCreateArgs>(args: Prisma.SelectSubset<T, tele_channelCreateArgs<ExtArgs>>): Prisma.Prisma__tele_channelClient<runtime.Types.Result.GetResult<Prisma.$tele_channelPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Tele_channels.
* @param {tele_channelCreateManyArgs} args - Arguments to create many Tele_channels.
* @example
* // Create many Tele_channels
* const tele_channel = await prisma.tele_channel.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends tele_channelCreateManyArgs>(args?: Prisma.SelectSubset<T, tele_channelCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a Tele_channel.
* @param {tele_channelDeleteArgs} args - Arguments to delete one Tele_channel.
* @example
* // Delete one Tele_channel
* const Tele_channel = await prisma.tele_channel.delete({
* where: {
* // ... filter to delete one Tele_channel
* }
* })
*
*/
delete<T extends tele_channelDeleteArgs>(args: Prisma.SelectSubset<T, tele_channelDeleteArgs<ExtArgs>>): Prisma.Prisma__tele_channelClient<runtime.Types.Result.GetResult<Prisma.$tele_channelPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Tele_channel.
* @param {tele_channelUpdateArgs} args - Arguments to update one Tele_channel.
* @example
* // Update one Tele_channel
* const tele_channel = await prisma.tele_channel.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends tele_channelUpdateArgs>(args: Prisma.SelectSubset<T, tele_channelUpdateArgs<ExtArgs>>): Prisma.Prisma__tele_channelClient<runtime.Types.Result.GetResult<Prisma.$tele_channelPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Tele_channels.
* @param {tele_channelDeleteManyArgs} args - Arguments to filter Tele_channels to delete.
* @example
* // Delete a few Tele_channels
* const { count } = await prisma.tele_channel.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends tele_channelDeleteManyArgs>(args?: Prisma.SelectSubset<T, tele_channelDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Tele_channels.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {tele_channelUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Tele_channels
* const tele_channel = await prisma.tele_channel.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends tele_channelUpdateManyArgs>(args: Prisma.SelectSubset<T, tele_channelUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one Tele_channel.
* @param {tele_channelUpsertArgs} args - Arguments to update or create a Tele_channel.
* @example
* // Update or create a Tele_channel
* const tele_channel = await prisma.tele_channel.upsert({
* create: {
* // ... data to create a Tele_channel
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Tele_channel we want to update
* }
* })
*/
upsert<T extends tele_channelUpsertArgs>(args: Prisma.SelectSubset<T, tele_channelUpsertArgs<ExtArgs>>): Prisma.Prisma__tele_channelClient<runtime.Types.Result.GetResult<Prisma.$tele_channelPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Tele_channels.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {tele_channelCountArgs} args - Arguments to filter Tele_channels to count.
* @example
* // Count the number of Tele_channels
* const count = await prisma.tele_channel.count({
* where: {
* // ... the filter for the Tele_channels we want to count
* }
* })
**/
count<T extends tele_channelCountArgs>(
args?: Prisma.Subset<T, tele_channelCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Tele_channelCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Tele_channel.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Tele_channelAggregateArgs} 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_channelAggregateArgs>(args: Prisma.Subset<T, Tele_channelAggregateArgs>): Prisma.PrismaPromise<GetTele_channelAggregateType<T>>
/**
* Group by Tele_channel.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {tele_channelGroupByArgs} 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_channelGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: tele_channelGroupByArgs['orderBy'] }
: { orderBy?: tele_channelGroupByArgs['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_channelGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTele_channelGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the tele_channel model
*/
readonly fields: tele_channelFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for tele_channel.
* 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_channelClient<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_channel model
*/
export interface tele_channelFieldRefs {
readonly id: Prisma.FieldRef<"tele_channel", 'Int'>
readonly proprio: Prisma.FieldRef<"tele_channel", 'String'>
readonly poste: Prisma.FieldRef<"tele_channel", 'String'>
readonly pack_min: Prisma.FieldRef<"tele_channel", 'Int'>
readonly pack_redevance: Prisma.FieldRef<"tele_channel", 'Decimal'>
readonly pack_prix_vendu: Prisma.FieldRef<"tele_channel", 'Decimal'>
readonly carte_percentage: Prisma.FieldRef<"tele_channel", 'Decimal'>
readonly carte_redevance_min: Prisma.FieldRef<"tele_channel", 'Decimal'>
readonly carte_prix_vendu: Prisma.FieldRef<"tele_channel", 'Decimal'>
readonly monthly_min: Prisma.FieldRef<"tele_channel", 'Decimal'>
readonly has_penetration_rate: Prisma.FieldRef<"tele_channel", 'Int'>
readonly penetration_actuel: Prisma.FieldRef<"tele_channel", 'Decimal'>
readonly is_commercial: Prisma.FieldRef<"tele_channel", 'Int'>
readonly note: Prisma.FieldRef<"tele_channel", 'String'>
readonly epgId: Prisma.FieldRef<"tele_channel", 'Int'>
readonly uptele_no: Prisma.FieldRef<"tele_channel", 'Int'>
readonly uptele_code: Prisma.FieldRef<"tele_channel", 'String'>
readonly abbr: Prisma.FieldRef<"tele_channel", 'String'>
readonly groupe_id: Prisma.FieldRef<"tele_channel", 'Int'>
readonly ccsa_packageID: Prisma.FieldRef<"tele_channel", 'Int'>
readonly ccsa_desc: Prisma.FieldRef<"tele_channel", 'String'>
readonly rapport_bell: Prisma.FieldRef<"tele_channel", 'Int'>
}
// Custom InputTypes
/**
* tele_channel findUnique
*/
export type tele_channelFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_channel
*/
select?: Prisma.tele_channelSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_channel
*/
omit?: Prisma.tele_channelOmit<ExtArgs> | null
/**
* Filter, which tele_channel to fetch.
*/
where: Prisma.tele_channelWhereUniqueInput
}
/**
* tele_channel findUniqueOrThrow
*/
export type tele_channelFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_channel
*/
select?: Prisma.tele_channelSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_channel
*/
omit?: Prisma.tele_channelOmit<ExtArgs> | null
/**
* Filter, which tele_channel to fetch.
*/
where: Prisma.tele_channelWhereUniqueInput
}
/**
* tele_channel findFirst
*/
export type tele_channelFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_channel
*/
select?: Prisma.tele_channelSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_channel
*/
omit?: Prisma.tele_channelOmit<ExtArgs> | null
/**
* Filter, which tele_channel to fetch.
*/
where?: Prisma.tele_channelWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tele_channels to fetch.
*/
orderBy?: Prisma.tele_channelOrderByWithRelationInput | Prisma.tele_channelOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for tele_channels.
*/
cursor?: Prisma.tele_channelWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tele_channels 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_channels.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of tele_channels.
*/
distinct?: Prisma.Tele_channelScalarFieldEnum | Prisma.Tele_channelScalarFieldEnum[]
}
/**
* tele_channel findFirstOrThrow
*/
export type tele_channelFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_channel
*/
select?: Prisma.tele_channelSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_channel
*/
omit?: Prisma.tele_channelOmit<ExtArgs> | null
/**
* Filter, which tele_channel to fetch.
*/
where?: Prisma.tele_channelWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tele_channels to fetch.
*/
orderBy?: Prisma.tele_channelOrderByWithRelationInput | Prisma.tele_channelOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for tele_channels.
*/
cursor?: Prisma.tele_channelWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tele_channels 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_channels.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of tele_channels.
*/
distinct?: Prisma.Tele_channelScalarFieldEnum | Prisma.Tele_channelScalarFieldEnum[]
}
/**
* tele_channel findMany
*/
export type tele_channelFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_channel
*/
select?: Prisma.tele_channelSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_channel
*/
omit?: Prisma.tele_channelOmit<ExtArgs> | null
/**
* Filter, which tele_channels to fetch.
*/
where?: Prisma.tele_channelWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of tele_channels to fetch.
*/
orderBy?: Prisma.tele_channelOrderByWithRelationInput | Prisma.tele_channelOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing tele_channels.
*/
cursor?: Prisma.tele_channelWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` tele_channels 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_channels.
*/
skip?: number
distinct?: Prisma.Tele_channelScalarFieldEnum | Prisma.Tele_channelScalarFieldEnum[]
}
/**
* tele_channel create
*/
export type tele_channelCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_channel
*/
select?: Prisma.tele_channelSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_channel
*/
omit?: Prisma.tele_channelOmit<ExtArgs> | null
/**
* The data needed to create a tele_channel.
*/
data: Prisma.XOR<Prisma.tele_channelCreateInput, Prisma.tele_channelUncheckedCreateInput>
}
/**
* tele_channel createMany
*/
export type tele_channelCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many tele_channels.
*/
data: Prisma.tele_channelCreateManyInput | Prisma.tele_channelCreateManyInput[]
skipDuplicates?: boolean
}
/**
* tele_channel update
*/
export type tele_channelUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_channel
*/
select?: Prisma.tele_channelSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_channel
*/
omit?: Prisma.tele_channelOmit<ExtArgs> | null
/**
* The data needed to update a tele_channel.
*/
data: Prisma.XOR<Prisma.tele_channelUpdateInput, Prisma.tele_channelUncheckedUpdateInput>
/**
* Choose, which tele_channel to update.
*/
where: Prisma.tele_channelWhereUniqueInput
}
/**
* tele_channel updateMany
*/
export type tele_channelUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update tele_channels.
*/
data: Prisma.XOR<Prisma.tele_channelUpdateManyMutationInput, Prisma.tele_channelUncheckedUpdateManyInput>
/**
* Filter which tele_channels to update
*/
where?: Prisma.tele_channelWhereInput
/**
* Limit how many tele_channels to update.
*/
limit?: number
}
/**
* tele_channel upsert
*/
export type tele_channelUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_channel
*/
select?: Prisma.tele_channelSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_channel
*/
omit?: Prisma.tele_channelOmit<ExtArgs> | null
/**
* The filter to search for the tele_channel to update in case it exists.
*/
where: Prisma.tele_channelWhereUniqueInput
/**
* In case the tele_channel found by the `where` argument doesn't exist, create a new tele_channel with this data.
*/
create: Prisma.XOR<Prisma.tele_channelCreateInput, Prisma.tele_channelUncheckedCreateInput>
/**
* In case the tele_channel was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.tele_channelUpdateInput, Prisma.tele_channelUncheckedUpdateInput>
}
/**
* tele_channel delete
*/
export type tele_channelDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_channel
*/
select?: Prisma.tele_channelSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_channel
*/
omit?: Prisma.tele_channelOmit<ExtArgs> | null
/**
* Filter which tele_channel to delete.
*/
where: Prisma.tele_channelWhereUniqueInput
}
/**
* tele_channel deleteMany
*/
export type tele_channelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which tele_channels to delete
*/
where?: Prisma.tele_channelWhereInput
/**
* Limit how many tele_channels to delete.
*/
limit?: number
}
/**
* tele_channel without action
*/
export type tele_channelDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the tele_channel
*/
select?: Prisma.tele_channelSelect<ExtArgs> | null
/**
* Omit specific fields from the tele_channel
*/
omit?: Prisma.tele_channelOmit<ExtArgs> | null
}