/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Credential` model and its related types. * * 🟢 You can import this file directly. */ 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 Credential * */ export type CredentialModel = runtime.Types.Result.DefaultSelection export type AggregateCredential = { _count: CredentialCountAggregateOutputType | null _min: CredentialMinAggregateOutputType | null _max: CredentialMaxAggregateOutputType | null } export type CredentialMinAggregateOutputType = { id: string | null name: string | null typeId: string | null companyId: string | null createdAt: Date | null updatedAt: Date | null } export type CredentialMaxAggregateOutputType = { id: string | null name: string | null typeId: string | null companyId: string | null createdAt: Date | null updatedAt: Date | null } export type CredentialCountAggregateOutputType = { id: number name: number typeId: number fields: number companyId: number createdAt: number updatedAt: number _all: number } export type CredentialMinAggregateInputType = { id?: true name?: true typeId?: true companyId?: true createdAt?: true updatedAt?: true } export type CredentialMaxAggregateInputType = { id?: true name?: true typeId?: true companyId?: true createdAt?: true updatedAt?: true } export type CredentialCountAggregateInputType = { id?: true name?: true typeId?: true fields?: true companyId?: true createdAt?: true updatedAt?: true _all?: true } export type CredentialAggregateArgs = { /** * Filter which Credential to aggregate. */ where?: Prisma.CredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Credentials to fetch. */ orderBy?: Prisma.CredentialOrderByWithRelationInput | Prisma.CredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.CredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Credentials 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` Credentials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Credentials **/ _count?: true | CredentialCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CredentialMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CredentialMaxAggregateInputType } export type GetCredentialAggregateType = { [P in keyof T & keyof AggregateCredential]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type CredentialGroupByArgs = { where?: Prisma.CredentialWhereInput orderBy?: Prisma.CredentialOrderByWithAggregationInput | Prisma.CredentialOrderByWithAggregationInput[] by: Prisma.CredentialScalarFieldEnum[] | Prisma.CredentialScalarFieldEnum having?: Prisma.CredentialScalarWhereWithAggregatesInput take?: number skip?: number _count?: CredentialCountAggregateInputType | true _min?: CredentialMinAggregateInputType _max?: CredentialMaxAggregateInputType } export type CredentialGroupByOutputType = { id: string name: string typeId: string fields: runtime.JsonValue companyId: string createdAt: Date updatedAt: Date _count: CredentialCountAggregateOutputType | null _min: CredentialMinAggregateOutputType | null _max: CredentialMaxAggregateOutputType | null } type GetCredentialGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof CredentialGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type CredentialWhereInput = { AND?: Prisma.CredentialWhereInput | Prisma.CredentialWhereInput[] OR?: Prisma.CredentialWhereInput[] NOT?: Prisma.CredentialWhereInput | Prisma.CredentialWhereInput[] id?: Prisma.StringFilter<"Credential"> | string name?: Prisma.StringFilter<"Credential"> | string typeId?: Prisma.StringFilter<"Credential"> | string fields?: Prisma.JsonFilter<"Credential"> companyId?: Prisma.StringFilter<"Credential"> | string createdAt?: Prisma.DateTimeFilter<"Credential"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Credential"> | Date | string type?: Prisma.XOR company?: Prisma.XOR securevalues?: Prisma.SecureValueListRelationFilter } export type CredentialOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder typeId?: Prisma.SortOrder fields?: Prisma.SortOrder companyId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder type?: Prisma.CredentialTypeOrderByWithRelationInput company?: Prisma.CompanyOrderByWithRelationInput securevalues?: Prisma.SecureValueOrderByRelationAggregateInput } export type CredentialWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.CredentialWhereInput | Prisma.CredentialWhereInput[] OR?: Prisma.CredentialWhereInput[] NOT?: Prisma.CredentialWhereInput | Prisma.CredentialWhereInput[] name?: Prisma.StringFilter<"Credential"> | string typeId?: Prisma.StringFilter<"Credential"> | string fields?: Prisma.JsonFilter<"Credential"> companyId?: Prisma.StringFilter<"Credential"> | string createdAt?: Prisma.DateTimeFilter<"Credential"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Credential"> | Date | string type?: Prisma.XOR company?: Prisma.XOR securevalues?: Prisma.SecureValueListRelationFilter }, "id"> export type CredentialOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder typeId?: Prisma.SortOrder fields?: Prisma.SortOrder companyId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.CredentialCountOrderByAggregateInput _max?: Prisma.CredentialMaxOrderByAggregateInput _min?: Prisma.CredentialMinOrderByAggregateInput } export type CredentialScalarWhereWithAggregatesInput = { AND?: Prisma.CredentialScalarWhereWithAggregatesInput | Prisma.CredentialScalarWhereWithAggregatesInput[] OR?: Prisma.CredentialScalarWhereWithAggregatesInput[] NOT?: Prisma.CredentialScalarWhereWithAggregatesInput | Prisma.CredentialScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Credential"> | string name?: Prisma.StringWithAggregatesFilter<"Credential"> | string typeId?: Prisma.StringWithAggregatesFilter<"Credential"> | string fields?: Prisma.JsonWithAggregatesFilter<"Credential"> companyId?: Prisma.StringWithAggregatesFilter<"Credential"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"Credential"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Credential"> | Date | string } export type CredentialCreateInput = { id?: string name: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Date | string updatedAt?: Date | string type: Prisma.CredentialTypeCreateNestedOneWithoutCredentialsInput company: Prisma.CompanyCreateNestedOneWithoutCredentialsInput securevalues?: Prisma.SecureValueCreateNestedManyWithoutCredentialInput } export type CredentialUncheckedCreateInput = { id?: string name: string typeId: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue companyId: string createdAt?: Date | string updatedAt?: Date | string securevalues?: Prisma.SecureValueUncheckedCreateNestedManyWithoutCredentialInput } export type CredentialUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.CredentialTypeUpdateOneRequiredWithoutCredentialsNestedInput company?: Prisma.CompanyUpdateOneRequiredWithoutCredentialsNestedInput securevalues?: Prisma.SecureValueUpdateManyWithoutCredentialNestedInput } export type CredentialUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string typeId?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue companyId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string securevalues?: Prisma.SecureValueUncheckedUpdateManyWithoutCredentialNestedInput } export type CredentialCreateManyInput = { id?: string name: string typeId: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue companyId: string createdAt?: Date | string updatedAt?: Date | string } export type CredentialUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CredentialUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string typeId?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue companyId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CredentialListRelationFilter = { every?: Prisma.CredentialWhereInput some?: Prisma.CredentialWhereInput none?: Prisma.CredentialWhereInput } export type CredentialOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type CredentialScalarRelationFilter = { is?: Prisma.CredentialWhereInput isNot?: Prisma.CredentialWhereInput } export type CredentialCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder typeId?: Prisma.SortOrder fields?: Prisma.SortOrder companyId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type CredentialMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder typeId?: Prisma.SortOrder companyId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type CredentialMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder typeId?: Prisma.SortOrder companyId?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type CredentialCreateNestedManyWithoutCompanyInput = { create?: Prisma.XOR | Prisma.CredentialCreateWithoutCompanyInput[] | Prisma.CredentialUncheckedCreateWithoutCompanyInput[] connectOrCreate?: Prisma.CredentialCreateOrConnectWithoutCompanyInput | Prisma.CredentialCreateOrConnectWithoutCompanyInput[] createMany?: Prisma.CredentialCreateManyCompanyInputEnvelope connect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] } export type CredentialUncheckedCreateNestedManyWithoutCompanyInput = { create?: Prisma.XOR | Prisma.CredentialCreateWithoutCompanyInput[] | Prisma.CredentialUncheckedCreateWithoutCompanyInput[] connectOrCreate?: Prisma.CredentialCreateOrConnectWithoutCompanyInput | Prisma.CredentialCreateOrConnectWithoutCompanyInput[] createMany?: Prisma.CredentialCreateManyCompanyInputEnvelope connect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] } export type CredentialUpdateManyWithoutCompanyNestedInput = { create?: Prisma.XOR | Prisma.CredentialCreateWithoutCompanyInput[] | Prisma.CredentialUncheckedCreateWithoutCompanyInput[] connectOrCreate?: Prisma.CredentialCreateOrConnectWithoutCompanyInput | Prisma.CredentialCreateOrConnectWithoutCompanyInput[] upsert?: Prisma.CredentialUpsertWithWhereUniqueWithoutCompanyInput | Prisma.CredentialUpsertWithWhereUniqueWithoutCompanyInput[] createMany?: Prisma.CredentialCreateManyCompanyInputEnvelope set?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] disconnect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] delete?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] connect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] update?: Prisma.CredentialUpdateWithWhereUniqueWithoutCompanyInput | Prisma.CredentialUpdateWithWhereUniqueWithoutCompanyInput[] updateMany?: Prisma.CredentialUpdateManyWithWhereWithoutCompanyInput | Prisma.CredentialUpdateManyWithWhereWithoutCompanyInput[] deleteMany?: Prisma.CredentialScalarWhereInput | Prisma.CredentialScalarWhereInput[] } export type CredentialUncheckedUpdateManyWithoutCompanyNestedInput = { create?: Prisma.XOR | Prisma.CredentialCreateWithoutCompanyInput[] | Prisma.CredentialUncheckedCreateWithoutCompanyInput[] connectOrCreate?: Prisma.CredentialCreateOrConnectWithoutCompanyInput | Prisma.CredentialCreateOrConnectWithoutCompanyInput[] upsert?: Prisma.CredentialUpsertWithWhereUniqueWithoutCompanyInput | Prisma.CredentialUpsertWithWhereUniqueWithoutCompanyInput[] createMany?: Prisma.CredentialCreateManyCompanyInputEnvelope set?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] disconnect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] delete?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] connect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] update?: Prisma.CredentialUpdateWithWhereUniqueWithoutCompanyInput | Prisma.CredentialUpdateWithWhereUniqueWithoutCompanyInput[] updateMany?: Prisma.CredentialUpdateManyWithWhereWithoutCompanyInput | Prisma.CredentialUpdateManyWithWhereWithoutCompanyInput[] deleteMany?: Prisma.CredentialScalarWhereInput | Prisma.CredentialScalarWhereInput[] } export type CredentialCreateNestedManyWithoutTypeInput = { create?: Prisma.XOR | Prisma.CredentialCreateWithoutTypeInput[] | Prisma.CredentialUncheckedCreateWithoutTypeInput[] connectOrCreate?: Prisma.CredentialCreateOrConnectWithoutTypeInput | Prisma.CredentialCreateOrConnectWithoutTypeInput[] createMany?: Prisma.CredentialCreateManyTypeInputEnvelope connect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] } export type CredentialUncheckedCreateNestedManyWithoutTypeInput = { create?: Prisma.XOR | Prisma.CredentialCreateWithoutTypeInput[] | Prisma.CredentialUncheckedCreateWithoutTypeInput[] connectOrCreate?: Prisma.CredentialCreateOrConnectWithoutTypeInput | Prisma.CredentialCreateOrConnectWithoutTypeInput[] createMany?: Prisma.CredentialCreateManyTypeInputEnvelope connect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] } export type CredentialUpdateManyWithoutTypeNestedInput = { create?: Prisma.XOR | Prisma.CredentialCreateWithoutTypeInput[] | Prisma.CredentialUncheckedCreateWithoutTypeInput[] connectOrCreate?: Prisma.CredentialCreateOrConnectWithoutTypeInput | Prisma.CredentialCreateOrConnectWithoutTypeInput[] upsert?: Prisma.CredentialUpsertWithWhereUniqueWithoutTypeInput | Prisma.CredentialUpsertWithWhereUniqueWithoutTypeInput[] createMany?: Prisma.CredentialCreateManyTypeInputEnvelope set?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] disconnect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] delete?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] connect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] update?: Prisma.CredentialUpdateWithWhereUniqueWithoutTypeInput | Prisma.CredentialUpdateWithWhereUniqueWithoutTypeInput[] updateMany?: Prisma.CredentialUpdateManyWithWhereWithoutTypeInput | Prisma.CredentialUpdateManyWithWhereWithoutTypeInput[] deleteMany?: Prisma.CredentialScalarWhereInput | Prisma.CredentialScalarWhereInput[] } export type CredentialUncheckedUpdateManyWithoutTypeNestedInput = { create?: Prisma.XOR | Prisma.CredentialCreateWithoutTypeInput[] | Prisma.CredentialUncheckedCreateWithoutTypeInput[] connectOrCreate?: Prisma.CredentialCreateOrConnectWithoutTypeInput | Prisma.CredentialCreateOrConnectWithoutTypeInput[] upsert?: Prisma.CredentialUpsertWithWhereUniqueWithoutTypeInput | Prisma.CredentialUpsertWithWhereUniqueWithoutTypeInput[] createMany?: Prisma.CredentialCreateManyTypeInputEnvelope set?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] disconnect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] delete?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] connect?: Prisma.CredentialWhereUniqueInput | Prisma.CredentialWhereUniqueInput[] update?: Prisma.CredentialUpdateWithWhereUniqueWithoutTypeInput | Prisma.CredentialUpdateWithWhereUniqueWithoutTypeInput[] updateMany?: Prisma.CredentialUpdateManyWithWhereWithoutTypeInput | Prisma.CredentialUpdateManyWithWhereWithoutTypeInput[] deleteMany?: Prisma.CredentialScalarWhereInput | Prisma.CredentialScalarWhereInput[] } export type CredentialCreateNestedOneWithoutSecurevaluesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.CredentialCreateOrConnectWithoutSecurevaluesInput connect?: Prisma.CredentialWhereUniqueInput } export type CredentialUpdateOneRequiredWithoutSecurevaluesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.CredentialCreateOrConnectWithoutSecurevaluesInput upsert?: Prisma.CredentialUpsertWithoutSecurevaluesInput connect?: Prisma.CredentialWhereUniqueInput update?: Prisma.XOR, Prisma.CredentialUncheckedUpdateWithoutSecurevaluesInput> } export type CredentialCreateWithoutCompanyInput = { id?: string name: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Date | string updatedAt?: Date | string type: Prisma.CredentialTypeCreateNestedOneWithoutCredentialsInput securevalues?: Prisma.SecureValueCreateNestedManyWithoutCredentialInput } export type CredentialUncheckedCreateWithoutCompanyInput = { id?: string name: string typeId: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Date | string updatedAt?: Date | string securevalues?: Prisma.SecureValueUncheckedCreateNestedManyWithoutCredentialInput } export type CredentialCreateOrConnectWithoutCompanyInput = { where: Prisma.CredentialWhereUniqueInput create: Prisma.XOR } export type CredentialCreateManyCompanyInputEnvelope = { data: Prisma.CredentialCreateManyCompanyInput | Prisma.CredentialCreateManyCompanyInput[] skipDuplicates?: boolean } export type CredentialUpsertWithWhereUniqueWithoutCompanyInput = { where: Prisma.CredentialWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type CredentialUpdateWithWhereUniqueWithoutCompanyInput = { where: Prisma.CredentialWhereUniqueInput data: Prisma.XOR } export type CredentialUpdateManyWithWhereWithoutCompanyInput = { where: Prisma.CredentialScalarWhereInput data: Prisma.XOR } export type CredentialScalarWhereInput = { AND?: Prisma.CredentialScalarWhereInput | Prisma.CredentialScalarWhereInput[] OR?: Prisma.CredentialScalarWhereInput[] NOT?: Prisma.CredentialScalarWhereInput | Prisma.CredentialScalarWhereInput[] id?: Prisma.StringFilter<"Credential"> | string name?: Prisma.StringFilter<"Credential"> | string typeId?: Prisma.StringFilter<"Credential"> | string fields?: Prisma.JsonFilter<"Credential"> companyId?: Prisma.StringFilter<"Credential"> | string createdAt?: Prisma.DateTimeFilter<"Credential"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Credential"> | Date | string } export type CredentialCreateWithoutTypeInput = { id?: string name: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Date | string updatedAt?: Date | string company: Prisma.CompanyCreateNestedOneWithoutCredentialsInput securevalues?: Prisma.SecureValueCreateNestedManyWithoutCredentialInput } export type CredentialUncheckedCreateWithoutTypeInput = { id?: string name: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue companyId: string createdAt?: Date | string updatedAt?: Date | string securevalues?: Prisma.SecureValueUncheckedCreateNestedManyWithoutCredentialInput } export type CredentialCreateOrConnectWithoutTypeInput = { where: Prisma.CredentialWhereUniqueInput create: Prisma.XOR } export type CredentialCreateManyTypeInputEnvelope = { data: Prisma.CredentialCreateManyTypeInput | Prisma.CredentialCreateManyTypeInput[] skipDuplicates?: boolean } export type CredentialUpsertWithWhereUniqueWithoutTypeInput = { where: Prisma.CredentialWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type CredentialUpdateWithWhereUniqueWithoutTypeInput = { where: Prisma.CredentialWhereUniqueInput data: Prisma.XOR } export type CredentialUpdateManyWithWhereWithoutTypeInput = { where: Prisma.CredentialScalarWhereInput data: Prisma.XOR } export type CredentialCreateWithoutSecurevaluesInput = { id?: string name: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Date | string updatedAt?: Date | string type: Prisma.CredentialTypeCreateNestedOneWithoutCredentialsInput company: Prisma.CompanyCreateNestedOneWithoutCredentialsInput } export type CredentialUncheckedCreateWithoutSecurevaluesInput = { id?: string name: string typeId: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue companyId: string createdAt?: Date | string updatedAt?: Date | string } export type CredentialCreateOrConnectWithoutSecurevaluesInput = { where: Prisma.CredentialWhereUniqueInput create: Prisma.XOR } export type CredentialUpsertWithoutSecurevaluesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.CredentialWhereInput } export type CredentialUpdateToOneWithWhereWithoutSecurevaluesInput = { where?: Prisma.CredentialWhereInput data: Prisma.XOR } export type CredentialUpdateWithoutSecurevaluesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.CredentialTypeUpdateOneRequiredWithoutCredentialsNestedInput company?: Prisma.CompanyUpdateOneRequiredWithoutCredentialsNestedInput } export type CredentialUncheckedUpdateWithoutSecurevaluesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string typeId?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue companyId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CredentialCreateManyCompanyInput = { id?: string name: string typeId: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type CredentialUpdateWithoutCompanyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.CredentialTypeUpdateOneRequiredWithoutCredentialsNestedInput securevalues?: Prisma.SecureValueUpdateManyWithoutCredentialNestedInput } export type CredentialUncheckedUpdateWithoutCompanyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string typeId?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string securevalues?: Prisma.SecureValueUncheckedUpdateManyWithoutCredentialNestedInput } export type CredentialUncheckedUpdateManyWithoutCompanyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string typeId?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CredentialCreateManyTypeInput = { id?: string name: string fields: Prisma.JsonNullValueInput | runtime.InputJsonValue companyId: string createdAt?: Date | string updatedAt?: Date | string } export type CredentialUpdateWithoutTypeInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string company?: Prisma.CompanyUpdateOneRequiredWithoutCredentialsNestedInput securevalues?: Prisma.SecureValueUpdateManyWithoutCredentialNestedInput } export type CredentialUncheckedUpdateWithoutTypeInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue companyId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string securevalues?: Prisma.SecureValueUncheckedUpdateManyWithoutCredentialNestedInput } export type CredentialUncheckedUpdateManyWithoutTypeInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string fields?: Prisma.JsonNullValueInput | runtime.InputJsonValue companyId?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } /** * Count Type CredentialCountOutputType */ export type CredentialCountOutputType = { securevalues: number } export type CredentialCountOutputTypeSelect = { securevalues?: boolean | CredentialCountOutputTypeCountSecurevaluesArgs } /** * CredentialCountOutputType without action */ export type CredentialCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the CredentialCountOutputType */ select?: Prisma.CredentialCountOutputTypeSelect | null } /** * CredentialCountOutputType without action */ export type CredentialCountOutputTypeCountSecurevaluesArgs = { where?: Prisma.SecureValueWhereInput } export type CredentialSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean typeId?: boolean fields?: boolean companyId?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean | Prisma.CredentialTypeDefaultArgs company?: boolean | Prisma.CompanyDefaultArgs securevalues?: boolean | Prisma.Credential$securevaluesArgs _count?: boolean | Prisma.CredentialCountOutputTypeDefaultArgs }, ExtArgs["result"]["credential"]> export type CredentialSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean typeId?: boolean fields?: boolean companyId?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean | Prisma.CredentialTypeDefaultArgs company?: boolean | Prisma.CompanyDefaultArgs }, ExtArgs["result"]["credential"]> export type CredentialSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean typeId?: boolean fields?: boolean companyId?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean | Prisma.CredentialTypeDefaultArgs company?: boolean | Prisma.CompanyDefaultArgs }, ExtArgs["result"]["credential"]> export type CredentialSelectScalar = { id?: boolean name?: boolean typeId?: boolean fields?: boolean companyId?: boolean createdAt?: boolean updatedAt?: boolean } export type CredentialOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "typeId" | "fields" | "companyId" | "createdAt" | "updatedAt", ExtArgs["result"]["credential"]> export type CredentialInclude = { type?: boolean | Prisma.CredentialTypeDefaultArgs company?: boolean | Prisma.CompanyDefaultArgs securevalues?: boolean | Prisma.Credential$securevaluesArgs _count?: boolean | Prisma.CredentialCountOutputTypeDefaultArgs } export type CredentialIncludeCreateManyAndReturn = { type?: boolean | Prisma.CredentialTypeDefaultArgs company?: boolean | Prisma.CompanyDefaultArgs } export type CredentialIncludeUpdateManyAndReturn = { type?: boolean | Prisma.CredentialTypeDefaultArgs company?: boolean | Prisma.CompanyDefaultArgs } export type $CredentialPayload = { name: "Credential" objects: { type: Prisma.$CredentialTypePayload company: Prisma.$CompanyPayload securevalues: Prisma.$SecureValuePayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string name: string typeId: string fields: runtime.JsonValue companyId: string createdAt: Date updatedAt: Date }, ExtArgs["result"]["credential"]> composites: {} } export type CredentialGetPayload = runtime.Types.Result.GetResult export type CredentialCountArgs = Omit & { select?: CredentialCountAggregateInputType | true } export interface CredentialDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Credential'], meta: { name: 'Credential' } } /** * Find zero or one Credential that matches the filter. * @param {CredentialFindUniqueArgs} args - Arguments to find a Credential * @example * // Get one Credential * const credential = await prisma.credential.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__CredentialClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Credential that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CredentialFindUniqueOrThrowArgs} args - Arguments to find a Credential * @example * // Get one Credential * const credential = await prisma.credential.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__CredentialClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Credential 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 {CredentialFindFirstArgs} args - Arguments to find a Credential * @example * // Get one Credential * const credential = await prisma.credential.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__CredentialClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Credential 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 {CredentialFindFirstOrThrowArgs} args - Arguments to find a Credential * @example * // Get one Credential * const credential = await prisma.credential.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__CredentialClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Credentials 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 {CredentialFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Credentials * const credentials = await prisma.credential.findMany() * * // Get first 10 Credentials * const credentials = await prisma.credential.findMany({ take: 10 }) * * // Only select the `id` * const credentialWithIdOnly = await prisma.credential.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Credential. * @param {CredentialCreateArgs} args - Arguments to create a Credential. * @example * // Create one Credential * const Credential = await prisma.credential.create({ * data: { * // ... data to create a Credential * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__CredentialClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Credentials. * @param {CredentialCreateManyArgs} args - Arguments to create many Credentials. * @example * // Create many Credentials * const credential = await prisma.credential.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Credentials and returns the data saved in the database. * @param {CredentialCreateManyAndReturnArgs} args - Arguments to create many Credentials. * @example * // Create many Credentials * const credential = await prisma.credential.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Credentials and only return the `id` * const credentialWithIdOnly = await prisma.credential.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 Credential. * @param {CredentialDeleteArgs} args - Arguments to delete one Credential. * @example * // Delete one Credential * const Credential = await prisma.credential.delete({ * where: { * // ... filter to delete one Credential * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__CredentialClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Credential. * @param {CredentialUpdateArgs} args - Arguments to update one Credential. * @example * // Update one Credential * const credential = await prisma.credential.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__CredentialClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Credentials. * @param {CredentialDeleteManyArgs} args - Arguments to filter Credentials to delete. * @example * // Delete a few Credentials * const { count } = await prisma.credential.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Credentials. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Credentials * const credential = await prisma.credential.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Credentials and returns the data updated in the database. * @param {CredentialUpdateManyAndReturnArgs} args - Arguments to update many Credentials. * @example * // Update many Credentials * const credential = await prisma.credential.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Credentials and only return the `id` * const credentialWithIdOnly = await prisma.credential.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 Credential. * @param {CredentialUpsertArgs} args - Arguments to update or create a Credential. * @example * // Update or create a Credential * const credential = await prisma.credential.upsert({ * create: { * // ... data to create a Credential * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Credential we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__CredentialClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Credentials. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialCountArgs} args - Arguments to filter Credentials to count. * @example * // Count the number of Credentials * const count = await prisma.credential.count({ * where: { * // ... the filter for the Credentials 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 Credential. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialAggregateArgs} 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 Credential. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialGroupByArgs} 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 CredentialGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: CredentialGroupByArgs['orderBy'] } : { orderBy?: CredentialGroupByArgs['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 ? GetCredentialGroupByPayload : Prisma.PrismaPromise /** * Fields of the Credential model */ readonly fields: CredentialFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Credential. * 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__CredentialClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" type = {}>(args?: Prisma.Subset>): Prisma.Prisma__CredentialTypeClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> company = {}>(args?: Prisma.Subset>): Prisma.Prisma__CompanyClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> securevalues = {}>(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 Credential model */ export interface CredentialFieldRefs { readonly id: Prisma.FieldRef<"Credential", 'String'> readonly name: Prisma.FieldRef<"Credential", 'String'> readonly typeId: Prisma.FieldRef<"Credential", 'String'> readonly fields: Prisma.FieldRef<"Credential", 'Json'> readonly companyId: Prisma.FieldRef<"Credential", 'String'> readonly createdAt: Prisma.FieldRef<"Credential", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Credential", 'DateTime'> } // Custom InputTypes /** * Credential findUnique */ export type CredentialFindUniqueArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelect | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialInclude | null /** * Filter, which Credential to fetch. */ where: Prisma.CredentialWhereUniqueInput } /** * Credential findUniqueOrThrow */ export type CredentialFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelect | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialInclude | null /** * Filter, which Credential to fetch. */ where: Prisma.CredentialWhereUniqueInput } /** * Credential findFirst */ export type CredentialFindFirstArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelect | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialInclude | null /** * Filter, which Credential to fetch. */ where?: Prisma.CredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Credentials to fetch. */ orderBy?: Prisma.CredentialOrderByWithRelationInput | Prisma.CredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Credentials. */ cursor?: Prisma.CredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Credentials 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` Credentials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Credentials. */ distinct?: Prisma.CredentialScalarFieldEnum | Prisma.CredentialScalarFieldEnum[] } /** * Credential findFirstOrThrow */ export type CredentialFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelect | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialInclude | null /** * Filter, which Credential to fetch. */ where?: Prisma.CredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Credentials to fetch. */ orderBy?: Prisma.CredentialOrderByWithRelationInput | Prisma.CredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Credentials. */ cursor?: Prisma.CredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Credentials 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` Credentials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Credentials. */ distinct?: Prisma.CredentialScalarFieldEnum | Prisma.CredentialScalarFieldEnum[] } /** * Credential findMany */ export type CredentialFindManyArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelect | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialInclude | null /** * Filter, which Credentials to fetch. */ where?: Prisma.CredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Credentials to fetch. */ orderBy?: Prisma.CredentialOrderByWithRelationInput | Prisma.CredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Credentials. */ cursor?: Prisma.CredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Credentials 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` Credentials. */ skip?: number distinct?: Prisma.CredentialScalarFieldEnum | Prisma.CredentialScalarFieldEnum[] } /** * Credential create */ export type CredentialCreateArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelect | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialInclude | null /** * The data needed to create a Credential. */ data: Prisma.XOR } /** * Credential createMany */ export type CredentialCreateManyArgs = { /** * The data used to create many Credentials. */ data: Prisma.CredentialCreateManyInput | Prisma.CredentialCreateManyInput[] skipDuplicates?: boolean } /** * Credential createManyAndReturn */ export type CredentialCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelectCreateManyAndReturn | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * The data used to create many Credentials. */ data: Prisma.CredentialCreateManyInput | Prisma.CredentialCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialIncludeCreateManyAndReturn | null } /** * Credential update */ export type CredentialUpdateArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelect | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialInclude | null /** * The data needed to update a Credential. */ data: Prisma.XOR /** * Choose, which Credential to update. */ where: Prisma.CredentialWhereUniqueInput } /** * Credential updateMany */ export type CredentialUpdateManyArgs = { /** * The data used to update Credentials. */ data: Prisma.XOR /** * Filter which Credentials to update */ where?: Prisma.CredentialWhereInput /** * Limit how many Credentials to update. */ limit?: number } /** * Credential updateManyAndReturn */ export type CredentialUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelectUpdateManyAndReturn | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * The data used to update Credentials. */ data: Prisma.XOR /** * Filter which Credentials to update */ where?: Prisma.CredentialWhereInput /** * Limit how many Credentials to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialIncludeUpdateManyAndReturn | null } /** * Credential upsert */ export type CredentialUpsertArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelect | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialInclude | null /** * The filter to search for the Credential to update in case it exists. */ where: Prisma.CredentialWhereUniqueInput /** * In case the Credential found by the `where` argument doesn't exist, create a new Credential with this data. */ create: Prisma.XOR /** * In case the Credential was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Credential delete */ export type CredentialDeleteArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelect | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialInclude | null /** * Filter which Credential to delete. */ where: Prisma.CredentialWhereUniqueInput } /** * Credential deleteMany */ export type CredentialDeleteManyArgs = { /** * Filter which Credentials to delete */ where?: Prisma.CredentialWhereInput /** * Limit how many Credentials to delete. */ limit?: number } /** * Credential.securevalues */ export type Credential$securevaluesArgs = { /** * Select specific fields to fetch from the SecureValue */ select?: Prisma.SecureValueSelect | null /** * Omit specific fields from the SecureValue */ omit?: Prisma.SecureValueOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SecureValueInclude | null where?: Prisma.SecureValueWhereInput orderBy?: Prisma.SecureValueOrderByWithRelationInput | Prisma.SecureValueOrderByWithRelationInput[] cursor?: Prisma.SecureValueWhereUniqueInput take?: number skip?: number distinct?: Prisma.SecureValueScalarFieldEnum | Prisma.SecureValueScalarFieldEnum[] } /** * Credential without action */ export type CredentialDefaultArgs = { /** * Select specific fields to fetch from the Credential */ select?: Prisma.CredentialSelect | null /** * Omit specific fields from the Credential */ omit?: Prisma.CredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CredentialInclude | null }