1532 lines
63 KiB
TypeScript
1532 lines
63 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 `AdminContactChannel` 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 AdminContactChannel
|
|
*
|
|
*/
|
|
export type AdminContactChannelModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminContactChannelPayload>
|
|
|
|
export type AggregateAdminContactChannel = {
|
|
_count: AdminContactChannelCountAggregateOutputType | null
|
|
_min: AdminContactChannelMinAggregateOutputType | null
|
|
_max: AdminContactChannelMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminContactChannelMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
archivedAt: Date | null
|
|
contactId: string | null
|
|
kind: $Enums.AdminContactChannelKind | null
|
|
label: string | null
|
|
value: string | null
|
|
normalizedValue: string | null
|
|
isPrimary: boolean | null
|
|
}
|
|
|
|
export type AdminContactChannelMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
archivedAt: Date | null
|
|
contactId: string | null
|
|
kind: $Enums.AdminContactChannelKind | null
|
|
label: string | null
|
|
value: string | null
|
|
normalizedValue: string | null
|
|
isPrimary: boolean | null
|
|
}
|
|
|
|
export type AdminContactChannelCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
archivedAt: number
|
|
contactId: number
|
|
kind: number
|
|
label: number
|
|
value: number
|
|
normalizedValue: number
|
|
isPrimary: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminContactChannelMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
contactId?: true
|
|
kind?: true
|
|
label?: true
|
|
value?: true
|
|
normalizedValue?: true
|
|
isPrimary?: true
|
|
}
|
|
|
|
export type AdminContactChannelMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
contactId?: true
|
|
kind?: true
|
|
label?: true
|
|
value?: true
|
|
normalizedValue?: true
|
|
isPrimary?: true
|
|
}
|
|
|
|
export type AdminContactChannelCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
archivedAt?: true
|
|
contactId?: true
|
|
kind?: true
|
|
label?: true
|
|
value?: true
|
|
normalizedValue?: true
|
|
isPrimary?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminContactChannelAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminContactChannel to aggregate.
|
|
*/
|
|
where?: Prisma.AdminContactChannelWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminContactChannels to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminContactChannelOrderByWithRelationInput | Prisma.AdminContactChannelOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminContactChannelWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminContactChannels 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` AdminContactChannels.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminContactChannels
|
|
**/
|
|
_count?: true | AdminContactChannelCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminContactChannelMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminContactChannelMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminContactChannelAggregateType<T extends AdminContactChannelAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminContactChannel]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminContactChannel[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminContactChannel[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminContactChannelGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminContactChannelWhereInput
|
|
orderBy?: Prisma.AdminContactChannelOrderByWithAggregationInput | Prisma.AdminContactChannelOrderByWithAggregationInput[]
|
|
by: Prisma.AdminContactChannelScalarFieldEnum[] | Prisma.AdminContactChannelScalarFieldEnum
|
|
having?: Prisma.AdminContactChannelScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminContactChannelCountAggregateInputType | true
|
|
_min?: AdminContactChannelMinAggregateInputType
|
|
_max?: AdminContactChannelMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminContactChannelGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
archivedAt: Date | null
|
|
contactId: string
|
|
kind: $Enums.AdminContactChannelKind
|
|
label: string | null
|
|
value: string
|
|
normalizedValue: string | null
|
|
isPrimary: boolean
|
|
_count: AdminContactChannelCountAggregateOutputType | null
|
|
_min: AdminContactChannelMinAggregateOutputType | null
|
|
_max: AdminContactChannelMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminContactChannelGroupByPayload<T extends AdminContactChannelGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminContactChannelGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminContactChannelGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminContactChannelGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminContactChannelGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminContactChannelWhereInput = {
|
|
AND?: Prisma.AdminContactChannelWhereInput | Prisma.AdminContactChannelWhereInput[]
|
|
OR?: Prisma.AdminContactChannelWhereInput[]
|
|
NOT?: Prisma.AdminContactChannelWhereInput | Prisma.AdminContactChannelWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminContactChannel"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminContactChannel"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminContactChannel"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AdminContactChannel"> | Date | string | null
|
|
contactId?: Prisma.StringFilter<"AdminContactChannel"> | string
|
|
kind?: Prisma.EnumAdminContactChannelKindFilter<"AdminContactChannel"> | $Enums.AdminContactChannelKind
|
|
label?: Prisma.StringNullableFilter<"AdminContactChannel"> | string | null
|
|
value?: Prisma.StringFilter<"AdminContactChannel"> | string
|
|
normalizedValue?: Prisma.StringNullableFilter<"AdminContactChannel"> | string | null
|
|
isPrimary?: Prisma.BoolFilter<"AdminContactChannel"> | boolean
|
|
contact?: Prisma.XOR<Prisma.AdminContactScalarRelationFilter, Prisma.AdminContactWhereInput>
|
|
}
|
|
|
|
export type AdminContactChannelOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
label?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
normalizedValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isPrimary?: Prisma.SortOrder
|
|
contact?: Prisma.AdminContactOrderByWithRelationInput
|
|
}
|
|
|
|
export type AdminContactChannelWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
admin_contact_channel_normalized_key?: Prisma.AdminContactChannelAdmin_contact_channel_normalized_keyCompoundUniqueInput
|
|
AND?: Prisma.AdminContactChannelWhereInput | Prisma.AdminContactChannelWhereInput[]
|
|
OR?: Prisma.AdminContactChannelWhereInput[]
|
|
NOT?: Prisma.AdminContactChannelWhereInput | Prisma.AdminContactChannelWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminContactChannel"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminContactChannel"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AdminContactChannel"> | Date | string | null
|
|
contactId?: Prisma.StringFilter<"AdminContactChannel"> | string
|
|
kind?: Prisma.EnumAdminContactChannelKindFilter<"AdminContactChannel"> | $Enums.AdminContactChannelKind
|
|
label?: Prisma.StringNullableFilter<"AdminContactChannel"> | string | null
|
|
value?: Prisma.StringFilter<"AdminContactChannel"> | string
|
|
normalizedValue?: Prisma.StringNullableFilter<"AdminContactChannel"> | string | null
|
|
isPrimary?: Prisma.BoolFilter<"AdminContactChannel"> | boolean
|
|
contact?: Prisma.XOR<Prisma.AdminContactScalarRelationFilter, Prisma.AdminContactWhereInput>
|
|
}, "id" | "admin_contact_channel_normalized_key">
|
|
|
|
export type AdminContactChannelOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
label?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
normalizedValue?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isPrimary?: Prisma.SortOrder
|
|
_count?: Prisma.AdminContactChannelCountOrderByAggregateInput
|
|
_max?: Prisma.AdminContactChannelMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminContactChannelMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminContactChannelScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminContactChannelScalarWhereWithAggregatesInput | Prisma.AdminContactChannelScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminContactChannelScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminContactChannelScalarWhereWithAggregatesInput | Prisma.AdminContactChannelScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminContactChannel"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminContactChannel"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminContactChannel"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminContactChannel"> | Date | string | null
|
|
contactId?: Prisma.StringWithAggregatesFilter<"AdminContactChannel"> | string
|
|
kind?: Prisma.EnumAdminContactChannelKindWithAggregatesFilter<"AdminContactChannel"> | $Enums.AdminContactChannelKind
|
|
label?: Prisma.StringNullableWithAggregatesFilter<"AdminContactChannel"> | string | null
|
|
value?: Prisma.StringWithAggregatesFilter<"AdminContactChannel"> | string
|
|
normalizedValue?: Prisma.StringNullableWithAggregatesFilter<"AdminContactChannel"> | string | null
|
|
isPrimary?: Prisma.BoolWithAggregatesFilter<"AdminContactChannel"> | boolean
|
|
}
|
|
|
|
export type AdminContactChannelCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
kind: $Enums.AdminContactChannelKind
|
|
label?: string | null
|
|
value: string
|
|
normalizedValue?: string | null
|
|
isPrimary?: boolean
|
|
contact: Prisma.AdminContactCreateNestedOneWithoutChannelsInput
|
|
}
|
|
|
|
export type AdminContactChannelUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
contactId: string
|
|
kind: $Enums.AdminContactChannelKind
|
|
label?: string | null
|
|
value: string
|
|
normalizedValue?: string | null
|
|
isPrimary?: boolean
|
|
}
|
|
|
|
export type AdminContactChannelUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
kind?: Prisma.EnumAdminContactChannelKindFieldUpdateOperationsInput | $Enums.AdminContactChannelKind
|
|
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
normalizedValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
contact?: Prisma.AdminContactUpdateOneRequiredWithoutChannelsNestedInput
|
|
}
|
|
|
|
export type AdminContactChannelUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.EnumAdminContactChannelKindFieldUpdateOperationsInput | $Enums.AdminContactChannelKind
|
|
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
normalizedValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type AdminContactChannelCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
contactId: string
|
|
kind: $Enums.AdminContactChannelKind
|
|
label?: string | null
|
|
value: string
|
|
normalizedValue?: string | null
|
|
isPrimary?: boolean
|
|
}
|
|
|
|
export type AdminContactChannelUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
kind?: Prisma.EnumAdminContactChannelKindFieldUpdateOperationsInput | $Enums.AdminContactChannelKind
|
|
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
normalizedValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type AdminContactChannelUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.EnumAdminContactChannelKindFieldUpdateOperationsInput | $Enums.AdminContactChannelKind
|
|
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
normalizedValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type AdminContactChannelListRelationFilter = {
|
|
every?: Prisma.AdminContactChannelWhereInput
|
|
some?: Prisma.AdminContactChannelWhereInput
|
|
none?: Prisma.AdminContactChannelWhereInput
|
|
}
|
|
|
|
export type AdminContactChannelOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminContactChannelAdmin_contact_channel_normalized_keyCompoundUniqueInput = {
|
|
contactId: string
|
|
kind: $Enums.AdminContactChannelKind
|
|
normalizedValue: string
|
|
}
|
|
|
|
export type AdminContactChannelCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
label?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
normalizedValue?: Prisma.SortOrder
|
|
isPrimary?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminContactChannelMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
label?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
normalizedValue?: Prisma.SortOrder
|
|
isPrimary?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminContactChannelMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
label?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
normalizedValue?: Prisma.SortOrder
|
|
isPrimary?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminContactChannelCreateNestedManyWithoutContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminContactChannelCreateWithoutContactInput, Prisma.AdminContactChannelUncheckedCreateWithoutContactInput> | Prisma.AdminContactChannelCreateWithoutContactInput[] | Prisma.AdminContactChannelUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminContactChannelCreateOrConnectWithoutContactInput | Prisma.AdminContactChannelCreateOrConnectWithoutContactInput[]
|
|
createMany?: Prisma.AdminContactChannelCreateManyContactInputEnvelope
|
|
connect?: Prisma.AdminContactChannelWhereUniqueInput | Prisma.AdminContactChannelWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminContactChannelUncheckedCreateNestedManyWithoutContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminContactChannelCreateWithoutContactInput, Prisma.AdminContactChannelUncheckedCreateWithoutContactInput> | Prisma.AdminContactChannelCreateWithoutContactInput[] | Prisma.AdminContactChannelUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminContactChannelCreateOrConnectWithoutContactInput | Prisma.AdminContactChannelCreateOrConnectWithoutContactInput[]
|
|
createMany?: Prisma.AdminContactChannelCreateManyContactInputEnvelope
|
|
connect?: Prisma.AdminContactChannelWhereUniqueInput | Prisma.AdminContactChannelWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminContactChannelUpdateManyWithoutContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminContactChannelCreateWithoutContactInput, Prisma.AdminContactChannelUncheckedCreateWithoutContactInput> | Prisma.AdminContactChannelCreateWithoutContactInput[] | Prisma.AdminContactChannelUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminContactChannelCreateOrConnectWithoutContactInput | Prisma.AdminContactChannelCreateOrConnectWithoutContactInput[]
|
|
upsert?: Prisma.AdminContactChannelUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminContactChannelUpsertWithWhereUniqueWithoutContactInput[]
|
|
createMany?: Prisma.AdminContactChannelCreateManyContactInputEnvelope
|
|
set?: Prisma.AdminContactChannelWhereUniqueInput | Prisma.AdminContactChannelWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminContactChannelWhereUniqueInput | Prisma.AdminContactChannelWhereUniqueInput[]
|
|
delete?: Prisma.AdminContactChannelWhereUniqueInput | Prisma.AdminContactChannelWhereUniqueInput[]
|
|
connect?: Prisma.AdminContactChannelWhereUniqueInput | Prisma.AdminContactChannelWhereUniqueInput[]
|
|
update?: Prisma.AdminContactChannelUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminContactChannelUpdateWithWhereUniqueWithoutContactInput[]
|
|
updateMany?: Prisma.AdminContactChannelUpdateManyWithWhereWithoutContactInput | Prisma.AdminContactChannelUpdateManyWithWhereWithoutContactInput[]
|
|
deleteMany?: Prisma.AdminContactChannelScalarWhereInput | Prisma.AdminContactChannelScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminContactChannelUncheckedUpdateManyWithoutContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminContactChannelCreateWithoutContactInput, Prisma.AdminContactChannelUncheckedCreateWithoutContactInput> | Prisma.AdminContactChannelCreateWithoutContactInput[] | Prisma.AdminContactChannelUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminContactChannelCreateOrConnectWithoutContactInput | Prisma.AdminContactChannelCreateOrConnectWithoutContactInput[]
|
|
upsert?: Prisma.AdminContactChannelUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminContactChannelUpsertWithWhereUniqueWithoutContactInput[]
|
|
createMany?: Prisma.AdminContactChannelCreateManyContactInputEnvelope
|
|
set?: Prisma.AdminContactChannelWhereUniqueInput | Prisma.AdminContactChannelWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminContactChannelWhereUniqueInput | Prisma.AdminContactChannelWhereUniqueInput[]
|
|
delete?: Prisma.AdminContactChannelWhereUniqueInput | Prisma.AdminContactChannelWhereUniqueInput[]
|
|
connect?: Prisma.AdminContactChannelWhereUniqueInput | Prisma.AdminContactChannelWhereUniqueInput[]
|
|
update?: Prisma.AdminContactChannelUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminContactChannelUpdateWithWhereUniqueWithoutContactInput[]
|
|
updateMany?: Prisma.AdminContactChannelUpdateManyWithWhereWithoutContactInput | Prisma.AdminContactChannelUpdateManyWithWhereWithoutContactInput[]
|
|
deleteMany?: Prisma.AdminContactChannelScalarWhereInput | Prisma.AdminContactChannelScalarWhereInput[]
|
|
}
|
|
|
|
export type EnumAdminContactChannelKindFieldUpdateOperationsInput = {
|
|
set?: $Enums.AdminContactChannelKind
|
|
}
|
|
|
|
export type AdminContactChannelCreateWithoutContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
kind: $Enums.AdminContactChannelKind
|
|
label?: string | null
|
|
value: string
|
|
normalizedValue?: string | null
|
|
isPrimary?: boolean
|
|
}
|
|
|
|
export type AdminContactChannelUncheckedCreateWithoutContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
kind: $Enums.AdminContactChannelKind
|
|
label?: string | null
|
|
value: string
|
|
normalizedValue?: string | null
|
|
isPrimary?: boolean
|
|
}
|
|
|
|
export type AdminContactChannelCreateOrConnectWithoutContactInput = {
|
|
where: Prisma.AdminContactChannelWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminContactChannelCreateWithoutContactInput, Prisma.AdminContactChannelUncheckedCreateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminContactChannelCreateManyContactInputEnvelope = {
|
|
data: Prisma.AdminContactChannelCreateManyContactInput | Prisma.AdminContactChannelCreateManyContactInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminContactChannelUpsertWithWhereUniqueWithoutContactInput = {
|
|
where: Prisma.AdminContactChannelWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminContactChannelUpdateWithoutContactInput, Prisma.AdminContactChannelUncheckedUpdateWithoutContactInput>
|
|
create: Prisma.XOR<Prisma.AdminContactChannelCreateWithoutContactInput, Prisma.AdminContactChannelUncheckedCreateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminContactChannelUpdateWithWhereUniqueWithoutContactInput = {
|
|
where: Prisma.AdminContactChannelWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminContactChannelUpdateWithoutContactInput, Prisma.AdminContactChannelUncheckedUpdateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminContactChannelUpdateManyWithWhereWithoutContactInput = {
|
|
where: Prisma.AdminContactChannelScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminContactChannelUpdateManyMutationInput, Prisma.AdminContactChannelUncheckedUpdateManyWithoutContactInput>
|
|
}
|
|
|
|
export type AdminContactChannelScalarWhereInput = {
|
|
AND?: Prisma.AdminContactChannelScalarWhereInput | Prisma.AdminContactChannelScalarWhereInput[]
|
|
OR?: Prisma.AdminContactChannelScalarWhereInput[]
|
|
NOT?: Prisma.AdminContactChannelScalarWhereInput | Prisma.AdminContactChannelScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminContactChannel"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminContactChannel"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminContactChannel"> | Date | string
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AdminContactChannel"> | Date | string | null
|
|
contactId?: Prisma.StringFilter<"AdminContactChannel"> | string
|
|
kind?: Prisma.EnumAdminContactChannelKindFilter<"AdminContactChannel"> | $Enums.AdminContactChannelKind
|
|
label?: Prisma.StringNullableFilter<"AdminContactChannel"> | string | null
|
|
value?: Prisma.StringFilter<"AdminContactChannel"> | string
|
|
normalizedValue?: Prisma.StringNullableFilter<"AdminContactChannel"> | string | null
|
|
isPrimary?: Prisma.BoolFilter<"AdminContactChannel"> | boolean
|
|
}
|
|
|
|
export type AdminContactChannelCreateManyContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
archivedAt?: Date | string | null
|
|
kind: $Enums.AdminContactChannelKind
|
|
label?: string | null
|
|
value: string
|
|
normalizedValue?: string | null
|
|
isPrimary?: boolean
|
|
}
|
|
|
|
export type AdminContactChannelUpdateWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
kind?: Prisma.EnumAdminContactChannelKindFieldUpdateOperationsInput | $Enums.AdminContactChannelKind
|
|
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
normalizedValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type AdminContactChannelUncheckedUpdateWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
kind?: Prisma.EnumAdminContactChannelKindFieldUpdateOperationsInput | $Enums.AdminContactChannelKind
|
|
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
normalizedValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type AdminContactChannelUncheckedUpdateManyWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
kind?: Prisma.EnumAdminContactChannelKindFieldUpdateOperationsInput | $Enums.AdminContactChannelKind
|
|
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
normalizedValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
|
|
|
|
export type AdminContactChannelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
contactId?: boolean
|
|
kind?: boolean
|
|
label?: boolean
|
|
value?: boolean
|
|
normalizedValue?: boolean
|
|
isPrimary?: boolean
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminContactChannel"]>
|
|
|
|
export type AdminContactChannelSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
contactId?: boolean
|
|
kind?: boolean
|
|
label?: boolean
|
|
value?: boolean
|
|
normalizedValue?: boolean
|
|
isPrimary?: boolean
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminContactChannel"]>
|
|
|
|
export type AdminContactChannelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
contactId?: boolean
|
|
kind?: boolean
|
|
label?: boolean
|
|
value?: boolean
|
|
normalizedValue?: boolean
|
|
isPrimary?: boolean
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminContactChannel"]>
|
|
|
|
export type AdminContactChannelSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
archivedAt?: boolean
|
|
contactId?: boolean
|
|
kind?: boolean
|
|
label?: boolean
|
|
value?: boolean
|
|
normalizedValue?: boolean
|
|
isPrimary?: boolean
|
|
}
|
|
|
|
export type AdminContactChannelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "archivedAt" | "contactId" | "kind" | "label" | "value" | "normalizedValue" | "isPrimary", ExtArgs["result"]["adminContactChannel"]>
|
|
export type AdminContactChannelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminContactChannelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminContactChannelIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AdminContactChannelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminContactChannel"
|
|
objects: {
|
|
contact: Prisma.$AdminContactPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
archivedAt: Date | null
|
|
contactId: string
|
|
kind: $Enums.AdminContactChannelKind
|
|
label: string | null
|
|
value: string
|
|
normalizedValue: string | null
|
|
isPrimary: boolean
|
|
}, ExtArgs["result"]["adminContactChannel"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminContactChannelGetPayload<S extends boolean | null | undefined | AdminContactChannelDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload, S>
|
|
|
|
export type AdminContactChannelCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminContactChannelFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminContactChannelCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminContactChannelDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminContactChannel'], meta: { name: 'AdminContactChannel' } }
|
|
/**
|
|
* Find zero or one AdminContactChannel that matches the filter.
|
|
* @param {AdminContactChannelFindUniqueArgs} args - Arguments to find a AdminContactChannel
|
|
* @example
|
|
* // Get one AdminContactChannel
|
|
* const adminContactChannel = await prisma.adminContactChannel.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminContactChannelFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminContactChannelFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminContactChannelClient<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminContactChannel that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminContactChannelFindUniqueOrThrowArgs} args - Arguments to find a AdminContactChannel
|
|
* @example
|
|
* // Get one AdminContactChannel
|
|
* const adminContactChannel = await prisma.adminContactChannel.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminContactChannelFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminContactChannelFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminContactChannelClient<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminContactChannel 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 {AdminContactChannelFindFirstArgs} args - Arguments to find a AdminContactChannel
|
|
* @example
|
|
* // Get one AdminContactChannel
|
|
* const adminContactChannel = await prisma.adminContactChannel.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminContactChannelFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminContactChannelFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminContactChannelClient<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminContactChannel 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 {AdminContactChannelFindFirstOrThrowArgs} args - Arguments to find a AdminContactChannel
|
|
* @example
|
|
* // Get one AdminContactChannel
|
|
* const adminContactChannel = await prisma.adminContactChannel.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminContactChannelFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminContactChannelFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminContactChannelClient<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminContactChannels 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 {AdminContactChannelFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminContactChannels
|
|
* const adminContactChannels = await prisma.adminContactChannel.findMany()
|
|
*
|
|
* // Get first 10 AdminContactChannels
|
|
* const adminContactChannels = await prisma.adminContactChannel.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminContactChannelWithIdOnly = await prisma.adminContactChannel.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminContactChannelFindManyArgs>(args?: Prisma.SelectSubset<T, AdminContactChannelFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminContactChannel.
|
|
* @param {AdminContactChannelCreateArgs} args - Arguments to create a AdminContactChannel.
|
|
* @example
|
|
* // Create one AdminContactChannel
|
|
* const AdminContactChannel = await prisma.adminContactChannel.create({
|
|
* data: {
|
|
* // ... data to create a AdminContactChannel
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminContactChannelCreateArgs>(args: Prisma.SelectSubset<T, AdminContactChannelCreateArgs<ExtArgs>>): Prisma.Prisma__AdminContactChannelClient<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminContactChannels.
|
|
* @param {AdminContactChannelCreateManyArgs} args - Arguments to create many AdminContactChannels.
|
|
* @example
|
|
* // Create many AdminContactChannels
|
|
* const adminContactChannel = await prisma.adminContactChannel.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminContactChannelCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminContactChannelCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminContactChannels and returns the data saved in the database.
|
|
* @param {AdminContactChannelCreateManyAndReturnArgs} args - Arguments to create many AdminContactChannels.
|
|
* @example
|
|
* // Create many AdminContactChannels
|
|
* const adminContactChannel = await prisma.adminContactChannel.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminContactChannels and only return the `id`
|
|
* const adminContactChannelWithIdOnly = await prisma.adminContactChannel.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 AdminContactChannelCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminContactChannelCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminContactChannel.
|
|
* @param {AdminContactChannelDeleteArgs} args - Arguments to delete one AdminContactChannel.
|
|
* @example
|
|
* // Delete one AdminContactChannel
|
|
* const AdminContactChannel = await prisma.adminContactChannel.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminContactChannel
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminContactChannelDeleteArgs>(args: Prisma.SelectSubset<T, AdminContactChannelDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminContactChannelClient<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminContactChannel.
|
|
* @param {AdminContactChannelUpdateArgs} args - Arguments to update one AdminContactChannel.
|
|
* @example
|
|
* // Update one AdminContactChannel
|
|
* const adminContactChannel = await prisma.adminContactChannel.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminContactChannelUpdateArgs>(args: Prisma.SelectSubset<T, AdminContactChannelUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminContactChannelClient<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminContactChannels.
|
|
* @param {AdminContactChannelDeleteManyArgs} args - Arguments to filter AdminContactChannels to delete.
|
|
* @example
|
|
* // Delete a few AdminContactChannels
|
|
* const { count } = await prisma.adminContactChannel.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminContactChannelDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminContactChannelDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminContactChannels.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminContactChannelUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminContactChannels
|
|
* const adminContactChannel = await prisma.adminContactChannel.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminContactChannelUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminContactChannelUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminContactChannels and returns the data updated in the database.
|
|
* @param {AdminContactChannelUpdateManyAndReturnArgs} args - Arguments to update many AdminContactChannels.
|
|
* @example
|
|
* // Update many AdminContactChannels
|
|
* const adminContactChannel = await prisma.adminContactChannel.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminContactChannels and only return the `id`
|
|
* const adminContactChannelWithIdOnly = await prisma.adminContactChannel.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 AdminContactChannelUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminContactChannelUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminContactChannel.
|
|
* @param {AdminContactChannelUpsertArgs} args - Arguments to update or create a AdminContactChannel.
|
|
* @example
|
|
* // Update or create a AdminContactChannel
|
|
* const adminContactChannel = await prisma.adminContactChannel.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminContactChannel
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminContactChannel we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminContactChannelUpsertArgs>(args: Prisma.SelectSubset<T, AdminContactChannelUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminContactChannelClient<runtime.Types.Result.GetResult<Prisma.$AdminContactChannelPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminContactChannels.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminContactChannelCountArgs} args - Arguments to filter AdminContactChannels to count.
|
|
* @example
|
|
* // Count the number of AdminContactChannels
|
|
* const count = await prisma.adminContactChannel.count({
|
|
* where: {
|
|
* // ... the filter for the AdminContactChannels we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminContactChannelCountArgs>(
|
|
args?: Prisma.Subset<T, AdminContactChannelCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminContactChannelCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminContactChannel.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminContactChannelAggregateArgs} 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 AdminContactChannelAggregateArgs>(args: Prisma.Subset<T, AdminContactChannelAggregateArgs>): Prisma.PrismaPromise<GetAdminContactChannelAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminContactChannel.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminContactChannelGroupByArgs} 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 AdminContactChannelGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminContactChannelGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminContactChannelGroupByArgs['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, AdminContactChannelGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminContactChannelGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminContactChannel model
|
|
*/
|
|
readonly fields: AdminContactChannelFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminContactChannel.
|
|
* 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__AdminContactChannelClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
contact<T extends Prisma.AdminContactDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminContactDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminContactClient<runtime.Types.Result.GetResult<Prisma.$AdminContactPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the AdminContactChannel model
|
|
*/
|
|
export interface AdminContactChannelFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminContactChannel", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminContactChannel", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AdminContactChannel", 'DateTime'>
|
|
readonly archivedAt: Prisma.FieldRef<"AdminContactChannel", 'DateTime'>
|
|
readonly contactId: Prisma.FieldRef<"AdminContactChannel", 'String'>
|
|
readonly kind: Prisma.FieldRef<"AdminContactChannel", 'AdminContactChannelKind'>
|
|
readonly label: Prisma.FieldRef<"AdminContactChannel", 'String'>
|
|
readonly value: Prisma.FieldRef<"AdminContactChannel", 'String'>
|
|
readonly normalizedValue: Prisma.FieldRef<"AdminContactChannel", 'String'>
|
|
readonly isPrimary: Prisma.FieldRef<"AdminContactChannel", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminContactChannel findUnique
|
|
*/
|
|
export type AdminContactChannelFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminContactChannel to fetch.
|
|
*/
|
|
where: Prisma.AdminContactChannelWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel findUniqueOrThrow
|
|
*/
|
|
export type AdminContactChannelFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminContactChannel to fetch.
|
|
*/
|
|
where: Prisma.AdminContactChannelWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel findFirst
|
|
*/
|
|
export type AdminContactChannelFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminContactChannel to fetch.
|
|
*/
|
|
where?: Prisma.AdminContactChannelWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminContactChannels to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminContactChannelOrderByWithRelationInput | Prisma.AdminContactChannelOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminContactChannels.
|
|
*/
|
|
cursor?: Prisma.AdminContactChannelWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminContactChannels 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` AdminContactChannels.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminContactChannels.
|
|
*/
|
|
distinct?: Prisma.AdminContactChannelScalarFieldEnum | Prisma.AdminContactChannelScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel findFirstOrThrow
|
|
*/
|
|
export type AdminContactChannelFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminContactChannel to fetch.
|
|
*/
|
|
where?: Prisma.AdminContactChannelWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminContactChannels to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminContactChannelOrderByWithRelationInput | Prisma.AdminContactChannelOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminContactChannels.
|
|
*/
|
|
cursor?: Prisma.AdminContactChannelWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminContactChannels 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` AdminContactChannels.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminContactChannels.
|
|
*/
|
|
distinct?: Prisma.AdminContactChannelScalarFieldEnum | Prisma.AdminContactChannelScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel findMany
|
|
*/
|
|
export type AdminContactChannelFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminContactChannels to fetch.
|
|
*/
|
|
where?: Prisma.AdminContactChannelWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminContactChannels to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminContactChannelOrderByWithRelationInput | Prisma.AdminContactChannelOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminContactChannels.
|
|
*/
|
|
cursor?: Prisma.AdminContactChannelWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminContactChannels 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` AdminContactChannels.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminContactChannels.
|
|
*/
|
|
distinct?: Prisma.AdminContactChannelScalarFieldEnum | Prisma.AdminContactChannelScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel create
|
|
*/
|
|
export type AdminContactChannelCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminContactChannel.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminContactChannelCreateInput, Prisma.AdminContactChannelUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel createMany
|
|
*/
|
|
export type AdminContactChannelCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminContactChannels.
|
|
*/
|
|
data: Prisma.AdminContactChannelCreateManyInput | Prisma.AdminContactChannelCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel createManyAndReturn
|
|
*/
|
|
export type AdminContactChannelCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminContactChannels.
|
|
*/
|
|
data: Prisma.AdminContactChannelCreateManyInput | Prisma.AdminContactChannelCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel update
|
|
*/
|
|
export type AdminContactChannelUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminContactChannel.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminContactChannelUpdateInput, Prisma.AdminContactChannelUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminContactChannel to update.
|
|
*/
|
|
where: Prisma.AdminContactChannelWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel updateMany
|
|
*/
|
|
export type AdminContactChannelUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminContactChannels.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminContactChannelUpdateManyMutationInput, Prisma.AdminContactChannelUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminContactChannels to update
|
|
*/
|
|
where?: Prisma.AdminContactChannelWhereInput
|
|
/**
|
|
* Limit how many AdminContactChannels to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel updateManyAndReturn
|
|
*/
|
|
export type AdminContactChannelUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminContactChannels.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminContactChannelUpdateManyMutationInput, Prisma.AdminContactChannelUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminContactChannels to update
|
|
*/
|
|
where?: Prisma.AdminContactChannelWhereInput
|
|
/**
|
|
* Limit how many AdminContactChannels to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel upsert
|
|
*/
|
|
export type AdminContactChannelUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AdminContactChannel to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminContactChannelWhereUniqueInput
|
|
/**
|
|
* In case the AdminContactChannel found by the `where` argument doesn't exist, create a new AdminContactChannel with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminContactChannelCreateInput, Prisma.AdminContactChannelUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminContactChannel was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminContactChannelUpdateInput, Prisma.AdminContactChannelUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel delete
|
|
*/
|
|
export type AdminContactChannelDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminContactChannel to delete.
|
|
*/
|
|
where: Prisma.AdminContactChannelWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel deleteMany
|
|
*/
|
|
export type AdminContactChannelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminContactChannels to delete
|
|
*/
|
|
where?: Prisma.AdminContactChannelWhereInput
|
|
/**
|
|
* Limit how many AdminContactChannels to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminContactChannel without action
|
|
*/
|
|
export type AdminContactChannelDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactChannel
|
|
*/
|
|
select?: Prisma.AdminContactChannelSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactChannel
|
|
*/
|
|
omit?: Prisma.AdminContactChannelOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactChannelInclude<ExtArgs> | null
|
|
}
|