/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Skill` 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 Skill * */ export type SkillModel = runtime.Types.Result.DefaultSelection export type AggregateSkill = { _count: SkillCountAggregateOutputType | null _min: SkillMinAggregateOutputType | null _max: SkillMaxAggregateOutputType | null } export type SkillMinAggregateOutputType = { id: string | null name: string | null description: string | null assetId: string | null hash: string | null createdAt: Date | null updatedAt: Date | null teamId: string | null } export type SkillMaxAggregateOutputType = { id: string | null name: string | null description: string | null assetId: string | null hash: string | null createdAt: Date | null updatedAt: Date | null teamId: string | null } export type SkillCountAggregateOutputType = { id: number name: number description: number config:PrismaJson.SkillConfig assetId: number hash: number createdAt: number updatedAt: number teamId: number _all: number } export type SkillMinAggregateInputType = { id?: true name?: true description?: true assetId?: true hash?: true createdAt?: true updatedAt?: true teamId?: true } export type SkillMaxAggregateInputType = { id?: true name?: true description?: true assetId?: true hash?: true createdAt?: true updatedAt?: true teamId?: true } export type SkillCountAggregateInputType = { id?: true name?: true description?: true config?: true assetId?: true hash?: true createdAt?: true updatedAt?: true teamId?: true _all?: true } export type SkillAggregateArgs = { /** * Filter which Skill to aggregate. */ where?: Prisma.SkillWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Skills to fetch. */ orderBy?: Prisma.SkillOrderByWithRelationInput | Prisma.SkillOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.SkillWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Skills 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` Skills. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Skills **/ _count?: true | SkillCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SkillMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SkillMaxAggregateInputType } export type GetSkillAggregateType = { [P in keyof T & keyof AggregateSkill]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type SkillGroupByArgs = { where?: Prisma.SkillWhereInput orderBy?: Prisma.SkillOrderByWithAggregationInput | Prisma.SkillOrderByWithAggregationInput[] by: Prisma.SkillScalarFieldEnum[] | Prisma.SkillScalarFieldEnum having?: Prisma.SkillScalarWhereWithAggregatesInput take?: number skip?: number _count?: SkillCountAggregateInputType | true _min?: SkillMinAggregateInputType _max?: SkillMaxAggregateInputType } export type SkillGroupByOutputType = { id: string name: string description: string | null config:PrismaJson.SkillConfig | null assetId: string hash: string createdAt: Date updatedAt: Date teamId: string _count: SkillCountAggregateOutputType | null _min: SkillMinAggregateOutputType | null _max: SkillMaxAggregateOutputType | null } export type GetSkillGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SkillGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type SkillWhereInput = { AND?: Prisma.SkillWhereInput | Prisma.SkillWhereInput[] OR?: Prisma.SkillWhereInput[] NOT?: Prisma.SkillWhereInput | Prisma.SkillWhereInput[] id?: Prisma.StringFilter<"Skill"> | string name?: Prisma.StringFilter<"Skill"> | string description?: Prisma.StringNullableFilter<"Skill"> | string | null config?: Prisma.JsonNullableFilter<"Skill"> assetId?: Prisma.StringFilter<"Skill"> | string hash?: Prisma.StringFilter<"Skill"> | string createdAt?: Prisma.DateTimeFilter<"Skill"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Skill"> | Date | string teamId?: Prisma.StringFilter<"Skill"> | string team?: Prisma.XOR agentSkills?: Prisma.AgentSkillListRelationFilter } export type SkillOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder config?: Prisma.SortOrderInput | Prisma.SortOrder assetId?: Prisma.SortOrder hash?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder team?: Prisma.TeamOrderByWithRelationInput agentSkills?: Prisma.AgentSkillOrderByRelationAggregateInput } export type SkillWhereUniqueInput = Prisma.AtLeast<{ id?: string teamId_name?: Prisma.SkillTeamIdNameCompoundUniqueInput AND?: Prisma.SkillWhereInput | Prisma.SkillWhereInput[] OR?: Prisma.SkillWhereInput[] NOT?: Prisma.SkillWhereInput | Prisma.SkillWhereInput[] name?: Prisma.StringFilter<"Skill"> | string description?: Prisma.StringNullableFilter<"Skill"> | string | null config?: Prisma.JsonNullableFilter<"Skill"> assetId?: Prisma.StringFilter<"Skill"> | string hash?: Prisma.StringFilter<"Skill"> | string createdAt?: Prisma.DateTimeFilter<"Skill"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Skill"> | Date | string teamId?: Prisma.StringFilter<"Skill"> | string team?: Prisma.XOR agentSkills?: Prisma.AgentSkillListRelationFilter }, "id" | "teamId_name"> export type SkillOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder config?: Prisma.SortOrderInput | Prisma.SortOrder assetId?: Prisma.SortOrder hash?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder _count?: Prisma.SkillCountOrderByAggregateInput _max?: Prisma.SkillMaxOrderByAggregateInput _min?: Prisma.SkillMinOrderByAggregateInput } export type SkillScalarWhereWithAggregatesInput = { AND?: Prisma.SkillScalarWhereWithAggregatesInput | Prisma.SkillScalarWhereWithAggregatesInput[] OR?: Prisma.SkillScalarWhereWithAggregatesInput[] NOT?: Prisma.SkillScalarWhereWithAggregatesInput | Prisma.SkillScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Skill"> | string name?: Prisma.StringWithAggregatesFilter<"Skill"> | string description?: Prisma.StringNullableWithAggregatesFilter<"Skill"> | string | null config?: Prisma.JsonNullableWithAggregatesFilter<"Skill"> assetId?: Prisma.StringWithAggregatesFilter<"Skill"> | string hash?: Prisma.StringWithAggregatesFilter<"Skill"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"Skill"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Skill"> | Date | string teamId?: Prisma.StringWithAggregatesFilter<"Skill"> | string } export type SkillCreateInput = { id?: string name: string description?: string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId: string hash: string createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutSkillsInput agentSkills?: Prisma.AgentSkillCreateNestedManyWithoutSkillInput } export type SkillUncheckedCreateInput = { id?: string name: string description?: string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId: string hash: string createdAt?: Date | string updatedAt?: Date | string teamId: string agentSkills?: Prisma.AgentSkillUncheckedCreateNestedManyWithoutSkillInput } export type SkillUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId?: Prisma.StringFieldUpdateOperationsInput | string hash?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutSkillsNestedInput agentSkills?: Prisma.AgentSkillUpdateManyWithoutSkillNestedInput } export type SkillUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId?: Prisma.StringFieldUpdateOperationsInput | string hash?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string agentSkills?: Prisma.AgentSkillUncheckedUpdateManyWithoutSkillNestedInput } export type SkillCreateManyInput = { id?: string name: string description?: string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId: string hash: string createdAt?: Date | string updatedAt?: Date | string teamId: string } export type SkillUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId?: Prisma.StringFieldUpdateOperationsInput | string hash?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SkillUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId?: Prisma.StringFieldUpdateOperationsInput | string hash?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string } export type SkillListRelationFilter = { every?: Prisma.SkillWhereInput some?: Prisma.SkillWhereInput none?: Prisma.SkillWhereInput } export type SkillOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type SkillTeamIdNameCompoundUniqueInput = { teamId: string name: string } export type SkillCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder config?: Prisma.SortOrder assetId?: Prisma.SortOrder hash?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder } export type SkillMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder assetId?: Prisma.SortOrder hash?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder } export type SkillMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder assetId?: Prisma.SortOrder hash?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder } export type SkillScalarRelationFilter = { is?: Prisma.SkillWhereInput isNot?: Prisma.SkillWhereInput } export type SkillCreateNestedManyWithoutTeamInput = { create?: Prisma.XOR | Prisma.SkillCreateWithoutTeamInput[] | Prisma.SkillUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.SkillCreateOrConnectWithoutTeamInput | Prisma.SkillCreateOrConnectWithoutTeamInput[] createMany?: Prisma.SkillCreateManyTeamInputEnvelope connect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] } export type SkillUncheckedCreateNestedManyWithoutTeamInput = { create?: Prisma.XOR | Prisma.SkillCreateWithoutTeamInput[] | Prisma.SkillUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.SkillCreateOrConnectWithoutTeamInput | Prisma.SkillCreateOrConnectWithoutTeamInput[] createMany?: Prisma.SkillCreateManyTeamInputEnvelope connect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] } export type SkillUpdateManyWithoutTeamNestedInput = { create?: Prisma.XOR | Prisma.SkillCreateWithoutTeamInput[] | Prisma.SkillUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.SkillCreateOrConnectWithoutTeamInput | Prisma.SkillCreateOrConnectWithoutTeamInput[] upsert?: Prisma.SkillUpsertWithWhereUniqueWithoutTeamInput | Prisma.SkillUpsertWithWhereUniqueWithoutTeamInput[] createMany?: Prisma.SkillCreateManyTeamInputEnvelope set?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] disconnect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] delete?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] connect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] update?: Prisma.SkillUpdateWithWhereUniqueWithoutTeamInput | Prisma.SkillUpdateWithWhereUniqueWithoutTeamInput[] updateMany?: Prisma.SkillUpdateManyWithWhereWithoutTeamInput | Prisma.SkillUpdateManyWithWhereWithoutTeamInput[] deleteMany?: Prisma.SkillScalarWhereInput | Prisma.SkillScalarWhereInput[] } export type SkillUncheckedUpdateManyWithoutTeamNestedInput = { create?: Prisma.XOR | Prisma.SkillCreateWithoutTeamInput[] | Prisma.SkillUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.SkillCreateOrConnectWithoutTeamInput | Prisma.SkillCreateOrConnectWithoutTeamInput[] upsert?: Prisma.SkillUpsertWithWhereUniqueWithoutTeamInput | Prisma.SkillUpsertWithWhereUniqueWithoutTeamInput[] createMany?: Prisma.SkillCreateManyTeamInputEnvelope set?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] disconnect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] delete?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] connect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] update?: Prisma.SkillUpdateWithWhereUniqueWithoutTeamInput | Prisma.SkillUpdateWithWhereUniqueWithoutTeamInput[] updateMany?: Prisma.SkillUpdateManyWithWhereWithoutTeamInput | Prisma.SkillUpdateManyWithWhereWithoutTeamInput[] deleteMany?: Prisma.SkillScalarWhereInput | Prisma.SkillScalarWhereInput[] } export type SkillCreateNestedOneWithoutAgentSkillsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SkillCreateOrConnectWithoutAgentSkillsInput connect?: Prisma.SkillWhereUniqueInput } export type SkillUpdateOneRequiredWithoutAgentSkillsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SkillCreateOrConnectWithoutAgentSkillsInput upsert?: Prisma.SkillUpsertWithoutAgentSkillsInput connect?: Prisma.SkillWhereUniqueInput update?: Prisma.XOR, Prisma.SkillUncheckedUpdateWithoutAgentSkillsInput> } export type SkillCreateWithoutTeamInput = { id?: string name: string description?: string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId: string hash: string createdAt?: Date | string updatedAt?: Date | string agentSkills?: Prisma.AgentSkillCreateNestedManyWithoutSkillInput } export type SkillUncheckedCreateWithoutTeamInput = { id?: string name: string description?: string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId: string hash: string createdAt?: Date | string updatedAt?: Date | string agentSkills?: Prisma.AgentSkillUncheckedCreateNestedManyWithoutSkillInput } export type SkillCreateOrConnectWithoutTeamInput = { where: Prisma.SkillWhereUniqueInput create: Prisma.XOR } export type SkillCreateManyTeamInputEnvelope = { data: Prisma.SkillCreateManyTeamInput | Prisma.SkillCreateManyTeamInput[] skipDuplicates?: boolean } export type SkillUpsertWithWhereUniqueWithoutTeamInput = { where: Prisma.SkillWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type SkillUpdateWithWhereUniqueWithoutTeamInput = { where: Prisma.SkillWhereUniqueInput data: Prisma.XOR } export type SkillUpdateManyWithWhereWithoutTeamInput = { where: Prisma.SkillScalarWhereInput data: Prisma.XOR } export type SkillScalarWhereInput = { AND?: Prisma.SkillScalarWhereInput | Prisma.SkillScalarWhereInput[] OR?: Prisma.SkillScalarWhereInput[] NOT?: Prisma.SkillScalarWhereInput | Prisma.SkillScalarWhereInput[] id?: Prisma.StringFilter<"Skill"> | string name?: Prisma.StringFilter<"Skill"> | string description?: Prisma.StringNullableFilter<"Skill"> | string | null config?: Prisma.JsonNullableFilter<"Skill"> assetId?: Prisma.StringFilter<"Skill"> | string hash?: Prisma.StringFilter<"Skill"> | string createdAt?: Prisma.DateTimeFilter<"Skill"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Skill"> | Date | string teamId?: Prisma.StringFilter<"Skill"> | string } export type SkillCreateWithoutAgentSkillsInput = { id?: string name: string description?: string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId: string hash: string createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutSkillsInput } export type SkillUncheckedCreateWithoutAgentSkillsInput = { id?: string name: string description?: string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId: string hash: string createdAt?: Date | string updatedAt?: Date | string teamId: string } export type SkillCreateOrConnectWithoutAgentSkillsInput = { where: Prisma.SkillWhereUniqueInput create: Prisma.XOR } export type SkillUpsertWithoutAgentSkillsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.SkillWhereInput } export type SkillUpdateToOneWithWhereWithoutAgentSkillsInput = { where?: Prisma.SkillWhereInput data: Prisma.XOR } export type SkillUpdateWithoutAgentSkillsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId?: Prisma.StringFieldUpdateOperationsInput | string hash?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutSkillsNestedInput } export type SkillUncheckedUpdateWithoutAgentSkillsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId?: Prisma.StringFieldUpdateOperationsInput | string hash?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string } export type SkillCreateManyTeamInput = { id?: string name: string description?: string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId: string hash: string createdAt?: Date | string updatedAt?: Date | string } export type SkillUpdateWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId?: Prisma.StringFieldUpdateOperationsInput | string hash?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string agentSkills?: Prisma.AgentSkillUpdateManyWithoutSkillNestedInput } export type SkillUncheckedUpdateWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId?: Prisma.StringFieldUpdateOperationsInput | string hash?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string agentSkills?: Prisma.AgentSkillUncheckedUpdateManyWithoutSkillNestedInput } export type SkillUncheckedUpdateManyWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput assetId?: Prisma.StringFieldUpdateOperationsInput | string hash?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } /** * Count Type SkillCountOutputType */ export type SkillCountOutputType = { agentSkills: number } export type SkillCountOutputTypeSelect = { agentSkills?: boolean | SkillCountOutputTypeCountAgentSkillsArgs } /** * SkillCountOutputType without action */ export type SkillCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the SkillCountOutputType */ select?: Prisma.SkillCountOutputTypeSelect | null } /** * SkillCountOutputType without action */ export type SkillCountOutputTypeCountAgentSkillsArgs = { where?: Prisma.AgentSkillWhereInput } export type SkillSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean config?: boolean assetId?: boolean hash?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean team?: boolean | Prisma.TeamDefaultArgs agentSkills?: boolean | Prisma.Skill$agentSkillsArgs _count?: boolean | Prisma.SkillCountOutputTypeDefaultArgs }, ExtArgs["result"]["skill"]> export type SkillSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean config?: boolean assetId?: boolean hash?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean team?: boolean | Prisma.TeamDefaultArgs }, ExtArgs["result"]["skill"]> export type SkillSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean config?: boolean assetId?: boolean hash?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean team?: boolean | Prisma.TeamDefaultArgs }, ExtArgs["result"]["skill"]> export type SkillSelectScalar = { id?: boolean name?: boolean description?: boolean config?: boolean assetId?: boolean hash?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean } export type SkillOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "config" | "assetId" | "hash" | "createdAt" | "updatedAt" | "teamId", ExtArgs["result"]["skill"]> export type SkillInclude = { team?: boolean | Prisma.TeamDefaultArgs agentSkills?: boolean | Prisma.Skill$agentSkillsArgs _count?: boolean | Prisma.SkillCountOutputTypeDefaultArgs } export type SkillIncludeCreateManyAndReturn = { team?: boolean | Prisma.TeamDefaultArgs } export type SkillIncludeUpdateManyAndReturn = { team?: boolean | Prisma.TeamDefaultArgs } export type $SkillPayload = { name: "Skill" objects: { team: Prisma.$TeamPayload agentSkills: Prisma.$AgentSkillPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string name: string description: string | null /** * [SkillConfig] */ config:PrismaJson.SkillConfig | null assetId: string hash: string createdAt: Date updatedAt: Date teamId: string }, ExtArgs["result"]["skill"]> composites: {} } export type SkillGetPayload = runtime.Types.Result.GetResult export type SkillCountArgs = Omit & { select?: SkillCountAggregateInputType | true } export interface SkillDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Skill'], meta: { name: 'Skill' } } /** * Find zero or one Skill that matches the filter. * @param {SkillFindUniqueArgs} args - Arguments to find a Skill * @example * // Get one Skill * const skill = await prisma.skill.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Skill that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SkillFindUniqueOrThrowArgs} args - Arguments to find a Skill * @example * // Get one Skill * const skill = await prisma.skill.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Skill 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 {SkillFindFirstArgs} args - Arguments to find a Skill * @example * // Get one Skill * const skill = await prisma.skill.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Skill 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 {SkillFindFirstOrThrowArgs} args - Arguments to find a Skill * @example * // Get one Skill * const skill = await prisma.skill.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Skills 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 {SkillFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Skills * const skills = await prisma.skill.findMany() * * // Get first 10 Skills * const skills = await prisma.skill.findMany({ take: 10 }) * * // Only select the `id` * const skillWithIdOnly = await prisma.skill.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Skill. * @param {SkillCreateArgs} args - Arguments to create a Skill. * @example * // Create one Skill * const Skill = await prisma.skill.create({ * data: { * // ... data to create a Skill * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Skills. * @param {SkillCreateManyArgs} args - Arguments to create many Skills. * @example * // Create many Skills * const skill = await prisma.skill.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Skills and returns the data saved in the database. * @param {SkillCreateManyAndReturnArgs} args - Arguments to create many Skills. * @example * // Create many Skills * const skill = await prisma.skill.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Skills and only return the `id` * const skillWithIdOnly = await prisma.skill.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Skill. * @param {SkillDeleteArgs} args - Arguments to delete one Skill. * @example * // Delete one Skill * const Skill = await prisma.skill.delete({ * where: { * // ... filter to delete one Skill * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Skill. * @param {SkillUpdateArgs} args - Arguments to update one Skill. * @example * // Update one Skill * const skill = await prisma.skill.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Skills. * @param {SkillDeleteManyArgs} args - Arguments to filter Skills to delete. * @example * // Delete a few Skills * const { count } = await prisma.skill.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Skills. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SkillUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Skills * const skill = await prisma.skill.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Skills and returns the data updated in the database. * @param {SkillUpdateManyAndReturnArgs} args - Arguments to update many Skills. * @example * // Update many Skills * const skill = await prisma.skill.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Skills and only return the `id` * const skillWithIdOnly = await prisma.skill.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Skill. * @param {SkillUpsertArgs} args - Arguments to update or create a Skill. * @example * // Update or create a Skill * const skill = await prisma.skill.upsert({ * create: { * // ... data to create a Skill * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Skill we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Skills. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SkillCountArgs} args - Arguments to filter Skills to count. * @example * // Count the number of Skills * const count = await prisma.skill.count({ * where: { * // ... the filter for the Skills we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a Skill. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SkillAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by Skill. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SkillGroupByArgs} 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 SkillGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: SkillGroupByArgs['orderBy'] } : { orderBy?: SkillGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetSkillGroupByPayload : Prisma.PrismaPromise /** * Fields of the Skill model */ readonly fields: SkillFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Skill. * 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__SkillClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> agentSkills = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the Skill model */ export interface SkillFieldRefs { readonly id: Prisma.FieldRef<"Skill", 'String'> readonly name: Prisma.FieldRef<"Skill", 'String'> readonly description: Prisma.FieldRef<"Skill", 'String'> readonly config: Prisma.FieldRef<"Skill", 'Json'> readonly assetId: Prisma.FieldRef<"Skill", 'String'> readonly hash: Prisma.FieldRef<"Skill", 'String'> readonly createdAt: Prisma.FieldRef<"Skill", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Skill", 'DateTime'> readonly teamId: Prisma.FieldRef<"Skill", 'String'> } // Custom InputTypes /** * Skill findUnique */ export type SkillFindUniqueArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelect | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillInclude | null /** * Filter, which Skill to fetch. */ where: Prisma.SkillWhereUniqueInput } /** * Skill findUniqueOrThrow */ export type SkillFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelect | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillInclude | null /** * Filter, which Skill to fetch. */ where: Prisma.SkillWhereUniqueInput } /** * Skill findFirst */ export type SkillFindFirstArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelect | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillInclude | null /** * Filter, which Skill to fetch. */ where?: Prisma.SkillWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Skills to fetch. */ orderBy?: Prisma.SkillOrderByWithRelationInput | Prisma.SkillOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Skills. */ cursor?: Prisma.SkillWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Skills 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` Skills. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Skills. */ distinct?: Prisma.SkillScalarFieldEnum | Prisma.SkillScalarFieldEnum[] } /** * Skill findFirstOrThrow */ export type SkillFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelect | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillInclude | null /** * Filter, which Skill to fetch. */ where?: Prisma.SkillWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Skills to fetch. */ orderBy?: Prisma.SkillOrderByWithRelationInput | Prisma.SkillOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Skills. */ cursor?: Prisma.SkillWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Skills 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` Skills. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Skills. */ distinct?: Prisma.SkillScalarFieldEnum | Prisma.SkillScalarFieldEnum[] } /** * Skill findMany */ export type SkillFindManyArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelect | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillInclude | null /** * Filter, which Skills to fetch. */ where?: Prisma.SkillWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Skills to fetch. */ orderBy?: Prisma.SkillOrderByWithRelationInput | Prisma.SkillOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Skills. */ cursor?: Prisma.SkillWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Skills 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` Skills. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Skills. */ distinct?: Prisma.SkillScalarFieldEnum | Prisma.SkillScalarFieldEnum[] } /** * Skill create */ export type SkillCreateArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelect | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillInclude | null /** * The data needed to create a Skill. */ data: Prisma.XOR } /** * Skill createMany */ export type SkillCreateManyArgs = { /** * The data used to create many Skills. */ data: Prisma.SkillCreateManyInput | Prisma.SkillCreateManyInput[] skipDuplicates?: boolean } /** * Skill createManyAndReturn */ export type SkillCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelectCreateManyAndReturn | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * The data used to create many Skills. */ data: Prisma.SkillCreateManyInput | Prisma.SkillCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillIncludeCreateManyAndReturn | null } /** * Skill update */ export type SkillUpdateArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelect | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillInclude | null /** * The data needed to update a Skill. */ data: Prisma.XOR /** * Choose, which Skill to update. */ where: Prisma.SkillWhereUniqueInput } /** * Skill updateMany */ export type SkillUpdateManyArgs = { /** * The data used to update Skills. */ data: Prisma.XOR /** * Filter which Skills to update */ where?: Prisma.SkillWhereInput /** * Limit how many Skills to update. */ limit?: number } /** * Skill updateManyAndReturn */ export type SkillUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelectUpdateManyAndReturn | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * The data used to update Skills. */ data: Prisma.XOR /** * Filter which Skills to update */ where?: Prisma.SkillWhereInput /** * Limit how many Skills to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillIncludeUpdateManyAndReturn | null } /** * Skill upsert */ export type SkillUpsertArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelect | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillInclude | null /** * The filter to search for the Skill to update in case it exists. */ where: Prisma.SkillWhereUniqueInput /** * In case the Skill found by the `where` argument doesn't exist, create a new Skill with this data. */ create: Prisma.XOR /** * In case the Skill was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Skill delete */ export type SkillDeleteArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelect | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillInclude | null /** * Filter which Skill to delete. */ where: Prisma.SkillWhereUniqueInput } /** * Skill deleteMany */ export type SkillDeleteManyArgs = { /** * Filter which Skills to delete */ where?: Prisma.SkillWhereInput /** * Limit how many Skills to delete. */ limit?: number } /** * Skill.agentSkills */ export type Skill$agentSkillsArgs = { /** * Select specific fields to fetch from the AgentSkill */ select?: Prisma.AgentSkillSelect | null /** * Omit specific fields from the AgentSkill */ omit?: Prisma.AgentSkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AgentSkillInclude | null where?: Prisma.AgentSkillWhereInput orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[] cursor?: Prisma.AgentSkillWhereUniqueInput take?: number skip?: number distinct?: Prisma.AgentSkillScalarFieldEnum | Prisma.AgentSkillScalarFieldEnum[] } /** * Skill without action */ export type SkillDefaultArgs = { /** * Select specific fields to fetch from the Skill */ select?: Prisma.SkillSelect | null /** * Omit specific fields from the Skill */ omit?: Prisma.SkillOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SkillInclude | null }