1529 lines
61 KiB
TypeScript
1529 lines
61 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `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<Prisma.$AdminTelephonyPolicyPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends AdminTelephonyPolicyAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminTelephonyPolicy]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminTelephonyPolicy[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminTelephonyPolicy[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminTelephonyPolicyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends AdminTelephonyPolicyGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminTelephonyPolicyGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminTelephonyPolicyGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminTelephonyPolicyGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminTelephonyPolicyGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | AdminTelephonyPolicyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload, S>
|
|
|
|
export type AdminTelephonyPolicyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminTelephonyPolicyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminTelephonyPolicyCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminTelephonyPolicyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends AdminTelephonyPolicyFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminTelephonyPolicyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminTelephonyPolicyClient<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminTelephonyPolicyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminTelephonyPolicyClient<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminTelephonyPolicyFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminTelephonyPolicyClient<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminTelephonyPolicyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminTelephonyPolicyClient<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyFindManyArgs>(args?: Prisma.SelectSubset<T, AdminTelephonyPolicyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyCreateArgs>(args: Prisma.SelectSubset<T, AdminTelephonyPolicyCreateArgs<ExtArgs>>): Prisma.Prisma__AdminTelephonyPolicyClient<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminTelephonyPolicyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AdminTelephonyPolicyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminTelephonyPolicyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyDeleteArgs>(args: Prisma.SelectSubset<T, AdminTelephonyPolicyDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminTelephonyPolicyClient<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyUpdateArgs>(args: Prisma.SelectSubset<T, AdminTelephonyPolicyUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminTelephonyPolicyClient<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminTelephonyPolicyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AdminTelephonyPolicyUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminTelephonyPolicyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AdminTelephonyPolicyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminTelephonyPolicyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyUpsertArgs>(args: Prisma.SelectSubset<T, AdminTelephonyPolicyUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminTelephonyPolicyClient<runtime.Types.Result.GetResult<Prisma.$AdminTelephonyPolicyPayload<ExtArgs>, 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<T extends AdminTelephonyPolicyCountArgs>(
|
|
args?: Prisma.Subset<T, AdminTelephonyPolicyCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminTelephonyPolicyCountAggregateOutputType>
|
|
: 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<T extends AdminTelephonyPolicyAggregateArgs>(args: Prisma.Subset<T, AdminTelephonyPolicyAggregateArgs>): Prisma.PrismaPromise<GetAdminTelephonyPolicyAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminTelephonyPolicyGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminTelephonyPolicyGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, AdminTelephonyPolicyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminTelephonyPolicyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminTelephonyPolicy to fetch.
|
|
*/
|
|
where: Prisma.AdminTelephonyPolicyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy findUniqueOrThrow
|
|
*/
|
|
export type AdminTelephonyPolicyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminTelephonyPolicy to fetch.
|
|
*/
|
|
where: Prisma.AdminTelephonyPolicyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy findFirst
|
|
*/
|
|
export type AdminTelephonyPolicyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminTelephonyPolicy.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminTelephonyPolicyCreateInput, Prisma.AdminTelephonyPolicyUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy createMany
|
|
*/
|
|
export type AdminTelephonyPolicyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminTelephonyPolicies.
|
|
*/
|
|
data: Prisma.AdminTelephonyPolicyCreateManyInput | Prisma.AdminTelephonyPolicyCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy createManyAndReturn
|
|
*/
|
|
export type AdminTelephonyPolicyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminTelephonyPolicies.
|
|
*/
|
|
data: Prisma.AdminTelephonyPolicyCreateManyInput | Prisma.AdminTelephonyPolicyCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy update
|
|
*/
|
|
export type AdminTelephonyPolicyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminTelephonyPolicy.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminTelephonyPolicyUpdateInput, Prisma.AdminTelephonyPolicyUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminTelephonyPolicy to update.
|
|
*/
|
|
where: Prisma.AdminTelephonyPolicyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy updateMany
|
|
*/
|
|
export type AdminTelephonyPolicyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminTelephonyPolicies.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminTelephonyPolicyUpdateManyMutationInput, Prisma.AdminTelephonyPolicyUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminTelephonyPolicies to update
|
|
*/
|
|
where?: Prisma.AdminTelephonyPolicyWhereInput
|
|
/**
|
|
* Limit how many AdminTelephonyPolicies to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy updateManyAndReturn
|
|
*/
|
|
export type AdminTelephonyPolicyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminTelephonyPolicies.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminTelephonyPolicyUpdateManyMutationInput, Prisma.AdminTelephonyPolicyUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminTelephonyPolicies to update
|
|
*/
|
|
where?: Prisma.AdminTelephonyPolicyWhereInput
|
|
/**
|
|
* Limit how many AdminTelephonyPolicies to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy upsert
|
|
*/
|
|
export type AdminTelephonyPolicyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | 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<Prisma.AdminTelephonyPolicyCreateInput, Prisma.AdminTelephonyPolicyUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminTelephonyPolicy was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminTelephonyPolicyUpdateInput, Prisma.AdminTelephonyPolicyUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy delete
|
|
*/
|
|
export type AdminTelephonyPolicyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminTelephonyPolicy to delete.
|
|
*/
|
|
where: Prisma.AdminTelephonyPolicyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy deleteMany
|
|
*/
|
|
export type AdminTelephonyPolicyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminTelephonyPolicies to delete
|
|
*/
|
|
where?: Prisma.AdminTelephonyPolicyWhereInput
|
|
/**
|
|
* Limit how many AdminTelephonyPolicies to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminTelephonyPolicy without action
|
|
*/
|
|
export type AdminTelephonyPolicyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTelephonyPolicy
|
|
*/
|
|
select?: Prisma.AdminTelephonyPolicySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTelephonyPolicy
|
|
*/
|
|
omit?: Prisma.AdminTelephonyPolicyOmit<ExtArgs> | null
|
|
}
|