/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AdminTelephonyPolicy` 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 AdminTelephonyPolicy * */ export type AdminTelephonyPolicyModel = runtime.Types.Result.DefaultSelection export type AggregateAdminTelephonyPolicy = { _count: AdminTelephonyPolicyCountAggregateOutputType | null _avg: AdminTelephonyPolicyAvgAggregateOutputType | null _sum: AdminTelephonyPolicySumAggregateOutputType | null _min: AdminTelephonyPolicyMinAggregateOutputType | null _max: AdminTelephonyPolicyMaxAggregateOutputType | null } export type AdminTelephonyPolicyAvgAggregateOutputType = { recordingRetentionDays: number | null dailyCallLimit: number | null workDayStartMinutes: number | null workDayEndMinutes: number | null workDays: number | null } export type AdminTelephonyPolicySumAggregateOutputType = { recordingRetentionDays: number | null dailyCallLimit: number | null workDayStartMinutes: number | null workDayEndMinutes: number | null workDays: number[] } export type AdminTelephonyPolicyMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null adminUserId: string | null outboundEnabled: boolean | null recordingEnabled: boolean | null recordingConsentText: string | null recordingConsentVersion: string | null recordingConsentAt: Date | null recordingRetentionDays: number | null dncEnforced: boolean | null dailyCallLimit: number | null workDayStartMinutes: number | null workDayEndMinutes: number | null timeZone: string | null } export type AdminTelephonyPolicyMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null adminUserId: string | null outboundEnabled: boolean | null recordingEnabled: boolean | null recordingConsentText: string | null recordingConsentVersion: string | null recordingConsentAt: Date | null recordingRetentionDays: number | null dncEnforced: boolean | null dailyCallLimit: number | null workDayStartMinutes: number | null workDayEndMinutes: number | null timeZone: string | null } export type AdminTelephonyPolicyCountAggregateOutputType = { id: number createdAt: number updatedAt: number adminUserId: number outboundEnabled: number recordingEnabled: number recordingConsentText: number recordingConsentVersion: number recordingConsentAt: number recordingRetentionDays: number dncEnforced: number dailyCallLimit: number workDayStartMinutes: number workDayEndMinutes: number workDays: number timeZone: number _all: number } export type AdminTelephonyPolicyAvgAggregateInputType = { recordingRetentionDays?: true dailyCallLimit?: true workDayStartMinutes?: true workDayEndMinutes?: true workDays?: true } export type AdminTelephonyPolicySumAggregateInputType = { recordingRetentionDays?: true dailyCallLimit?: true workDayStartMinutes?: true workDayEndMinutes?: true workDays?: true } export type AdminTelephonyPolicyMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true adminUserId?: true outboundEnabled?: true recordingEnabled?: true recordingConsentText?: true recordingConsentVersion?: true recordingConsentAt?: true recordingRetentionDays?: true dncEnforced?: true dailyCallLimit?: true workDayStartMinutes?: true workDayEndMinutes?: true timeZone?: true } export type AdminTelephonyPolicyMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true adminUserId?: true outboundEnabled?: true recordingEnabled?: true recordingConsentText?: true recordingConsentVersion?: true recordingConsentAt?: true recordingRetentionDays?: true dncEnforced?: true dailyCallLimit?: true workDayStartMinutes?: true workDayEndMinutes?: true timeZone?: true } export type AdminTelephonyPolicyCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true adminUserId?: true outboundEnabled?: true recordingEnabled?: true recordingConsentText?: true recordingConsentVersion?: true recordingConsentAt?: true recordingRetentionDays?: true dncEnforced?: true dailyCallLimit?: true workDayStartMinutes?: true workDayEndMinutes?: true workDays?: true timeZone?: true _all?: true } export type AdminTelephonyPolicyAggregateArgs = { /** * Filter which AdminTelephonyPolicy to aggregate. */ where?: Prisma.AdminTelephonyPolicyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminTelephonyPolicies to fetch. */ orderBy?: Prisma.AdminTelephonyPolicyOrderByWithRelationInput | Prisma.AdminTelephonyPolicyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AdminTelephonyPolicyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminTelephonyPolicies 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` AdminTelephonyPolicies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AdminTelephonyPolicies **/ _count?: true | AdminTelephonyPolicyCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AdminTelephonyPolicyAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AdminTelephonyPolicySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AdminTelephonyPolicyMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AdminTelephonyPolicyMaxAggregateInputType } export type GetAdminTelephonyPolicyAggregateType = { [P in keyof T & keyof AggregateAdminTelephonyPolicy]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AdminTelephonyPolicyGroupByArgs = { where?: Prisma.AdminTelephonyPolicyWhereInput orderBy?: Prisma.AdminTelephonyPolicyOrderByWithAggregationInput | Prisma.AdminTelephonyPolicyOrderByWithAggregationInput[] by: Prisma.AdminTelephonyPolicyScalarFieldEnum[] | Prisma.AdminTelephonyPolicyScalarFieldEnum having?: Prisma.AdminTelephonyPolicyScalarWhereWithAggregatesInput take?: number skip?: number _count?: AdminTelephonyPolicyCountAggregateInputType | true _avg?: AdminTelephonyPolicyAvgAggregateInputType _sum?: AdminTelephonyPolicySumAggregateInputType _min?: AdminTelephonyPolicyMinAggregateInputType _max?: AdminTelephonyPolicyMaxAggregateInputType } export type AdminTelephonyPolicyGroupByOutputType = { id: string createdAt: Date updatedAt: Date adminUserId: string outboundEnabled: boolean recordingEnabled: boolean recordingConsentText: string | null recordingConsentVersion: string | null recordingConsentAt: Date | null recordingRetentionDays: number dncEnforced: boolean dailyCallLimit: number | null workDayStartMinutes: number | null workDayEndMinutes: number | null workDays: number[] timeZone: string | null _count: AdminTelephonyPolicyCountAggregateOutputType | null _avg: AdminTelephonyPolicyAvgAggregateOutputType | null _sum: AdminTelephonyPolicySumAggregateOutputType | null _min: AdminTelephonyPolicyMinAggregateOutputType | null _max: AdminTelephonyPolicyMaxAggregateOutputType | null } export type GetAdminTelephonyPolicyGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AdminTelephonyPolicyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AdminTelephonyPolicyWhereInput = { AND?: Prisma.AdminTelephonyPolicyWhereInput | Prisma.AdminTelephonyPolicyWhereInput[] OR?: Prisma.AdminTelephonyPolicyWhereInput[] NOT?: Prisma.AdminTelephonyPolicyWhereInput | Prisma.AdminTelephonyPolicyWhereInput[] id?: Prisma.StringFilter<"AdminTelephonyPolicy"> | string createdAt?: Prisma.DateTimeFilter<"AdminTelephonyPolicy"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AdminTelephonyPolicy"> | Date | string adminUserId?: Prisma.StringFilter<"AdminTelephonyPolicy"> | string outboundEnabled?: Prisma.BoolFilter<"AdminTelephonyPolicy"> | boolean recordingEnabled?: Prisma.BoolFilter<"AdminTelephonyPolicy"> | boolean recordingConsentText?: Prisma.StringNullableFilter<"AdminTelephonyPolicy"> | string | null recordingConsentVersion?: Prisma.StringNullableFilter<"AdminTelephonyPolicy"> | string | null recordingConsentAt?: Prisma.DateTimeNullableFilter<"AdminTelephonyPolicy"> | Date | string | null recordingRetentionDays?: Prisma.IntFilter<"AdminTelephonyPolicy"> | number dncEnforced?: Prisma.BoolFilter<"AdminTelephonyPolicy"> | boolean dailyCallLimit?: Prisma.IntNullableFilter<"AdminTelephonyPolicy"> | number | null workDayStartMinutes?: Prisma.IntNullableFilter<"AdminTelephonyPolicy"> | number | null workDayEndMinutes?: Prisma.IntNullableFilter<"AdminTelephonyPolicy"> | number | null workDays?: Prisma.IntNullableListFilter<"AdminTelephonyPolicy"> timeZone?: Prisma.StringNullableFilter<"AdminTelephonyPolicy"> | string | null } export type AdminTelephonyPolicyOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder outboundEnabled?: Prisma.SortOrder recordingEnabled?: Prisma.SortOrder recordingConsentText?: Prisma.SortOrderInput | Prisma.SortOrder recordingConsentVersion?: Prisma.SortOrderInput | Prisma.SortOrder recordingConsentAt?: Prisma.SortOrderInput | Prisma.SortOrder recordingRetentionDays?: Prisma.SortOrder dncEnforced?: Prisma.SortOrder dailyCallLimit?: Prisma.SortOrderInput | Prisma.SortOrder workDayStartMinutes?: Prisma.SortOrderInput | Prisma.SortOrder workDayEndMinutes?: Prisma.SortOrderInput | Prisma.SortOrder workDays?: Prisma.SortOrder timeZone?: Prisma.SortOrderInput | Prisma.SortOrder } export type AdminTelephonyPolicyWhereUniqueInput = Prisma.AtLeast<{ id?: string adminUserId?: string AND?: Prisma.AdminTelephonyPolicyWhereInput | Prisma.AdminTelephonyPolicyWhereInput[] OR?: Prisma.AdminTelephonyPolicyWhereInput[] NOT?: Prisma.AdminTelephonyPolicyWhereInput | Prisma.AdminTelephonyPolicyWhereInput[] createdAt?: Prisma.DateTimeFilter<"AdminTelephonyPolicy"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AdminTelephonyPolicy"> | Date | string outboundEnabled?: Prisma.BoolFilter<"AdminTelephonyPolicy"> | boolean recordingEnabled?: Prisma.BoolFilter<"AdminTelephonyPolicy"> | boolean recordingConsentText?: Prisma.StringNullableFilter<"AdminTelephonyPolicy"> | string | null recordingConsentVersion?: Prisma.StringNullableFilter<"AdminTelephonyPolicy"> | string | null recordingConsentAt?: Prisma.DateTimeNullableFilter<"AdminTelephonyPolicy"> | Date | string | null recordingRetentionDays?: Prisma.IntFilter<"AdminTelephonyPolicy"> | number dncEnforced?: Prisma.BoolFilter<"AdminTelephonyPolicy"> | boolean dailyCallLimit?: Prisma.IntNullableFilter<"AdminTelephonyPolicy"> | number | null workDayStartMinutes?: Prisma.IntNullableFilter<"AdminTelephonyPolicy"> | number | null workDayEndMinutes?: Prisma.IntNullableFilter<"AdminTelephonyPolicy"> | number | null workDays?: Prisma.IntNullableListFilter<"AdminTelephonyPolicy"> timeZone?: Prisma.StringNullableFilter<"AdminTelephonyPolicy"> | string | null }, "id" | "adminUserId"> export type AdminTelephonyPolicyOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder outboundEnabled?: Prisma.SortOrder recordingEnabled?: Prisma.SortOrder recordingConsentText?: Prisma.SortOrderInput | Prisma.SortOrder recordingConsentVersion?: Prisma.SortOrderInput | Prisma.SortOrder recordingConsentAt?: Prisma.SortOrderInput | Prisma.SortOrder recordingRetentionDays?: Prisma.SortOrder dncEnforced?: Prisma.SortOrder dailyCallLimit?: Prisma.SortOrderInput | Prisma.SortOrder workDayStartMinutes?: Prisma.SortOrderInput | Prisma.SortOrder workDayEndMinutes?: Prisma.SortOrderInput | Prisma.SortOrder workDays?: Prisma.SortOrder timeZone?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AdminTelephonyPolicyCountOrderByAggregateInput _avg?: Prisma.AdminTelephonyPolicyAvgOrderByAggregateInput _max?: Prisma.AdminTelephonyPolicyMaxOrderByAggregateInput _min?: Prisma.AdminTelephonyPolicyMinOrderByAggregateInput _sum?: Prisma.AdminTelephonyPolicySumOrderByAggregateInput } export type AdminTelephonyPolicyScalarWhereWithAggregatesInput = { AND?: Prisma.AdminTelephonyPolicyScalarWhereWithAggregatesInput | Prisma.AdminTelephonyPolicyScalarWhereWithAggregatesInput[] OR?: Prisma.AdminTelephonyPolicyScalarWhereWithAggregatesInput[] NOT?: Prisma.AdminTelephonyPolicyScalarWhereWithAggregatesInput | Prisma.AdminTelephonyPolicyScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AdminTelephonyPolicy"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminTelephonyPolicy"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminTelephonyPolicy"> | Date | string adminUserId?: Prisma.StringWithAggregatesFilter<"AdminTelephonyPolicy"> | string outboundEnabled?: Prisma.BoolWithAggregatesFilter<"AdminTelephonyPolicy"> | boolean recordingEnabled?: Prisma.BoolWithAggregatesFilter<"AdminTelephonyPolicy"> | boolean recordingConsentText?: Prisma.StringNullableWithAggregatesFilter<"AdminTelephonyPolicy"> | string | null recordingConsentVersion?: Prisma.StringNullableWithAggregatesFilter<"AdminTelephonyPolicy"> | string | null recordingConsentAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminTelephonyPolicy"> | Date | string | null recordingRetentionDays?: Prisma.IntWithAggregatesFilter<"AdminTelephonyPolicy"> | number dncEnforced?: Prisma.BoolWithAggregatesFilter<"AdminTelephonyPolicy"> | boolean dailyCallLimit?: Prisma.IntNullableWithAggregatesFilter<"AdminTelephonyPolicy"> | number | null workDayStartMinutes?: Prisma.IntNullableWithAggregatesFilter<"AdminTelephonyPolicy"> | number | null workDayEndMinutes?: Prisma.IntNullableWithAggregatesFilter<"AdminTelephonyPolicy"> | number | null workDays?: Prisma.IntNullableListFilter<"AdminTelephonyPolicy"> timeZone?: Prisma.StringNullableWithAggregatesFilter<"AdminTelephonyPolicy"> | string | null } export type AdminTelephonyPolicyCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string outboundEnabled?: boolean recordingEnabled?: boolean recordingConsentText?: string | null recordingConsentVersion?: string | null recordingConsentAt?: Date | string | null recordingRetentionDays?: number dncEnforced?: boolean dailyCallLimit?: number | null workDayStartMinutes?: number | null workDayEndMinutes?: number | null workDays?: Prisma.AdminTelephonyPolicyCreateworkDaysInput | number[] timeZone?: string | null } export type AdminTelephonyPolicyUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string outboundEnabled?: boolean recordingEnabled?: boolean recordingConsentText?: string | null recordingConsentVersion?: string | null recordingConsentAt?: Date | string | null recordingRetentionDays?: number dncEnforced?: boolean dailyCallLimit?: number | null workDayStartMinutes?: number | null workDayEndMinutes?: number | null workDays?: Prisma.AdminTelephonyPolicyCreateworkDaysInput | number[] timeZone?: string | null } export type AdminTelephonyPolicyUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string outboundEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean recordingEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean recordingConsentText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null recordingConsentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null recordingConsentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null recordingRetentionDays?: Prisma.IntFieldUpdateOperationsInput | number dncEnforced?: Prisma.BoolFieldUpdateOperationsInput | boolean dailyCallLimit?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDayStartMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDayEndMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDays?: Prisma.AdminTelephonyPolicyUpdateworkDaysInput | number[] timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminTelephonyPolicyUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string outboundEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean recordingEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean recordingConsentText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null recordingConsentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null recordingConsentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null recordingRetentionDays?: Prisma.IntFieldUpdateOperationsInput | number dncEnforced?: Prisma.BoolFieldUpdateOperationsInput | boolean dailyCallLimit?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDayStartMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDayEndMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDays?: Prisma.AdminTelephonyPolicyUpdateworkDaysInput | number[] timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminTelephonyPolicyCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string outboundEnabled?: boolean recordingEnabled?: boolean recordingConsentText?: string | null recordingConsentVersion?: string | null recordingConsentAt?: Date | string | null recordingRetentionDays?: number dncEnforced?: boolean dailyCallLimit?: number | null workDayStartMinutes?: number | null workDayEndMinutes?: number | null workDays?: Prisma.AdminTelephonyPolicyCreateworkDaysInput | number[] timeZone?: string | null } export type AdminTelephonyPolicyUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string outboundEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean recordingEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean recordingConsentText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null recordingConsentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null recordingConsentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null recordingRetentionDays?: Prisma.IntFieldUpdateOperationsInput | number dncEnforced?: Prisma.BoolFieldUpdateOperationsInput | boolean dailyCallLimit?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDayStartMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDayEndMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDays?: Prisma.AdminTelephonyPolicyUpdateworkDaysInput | number[] timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminTelephonyPolicyUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string outboundEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean recordingEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean recordingConsentText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null recordingConsentVersion?: Prisma.NullableStringFieldUpdateOperationsInput | string | null recordingConsentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null recordingRetentionDays?: Prisma.IntFieldUpdateOperationsInput | number dncEnforced?: Prisma.BoolFieldUpdateOperationsInput | boolean dailyCallLimit?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDayStartMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDayEndMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null workDays?: Prisma.AdminTelephonyPolicyUpdateworkDaysInput | number[] timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminTelephonyPolicyCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder outboundEnabled?: Prisma.SortOrder recordingEnabled?: Prisma.SortOrder recordingConsentText?: Prisma.SortOrder recordingConsentVersion?: Prisma.SortOrder recordingConsentAt?: Prisma.SortOrder recordingRetentionDays?: Prisma.SortOrder dncEnforced?: Prisma.SortOrder dailyCallLimit?: Prisma.SortOrder workDayStartMinutes?: Prisma.SortOrder workDayEndMinutes?: Prisma.SortOrder workDays?: Prisma.SortOrder timeZone?: Prisma.SortOrder } export type AdminTelephonyPolicyAvgOrderByAggregateInput = { recordingRetentionDays?: Prisma.SortOrder dailyCallLimit?: Prisma.SortOrder workDayStartMinutes?: Prisma.SortOrder workDayEndMinutes?: Prisma.SortOrder workDays?: Prisma.SortOrder } export type AdminTelephonyPolicyMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder outboundEnabled?: Prisma.SortOrder recordingEnabled?: Prisma.SortOrder recordingConsentText?: Prisma.SortOrder recordingConsentVersion?: Prisma.SortOrder recordingConsentAt?: Prisma.SortOrder recordingRetentionDays?: Prisma.SortOrder dncEnforced?: Prisma.SortOrder dailyCallLimit?: Prisma.SortOrder workDayStartMinutes?: Prisma.SortOrder workDayEndMinutes?: Prisma.SortOrder timeZone?: Prisma.SortOrder } export type AdminTelephonyPolicyMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder outboundEnabled?: Prisma.SortOrder recordingEnabled?: Prisma.SortOrder recordingConsentText?: Prisma.SortOrder recordingConsentVersion?: Prisma.SortOrder recordingConsentAt?: Prisma.SortOrder recordingRetentionDays?: Prisma.SortOrder dncEnforced?: Prisma.SortOrder dailyCallLimit?: Prisma.SortOrder workDayStartMinutes?: Prisma.SortOrder workDayEndMinutes?: Prisma.SortOrder timeZone?: Prisma.SortOrder } export type AdminTelephonyPolicySumOrderByAggregateInput = { recordingRetentionDays?: Prisma.SortOrder dailyCallLimit?: Prisma.SortOrder workDayStartMinutes?: Prisma.SortOrder workDayEndMinutes?: Prisma.SortOrder workDays?: Prisma.SortOrder } export type AdminTelephonyPolicyCreateworkDaysInput = { set: number[] } export type AdminTelephonyPolicyUpdateworkDaysInput = { set?: number[] push?: number | number[] } export type AdminTelephonyPolicySelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean adminUserId?: boolean outboundEnabled?: boolean recordingEnabled?: boolean recordingConsentText?: boolean recordingConsentVersion?: boolean recordingConsentAt?: boolean recordingRetentionDays?: boolean dncEnforced?: boolean dailyCallLimit?: boolean workDayStartMinutes?: boolean workDayEndMinutes?: boolean workDays?: boolean timeZone?: boolean }, ExtArgs["result"]["adminTelephonyPolicy"]> export type AdminTelephonyPolicySelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean adminUserId?: boolean outboundEnabled?: boolean recordingEnabled?: boolean recordingConsentText?: boolean recordingConsentVersion?: boolean recordingConsentAt?: boolean recordingRetentionDays?: boolean dncEnforced?: boolean dailyCallLimit?: boolean workDayStartMinutes?: boolean workDayEndMinutes?: boolean workDays?: boolean timeZone?: boolean }, ExtArgs["result"]["adminTelephonyPolicy"]> export type AdminTelephonyPolicySelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean adminUserId?: boolean outboundEnabled?: boolean recordingEnabled?: boolean recordingConsentText?: boolean recordingConsentVersion?: boolean recordingConsentAt?: boolean recordingRetentionDays?: boolean dncEnforced?: boolean dailyCallLimit?: boolean workDayStartMinutes?: boolean workDayEndMinutes?: boolean workDays?: boolean timeZone?: boolean }, ExtArgs["result"]["adminTelephonyPolicy"]> export type AdminTelephonyPolicySelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean adminUserId?: boolean outboundEnabled?: boolean recordingEnabled?: boolean recordingConsentText?: boolean recordingConsentVersion?: boolean recordingConsentAt?: boolean recordingRetentionDays?: boolean dncEnforced?: boolean dailyCallLimit?: boolean workDayStartMinutes?: boolean workDayEndMinutes?: boolean workDays?: boolean timeZone?: boolean } export type AdminTelephonyPolicyOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "adminUserId" | "outboundEnabled" | "recordingEnabled" | "recordingConsentText" | "recordingConsentVersion" | "recordingConsentAt" | "recordingRetentionDays" | "dncEnforced" | "dailyCallLimit" | "workDayStartMinutes" | "workDayEndMinutes" | "workDays" | "timeZone", ExtArgs["result"]["adminTelephonyPolicy"]> export type $AdminTelephonyPolicyPayload = { name: "AdminTelephonyPolicy" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date adminUserId: string outboundEnabled: boolean recordingEnabled: boolean recordingConsentText: string | null recordingConsentVersion: string | null recordingConsentAt: Date | null recordingRetentionDays: number dncEnforced: boolean dailyCallLimit: number | null workDayStartMinutes: number | null workDayEndMinutes: number | null workDays: number[] timeZone: string | null }, ExtArgs["result"]["adminTelephonyPolicy"]> composites: {} } export type AdminTelephonyPolicyGetPayload = runtime.Types.Result.GetResult export type AdminTelephonyPolicyCountArgs = Omit & { select?: AdminTelephonyPolicyCountAggregateInputType | true } export interface AdminTelephonyPolicyDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AdminTelephonyPolicy'], meta: { name: 'AdminTelephonyPolicy' } } /** * Find zero or one AdminTelephonyPolicy that matches the filter. * @param {AdminTelephonyPolicyFindUniqueArgs} args - Arguments to find a AdminTelephonyPolicy * @example * // Get one AdminTelephonyPolicy * const adminTelephonyPolicy = await prisma.adminTelephonyPolicy.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTelephonyPolicyClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AdminTelephonyPolicy that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AdminTelephonyPolicyFindUniqueOrThrowArgs} args - Arguments to find a AdminTelephonyPolicy * @example * // Get one AdminTelephonyPolicy * const adminTelephonyPolicy = await prisma.adminTelephonyPolicy.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTelephonyPolicyClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AdminTelephonyPolicy 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 {AdminTelephonyPolicyFindFirstArgs} args - Arguments to find a AdminTelephonyPolicy * @example * // Get one AdminTelephonyPolicy * const adminTelephonyPolicy = await prisma.adminTelephonyPolicy.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminTelephonyPolicyClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AdminTelephonyPolicy 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 {AdminTelephonyPolicyFindFirstOrThrowArgs} args - Arguments to find a AdminTelephonyPolicy * @example * // Get one AdminTelephonyPolicy * const adminTelephonyPolicy = await prisma.adminTelephonyPolicy.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminTelephonyPolicyClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AdminTelephonyPolicies 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 {AdminTelephonyPolicyFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AdminTelephonyPolicies * const adminTelephonyPolicies = await prisma.adminTelephonyPolicy.findMany() * * // Get first 10 AdminTelephonyPolicies * const adminTelephonyPolicies = await prisma.adminTelephonyPolicy.findMany({ take: 10 }) * * // Only select the `id` * const adminTelephonyPolicyWithIdOnly = await prisma.adminTelephonyPolicy.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AdminTelephonyPolicy. * @param {AdminTelephonyPolicyCreateArgs} args - Arguments to create a AdminTelephonyPolicy. * @example * // Create one AdminTelephonyPolicy * const AdminTelephonyPolicy = await prisma.adminTelephonyPolicy.create({ * data: { * // ... data to create a AdminTelephonyPolicy * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTelephonyPolicyClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AdminTelephonyPolicies. * @param {AdminTelephonyPolicyCreateManyArgs} args - Arguments to create many AdminTelephonyPolicies. * @example * // Create many AdminTelephonyPolicies * const adminTelephonyPolicy = await prisma.adminTelephonyPolicy.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AdminTelephonyPolicies and returns the data saved in the database. * @param {AdminTelephonyPolicyCreateManyAndReturnArgs} args - Arguments to create many AdminTelephonyPolicies. * @example * // Create many AdminTelephonyPolicies * const adminTelephonyPolicy = await prisma.adminTelephonyPolicy.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AdminTelephonyPolicies and only return the `id` * const adminTelephonyPolicyWithIdOnly = await prisma.adminTelephonyPolicy.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 AdminTelephonyPolicy. * @param {AdminTelephonyPolicyDeleteArgs} args - Arguments to delete one AdminTelephonyPolicy. * @example * // Delete one AdminTelephonyPolicy * const AdminTelephonyPolicy = await prisma.adminTelephonyPolicy.delete({ * where: { * // ... filter to delete one AdminTelephonyPolicy * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTelephonyPolicyClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AdminTelephonyPolicy. * @param {AdminTelephonyPolicyUpdateArgs} args - Arguments to update one AdminTelephonyPolicy. * @example * // Update one AdminTelephonyPolicy * const adminTelephonyPolicy = await prisma.adminTelephonyPolicy.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTelephonyPolicyClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AdminTelephonyPolicies. * @param {AdminTelephonyPolicyDeleteManyArgs} args - Arguments to filter AdminTelephonyPolicies to delete. * @example * // Delete a few AdminTelephonyPolicies * const { count } = await prisma.adminTelephonyPolicy.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminTelephonyPolicies. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminTelephonyPolicyUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AdminTelephonyPolicies * const adminTelephonyPolicy = await prisma.adminTelephonyPolicy.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminTelephonyPolicies and returns the data updated in the database. * @param {AdminTelephonyPolicyUpdateManyAndReturnArgs} args - Arguments to update many AdminTelephonyPolicies. * @example * // Update many AdminTelephonyPolicies * const adminTelephonyPolicy = await prisma.adminTelephonyPolicy.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AdminTelephonyPolicies and only return the `id` * const adminTelephonyPolicyWithIdOnly = await prisma.adminTelephonyPolicy.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 AdminTelephonyPolicy. * @param {AdminTelephonyPolicyUpsertArgs} args - Arguments to update or create a AdminTelephonyPolicy. * @example * // Update or create a AdminTelephonyPolicy * const adminTelephonyPolicy = await prisma.adminTelephonyPolicy.upsert({ * create: { * // ... data to create a AdminTelephonyPolicy * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AdminTelephonyPolicy we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AdminTelephonyPolicyClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AdminTelephonyPolicies. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminTelephonyPolicyCountArgs} args - Arguments to filter AdminTelephonyPolicies to count. * @example * // Count the number of AdminTelephonyPolicies * const count = await prisma.adminTelephonyPolicy.count({ * where: { * // ... the filter for the AdminTelephonyPolicies 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 AdminTelephonyPolicy. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminTelephonyPolicyAggregateArgs} 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 AdminTelephonyPolicy. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminTelephonyPolicyGroupByArgs} 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 AdminTelephonyPolicyGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AdminTelephonyPolicyGroupByArgs['orderBy'] } : { orderBy?: AdminTelephonyPolicyGroupByArgs['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 ? GetAdminTelephonyPolicyGroupByPayload : Prisma.PrismaPromise /** * Fields of the AdminTelephonyPolicy model */ readonly fields: AdminTelephonyPolicyFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AdminTelephonyPolicy. * 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__AdminTelephonyPolicyClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 AdminTelephonyPolicy model */ export interface AdminTelephonyPolicyFieldRefs { readonly id: Prisma.FieldRef<"AdminTelephonyPolicy", 'String'> readonly createdAt: Prisma.FieldRef<"AdminTelephonyPolicy", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"AdminTelephonyPolicy", 'DateTime'> readonly adminUserId: Prisma.FieldRef<"AdminTelephonyPolicy", 'String'> readonly outboundEnabled: Prisma.FieldRef<"AdminTelephonyPolicy", 'Boolean'> readonly recordingEnabled: Prisma.FieldRef<"AdminTelephonyPolicy", 'Boolean'> readonly recordingConsentText: Prisma.FieldRef<"AdminTelephonyPolicy", 'String'> readonly recordingConsentVersion: Prisma.FieldRef<"AdminTelephonyPolicy", 'String'> readonly recordingConsentAt: Prisma.FieldRef<"AdminTelephonyPolicy", 'DateTime'> readonly recordingRetentionDays: Prisma.FieldRef<"AdminTelephonyPolicy", 'Int'> readonly dncEnforced: Prisma.FieldRef<"AdminTelephonyPolicy", 'Boolean'> readonly dailyCallLimit: Prisma.FieldRef<"AdminTelephonyPolicy", 'Int'> readonly workDayStartMinutes: Prisma.FieldRef<"AdminTelephonyPolicy", 'Int'> readonly workDayEndMinutes: Prisma.FieldRef<"AdminTelephonyPolicy", 'Int'> readonly workDays: Prisma.FieldRef<"AdminTelephonyPolicy", 'Int[]'> readonly timeZone: Prisma.FieldRef<"AdminTelephonyPolicy", 'String'> } // Custom InputTypes /** * AdminTelephonyPolicy findUnique */ export type AdminTelephonyPolicyFindUniqueArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelect | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * Filter, which AdminTelephonyPolicy to fetch. */ where: Prisma.AdminTelephonyPolicyWhereUniqueInput } /** * AdminTelephonyPolicy findUniqueOrThrow */ export type AdminTelephonyPolicyFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelect | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * Filter, which AdminTelephonyPolicy to fetch. */ where: Prisma.AdminTelephonyPolicyWhereUniqueInput } /** * AdminTelephonyPolicy findFirst */ export type AdminTelephonyPolicyFindFirstArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelect | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * Filter, which AdminTelephonyPolicy to fetch. */ where?: Prisma.AdminTelephonyPolicyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminTelephonyPolicies to fetch. */ orderBy?: Prisma.AdminTelephonyPolicyOrderByWithRelationInput | Prisma.AdminTelephonyPolicyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminTelephonyPolicies. */ cursor?: Prisma.AdminTelephonyPolicyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminTelephonyPolicies 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` AdminTelephonyPolicies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminTelephonyPolicies. */ distinct?: Prisma.AdminTelephonyPolicyScalarFieldEnum | Prisma.AdminTelephonyPolicyScalarFieldEnum[] } /** * AdminTelephonyPolicy findFirstOrThrow */ export type AdminTelephonyPolicyFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelect | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * Filter, which AdminTelephonyPolicy to fetch. */ where?: Prisma.AdminTelephonyPolicyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminTelephonyPolicies to fetch. */ orderBy?: Prisma.AdminTelephonyPolicyOrderByWithRelationInput | Prisma.AdminTelephonyPolicyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminTelephonyPolicies. */ cursor?: Prisma.AdminTelephonyPolicyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminTelephonyPolicies 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` AdminTelephonyPolicies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminTelephonyPolicies. */ distinct?: Prisma.AdminTelephonyPolicyScalarFieldEnum | Prisma.AdminTelephonyPolicyScalarFieldEnum[] } /** * AdminTelephonyPolicy findMany */ export type AdminTelephonyPolicyFindManyArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelect | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * Filter, which AdminTelephonyPolicies to fetch. */ where?: Prisma.AdminTelephonyPolicyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminTelephonyPolicies to fetch. */ orderBy?: Prisma.AdminTelephonyPolicyOrderByWithRelationInput | Prisma.AdminTelephonyPolicyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AdminTelephonyPolicies. */ cursor?: Prisma.AdminTelephonyPolicyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminTelephonyPolicies 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` AdminTelephonyPolicies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminTelephonyPolicies. */ distinct?: Prisma.AdminTelephonyPolicyScalarFieldEnum | Prisma.AdminTelephonyPolicyScalarFieldEnum[] } /** * AdminTelephonyPolicy create */ export type AdminTelephonyPolicyCreateArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelect | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * The data needed to create a AdminTelephonyPolicy. */ data: Prisma.XOR } /** * AdminTelephonyPolicy createMany */ export type AdminTelephonyPolicyCreateManyArgs = { /** * The data used to create many AdminTelephonyPolicies. */ data: Prisma.AdminTelephonyPolicyCreateManyInput | Prisma.AdminTelephonyPolicyCreateManyInput[] skipDuplicates?: boolean } /** * AdminTelephonyPolicy createManyAndReturn */ export type AdminTelephonyPolicyCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelectCreateManyAndReturn | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * The data used to create many AdminTelephonyPolicies. */ data: Prisma.AdminTelephonyPolicyCreateManyInput | Prisma.AdminTelephonyPolicyCreateManyInput[] skipDuplicates?: boolean } /** * AdminTelephonyPolicy update */ export type AdminTelephonyPolicyUpdateArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelect | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * The data needed to update a AdminTelephonyPolicy. */ data: Prisma.XOR /** * Choose, which AdminTelephonyPolicy to update. */ where: Prisma.AdminTelephonyPolicyWhereUniqueInput } /** * AdminTelephonyPolicy updateMany */ export type AdminTelephonyPolicyUpdateManyArgs = { /** * The data used to update AdminTelephonyPolicies. */ data: Prisma.XOR /** * Filter which AdminTelephonyPolicies to update */ where?: Prisma.AdminTelephonyPolicyWhereInput /** * Limit how many AdminTelephonyPolicies to update. */ limit?: number } /** * AdminTelephonyPolicy updateManyAndReturn */ export type AdminTelephonyPolicyUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelectUpdateManyAndReturn | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * The data used to update AdminTelephonyPolicies. */ data: Prisma.XOR /** * Filter which AdminTelephonyPolicies to update */ where?: Prisma.AdminTelephonyPolicyWhereInput /** * Limit how many AdminTelephonyPolicies to update. */ limit?: number } /** * AdminTelephonyPolicy upsert */ export type AdminTelephonyPolicyUpsertArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelect | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * The filter to search for the AdminTelephonyPolicy to update in case it exists. */ where: Prisma.AdminTelephonyPolicyWhereUniqueInput /** * In case the AdminTelephonyPolicy found by the `where` argument doesn't exist, create a new AdminTelephonyPolicy with this data. */ create: Prisma.XOR /** * In case the AdminTelephonyPolicy was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AdminTelephonyPolicy delete */ export type AdminTelephonyPolicyDeleteArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelect | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null /** * Filter which AdminTelephonyPolicy to delete. */ where: Prisma.AdminTelephonyPolicyWhereUniqueInput } /** * AdminTelephonyPolicy deleteMany */ export type AdminTelephonyPolicyDeleteManyArgs = { /** * Filter which AdminTelephonyPolicies to delete */ where?: Prisma.AdminTelephonyPolicyWhereInput /** * Limit how many AdminTelephonyPolicies to delete. */ limit?: number } /** * AdminTelephonyPolicy without action */ export type AdminTelephonyPolicyDefaultArgs = { /** * Select specific fields to fetch from the AdminTelephonyPolicy */ select?: Prisma.AdminTelephonyPolicySelect | null /** * Omit specific fields from the AdminTelephonyPolicy */ omit?: Prisma.AdminTelephonyPolicyOmit | null }