2026-11-11 16:05:18 +08:00
|
|
|
|
|
|
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
|
|
|
/* eslint-disable */
|
|
|
|
|
// biome-ignore-all lint: generated file
|
2026-11-18 15:58:57 +08:00
|
|
|
// @ts-nocheck
|
2026-11-11 16:05:18 +08:00
|
|
|
/*
|
|
|
|
|
* This file exports the `AgentSessionCommit` model and its related types.
|
|
|
|
|
*
|
|
|
|
|
* 🟢 You can import this file directly.
|
|
|
|
|
*/
|
|
|
|
|
|
2026-11-18 15:58:57 +08:00
|
|
|
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"
|
2026-11-11 16:05:18 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Model AgentSessionCommit
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentSessionCommitPayload>
|
|
|
|
|
|
|
|
|
|
export type AggregateAgentSessionCommit = {
|
|
|
|
|
_count: AgentSessionCommitCountAggregateOutputType | null
|
|
|
|
|
_avg: AgentSessionCommitAvgAggregateOutputType | null
|
|
|
|
|
_sum: AgentSessionCommitSumAggregateOutputType | null
|
|
|
|
|
_min: AgentSessionCommitMinAggregateOutputType | null
|
|
|
|
|
_max: AgentSessionCommitMaxAggregateOutputType | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitAvgAggregateOutputType = {
|
|
|
|
|
seq: number | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitSumAggregateOutputType = {
|
|
|
|
|
seq: bigint | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitMinAggregateOutputType = {
|
|
|
|
|
id: string | null
|
|
|
|
|
sessionId: string | null
|
|
|
|
|
seq: bigint | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitMaxAggregateOutputType = {
|
|
|
|
|
id: string | null
|
|
|
|
|
sessionId: string | null
|
|
|
|
|
seq: bigint | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCountAggregateOutputType = {
|
|
|
|
|
id: number
|
|
|
|
|
sessionId: number
|
|
|
|
|
seq: number
|
|
|
|
|
data: number
|
|
|
|
|
_all: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitAvgAggregateInputType = {
|
|
|
|
|
seq?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitSumAggregateInputType = {
|
|
|
|
|
seq?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitMinAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
sessionId?: true
|
|
|
|
|
seq?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitMaxAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
sessionId?: true
|
|
|
|
|
seq?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCountAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
sessionId?: true
|
|
|
|
|
seq?: true
|
|
|
|
|
data?: true
|
|
|
|
|
_all?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Filter which AgentSessionCommit to aggregate.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Determine the order of AgentSessionCommits to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.AgentSessionCommitOrderByWithRelationInput | Prisma.AgentSessionCommitOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Sets the start position
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Take `±n` AgentSessionCommits from the position of the cursor.
|
|
|
|
|
*/
|
|
|
|
|
take?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Skip the first `n` AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Count returned AgentSessionCommits
|
|
|
|
|
**/
|
|
|
|
|
_count?: true | AgentSessionCommitCountAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Select which fields to average
|
|
|
|
|
**/
|
|
|
|
|
_avg?: AgentSessionCommitAvgAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Select which fields to sum
|
|
|
|
|
**/
|
|
|
|
|
_sum?: AgentSessionCommitSumAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Select which fields to find the minimum value
|
|
|
|
|
**/
|
|
|
|
|
_min?: AgentSessionCommitMinAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Select which fields to find the maximum value
|
|
|
|
|
**/
|
|
|
|
|
_max?: AgentSessionCommitMaxAggregateInputType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type GetAgentSessionCommitAggregateType<T extends AgentSessionCommitAggregateArgs> = {
|
|
|
|
|
[P in keyof T & keyof AggregateAgentSessionCommit]: P extends '_count' | 'count'
|
|
|
|
|
? T[P] extends true
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T[P], AggregateAgentSessionCommit[P]>
|
|
|
|
|
: Prisma.GetScalarType<T[P], AggregateAgentSessionCommit[P]>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
where?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
orderBy?: Prisma.AgentSessionCommitOrderByWithAggregationInput | Prisma.AgentSessionCommitOrderByWithAggregationInput[]
|
|
|
|
|
by: Prisma.AgentSessionCommitScalarFieldEnum[] | Prisma.AgentSessionCommitScalarFieldEnum
|
|
|
|
|
having?: Prisma.AgentSessionCommitScalarWhereWithAggregatesInput
|
|
|
|
|
take?: number
|
|
|
|
|
skip?: number
|
|
|
|
|
_count?: AgentSessionCommitCountAggregateInputType | true
|
|
|
|
|
_avg?: AgentSessionCommitAvgAggregateInputType
|
|
|
|
|
_sum?: AgentSessionCommitSumAggregateInputType
|
|
|
|
|
_min?: AgentSessionCommitMinAggregateInputType
|
|
|
|
|
_max?: AgentSessionCommitMaxAggregateInputType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitGroupByOutputType = {
|
|
|
|
|
id: string
|
|
|
|
|
sessionId: string
|
|
|
|
|
seq: bigint
|
|
|
|
|
data:PrismaJson.AgentSessionCommitData
|
|
|
|
|
_count: AgentSessionCommitCountAggregateOutputType | null
|
|
|
|
|
_avg: AgentSessionCommitAvgAggregateOutputType | null
|
|
|
|
|
_sum: AgentSessionCommitSumAggregateOutputType | null
|
|
|
|
|
_min: AgentSessionCommitMinAggregateOutputType | null
|
|
|
|
|
_max: AgentSessionCommitMaxAggregateOutputType | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type GetAgentSessionCommitGroupByPayload<T extends AgentSessionCommitGroupByArgs> = Prisma.PrismaPromise<
|
|
|
|
|
Array<
|
|
|
|
|
Prisma.PickEnumerable<AgentSessionCommitGroupByOutputType, T['by']> &
|
|
|
|
|
{
|
|
|
|
|
[P in ((keyof T) & (keyof AgentSessionCommitGroupByOutputType))]: P extends '_count'
|
|
|
|
|
? T[P] extends boolean
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T[P], AgentSessionCommitGroupByOutputType[P]>
|
|
|
|
|
: Prisma.GetScalarType<T[P], AgentSessionCommitGroupByOutputType[P]>
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitWhereInput = {
|
|
|
|
|
AND?: Prisma.AgentSessionCommitWhereInput | Prisma.AgentSessionCommitWhereInput[]
|
|
|
|
|
OR?: Prisma.AgentSessionCommitWhereInput[]
|
|
|
|
|
NOT?: Prisma.AgentSessionCommitWhereInput | Prisma.AgentSessionCommitWhereInput[]
|
|
|
|
|
id?: Prisma.StringFilter<"AgentSessionCommit"> | string
|
|
|
|
|
sessionId?: Prisma.StringFilter<"AgentSessionCommit"> | string
|
|
|
|
|
seq?: Prisma.BigIntFilter<"AgentSessionCommit"> | bigint | number
|
|
|
|
|
data?: Prisma.JsonFilter<"AgentSessionCommit">
|
|
|
|
|
session?: Prisma.XOR<Prisma.AgentSessionScalarRelationFilter, Prisma.AgentSessionWhereInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitOrderByWithRelationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
sessionId?: Prisma.SortOrder
|
|
|
|
|
seq?: Prisma.SortOrder
|
|
|
|
|
data?: Prisma.SortOrder
|
|
|
|
|
session?: Prisma.AgentSessionOrderByWithRelationInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
id?: string
|
|
|
|
|
sessionId_seq?: Prisma.AgentSessionCommitSessionIdSeqCompoundUniqueInput
|
|
|
|
|
AND?: Prisma.AgentSessionCommitWhereInput | Prisma.AgentSessionCommitWhereInput[]
|
|
|
|
|
OR?: Prisma.AgentSessionCommitWhereInput[]
|
|
|
|
|
NOT?: Prisma.AgentSessionCommitWhereInput | Prisma.AgentSessionCommitWhereInput[]
|
|
|
|
|
sessionId?: Prisma.StringFilter<"AgentSessionCommit"> | string
|
|
|
|
|
seq?: Prisma.BigIntFilter<"AgentSessionCommit"> | bigint | number
|
|
|
|
|
data?: Prisma.JsonFilter<"AgentSessionCommit">
|
|
|
|
|
session?: Prisma.XOR<Prisma.AgentSessionScalarRelationFilter, Prisma.AgentSessionWhereInput>
|
|
|
|
|
}, "id" | "sessionId_seq">
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitOrderByWithAggregationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
sessionId?: Prisma.SortOrder
|
|
|
|
|
seq?: Prisma.SortOrder
|
|
|
|
|
data?: Prisma.SortOrder
|
|
|
|
|
_count?: Prisma.AgentSessionCommitCountOrderByAggregateInput
|
|
|
|
|
_avg?: Prisma.AgentSessionCommitAvgOrderByAggregateInput
|
|
|
|
|
_max?: Prisma.AgentSessionCommitMaxOrderByAggregateInput
|
|
|
|
|
_min?: Prisma.AgentSessionCommitMinOrderByAggregateInput
|
|
|
|
|
_sum?: Prisma.AgentSessionCommitSumOrderByAggregateInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitScalarWhereWithAggregatesInput = {
|
|
|
|
|
AND?: Prisma.AgentSessionCommitScalarWhereWithAggregatesInput | Prisma.AgentSessionCommitScalarWhereWithAggregatesInput[]
|
|
|
|
|
OR?: Prisma.AgentSessionCommitScalarWhereWithAggregatesInput[]
|
|
|
|
|
NOT?: Prisma.AgentSessionCommitScalarWhereWithAggregatesInput | Prisma.AgentSessionCommitScalarWhereWithAggregatesInput[]
|
|
|
|
|
id?: Prisma.StringWithAggregatesFilter<"AgentSessionCommit"> | string
|
|
|
|
|
sessionId?: Prisma.StringWithAggregatesFilter<"AgentSessionCommit"> | string
|
|
|
|
|
seq?: Prisma.BigIntWithAggregatesFilter<"AgentSessionCommit"> | bigint | number
|
|
|
|
|
data?: Prisma.JsonWithAggregatesFilter<"AgentSessionCommit">
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCreateInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
seq: bigint | number
|
|
|
|
|
data:PrismaJson.AgentSessionCommitData
|
|
|
|
|
session: Prisma.AgentSessionCreateNestedOneWithoutCommitsInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUncheckedCreateInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
sessionId: string
|
|
|
|
|
seq: bigint | number
|
|
|
|
|
data:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUpdateInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
|
|
|
data?:PrismaJson.AgentSessionCommitData
|
|
|
|
|
session?: Prisma.AgentSessionUpdateOneRequiredWithoutCommitsNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUncheckedUpdateInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
sessionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
|
|
|
data?:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCreateManyInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
sessionId: string
|
|
|
|
|
seq: bigint | number
|
|
|
|
|
data:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUpdateManyMutationInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
|
|
|
data?:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUncheckedUpdateManyInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
sessionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
|
|
|
data?:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitListRelationFilter = {
|
|
|
|
|
every?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
some?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
none?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitOrderByRelationAggregateInput = {
|
|
|
|
|
_count?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitSessionIdSeqCompoundUniqueInput = {
|
|
|
|
|
sessionId: string
|
|
|
|
|
seq: bigint | number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCountOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
sessionId?: Prisma.SortOrder
|
|
|
|
|
seq?: Prisma.SortOrder
|
|
|
|
|
data?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitAvgOrderByAggregateInput = {
|
|
|
|
|
seq?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitMaxOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
sessionId?: Prisma.SortOrder
|
|
|
|
|
seq?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitMinOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
sessionId?: Prisma.SortOrder
|
|
|
|
|
seq?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitSumOrderByAggregateInput = {
|
|
|
|
|
seq?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCreateNestedManyWithoutSessionInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AgentSessionCommitCreateWithoutSessionInput, Prisma.AgentSessionCommitUncheckedCreateWithoutSessionInput> | Prisma.AgentSessionCommitCreateWithoutSessionInput[] | Prisma.AgentSessionCommitUncheckedCreateWithoutSessionInput[]
|
|
|
|
|
connectOrCreate?: Prisma.AgentSessionCommitCreateOrConnectWithoutSessionInput | Prisma.AgentSessionCommitCreateOrConnectWithoutSessionInput[]
|
|
|
|
|
createMany?: Prisma.AgentSessionCommitCreateManySessionInputEnvelope
|
|
|
|
|
connect?: Prisma.AgentSessionCommitWhereUniqueInput | Prisma.AgentSessionCommitWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUncheckedCreateNestedManyWithoutSessionInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AgentSessionCommitCreateWithoutSessionInput, Prisma.AgentSessionCommitUncheckedCreateWithoutSessionInput> | Prisma.AgentSessionCommitCreateWithoutSessionInput[] | Prisma.AgentSessionCommitUncheckedCreateWithoutSessionInput[]
|
|
|
|
|
connectOrCreate?: Prisma.AgentSessionCommitCreateOrConnectWithoutSessionInput | Prisma.AgentSessionCommitCreateOrConnectWithoutSessionInput[]
|
|
|
|
|
createMany?: Prisma.AgentSessionCommitCreateManySessionInputEnvelope
|
|
|
|
|
connect?: Prisma.AgentSessionCommitWhereUniqueInput | Prisma.AgentSessionCommitWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUpdateManyWithoutSessionNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AgentSessionCommitCreateWithoutSessionInput, Prisma.AgentSessionCommitUncheckedCreateWithoutSessionInput> | Prisma.AgentSessionCommitCreateWithoutSessionInput[] | Prisma.AgentSessionCommitUncheckedCreateWithoutSessionInput[]
|
|
|
|
|
connectOrCreate?: Prisma.AgentSessionCommitCreateOrConnectWithoutSessionInput | Prisma.AgentSessionCommitCreateOrConnectWithoutSessionInput[]
|
|
|
|
|
upsert?: Prisma.AgentSessionCommitUpsertWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionCommitUpsertWithWhereUniqueWithoutSessionInput[]
|
|
|
|
|
createMany?: Prisma.AgentSessionCommitCreateManySessionInputEnvelope
|
|
|
|
|
set?: Prisma.AgentSessionCommitWhereUniqueInput | Prisma.AgentSessionCommitWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.AgentSessionCommitWhereUniqueInput | Prisma.AgentSessionCommitWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.AgentSessionCommitWhereUniqueInput | Prisma.AgentSessionCommitWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.AgentSessionCommitWhereUniqueInput | Prisma.AgentSessionCommitWhereUniqueInput[]
|
|
|
|
|
update?: Prisma.AgentSessionCommitUpdateWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionCommitUpdateWithWhereUniqueWithoutSessionInput[]
|
|
|
|
|
updateMany?: Prisma.AgentSessionCommitUpdateManyWithWhereWithoutSessionInput | Prisma.AgentSessionCommitUpdateManyWithWhereWithoutSessionInput[]
|
|
|
|
|
deleteMany?: Prisma.AgentSessionCommitScalarWhereInput | Prisma.AgentSessionCommitScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUncheckedUpdateManyWithoutSessionNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AgentSessionCommitCreateWithoutSessionInput, Prisma.AgentSessionCommitUncheckedCreateWithoutSessionInput> | Prisma.AgentSessionCommitCreateWithoutSessionInput[] | Prisma.AgentSessionCommitUncheckedCreateWithoutSessionInput[]
|
|
|
|
|
connectOrCreate?: Prisma.AgentSessionCommitCreateOrConnectWithoutSessionInput | Prisma.AgentSessionCommitCreateOrConnectWithoutSessionInput[]
|
|
|
|
|
upsert?: Prisma.AgentSessionCommitUpsertWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionCommitUpsertWithWhereUniqueWithoutSessionInput[]
|
|
|
|
|
createMany?: Prisma.AgentSessionCommitCreateManySessionInputEnvelope
|
|
|
|
|
set?: Prisma.AgentSessionCommitWhereUniqueInput | Prisma.AgentSessionCommitWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.AgentSessionCommitWhereUniqueInput | Prisma.AgentSessionCommitWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.AgentSessionCommitWhereUniqueInput | Prisma.AgentSessionCommitWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.AgentSessionCommitWhereUniqueInput | Prisma.AgentSessionCommitWhereUniqueInput[]
|
|
|
|
|
update?: Prisma.AgentSessionCommitUpdateWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionCommitUpdateWithWhereUniqueWithoutSessionInput[]
|
|
|
|
|
updateMany?: Prisma.AgentSessionCommitUpdateManyWithWhereWithoutSessionInput | Prisma.AgentSessionCommitUpdateManyWithWhereWithoutSessionInput[]
|
|
|
|
|
deleteMany?: Prisma.AgentSessionCommitScalarWhereInput | Prisma.AgentSessionCommitScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCreateWithoutSessionInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
seq: bigint | number
|
|
|
|
|
data:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUncheckedCreateWithoutSessionInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
seq: bigint | number
|
|
|
|
|
data:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCreateOrConnectWithoutSessionInput = {
|
|
|
|
|
where: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
create: Prisma.XOR<Prisma.AgentSessionCommitCreateWithoutSessionInput, Prisma.AgentSessionCommitUncheckedCreateWithoutSessionInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCreateManySessionInputEnvelope = {
|
|
|
|
|
data: Prisma.AgentSessionCommitCreateManySessionInput | Prisma.AgentSessionCommitCreateManySessionInput[]
|
|
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUpsertWithWhereUniqueWithoutSessionInput = {
|
|
|
|
|
where: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
update: Prisma.XOR<Prisma.AgentSessionCommitUpdateWithoutSessionInput, Prisma.AgentSessionCommitUncheckedUpdateWithoutSessionInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.AgentSessionCommitCreateWithoutSessionInput, Prisma.AgentSessionCommitUncheckedCreateWithoutSessionInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUpdateWithWhereUniqueWithoutSessionInput = {
|
|
|
|
|
where: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
data: Prisma.XOR<Prisma.AgentSessionCommitUpdateWithoutSessionInput, Prisma.AgentSessionCommitUncheckedUpdateWithoutSessionInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUpdateManyWithWhereWithoutSessionInput = {
|
|
|
|
|
where: Prisma.AgentSessionCommitScalarWhereInput
|
|
|
|
|
data: Prisma.XOR<Prisma.AgentSessionCommitUpdateManyMutationInput, Prisma.AgentSessionCommitUncheckedUpdateManyWithoutSessionInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitScalarWhereInput = {
|
|
|
|
|
AND?: Prisma.AgentSessionCommitScalarWhereInput | Prisma.AgentSessionCommitScalarWhereInput[]
|
|
|
|
|
OR?: Prisma.AgentSessionCommitScalarWhereInput[]
|
|
|
|
|
NOT?: Prisma.AgentSessionCommitScalarWhereInput | Prisma.AgentSessionCommitScalarWhereInput[]
|
|
|
|
|
id?: Prisma.StringFilter<"AgentSessionCommit"> | string
|
|
|
|
|
sessionId?: Prisma.StringFilter<"AgentSessionCommit"> | string
|
|
|
|
|
seq?: Prisma.BigIntFilter<"AgentSessionCommit"> | bigint | number
|
|
|
|
|
data?: Prisma.JsonFilter<"AgentSessionCommit">
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCreateManySessionInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
seq: bigint | number
|
|
|
|
|
data:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUpdateWithoutSessionInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
|
|
|
data?:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUncheckedUpdateWithoutSessionInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
|
|
|
data?:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitUncheckedUpdateManyWithoutSessionInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
|
|
|
data?:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
|
|
|
id?: boolean
|
|
|
|
|
sessionId?: boolean
|
|
|
|
|
seq?: boolean
|
|
|
|
|
data?: boolean
|
|
|
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
|
|
|
}, ExtArgs["result"]["agentSessionCommit"]>
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
|
|
|
id?: boolean
|
|
|
|
|
sessionId?: boolean
|
|
|
|
|
seq?: boolean
|
|
|
|
|
data?: boolean
|
|
|
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
|
|
|
}, ExtArgs["result"]["agentSessionCommit"]>
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
|
|
|
id?: boolean
|
|
|
|
|
sessionId?: boolean
|
|
|
|
|
seq?: boolean
|
|
|
|
|
data?: boolean
|
|
|
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
|
|
|
}, ExtArgs["result"]["agentSessionCommit"]>
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitSelectScalar = {
|
|
|
|
|
id?: boolean
|
|
|
|
|
sessionId?: boolean
|
|
|
|
|
seq?: boolean
|
|
|
|
|
data?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sessionId" | "seq" | "data", ExtArgs["result"]["agentSessionCommit"]>
|
|
|
|
|
export type AgentSessionCommitInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
export type AgentSessionCommitIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
export type AgentSessionCommitIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
session?: boolean | Prisma.AgentSessionDefaultArgs<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type $AgentSessionCommitPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
name: "AgentSessionCommit"
|
|
|
|
|
objects: {
|
|
|
|
|
session: Prisma.$AgentSessionPayload<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
|
|
|
id: string
|
|
|
|
|
sessionId: string
|
|
|
|
|
seq: bigint
|
|
|
|
|
/**
|
|
|
|
|
* [AgentSessionCommitData]
|
|
|
|
|
*/
|
|
|
|
|
data:PrismaJson.AgentSessionCommitData
|
|
|
|
|
}, ExtArgs["result"]["agentSessionCommit"]>
|
|
|
|
|
composites: {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitGetPayload<S extends boolean | null | undefined | AgentSessionCommitDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload, S>
|
|
|
|
|
|
|
|
|
|
export type AgentSessionCommitCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
|
|
|
Omit<AgentSessionCommitFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
|
|
|
select?: AgentSessionCommitCountAggregateInputType | true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface AgentSessionCommitDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
|
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AgentSessionCommit'], meta: { name: 'AgentSessionCommit' } }
|
|
|
|
|
/**
|
|
|
|
|
* Find zero or one AgentSessionCommit that matches the filter.
|
|
|
|
|
* @param {AgentSessionCommitFindUniqueArgs} args - Arguments to find a AgentSessionCommit
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one AgentSessionCommit
|
|
|
|
|
* const agentSessionCommit = await prisma.agentSessionCommit.findUnique({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findUnique<T extends AgentSessionCommitFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentSessionCommitFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentSessionCommitClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find one AgentSessionCommit that matches the filter or throw an error with `error.code='P2025'`
|
|
|
|
|
* if no matches were found.
|
|
|
|
|
* @param {AgentSessionCommitFindUniqueOrThrowArgs} args - Arguments to find a AgentSessionCommit
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one AgentSessionCommit
|
|
|
|
|
* const agentSessionCommit = await prisma.agentSessionCommit.findUniqueOrThrow({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findUniqueOrThrow<T extends AgentSessionCommitFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentSessionCommitFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentSessionCommitClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the first AgentSessionCommit 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 {AgentSessionCommitFindFirstArgs} args - Arguments to find a AgentSessionCommit
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one AgentSessionCommit
|
|
|
|
|
* const agentSessionCommit = await prisma.agentSessionCommit.findFirst({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findFirst<T extends AgentSessionCommitFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentSessionCommitFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentSessionCommitClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the first AgentSessionCommit 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 {AgentSessionCommitFindFirstOrThrowArgs} args - Arguments to find a AgentSessionCommit
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one AgentSessionCommit
|
|
|
|
|
* const agentSessionCommit = await prisma.agentSessionCommit.findFirstOrThrow({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findFirstOrThrow<T extends AgentSessionCommitFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentSessionCommitFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentSessionCommitClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find zero or more AgentSessionCommits 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 {AgentSessionCommitFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
|
|
|
* @example
|
|
|
|
|
* // Get all AgentSessionCommits
|
|
|
|
|
* const agentSessionCommits = await prisma.agentSessionCommit.findMany()
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* // Get first 10 AgentSessionCommits
|
|
|
|
|
* const agentSessionCommits = await prisma.agentSessionCommit.findMany({ take: 10 })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* // Only select the `id`
|
|
|
|
|
* const agentSessionCommitWithIdOnly = await prisma.agentSessionCommit.findMany({ select: { id: true } })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
*/
|
|
|
|
|
findMany<T extends AgentSessionCommitFindManyArgs>(args?: Prisma.SelectSubset<T, AgentSessionCommitFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create a AgentSessionCommit.
|
|
|
|
|
* @param {AgentSessionCommitCreateArgs} args - Arguments to create a AgentSessionCommit.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create one AgentSessionCommit
|
|
|
|
|
* const AgentSessionCommit = await prisma.agentSessionCommit.create({
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... data to create a AgentSessionCommit
|
|
|
|
|
* }
|
|
|
|
|
* })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
*/
|
|
|
|
|
create<T extends AgentSessionCommitCreateArgs>(args: Prisma.SelectSubset<T, AgentSessionCommitCreateArgs<ExtArgs>>): Prisma.Prisma__AgentSessionCommitClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create many AgentSessionCommits.
|
|
|
|
|
* @param {AgentSessionCommitCreateManyArgs} args - Arguments to create many AgentSessionCommits.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create many AgentSessionCommits
|
|
|
|
|
* const agentSessionCommit = await prisma.agentSessionCommit.createMany({
|
|
|
|
|
* data: [
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* ]
|
|
|
|
|
* })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
*/
|
|
|
|
|
createMany<T extends AgentSessionCommitCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentSessionCommitCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create many AgentSessionCommits and returns the data saved in the database.
|
|
|
|
|
* @param {AgentSessionCommitCreateManyAndReturnArgs} args - Arguments to create many AgentSessionCommits.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create many AgentSessionCommits
|
|
|
|
|
* const agentSessionCommit = await prisma.agentSessionCommit.createManyAndReturn({
|
|
|
|
|
* data: [
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* ]
|
|
|
|
|
* })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* // Create many AgentSessionCommits and only return the `id`
|
|
|
|
|
* const agentSessionCommitWithIdOnly = await prisma.agentSessionCommit.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
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
*/
|
|
|
|
|
createManyAndReturn<T extends AgentSessionCommitCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentSessionCommitCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete a AgentSessionCommit.
|
|
|
|
|
* @param {AgentSessionCommitDeleteArgs} args - Arguments to delete one AgentSessionCommit.
|
|
|
|
|
* @example
|
|
|
|
|
* // Delete one AgentSessionCommit
|
|
|
|
|
* const AgentSessionCommit = await prisma.agentSessionCommit.delete({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... filter to delete one AgentSessionCommit
|
|
|
|
|
* }
|
|
|
|
|
* })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
*/
|
|
|
|
|
delete<T extends AgentSessionCommitDeleteArgs>(args: Prisma.SelectSubset<T, AgentSessionCommitDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentSessionCommitClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update one AgentSessionCommit.
|
|
|
|
|
* @param {AgentSessionCommitUpdateArgs} args - Arguments to update one AgentSessionCommit.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update one AgentSessionCommit
|
|
|
|
|
* const agentSessionCommit = await prisma.agentSessionCommit.update({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
*/
|
|
|
|
|
update<T extends AgentSessionCommitUpdateArgs>(args: Prisma.SelectSubset<T, AgentSessionCommitUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentSessionCommitClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete zero or more AgentSessionCommits.
|
|
|
|
|
* @param {AgentSessionCommitDeleteManyArgs} args - Arguments to filter AgentSessionCommits to delete.
|
|
|
|
|
* @example
|
|
|
|
|
* // Delete a few AgentSessionCommits
|
|
|
|
|
* const { count } = await prisma.agentSessionCommit.deleteMany({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
*/
|
|
|
|
|
deleteMany<T extends AgentSessionCommitDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentSessionCommitDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update zero or more AgentSessionCommits.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {AgentSessionCommitUpdateManyArgs} args - Arguments to update one or more rows.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update many AgentSessionCommits
|
|
|
|
|
* const agentSessionCommit = await prisma.agentSessionCommit.updateMany({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
*/
|
|
|
|
|
updateMany<T extends AgentSessionCommitUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentSessionCommitUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update zero or more AgentSessionCommits and returns the data updated in the database.
|
|
|
|
|
* @param {AgentSessionCommitUpdateManyAndReturnArgs} args - Arguments to update many AgentSessionCommits.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update many AgentSessionCommits
|
|
|
|
|
* const agentSessionCommit = await prisma.agentSessionCommit.updateManyAndReturn({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: [
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* ]
|
|
|
|
|
* })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* // Update zero or more AgentSessionCommits and only return the `id`
|
|
|
|
|
* const agentSessionCommitWithIdOnly = await prisma.agentSessionCommit.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
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
*/
|
|
|
|
|
updateManyAndReturn<T extends AgentSessionCommitUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentSessionCommitUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create or update one AgentSessionCommit.
|
|
|
|
|
* @param {AgentSessionCommitUpsertArgs} args - Arguments to update or create a AgentSessionCommit.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update or create a AgentSessionCommit
|
|
|
|
|
* const agentSessionCommit = await prisma.agentSessionCommit.upsert({
|
|
|
|
|
* create: {
|
|
|
|
|
* // ... data to create a AgentSessionCommit
|
|
|
|
|
* },
|
|
|
|
|
* update: {
|
|
|
|
|
* // ... in case it already exists, update
|
|
|
|
|
* },
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... the filter for the AgentSessionCommit we want to update
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
upsert<T extends AgentSessionCommitUpsertArgs>(args: Prisma.SelectSubset<T, AgentSessionCommitUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentSessionCommitClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionCommitPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Count the number of AgentSessionCommits.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {AgentSessionCommitCountArgs} args - Arguments to filter AgentSessionCommits to count.
|
|
|
|
|
* @example
|
|
|
|
|
* // Count the number of AgentSessionCommits
|
|
|
|
|
* const count = await prisma.agentSessionCommit.count({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... the filter for the AgentSessionCommits we want to count
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
**/
|
|
|
|
|
count<T extends AgentSessionCommitCountArgs>(
|
|
|
|
|
args?: Prisma.Subset<T, AgentSessionCommitCountArgs>,
|
|
|
|
|
): Prisma.PrismaPromise<
|
|
|
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
|
|
|
? T['select'] extends true
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T['select'], AgentSessionCommitCountAggregateOutputType>
|
|
|
|
|
: number
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Allows you to perform aggregations operations on a AgentSessionCommit.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {AgentSessionCommitAggregateArgs} 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 AgentSessionCommitAggregateArgs>(args: Prisma.Subset<T, AgentSessionCommitAggregateArgs>): Prisma.PrismaPromise<GetAgentSessionCommitAggregateType<T>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Group by AgentSessionCommit.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {AgentSessionCommitGroupByArgs} 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
|
|
|
|
|
* },
|
|
|
|
|
* })
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
**/
|
|
|
|
|
groupBy<
|
|
|
|
|
T extends AgentSessionCommitGroupByArgs,
|
|
|
|
|
HasSelectOrTake extends Prisma.Or<
|
|
|
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
|
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
|
|
|
>,
|
|
|
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
|
|
|
? { orderBy: AgentSessionCommitGroupByArgs['orderBy'] }
|
|
|
|
|
: { orderBy?: AgentSessionCommitGroupByArgs['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, AgentSessionCommitGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentSessionCommitGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
|
|
|
/**
|
|
|
|
|
* Fields of the AgentSessionCommit model
|
|
|
|
|
*/
|
|
|
|
|
readonly fields: AgentSessionCommitFieldRefs;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The delegate class that acts as a "Promise-like" for AgentSessionCommit.
|
|
|
|
|
* 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__AgentSessionCommitClient<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 AgentSessionCommit model
|
|
|
|
|
*/
|
|
|
|
|
export interface AgentSessionCommitFieldRefs {
|
|
|
|
|
readonly id: Prisma.FieldRef<"AgentSessionCommit", 'String'>
|
|
|
|
|
readonly sessionId: Prisma.FieldRef<"AgentSessionCommit", 'String'>
|
|
|
|
|
readonly seq: Prisma.FieldRef<"AgentSessionCommit", 'BigInt'>
|
|
|
|
|
readonly data: Prisma.FieldRef<"AgentSessionCommit", 'Json'>
|
|
|
|
|
}
|
2026-11-18 15:58:57 +08:00
|
|
|
|
2026-11-11 16:05:18 +08:00
|
|
|
|
|
|
|
|
// Custom InputTypes
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit findUnique
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which AgentSessionCommit to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit findUniqueOrThrow
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which AgentSessionCommit to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit findFirst
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which AgentSessionCommit to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Determine the order of AgentSessionCommits to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.AgentSessionCommitOrderByWithRelationInput | Prisma.AgentSessionCommitOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Sets the position for searching for AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Take `±n` AgentSessionCommits from the position of the cursor.
|
|
|
|
|
*/
|
|
|
|
|
take?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Skip the first `n` AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Filter by unique combinations of AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.AgentSessionCommitScalarFieldEnum | Prisma.AgentSessionCommitScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit findFirstOrThrow
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which AgentSessionCommit to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Determine the order of AgentSessionCommits to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.AgentSessionCommitOrderByWithRelationInput | Prisma.AgentSessionCommitOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Sets the position for searching for AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Take `±n` AgentSessionCommits from the position of the cursor.
|
|
|
|
|
*/
|
|
|
|
|
take?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Skip the first `n` AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Filter by unique combinations of AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.AgentSessionCommitScalarFieldEnum | Prisma.AgentSessionCommitScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit findMany
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which AgentSessionCommits to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Determine the order of AgentSessionCommits to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.AgentSessionCommitOrderByWithRelationInput | Prisma.AgentSessionCommitOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Sets the position for listing AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Take `±n` AgentSessionCommits from the position of the cursor.
|
|
|
|
|
*/
|
|
|
|
|
take?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Skip the first `n` AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
2026-11-18 15:58:57 +08:00
|
|
|
*
|
2026-11-11 16:05:18 +08:00
|
|
|
* Filter by unique combinations of AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.AgentSessionCommitScalarFieldEnum | Prisma.AgentSessionCommitScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit create
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data needed to create a AgentSessionCommit.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.AgentSessionCommitCreateInput, Prisma.AgentSessionCommitUncheckedCreateInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit createMany
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* The data used to create many AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.AgentSessionCommitCreateManyInput | Prisma.AgentSessionCommitCreateManyInput[]
|
|
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit createManyAndReturn
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelectCreateManyAndReturn<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data used to create many AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.AgentSessionCommitCreateManyInput | Prisma.AgentSessionCommitCreateManyInput[]
|
|
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitIncludeCreateManyAndReturn<ExtArgs> | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit update
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data needed to update a AgentSessionCommit.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.AgentSessionCommitUpdateInput, Prisma.AgentSessionCommitUncheckedUpdateInput>
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which AgentSessionCommit to update.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit updateMany
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* The data used to update AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.AgentSessionCommitUpdateManyMutationInput, Prisma.AgentSessionCommitUncheckedUpdateManyInput>
|
|
|
|
|
/**
|
|
|
|
|
* Filter which AgentSessionCommits to update
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many AgentSessionCommits to update.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit updateManyAndReturn
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelectUpdateManyAndReturn<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data used to update AgentSessionCommits.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.AgentSessionCommitUpdateManyMutationInput, Prisma.AgentSessionCommitUncheckedUpdateManyInput>
|
|
|
|
|
/**
|
|
|
|
|
* Filter which AgentSessionCommits to update
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many AgentSessionCommits to update.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit upsert
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The filter to search for the AgentSessionCommit to update in case it exists.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* In case the AgentSessionCommit found by the `where` argument doesn't exist, create a new AgentSessionCommit with this data.
|
|
|
|
|
*/
|
|
|
|
|
create: Prisma.XOR<Prisma.AgentSessionCommitCreateInput, Prisma.AgentSessionCommitUncheckedCreateInput>
|
|
|
|
|
/**
|
|
|
|
|
* In case the AgentSessionCommit was found with the provided `where` argument, update it with this data.
|
|
|
|
|
*/
|
|
|
|
|
update: Prisma.XOR<Prisma.AgentSessionCommitUpdateInput, Prisma.AgentSessionCommitUncheckedUpdateInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit delete
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter which AgentSessionCommit to delete.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.AgentSessionCommitWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit deleteMany
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Filter which AgentSessionCommits to delete
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AgentSessionCommitWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many AgentSessionCommits to delete.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AgentSessionCommit without action
|
|
|
|
|
*/
|
|
|
|
|
export type AgentSessionCommitDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AgentSessionCommitSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AgentSessionCommit
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AgentSessionCommitOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AgentSessionCommitInclude<ExtArgs> | null
|
|
|
|
|
}
|