/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `TelephonyUserBinding` 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 TelephonyUserBinding * Mapping between a HiveGrid TenantUser and a provider user (Aircall in v1). */ export type TelephonyUserBindingModel = runtime.Types.Result.DefaultSelection export type AggregateTelephonyUserBinding = { _count: TelephonyUserBindingCountAggregateOutputType | null _min: TelephonyUserBindingMinAggregateOutputType | null _max: TelephonyUserBindingMaxAggregateOutputType | null } export type TelephonyUserBindingMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null connectionId: string | null tenantUserId: string | null providerUserId: string | null providerEmail: string | null providerDisplayName: string | null defaultProviderNumberId: string | null source: $Enums.TelephonyBindingSource | null } export type TelephonyUserBindingMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null connectionId: string | null tenantUserId: string | null providerUserId: string | null providerEmail: string | null providerDisplayName: string | null defaultProviderNumberId: string | null source: $Enums.TelephonyBindingSource | null } export type TelephonyUserBindingCountAggregateOutputType = { id: number createdAt: number updatedAt: number tenantId: number connectionId: number tenantUserId: number providerUserId: number providerEmail: number providerDisplayName: number defaultProviderNumberId: number source: number _all: number } export type TelephonyUserBindingMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true connectionId?: true tenantUserId?: true providerUserId?: true providerEmail?: true providerDisplayName?: true defaultProviderNumberId?: true source?: true } export type TelephonyUserBindingMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true connectionId?: true tenantUserId?: true providerUserId?: true providerEmail?: true providerDisplayName?: true defaultProviderNumberId?: true source?: true } export type TelephonyUserBindingCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true connectionId?: true tenantUserId?: true providerUserId?: true providerEmail?: true providerDisplayName?: true defaultProviderNumberId?: true source?: true _all?: true } export type TelephonyUserBindingAggregateArgs = { /** * Filter which TelephonyUserBinding to aggregate. */ where?: Prisma.TelephonyUserBindingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelephonyUserBindings to fetch. */ orderBy?: Prisma.TelephonyUserBindingOrderByWithRelationInput | Prisma.TelephonyUserBindingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.TelephonyUserBindingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelephonyUserBindings 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` TelephonyUserBindings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TelephonyUserBindings **/ _count?: true | TelephonyUserBindingCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TelephonyUserBindingMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TelephonyUserBindingMaxAggregateInputType } export type GetTelephonyUserBindingAggregateType = { [P in keyof T & keyof AggregateTelephonyUserBinding]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type TelephonyUserBindingGroupByArgs = { where?: Prisma.TelephonyUserBindingWhereInput orderBy?: Prisma.TelephonyUserBindingOrderByWithAggregationInput | Prisma.TelephonyUserBindingOrderByWithAggregationInput[] by: Prisma.TelephonyUserBindingScalarFieldEnum[] | Prisma.TelephonyUserBindingScalarFieldEnum having?: Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput take?: number skip?: number _count?: TelephonyUserBindingCountAggregateInputType | true _min?: TelephonyUserBindingMinAggregateInputType _max?: TelephonyUserBindingMaxAggregateInputType } export type TelephonyUserBindingGroupByOutputType = { id: string createdAt: Date updatedAt: Date tenantId: string connectionId: string tenantUserId: string providerUserId: string providerEmail: string | null providerDisplayName: string | null defaultProviderNumberId: string | null source: $Enums.TelephonyBindingSource _count: TelephonyUserBindingCountAggregateOutputType | null _min: TelephonyUserBindingMinAggregateOutputType | null _max: TelephonyUserBindingMaxAggregateOutputType | null } export type GetTelephonyUserBindingGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof TelephonyUserBindingGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type TelephonyUserBindingWhereInput = { AND?: Prisma.TelephonyUserBindingWhereInput | Prisma.TelephonyUserBindingWhereInput[] OR?: Prisma.TelephonyUserBindingWhereInput[] NOT?: Prisma.TelephonyUserBindingWhereInput | Prisma.TelephonyUserBindingWhereInput[] id?: Prisma.StringFilter<"TelephonyUserBinding"> | string createdAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string updatedAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string tenantId?: Prisma.StringFilter<"TelephonyUserBinding"> | string connectionId?: Prisma.StringFilter<"TelephonyUserBinding"> | string tenantUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string providerUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string providerEmail?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null providerDisplayName?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null defaultProviderNumberId?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null source?: Prisma.EnumTelephonyBindingSourceFilter<"TelephonyUserBinding"> | $Enums.TelephonyBindingSource connection?: Prisma.XOR } export type TelephonyUserBindingOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder connectionId?: Prisma.SortOrder tenantUserId?: Prisma.SortOrder providerUserId?: Prisma.SortOrder providerEmail?: Prisma.SortOrderInput | Prisma.SortOrder providerDisplayName?: Prisma.SortOrderInput | Prisma.SortOrder defaultProviderNumberId?: Prisma.SortOrderInput | Prisma.SortOrder source?: Prisma.SortOrder connection?: Prisma.TelephonyConnectionOrderByWithRelationInput } export type TelephonyUserBindingWhereUniqueInput = Prisma.AtLeast<{ id?: string connectionId_tenantUserId?: Prisma.TelephonyUserBindingConnectionIdTenantUserIdCompoundUniqueInput connectionId_providerUserId?: Prisma.TelephonyUserBindingConnectionIdProviderUserIdCompoundUniqueInput AND?: Prisma.TelephonyUserBindingWhereInput | Prisma.TelephonyUserBindingWhereInput[] OR?: Prisma.TelephonyUserBindingWhereInput[] NOT?: Prisma.TelephonyUserBindingWhereInput | Prisma.TelephonyUserBindingWhereInput[] createdAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string updatedAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string tenantId?: Prisma.StringFilter<"TelephonyUserBinding"> | string connectionId?: Prisma.StringFilter<"TelephonyUserBinding"> | string tenantUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string providerUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string providerEmail?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null providerDisplayName?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null defaultProviderNumberId?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null source?: Prisma.EnumTelephonyBindingSourceFilter<"TelephonyUserBinding"> | $Enums.TelephonyBindingSource connection?: Prisma.XOR }, "id" | "connectionId_tenantUserId" | "connectionId_providerUserId"> export type TelephonyUserBindingOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder connectionId?: Prisma.SortOrder tenantUserId?: Prisma.SortOrder providerUserId?: Prisma.SortOrder providerEmail?: Prisma.SortOrderInput | Prisma.SortOrder providerDisplayName?: Prisma.SortOrderInput | Prisma.SortOrder defaultProviderNumberId?: Prisma.SortOrderInput | Prisma.SortOrder source?: Prisma.SortOrder _count?: Prisma.TelephonyUserBindingCountOrderByAggregateInput _max?: Prisma.TelephonyUserBindingMaxOrderByAggregateInput _min?: Prisma.TelephonyUserBindingMinOrderByAggregateInput } export type TelephonyUserBindingScalarWhereWithAggregatesInput = { AND?: Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput | Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput[] OR?: Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput[] NOT?: Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput | Prisma.TelephonyUserBindingScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"TelephonyUserBinding"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"TelephonyUserBinding"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"TelephonyUserBinding"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"TelephonyUserBinding"> | string connectionId?: Prisma.StringWithAggregatesFilter<"TelephonyUserBinding"> | string tenantUserId?: Prisma.StringWithAggregatesFilter<"TelephonyUserBinding"> | string providerUserId?: Prisma.StringWithAggregatesFilter<"TelephonyUserBinding"> | string providerEmail?: Prisma.StringNullableWithAggregatesFilter<"TelephonyUserBinding"> | string | null providerDisplayName?: Prisma.StringNullableWithAggregatesFilter<"TelephonyUserBinding"> | string | null defaultProviderNumberId?: Prisma.StringNullableWithAggregatesFilter<"TelephonyUserBinding"> | string | null source?: Prisma.EnumTelephonyBindingSourceWithAggregatesFilter<"TelephonyUserBinding"> | $Enums.TelephonyBindingSource } export type TelephonyUserBindingCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string tenantUserId: string providerUserId: string providerEmail?: string | null providerDisplayName?: string | null defaultProviderNumberId?: string | null source?: $Enums.TelephonyBindingSource connection: Prisma.TelephonyConnectionCreateNestedOneWithoutUserBindingsInput } export type TelephonyUserBindingUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string connectionId: string tenantUserId: string providerUserId: string providerEmail?: string | null providerDisplayName?: string | null defaultProviderNumberId?: string | null source?: $Enums.TelephonyBindingSource } export type TelephonyUserBindingUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string providerUserId?: Prisma.StringFieldUpdateOperationsInput | string providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource connection?: Prisma.TelephonyConnectionUpdateOneRequiredWithoutUserBindingsNestedInput } export type TelephonyUserBindingUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string connectionId?: Prisma.StringFieldUpdateOperationsInput | string tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string providerUserId?: Prisma.StringFieldUpdateOperationsInput | string providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource } export type TelephonyUserBindingCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string connectionId: string tenantUserId: string providerUserId: string providerEmail?: string | null providerDisplayName?: string | null defaultProviderNumberId?: string | null source?: $Enums.TelephonyBindingSource } export type TelephonyUserBindingUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string providerUserId?: Prisma.StringFieldUpdateOperationsInput | string providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource } export type TelephonyUserBindingUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string connectionId?: Prisma.StringFieldUpdateOperationsInput | string tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string providerUserId?: Prisma.StringFieldUpdateOperationsInput | string providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource } export type TelephonyUserBindingListRelationFilter = { every?: Prisma.TelephonyUserBindingWhereInput some?: Prisma.TelephonyUserBindingWhereInput none?: Prisma.TelephonyUserBindingWhereInput } export type TelephonyUserBindingOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type TelephonyUserBindingConnectionIdTenantUserIdCompoundUniqueInput = { connectionId: string tenantUserId: string } export type TelephonyUserBindingConnectionIdProviderUserIdCompoundUniqueInput = { connectionId: string providerUserId: string } export type TelephonyUserBindingCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder connectionId?: Prisma.SortOrder tenantUserId?: Prisma.SortOrder providerUserId?: Prisma.SortOrder providerEmail?: Prisma.SortOrder providerDisplayName?: Prisma.SortOrder defaultProviderNumberId?: Prisma.SortOrder source?: Prisma.SortOrder } export type TelephonyUserBindingMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder connectionId?: Prisma.SortOrder tenantUserId?: Prisma.SortOrder providerUserId?: Prisma.SortOrder providerEmail?: Prisma.SortOrder providerDisplayName?: Prisma.SortOrder defaultProviderNumberId?: Prisma.SortOrder source?: Prisma.SortOrder } export type TelephonyUserBindingMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder connectionId?: Prisma.SortOrder tenantUserId?: Prisma.SortOrder providerUserId?: Prisma.SortOrder providerEmail?: Prisma.SortOrder providerDisplayName?: Prisma.SortOrder defaultProviderNumberId?: Prisma.SortOrder source?: Prisma.SortOrder } export type TelephonyUserBindingCreateNestedManyWithoutConnectionInput = { create?: Prisma.XOR | Prisma.TelephonyUserBindingCreateWithoutConnectionInput[] | Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput[] connectOrCreate?: Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput | Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput[] createMany?: Prisma.TelephonyUserBindingCreateManyConnectionInputEnvelope connect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[] } export type TelephonyUserBindingUncheckedCreateNestedManyWithoutConnectionInput = { create?: Prisma.XOR | Prisma.TelephonyUserBindingCreateWithoutConnectionInput[] | Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput[] connectOrCreate?: Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput | Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput[] createMany?: Prisma.TelephonyUserBindingCreateManyConnectionInputEnvelope connect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[] } export type TelephonyUserBindingUpdateManyWithoutConnectionNestedInput = { create?: Prisma.XOR | Prisma.TelephonyUserBindingCreateWithoutConnectionInput[] | Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput[] connectOrCreate?: Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput | Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput[] upsert?: Prisma.TelephonyUserBindingUpsertWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyUserBindingUpsertWithWhereUniqueWithoutConnectionInput[] createMany?: Prisma.TelephonyUserBindingCreateManyConnectionInputEnvelope set?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[] disconnect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[] delete?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[] connect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[] update?: Prisma.TelephonyUserBindingUpdateWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyUserBindingUpdateWithWhereUniqueWithoutConnectionInput[] updateMany?: Prisma.TelephonyUserBindingUpdateManyWithWhereWithoutConnectionInput | Prisma.TelephonyUserBindingUpdateManyWithWhereWithoutConnectionInput[] deleteMany?: Prisma.TelephonyUserBindingScalarWhereInput | Prisma.TelephonyUserBindingScalarWhereInput[] } export type TelephonyUserBindingUncheckedUpdateManyWithoutConnectionNestedInput = { create?: Prisma.XOR | Prisma.TelephonyUserBindingCreateWithoutConnectionInput[] | Prisma.TelephonyUserBindingUncheckedCreateWithoutConnectionInput[] connectOrCreate?: Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput | Prisma.TelephonyUserBindingCreateOrConnectWithoutConnectionInput[] upsert?: Prisma.TelephonyUserBindingUpsertWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyUserBindingUpsertWithWhereUniqueWithoutConnectionInput[] createMany?: Prisma.TelephonyUserBindingCreateManyConnectionInputEnvelope set?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[] disconnect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[] delete?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[] connect?: Prisma.TelephonyUserBindingWhereUniqueInput | Prisma.TelephonyUserBindingWhereUniqueInput[] update?: Prisma.TelephonyUserBindingUpdateWithWhereUniqueWithoutConnectionInput | Prisma.TelephonyUserBindingUpdateWithWhereUniqueWithoutConnectionInput[] updateMany?: Prisma.TelephonyUserBindingUpdateManyWithWhereWithoutConnectionInput | Prisma.TelephonyUserBindingUpdateManyWithWhereWithoutConnectionInput[] deleteMany?: Prisma.TelephonyUserBindingScalarWhereInput | Prisma.TelephonyUserBindingScalarWhereInput[] } export type EnumTelephonyBindingSourceFieldUpdateOperationsInput = { set?: $Enums.TelephonyBindingSource } export type TelephonyUserBindingCreateWithoutConnectionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string tenantUserId: string providerUserId: string providerEmail?: string | null providerDisplayName?: string | null defaultProviderNumberId?: string | null source?: $Enums.TelephonyBindingSource } export type TelephonyUserBindingUncheckedCreateWithoutConnectionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string tenantUserId: string providerUserId: string providerEmail?: string | null providerDisplayName?: string | null defaultProviderNumberId?: string | null source?: $Enums.TelephonyBindingSource } export type TelephonyUserBindingCreateOrConnectWithoutConnectionInput = { where: Prisma.TelephonyUserBindingWhereUniqueInput create: Prisma.XOR } export type TelephonyUserBindingCreateManyConnectionInputEnvelope = { data: Prisma.TelephonyUserBindingCreateManyConnectionInput | Prisma.TelephonyUserBindingCreateManyConnectionInput[] skipDuplicates?: boolean } export type TelephonyUserBindingUpsertWithWhereUniqueWithoutConnectionInput = { where: Prisma.TelephonyUserBindingWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TelephonyUserBindingUpdateWithWhereUniqueWithoutConnectionInput = { where: Prisma.TelephonyUserBindingWhereUniqueInput data: Prisma.XOR } export type TelephonyUserBindingUpdateManyWithWhereWithoutConnectionInput = { where: Prisma.TelephonyUserBindingScalarWhereInput data: Prisma.XOR } export type TelephonyUserBindingScalarWhereInput = { AND?: Prisma.TelephonyUserBindingScalarWhereInput | Prisma.TelephonyUserBindingScalarWhereInput[] OR?: Prisma.TelephonyUserBindingScalarWhereInput[] NOT?: Prisma.TelephonyUserBindingScalarWhereInput | Prisma.TelephonyUserBindingScalarWhereInput[] id?: Prisma.StringFilter<"TelephonyUserBinding"> | string createdAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string updatedAt?: Prisma.DateTimeFilter<"TelephonyUserBinding"> | Date | string tenantId?: Prisma.StringFilter<"TelephonyUserBinding"> | string connectionId?: Prisma.StringFilter<"TelephonyUserBinding"> | string tenantUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string providerUserId?: Prisma.StringFilter<"TelephonyUserBinding"> | string providerEmail?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null providerDisplayName?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null defaultProviderNumberId?: Prisma.StringNullableFilter<"TelephonyUserBinding"> | string | null source?: Prisma.EnumTelephonyBindingSourceFilter<"TelephonyUserBinding"> | $Enums.TelephonyBindingSource } export type TelephonyUserBindingCreateManyConnectionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string tenantUserId: string providerUserId: string providerEmail?: string | null providerDisplayName?: string | null defaultProviderNumberId?: string | null source?: $Enums.TelephonyBindingSource } export type TelephonyUserBindingUpdateWithoutConnectionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string providerUserId?: Prisma.StringFieldUpdateOperationsInput | string providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource } export type TelephonyUserBindingUncheckedUpdateWithoutConnectionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string providerUserId?: Prisma.StringFieldUpdateOperationsInput | string providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource } export type TelephonyUserBindingUncheckedUpdateManyWithoutConnectionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string tenantUserId?: Prisma.StringFieldUpdateOperationsInput | string providerUserId?: Prisma.StringFieldUpdateOperationsInput | string providerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerDisplayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null defaultProviderNumberId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null source?: Prisma.EnumTelephonyBindingSourceFieldUpdateOperationsInput | $Enums.TelephonyBindingSource } export type TelephonyUserBindingSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean connectionId?: boolean tenantUserId?: boolean providerUserId?: boolean providerEmail?: boolean providerDisplayName?: boolean defaultProviderNumberId?: boolean source?: boolean connection?: boolean | Prisma.TelephonyConnectionDefaultArgs }, ExtArgs["result"]["telephonyUserBinding"]> export type TelephonyUserBindingSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean connectionId?: boolean tenantUserId?: boolean providerUserId?: boolean providerEmail?: boolean providerDisplayName?: boolean defaultProviderNumberId?: boolean source?: boolean connection?: boolean | Prisma.TelephonyConnectionDefaultArgs }, ExtArgs["result"]["telephonyUserBinding"]> export type TelephonyUserBindingSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean connectionId?: boolean tenantUserId?: boolean providerUserId?: boolean providerEmail?: boolean providerDisplayName?: boolean defaultProviderNumberId?: boolean source?: boolean connection?: boolean | Prisma.TelephonyConnectionDefaultArgs }, ExtArgs["result"]["telephonyUserBinding"]> export type TelephonyUserBindingSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean connectionId?: boolean tenantUserId?: boolean providerUserId?: boolean providerEmail?: boolean providerDisplayName?: boolean defaultProviderNumberId?: boolean source?: boolean } export type TelephonyUserBindingOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "connectionId" | "tenantUserId" | "providerUserId" | "providerEmail" | "providerDisplayName" | "defaultProviderNumberId" | "source", ExtArgs["result"]["telephonyUserBinding"]> export type TelephonyUserBindingInclude = { connection?: boolean | Prisma.TelephonyConnectionDefaultArgs } export type TelephonyUserBindingIncludeCreateManyAndReturn = { connection?: boolean | Prisma.TelephonyConnectionDefaultArgs } export type TelephonyUserBindingIncludeUpdateManyAndReturn = { connection?: boolean | Prisma.TelephonyConnectionDefaultArgs } export type $TelephonyUserBindingPayload = { name: "TelephonyUserBinding" objects: { connection: Prisma.$TelephonyConnectionPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date tenantId: string connectionId: string tenantUserId: string providerUserId: string providerEmail: string | null providerDisplayName: string | null defaultProviderNumberId: string | null source: $Enums.TelephonyBindingSource }, ExtArgs["result"]["telephonyUserBinding"]> composites: {} } export type TelephonyUserBindingGetPayload = runtime.Types.Result.GetResult export type TelephonyUserBindingCountArgs = Omit & { select?: TelephonyUserBindingCountAggregateInputType | true } export interface TelephonyUserBindingDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TelephonyUserBinding'], meta: { name: 'TelephonyUserBinding' } } /** * Find zero or one TelephonyUserBinding that matches the filter. * @param {TelephonyUserBindingFindUniqueArgs} args - Arguments to find a TelephonyUserBinding * @example * // Get one TelephonyUserBinding * const telephonyUserBinding = await prisma.telephonyUserBinding.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyUserBindingClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TelephonyUserBinding that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TelephonyUserBindingFindUniqueOrThrowArgs} args - Arguments to find a TelephonyUserBinding * @example * // Get one TelephonyUserBinding * const telephonyUserBinding = await prisma.telephonyUserBinding.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyUserBindingClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TelephonyUserBinding 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 {TelephonyUserBindingFindFirstArgs} args - Arguments to find a TelephonyUserBinding * @example * // Get one TelephonyUserBinding * const telephonyUserBinding = await prisma.telephonyUserBinding.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TelephonyUserBindingClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TelephonyUserBinding 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 {TelephonyUserBindingFindFirstOrThrowArgs} args - Arguments to find a TelephonyUserBinding * @example * // Get one TelephonyUserBinding * const telephonyUserBinding = await prisma.telephonyUserBinding.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TelephonyUserBindingClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TelephonyUserBindings 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 {TelephonyUserBindingFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TelephonyUserBindings * const telephonyUserBindings = await prisma.telephonyUserBinding.findMany() * * // Get first 10 TelephonyUserBindings * const telephonyUserBindings = await prisma.telephonyUserBinding.findMany({ take: 10 }) * * // Only select the `id` * const telephonyUserBindingWithIdOnly = await prisma.telephonyUserBinding.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a TelephonyUserBinding. * @param {TelephonyUserBindingCreateArgs} args - Arguments to create a TelephonyUserBinding. * @example * // Create one TelephonyUserBinding * const TelephonyUserBinding = await prisma.telephonyUserBinding.create({ * data: { * // ... data to create a TelephonyUserBinding * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyUserBindingClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TelephonyUserBindings. * @param {TelephonyUserBindingCreateManyArgs} args - Arguments to create many TelephonyUserBindings. * @example * // Create many TelephonyUserBindings * const telephonyUserBinding = await prisma.telephonyUserBinding.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many TelephonyUserBindings and returns the data saved in the database. * @param {TelephonyUserBindingCreateManyAndReturnArgs} args - Arguments to create many TelephonyUserBindings. * @example * // Create many TelephonyUserBindings * const telephonyUserBinding = await prisma.telephonyUserBinding.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TelephonyUserBindings and only return the `id` * const telephonyUserBindingWithIdOnly = await prisma.telephonyUserBinding.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 TelephonyUserBinding. * @param {TelephonyUserBindingDeleteArgs} args - Arguments to delete one TelephonyUserBinding. * @example * // Delete one TelephonyUserBinding * const TelephonyUserBinding = await prisma.telephonyUserBinding.delete({ * where: { * // ... filter to delete one TelephonyUserBinding * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyUserBindingClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TelephonyUserBinding. * @param {TelephonyUserBindingUpdateArgs} args - Arguments to update one TelephonyUserBinding. * @example * // Update one TelephonyUserBinding * const telephonyUserBinding = await prisma.telephonyUserBinding.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyUserBindingClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TelephonyUserBindings. * @param {TelephonyUserBindingDeleteManyArgs} args - Arguments to filter TelephonyUserBindings to delete. * @example * // Delete a few TelephonyUserBindings * const { count } = await prisma.telephonyUserBinding.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TelephonyUserBindings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelephonyUserBindingUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TelephonyUserBindings * const telephonyUserBinding = await prisma.telephonyUserBinding.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TelephonyUserBindings and returns the data updated in the database. * @param {TelephonyUserBindingUpdateManyAndReturnArgs} args - Arguments to update many TelephonyUserBindings. * @example * // Update many TelephonyUserBindings * const telephonyUserBinding = await prisma.telephonyUserBinding.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TelephonyUserBindings and only return the `id` * const telephonyUserBindingWithIdOnly = await prisma.telephonyUserBinding.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 TelephonyUserBinding. * @param {TelephonyUserBindingUpsertArgs} args - Arguments to update or create a TelephonyUserBinding. * @example * // Update or create a TelephonyUserBinding * const telephonyUserBinding = await prisma.telephonyUserBinding.upsert({ * create: { * // ... data to create a TelephonyUserBinding * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TelephonyUserBinding we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TelephonyUserBindingClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TelephonyUserBindings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelephonyUserBindingCountArgs} args - Arguments to filter TelephonyUserBindings to count. * @example * // Count the number of TelephonyUserBindings * const count = await prisma.telephonyUserBinding.count({ * where: { * // ... the filter for the TelephonyUserBindings 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 TelephonyUserBinding. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelephonyUserBindingAggregateArgs} 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 TelephonyUserBinding. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelephonyUserBindingGroupByArgs} 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 TelephonyUserBindingGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: TelephonyUserBindingGroupByArgs['orderBy'] } : { orderBy?: TelephonyUserBindingGroupByArgs['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 ? GetTelephonyUserBindingGroupByPayload : Prisma.PrismaPromise /** * Fields of the TelephonyUserBinding model */ readonly fields: TelephonyUserBindingFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TelephonyUserBinding. * 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__TelephonyUserBindingClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" connection = {}>(args?: Prisma.Subset>): Prisma.Prisma__TelephonyConnectionClient, 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 TelephonyUserBinding model */ export interface TelephonyUserBindingFieldRefs { readonly id: Prisma.FieldRef<"TelephonyUserBinding", 'String'> readonly createdAt: Prisma.FieldRef<"TelephonyUserBinding", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"TelephonyUserBinding", 'DateTime'> readonly tenantId: Prisma.FieldRef<"TelephonyUserBinding", 'String'> readonly connectionId: Prisma.FieldRef<"TelephonyUserBinding", 'String'> readonly tenantUserId: Prisma.FieldRef<"TelephonyUserBinding", 'String'> readonly providerUserId: Prisma.FieldRef<"TelephonyUserBinding", 'String'> readonly providerEmail: Prisma.FieldRef<"TelephonyUserBinding", 'String'> readonly providerDisplayName: Prisma.FieldRef<"TelephonyUserBinding", 'String'> readonly defaultProviderNumberId: Prisma.FieldRef<"TelephonyUserBinding", 'String'> readonly source: Prisma.FieldRef<"TelephonyUserBinding", 'TelephonyBindingSource'> } // Custom InputTypes /** * TelephonyUserBinding findUnique */ export type TelephonyUserBindingFindUniqueArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelect | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingInclude | null /** * Filter, which TelephonyUserBinding to fetch. */ where: Prisma.TelephonyUserBindingWhereUniqueInput } /** * TelephonyUserBinding findUniqueOrThrow */ export type TelephonyUserBindingFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelect | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingInclude | null /** * Filter, which TelephonyUserBinding to fetch. */ where: Prisma.TelephonyUserBindingWhereUniqueInput } /** * TelephonyUserBinding findFirst */ export type TelephonyUserBindingFindFirstArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelect | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingInclude | null /** * Filter, which TelephonyUserBinding to fetch. */ where?: Prisma.TelephonyUserBindingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelephonyUserBindings to fetch. */ orderBy?: Prisma.TelephonyUserBindingOrderByWithRelationInput | Prisma.TelephonyUserBindingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TelephonyUserBindings. */ cursor?: Prisma.TelephonyUserBindingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelephonyUserBindings 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` TelephonyUserBindings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelephonyUserBindings. */ distinct?: Prisma.TelephonyUserBindingScalarFieldEnum | Prisma.TelephonyUserBindingScalarFieldEnum[] } /** * TelephonyUserBinding findFirstOrThrow */ export type TelephonyUserBindingFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelect | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingInclude | null /** * Filter, which TelephonyUserBinding to fetch. */ where?: Prisma.TelephonyUserBindingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelephonyUserBindings to fetch. */ orderBy?: Prisma.TelephonyUserBindingOrderByWithRelationInput | Prisma.TelephonyUserBindingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TelephonyUserBindings. */ cursor?: Prisma.TelephonyUserBindingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelephonyUserBindings 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` TelephonyUserBindings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelephonyUserBindings. */ distinct?: Prisma.TelephonyUserBindingScalarFieldEnum | Prisma.TelephonyUserBindingScalarFieldEnum[] } /** * TelephonyUserBinding findMany */ export type TelephonyUserBindingFindManyArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelect | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingInclude | null /** * Filter, which TelephonyUserBindings to fetch. */ where?: Prisma.TelephonyUserBindingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelephonyUserBindings to fetch. */ orderBy?: Prisma.TelephonyUserBindingOrderByWithRelationInput | Prisma.TelephonyUserBindingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TelephonyUserBindings. */ cursor?: Prisma.TelephonyUserBindingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelephonyUserBindings 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` TelephonyUserBindings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelephonyUserBindings. */ distinct?: Prisma.TelephonyUserBindingScalarFieldEnum | Prisma.TelephonyUserBindingScalarFieldEnum[] } /** * TelephonyUserBinding create */ export type TelephonyUserBindingCreateArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelect | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingInclude | null /** * The data needed to create a TelephonyUserBinding. */ data: Prisma.XOR } /** * TelephonyUserBinding createMany */ export type TelephonyUserBindingCreateManyArgs = { /** * The data used to create many TelephonyUserBindings. */ data: Prisma.TelephonyUserBindingCreateManyInput | Prisma.TelephonyUserBindingCreateManyInput[] skipDuplicates?: boolean } /** * TelephonyUserBinding createManyAndReturn */ export type TelephonyUserBindingCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelectCreateManyAndReturn | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * The data used to create many TelephonyUserBindings. */ data: Prisma.TelephonyUserBindingCreateManyInput | Prisma.TelephonyUserBindingCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingIncludeCreateManyAndReturn | null } /** * TelephonyUserBinding update */ export type TelephonyUserBindingUpdateArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelect | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingInclude | null /** * The data needed to update a TelephonyUserBinding. */ data: Prisma.XOR /** * Choose, which TelephonyUserBinding to update. */ where: Prisma.TelephonyUserBindingWhereUniqueInput } /** * TelephonyUserBinding updateMany */ export type TelephonyUserBindingUpdateManyArgs = { /** * The data used to update TelephonyUserBindings. */ data: Prisma.XOR /** * Filter which TelephonyUserBindings to update */ where?: Prisma.TelephonyUserBindingWhereInput /** * Limit how many TelephonyUserBindings to update. */ limit?: number } /** * TelephonyUserBinding updateManyAndReturn */ export type TelephonyUserBindingUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelectUpdateManyAndReturn | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * The data used to update TelephonyUserBindings. */ data: Prisma.XOR /** * Filter which TelephonyUserBindings to update */ where?: Prisma.TelephonyUserBindingWhereInput /** * Limit how many TelephonyUserBindings to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingIncludeUpdateManyAndReturn | null } /** * TelephonyUserBinding upsert */ export type TelephonyUserBindingUpsertArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelect | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingInclude | null /** * The filter to search for the TelephonyUserBinding to update in case it exists. */ where: Prisma.TelephonyUserBindingWhereUniqueInput /** * In case the TelephonyUserBinding found by the `where` argument doesn't exist, create a new TelephonyUserBinding with this data. */ create: Prisma.XOR /** * In case the TelephonyUserBinding was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * TelephonyUserBinding delete */ export type TelephonyUserBindingDeleteArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelect | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingInclude | null /** * Filter which TelephonyUserBinding to delete. */ where: Prisma.TelephonyUserBindingWhereUniqueInput } /** * TelephonyUserBinding deleteMany */ export type TelephonyUserBindingDeleteManyArgs = { /** * Filter which TelephonyUserBindings to delete */ where?: Prisma.TelephonyUserBindingWhereInput /** * Limit how many TelephonyUserBindings to delete. */ limit?: number } /** * TelephonyUserBinding without action */ export type TelephonyUserBindingDefaultArgs = { /** * Select specific fields to fetch from the TelephonyUserBinding */ select?: Prisma.TelephonyUserBindingSelect | null /** * Omit specific fields from the TelephonyUserBinding */ omit?: Prisma.TelephonyUserBindingOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TelephonyUserBindingInclude | null }