/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AdminCallEvent` 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 AdminCallEvent * */ export type AdminCallEventModel = runtime.Types.Result.DefaultSelection export type AggregateAdminCallEvent = { _count: AdminCallEventCountAggregateOutputType | null _avg: AdminCallEventAvgAggregateOutputType | null _sum: AdminCallEventSumAggregateOutputType | null _min: AdminCallEventMinAggregateOutputType | null _max: AdminCallEventMaxAggregateOutputType | null } export type AdminCallEventAvgAggregateOutputType = { durationSeconds: number | null } export type AdminCallEventSumAggregateOutputType = { durationSeconds: number | null } export type AdminCallEventMinAggregateOutputType = { id: string | null createdAt: Date | null adminUserId: string | null callSessionId: string | null dedupeKey: string | null providerEvent: string | null status: $Enums.AdminCallStatus | null occurredAt: Date | null durationSeconds: number | null } export type AdminCallEventMaxAggregateOutputType = { id: string | null createdAt: Date | null adminUserId: string | null callSessionId: string | null dedupeKey: string | null providerEvent: string | null status: $Enums.AdminCallStatus | null occurredAt: Date | null durationSeconds: number | null } export type AdminCallEventCountAggregateOutputType = { id: number createdAt: number adminUserId: number callSessionId: number dedupeKey: number providerEvent: number status: number occurredAt: number durationSeconds: number _all: number } export type AdminCallEventAvgAggregateInputType = { durationSeconds?: true } export type AdminCallEventSumAggregateInputType = { durationSeconds?: true } export type AdminCallEventMinAggregateInputType = { id?: true createdAt?: true adminUserId?: true callSessionId?: true dedupeKey?: true providerEvent?: true status?: true occurredAt?: true durationSeconds?: true } export type AdminCallEventMaxAggregateInputType = { id?: true createdAt?: true adminUserId?: true callSessionId?: true dedupeKey?: true providerEvent?: true status?: true occurredAt?: true durationSeconds?: true } export type AdminCallEventCountAggregateInputType = { id?: true createdAt?: true adminUserId?: true callSessionId?: true dedupeKey?: true providerEvent?: true status?: true occurredAt?: true durationSeconds?: true _all?: true } export type AdminCallEventAggregateArgs = { /** * Filter which AdminCallEvent to aggregate. */ where?: Prisma.AdminCallEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminCallEvents to fetch. */ orderBy?: Prisma.AdminCallEventOrderByWithRelationInput | Prisma.AdminCallEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AdminCallEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminCallEvents 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` AdminCallEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AdminCallEvents **/ _count?: true | AdminCallEventCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AdminCallEventAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AdminCallEventSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AdminCallEventMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AdminCallEventMaxAggregateInputType } export type GetAdminCallEventAggregateType = { [P in keyof T & keyof AggregateAdminCallEvent]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AdminCallEventGroupByArgs = { where?: Prisma.AdminCallEventWhereInput orderBy?: Prisma.AdminCallEventOrderByWithAggregationInput | Prisma.AdminCallEventOrderByWithAggregationInput[] by: Prisma.AdminCallEventScalarFieldEnum[] | Prisma.AdminCallEventScalarFieldEnum having?: Prisma.AdminCallEventScalarWhereWithAggregatesInput take?: number skip?: number _count?: AdminCallEventCountAggregateInputType | true _avg?: AdminCallEventAvgAggregateInputType _sum?: AdminCallEventSumAggregateInputType _min?: AdminCallEventMinAggregateInputType _max?: AdminCallEventMaxAggregateInputType } export type AdminCallEventGroupByOutputType = { id: string createdAt: Date adminUserId: string callSessionId: string dedupeKey: string providerEvent: string status: $Enums.AdminCallStatus occurredAt: Date durationSeconds: number | null _count: AdminCallEventCountAggregateOutputType | null _avg: AdminCallEventAvgAggregateOutputType | null _sum: AdminCallEventSumAggregateOutputType | null _min: AdminCallEventMinAggregateOutputType | null _max: AdminCallEventMaxAggregateOutputType | null } export type GetAdminCallEventGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AdminCallEventGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AdminCallEventWhereInput = { AND?: Prisma.AdminCallEventWhereInput | Prisma.AdminCallEventWhereInput[] OR?: Prisma.AdminCallEventWhereInput[] NOT?: Prisma.AdminCallEventWhereInput | Prisma.AdminCallEventWhereInput[] id?: Prisma.StringFilter<"AdminCallEvent"> | string createdAt?: Prisma.DateTimeFilter<"AdminCallEvent"> | Date | string adminUserId?: Prisma.StringFilter<"AdminCallEvent"> | string callSessionId?: Prisma.StringFilter<"AdminCallEvent"> | string dedupeKey?: Prisma.StringFilter<"AdminCallEvent"> | string providerEvent?: Prisma.StringFilter<"AdminCallEvent"> | string status?: Prisma.EnumAdminCallStatusFilter<"AdminCallEvent"> | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeFilter<"AdminCallEvent"> | Date | string durationSeconds?: Prisma.IntNullableFilter<"AdminCallEvent"> | number | null callSession?: Prisma.XOR } export type AdminCallEventOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder callSessionId?: Prisma.SortOrder dedupeKey?: Prisma.SortOrder providerEvent?: Prisma.SortOrder status?: Prisma.SortOrder occurredAt?: Prisma.SortOrder durationSeconds?: Prisma.SortOrderInput | Prisma.SortOrder callSession?: Prisma.AdminCallSessionOrderByWithRelationInput } export type AdminCallEventWhereUniqueInput = Prisma.AtLeast<{ id?: string dedupeKey?: string AND?: Prisma.AdminCallEventWhereInput | Prisma.AdminCallEventWhereInput[] OR?: Prisma.AdminCallEventWhereInput[] NOT?: Prisma.AdminCallEventWhereInput | Prisma.AdminCallEventWhereInput[] createdAt?: Prisma.DateTimeFilter<"AdminCallEvent"> | Date | string adminUserId?: Prisma.StringFilter<"AdminCallEvent"> | string callSessionId?: Prisma.StringFilter<"AdminCallEvent"> | string providerEvent?: Prisma.StringFilter<"AdminCallEvent"> | string status?: Prisma.EnumAdminCallStatusFilter<"AdminCallEvent"> | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeFilter<"AdminCallEvent"> | Date | string durationSeconds?: Prisma.IntNullableFilter<"AdminCallEvent"> | number | null callSession?: Prisma.XOR }, "id" | "dedupeKey"> export type AdminCallEventOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder callSessionId?: Prisma.SortOrder dedupeKey?: Prisma.SortOrder providerEvent?: Prisma.SortOrder status?: Prisma.SortOrder occurredAt?: Prisma.SortOrder durationSeconds?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AdminCallEventCountOrderByAggregateInput _avg?: Prisma.AdminCallEventAvgOrderByAggregateInput _max?: Prisma.AdminCallEventMaxOrderByAggregateInput _min?: Prisma.AdminCallEventMinOrderByAggregateInput _sum?: Prisma.AdminCallEventSumOrderByAggregateInput } export type AdminCallEventScalarWhereWithAggregatesInput = { AND?: Prisma.AdminCallEventScalarWhereWithAggregatesInput | Prisma.AdminCallEventScalarWhereWithAggregatesInput[] OR?: Prisma.AdminCallEventScalarWhereWithAggregatesInput[] NOT?: Prisma.AdminCallEventScalarWhereWithAggregatesInput | Prisma.AdminCallEventScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AdminCallEvent"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminCallEvent"> | Date | string adminUserId?: Prisma.StringWithAggregatesFilter<"AdminCallEvent"> | string callSessionId?: Prisma.StringWithAggregatesFilter<"AdminCallEvent"> | string dedupeKey?: Prisma.StringWithAggregatesFilter<"AdminCallEvent"> | string providerEvent?: Prisma.StringWithAggregatesFilter<"AdminCallEvent"> | string status?: Prisma.EnumAdminCallStatusWithAggregatesFilter<"AdminCallEvent"> | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeWithAggregatesFilter<"AdminCallEvent"> | Date | string durationSeconds?: Prisma.IntNullableWithAggregatesFilter<"AdminCallEvent"> | number | null } export type AdminCallEventCreateInput = { id?: string createdAt?: Date | string adminUserId: string dedupeKey: string providerEvent: string status: $Enums.AdminCallStatus occurredAt: Date | string durationSeconds?: number | null callSession: Prisma.AdminCallSessionCreateNestedOneWithoutEventsInput } export type AdminCallEventUncheckedCreateInput = { id?: string createdAt?: Date | string adminUserId: string callSessionId: string dedupeKey: string providerEvent: string status: $Enums.AdminCallStatus occurredAt: Date | string durationSeconds?: number | null } export type AdminCallEventUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string providerEvent?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null callSession?: Prisma.AdminCallSessionUpdateOneRequiredWithoutEventsNestedInput } export type AdminCallEventUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string callSessionId?: Prisma.StringFieldUpdateOperationsInput | string dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string providerEvent?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type AdminCallEventCreateManyInput = { id?: string createdAt?: Date | string adminUserId: string callSessionId: string dedupeKey: string providerEvent: string status: $Enums.AdminCallStatus occurredAt: Date | string durationSeconds?: number | null } export type AdminCallEventUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string providerEvent?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type AdminCallEventUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string callSessionId?: Prisma.StringFieldUpdateOperationsInput | string dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string providerEvent?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type AdminCallEventListRelationFilter = { every?: Prisma.AdminCallEventWhereInput some?: Prisma.AdminCallEventWhereInput none?: Prisma.AdminCallEventWhereInput } export type AdminCallEventOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AdminCallEventCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder callSessionId?: Prisma.SortOrder dedupeKey?: Prisma.SortOrder providerEvent?: Prisma.SortOrder status?: Prisma.SortOrder occurredAt?: Prisma.SortOrder durationSeconds?: Prisma.SortOrder } export type AdminCallEventAvgOrderByAggregateInput = { durationSeconds?: Prisma.SortOrder } export type AdminCallEventMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder callSessionId?: Prisma.SortOrder dedupeKey?: Prisma.SortOrder providerEvent?: Prisma.SortOrder status?: Prisma.SortOrder occurredAt?: Prisma.SortOrder durationSeconds?: Prisma.SortOrder } export type AdminCallEventMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder callSessionId?: Prisma.SortOrder dedupeKey?: Prisma.SortOrder providerEvent?: Prisma.SortOrder status?: Prisma.SortOrder occurredAt?: Prisma.SortOrder durationSeconds?: Prisma.SortOrder } export type AdminCallEventSumOrderByAggregateInput = { durationSeconds?: Prisma.SortOrder } export type AdminCallEventCreateNestedManyWithoutCallSessionInput = { create?: Prisma.XOR | Prisma.AdminCallEventCreateWithoutCallSessionInput[] | Prisma.AdminCallEventUncheckedCreateWithoutCallSessionInput[] connectOrCreate?: Prisma.AdminCallEventCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallEventCreateOrConnectWithoutCallSessionInput[] createMany?: Prisma.AdminCallEventCreateManyCallSessionInputEnvelope connect?: Prisma.AdminCallEventWhereUniqueInput | Prisma.AdminCallEventWhereUniqueInput[] } export type AdminCallEventUncheckedCreateNestedManyWithoutCallSessionInput = { create?: Prisma.XOR | Prisma.AdminCallEventCreateWithoutCallSessionInput[] | Prisma.AdminCallEventUncheckedCreateWithoutCallSessionInput[] connectOrCreate?: Prisma.AdminCallEventCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallEventCreateOrConnectWithoutCallSessionInput[] createMany?: Prisma.AdminCallEventCreateManyCallSessionInputEnvelope connect?: Prisma.AdminCallEventWhereUniqueInput | Prisma.AdminCallEventWhereUniqueInput[] } export type AdminCallEventUpdateManyWithoutCallSessionNestedInput = { create?: Prisma.XOR | Prisma.AdminCallEventCreateWithoutCallSessionInput[] | Prisma.AdminCallEventUncheckedCreateWithoutCallSessionInput[] connectOrCreate?: Prisma.AdminCallEventCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallEventCreateOrConnectWithoutCallSessionInput[] upsert?: Prisma.AdminCallEventUpsertWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallEventUpsertWithWhereUniqueWithoutCallSessionInput[] createMany?: Prisma.AdminCallEventCreateManyCallSessionInputEnvelope set?: Prisma.AdminCallEventWhereUniqueInput | Prisma.AdminCallEventWhereUniqueInput[] disconnect?: Prisma.AdminCallEventWhereUniqueInput | Prisma.AdminCallEventWhereUniqueInput[] delete?: Prisma.AdminCallEventWhereUniqueInput | Prisma.AdminCallEventWhereUniqueInput[] connect?: Prisma.AdminCallEventWhereUniqueInput | Prisma.AdminCallEventWhereUniqueInput[] update?: Prisma.AdminCallEventUpdateWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallEventUpdateWithWhereUniqueWithoutCallSessionInput[] updateMany?: Prisma.AdminCallEventUpdateManyWithWhereWithoutCallSessionInput | Prisma.AdminCallEventUpdateManyWithWhereWithoutCallSessionInput[] deleteMany?: Prisma.AdminCallEventScalarWhereInput | Prisma.AdminCallEventScalarWhereInput[] } export type AdminCallEventUncheckedUpdateManyWithoutCallSessionNestedInput = { create?: Prisma.XOR | Prisma.AdminCallEventCreateWithoutCallSessionInput[] | Prisma.AdminCallEventUncheckedCreateWithoutCallSessionInput[] connectOrCreate?: Prisma.AdminCallEventCreateOrConnectWithoutCallSessionInput | Prisma.AdminCallEventCreateOrConnectWithoutCallSessionInput[] upsert?: Prisma.AdminCallEventUpsertWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallEventUpsertWithWhereUniqueWithoutCallSessionInput[] createMany?: Prisma.AdminCallEventCreateManyCallSessionInputEnvelope set?: Prisma.AdminCallEventWhereUniqueInput | Prisma.AdminCallEventWhereUniqueInput[] disconnect?: Prisma.AdminCallEventWhereUniqueInput | Prisma.AdminCallEventWhereUniqueInput[] delete?: Prisma.AdminCallEventWhereUniqueInput | Prisma.AdminCallEventWhereUniqueInput[] connect?: Prisma.AdminCallEventWhereUniqueInput | Prisma.AdminCallEventWhereUniqueInput[] update?: Prisma.AdminCallEventUpdateWithWhereUniqueWithoutCallSessionInput | Prisma.AdminCallEventUpdateWithWhereUniqueWithoutCallSessionInput[] updateMany?: Prisma.AdminCallEventUpdateManyWithWhereWithoutCallSessionInput | Prisma.AdminCallEventUpdateManyWithWhereWithoutCallSessionInput[] deleteMany?: Prisma.AdminCallEventScalarWhereInput | Prisma.AdminCallEventScalarWhereInput[] } export type AdminCallEventCreateWithoutCallSessionInput = { id?: string createdAt?: Date | string adminUserId: string dedupeKey: string providerEvent: string status: $Enums.AdminCallStatus occurredAt: Date | string durationSeconds?: number | null } export type AdminCallEventUncheckedCreateWithoutCallSessionInput = { id?: string createdAt?: Date | string adminUserId: string dedupeKey: string providerEvent: string status: $Enums.AdminCallStatus occurredAt: Date | string durationSeconds?: number | null } export type AdminCallEventCreateOrConnectWithoutCallSessionInput = { where: Prisma.AdminCallEventWhereUniqueInput create: Prisma.XOR } export type AdminCallEventCreateManyCallSessionInputEnvelope = { data: Prisma.AdminCallEventCreateManyCallSessionInput | Prisma.AdminCallEventCreateManyCallSessionInput[] skipDuplicates?: boolean } export type AdminCallEventUpsertWithWhereUniqueWithoutCallSessionInput = { where: Prisma.AdminCallEventWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminCallEventUpdateWithWhereUniqueWithoutCallSessionInput = { where: Prisma.AdminCallEventWhereUniqueInput data: Prisma.XOR } export type AdminCallEventUpdateManyWithWhereWithoutCallSessionInput = { where: Prisma.AdminCallEventScalarWhereInput data: Prisma.XOR } export type AdminCallEventScalarWhereInput = { AND?: Prisma.AdminCallEventScalarWhereInput | Prisma.AdminCallEventScalarWhereInput[] OR?: Prisma.AdminCallEventScalarWhereInput[] NOT?: Prisma.AdminCallEventScalarWhereInput | Prisma.AdminCallEventScalarWhereInput[] id?: Prisma.StringFilter<"AdminCallEvent"> | string createdAt?: Prisma.DateTimeFilter<"AdminCallEvent"> | Date | string adminUserId?: Prisma.StringFilter<"AdminCallEvent"> | string callSessionId?: Prisma.StringFilter<"AdminCallEvent"> | string dedupeKey?: Prisma.StringFilter<"AdminCallEvent"> | string providerEvent?: Prisma.StringFilter<"AdminCallEvent"> | string status?: Prisma.EnumAdminCallStatusFilter<"AdminCallEvent"> | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeFilter<"AdminCallEvent"> | Date | string durationSeconds?: Prisma.IntNullableFilter<"AdminCallEvent"> | number | null } export type AdminCallEventCreateManyCallSessionInput = { id?: string createdAt?: Date | string adminUserId: string dedupeKey: string providerEvent: string status: $Enums.AdminCallStatus occurredAt: Date | string durationSeconds?: number | null } export type AdminCallEventUpdateWithoutCallSessionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string providerEvent?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type AdminCallEventUncheckedUpdateWithoutCallSessionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string providerEvent?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type AdminCallEventUncheckedUpdateManyWithoutCallSessionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string providerEvent?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumAdminCallStatusFieldUpdateOperationsInput | $Enums.AdminCallStatus occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string durationSeconds?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type AdminCallEventSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean adminUserId?: boolean callSessionId?: boolean dedupeKey?: boolean providerEvent?: boolean status?: boolean occurredAt?: boolean durationSeconds?: boolean callSession?: boolean | Prisma.AdminCallSessionDefaultArgs }, ExtArgs["result"]["adminCallEvent"]> export type AdminCallEventSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean adminUserId?: boolean callSessionId?: boolean dedupeKey?: boolean providerEvent?: boolean status?: boolean occurredAt?: boolean durationSeconds?: boolean callSession?: boolean | Prisma.AdminCallSessionDefaultArgs }, ExtArgs["result"]["adminCallEvent"]> export type AdminCallEventSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean adminUserId?: boolean callSessionId?: boolean dedupeKey?: boolean providerEvent?: boolean status?: boolean occurredAt?: boolean durationSeconds?: boolean callSession?: boolean | Prisma.AdminCallSessionDefaultArgs }, ExtArgs["result"]["adminCallEvent"]> export type AdminCallEventSelectScalar = { id?: boolean createdAt?: boolean adminUserId?: boolean callSessionId?: boolean dedupeKey?: boolean providerEvent?: boolean status?: boolean occurredAt?: boolean durationSeconds?: boolean } export type AdminCallEventOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "adminUserId" | "callSessionId" | "dedupeKey" | "providerEvent" | "status" | "occurredAt" | "durationSeconds", ExtArgs["result"]["adminCallEvent"]> export type AdminCallEventInclude = { callSession?: boolean | Prisma.AdminCallSessionDefaultArgs } export type AdminCallEventIncludeCreateManyAndReturn = { callSession?: boolean | Prisma.AdminCallSessionDefaultArgs } export type AdminCallEventIncludeUpdateManyAndReturn = { callSession?: boolean | Prisma.AdminCallSessionDefaultArgs } export type $AdminCallEventPayload = { name: "AdminCallEvent" objects: { callSession: Prisma.$AdminCallSessionPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date adminUserId: string callSessionId: string dedupeKey: string providerEvent: string status: $Enums.AdminCallStatus occurredAt: Date durationSeconds: number | null }, ExtArgs["result"]["adminCallEvent"]> composites: {} } export type AdminCallEventGetPayload = runtime.Types.Result.GetResult export type AdminCallEventCountArgs = Omit & { select?: AdminCallEventCountAggregateInputType | true } export interface AdminCallEventDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AdminCallEvent'], meta: { name: 'AdminCallEvent' } } /** * Find zero or one AdminCallEvent that matches the filter. * @param {AdminCallEventFindUniqueArgs} args - Arguments to find a AdminCallEvent * @example * // Get one AdminCallEvent * const adminCallEvent = await prisma.adminCallEvent.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AdminCallEventClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AdminCallEvent that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AdminCallEventFindUniqueOrThrowArgs} args - Arguments to find a AdminCallEvent * @example * // Get one AdminCallEvent * const adminCallEvent = await prisma.adminCallEvent.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AdminCallEventClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AdminCallEvent 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 {AdminCallEventFindFirstArgs} args - Arguments to find a AdminCallEvent * @example * // Get one AdminCallEvent * const adminCallEvent = await prisma.adminCallEvent.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminCallEventClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AdminCallEvent 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 {AdminCallEventFindFirstOrThrowArgs} args - Arguments to find a AdminCallEvent * @example * // Get one AdminCallEvent * const adminCallEvent = await prisma.adminCallEvent.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminCallEventClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AdminCallEvents 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 {AdminCallEventFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AdminCallEvents * const adminCallEvents = await prisma.adminCallEvent.findMany() * * // Get first 10 AdminCallEvents * const adminCallEvents = await prisma.adminCallEvent.findMany({ take: 10 }) * * // Only select the `id` * const adminCallEventWithIdOnly = await prisma.adminCallEvent.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AdminCallEvent. * @param {AdminCallEventCreateArgs} args - Arguments to create a AdminCallEvent. * @example * // Create one AdminCallEvent * const AdminCallEvent = await prisma.adminCallEvent.create({ * data: { * // ... data to create a AdminCallEvent * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AdminCallEventClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AdminCallEvents. * @param {AdminCallEventCreateManyArgs} args - Arguments to create many AdminCallEvents. * @example * // Create many AdminCallEvents * const adminCallEvent = await prisma.adminCallEvent.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AdminCallEvents and returns the data saved in the database. * @param {AdminCallEventCreateManyAndReturnArgs} args - Arguments to create many AdminCallEvents. * @example * // Create many AdminCallEvents * const adminCallEvent = await prisma.adminCallEvent.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AdminCallEvents and only return the `id` * const adminCallEventWithIdOnly = await prisma.adminCallEvent.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a AdminCallEvent. * @param {AdminCallEventDeleteArgs} args - Arguments to delete one AdminCallEvent. * @example * // Delete one AdminCallEvent * const AdminCallEvent = await prisma.adminCallEvent.delete({ * where: { * // ... filter to delete one AdminCallEvent * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AdminCallEventClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AdminCallEvent. * @param {AdminCallEventUpdateArgs} args - Arguments to update one AdminCallEvent. * @example * // Update one AdminCallEvent * const adminCallEvent = await prisma.adminCallEvent.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AdminCallEventClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AdminCallEvents. * @param {AdminCallEventDeleteManyArgs} args - Arguments to filter AdminCallEvents to delete. * @example * // Delete a few AdminCallEvents * const { count } = await prisma.adminCallEvent.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminCallEvents. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminCallEventUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AdminCallEvents * const adminCallEvent = await prisma.adminCallEvent.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminCallEvents and returns the data updated in the database. * @param {AdminCallEventUpdateManyAndReturnArgs} args - Arguments to update many AdminCallEvents. * @example * // Update many AdminCallEvents * const adminCallEvent = await prisma.adminCallEvent.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AdminCallEvents and only return the `id` * const adminCallEventWithIdOnly = await prisma.adminCallEvent.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one AdminCallEvent. * @param {AdminCallEventUpsertArgs} args - Arguments to update or create a AdminCallEvent. * @example * // Update or create a AdminCallEvent * const adminCallEvent = await prisma.adminCallEvent.upsert({ * create: { * // ... data to create a AdminCallEvent * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AdminCallEvent we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AdminCallEventClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AdminCallEvents. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminCallEventCountArgs} args - Arguments to filter AdminCallEvents to count. * @example * // Count the number of AdminCallEvents * const count = await prisma.adminCallEvent.count({ * where: { * // ... the filter for the AdminCallEvents we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a AdminCallEvent. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminCallEventAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by AdminCallEvent. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminCallEventGroupByArgs} 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 AdminCallEventGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AdminCallEventGroupByArgs['orderBy'] } : { orderBy?: AdminCallEventGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAdminCallEventGroupByPayload : Prisma.PrismaPromise /** * Fields of the AdminCallEvent model */ readonly fields: AdminCallEventFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AdminCallEvent. * 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__AdminCallEventClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" callSession = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminCallSessionClient, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the AdminCallEvent model */ export interface AdminCallEventFieldRefs { readonly id: Prisma.FieldRef<"AdminCallEvent", 'String'> readonly createdAt: Prisma.FieldRef<"AdminCallEvent", 'DateTime'> readonly adminUserId: Prisma.FieldRef<"AdminCallEvent", 'String'> readonly callSessionId: Prisma.FieldRef<"AdminCallEvent", 'String'> readonly dedupeKey: Prisma.FieldRef<"AdminCallEvent", 'String'> readonly providerEvent: Prisma.FieldRef<"AdminCallEvent", 'String'> readonly status: Prisma.FieldRef<"AdminCallEvent", 'AdminCallStatus'> readonly occurredAt: Prisma.FieldRef<"AdminCallEvent", 'DateTime'> readonly durationSeconds: Prisma.FieldRef<"AdminCallEvent", 'Int'> } // Custom InputTypes /** * AdminCallEvent findUnique */ export type AdminCallEventFindUniqueArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelect | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventInclude | null /** * Filter, which AdminCallEvent to fetch. */ where: Prisma.AdminCallEventWhereUniqueInput } /** * AdminCallEvent findUniqueOrThrow */ export type AdminCallEventFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelect | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventInclude | null /** * Filter, which AdminCallEvent to fetch. */ where: Prisma.AdminCallEventWhereUniqueInput } /** * AdminCallEvent findFirst */ export type AdminCallEventFindFirstArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelect | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventInclude | null /** * Filter, which AdminCallEvent to fetch. */ where?: Prisma.AdminCallEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminCallEvents to fetch. */ orderBy?: Prisma.AdminCallEventOrderByWithRelationInput | Prisma.AdminCallEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminCallEvents. */ cursor?: Prisma.AdminCallEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminCallEvents 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` AdminCallEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminCallEvents. */ distinct?: Prisma.AdminCallEventScalarFieldEnum | Prisma.AdminCallEventScalarFieldEnum[] } /** * AdminCallEvent findFirstOrThrow */ export type AdminCallEventFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelect | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventInclude | null /** * Filter, which AdminCallEvent to fetch. */ where?: Prisma.AdminCallEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminCallEvents to fetch. */ orderBy?: Prisma.AdminCallEventOrderByWithRelationInput | Prisma.AdminCallEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminCallEvents. */ cursor?: Prisma.AdminCallEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminCallEvents 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` AdminCallEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminCallEvents. */ distinct?: Prisma.AdminCallEventScalarFieldEnum | Prisma.AdminCallEventScalarFieldEnum[] } /** * AdminCallEvent findMany */ export type AdminCallEventFindManyArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelect | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventInclude | null /** * Filter, which AdminCallEvents to fetch. */ where?: Prisma.AdminCallEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminCallEvents to fetch. */ orderBy?: Prisma.AdminCallEventOrderByWithRelationInput | Prisma.AdminCallEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AdminCallEvents. */ cursor?: Prisma.AdminCallEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminCallEvents 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` AdminCallEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminCallEvents. */ distinct?: Prisma.AdminCallEventScalarFieldEnum | Prisma.AdminCallEventScalarFieldEnum[] } /** * AdminCallEvent create */ export type AdminCallEventCreateArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelect | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventInclude | null /** * The data needed to create a AdminCallEvent. */ data: Prisma.XOR } /** * AdminCallEvent createMany */ export type AdminCallEventCreateManyArgs = { /** * The data used to create many AdminCallEvents. */ data: Prisma.AdminCallEventCreateManyInput | Prisma.AdminCallEventCreateManyInput[] skipDuplicates?: boolean } /** * AdminCallEvent createManyAndReturn */ export type AdminCallEventCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelectCreateManyAndReturn | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * The data used to create many AdminCallEvents. */ data: Prisma.AdminCallEventCreateManyInput | Prisma.AdminCallEventCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventIncludeCreateManyAndReturn | null } /** * AdminCallEvent update */ export type AdminCallEventUpdateArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelect | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventInclude | null /** * The data needed to update a AdminCallEvent. */ data: Prisma.XOR /** * Choose, which AdminCallEvent to update. */ where: Prisma.AdminCallEventWhereUniqueInput } /** * AdminCallEvent updateMany */ export type AdminCallEventUpdateManyArgs = { /** * The data used to update AdminCallEvents. */ data: Prisma.XOR /** * Filter which AdminCallEvents to update */ where?: Prisma.AdminCallEventWhereInput /** * Limit how many AdminCallEvents to update. */ limit?: number } /** * AdminCallEvent updateManyAndReturn */ export type AdminCallEventUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelectUpdateManyAndReturn | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * The data used to update AdminCallEvents. */ data: Prisma.XOR /** * Filter which AdminCallEvents to update */ where?: Prisma.AdminCallEventWhereInput /** * Limit how many AdminCallEvents to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventIncludeUpdateManyAndReturn | null } /** * AdminCallEvent upsert */ export type AdminCallEventUpsertArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelect | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventInclude | null /** * The filter to search for the AdminCallEvent to update in case it exists. */ where: Prisma.AdminCallEventWhereUniqueInput /** * In case the AdminCallEvent found by the `where` argument doesn't exist, create a new AdminCallEvent with this data. */ create: Prisma.XOR /** * In case the AdminCallEvent was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AdminCallEvent delete */ export type AdminCallEventDeleteArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelect | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventInclude | null /** * Filter which AdminCallEvent to delete. */ where: Prisma.AdminCallEventWhereUniqueInput } /** * AdminCallEvent deleteMany */ export type AdminCallEventDeleteManyArgs = { /** * Filter which AdminCallEvents to delete */ where?: Prisma.AdminCallEventWhereInput /** * Limit how many AdminCallEvents to delete. */ limit?: number } /** * AdminCallEvent without action */ export type AdminCallEventDefaultArgs = { /** * Select specific fields to fetch from the AdminCallEvent */ select?: Prisma.AdminCallEventSelect | null /** * Omit specific fields from the AdminCallEvent */ omit?: Prisma.AdminCallEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminCallEventInclude | null }