/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Provider` 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 Provider * */ export type ProviderModel = runtime.Types.Result.DefaultSelection export type AggregateProvider = { _count: ProviderCountAggregateOutputType | null _min: ProviderMinAggregateOutputType | null _max: ProviderMaxAggregateOutputType | null } export type ProviderMinAggregateOutputType = { id: string | null name: string | null isBuiltin: boolean | null createdAt: Date | null updatedAt: Date | null teamId: string | null } export type ProviderMaxAggregateOutputType = { id: string | null name: string | null isBuiltin: boolean | null createdAt: Date | null updatedAt: Date | null teamId: string | null } export type ProviderCountAggregateOutputType = { id: number name: number isBuiltin: number config:PrismaJson.ProviderConfig createdAt: number updatedAt: number teamId: number _all: number } export type ProviderMinAggregateInputType = { id?: true name?: true isBuiltin?: true createdAt?: true updatedAt?: true teamId?: true } export type ProviderMaxAggregateInputType = { id?: true name?: true isBuiltin?: true createdAt?: true updatedAt?: true teamId?: true } export type ProviderCountAggregateInputType = { id?: true name?: true isBuiltin?: true config?: true createdAt?: true updatedAt?: true teamId?: true _all?: true } export type ProviderAggregateArgs = { /** * Filter which Provider to aggregate. */ where?: Prisma.ProviderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Providers to fetch. */ orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ProviderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Providers 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` Providers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Providers **/ _count?: true | ProviderCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProviderMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProviderMaxAggregateInputType } export type GetProviderAggregateType = { [P in keyof T & keyof AggregateProvider]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ProviderGroupByArgs = { where?: Prisma.ProviderWhereInput orderBy?: Prisma.ProviderOrderByWithAggregationInput | Prisma.ProviderOrderByWithAggregationInput[] by: Prisma.ProviderScalarFieldEnum[] | Prisma.ProviderScalarFieldEnum having?: Prisma.ProviderScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProviderCountAggregateInputType | true _min?: ProviderMinAggregateInputType _max?: ProviderMaxAggregateInputType } export type ProviderGroupByOutputType = { id: string name: string isBuiltin: boolean config:PrismaJson.ProviderConfig createdAt: Date updatedAt: Date teamId: string _count: ProviderCountAggregateOutputType | null _min: ProviderMinAggregateOutputType | null _max: ProviderMaxAggregateOutputType | null } export type GetProviderGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ProviderGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ProviderWhereInput = { AND?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[] OR?: Prisma.ProviderWhereInput[] NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[] id?: Prisma.StringFilter<"Provider"> | string name?: Prisma.StringFilter<"Provider"> | string isBuiltin?: Prisma.BoolFilter<"Provider"> | boolean config?: Prisma.JsonFilter<"Provider"> createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string teamId?: Prisma.StringFilter<"Provider"> | string team?: Prisma.XOR models?: Prisma.ModelListRelationFilter agents?: Prisma.AgentListRelationFilter } export type ProviderOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder isBuiltin?: Prisma.SortOrder config?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder team?: Prisma.TeamOrderByWithRelationInput models?: Prisma.ModelOrderByRelationAggregateInput agents?: Prisma.AgentOrderByRelationAggregateInput } export type ProviderWhereUniqueInput = Prisma.AtLeast<{ id?: string teamId_name?: Prisma.ProviderTeamIdNameCompoundUniqueInput AND?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[] OR?: Prisma.ProviderWhereInput[] NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[] name?: Prisma.StringFilter<"Provider"> | string isBuiltin?: Prisma.BoolFilter<"Provider"> | boolean config?: Prisma.JsonFilter<"Provider"> createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string teamId?: Prisma.StringFilter<"Provider"> | string team?: Prisma.XOR models?: Prisma.ModelListRelationFilter agents?: Prisma.AgentListRelationFilter }, "id" | "teamId_name"> export type ProviderOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder isBuiltin?: Prisma.SortOrder config?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder _count?: Prisma.ProviderCountOrderByAggregateInput _max?: Prisma.ProviderMaxOrderByAggregateInput _min?: Prisma.ProviderMinOrderByAggregateInput } export type ProviderScalarWhereWithAggregatesInput = { AND?: Prisma.ProviderScalarWhereWithAggregatesInput | Prisma.ProviderScalarWhereWithAggregatesInput[] OR?: Prisma.ProviderScalarWhereWithAggregatesInput[] NOT?: Prisma.ProviderScalarWhereWithAggregatesInput | Prisma.ProviderScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Provider"> | string name?: Prisma.StringWithAggregatesFilter<"Provider"> | string isBuiltin?: Prisma.BoolWithAggregatesFilter<"Provider"> | boolean config?: Prisma.JsonWithAggregatesFilter<"Provider"> createdAt?: Prisma.DateTimeWithAggregatesFilter<"Provider"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Provider"> | Date | string teamId?: Prisma.StringWithAggregatesFilter<"Provider"> | string } export type ProviderCreateInput = { id?: string name: string isBuiltin?: boolean config:PrismaJson.ProviderConfig createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutProvidersInput models?: Prisma.ModelCreateNestedManyWithoutProviderInput agents?: Prisma.AgentCreateNestedManyWithoutProviderInput } export type ProviderUncheckedCreateInput = { id?: string name: string isBuiltin?: boolean config:PrismaJson.ProviderConfig createdAt?: Date | string updatedAt?: Date | string teamId: string models?: Prisma.ModelUncheckedCreateNestedManyWithoutProviderInput agents?: Prisma.AgentUncheckedCreateNestedManyWithoutProviderInput } export type ProviderUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutProvidersNestedInput models?: Prisma.ModelUpdateManyWithoutProviderNestedInput agents?: Prisma.AgentUpdateManyWithoutProviderNestedInput } export type ProviderUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string models?: Prisma.ModelUncheckedUpdateManyWithoutProviderNestedInput agents?: Prisma.AgentUncheckedUpdateManyWithoutProviderNestedInput } export type ProviderCreateManyInput = { id?: string name: string isBuiltin?: boolean config:PrismaJson.ProviderConfig createdAt?: Date | string updatedAt?: Date | string teamId: string } export type ProviderUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ProviderUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string } export type ProviderListRelationFilter = { every?: Prisma.ProviderWhereInput some?: Prisma.ProviderWhereInput none?: Prisma.ProviderWhereInput } export type ProviderOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type ProviderNullableScalarRelationFilter = { is?: Prisma.ProviderWhereInput | null isNot?: Prisma.ProviderWhereInput | null } export type ProviderScalarRelationFilter = { is?: Prisma.ProviderWhereInput isNot?: Prisma.ProviderWhereInput } export type ProviderTeamIdNameCompoundUniqueInput = { teamId: string name: string } export type ProviderCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder isBuiltin?: Prisma.SortOrder config?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder } export type ProviderMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder isBuiltin?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder } export type ProviderMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder isBuiltin?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder teamId?: Prisma.SortOrder } export type ProviderCreateNestedManyWithoutTeamInput = { create?: Prisma.XOR | Prisma.ProviderCreateWithoutTeamInput[] | Prisma.ProviderUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutTeamInput | Prisma.ProviderCreateOrConnectWithoutTeamInput[] createMany?: Prisma.ProviderCreateManyTeamInputEnvelope connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] } export type ProviderUncheckedCreateNestedManyWithoutTeamInput = { create?: Prisma.XOR | Prisma.ProviderCreateWithoutTeamInput[] | Prisma.ProviderUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutTeamInput | Prisma.ProviderCreateOrConnectWithoutTeamInput[] createMany?: Prisma.ProviderCreateManyTeamInputEnvelope connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] } export type ProviderUpdateManyWithoutTeamNestedInput = { create?: Prisma.XOR | Prisma.ProviderCreateWithoutTeamInput[] | Prisma.ProviderUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutTeamInput | Prisma.ProviderCreateOrConnectWithoutTeamInput[] upsert?: Prisma.ProviderUpsertWithWhereUniqueWithoutTeamInput | Prisma.ProviderUpsertWithWhereUniqueWithoutTeamInput[] createMany?: Prisma.ProviderCreateManyTeamInputEnvelope set?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] disconnect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] delete?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] update?: Prisma.ProviderUpdateWithWhereUniqueWithoutTeamInput | Prisma.ProviderUpdateWithWhereUniqueWithoutTeamInput[] updateMany?: Prisma.ProviderUpdateManyWithWhereWithoutTeamInput | Prisma.ProviderUpdateManyWithWhereWithoutTeamInput[] deleteMany?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[] } export type ProviderUncheckedUpdateManyWithoutTeamNestedInput = { create?: Prisma.XOR | Prisma.ProviderCreateWithoutTeamInput[] | Prisma.ProviderUncheckedCreateWithoutTeamInput[] connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutTeamInput | Prisma.ProviderCreateOrConnectWithoutTeamInput[] upsert?: Prisma.ProviderUpsertWithWhereUniqueWithoutTeamInput | Prisma.ProviderUpsertWithWhereUniqueWithoutTeamInput[] createMany?: Prisma.ProviderCreateManyTeamInputEnvelope set?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] disconnect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] delete?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] update?: Prisma.ProviderUpdateWithWhereUniqueWithoutTeamInput | Prisma.ProviderUpdateWithWhereUniqueWithoutTeamInput[] updateMany?: Prisma.ProviderUpdateManyWithWhereWithoutTeamInput | Prisma.ProviderUpdateManyWithWhereWithoutTeamInput[] deleteMany?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[] } export type ProviderCreateNestedOneWithoutAgentsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutAgentsInput connect?: Prisma.ProviderWhereUniqueInput } export type ProviderUpdateOneWithoutAgentsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutAgentsInput upsert?: Prisma.ProviderUpsertWithoutAgentsInput disconnect?: Prisma.ProviderWhereInput | boolean delete?: Prisma.ProviderWhereInput | boolean connect?: Prisma.ProviderWhereUniqueInput update?: Prisma.XOR, Prisma.ProviderUncheckedUpdateWithoutAgentsInput> } export type ProviderCreateNestedOneWithoutModelsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutModelsInput connect?: Prisma.ProviderWhereUniqueInput } export type ProviderUpdateOneRequiredWithoutModelsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutModelsInput upsert?: Prisma.ProviderUpsertWithoutModelsInput connect?: Prisma.ProviderWhereUniqueInput update?: Prisma.XOR, Prisma.ProviderUncheckedUpdateWithoutModelsInput> } export type ProviderCreateWithoutTeamInput = { id?: string name: string isBuiltin?: boolean config:PrismaJson.ProviderConfig createdAt?: Date | string updatedAt?: Date | string models?: Prisma.ModelCreateNestedManyWithoutProviderInput agents?: Prisma.AgentCreateNestedManyWithoutProviderInput } export type ProviderUncheckedCreateWithoutTeamInput = { id?: string name: string isBuiltin?: boolean config:PrismaJson.ProviderConfig createdAt?: Date | string updatedAt?: Date | string models?: Prisma.ModelUncheckedCreateNestedManyWithoutProviderInput agents?: Prisma.AgentUncheckedCreateNestedManyWithoutProviderInput } export type ProviderCreateOrConnectWithoutTeamInput = { where: Prisma.ProviderWhereUniqueInput create: Prisma.XOR } export type ProviderCreateManyTeamInputEnvelope = { data: Prisma.ProviderCreateManyTeamInput | Prisma.ProviderCreateManyTeamInput[] skipDuplicates?: boolean } export type ProviderUpsertWithWhereUniqueWithoutTeamInput = { where: Prisma.ProviderWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ProviderUpdateWithWhereUniqueWithoutTeamInput = { where: Prisma.ProviderWhereUniqueInput data: Prisma.XOR } export type ProviderUpdateManyWithWhereWithoutTeamInput = { where: Prisma.ProviderScalarWhereInput data: Prisma.XOR } export type ProviderScalarWhereInput = { AND?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[] OR?: Prisma.ProviderScalarWhereInput[] NOT?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[] id?: Prisma.StringFilter<"Provider"> | string name?: Prisma.StringFilter<"Provider"> | string isBuiltin?: Prisma.BoolFilter<"Provider"> | boolean config?: Prisma.JsonFilter<"Provider"> createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string teamId?: Prisma.StringFilter<"Provider"> | string } export type ProviderCreateWithoutAgentsInput = { id?: string name: string isBuiltin?: boolean config:PrismaJson.ProviderConfig createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutProvidersInput models?: Prisma.ModelCreateNestedManyWithoutProviderInput } export type ProviderUncheckedCreateWithoutAgentsInput = { id?: string name: string isBuiltin?: boolean config:PrismaJson.ProviderConfig createdAt?: Date | string updatedAt?: Date | string teamId: string models?: Prisma.ModelUncheckedCreateNestedManyWithoutProviderInput } export type ProviderCreateOrConnectWithoutAgentsInput = { where: Prisma.ProviderWhereUniqueInput create: Prisma.XOR } export type ProviderUpsertWithoutAgentsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ProviderWhereInput } export type ProviderUpdateToOneWithWhereWithoutAgentsInput = { where?: Prisma.ProviderWhereInput data: Prisma.XOR } export type ProviderUpdateWithoutAgentsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutProvidersNestedInput models?: Prisma.ModelUpdateManyWithoutProviderNestedInput } export type ProviderUncheckedUpdateWithoutAgentsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string models?: Prisma.ModelUncheckedUpdateManyWithoutProviderNestedInput } export type ProviderCreateWithoutModelsInput = { id?: string name: string isBuiltin?: boolean config:PrismaJson.ProviderConfig createdAt?: Date | string updatedAt?: Date | string team: Prisma.TeamCreateNestedOneWithoutProvidersInput agents?: Prisma.AgentCreateNestedManyWithoutProviderInput } export type ProviderUncheckedCreateWithoutModelsInput = { id?: string name: string isBuiltin?: boolean config:PrismaJson.ProviderConfig createdAt?: Date | string updatedAt?: Date | string teamId: string agents?: Prisma.AgentUncheckedCreateNestedManyWithoutProviderInput } export type ProviderCreateOrConnectWithoutModelsInput = { where: Prisma.ProviderWhereUniqueInput create: Prisma.XOR } export type ProviderUpsertWithoutModelsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ProviderWhereInput } export type ProviderUpdateToOneWithWhereWithoutModelsInput = { where?: Prisma.ProviderWhereInput data: Prisma.XOR } export type ProviderUpdateWithoutModelsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string team?: Prisma.TeamUpdateOneRequiredWithoutProvidersNestedInput agents?: Prisma.AgentUpdateManyWithoutProviderNestedInput } export type ProviderUncheckedUpdateWithoutModelsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string teamId?: Prisma.StringFieldUpdateOperationsInput | string agents?: Prisma.AgentUncheckedUpdateManyWithoutProviderNestedInput } export type ProviderCreateManyTeamInput = { id?: string name: string isBuiltin?: boolean config:PrismaJson.ProviderConfig createdAt?: Date | string updatedAt?: Date | string } export type ProviderUpdateWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string models?: Prisma.ModelUpdateManyWithoutProviderNestedInput agents?: Prisma.AgentUpdateManyWithoutProviderNestedInput } export type ProviderUncheckedUpdateWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string models?: Prisma.ModelUncheckedUpdateManyWithoutProviderNestedInput agents?: Prisma.AgentUncheckedUpdateManyWithoutProviderNestedInput } export type ProviderUncheckedUpdateManyWithoutTeamInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean config?:PrismaJson.ProviderConfig createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } /** * Count Type ProviderCountOutputType */ export type ProviderCountOutputType = { models: number agents: number } export type ProviderCountOutputTypeSelect = { models?: boolean | ProviderCountOutputTypeCountModelsArgs agents?: boolean | ProviderCountOutputTypeCountAgentsArgs } /** * ProviderCountOutputType without action */ export type ProviderCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ProviderCountOutputType */ select?: Prisma.ProviderCountOutputTypeSelect | null } /** * ProviderCountOutputType without action */ export type ProviderCountOutputTypeCountModelsArgs = { where?: Prisma.ModelWhereInput } /** * ProviderCountOutputType without action */ export type ProviderCountOutputTypeCountAgentsArgs = { where?: Prisma.AgentWhereInput } export type ProviderSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean isBuiltin?: boolean config?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean team?: boolean | Prisma.TeamDefaultArgs models?: boolean | Prisma.Provider$modelsArgs agents?: boolean | Prisma.Provider$agentsArgs _count?: boolean | Prisma.ProviderCountOutputTypeDefaultArgs }, ExtArgs["result"]["provider"]> export type ProviderSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean isBuiltin?: boolean config?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean team?: boolean | Prisma.TeamDefaultArgs }, ExtArgs["result"]["provider"]> export type ProviderSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean isBuiltin?: boolean config?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean team?: boolean | Prisma.TeamDefaultArgs }, ExtArgs["result"]["provider"]> export type ProviderSelectScalar = { id?: boolean name?: boolean isBuiltin?: boolean config?: boolean createdAt?: boolean updatedAt?: boolean teamId?: boolean } export type ProviderOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "isBuiltin" | "config" | "createdAt" | "updatedAt" | "teamId", ExtArgs["result"]["provider"]> export type ProviderInclude = { team?: boolean | Prisma.TeamDefaultArgs models?: boolean | Prisma.Provider$modelsArgs agents?: boolean | Prisma.Provider$agentsArgs _count?: boolean | Prisma.ProviderCountOutputTypeDefaultArgs } export type ProviderIncludeCreateManyAndReturn = { team?: boolean | Prisma.TeamDefaultArgs } export type ProviderIncludeUpdateManyAndReturn = { team?: boolean | Prisma.TeamDefaultArgs } export type $ProviderPayload = { name: "Provider" objects: { team: Prisma.$TeamPayload models: Prisma.$ModelPayload[] agents: Prisma.$AgentPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string name: string isBuiltin: boolean /** * [ProviderConfig] */ config:PrismaJson.ProviderConfig createdAt: Date updatedAt: Date teamId: string }, ExtArgs["result"]["provider"]> composites: {} } export type ProviderGetPayload = runtime.Types.Result.GetResult export type ProviderCountArgs = Omit & { select?: ProviderCountAggregateInputType | true } export interface ProviderDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Provider'], meta: { name: 'Provider' } } /** * Find zero or one Provider that matches the filter. * @param {ProviderFindUniqueArgs} args - Arguments to find a Provider * @example * // Get one Provider * const provider = await prisma.provider.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Provider that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProviderFindUniqueOrThrowArgs} args - Arguments to find a Provider * @example * // Get one Provider * const provider = await prisma.provider.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Provider 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 {ProviderFindFirstArgs} args - Arguments to find a Provider * @example * // Get one Provider * const provider = await prisma.provider.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Provider 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 {ProviderFindFirstOrThrowArgs} args - Arguments to find a Provider * @example * // Get one Provider * const provider = await prisma.provider.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Providers 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 {ProviderFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Providers * const providers = await prisma.provider.findMany() * * // Get first 10 Providers * const providers = await prisma.provider.findMany({ take: 10 }) * * // Only select the `id` * const providerWithIdOnly = await prisma.provider.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Provider. * @param {ProviderCreateArgs} args - Arguments to create a Provider. * @example * // Create one Provider * const Provider = await prisma.provider.create({ * data: { * // ... data to create a Provider * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Providers. * @param {ProviderCreateManyArgs} args - Arguments to create many Providers. * @example * // Create many Providers * const provider = await prisma.provider.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Providers and returns the data saved in the database. * @param {ProviderCreateManyAndReturnArgs} args - Arguments to create many Providers. * @example * // Create many Providers * const provider = await prisma.provider.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Providers and only return the `id` * const providerWithIdOnly = await prisma.provider.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 Provider. * @param {ProviderDeleteArgs} args - Arguments to delete one Provider. * @example * // Delete one Provider * const Provider = await prisma.provider.delete({ * where: { * // ... filter to delete one Provider * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Provider. * @param {ProviderUpdateArgs} args - Arguments to update one Provider. * @example * // Update one Provider * const provider = await prisma.provider.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Providers. * @param {ProviderDeleteManyArgs} args - Arguments to filter Providers to delete. * @example * // Delete a few Providers * const { count } = await prisma.provider.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Providers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProviderUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Providers * const provider = await prisma.provider.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Providers and returns the data updated in the database. * @param {ProviderUpdateManyAndReturnArgs} args - Arguments to update many Providers. * @example * // Update many Providers * const provider = await prisma.provider.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Providers and only return the `id` * const providerWithIdOnly = await prisma.provider.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 Provider. * @param {ProviderUpsertArgs} args - Arguments to update or create a Provider. * @example * // Update or create a Provider * const provider = await prisma.provider.upsert({ * create: { * // ... data to create a Provider * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Provider we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Providers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProviderCountArgs} args - Arguments to filter Providers to count. * @example * // Count the number of Providers * const count = await prisma.provider.count({ * where: { * // ... the filter for the Providers 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 Provider. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProviderAggregateArgs} 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 Provider. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProviderGroupByArgs} 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 ProviderGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ProviderGroupByArgs['orderBy'] } : { orderBy?: ProviderGroupByArgs['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 ? GetProviderGroupByPayload : Prisma.PrismaPromise /** * Fields of the Provider model */ readonly fields: ProviderFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Provider. * 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__ProviderClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> models = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> agents = {}>(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 Provider model */ export interface ProviderFieldRefs { readonly id: Prisma.FieldRef<"Provider", 'String'> readonly name: Prisma.FieldRef<"Provider", 'String'> readonly isBuiltin: Prisma.FieldRef<"Provider", 'Boolean'> readonly config: Prisma.FieldRef<"Provider", 'Json'> readonly createdAt: Prisma.FieldRef<"Provider", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Provider", 'DateTime'> readonly teamId: Prisma.FieldRef<"Provider", 'String'> } // Custom InputTypes /** * Provider findUnique */ export type ProviderFindUniqueArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null /** * Filter, which Provider to fetch. */ where: Prisma.ProviderWhereUniqueInput } /** * Provider findUniqueOrThrow */ export type ProviderFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null /** * Filter, which Provider to fetch. */ where: Prisma.ProviderWhereUniqueInput } /** * Provider findFirst */ export type ProviderFindFirstArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null /** * Filter, which Provider to fetch. */ where?: Prisma.ProviderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Providers to fetch. */ orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Providers. */ cursor?: Prisma.ProviderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Providers 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` Providers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Providers. */ distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[] } /** * Provider findFirstOrThrow */ export type ProviderFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null /** * Filter, which Provider to fetch. */ where?: Prisma.ProviderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Providers to fetch. */ orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Providers. */ cursor?: Prisma.ProviderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Providers 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` Providers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Providers. */ distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[] } /** * Provider findMany */ export type ProviderFindManyArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null /** * Filter, which Providers to fetch. */ where?: Prisma.ProviderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Providers to fetch. */ orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Providers. */ cursor?: Prisma.ProviderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Providers 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` Providers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Providers. */ distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[] } /** * Provider create */ export type ProviderCreateArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null /** * The data needed to create a Provider. */ data: Prisma.XOR } /** * Provider createMany */ export type ProviderCreateManyArgs = { /** * The data used to create many Providers. */ data: Prisma.ProviderCreateManyInput | Prisma.ProviderCreateManyInput[] skipDuplicates?: boolean } /** * Provider createManyAndReturn */ export type ProviderCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelectCreateManyAndReturn | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * The data used to create many Providers. */ data: Prisma.ProviderCreateManyInput | Prisma.ProviderCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderIncludeCreateManyAndReturn | null } /** * Provider update */ export type ProviderUpdateArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null /** * The data needed to update a Provider. */ data: Prisma.XOR /** * Choose, which Provider to update. */ where: Prisma.ProviderWhereUniqueInput } /** * Provider updateMany */ export type ProviderUpdateManyArgs = { /** * The data used to update Providers. */ data: Prisma.XOR /** * Filter which Providers to update */ where?: Prisma.ProviderWhereInput /** * Limit how many Providers to update. */ limit?: number } /** * Provider updateManyAndReturn */ export type ProviderUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelectUpdateManyAndReturn | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * The data used to update Providers. */ data: Prisma.XOR /** * Filter which Providers to update */ where?: Prisma.ProviderWhereInput /** * Limit how many Providers to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderIncludeUpdateManyAndReturn | null } /** * Provider upsert */ export type ProviderUpsertArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null /** * The filter to search for the Provider to update in case it exists. */ where: Prisma.ProviderWhereUniqueInput /** * In case the Provider found by the `where` argument doesn't exist, create a new Provider with this data. */ create: Prisma.XOR /** * In case the Provider was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Provider delete */ export type ProviderDeleteArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null /** * Filter which Provider to delete. */ where: Prisma.ProviderWhereUniqueInput } /** * Provider deleteMany */ export type ProviderDeleteManyArgs = { /** * Filter which Providers to delete */ where?: Prisma.ProviderWhereInput /** * Limit how many Providers to delete. */ limit?: number } /** * Provider.models */ export type Provider$modelsArgs = { /** * Select specific fields to fetch from the Model */ select?: Prisma.ModelSelect | null /** * Omit specific fields from the Model */ omit?: Prisma.ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ModelInclude | null where?: Prisma.ModelWhereInput orderBy?: Prisma.ModelOrderByWithRelationInput | Prisma.ModelOrderByWithRelationInput[] cursor?: Prisma.ModelWhereUniqueInput take?: number skip?: number distinct?: Prisma.ModelScalarFieldEnum | Prisma.ModelScalarFieldEnum[] } /** * Provider.agents */ export type Provider$agentsArgs = { /** * Select specific fields to fetch from the Agent */ select?: Prisma.AgentSelect | null /** * Omit specific fields from the Agent */ omit?: Prisma.AgentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AgentInclude | null where?: Prisma.AgentWhereInput orderBy?: Prisma.AgentOrderByWithRelationInput | Prisma.AgentOrderByWithRelationInput[] cursor?: Prisma.AgentWhereUniqueInput take?: number skip?: number distinct?: Prisma.AgentScalarFieldEnum | Prisma.AgentScalarFieldEnum[] } /** * Provider without action */ export type ProviderDefaultArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null }