Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/AdminCallParticipant.ts
T

1462 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 `AdminCallParticipant` model and its related types.
*
* 🟢 You can import this file directly.
*/
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums.ts"
import type * as Prisma from "../internal/prismaNamespace.ts"
/**
* Model AdminCallParticipant
*
*/
export type AdminCallParticipantModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminCallParticipantPayload>
export type AggregateAdminCallParticipant = {
_count: AdminCallParticipantCountAggregateOutputType | null
_min: AdminCallParticipantMinAggregateOutputType | null
_max: AdminCallParticipantMaxAggregateOutputType | null
}
export type AdminCallParticipantMinAggregateOutputType = {
id: string | null
createdAt: Date | null
adminUserId: string | null
callSessionId: string | null
kind: $Enums.AdminCallParticipantKind | null
externalId: string | null
displayName: string | null
phone: string | null
}
export type AdminCallParticipantMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
adminUserId: string | null
callSessionId: string | null
kind: $Enums.AdminCallParticipantKind | null
externalId: string | null
displayName: string | null
phone: string | null
}
export type AdminCallParticipantCountAggregateOutputType = {
id: number
createdAt: number
adminUserId: number
callSessionId: number
kind: number
externalId: number
displayName: number
phone: number
_all: number
}
export type AdminCallParticipantMinAggregateInputType = {
id?: true
createdAt?: true
adminUserId?: true
callSessionId?: true
kind?: true
externalId?: true
displayName?: true
phone?: true
}
export type AdminCallParticipantMaxAggregateInputType = {
id?: true
createdAt?: true
adminUserId?: true
callSessionId?: true
kind?: true
externalId?: true
displayName?: true
phone?: true
}
export type AdminCallParticipantCountAggregateInputType = {
id?: true
createdAt?: true
adminUserId?: true
callSessionId?: true
kind?: true
externalId?: true
displayName?: true
phone?: true
_all?: true
}
export type AdminCallParticipantAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminCallParticipant to aggregate.
*/
where?: Prisma.AdminCallParticipantWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminCallParticipants to fetch.
*/
orderBy?: Prisma.AdminCallParticipantOrderByWithRelationInput | Prisma.AdminCallParticipantOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AdminCallParticipantWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminCallParticipants 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` AdminCallParticipants.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AdminCallParticipants
**/
_count?: true | AdminCallParticipantCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AdminCallParticipantMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AdminCallParticipantMaxAggregateInputType
}
export type GetAdminCallParticipantAggregateType<T extends AdminCallParticipantAggregateArgs> = {
[P in keyof T & keyof AggregateAdminCallParticipant]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAdminCallParticipant[P]>
: Prisma.GetScalarType<T[P], AggregateAdminCallParticipant[P]>
}
export type AdminCallParticipantGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AdminCallParticipantWhereInput
orderBy?: Prisma.AdminCallParticipantOrderByWithAggregationInput | Prisma.AdminCallParticipantOrderByWithAggregationInput[]
by: Prisma.AdminCallParticipantScalarFieldEnum[] | Prisma.AdminCallParticipantScalarFieldEnum
having?: Prisma.AdminCallParticipantScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AdminCallParticipantCountAggregateInputType | true
_min?: AdminCallParticipantMinAggregateInputType
_max?: AdminCallParticipantMaxAggregateInputType
}
export type AdminCallParticipantGroupByOutputType = {
id: string
createdAt: Date
adminUserId: string
callSessionId: string
kind: $Enums.AdminCallParticipantKind
externalId: string | null
displayName: string | null
phone: string
_count: AdminCallParticipantCountAggregateOutputType | null
_min: AdminCallParticipantMinAggregateOutputType | null
_max: AdminCallParticipantMaxAggregateOutputType | null
}
export type GetAdminCallParticipantGroupByPayload<T extends AdminCallParticipantGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AdminCallParticipantGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AdminCallParticipantGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AdminCallParticipantGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AdminCallParticipantGroupByOutputType[P]>
}
>
>
export type AdminCallParticipantWhereInput = {
AND?: Prisma.AdminCallParticipantWhereInput | Prisma.AdminCallParticipantWhereInput[]
OR?: Prisma.AdminCallParticipantWhereInput[]
NOT?: Prisma.AdminCallParticipantWhereInput | Prisma.AdminCallParticipantWhereInput[]
id?: Prisma.StringFilter<"AdminCallParticipant"> | string
createdAt?: Prisma.DateTimeFilter<"AdminCallParticipant"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminCallParticipant"> | string
callSessionId?: Prisma.StringFilter<"AdminCallParticipant"> | string
kind?: Prisma.EnumAdminCallParticipantKindFilter<"AdminCallParticipant"> | $Enums.AdminCallParticipantKind
externalId?: Prisma.StringNullableFilter<"AdminCallParticipant"> | string | null
displayName?: Prisma.StringNullableFilter<"AdminCallParticipant"> | string | null
phone?: Prisma.StringFilter<"AdminCallParticipant"> | string
callSession?: Prisma.XOR<Prisma.AdminCallSessionScalarRelationFilter, Prisma.AdminCallSessionWhereInput>
}
export type AdminCallParticipantOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
callSessionId?: Prisma.SortOrder
kind?: Prisma.SortOrder
externalId?: Prisma.SortOrderInput | Prisma.SortOrder
displayName?: Prisma.SortOrderInput | Prisma.SortOrder
phone?: Prisma.SortOrder
callSession?: Prisma.AdminCallSessionOrderByWithRelationInput
}
export type AdminCallParticipantWhereUniqueInput = Prisma.AtLeast<{
id?: string
admin_call_participant_identity_key?: Prisma.AdminCallParticipantAdmin_call_participant_identity_keyCompoundUniqueInput
AND?: Prisma.AdminCallParticipantWhereInput | Prisma.AdminCallParticipantWhereInput[]
OR?: Prisma.AdminCallParticipantWhereInput[]
NOT?: Prisma.AdminCallParticipantWhereInput | Prisma.AdminCallParticipantWhereInput[]
createdAt?: Prisma.DateTimeFilter<"AdminCallParticipant"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminCallParticipant"> | string
callSessionId?: Prisma.StringFilter<"AdminCallParticipant"> | string
kind?: Prisma.EnumAdminCallParticipantKindFilter<"AdminCallParticipant"> | $Enums.AdminCallParticipantKind
externalId?: Prisma.StringNullableFilter<"AdminCallParticipant"> | string | null
displayName?: Prisma.StringNullableFilter<"AdminCallParticipant"> | string | null
phone?: Prisma.StringFilter<"AdminCallParticipant"> | string
callSession?: Prisma.XOR<Prisma.AdminCallSessionScalarRelationFilter, Prisma.AdminCallSessionWhereInput>
}, "id" | "admin_call_participant_identity_key">
export type AdminCallParticipantOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
callSessionId?: Prisma.SortOrder
kind?: Prisma.SortOrder
externalId?: Prisma.SortOrderInput | Prisma.SortOrder
displayName?: Prisma.SortOrderInput | Prisma.SortOrder
phone?: Prisma.SortOrder
_count?: Prisma.AdminCallParticipantCountOrderByAggregateInput
_max?: Prisma.AdminCallParticipantMaxOrderByAggregateInput
_min?: Prisma.AdminCallParticipantMinOrderByAggregateInput
}
export type AdminCallParticipantScalarWhereWithAggregatesInput = {
AND?: Prisma.AdminCallParticipantScalarWhereWithAggregatesInput | Prisma.AdminCallParticipantScalarWhereWithAggregatesInput[]
OR?: Prisma.AdminCallParticipantScalarWhereWithAggregatesInput[]
NOT?: Prisma.AdminCallParticipantScalarWhereWithAggregatesInput | Prisma.AdminCallParticipantScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AdminCallParticipant"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminCallParticipant"> | Date | string
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminCallParticipant"> | string
callSessionId?: Prisma.StringWithAggregatesFilter<"AdminCallParticipant"> | string
kind?: Prisma.EnumAdminCallParticipantKindWithAggregatesFilter<"AdminCallParticipant"> | $Enums.AdminCallParticipantKind
externalId?: Prisma.StringNullableWithAggregatesFilter<"AdminCallParticipant"> | string | null
displayName?: Prisma.StringNullableWithAggregatesFilter<"AdminCallParticipant"> | string | null
phone?: Prisma.StringWithAggregatesFilter<"AdminCallParticipant"> | string
}
export type AdminCallParticipantCreateInput = {
id?: string
createdAt?: Date | string
adminUserId: string
kind: $Enums.AdminCallParticipantKind
externalId?: string | null
displayName?: string | null
phone: string
callSession: Prisma.AdminCallSessionCreateNestedOneWithoutParticipantsInput
}
export type AdminCallParticipantUncheckedCreateInput = {
id?: string
createdAt?: Date | string
adminUserId: string
callSessionId: string
kind: $Enums.AdminCallParticipantKind
externalId?: string | null
displayName?: string | null
phone: string
}
export type AdminCallParticipantUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAdminCallParticipantKindFieldUpdateOperationsInput | $Enums.AdminCallParticipantKind
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
phone?: Prisma.StringFieldUpdateOperationsInput | string
callSession?: Prisma.AdminCallSessionUpdateOneRequiredWithoutParticipantsNestedInput
}
export type AdminCallParticipantUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
callSessionId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAdminCallParticipantKindFieldUpdateOperationsInput | $Enums.AdminCallParticipantKind
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
phone?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminCallParticipantCreateManyInput = {
id?: string
createdAt?: Date | string
adminUserId: string
callSessionId: string
kind: $Enums.AdminCallParticipantKind
externalId?: string | null
displayName?: string | null
phone: string
}
export type AdminCallParticipantUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAdminCallParticipantKindFieldUpdateOperationsInput | $Enums.AdminCallParticipantKind
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
phone?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminCallParticipantUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
callSessionId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAdminCallParticipantKindFieldUpdateOperationsInput | $Enums.AdminCallParticipantKind
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
phone?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminCallParticipantListRelationFilter = {
every?: Prisma.AdminCallParticipantWhereInput
some?: Prisma.AdminCallParticipantWhereInput
none?: Prisma.AdminCallParticipantWhereInput
}
export type AdminCallParticipantOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AdminCallParticipantAdmin_call_participant_identity_keyCompoundUniqueInput = {
callSessionId: string
kind: $Enums.AdminCallParticipantKind
phone: string
}
export type AdminCallParticipantCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
callSessionId?: Prisma.SortOrder
kind?: Prisma.SortOrder
externalId?: Prisma.SortOrder
displayName?: Prisma.SortOrder
phone?: Prisma.SortOrder
}
export type AdminCallParticipantMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
callSessionId?: Prisma.SortOrder
kind?: Prisma.SortOrder
externalId?: Prisma.SortOrder
displayName?: Prisma.SortOrder
phone?: Prisma.SortOrder
}
export type AdminCallParticipantMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
adminUserId?: Prisma.SortOrder
callSessionId?: Prisma.SortOrder
kind?: Prisma.SortOrder
externalId?: Prisma.SortOrder
displayName?: Prisma.SortOrder
phone?: Prisma.SortOrder
}
export type AdminCallParticipantCreateNestedManyWithoutCallSessionInput = {
create?: Prisma.XOR<Prisma.AdminCallParticipantCreateWithoutCallSessionInput, Prisma.AdminCallParticipantUncheckedCreateWithoutCallSessionInput> | Prisma.AdminCallParticipantCreateWithoutCallSessionInput[] | Prisma.AdminCallParticipantUncheckedCreateWithoutCallSessionInput[]
connectOrCreate?: Prisma.AdminCallParticipantCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallParticipantCreateOrConnectWithoutCallSessionInput[]
createMany?: Prisma.AdminCallParticipantCreateManyCallSessionInputEnvelope
connect?: Prisma.AdminCallParticipantWhereUniqueInput | Prisma.AdminCallParticipantWhereUniqueInput[]
}
export type AdminCallParticipantUncheckedCreateNestedManyWithoutCallSessionInput = {
create?: Prisma.XOR<Prisma.AdminCallParticipantCreateWithoutCallSessionInput, Prisma.AdminCallParticipantUncheckedCreateWithoutCallSessionInput> | Prisma.AdminCallParticipantCreateWithoutCallSessionInput[] | Prisma.AdminCallParticipantUncheckedCreateWithoutCallSessionInput[]
connectOrCreate?: Prisma.AdminCallParticipantCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallParticipantCreateOrConnectWithoutCallSessionInput[]
createMany?: Prisma.AdminCallParticipantCreateManyCallSessionInputEnvelope
connect?: Prisma.AdminCallParticipantWhereUniqueInput | Prisma.AdminCallParticipantWhereUniqueInput[]
}
export type AdminCallParticipantUpdateManyWithoutCallSessionNestedInput = {
create?: Prisma.XOR<Prisma.AdminCallParticipantCreateWithoutCallSessionInput, Prisma.AdminCallParticipantUncheckedCreateWithoutCallSessionInput> | Prisma.AdminCallParticipantCreateWithoutCallSessionInput[] | Prisma.AdminCallParticipantUncheckedCreateWithoutCallSessionInput[]
connectOrCreate?: Prisma.AdminCallParticipantCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallParticipantCreateOrConnectWithoutCallSessionInput[]
upsert?: Prisma.AdminCallParticipantUpsertWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallParticipantUpsertWithWhereUniqueWithoutCallSessionInput[]
createMany?: Prisma.AdminCallParticipantCreateManyCallSessionInputEnvelope
set?: Prisma.AdminCallParticipantWhereUniqueInput | Prisma.AdminCallParticipantWhereUniqueInput[]
disconnect?: Prisma.AdminCallParticipantWhereUniqueInput | Prisma.AdminCallParticipantWhereUniqueInput[]
delete?: Prisma.AdminCallParticipantWhereUniqueInput | Prisma.AdminCallParticipantWhereUniqueInput[]
connect?: Prisma.AdminCallParticipantWhereUniqueInput | Prisma.AdminCallParticipantWhereUniqueInput[]
update?: Prisma.AdminCallParticipantUpdateWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallParticipantUpdateWithWhereUniqueWithoutCallSessionInput[]
updateMany?: Prisma.AdminCallParticipantUpdateManyWithWhereWithoutCallSessionInput | Prisma.AdminCallParticipantUpdateManyWithWhereWithoutCallSessionInput[]
deleteMany?: Prisma.AdminCallParticipantScalarWhereInput | Prisma.AdminCallParticipantScalarWhereInput[]
}
export type AdminCallParticipantUncheckedUpdateManyWithoutCallSessionNestedInput = {
create?: Prisma.XOR<Prisma.AdminCallParticipantCreateWithoutCallSessionInput, Prisma.AdminCallParticipantUncheckedCreateWithoutCallSessionInput> | Prisma.AdminCallParticipantCreateWithoutCallSessionInput[] | Prisma.AdminCallParticipantUncheckedCreateWithoutCallSessionInput[]
connectOrCreate?: Prisma.AdminCallParticipantCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallParticipantCreateOrConnectWithoutCallSessionInput[]
upsert?: Prisma.AdminCallParticipantUpsertWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallParticipantUpsertWithWhereUniqueWithoutCallSessionInput[]
createMany?: Prisma.AdminCallParticipantCreateManyCallSessionInputEnvelope
set?: Prisma.AdminCallParticipantWhereUniqueInput | Prisma.AdminCallParticipantWhereUniqueInput[]
disconnect?: Prisma.AdminCallParticipantWhereUniqueInput | Prisma.AdminCallParticipantWhereUniqueInput[]
delete?: Prisma.AdminCallParticipantWhereUniqueInput | Prisma.AdminCallParticipantWhereUniqueInput[]
connect?: Prisma.AdminCallParticipantWhereUniqueInput | Prisma.AdminCallParticipantWhereUniqueInput[]
update?: Prisma.AdminCallParticipantUpdateWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallParticipantUpdateWithWhereUniqueWithoutCallSessionInput[]
updateMany?: Prisma.AdminCallParticipantUpdateManyWithWhereWithoutCallSessionInput | Prisma.AdminCallParticipantUpdateManyWithWhereWithoutCallSessionInput[]
deleteMany?: Prisma.AdminCallParticipantScalarWhereInput | Prisma.AdminCallParticipantScalarWhereInput[]
}
export type EnumAdminCallParticipantKindFieldUpdateOperationsInput = {
set?: $Enums.AdminCallParticipantKind
}
export type AdminCallParticipantCreateWithoutCallSessionInput = {
id?: string
createdAt?: Date | string
adminUserId: string
kind: $Enums.AdminCallParticipantKind
externalId?: string | null
displayName?: string | null
phone: string
}
export type AdminCallParticipantUncheckedCreateWithoutCallSessionInput = {
id?: string
createdAt?: Date | string
adminUserId: string
kind: $Enums.AdminCallParticipantKind
externalId?: string | null
displayName?: string | null
phone: string
}
export type AdminCallParticipantCreateOrConnectWithoutCallSessionInput = {
where: Prisma.AdminCallParticipantWhereUniqueInput
create: Prisma.XOR<Prisma.AdminCallParticipantCreateWithoutCallSessionInput, Prisma.AdminCallParticipantUncheckedCreateWithoutCallSessionInput>
}
export type AdminCallParticipantCreateManyCallSessionInputEnvelope = {
data: Prisma.AdminCallParticipantCreateManyCallSessionInput | Prisma.AdminCallParticipantCreateManyCallSessionInput[]
skipDuplicates?: boolean
}
export type AdminCallParticipantUpsertWithWhereUniqueWithoutCallSessionInput = {
where: Prisma.AdminCallParticipantWhereUniqueInput
update: Prisma.XOR<Prisma.AdminCallParticipantUpdateWithoutCallSessionInput, Prisma.AdminCallParticipantUncheckedUpdateWithoutCallSessionInput>
create: Prisma.XOR<Prisma.AdminCallParticipantCreateWithoutCallSessionInput, Prisma.AdminCallParticipantUncheckedCreateWithoutCallSessionInput>
}
export type AdminCallParticipantUpdateWithWhereUniqueWithoutCallSessionInput = {
where: Prisma.AdminCallParticipantWhereUniqueInput
data: Prisma.XOR<Prisma.AdminCallParticipantUpdateWithoutCallSessionInput, Prisma.AdminCallParticipantUncheckedUpdateWithoutCallSessionInput>
}
export type AdminCallParticipantUpdateManyWithWhereWithoutCallSessionInput = {
where: Prisma.AdminCallParticipantScalarWhereInput
data: Prisma.XOR<Prisma.AdminCallParticipantUpdateManyMutationInput, Prisma.AdminCallParticipantUncheckedUpdateManyWithoutCallSessionInput>
}
export type AdminCallParticipantScalarWhereInput = {
AND?: Prisma.AdminCallParticipantScalarWhereInput | Prisma.AdminCallParticipantScalarWhereInput[]
OR?: Prisma.AdminCallParticipantScalarWhereInput[]
NOT?: Prisma.AdminCallParticipantScalarWhereInput | Prisma.AdminCallParticipantScalarWhereInput[]
id?: Prisma.StringFilter<"AdminCallParticipant"> | string
createdAt?: Prisma.DateTimeFilter<"AdminCallParticipant"> | Date | string
adminUserId?: Prisma.StringFilter<"AdminCallParticipant"> | string
callSessionId?: Prisma.StringFilter<"AdminCallParticipant"> | string
kind?: Prisma.EnumAdminCallParticipantKindFilter<"AdminCallParticipant"> | $Enums.AdminCallParticipantKind
externalId?: Prisma.StringNullableFilter<"AdminCallParticipant"> | string | null
displayName?: Prisma.StringNullableFilter<"AdminCallParticipant"> | string | null
phone?: Prisma.StringFilter<"AdminCallParticipant"> | string
}
export type AdminCallParticipantCreateManyCallSessionInput = {
id?: string
createdAt?: Date | string
adminUserId: string
kind: $Enums.AdminCallParticipantKind
externalId?: string | null
displayName?: string | null
phone: string
}
export type AdminCallParticipantUpdateWithoutCallSessionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAdminCallParticipantKindFieldUpdateOperationsInput | $Enums.AdminCallParticipantKind
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
phone?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminCallParticipantUncheckedUpdateWithoutCallSessionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAdminCallParticipantKindFieldUpdateOperationsInput | $Enums.AdminCallParticipantKind
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
phone?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminCallParticipantUncheckedUpdateManyWithoutCallSessionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAdminCallParticipantKindFieldUpdateOperationsInput | $Enums.AdminCallParticipantKind
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
phone?: Prisma.StringFieldUpdateOperationsInput | string
}
export type AdminCallParticipantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
adminUserId?: boolean
callSessionId?: boolean
kind?: boolean
externalId?: boolean
displayName?: boolean
phone?: boolean
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminCallParticipant"]>
export type AdminCallParticipantSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
adminUserId?: boolean
callSessionId?: boolean
kind?: boolean
externalId?: boolean
displayName?: boolean
phone?: boolean
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminCallParticipant"]>
export type AdminCallParticipantSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
adminUserId?: boolean
callSessionId?: boolean
kind?: boolean
externalId?: boolean
displayName?: boolean
phone?: boolean
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["adminCallParticipant"]>
export type AdminCallParticipantSelectScalar = {
id?: boolean
createdAt?: boolean
adminUserId?: boolean
callSessionId?: boolean
kind?: boolean
externalId?: boolean
displayName?: boolean
phone?: boolean
}
export type AdminCallParticipantOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "adminUserId" | "callSessionId" | "kind" | "externalId" | "displayName" | "phone", ExtArgs["result"]["adminCallParticipant"]>
export type AdminCallParticipantInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
}
export type AdminCallParticipantIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
}
export type AdminCallParticipantIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
callSession?: boolean | Prisma.AdminCallSessionDefaultArgs<ExtArgs>
}
export type $AdminCallParticipantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AdminCallParticipant"
objects: {
callSession: Prisma.$AdminCallSessionPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
adminUserId: string
callSessionId: string
kind: $Enums.AdminCallParticipantKind
externalId: string | null
displayName: string | null
phone: string
}, ExtArgs["result"]["adminCallParticipant"]>
composites: {}
}
export type AdminCallParticipantGetPayload<S extends boolean | null | undefined | AdminCallParticipantDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload, S>
export type AdminCallParticipantCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AdminCallParticipantFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AdminCallParticipantCountAggregateInputType | true
}
export interface AdminCallParticipantDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminCallParticipant'], meta: { name: 'AdminCallParticipant' } }
/**
* Find zero or one AdminCallParticipant that matches the filter.
* @param {AdminCallParticipantFindUniqueArgs} args - Arguments to find a AdminCallParticipant
* @example
* // Get one AdminCallParticipant
* const adminCallParticipant = await prisma.adminCallParticipant.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AdminCallParticipantFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminCallParticipantFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminCallParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AdminCallParticipant that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AdminCallParticipantFindUniqueOrThrowArgs} args - Arguments to find a AdminCallParticipant
* @example
* // Get one AdminCallParticipant
* const adminCallParticipant = await prisma.adminCallParticipant.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AdminCallParticipantFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminCallParticipantFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminCallParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminCallParticipant 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 {AdminCallParticipantFindFirstArgs} args - Arguments to find a AdminCallParticipant
* @example
* // Get one AdminCallParticipant
* const adminCallParticipant = await prisma.adminCallParticipant.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AdminCallParticipantFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminCallParticipantFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminCallParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AdminCallParticipant 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 {AdminCallParticipantFindFirstOrThrowArgs} args - Arguments to find a AdminCallParticipant
* @example
* // Get one AdminCallParticipant
* const adminCallParticipant = await prisma.adminCallParticipant.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AdminCallParticipantFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminCallParticipantFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminCallParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AdminCallParticipants 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 {AdminCallParticipantFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AdminCallParticipants
* const adminCallParticipants = await prisma.adminCallParticipant.findMany()
*
* // Get first 10 AdminCallParticipants
* const adminCallParticipants = await prisma.adminCallParticipant.findMany({ take: 10 })
*
* // Only select the `id`
* const adminCallParticipantWithIdOnly = await prisma.adminCallParticipant.findMany({ select: { id: true } })
*
*/
findMany<T extends AdminCallParticipantFindManyArgs>(args?: Prisma.SelectSubset<T, AdminCallParticipantFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AdminCallParticipant.
* @param {AdminCallParticipantCreateArgs} args - Arguments to create a AdminCallParticipant.
* @example
* // Create one AdminCallParticipant
* const AdminCallParticipant = await prisma.adminCallParticipant.create({
* data: {
* // ... data to create a AdminCallParticipant
* }
* })
*
*/
create<T extends AdminCallParticipantCreateArgs>(args: Prisma.SelectSubset<T, AdminCallParticipantCreateArgs<ExtArgs>>): Prisma.Prisma__AdminCallParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AdminCallParticipants.
* @param {AdminCallParticipantCreateManyArgs} args - Arguments to create many AdminCallParticipants.
* @example
* // Create many AdminCallParticipants
* const adminCallParticipant = await prisma.adminCallParticipant.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AdminCallParticipantCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminCallParticipantCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AdminCallParticipants and returns the data saved in the database.
* @param {AdminCallParticipantCreateManyAndReturnArgs} args - Arguments to create many AdminCallParticipants.
* @example
* // Create many AdminCallParticipants
* const adminCallParticipant = await prisma.adminCallParticipant.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AdminCallParticipants and only return the `id`
* const adminCallParticipantWithIdOnly = await prisma.adminCallParticipant.createManyAndReturn({
* select: { id: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends AdminCallParticipantCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminCallParticipantCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AdminCallParticipant.
* @param {AdminCallParticipantDeleteArgs} args - Arguments to delete one AdminCallParticipant.
* @example
* // Delete one AdminCallParticipant
* const AdminCallParticipant = await prisma.adminCallParticipant.delete({
* where: {
* // ... filter to delete one AdminCallParticipant
* }
* })
*
*/
delete<T extends AdminCallParticipantDeleteArgs>(args: Prisma.SelectSubset<T, AdminCallParticipantDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminCallParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AdminCallParticipant.
* @param {AdminCallParticipantUpdateArgs} args - Arguments to update one AdminCallParticipant.
* @example
* // Update one AdminCallParticipant
* const adminCallParticipant = await prisma.adminCallParticipant.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AdminCallParticipantUpdateArgs>(args: Prisma.SelectSubset<T, AdminCallParticipantUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminCallParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AdminCallParticipants.
* @param {AdminCallParticipantDeleteManyArgs} args - Arguments to filter AdminCallParticipants to delete.
* @example
* // Delete a few AdminCallParticipants
* const { count } = await prisma.adminCallParticipant.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AdminCallParticipantDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminCallParticipantDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminCallParticipants.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminCallParticipantUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AdminCallParticipants
* const adminCallParticipant = await prisma.adminCallParticipant.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AdminCallParticipantUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminCallParticipantUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AdminCallParticipants and returns the data updated in the database.
* @param {AdminCallParticipantUpdateManyAndReturnArgs} args - Arguments to update many AdminCallParticipants.
* @example
* // Update many AdminCallParticipants
* const adminCallParticipant = await prisma.adminCallParticipant.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AdminCallParticipants and only return the `id`
* const adminCallParticipantWithIdOnly = await prisma.adminCallParticipant.updateManyAndReturn({
* select: { id: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends AdminCallParticipantUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminCallParticipantUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AdminCallParticipant.
* @param {AdminCallParticipantUpsertArgs} args - Arguments to update or create a AdminCallParticipant.
* @example
* // Update or create a AdminCallParticipant
* const adminCallParticipant = await prisma.adminCallParticipant.upsert({
* create: {
* // ... data to create a AdminCallParticipant
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AdminCallParticipant we want to update
* }
* })
*/
upsert<T extends AdminCallParticipantUpsertArgs>(args: Prisma.SelectSubset<T, AdminCallParticipantUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminCallParticipantClient<runtime.Types.Result.GetResult<Prisma.$AdminCallParticipantPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AdminCallParticipants.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminCallParticipantCountArgs} args - Arguments to filter AdminCallParticipants to count.
* @example
* // Count the number of AdminCallParticipants
* const count = await prisma.adminCallParticipant.count({
* where: {
* // ... the filter for the AdminCallParticipants we want to count
* }
* })
**/
count<T extends AdminCallParticipantCountArgs>(
args?: Prisma.Subset<T, AdminCallParticipantCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AdminCallParticipantCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AdminCallParticipant.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminCallParticipantAggregateArgs} 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 AdminCallParticipantAggregateArgs>(args: Prisma.Subset<T, AdminCallParticipantAggregateArgs>): Prisma.PrismaPromise<GetAdminCallParticipantAggregateType<T>>
/**
* Group by AdminCallParticipant.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AdminCallParticipantGroupByArgs} 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 AdminCallParticipantGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AdminCallParticipantGroupByArgs['orderBy'] }
: { orderBy?: AdminCallParticipantGroupByArgs['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, AdminCallParticipantGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminCallParticipantGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AdminCallParticipant model
*/
readonly fields: AdminCallParticipantFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AdminCallParticipant.
* 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__AdminCallParticipantClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
callSession<T extends Prisma.AdminCallSessionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminCallSessionDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminCallSessionClient<runtime.Types.Result.GetResult<Prisma.$AdminCallSessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<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 AdminCallParticipant model
*/
export interface AdminCallParticipantFieldRefs {
readonly id: Prisma.FieldRef<"AdminCallParticipant", 'String'>
readonly createdAt: Prisma.FieldRef<"AdminCallParticipant", 'DateTime'>
readonly adminUserId: Prisma.FieldRef<"AdminCallParticipant", 'String'>
readonly callSessionId: Prisma.FieldRef<"AdminCallParticipant", 'String'>
readonly kind: Prisma.FieldRef<"AdminCallParticipant", 'AdminCallParticipantKind'>
readonly externalId: Prisma.FieldRef<"AdminCallParticipant", 'String'>
readonly displayName: Prisma.FieldRef<"AdminCallParticipant", 'String'>
readonly phone: Prisma.FieldRef<"AdminCallParticipant", 'String'>
}
// Custom InputTypes
/**
* AdminCallParticipant findUnique
*/
export type AdminCallParticipantFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
/**
* Filter, which AdminCallParticipant to fetch.
*/
where: Prisma.AdminCallParticipantWhereUniqueInput
}
/**
* AdminCallParticipant findUniqueOrThrow
*/
export type AdminCallParticipantFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
/**
* Filter, which AdminCallParticipant to fetch.
*/
where: Prisma.AdminCallParticipantWhereUniqueInput
}
/**
* AdminCallParticipant findFirst
*/
export type AdminCallParticipantFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
/**
* Filter, which AdminCallParticipant to fetch.
*/
where?: Prisma.AdminCallParticipantWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminCallParticipants to fetch.
*/
orderBy?: Prisma.AdminCallParticipantOrderByWithRelationInput | Prisma.AdminCallParticipantOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminCallParticipants.
*/
cursor?: Prisma.AdminCallParticipantWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminCallParticipants 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` AdminCallParticipants.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminCallParticipants.
*/
distinct?: Prisma.AdminCallParticipantScalarFieldEnum | Prisma.AdminCallParticipantScalarFieldEnum[]
}
/**
* AdminCallParticipant findFirstOrThrow
*/
export type AdminCallParticipantFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
/**
* Filter, which AdminCallParticipant to fetch.
*/
where?: Prisma.AdminCallParticipantWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminCallParticipants to fetch.
*/
orderBy?: Prisma.AdminCallParticipantOrderByWithRelationInput | Prisma.AdminCallParticipantOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AdminCallParticipants.
*/
cursor?: Prisma.AdminCallParticipantWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminCallParticipants 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` AdminCallParticipants.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminCallParticipants.
*/
distinct?: Prisma.AdminCallParticipantScalarFieldEnum | Prisma.AdminCallParticipantScalarFieldEnum[]
}
/**
* AdminCallParticipant findMany
*/
export type AdminCallParticipantFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
/**
* Filter, which AdminCallParticipants to fetch.
*/
where?: Prisma.AdminCallParticipantWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AdminCallParticipants to fetch.
*/
orderBy?: Prisma.AdminCallParticipantOrderByWithRelationInput | Prisma.AdminCallParticipantOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AdminCallParticipants.
*/
cursor?: Prisma.AdminCallParticipantWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AdminCallParticipants 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` AdminCallParticipants.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AdminCallParticipants.
*/
distinct?: Prisma.AdminCallParticipantScalarFieldEnum | Prisma.AdminCallParticipantScalarFieldEnum[]
}
/**
* AdminCallParticipant create
*/
export type AdminCallParticipantCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
/**
* The data needed to create a AdminCallParticipant.
*/
data: Prisma.XOR<Prisma.AdminCallParticipantCreateInput, Prisma.AdminCallParticipantUncheckedCreateInput>
}
/**
* AdminCallParticipant createMany
*/
export type AdminCallParticipantCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AdminCallParticipants.
*/
data: Prisma.AdminCallParticipantCreateManyInput | Prisma.AdminCallParticipantCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AdminCallParticipant createManyAndReturn
*/
export type AdminCallParticipantCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* The data used to create many AdminCallParticipants.
*/
data: Prisma.AdminCallParticipantCreateManyInput | Prisma.AdminCallParticipantCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AdminCallParticipant update
*/
export type AdminCallParticipantUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
/**
* The data needed to update a AdminCallParticipant.
*/
data: Prisma.XOR<Prisma.AdminCallParticipantUpdateInput, Prisma.AdminCallParticipantUncheckedUpdateInput>
/**
* Choose, which AdminCallParticipant to update.
*/
where: Prisma.AdminCallParticipantWhereUniqueInput
}
/**
* AdminCallParticipant updateMany
*/
export type AdminCallParticipantUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AdminCallParticipants.
*/
data: Prisma.XOR<Prisma.AdminCallParticipantUpdateManyMutationInput, Prisma.AdminCallParticipantUncheckedUpdateManyInput>
/**
* Filter which AdminCallParticipants to update
*/
where?: Prisma.AdminCallParticipantWhereInput
/**
* Limit how many AdminCallParticipants to update.
*/
limit?: number
}
/**
* AdminCallParticipant updateManyAndReturn
*/
export type AdminCallParticipantUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* The data used to update AdminCallParticipants.
*/
data: Prisma.XOR<Prisma.AdminCallParticipantUpdateManyMutationInput, Prisma.AdminCallParticipantUncheckedUpdateManyInput>
/**
* Filter which AdminCallParticipants to update
*/
where?: Prisma.AdminCallParticipantWhereInput
/**
* Limit how many AdminCallParticipants to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* AdminCallParticipant upsert
*/
export type AdminCallParticipantUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
/**
* The filter to search for the AdminCallParticipant to update in case it exists.
*/
where: Prisma.AdminCallParticipantWhereUniqueInput
/**
* In case the AdminCallParticipant found by the `where` argument doesn't exist, create a new AdminCallParticipant with this data.
*/
create: Prisma.XOR<Prisma.AdminCallParticipantCreateInput, Prisma.AdminCallParticipantUncheckedCreateInput>
/**
* In case the AdminCallParticipant was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AdminCallParticipantUpdateInput, Prisma.AdminCallParticipantUncheckedUpdateInput>
}
/**
* AdminCallParticipant delete
*/
export type AdminCallParticipantDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
/**
* Filter which AdminCallParticipant to delete.
*/
where: Prisma.AdminCallParticipantWhereUniqueInput
}
/**
* AdminCallParticipant deleteMany
*/
export type AdminCallParticipantDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AdminCallParticipants to delete
*/
where?: Prisma.AdminCallParticipantWhereInput
/**
* Limit how many AdminCallParticipants to delete.
*/
limit?: number
}
/**
* AdminCallParticipant without action
*/
export type AdminCallParticipantDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AdminCallParticipant
*/
select?: Prisma.AdminCallParticipantSelect<ExtArgs> | null
/**
* Omit specific fields from the AdminCallParticipant
*/
omit?: Prisma.AdminCallParticipantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AdminCallParticipantInclude<ExtArgs> | null
}