/* !!! 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 createdAt: Date | null updatedAt: Date | null name: string | null } export type CredentialMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null name: string | null } export type CredentialCountAggregateOutputType = { id: number createdAt: number updatedAt: number name: number value: number _all: number } export type CredentialMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true name?: true } export type CredentialMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true name?: true } export type CredentialCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true name?: true value?: 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 createdAt: Date updatedAt: Date name: string value: runtime.JsonValue _count: CredentialCountAggregateOutputType | null _min: CredentialMinAggregateOutputType | null _max: CredentialMaxAggregateOutputType | null } export 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 createdAt?: Prisma.DateTimeFilter<"Credential"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Credential"> | Date | string name?: Prisma.StringFilter<"Credential"> | string value?: Prisma.JsonFilter<"Credential"> } export type CredentialOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder } export type CredentialWhereUniqueInput = Prisma.AtLeast<{ id?: string name?: string AND?: Prisma.CredentialWhereInput | Prisma.CredentialWhereInput[] OR?: Prisma.CredentialWhereInput[] NOT?: Prisma.CredentialWhereInput | Prisma.CredentialWhereInput[] createdAt?: Prisma.DateTimeFilter<"Credential"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Credential"> | Date | string value?: Prisma.JsonFilter<"Credential"> }, "id" | "name"> export type CredentialOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder name?: Prisma.SortOrder value?: 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 createdAt?: Prisma.DateTimeWithAggregatesFilter<"Credential"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Credential"> | Date | string name?: Prisma.StringWithAggregatesFilter<"Credential"> | string value?: Prisma.JsonWithAggregatesFilter<"Credential"> } export type CredentialCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string value: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type CredentialUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string value: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type CredentialUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type CredentialUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type CredentialCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string value: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type CredentialUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type CredentialUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type CredentialCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder } export type CredentialMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder name?: Prisma.SortOrder } export type CredentialMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder name?: Prisma.SortOrder } export type CredentialSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean name?: boolean value?: boolean }, ExtArgs["result"]["credential"]> export type CredentialSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean name?: boolean value?: boolean }, ExtArgs["result"]["credential"]> export type CredentialSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean name?: boolean value?: boolean }, ExtArgs["result"]["credential"]> export type CredentialSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean name?: boolean value?: boolean } export type CredentialOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "name" | "value", ExtArgs["result"]["credential"]> export type $CredentialPayload = { name: "Credential" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date name: string value: runtime.JsonValue }, 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" /** * 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 createdAt: Prisma.FieldRef<"Credential", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Credential", 'DateTime'> readonly name: Prisma.FieldRef<"Credential", 'String'> readonly value: Prisma.FieldRef<"Credential", 'Json'> } // 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 /** * 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 /** * 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 /** * 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 /** * 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 /** * 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 /** * {@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 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 /** * 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 } /** * 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 /** * 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 } /** * 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 /** * 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 /** * 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 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 }