mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-25 15:49:52 +00:00
1474 lines
56 KiB
TypeScript
Generated
1474 lines
56 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 `AgentSkill` 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 AgentSkill
|
|
*
|
|
*/
|
|
export type AgentSkillModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentSkillPayload>
|
|
|
|
export type AggregateAgentSkill = {
|
|
_count: AgentSkillCountAggregateOutputType | null
|
|
_min: AgentSkillMinAggregateOutputType | null
|
|
_max: AgentSkillMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AgentSkillMinAggregateOutputType = {
|
|
id: string | null
|
|
agentId: string | null
|
|
skillId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type AgentSkillMaxAggregateOutputType = {
|
|
id: string | null
|
|
agentId: string | null
|
|
skillId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type AgentSkillCountAggregateOutputType = {
|
|
id: number
|
|
agentId: number
|
|
skillId: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AgentSkillMinAggregateInputType = {
|
|
id?: true
|
|
agentId?: true
|
|
skillId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type AgentSkillMaxAggregateInputType = {
|
|
id?: true
|
|
agentId?: true
|
|
skillId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type AgentSkillCountAggregateInputType = {
|
|
id?: true
|
|
agentId?: true
|
|
skillId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AgentSkillAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AgentSkill to aggregate.
|
|
*/
|
|
where?: Prisma.AgentSkillWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AgentSkills to fetch.
|
|
*/
|
|
orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AgentSkillWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AgentSkills 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` AgentSkills.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AgentSkills
|
|
**/
|
|
_count?: true | AgentSkillCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AgentSkillMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AgentSkillMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAgentSkillAggregateType<T extends AgentSkillAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAgentSkill]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAgentSkill[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAgentSkill[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AgentSkillGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AgentSkillWhereInput
|
|
orderBy?: Prisma.AgentSkillOrderByWithAggregationInput | Prisma.AgentSkillOrderByWithAggregationInput[]
|
|
by: Prisma.AgentSkillScalarFieldEnum[] | Prisma.AgentSkillScalarFieldEnum
|
|
having?: Prisma.AgentSkillScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AgentSkillCountAggregateInputType | true
|
|
_min?: AgentSkillMinAggregateInputType
|
|
_max?: AgentSkillMaxAggregateInputType
|
|
}
|
|
|
|
export type AgentSkillGroupByOutputType = {
|
|
id: string
|
|
agentId: string
|
|
skillId: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
_count: AgentSkillCountAggregateOutputType | null
|
|
_min: AgentSkillMinAggregateOutputType | null
|
|
_max: AgentSkillMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAgentSkillGroupByPayload<T extends AgentSkillGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AgentSkillGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AgentSkillGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AgentSkillGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AgentSkillGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AgentSkillWhereInput = {
|
|
AND?: Prisma.AgentSkillWhereInput | Prisma.AgentSkillWhereInput[]
|
|
OR?: Prisma.AgentSkillWhereInput[]
|
|
NOT?: Prisma.AgentSkillWhereInput | Prisma.AgentSkillWhereInput[]
|
|
id?: Prisma.StringFilter<"AgentSkill"> | string
|
|
agentId?: Prisma.StringFilter<"AgentSkill"> | string
|
|
skillId?: Prisma.StringFilter<"AgentSkill"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string
|
|
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>
|
|
skill?: Prisma.XOR<Prisma.SkillScalarRelationFilter, Prisma.SkillWhereInput>
|
|
}
|
|
|
|
export type AgentSkillOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
agentId?: Prisma.SortOrder
|
|
skillId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
agent?: Prisma.AgentOrderByWithRelationInput
|
|
skill?: Prisma.SkillOrderByWithRelationInput
|
|
}
|
|
|
|
export type AgentSkillWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
agentId_skillId?: Prisma.AgentSkillAgentIdSkillIdCompoundUniqueInput
|
|
AND?: Prisma.AgentSkillWhereInput | Prisma.AgentSkillWhereInput[]
|
|
OR?: Prisma.AgentSkillWhereInput[]
|
|
NOT?: Prisma.AgentSkillWhereInput | Prisma.AgentSkillWhereInput[]
|
|
agentId?: Prisma.StringFilter<"AgentSkill"> | string
|
|
skillId?: Prisma.StringFilter<"AgentSkill"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string
|
|
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>
|
|
skill?: Prisma.XOR<Prisma.SkillScalarRelationFilter, Prisma.SkillWhereInput>
|
|
}, "id" | "agentId_skillId">
|
|
|
|
export type AgentSkillOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
agentId?: Prisma.SortOrder
|
|
skillId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_count?: Prisma.AgentSkillCountOrderByAggregateInput
|
|
_max?: Prisma.AgentSkillMaxOrderByAggregateInput
|
|
_min?: Prisma.AgentSkillMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AgentSkillScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AgentSkillScalarWhereWithAggregatesInput | Prisma.AgentSkillScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AgentSkillScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AgentSkillScalarWhereWithAggregatesInput | Prisma.AgentSkillScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AgentSkill"> | string
|
|
agentId?: Prisma.StringWithAggregatesFilter<"AgentSkill"> | string
|
|
skillId?: Prisma.StringWithAggregatesFilter<"AgentSkill"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentSkill"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentSkill"> | Date | string
|
|
}
|
|
|
|
export type AgentSkillCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
agent: Prisma.AgentCreateNestedOneWithoutSkillsInput
|
|
skill: Prisma.SkillCreateNestedOneWithoutAgentSkillsInput
|
|
}
|
|
|
|
export type AgentSkillUncheckedCreateInput = {
|
|
id?: string
|
|
agentId: string
|
|
skillId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type AgentSkillUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
agent?: Prisma.AgentUpdateOneRequiredWithoutSkillsNestedInput
|
|
skill?: Prisma.SkillUpdateOneRequiredWithoutAgentSkillsNestedInput
|
|
}
|
|
|
|
export type AgentSkillUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
skillId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AgentSkillCreateManyInput = {
|
|
id?: string
|
|
agentId: string
|
|
skillId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type AgentSkillUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AgentSkillUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
skillId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AgentSkillListRelationFilter = {
|
|
every?: Prisma.AgentSkillWhereInput
|
|
some?: Prisma.AgentSkillWhereInput
|
|
none?: Prisma.AgentSkillWhereInput
|
|
}
|
|
|
|
export type AgentSkillOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AgentSkillAgentIdSkillIdCompoundUniqueInput = {
|
|
agentId: string
|
|
skillId: string
|
|
}
|
|
|
|
export type AgentSkillCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
agentId?: Prisma.SortOrder
|
|
skillId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AgentSkillMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
agentId?: Prisma.SortOrder
|
|
skillId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AgentSkillMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
agentId?: Prisma.SortOrder
|
|
skillId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AgentSkillCreateNestedManyWithoutSkillInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSkillCreateWithoutSkillInput, Prisma.AgentSkillUncheckedCreateWithoutSkillInput> | Prisma.AgentSkillCreateWithoutSkillInput[] | Prisma.AgentSkillUncheckedCreateWithoutSkillInput[]
|
|
connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutSkillInput | Prisma.AgentSkillCreateOrConnectWithoutSkillInput[]
|
|
createMany?: Prisma.AgentSkillCreateManySkillInputEnvelope
|
|
connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
}
|
|
|
|
export type AgentSkillUncheckedCreateNestedManyWithoutSkillInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSkillCreateWithoutSkillInput, Prisma.AgentSkillUncheckedCreateWithoutSkillInput> | Prisma.AgentSkillCreateWithoutSkillInput[] | Prisma.AgentSkillUncheckedCreateWithoutSkillInput[]
|
|
connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutSkillInput | Prisma.AgentSkillCreateOrConnectWithoutSkillInput[]
|
|
createMany?: Prisma.AgentSkillCreateManySkillInputEnvelope
|
|
connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
}
|
|
|
|
export type AgentSkillUpdateManyWithoutSkillNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSkillCreateWithoutSkillInput, Prisma.AgentSkillUncheckedCreateWithoutSkillInput> | Prisma.AgentSkillCreateWithoutSkillInput[] | Prisma.AgentSkillUncheckedCreateWithoutSkillInput[]
|
|
connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutSkillInput | Prisma.AgentSkillCreateOrConnectWithoutSkillInput[]
|
|
upsert?: Prisma.AgentSkillUpsertWithWhereUniqueWithoutSkillInput | Prisma.AgentSkillUpsertWithWhereUniqueWithoutSkillInput[]
|
|
createMany?: Prisma.AgentSkillCreateManySkillInputEnvelope
|
|
set?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
disconnect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
delete?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
update?: Prisma.AgentSkillUpdateWithWhereUniqueWithoutSkillInput | Prisma.AgentSkillUpdateWithWhereUniqueWithoutSkillInput[]
|
|
updateMany?: Prisma.AgentSkillUpdateManyWithWhereWithoutSkillInput | Prisma.AgentSkillUpdateManyWithWhereWithoutSkillInput[]
|
|
deleteMany?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[]
|
|
}
|
|
|
|
export type AgentSkillUncheckedUpdateManyWithoutSkillNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSkillCreateWithoutSkillInput, Prisma.AgentSkillUncheckedCreateWithoutSkillInput> | Prisma.AgentSkillCreateWithoutSkillInput[] | Prisma.AgentSkillUncheckedCreateWithoutSkillInput[]
|
|
connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutSkillInput | Prisma.AgentSkillCreateOrConnectWithoutSkillInput[]
|
|
upsert?: Prisma.AgentSkillUpsertWithWhereUniqueWithoutSkillInput | Prisma.AgentSkillUpsertWithWhereUniqueWithoutSkillInput[]
|
|
createMany?: Prisma.AgentSkillCreateManySkillInputEnvelope
|
|
set?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
disconnect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
delete?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
update?: Prisma.AgentSkillUpdateWithWhereUniqueWithoutSkillInput | Prisma.AgentSkillUpdateWithWhereUniqueWithoutSkillInput[]
|
|
updateMany?: Prisma.AgentSkillUpdateManyWithWhereWithoutSkillInput | Prisma.AgentSkillUpdateManyWithWhereWithoutSkillInput[]
|
|
deleteMany?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[]
|
|
}
|
|
|
|
export type AgentSkillCreateNestedManyWithoutAgentInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSkillCreateWithoutAgentInput, Prisma.AgentSkillUncheckedCreateWithoutAgentInput> | Prisma.AgentSkillCreateWithoutAgentInput[] | Prisma.AgentSkillUncheckedCreateWithoutAgentInput[]
|
|
connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutAgentInput | Prisma.AgentSkillCreateOrConnectWithoutAgentInput[]
|
|
createMany?: Prisma.AgentSkillCreateManyAgentInputEnvelope
|
|
connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
}
|
|
|
|
export type AgentSkillUncheckedCreateNestedManyWithoutAgentInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSkillCreateWithoutAgentInput, Prisma.AgentSkillUncheckedCreateWithoutAgentInput> | Prisma.AgentSkillCreateWithoutAgentInput[] | Prisma.AgentSkillUncheckedCreateWithoutAgentInput[]
|
|
connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutAgentInput | Prisma.AgentSkillCreateOrConnectWithoutAgentInput[]
|
|
createMany?: Prisma.AgentSkillCreateManyAgentInputEnvelope
|
|
connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
}
|
|
|
|
export type AgentSkillUpdateManyWithoutAgentNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSkillCreateWithoutAgentInput, Prisma.AgentSkillUncheckedCreateWithoutAgentInput> | Prisma.AgentSkillCreateWithoutAgentInput[] | Prisma.AgentSkillUncheckedCreateWithoutAgentInput[]
|
|
connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutAgentInput | Prisma.AgentSkillCreateOrConnectWithoutAgentInput[]
|
|
upsert?: Prisma.AgentSkillUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentSkillUpsertWithWhereUniqueWithoutAgentInput[]
|
|
createMany?: Prisma.AgentSkillCreateManyAgentInputEnvelope
|
|
set?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
disconnect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
delete?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
update?: Prisma.AgentSkillUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentSkillUpdateWithWhereUniqueWithoutAgentInput[]
|
|
updateMany?: Prisma.AgentSkillUpdateManyWithWhereWithoutAgentInput | Prisma.AgentSkillUpdateManyWithWhereWithoutAgentInput[]
|
|
deleteMany?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[]
|
|
}
|
|
|
|
export type AgentSkillUncheckedUpdateManyWithoutAgentNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AgentSkillCreateWithoutAgentInput, Prisma.AgentSkillUncheckedCreateWithoutAgentInput> | Prisma.AgentSkillCreateWithoutAgentInput[] | Prisma.AgentSkillUncheckedCreateWithoutAgentInput[]
|
|
connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutAgentInput | Prisma.AgentSkillCreateOrConnectWithoutAgentInput[]
|
|
upsert?: Prisma.AgentSkillUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentSkillUpsertWithWhereUniqueWithoutAgentInput[]
|
|
createMany?: Prisma.AgentSkillCreateManyAgentInputEnvelope
|
|
set?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
disconnect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
delete?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[]
|
|
update?: Prisma.AgentSkillUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentSkillUpdateWithWhereUniqueWithoutAgentInput[]
|
|
updateMany?: Prisma.AgentSkillUpdateManyWithWhereWithoutAgentInput | Prisma.AgentSkillUpdateManyWithWhereWithoutAgentInput[]
|
|
deleteMany?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[]
|
|
}
|
|
|
|
export type AgentSkillCreateWithoutSkillInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
agent: Prisma.AgentCreateNestedOneWithoutSkillsInput
|
|
}
|
|
|
|
export type AgentSkillUncheckedCreateWithoutSkillInput = {
|
|
id?: string
|
|
agentId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type AgentSkillCreateOrConnectWithoutSkillInput = {
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AgentSkillCreateWithoutSkillInput, Prisma.AgentSkillUncheckedCreateWithoutSkillInput>
|
|
}
|
|
|
|
export type AgentSkillCreateManySkillInputEnvelope = {
|
|
data: Prisma.AgentSkillCreateManySkillInput | Prisma.AgentSkillCreateManySkillInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AgentSkillUpsertWithWhereUniqueWithoutSkillInput = {
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AgentSkillUpdateWithoutSkillInput, Prisma.AgentSkillUncheckedUpdateWithoutSkillInput>
|
|
create: Prisma.XOR<Prisma.AgentSkillCreateWithoutSkillInput, Prisma.AgentSkillUncheckedCreateWithoutSkillInput>
|
|
}
|
|
|
|
export type AgentSkillUpdateWithWhereUniqueWithoutSkillInput = {
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AgentSkillUpdateWithoutSkillInput, Prisma.AgentSkillUncheckedUpdateWithoutSkillInput>
|
|
}
|
|
|
|
export type AgentSkillUpdateManyWithWhereWithoutSkillInput = {
|
|
where: Prisma.AgentSkillScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AgentSkillUpdateManyMutationInput, Prisma.AgentSkillUncheckedUpdateManyWithoutSkillInput>
|
|
}
|
|
|
|
export type AgentSkillScalarWhereInput = {
|
|
AND?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[]
|
|
OR?: Prisma.AgentSkillScalarWhereInput[]
|
|
NOT?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AgentSkill"> | string
|
|
agentId?: Prisma.StringFilter<"AgentSkill"> | string
|
|
skillId?: Prisma.StringFilter<"AgentSkill"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string
|
|
}
|
|
|
|
export type AgentSkillCreateWithoutAgentInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
skill: Prisma.SkillCreateNestedOneWithoutAgentSkillsInput
|
|
}
|
|
|
|
export type AgentSkillUncheckedCreateWithoutAgentInput = {
|
|
id?: string
|
|
skillId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type AgentSkillCreateOrConnectWithoutAgentInput = {
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AgentSkillCreateWithoutAgentInput, Prisma.AgentSkillUncheckedCreateWithoutAgentInput>
|
|
}
|
|
|
|
export type AgentSkillCreateManyAgentInputEnvelope = {
|
|
data: Prisma.AgentSkillCreateManyAgentInput | Prisma.AgentSkillCreateManyAgentInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AgentSkillUpsertWithWhereUniqueWithoutAgentInput = {
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AgentSkillUpdateWithoutAgentInput, Prisma.AgentSkillUncheckedUpdateWithoutAgentInput>
|
|
create: Prisma.XOR<Prisma.AgentSkillCreateWithoutAgentInput, Prisma.AgentSkillUncheckedCreateWithoutAgentInput>
|
|
}
|
|
|
|
export type AgentSkillUpdateWithWhereUniqueWithoutAgentInput = {
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AgentSkillUpdateWithoutAgentInput, Prisma.AgentSkillUncheckedUpdateWithoutAgentInput>
|
|
}
|
|
|
|
export type AgentSkillUpdateManyWithWhereWithoutAgentInput = {
|
|
where: Prisma.AgentSkillScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AgentSkillUpdateManyMutationInput, Prisma.AgentSkillUncheckedUpdateManyWithoutAgentInput>
|
|
}
|
|
|
|
export type AgentSkillCreateManySkillInput = {
|
|
id?: string
|
|
agentId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type AgentSkillUpdateWithoutSkillInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
agent?: Prisma.AgentUpdateOneRequiredWithoutSkillsNestedInput
|
|
}
|
|
|
|
export type AgentSkillUncheckedUpdateWithoutSkillInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AgentSkillUncheckedUpdateManyWithoutSkillInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AgentSkillCreateManyAgentInput = {
|
|
id?: string
|
|
skillId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type AgentSkillUpdateWithoutAgentInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
skill?: Prisma.SkillUpdateOneRequiredWithoutAgentSkillsNestedInput
|
|
}
|
|
|
|
export type AgentSkillUncheckedUpdateWithoutAgentInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
skillId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AgentSkillUncheckedUpdateManyWithoutAgentInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
skillId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
|
|
|
|
export type AgentSkillSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
agentId?: boolean
|
|
skillId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
skill?: boolean | Prisma.SkillDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["agentSkill"]>
|
|
|
|
export type AgentSkillSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
agentId?: boolean
|
|
skillId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
skill?: boolean | Prisma.SkillDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["agentSkill"]>
|
|
|
|
export type AgentSkillSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
agentId?: boolean
|
|
skillId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
skill?: boolean | Prisma.SkillDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["agentSkill"]>
|
|
|
|
export type AgentSkillSelectScalar = {
|
|
id?: boolean
|
|
agentId?: boolean
|
|
skillId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}
|
|
|
|
export type AgentSkillOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "skillId" | "createdAt" | "updatedAt", ExtArgs["result"]["agentSkill"]>
|
|
export type AgentSkillInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
skill?: boolean | Prisma.SkillDefaultArgs<ExtArgs>
|
|
}
|
|
export type AgentSkillIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
skill?: boolean | Prisma.SkillDefaultArgs<ExtArgs>
|
|
}
|
|
export type AgentSkillIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
skill?: boolean | Prisma.SkillDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AgentSkillPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AgentSkill"
|
|
objects: {
|
|
agent: Prisma.$AgentPayload<ExtArgs>
|
|
skill: Prisma.$SkillPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
agentId: string
|
|
skillId: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}, ExtArgs["result"]["agentSkill"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AgentSkillGetPayload<S extends boolean | null | undefined | AgentSkillDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload, S>
|
|
|
|
export type AgentSkillCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AgentSkillFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AgentSkillCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AgentSkillDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AgentSkill'], meta: { name: 'AgentSkill' } }
|
|
/**
|
|
* Find zero or one AgentSkill that matches the filter.
|
|
* @param {AgentSkillFindUniqueArgs} args - Arguments to find a AgentSkill
|
|
* @example
|
|
* // Get one AgentSkill
|
|
* const agentSkill = await prisma.agentSkill.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AgentSkillFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentSkillFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentSkillClient<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AgentSkill that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AgentSkillFindUniqueOrThrowArgs} args - Arguments to find a AgentSkill
|
|
* @example
|
|
* // Get one AgentSkill
|
|
* const agentSkill = await prisma.agentSkill.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AgentSkillFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentSkillFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentSkillClient<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AgentSkill 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 {AgentSkillFindFirstArgs} args - Arguments to find a AgentSkill
|
|
* @example
|
|
* // Get one AgentSkill
|
|
* const agentSkill = await prisma.agentSkill.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AgentSkillFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentSkillFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentSkillClient<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AgentSkill 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 {AgentSkillFindFirstOrThrowArgs} args - Arguments to find a AgentSkill
|
|
* @example
|
|
* // Get one AgentSkill
|
|
* const agentSkill = await prisma.agentSkill.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AgentSkillFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentSkillFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentSkillClient<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AgentSkills 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 {AgentSkillFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AgentSkills
|
|
* const agentSkills = await prisma.agentSkill.findMany()
|
|
*
|
|
* // Get first 10 AgentSkills
|
|
* const agentSkills = await prisma.agentSkill.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const agentSkillWithIdOnly = await prisma.agentSkill.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AgentSkillFindManyArgs>(args?: Prisma.SelectSubset<T, AgentSkillFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AgentSkill.
|
|
* @param {AgentSkillCreateArgs} args - Arguments to create a AgentSkill.
|
|
* @example
|
|
* // Create one AgentSkill
|
|
* const AgentSkill = await prisma.agentSkill.create({
|
|
* data: {
|
|
* // ... data to create a AgentSkill
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AgentSkillCreateArgs>(args: Prisma.SelectSubset<T, AgentSkillCreateArgs<ExtArgs>>): Prisma.Prisma__AgentSkillClient<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AgentSkills.
|
|
* @param {AgentSkillCreateManyArgs} args - Arguments to create many AgentSkills.
|
|
* @example
|
|
* // Create many AgentSkills
|
|
* const agentSkill = await prisma.agentSkill.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AgentSkillCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentSkillCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AgentSkills and returns the data saved in the database.
|
|
* @param {AgentSkillCreateManyAndReturnArgs} args - Arguments to create many AgentSkills.
|
|
* @example
|
|
* // Create many AgentSkills
|
|
* const agentSkill = await prisma.agentSkill.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AgentSkills and only return the `id`
|
|
* const agentSkillWithIdOnly = await prisma.agentSkill.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 AgentSkillCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentSkillCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AgentSkill.
|
|
* @param {AgentSkillDeleteArgs} args - Arguments to delete one AgentSkill.
|
|
* @example
|
|
* // Delete one AgentSkill
|
|
* const AgentSkill = await prisma.agentSkill.delete({
|
|
* where: {
|
|
* // ... filter to delete one AgentSkill
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AgentSkillDeleteArgs>(args: Prisma.SelectSubset<T, AgentSkillDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentSkillClient<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AgentSkill.
|
|
* @param {AgentSkillUpdateArgs} args - Arguments to update one AgentSkill.
|
|
* @example
|
|
* // Update one AgentSkill
|
|
* const agentSkill = await prisma.agentSkill.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AgentSkillUpdateArgs>(args: Prisma.SelectSubset<T, AgentSkillUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentSkillClient<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AgentSkills.
|
|
* @param {AgentSkillDeleteManyArgs} args - Arguments to filter AgentSkills to delete.
|
|
* @example
|
|
* // Delete a few AgentSkills
|
|
* const { count } = await prisma.agentSkill.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AgentSkillDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentSkillDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AgentSkills.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AgentSkillUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AgentSkills
|
|
* const agentSkill = await prisma.agentSkill.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AgentSkillUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentSkillUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AgentSkills and returns the data updated in the database.
|
|
* @param {AgentSkillUpdateManyAndReturnArgs} args - Arguments to update many AgentSkills.
|
|
* @example
|
|
* // Update many AgentSkills
|
|
* const agentSkill = await prisma.agentSkill.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AgentSkills and only return the `id`
|
|
* const agentSkillWithIdOnly = await prisma.agentSkill.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 AgentSkillUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentSkillUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AgentSkill.
|
|
* @param {AgentSkillUpsertArgs} args - Arguments to update or create a AgentSkill.
|
|
* @example
|
|
* // Update or create a AgentSkill
|
|
* const agentSkill = await prisma.agentSkill.upsert({
|
|
* create: {
|
|
* // ... data to create a AgentSkill
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AgentSkill we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AgentSkillUpsertArgs>(args: Prisma.SelectSubset<T, AgentSkillUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentSkillClient<runtime.Types.Result.GetResult<Prisma.$AgentSkillPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AgentSkills.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AgentSkillCountArgs} args - Arguments to filter AgentSkills to count.
|
|
* @example
|
|
* // Count the number of AgentSkills
|
|
* const count = await prisma.agentSkill.count({
|
|
* where: {
|
|
* // ... the filter for the AgentSkills we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AgentSkillCountArgs>(
|
|
args?: Prisma.Subset<T, AgentSkillCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AgentSkillCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AgentSkill.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AgentSkillAggregateArgs} 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 AgentSkillAggregateArgs>(args: Prisma.Subset<T, AgentSkillAggregateArgs>): Prisma.PrismaPromise<GetAgentSkillAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AgentSkill.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AgentSkillGroupByArgs} 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 AgentSkillGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AgentSkillGroupByArgs['orderBy'] }
|
|
: { orderBy?: AgentSkillGroupByArgs['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, AgentSkillGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentSkillGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AgentSkill model
|
|
*/
|
|
readonly fields: AgentSkillFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AgentSkill.
|
|
* 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__AgentSkillClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
agent<T extends Prisma.AgentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentDefaultArgs<ExtArgs>>): Prisma.Prisma__AgentClient<runtime.Types.Result.GetResult<Prisma.$AgentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
skill<T extends Prisma.SkillDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SkillDefaultArgs<ExtArgs>>): Prisma.Prisma__SkillClient<runtime.Types.Result.GetResult<Prisma.$SkillPayload<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 AgentSkill model
|
|
*/
|
|
export interface AgentSkillFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AgentSkill", 'String'>
|
|
readonly agentId: Prisma.FieldRef<"AgentSkill", 'String'>
|
|
readonly skillId: Prisma.FieldRef<"AgentSkill", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AgentSkill", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AgentSkill", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AgentSkill findUnique
|
|
*/
|
|
export type AgentSkillFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AgentSkill to fetch.
|
|
*/
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AgentSkill findUniqueOrThrow
|
|
*/
|
|
export type AgentSkillFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AgentSkill to fetch.
|
|
*/
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AgentSkill findFirst
|
|
*/
|
|
export type AgentSkillFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AgentSkill to fetch.
|
|
*/
|
|
where?: Prisma.AgentSkillWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AgentSkills to fetch.
|
|
*/
|
|
orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AgentSkills.
|
|
*/
|
|
cursor?: Prisma.AgentSkillWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AgentSkills 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` AgentSkills.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AgentSkills.
|
|
*/
|
|
distinct?: Prisma.AgentSkillScalarFieldEnum | Prisma.AgentSkillScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AgentSkill findFirstOrThrow
|
|
*/
|
|
export type AgentSkillFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AgentSkill to fetch.
|
|
*/
|
|
where?: Prisma.AgentSkillWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AgentSkills to fetch.
|
|
*/
|
|
orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AgentSkills.
|
|
*/
|
|
cursor?: Prisma.AgentSkillWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AgentSkills 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` AgentSkills.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AgentSkills.
|
|
*/
|
|
distinct?: Prisma.AgentSkillScalarFieldEnum | Prisma.AgentSkillScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AgentSkill findMany
|
|
*/
|
|
export type AgentSkillFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AgentSkills to fetch.
|
|
*/
|
|
where?: Prisma.AgentSkillWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AgentSkills to fetch.
|
|
*/
|
|
orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AgentSkills.
|
|
*/
|
|
cursor?: Prisma.AgentSkillWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AgentSkills 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` AgentSkills.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AgentSkills.
|
|
*/
|
|
distinct?: Prisma.AgentSkillScalarFieldEnum | Prisma.AgentSkillScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AgentSkill create
|
|
*/
|
|
export type AgentSkillCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AgentSkill.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AgentSkillCreateInput, Prisma.AgentSkillUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AgentSkill createMany
|
|
*/
|
|
export type AgentSkillCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AgentSkills.
|
|
*/
|
|
data: Prisma.AgentSkillCreateManyInput | Prisma.AgentSkillCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AgentSkill createManyAndReturn
|
|
*/
|
|
export type AgentSkillCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AgentSkills.
|
|
*/
|
|
data: Prisma.AgentSkillCreateManyInput | Prisma.AgentSkillCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AgentSkill update
|
|
*/
|
|
export type AgentSkillUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AgentSkill.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AgentSkillUpdateInput, Prisma.AgentSkillUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AgentSkill to update.
|
|
*/
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AgentSkill updateMany
|
|
*/
|
|
export type AgentSkillUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AgentSkills.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AgentSkillUpdateManyMutationInput, Prisma.AgentSkillUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AgentSkills to update
|
|
*/
|
|
where?: Prisma.AgentSkillWhereInput
|
|
/**
|
|
* Limit how many AgentSkills to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AgentSkill updateManyAndReturn
|
|
*/
|
|
export type AgentSkillUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AgentSkills.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AgentSkillUpdateManyMutationInput, Prisma.AgentSkillUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AgentSkills to update
|
|
*/
|
|
where?: Prisma.AgentSkillWhereInput
|
|
/**
|
|
* Limit how many AgentSkills to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AgentSkill upsert
|
|
*/
|
|
export type AgentSkillUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AgentSkill to update in case it exists.
|
|
*/
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
/**
|
|
* In case the AgentSkill found by the `where` argument doesn't exist, create a new AgentSkill with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AgentSkillCreateInput, Prisma.AgentSkillUncheckedCreateInput>
|
|
/**
|
|
* In case the AgentSkill was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AgentSkillUpdateInput, Prisma.AgentSkillUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AgentSkill delete
|
|
*/
|
|
export type AgentSkillDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AgentSkill to delete.
|
|
*/
|
|
where: Prisma.AgentSkillWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AgentSkill deleteMany
|
|
*/
|
|
export type AgentSkillDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AgentSkills to delete
|
|
*/
|
|
where?: Prisma.AgentSkillWhereInput
|
|
/**
|
|
* Limit how many AgentSkills to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AgentSkill without action
|
|
*/
|
|
export type AgentSkillDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AgentSkill
|
|
*/
|
|
select?: Prisma.AgentSkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AgentSkill
|
|
*/
|
|
omit?: Prisma.AgentSkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentSkillInclude<ExtArgs> | null
|
|
}
|