mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 01:28:21 +00:00
1275 lines
50 KiB
TypeScript
Generated
1275 lines
50 KiB
TypeScript
Generated
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `AgentSessionEntry` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
|
|
import type * as PJTG from '../pjtg';
|
|
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 AgentSessionEntry
|
|
*
|
|
*/
|
|
export type AgentSessionEntryModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentSessionEntryPayload>
|
|
|
|
export type AggregateAgentSessionEntry = {
|
|
_count: AgentSessionEntryCountAggregateOutputType | null
|
|
_min: AgentSessionEntryMinAggregateOutputType | null
|
|
_max: AgentSessionEntryMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AgentSessionEntryMinAggregateOutputType = {
|
|
id: string | null
|
|
sessionId: string | null
|
|
}
|
|
|
|
export type AgentSessionEntryMaxAggregateOutputType = {
|
|
id: string | null
|
|
sessionId: string | null
|
|
}
|
|
|
|
export type AgentSessionEntryCountAggregateOutputType = {
|
|
id: number
|
|
sessionId: number
|
|
entry:PrismaJson.PiSessionEntry
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AgentSessionEntryMinAggregateInputType = {
|
|
id?: true
|
|
sessionId?: true
|
|
}
|
|
|
|
export type AgentSessionEntryMaxAggregateInputType = {
|
|
id?: true
|
|
sessionId?: true
|
|
}
|
|
|
|
export type AgentSessionEntryCountAggregateInputType = {
|
|
id?: true
|
|
sessionId?: true
|
|
entry?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AgentSessionEntryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AgentSessionEntry to aggregate.
|
|
*/
|
|
where?: Prisma.AgentSessionEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AgentSessionEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.AgentSessionEntryOrderByWithRelationInput | Prisma.AgentSessionEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AgentSessionEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AgentSessionEntries 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` AgentSessionEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AgentSessionEntries
|
|
**/
|
|
_count?: true | AgentSessionEntryCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AgentSessionEntryMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AgentSessionEntryMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAgentSessionEntryAggregateType<T extends AgentSessionEntryAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAgentSessionEntry]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAgentSessionEntry[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAgentSessionEntry[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionEntryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AgentSessionEntryWhereInput
|
|
orderBy?: Prisma.AgentSessionEntryOrderByWithAggregationInput | Prisma.AgentSessionEntryOrderByWithAggregationInput[]
|
|
by: Prisma.AgentSessionEntryScalarFieldEnum[] | Prisma.AgentSessionEntryScalarFieldEnum
|
|
having?: Prisma.AgentSessionEntryScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AgentSessionEntryCountAggregateInputType | true
|
|
_min?: AgentSessionEntryMinAggregateInputType
|
|
_max?: AgentSessionEntryMaxAggregateInputType
|
|
}
|
|
|
|
export type AgentSessionEntryGroupByOutputType = {
|
|
id: string
|
|
sessionId: string
|
|
entry:PrismaJson.PiSessionEntry
|
|
_count: AgentSessionEntryCountAggregateOutputType | null
|
|
_min: AgentSessionEntryMinAggregateOutputType | null
|
|
_max: AgentSessionEntryMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAgentSessionEntryGroupByPayload<T extends AgentSessionEntryGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AgentSessionEntryGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AgentSessionEntryGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AgentSessionEntryGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AgentSessionEntryGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AgentSessionEntryWhereInput = {
|
|
AND?: Prisma.AgentSessionEntryWhereInput | Prisma.AgentSessionEntryWhereInput[]
|
|
OR?: Prisma.AgentSessionEntryWhereInput[]
|
|
NOT?: Prisma.AgentSessionEntryWhereInput | Prisma.AgentSessionEntryWhereInput[]
|
|
id?: Prisma.StringFilter<"AgentSessionEntry"> | string
|
|
sessionId?: Prisma.StringFilter<"AgentSessionEntry"> | string
|
|
entry?: Prisma.JsonFilter<"AgentSessionEntry">
|
|
session?: Prisma.XOR<Prisma.AgentSessionScalarRelationFilter, Prisma.AgentSessionWhereInput>
|
|
}
|
|
|
|
export type AgentSessionEntryOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
sessionId?: Prisma.SortOrder
|
|
entry?: Prisma.SortOrder
|
|
session?: Prisma.AgentSessionOrderByWithRelationInput
|
|
}
|
|
|
|
export type AgentSessionEntryWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.AgentSessionEntryWhereInput | Prisma.AgentSessionEntryWhereInput[]
|
|
OR?: Prisma.AgentSessionEntryWhereInput[]
|
|
NOT?: Prisma.AgentSessionEntryWhereInput | Prisma.AgentSessionEntryWhereInput[]
|
|
sessionId?: Prisma.StringFilter<"AgentSessionEntry"> | string
|
|
entry?: Prisma.JsonFilter<"AgentSessionEntry">
|
|
session?: Prisma.XOR<Prisma.AgentSessionScalarRelationFilter, Prisma.AgentSessionWhereInput>
|
|
}, "id">
|
|
|
|
export type AgentSessionEntryOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
sessionId?: Prisma.SortOrder
|
|
entry?: Prisma.SortOrder
|
|
_count?: Prisma.AgentSessionEntryCountOrderByAggregateInput
|
|
_max?: Prisma.AgentSessionEntryMaxOrderByAggregateInput
|
|
_min?: Prisma.AgentSessionEntryMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AgentSessionEntryScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AgentSessionEntryScalarWhereWithAggregatesInput | Prisma.AgentSessionEntryScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AgentSessionEntryScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AgentSessionEntryScalarWhereWithAggregatesInput | Prisma.AgentSessionEntryScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AgentSessionEntry"> | string
|
|
sessionId?: Prisma.StringWithAggregatesFilter<"AgentSessionEntry"> | string
|
|
entry?: Prisma.JsonWithAggregatesFilter<"AgentSessionEntry">
|
|
}
|
|
|
|
export type AgentSessionEntryCreateInput = {
|
|
id: string
|
|
entry:PrismaJson.PiSessionEntry
|
|
session: Prisma.AgentSessionCreateNestedOneWithoutEntriesInput
|
|
}
|
|
|
|
export type AgentSessionEntryUncheckedCreateInput = {
|
|
id: string
|
|
sessionId: string
|
|
entry:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
export type AgentSessionEntryUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entry?:PrismaJson.PiSessionEntry
|
|
session?: Prisma.AgentSessionUpdateOneRequiredWithoutEntriesNestedInput
|
|
}
|
|
|
|
export type AgentSessionEntryUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sessionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entry?:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
export type AgentSessionEntryCreateManyInput = {
|
|
id: string
|
|
sessionId: string
|
|
entry:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
export type AgentSessionEntryUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entry?:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
export type AgentSessionEntryUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sessionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entry?:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
export type AgentSessionEntryListRelationFilter = {
|
|
every?: Prisma.AgentSessionEntryWhereInput
|
|
some?: Prisma.AgentSessionEntryWhereInput
|
|
none?: Prisma.AgentSessionEntryWhereInput
|
|
}
|
|
|
|
export type AgentSessionEntryOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AgentSessionEntryCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
sessionId?: Prisma.SortOrder
|
|
entry?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AgentSessionEntryMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
sessionId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AgentSessionEntryMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
sessionId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AgentSessionEntryCreateNestedManyWithoutSessionInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSessionEntryCreateWithoutSessionInput, Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput> | Prisma.AgentSessionEntryCreateWithoutSessionInput[] | Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput[]
|
|
connectOrCreate?: Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput | Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput[]
|
|
createMany?: Prisma.AgentSessionEntryCreateManySessionInputEnvelope
|
|
connect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[]
|
|
}
|
|
|
|
export type AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSessionEntryCreateWithoutSessionInput, Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput> | Prisma.AgentSessionEntryCreateWithoutSessionInput[] | Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput[]
|
|
connectOrCreate?: Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput | Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput[]
|
|
createMany?: Prisma.AgentSessionEntryCreateManySessionInputEnvelope
|
|
connect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[]
|
|
}
|
|
|
|
export type AgentSessionEntryUpdateManyWithoutSessionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSessionEntryCreateWithoutSessionInput, Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput> | Prisma.AgentSessionEntryCreateWithoutSessionInput[] | Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput[]
|
|
connectOrCreate?: Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput | Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput[]
|
|
upsert?: Prisma.AgentSessionEntryUpsertWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionEntryUpsertWithWhereUniqueWithoutSessionInput[]
|
|
createMany?: Prisma.AgentSessionEntryCreateManySessionInputEnvelope
|
|
set?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[]
|
|
disconnect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[]
|
|
delete?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[]
|
|
connect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[]
|
|
update?: Prisma.AgentSessionEntryUpdateWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionEntryUpdateWithWhereUniqueWithoutSessionInput[]
|
|
updateMany?: Prisma.AgentSessionEntryUpdateManyWithWhereWithoutSessionInput | Prisma.AgentSessionEntryUpdateManyWithWhereWithoutSessionInput[]
|
|
deleteMany?: Prisma.AgentSessionEntryScalarWhereInput | Prisma.AgentSessionEntryScalarWhereInput[]
|
|
}
|
|
|
|
export type AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSessionEntryCreateWithoutSessionInput, Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput> | Prisma.AgentSessionEntryCreateWithoutSessionInput[] | Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput[]
|
|
connectOrCreate?: Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput | Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput[]
|
|
upsert?: Prisma.AgentSessionEntryUpsertWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionEntryUpsertWithWhereUniqueWithoutSessionInput[]
|
|
createMany?: Prisma.AgentSessionEntryCreateManySessionInputEnvelope
|
|
set?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[]
|
|
disconnect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[]
|
|
delete?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[]
|
|
connect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[]
|
|
update?: Prisma.AgentSessionEntryUpdateWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionEntryUpdateWithWhereUniqueWithoutSessionInput[]
|
|
updateMany?: Prisma.AgentSessionEntryUpdateManyWithWhereWithoutSessionInput | Prisma.AgentSessionEntryUpdateManyWithWhereWithoutSessionInput[]
|
|
deleteMany?: Prisma.AgentSessionEntryScalarWhereInput | Prisma.AgentSessionEntryScalarWhereInput[]
|
|
}
|
|
|
|
export type AgentSessionEntryCreateWithoutSessionInput = {
|
|
id: string
|
|
entry:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
export type AgentSessionEntryUncheckedCreateWithoutSessionInput = {
|
|
id: string
|
|
entry:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
export type AgentSessionEntryCreateOrConnectWithoutSessionInput = {
|
|
where: Prisma.AgentSessionEntryWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AgentSessionEntryCreateWithoutSessionInput, Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput>
|
|
}
|
|
|
|
export type AgentSessionEntryCreateManySessionInputEnvelope = {
|
|
data: Prisma.AgentSessionEntryCreateManySessionInput | Prisma.AgentSessionEntryCreateManySessionInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AgentSessionEntryUpsertWithWhereUniqueWithoutSessionInput = {
|
|
where: Prisma.AgentSessionEntryWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AgentSessionEntryUpdateWithoutSessionInput, Prisma.AgentSessionEntryUncheckedUpdateWithoutSessionInput>
|
|
create: Prisma.XOR<Prisma.AgentSessionEntryCreateWithoutSessionInput, Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput>
|
|
}
|
|
|
|
export type AgentSessionEntryUpdateWithWhereUniqueWithoutSessionInput = {
|
|
where: Prisma.AgentSessionEntryWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AgentSessionEntryUpdateWithoutSessionInput, Prisma.AgentSessionEntryUncheckedUpdateWithoutSessionInput>
|
|
}
|
|
|
|
export type AgentSessionEntryUpdateManyWithWhereWithoutSessionInput = {
|
|
where: Prisma.AgentSessionEntryScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AgentSessionEntryUpdateManyMutationInput, Prisma.AgentSessionEntryUncheckedUpdateManyWithoutSessionInput>
|
|
}
|
|
|
|
export type AgentSessionEntryScalarWhereInput = {
|
|
AND?: Prisma.AgentSessionEntryScalarWhereInput | Prisma.AgentSessionEntryScalarWhereInput[]
|
|
OR?: Prisma.AgentSessionEntryScalarWhereInput[]
|
|
NOT?: Prisma.AgentSessionEntryScalarWhereInput | Prisma.AgentSessionEntryScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AgentSessionEntry"> | string
|
|
sessionId?: Prisma.StringFilter<"AgentSessionEntry"> | string
|
|
entry?: Prisma.JsonFilter<"AgentSessionEntry">
|
|
}
|
|
|
|
export type AgentSessionEntryCreateManySessionInput = {
|
|
id: string
|
|
entry:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
export type AgentSessionEntryUpdateWithoutSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entry?:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
export type AgentSessionEntryUncheckedUpdateWithoutSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entry?:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
export type AgentSessionEntryUncheckedUpdateManyWithoutSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entry?:PrismaJson.PiSessionEntry
|
|
}
|
|
|
|
|
|
|
|
export type AgentSessionEntrySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
sessionId?: boolean
|
|
entry?: boolean
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["agentSessionEntry"]>
|
|
|
|
export type AgentSessionEntrySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
sessionId?: boolean
|
|
entry?: boolean
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["agentSessionEntry"]>
|
|
|
|
export type AgentSessionEntrySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
sessionId?: boolean
|
|
entry?: boolean
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["agentSessionEntry"]>
|
|
|
|
export type AgentSessionEntrySelectScalar = {
|
|
id?: boolean
|
|
sessionId?: boolean
|
|
entry?: boolean
|
|
}
|
|
|
|
export type AgentSessionEntryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sessionId" | "entry", ExtArgs["result"]["agentSessionEntry"]>
|
|
export type AgentSessionEntryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
}
|
|
export type AgentSessionEntryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
}
|
|
export type AgentSessionEntryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AgentSessionEntryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AgentSessionEntry"
|
|
objects: {
|
|
session: Prisma.$AgentSessionPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
sessionId: string
|
|
/**
|
|
* [PiSessionEntry]
|
|
*/
|
|
entry:PrismaJson.PiSessionEntry
|
|
}, ExtArgs["result"]["agentSessionEntry"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AgentSessionEntryGetPayload<S extends boolean | null | undefined | AgentSessionEntryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload, S>
|
|
|
|
export type AgentSessionEntryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AgentSessionEntryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AgentSessionEntryCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AgentSessionEntryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AgentSessionEntry'], meta: { name: 'AgentSessionEntry' } }
|
|
/**
|
|
* Find zero or one AgentSessionEntry that matches the filter.
|
|
* @param {AgentSessionEntryFindUniqueArgs} args - Arguments to find a AgentSessionEntry
|
|
* @example
|
|
* // Get one AgentSessionEntry
|
|
* const agentSessionEntry = await prisma.agentSessionEntry.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AgentSessionEntryFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentSessionEntryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentSessionEntryClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AgentSessionEntry that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AgentSessionEntryFindUniqueOrThrowArgs} args - Arguments to find a AgentSessionEntry
|
|
* @example
|
|
* // Get one AgentSessionEntry
|
|
* const agentSessionEntry = await prisma.agentSessionEntry.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AgentSessionEntryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentSessionEntryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentSessionEntryClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AgentSessionEntry 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 {AgentSessionEntryFindFirstArgs} args - Arguments to find a AgentSessionEntry
|
|
* @example
|
|
* // Get one AgentSessionEntry
|
|
* const agentSessionEntry = await prisma.agentSessionEntry.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AgentSessionEntryFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentSessionEntryFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentSessionEntryClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AgentSessionEntry 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 {AgentSessionEntryFindFirstOrThrowArgs} args - Arguments to find a AgentSessionEntry
|
|
* @example
|
|
* // Get one AgentSessionEntry
|
|
* const agentSessionEntry = await prisma.agentSessionEntry.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AgentSessionEntryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentSessionEntryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentSessionEntryClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AgentSessionEntries 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 {AgentSessionEntryFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AgentSessionEntries
|
|
* const agentSessionEntries = await prisma.agentSessionEntry.findMany()
|
|
*
|
|
* // Get first 10 AgentSessionEntries
|
|
* const agentSessionEntries = await prisma.agentSessionEntry.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const agentSessionEntryWithIdOnly = await prisma.agentSessionEntry.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AgentSessionEntryFindManyArgs>(args?: Prisma.SelectSubset<T, AgentSessionEntryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AgentSessionEntry.
|
|
* @param {AgentSessionEntryCreateArgs} args - Arguments to create a AgentSessionEntry.
|
|
* @example
|
|
* // Create one AgentSessionEntry
|
|
* const AgentSessionEntry = await prisma.agentSessionEntry.create({
|
|
* data: {
|
|
* // ... data to create a AgentSessionEntry
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AgentSessionEntryCreateArgs>(args: Prisma.SelectSubset<T, AgentSessionEntryCreateArgs<ExtArgs>>): Prisma.Prisma__AgentSessionEntryClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AgentSessionEntries.
|
|
* @param {AgentSessionEntryCreateManyArgs} args - Arguments to create many AgentSessionEntries.
|
|
* @example
|
|
* // Create many AgentSessionEntries
|
|
* const agentSessionEntry = await prisma.agentSessionEntry.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AgentSessionEntryCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentSessionEntryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AgentSessionEntries and returns the data saved in the database.
|
|
* @param {AgentSessionEntryCreateManyAndReturnArgs} args - Arguments to create many AgentSessionEntries.
|
|
* @example
|
|
* // Create many AgentSessionEntries
|
|
* const agentSessionEntry = await prisma.agentSessionEntry.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AgentSessionEntries and only return the `id`
|
|
* const agentSessionEntryWithIdOnly = await prisma.agentSessionEntry.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 AgentSessionEntryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentSessionEntryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AgentSessionEntry.
|
|
* @param {AgentSessionEntryDeleteArgs} args - Arguments to delete one AgentSessionEntry.
|
|
* @example
|
|
* // Delete one AgentSessionEntry
|
|
* const AgentSessionEntry = await prisma.agentSessionEntry.delete({
|
|
* where: {
|
|
* // ... filter to delete one AgentSessionEntry
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AgentSessionEntryDeleteArgs>(args: Prisma.SelectSubset<T, AgentSessionEntryDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentSessionEntryClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AgentSessionEntry.
|
|
* @param {AgentSessionEntryUpdateArgs} args - Arguments to update one AgentSessionEntry.
|
|
* @example
|
|
* // Update one AgentSessionEntry
|
|
* const agentSessionEntry = await prisma.agentSessionEntry.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AgentSessionEntryUpdateArgs>(args: Prisma.SelectSubset<T, AgentSessionEntryUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentSessionEntryClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AgentSessionEntries.
|
|
* @param {AgentSessionEntryDeleteManyArgs} args - Arguments to filter AgentSessionEntries to delete.
|
|
* @example
|
|
* // Delete a few AgentSessionEntries
|
|
* const { count } = await prisma.agentSessionEntry.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AgentSessionEntryDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentSessionEntryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AgentSessionEntries.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AgentSessionEntryUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AgentSessionEntries
|
|
* const agentSessionEntry = await prisma.agentSessionEntry.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AgentSessionEntryUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentSessionEntryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AgentSessionEntries and returns the data updated in the database.
|
|
* @param {AgentSessionEntryUpdateManyAndReturnArgs} args - Arguments to update many AgentSessionEntries.
|
|
* @example
|
|
* // Update many AgentSessionEntries
|
|
* const agentSessionEntry = await prisma.agentSessionEntry.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AgentSessionEntries and only return the `id`
|
|
* const agentSessionEntryWithIdOnly = await prisma.agentSessionEntry.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 AgentSessionEntryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentSessionEntryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AgentSessionEntry.
|
|
* @param {AgentSessionEntryUpsertArgs} args - Arguments to update or create a AgentSessionEntry.
|
|
* @example
|
|
* // Update or create a AgentSessionEntry
|
|
* const agentSessionEntry = await prisma.agentSessionEntry.upsert({
|
|
* create: {
|
|
* // ... data to create a AgentSessionEntry
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AgentSessionEntry we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AgentSessionEntryUpsertArgs>(args: Prisma.SelectSubset<T, AgentSessionEntryUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentSessionEntryClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionEntryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AgentSessionEntries.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AgentSessionEntryCountArgs} args - Arguments to filter AgentSessionEntries to count.
|
|
* @example
|
|
* // Count the number of AgentSessionEntries
|
|
* const count = await prisma.agentSessionEntry.count({
|
|
* where: {
|
|
* // ... the filter for the AgentSessionEntries we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AgentSessionEntryCountArgs>(
|
|
args?: Prisma.Subset<T, AgentSessionEntryCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AgentSessionEntryCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AgentSessionEntry.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AgentSessionEntryAggregateArgs} 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 AgentSessionEntryAggregateArgs>(args: Prisma.Subset<T, AgentSessionEntryAggregateArgs>): Prisma.PrismaPromise<GetAgentSessionEntryAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AgentSessionEntry.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AgentSessionEntryGroupByArgs} 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 AgentSessionEntryGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AgentSessionEntryGroupByArgs['orderBy'] }
|
|
: { orderBy?: AgentSessionEntryGroupByArgs['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, AgentSessionEntryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentSessionEntryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AgentSessionEntry model
|
|
*/
|
|
readonly fields: AgentSessionEntryFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AgentSessionEntry.
|
|
* 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__AgentSessionEntryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
session<T extends Prisma.AgentSessionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentSessionDefaultArgs<ExtArgs>>): Prisma.Prisma__AgentSessionClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionPayload<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 AgentSessionEntry model
|
|
*/
|
|
export interface AgentSessionEntryFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AgentSessionEntry", 'String'>
|
|
readonly sessionId: Prisma.FieldRef<"AgentSessionEntry", 'String'>
|
|
readonly entry: Prisma.FieldRef<"AgentSessionEntry", 'Json'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AgentSessionEntry findUnique
|
|
*/
|
|
export type AgentSessionEntryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AgentSessionEntry to fetch.
|
|
*/
|
|
where: Prisma.AgentSessionEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry findUniqueOrThrow
|
|
*/
|
|
export type AgentSessionEntryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AgentSessionEntry to fetch.
|
|
*/
|
|
where: Prisma.AgentSessionEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry findFirst
|
|
*/
|
|
export type AgentSessionEntryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AgentSessionEntry to fetch.
|
|
*/
|
|
where?: Prisma.AgentSessionEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AgentSessionEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.AgentSessionEntryOrderByWithRelationInput | Prisma.AgentSessionEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AgentSessionEntries.
|
|
*/
|
|
cursor?: Prisma.AgentSessionEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AgentSessionEntries 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` AgentSessionEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AgentSessionEntries.
|
|
*/
|
|
distinct?: Prisma.AgentSessionEntryScalarFieldEnum | Prisma.AgentSessionEntryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry findFirstOrThrow
|
|
*/
|
|
export type AgentSessionEntryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AgentSessionEntry to fetch.
|
|
*/
|
|
where?: Prisma.AgentSessionEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AgentSessionEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.AgentSessionEntryOrderByWithRelationInput | Prisma.AgentSessionEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AgentSessionEntries.
|
|
*/
|
|
cursor?: Prisma.AgentSessionEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AgentSessionEntries 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` AgentSessionEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AgentSessionEntries.
|
|
*/
|
|
distinct?: Prisma.AgentSessionEntryScalarFieldEnum | Prisma.AgentSessionEntryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry findMany
|
|
*/
|
|
export type AgentSessionEntryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AgentSessionEntries to fetch.
|
|
*/
|
|
where?: Prisma.AgentSessionEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AgentSessionEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.AgentSessionEntryOrderByWithRelationInput | Prisma.AgentSessionEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AgentSessionEntries.
|
|
*/
|
|
cursor?: Prisma.AgentSessionEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AgentSessionEntries 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` AgentSessionEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AgentSessionEntries.
|
|
*/
|
|
distinct?: Prisma.AgentSessionEntryScalarFieldEnum | Prisma.AgentSessionEntryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry create
|
|
*/
|
|
export type AgentSessionEntryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AgentSessionEntry.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AgentSessionEntryCreateInput, Prisma.AgentSessionEntryUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry createMany
|
|
*/
|
|
export type AgentSessionEntryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AgentSessionEntries.
|
|
*/
|
|
data: Prisma.AgentSessionEntryCreateManyInput | Prisma.AgentSessionEntryCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry createManyAndReturn
|
|
*/
|
|
export type AgentSessionEntryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AgentSessionEntries.
|
|
*/
|
|
data: Prisma.AgentSessionEntryCreateManyInput | Prisma.AgentSessionEntryCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry update
|
|
*/
|
|
export type AgentSessionEntryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AgentSessionEntry.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AgentSessionEntryUpdateInput, Prisma.AgentSessionEntryUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AgentSessionEntry to update.
|
|
*/
|
|
where: Prisma.AgentSessionEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry updateMany
|
|
*/
|
|
export type AgentSessionEntryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AgentSessionEntries.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AgentSessionEntryUpdateManyMutationInput, Prisma.AgentSessionEntryUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AgentSessionEntries to update
|
|
*/
|
|
where?: Prisma.AgentSessionEntryWhereInput
|
|
/**
|
|
* Limit how many AgentSessionEntries to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry updateManyAndReturn
|
|
*/
|
|
export type AgentSessionEntryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AgentSessionEntries.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AgentSessionEntryUpdateManyMutationInput, Prisma.AgentSessionEntryUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AgentSessionEntries to update
|
|
*/
|
|
where?: Prisma.AgentSessionEntryWhereInput
|
|
/**
|
|
* Limit how many AgentSessionEntries to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry upsert
|
|
*/
|
|
export type AgentSessionEntryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AgentSessionEntry to update in case it exists.
|
|
*/
|
|
where: Prisma.AgentSessionEntryWhereUniqueInput
|
|
/**
|
|
* In case the AgentSessionEntry found by the `where` argument doesn't exist, create a new AgentSessionEntry with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AgentSessionEntryCreateInput, Prisma.AgentSessionEntryUncheckedCreateInput>
|
|
/**
|
|
* In case the AgentSessionEntry was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AgentSessionEntryUpdateInput, Prisma.AgentSessionEntryUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry delete
|
|
*/
|
|
export type AgentSessionEntryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AgentSessionEntry to delete.
|
|
*/
|
|
where: Prisma.AgentSessionEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry deleteMany
|
|
*/
|
|
export type AgentSessionEntryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AgentSessionEntries to delete
|
|
*/
|
|
where?: Prisma.AgentSessionEntryWhereInput
|
|
/**
|
|
* Limit how many AgentSessionEntries to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AgentSessionEntry without action
|
|
*/
|
|
export type AgentSessionEntryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSessionEntry
|
|
*/
|
|
select?: Prisma.AgentSessionEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSessionEntry
|
|
*/
|
|
omit?: Prisma.AgentSessionEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSessionEntryInclude<ExtArgs> | null
|
|
}
|