1485 lines
59 KiB
TypeScript
1485 lines
59 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 `AdminContactNote` 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 AdminContactNote
|
|
*
|
|
*/
|
|
export type AdminContactNoteModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminContactNotePayload>
|
|
|
|
export type AggregateAdminContactNote = {
|
|
_count: AdminContactNoteCountAggregateOutputType | null
|
|
_min: AdminContactNoteMinAggregateOutputType | null
|
|
_max: AdminContactNoteMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminContactNoteMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
contactId: string | null
|
|
body: string | null
|
|
createdByAdminUserId: string | null
|
|
}
|
|
|
|
export type AdminContactNoteMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
contactId: string | null
|
|
body: string | null
|
|
createdByAdminUserId: string | null
|
|
}
|
|
|
|
export type AdminContactNoteCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
contactId: number
|
|
body: number
|
|
createdByAdminUserId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminContactNoteMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
contactId?: true
|
|
body?: true
|
|
createdByAdminUserId?: true
|
|
}
|
|
|
|
export type AdminContactNoteMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
contactId?: true
|
|
body?: true
|
|
createdByAdminUserId?: true
|
|
}
|
|
|
|
export type AdminContactNoteCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
contactId?: true
|
|
body?: true
|
|
createdByAdminUserId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminContactNoteAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminContactNote to aggregate.
|
|
*/
|
|
where?: Prisma.AdminContactNoteWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminContactNotes to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminContactNoteOrderByWithRelationInput | Prisma.AdminContactNoteOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminContactNoteWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminContactNotes 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` AdminContactNotes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminContactNotes
|
|
**/
|
|
_count?: true | AdminContactNoteCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminContactNoteMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminContactNoteMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminContactNoteAggregateType<T extends AdminContactNoteAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminContactNote]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminContactNote[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminContactNote[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminContactNoteGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminContactNoteWhereInput
|
|
orderBy?: Prisma.AdminContactNoteOrderByWithAggregationInput | Prisma.AdminContactNoteOrderByWithAggregationInput[]
|
|
by: Prisma.AdminContactNoteScalarFieldEnum[] | Prisma.AdminContactNoteScalarFieldEnum
|
|
having?: Prisma.AdminContactNoteScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminContactNoteCountAggregateInputType | true
|
|
_min?: AdminContactNoteMinAggregateInputType
|
|
_max?: AdminContactNoteMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminContactNoteGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
contactId: string
|
|
body: string
|
|
createdByAdminUserId: string
|
|
_count: AdminContactNoteCountAggregateOutputType | null
|
|
_min: AdminContactNoteMinAggregateOutputType | null
|
|
_max: AdminContactNoteMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminContactNoteGroupByPayload<T extends AdminContactNoteGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminContactNoteGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminContactNoteGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminContactNoteGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminContactNoteGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminContactNoteWhereInput = {
|
|
AND?: Prisma.AdminContactNoteWhereInput | Prisma.AdminContactNoteWhereInput[]
|
|
OR?: Prisma.AdminContactNoteWhereInput[]
|
|
NOT?: Prisma.AdminContactNoteWhereInput | Prisma.AdminContactNoteWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminContactNote"> | Date | string
|
|
contactId?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
body?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
createdByAdminUserId?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
contact?: Prisma.XOR<Prisma.AdminContactScalarRelationFilter, Prisma.AdminContactWhereInput>
|
|
activities?: Prisma.AdminActivityListRelationFilter
|
|
}
|
|
|
|
export type AdminContactNoteOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
body?: Prisma.SortOrder
|
|
createdByAdminUserId?: Prisma.SortOrder
|
|
contact?: Prisma.AdminContactOrderByWithRelationInput
|
|
activities?: Prisma.AdminActivityOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type AdminContactNoteWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.AdminContactNoteWhereInput | Prisma.AdminContactNoteWhereInput[]
|
|
OR?: Prisma.AdminContactNoteWhereInput[]
|
|
NOT?: Prisma.AdminContactNoteWhereInput | Prisma.AdminContactNoteWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminContactNote"> | Date | string
|
|
contactId?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
body?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
createdByAdminUserId?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
contact?: Prisma.XOR<Prisma.AdminContactScalarRelationFilter, Prisma.AdminContactWhereInput>
|
|
activities?: Prisma.AdminActivityListRelationFilter
|
|
}, "id">
|
|
|
|
export type AdminContactNoteOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
body?: Prisma.SortOrder
|
|
createdByAdminUserId?: Prisma.SortOrder
|
|
_count?: Prisma.AdminContactNoteCountOrderByAggregateInput
|
|
_max?: Prisma.AdminContactNoteMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminContactNoteMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminContactNoteScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminContactNoteScalarWhereWithAggregatesInput | Prisma.AdminContactNoteScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminContactNoteScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminContactNoteScalarWhereWithAggregatesInput | Prisma.AdminContactNoteScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminContactNote"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminContactNote"> | Date | string
|
|
contactId?: Prisma.StringWithAggregatesFilter<"AdminContactNote"> | string
|
|
body?: Prisma.StringWithAggregatesFilter<"AdminContactNote"> | string
|
|
createdByAdminUserId?: Prisma.StringWithAggregatesFilter<"AdminContactNote"> | string
|
|
}
|
|
|
|
export type AdminContactNoteCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
body: string
|
|
createdByAdminUserId: string
|
|
contact: Prisma.AdminContactCreateNestedOneWithoutNotesInput
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutNoteInput
|
|
}
|
|
|
|
export type AdminContactNoteUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
contactId: string
|
|
body: string
|
|
createdByAdminUserId: string
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutNoteInput
|
|
}
|
|
|
|
export type AdminContactNoteUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contact?: Prisma.AdminContactUpdateOneRequiredWithoutNotesNestedInput
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutNoteNestedInput
|
|
}
|
|
|
|
export type AdminContactNoteUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutNoteNestedInput
|
|
}
|
|
|
|
export type AdminContactNoteCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
contactId: string
|
|
body: string
|
|
createdByAdminUserId: string
|
|
}
|
|
|
|
export type AdminContactNoteUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminContactNoteUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminContactNoteListRelationFilter = {
|
|
every?: Prisma.AdminContactNoteWhereInput
|
|
some?: Prisma.AdminContactNoteWhereInput
|
|
none?: Prisma.AdminContactNoteWhereInput
|
|
}
|
|
|
|
export type AdminContactNoteOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminContactNoteCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
body?: Prisma.SortOrder
|
|
createdByAdminUserId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminContactNoteMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
body?: Prisma.SortOrder
|
|
createdByAdminUserId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminContactNoteMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
contactId?: Prisma.SortOrder
|
|
body?: Prisma.SortOrder
|
|
createdByAdminUserId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminContactNoteNullableScalarRelationFilter = {
|
|
is?: Prisma.AdminContactNoteWhereInput | null
|
|
isNot?: Prisma.AdminContactNoteWhereInput | null
|
|
}
|
|
|
|
export type AdminContactNoteCreateNestedManyWithoutContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminContactNoteCreateWithoutContactInput, Prisma.AdminContactNoteUncheckedCreateWithoutContactInput> | Prisma.AdminContactNoteCreateWithoutContactInput[] | Prisma.AdminContactNoteUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutContactInput | Prisma.AdminContactNoteCreateOrConnectWithoutContactInput[]
|
|
createMany?: Prisma.AdminContactNoteCreateManyContactInputEnvelope
|
|
connect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminContactNoteUncheckedCreateNestedManyWithoutContactInput = {
|
|
create?: Prisma.XOR<Prisma.AdminContactNoteCreateWithoutContactInput, Prisma.AdminContactNoteUncheckedCreateWithoutContactInput> | Prisma.AdminContactNoteCreateWithoutContactInput[] | Prisma.AdminContactNoteUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutContactInput | Prisma.AdminContactNoteCreateOrConnectWithoutContactInput[]
|
|
createMany?: Prisma.AdminContactNoteCreateManyContactInputEnvelope
|
|
connect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminContactNoteUpdateManyWithoutContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminContactNoteCreateWithoutContactInput, Prisma.AdminContactNoteUncheckedCreateWithoutContactInput> | Prisma.AdminContactNoteCreateWithoutContactInput[] | Prisma.AdminContactNoteUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutContactInput | Prisma.AdminContactNoteCreateOrConnectWithoutContactInput[]
|
|
upsert?: Prisma.AdminContactNoteUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminContactNoteUpsertWithWhereUniqueWithoutContactInput[]
|
|
createMany?: Prisma.AdminContactNoteCreateManyContactInputEnvelope
|
|
set?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[]
|
|
delete?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[]
|
|
connect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[]
|
|
update?: Prisma.AdminContactNoteUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminContactNoteUpdateWithWhereUniqueWithoutContactInput[]
|
|
updateMany?: Prisma.AdminContactNoteUpdateManyWithWhereWithoutContactInput | Prisma.AdminContactNoteUpdateManyWithWhereWithoutContactInput[]
|
|
deleteMany?: Prisma.AdminContactNoteScalarWhereInput | Prisma.AdminContactNoteScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminContactNoteUncheckedUpdateManyWithoutContactNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminContactNoteCreateWithoutContactInput, Prisma.AdminContactNoteUncheckedCreateWithoutContactInput> | Prisma.AdminContactNoteCreateWithoutContactInput[] | Prisma.AdminContactNoteUncheckedCreateWithoutContactInput[]
|
|
connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutContactInput | Prisma.AdminContactNoteCreateOrConnectWithoutContactInput[]
|
|
upsert?: Prisma.AdminContactNoteUpsertWithWhereUniqueWithoutContactInput | Prisma.AdminContactNoteUpsertWithWhereUniqueWithoutContactInput[]
|
|
createMany?: Prisma.AdminContactNoteCreateManyContactInputEnvelope
|
|
set?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[]
|
|
delete?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[]
|
|
connect?: Prisma.AdminContactNoteWhereUniqueInput | Prisma.AdminContactNoteWhereUniqueInput[]
|
|
update?: Prisma.AdminContactNoteUpdateWithWhereUniqueWithoutContactInput | Prisma.AdminContactNoteUpdateWithWhereUniqueWithoutContactInput[]
|
|
updateMany?: Prisma.AdminContactNoteUpdateManyWithWhereWithoutContactInput | Prisma.AdminContactNoteUpdateManyWithWhereWithoutContactInput[]
|
|
deleteMany?: Prisma.AdminContactNoteScalarWhereInput | Prisma.AdminContactNoteScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminContactNoteCreateNestedOneWithoutActivitiesInput = {
|
|
create?: Prisma.XOR<Prisma.AdminContactNoteCreateWithoutActivitiesInput, Prisma.AdminContactNoteUncheckedCreateWithoutActivitiesInput>
|
|
connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutActivitiesInput
|
|
connect?: Prisma.AdminContactNoteWhereUniqueInput
|
|
}
|
|
|
|
export type AdminContactNoteUpdateOneWithoutActivitiesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminContactNoteCreateWithoutActivitiesInput, Prisma.AdminContactNoteUncheckedCreateWithoutActivitiesInput>
|
|
connectOrCreate?: Prisma.AdminContactNoteCreateOrConnectWithoutActivitiesInput
|
|
upsert?: Prisma.AdminContactNoteUpsertWithoutActivitiesInput
|
|
disconnect?: Prisma.AdminContactNoteWhereInput | boolean
|
|
delete?: Prisma.AdminContactNoteWhereInput | boolean
|
|
connect?: Prisma.AdminContactNoteWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminContactNoteUpdateToOneWithWhereWithoutActivitiesInput, Prisma.AdminContactNoteUpdateWithoutActivitiesInput>, Prisma.AdminContactNoteUncheckedUpdateWithoutActivitiesInput>
|
|
}
|
|
|
|
export type AdminContactNoteCreateWithoutContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
body: string
|
|
createdByAdminUserId: string
|
|
activities?: Prisma.AdminActivityCreateNestedManyWithoutNoteInput
|
|
}
|
|
|
|
export type AdminContactNoteUncheckedCreateWithoutContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
body: string
|
|
createdByAdminUserId: string
|
|
activities?: Prisma.AdminActivityUncheckedCreateNestedManyWithoutNoteInput
|
|
}
|
|
|
|
export type AdminContactNoteCreateOrConnectWithoutContactInput = {
|
|
where: Prisma.AdminContactNoteWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminContactNoteCreateWithoutContactInput, Prisma.AdminContactNoteUncheckedCreateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminContactNoteCreateManyContactInputEnvelope = {
|
|
data: Prisma.AdminContactNoteCreateManyContactInput | Prisma.AdminContactNoteCreateManyContactInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminContactNoteUpsertWithWhereUniqueWithoutContactInput = {
|
|
where: Prisma.AdminContactNoteWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminContactNoteUpdateWithoutContactInput, Prisma.AdminContactNoteUncheckedUpdateWithoutContactInput>
|
|
create: Prisma.XOR<Prisma.AdminContactNoteCreateWithoutContactInput, Prisma.AdminContactNoteUncheckedCreateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminContactNoteUpdateWithWhereUniqueWithoutContactInput = {
|
|
where: Prisma.AdminContactNoteWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminContactNoteUpdateWithoutContactInput, Prisma.AdminContactNoteUncheckedUpdateWithoutContactInput>
|
|
}
|
|
|
|
export type AdminContactNoteUpdateManyWithWhereWithoutContactInput = {
|
|
where: Prisma.AdminContactNoteScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminContactNoteUpdateManyMutationInput, Prisma.AdminContactNoteUncheckedUpdateManyWithoutContactInput>
|
|
}
|
|
|
|
export type AdminContactNoteScalarWhereInput = {
|
|
AND?: Prisma.AdminContactNoteScalarWhereInput | Prisma.AdminContactNoteScalarWhereInput[]
|
|
OR?: Prisma.AdminContactNoteScalarWhereInput[]
|
|
NOT?: Prisma.AdminContactNoteScalarWhereInput | Prisma.AdminContactNoteScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminContactNote"> | Date | string
|
|
contactId?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
body?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
createdByAdminUserId?: Prisma.StringFilter<"AdminContactNote"> | string
|
|
}
|
|
|
|
export type AdminContactNoteCreateWithoutActivitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
body: string
|
|
createdByAdminUserId: string
|
|
contact: Prisma.AdminContactCreateNestedOneWithoutNotesInput
|
|
}
|
|
|
|
export type AdminContactNoteUncheckedCreateWithoutActivitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
contactId: string
|
|
body: string
|
|
createdByAdminUserId: string
|
|
}
|
|
|
|
export type AdminContactNoteCreateOrConnectWithoutActivitiesInput = {
|
|
where: Prisma.AdminContactNoteWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminContactNoteCreateWithoutActivitiesInput, Prisma.AdminContactNoteUncheckedCreateWithoutActivitiesInput>
|
|
}
|
|
|
|
export type AdminContactNoteUpsertWithoutActivitiesInput = {
|
|
update: Prisma.XOR<Prisma.AdminContactNoteUpdateWithoutActivitiesInput, Prisma.AdminContactNoteUncheckedUpdateWithoutActivitiesInput>
|
|
create: Prisma.XOR<Prisma.AdminContactNoteCreateWithoutActivitiesInput, Prisma.AdminContactNoteUncheckedCreateWithoutActivitiesInput>
|
|
where?: Prisma.AdminContactNoteWhereInput
|
|
}
|
|
|
|
export type AdminContactNoteUpdateToOneWithWhereWithoutActivitiesInput = {
|
|
where?: Prisma.AdminContactNoteWhereInput
|
|
data: Prisma.XOR<Prisma.AdminContactNoteUpdateWithoutActivitiesInput, Prisma.AdminContactNoteUncheckedUpdateWithoutActivitiesInput>
|
|
}
|
|
|
|
export type AdminContactNoteUpdateWithoutActivitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
contact?: Prisma.AdminContactUpdateOneRequiredWithoutNotesNestedInput
|
|
}
|
|
|
|
export type AdminContactNoteUncheckedUpdateWithoutActivitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
contactId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AdminContactNoteCreateManyContactInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
body: string
|
|
createdByAdminUserId: string
|
|
}
|
|
|
|
export type AdminContactNoteUpdateWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
activities?: Prisma.AdminActivityUpdateManyWithoutNoteNestedInput
|
|
}
|
|
|
|
export type AdminContactNoteUncheckedUpdateWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
activities?: Prisma.AdminActivityUncheckedUpdateManyWithoutNoteNestedInput
|
|
}
|
|
|
|
export type AdminContactNoteUncheckedUpdateManyWithoutContactInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdByAdminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type AdminContactNoteCountOutputType
|
|
*/
|
|
|
|
export type AdminContactNoteCountOutputType = {
|
|
activities: number
|
|
}
|
|
|
|
export type AdminContactNoteCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
activities?: boolean | AdminContactNoteCountOutputTypeCountActivitiesArgs
|
|
}
|
|
|
|
/**
|
|
* AdminContactNoteCountOutputType without action
|
|
*/
|
|
export type AdminContactNoteCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNoteCountOutputType
|
|
*/
|
|
select?: Prisma.AdminContactNoteCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminContactNoteCountOutputType without action
|
|
*/
|
|
export type AdminContactNoteCountOutputTypeCountActivitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminActivityWhereInput
|
|
}
|
|
|
|
|
|
export type AdminContactNoteSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
contactId?: boolean
|
|
body?: boolean
|
|
createdByAdminUserId?: boolean
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
activities?: boolean | Prisma.AdminContactNote$activitiesArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminContactNoteCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminContactNote"]>
|
|
|
|
export type AdminContactNoteSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
contactId?: boolean
|
|
body?: boolean
|
|
createdByAdminUserId?: boolean
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminContactNote"]>
|
|
|
|
export type AdminContactNoteSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
contactId?: boolean
|
|
body?: boolean
|
|
createdByAdminUserId?: boolean
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminContactNote"]>
|
|
|
|
export type AdminContactNoteSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
contactId?: boolean
|
|
body?: boolean
|
|
createdByAdminUserId?: boolean
|
|
}
|
|
|
|
export type AdminContactNoteOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "contactId" | "body" | "createdByAdminUserId", ExtArgs["result"]["adminContactNote"]>
|
|
export type AdminContactNoteInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
activities?: boolean | Prisma.AdminContactNote$activitiesArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminContactNoteCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminContactNoteIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminContactNoteIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
contact?: boolean | Prisma.AdminContactDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AdminContactNotePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminContactNote"
|
|
objects: {
|
|
contact: Prisma.$AdminContactPayload<ExtArgs>
|
|
activities: Prisma.$AdminActivityPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
contactId: string
|
|
body: string
|
|
createdByAdminUserId: string
|
|
}, ExtArgs["result"]["adminContactNote"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminContactNoteGetPayload<S extends boolean | null | undefined | AdminContactNoteDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload, S>
|
|
|
|
export type AdminContactNoteCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminContactNoteFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminContactNoteCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminContactNoteDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminContactNote'], meta: { name: 'AdminContactNote' } }
|
|
/**
|
|
* Find zero or one AdminContactNote that matches the filter.
|
|
* @param {AdminContactNoteFindUniqueArgs} args - Arguments to find a AdminContactNote
|
|
* @example
|
|
* // Get one AdminContactNote
|
|
* const adminContactNote = await prisma.adminContactNote.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminContactNoteFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminContactNoteFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminContactNoteClient<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminContactNote that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminContactNoteFindUniqueOrThrowArgs} args - Arguments to find a AdminContactNote
|
|
* @example
|
|
* // Get one AdminContactNote
|
|
* const adminContactNote = await prisma.adminContactNote.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminContactNoteFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminContactNoteFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminContactNoteClient<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminContactNote 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 {AdminContactNoteFindFirstArgs} args - Arguments to find a AdminContactNote
|
|
* @example
|
|
* // Get one AdminContactNote
|
|
* const adminContactNote = await prisma.adminContactNote.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminContactNoteFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminContactNoteFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminContactNoteClient<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminContactNote 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 {AdminContactNoteFindFirstOrThrowArgs} args - Arguments to find a AdminContactNote
|
|
* @example
|
|
* // Get one AdminContactNote
|
|
* const adminContactNote = await prisma.adminContactNote.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminContactNoteFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminContactNoteFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminContactNoteClient<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminContactNotes 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 {AdminContactNoteFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminContactNotes
|
|
* const adminContactNotes = await prisma.adminContactNote.findMany()
|
|
*
|
|
* // Get first 10 AdminContactNotes
|
|
* const adminContactNotes = await prisma.adminContactNote.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminContactNoteWithIdOnly = await prisma.adminContactNote.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminContactNoteFindManyArgs>(args?: Prisma.SelectSubset<T, AdminContactNoteFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminContactNote.
|
|
* @param {AdminContactNoteCreateArgs} args - Arguments to create a AdminContactNote.
|
|
* @example
|
|
* // Create one AdminContactNote
|
|
* const AdminContactNote = await prisma.adminContactNote.create({
|
|
* data: {
|
|
* // ... data to create a AdminContactNote
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminContactNoteCreateArgs>(args: Prisma.SelectSubset<T, AdminContactNoteCreateArgs<ExtArgs>>): Prisma.Prisma__AdminContactNoteClient<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminContactNotes.
|
|
* @param {AdminContactNoteCreateManyArgs} args - Arguments to create many AdminContactNotes.
|
|
* @example
|
|
* // Create many AdminContactNotes
|
|
* const adminContactNote = await prisma.adminContactNote.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminContactNoteCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminContactNoteCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminContactNotes and returns the data saved in the database.
|
|
* @param {AdminContactNoteCreateManyAndReturnArgs} args - Arguments to create many AdminContactNotes.
|
|
* @example
|
|
* // Create many AdminContactNotes
|
|
* const adminContactNote = await prisma.adminContactNote.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminContactNotes and only return the `id`
|
|
* const adminContactNoteWithIdOnly = await prisma.adminContactNote.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 AdminContactNoteCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminContactNoteCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminContactNote.
|
|
* @param {AdminContactNoteDeleteArgs} args - Arguments to delete one AdminContactNote.
|
|
* @example
|
|
* // Delete one AdminContactNote
|
|
* const AdminContactNote = await prisma.adminContactNote.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminContactNote
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminContactNoteDeleteArgs>(args: Prisma.SelectSubset<T, AdminContactNoteDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminContactNoteClient<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminContactNote.
|
|
* @param {AdminContactNoteUpdateArgs} args - Arguments to update one AdminContactNote.
|
|
* @example
|
|
* // Update one AdminContactNote
|
|
* const adminContactNote = await prisma.adminContactNote.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminContactNoteUpdateArgs>(args: Prisma.SelectSubset<T, AdminContactNoteUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminContactNoteClient<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminContactNotes.
|
|
* @param {AdminContactNoteDeleteManyArgs} args - Arguments to filter AdminContactNotes to delete.
|
|
* @example
|
|
* // Delete a few AdminContactNotes
|
|
* const { count } = await prisma.adminContactNote.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminContactNoteDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminContactNoteDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminContactNotes.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminContactNoteUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminContactNotes
|
|
* const adminContactNote = await prisma.adminContactNote.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminContactNoteUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminContactNoteUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminContactNotes and returns the data updated in the database.
|
|
* @param {AdminContactNoteUpdateManyAndReturnArgs} args - Arguments to update many AdminContactNotes.
|
|
* @example
|
|
* // Update many AdminContactNotes
|
|
* const adminContactNote = await prisma.adminContactNote.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminContactNotes and only return the `id`
|
|
* const adminContactNoteWithIdOnly = await prisma.adminContactNote.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 AdminContactNoteUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminContactNoteUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminContactNote.
|
|
* @param {AdminContactNoteUpsertArgs} args - Arguments to update or create a AdminContactNote.
|
|
* @example
|
|
* // Update or create a AdminContactNote
|
|
* const adminContactNote = await prisma.adminContactNote.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminContactNote
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminContactNote we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminContactNoteUpsertArgs>(args: Prisma.SelectSubset<T, AdminContactNoteUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminContactNoteClient<runtime.Types.Result.GetResult<Prisma.$AdminContactNotePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminContactNotes.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminContactNoteCountArgs} args - Arguments to filter AdminContactNotes to count.
|
|
* @example
|
|
* // Count the number of AdminContactNotes
|
|
* const count = await prisma.adminContactNote.count({
|
|
* where: {
|
|
* // ... the filter for the AdminContactNotes we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminContactNoteCountArgs>(
|
|
args?: Prisma.Subset<T, AdminContactNoteCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminContactNoteCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminContactNote.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminContactNoteAggregateArgs} 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 AdminContactNoteAggregateArgs>(args: Prisma.Subset<T, AdminContactNoteAggregateArgs>): Prisma.PrismaPromise<GetAdminContactNoteAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminContactNote.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminContactNoteGroupByArgs} 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 AdminContactNoteGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminContactNoteGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminContactNoteGroupByArgs['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, AdminContactNoteGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminContactNoteGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminContactNote model
|
|
*/
|
|
readonly fields: AdminContactNoteFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminContactNote.
|
|
* 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__AdminContactNoteClient<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>
|
|
activities<T extends Prisma.AdminContactNote$activitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminContactNote$activitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminActivityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* 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 AdminContactNote model
|
|
*/
|
|
export interface AdminContactNoteFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminContactNote", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminContactNote", 'DateTime'>
|
|
readonly contactId: Prisma.FieldRef<"AdminContactNote", 'String'>
|
|
readonly body: Prisma.FieldRef<"AdminContactNote", 'String'>
|
|
readonly createdByAdminUserId: Prisma.FieldRef<"AdminContactNote", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminContactNote findUnique
|
|
*/
|
|
export type AdminContactNoteFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminContactNote to fetch.
|
|
*/
|
|
where: Prisma.AdminContactNoteWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote findUniqueOrThrow
|
|
*/
|
|
export type AdminContactNoteFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminContactNote to fetch.
|
|
*/
|
|
where: Prisma.AdminContactNoteWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote findFirst
|
|
*/
|
|
export type AdminContactNoteFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminContactNote to fetch.
|
|
*/
|
|
where?: Prisma.AdminContactNoteWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminContactNotes to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminContactNoteOrderByWithRelationInput | Prisma.AdminContactNoteOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminContactNotes.
|
|
*/
|
|
cursor?: Prisma.AdminContactNoteWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminContactNotes 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` AdminContactNotes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminContactNotes.
|
|
*/
|
|
distinct?: Prisma.AdminContactNoteScalarFieldEnum | Prisma.AdminContactNoteScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote findFirstOrThrow
|
|
*/
|
|
export type AdminContactNoteFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminContactNote to fetch.
|
|
*/
|
|
where?: Prisma.AdminContactNoteWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminContactNotes to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminContactNoteOrderByWithRelationInput | Prisma.AdminContactNoteOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminContactNotes.
|
|
*/
|
|
cursor?: Prisma.AdminContactNoteWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminContactNotes 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` AdminContactNotes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminContactNotes.
|
|
*/
|
|
distinct?: Prisma.AdminContactNoteScalarFieldEnum | Prisma.AdminContactNoteScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote findMany
|
|
*/
|
|
export type AdminContactNoteFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminContactNotes to fetch.
|
|
*/
|
|
where?: Prisma.AdminContactNoteWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminContactNotes to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminContactNoteOrderByWithRelationInput | Prisma.AdminContactNoteOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminContactNotes.
|
|
*/
|
|
cursor?: Prisma.AdminContactNoteWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminContactNotes 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` AdminContactNotes.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminContactNotes.
|
|
*/
|
|
distinct?: Prisma.AdminContactNoteScalarFieldEnum | Prisma.AdminContactNoteScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote create
|
|
*/
|
|
export type AdminContactNoteCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminContactNote.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminContactNoteCreateInput, Prisma.AdminContactNoteUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote createMany
|
|
*/
|
|
export type AdminContactNoteCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminContactNotes.
|
|
*/
|
|
data: Prisma.AdminContactNoteCreateManyInput | Prisma.AdminContactNoteCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote createManyAndReturn
|
|
*/
|
|
export type AdminContactNoteCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminContactNotes.
|
|
*/
|
|
data: Prisma.AdminContactNoteCreateManyInput | Prisma.AdminContactNoteCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote update
|
|
*/
|
|
export type AdminContactNoteUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminContactNote.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminContactNoteUpdateInput, Prisma.AdminContactNoteUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminContactNote to update.
|
|
*/
|
|
where: Prisma.AdminContactNoteWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote updateMany
|
|
*/
|
|
export type AdminContactNoteUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminContactNotes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminContactNoteUpdateManyMutationInput, Prisma.AdminContactNoteUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminContactNotes to update
|
|
*/
|
|
where?: Prisma.AdminContactNoteWhereInput
|
|
/**
|
|
* Limit how many AdminContactNotes to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote updateManyAndReturn
|
|
*/
|
|
export type AdminContactNoteUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminContactNotes.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminContactNoteUpdateManyMutationInput, Prisma.AdminContactNoteUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminContactNotes to update
|
|
*/
|
|
where?: Prisma.AdminContactNoteWhereInput
|
|
/**
|
|
* Limit how many AdminContactNotes to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote upsert
|
|
*/
|
|
export type AdminContactNoteUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AdminContactNote to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminContactNoteWhereUniqueInput
|
|
/**
|
|
* In case the AdminContactNote found by the `where` argument doesn't exist, create a new AdminContactNote with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminContactNoteCreateInput, Prisma.AdminContactNoteUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminContactNote was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminContactNoteUpdateInput, Prisma.AdminContactNoteUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote delete
|
|
*/
|
|
export type AdminContactNoteDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminContactNote to delete.
|
|
*/
|
|
where: Prisma.AdminContactNoteWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote deleteMany
|
|
*/
|
|
export type AdminContactNoteDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminContactNotes to delete
|
|
*/
|
|
where?: Prisma.AdminContactNoteWhereInput
|
|
/**
|
|
* Limit how many AdminContactNotes to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote.activities
|
|
*/
|
|
export type AdminContactNote$activitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminActivity
|
|
*/
|
|
select?: Prisma.AdminActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminActivity
|
|
*/
|
|
omit?: Prisma.AdminActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminActivityInclude<ExtArgs> | null
|
|
where?: Prisma.AdminActivityWhereInput
|
|
orderBy?: Prisma.AdminActivityOrderByWithRelationInput | Prisma.AdminActivityOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminActivityWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminActivityScalarFieldEnum | Prisma.AdminActivityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminContactNote without action
|
|
*/
|
|
export type AdminContactNoteDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminContactNote
|
|
*/
|
|
select?: Prisma.AdminContactNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminContactNote
|
|
*/
|
|
omit?: Prisma.AdminContactNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminContactNoteInclude<ExtArgs> | null
|
|
}
|