/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `SyncLog` 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" import type * as Prisma from "../internal/prismaNamespace" /** * Model SyncLog * */ export type SyncLogModel = runtime.Types.Result.DefaultSelection export type AggregateSyncLog = { _count: SyncLogCountAggregateOutputType | null _avg: SyncLogAvgAggregateOutputType | null _sum: SyncLogSumAggregateOutputType | null _min: SyncLogMinAggregateOutputType | null _max: SyncLogMaxAggregateOutputType | null } export type SyncLogAvgAggregateOutputType = { filesProcessed: number | null sessionsAdded: number | null sessionsSkipped: number | null } export type SyncLogSumAggregateOutputType = { filesProcessed: number | null sessionsAdded: number | null sessionsSkipped: number | null } export type SyncLogMinAggregateOutputType = { id: string | null syncedAt: Date | null filesProcessed: number | null sessionsAdded: number | null sessionsSkipped: number | null } export type SyncLogMaxAggregateOutputType = { id: string | null syncedAt: Date | null filesProcessed: number | null sessionsAdded: number | null sessionsSkipped: number | null } export type SyncLogCountAggregateOutputType = { id: number syncedAt: number filesProcessed: number sessionsAdded: number sessionsSkipped: number _all: number } export type SyncLogAvgAggregateInputType = { filesProcessed?: true sessionsAdded?: true sessionsSkipped?: true } export type SyncLogSumAggregateInputType = { filesProcessed?: true sessionsAdded?: true sessionsSkipped?: true } export type SyncLogMinAggregateInputType = { id?: true syncedAt?: true filesProcessed?: true sessionsAdded?: true sessionsSkipped?: true } export type SyncLogMaxAggregateInputType = { id?: true syncedAt?: true filesProcessed?: true sessionsAdded?: true sessionsSkipped?: true } export type SyncLogCountAggregateInputType = { id?: true syncedAt?: true filesProcessed?: true sessionsAdded?: true sessionsSkipped?: true _all?: true } export type SyncLogAggregateArgs = { /** * Filter which SyncLog to aggregate. */ where?: Prisma.SyncLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SyncLogs to fetch. */ orderBy?: Prisma.SyncLogOrderByWithRelationInput | Prisma.SyncLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.SyncLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SyncLogs 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` SyncLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SyncLogs **/ _count?: true | SyncLogCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SyncLogAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SyncLogSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SyncLogMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SyncLogMaxAggregateInputType } export type GetSyncLogAggregateType = { [P in keyof T & keyof AggregateSyncLog]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type SyncLogGroupByArgs = { where?: Prisma.SyncLogWhereInput orderBy?: Prisma.SyncLogOrderByWithAggregationInput | Prisma.SyncLogOrderByWithAggregationInput[] by: Prisma.SyncLogScalarFieldEnum[] | Prisma.SyncLogScalarFieldEnum having?: Prisma.SyncLogScalarWhereWithAggregatesInput take?: number skip?: number _count?: SyncLogCountAggregateInputType | true _avg?: SyncLogAvgAggregateInputType _sum?: SyncLogSumAggregateInputType _min?: SyncLogMinAggregateInputType _max?: SyncLogMaxAggregateInputType } export type SyncLogGroupByOutputType = { id: string syncedAt: Date filesProcessed: number sessionsAdded: number sessionsSkipped: number _count: SyncLogCountAggregateOutputType | null _avg: SyncLogAvgAggregateOutputType | null _sum: SyncLogSumAggregateOutputType | null _min: SyncLogMinAggregateOutputType | null _max: SyncLogMaxAggregateOutputType | null } export type GetSyncLogGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SyncLogGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type SyncLogWhereInput = { AND?: Prisma.SyncLogWhereInput | Prisma.SyncLogWhereInput[] OR?: Prisma.SyncLogWhereInput[] NOT?: Prisma.SyncLogWhereInput | Prisma.SyncLogWhereInput[] id?: Prisma.StringFilter<"SyncLog"> | string syncedAt?: Prisma.DateTimeFilter<"SyncLog"> | Date | string filesProcessed?: Prisma.IntFilter<"SyncLog"> | number sessionsAdded?: Prisma.IntFilter<"SyncLog"> | number sessionsSkipped?: Prisma.IntFilter<"SyncLog"> | number } export type SyncLogOrderByWithRelationInput = { id?: Prisma.SortOrder syncedAt?: Prisma.SortOrder filesProcessed?: Prisma.SortOrder sessionsAdded?: Prisma.SortOrder sessionsSkipped?: Prisma.SortOrder } export type SyncLogWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.SyncLogWhereInput | Prisma.SyncLogWhereInput[] OR?: Prisma.SyncLogWhereInput[] NOT?: Prisma.SyncLogWhereInput | Prisma.SyncLogWhereInput[] syncedAt?: Prisma.DateTimeFilter<"SyncLog"> | Date | string filesProcessed?: Prisma.IntFilter<"SyncLog"> | number sessionsAdded?: Prisma.IntFilter<"SyncLog"> | number sessionsSkipped?: Prisma.IntFilter<"SyncLog"> | number }, "id"> export type SyncLogOrderByWithAggregationInput = { id?: Prisma.SortOrder syncedAt?: Prisma.SortOrder filesProcessed?: Prisma.SortOrder sessionsAdded?: Prisma.SortOrder sessionsSkipped?: Prisma.SortOrder _count?: Prisma.SyncLogCountOrderByAggregateInput _avg?: Prisma.SyncLogAvgOrderByAggregateInput _max?: Prisma.SyncLogMaxOrderByAggregateInput _min?: Prisma.SyncLogMinOrderByAggregateInput _sum?: Prisma.SyncLogSumOrderByAggregateInput } export type SyncLogScalarWhereWithAggregatesInput = { AND?: Prisma.SyncLogScalarWhereWithAggregatesInput | Prisma.SyncLogScalarWhereWithAggregatesInput[] OR?: Prisma.SyncLogScalarWhereWithAggregatesInput[] NOT?: Prisma.SyncLogScalarWhereWithAggregatesInput | Prisma.SyncLogScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"SyncLog"> | string syncedAt?: Prisma.DateTimeWithAggregatesFilter<"SyncLog"> | Date | string filesProcessed?: Prisma.IntWithAggregatesFilter<"SyncLog"> | number sessionsAdded?: Prisma.IntWithAggregatesFilter<"SyncLog"> | number sessionsSkipped?: Prisma.IntWithAggregatesFilter<"SyncLog"> | number } export type SyncLogCreateInput = { id?: string syncedAt?: Date | string filesProcessed: number sessionsAdded: number sessionsSkipped: number } export type SyncLogUncheckedCreateInput = { id?: string syncedAt?: Date | string filesProcessed: number sessionsAdded: number sessionsSkipped: number } export type SyncLogUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string syncedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string filesProcessed?: Prisma.IntFieldUpdateOperationsInput | number sessionsAdded?: Prisma.IntFieldUpdateOperationsInput | number sessionsSkipped?: Prisma.IntFieldUpdateOperationsInput | number } export type SyncLogUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string syncedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string filesProcessed?: Prisma.IntFieldUpdateOperationsInput | number sessionsAdded?: Prisma.IntFieldUpdateOperationsInput | number sessionsSkipped?: Prisma.IntFieldUpdateOperationsInput | number } export type SyncLogCreateManyInput = { id?: string syncedAt?: Date | string filesProcessed: number sessionsAdded: number sessionsSkipped: number } export type SyncLogUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string syncedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string filesProcessed?: Prisma.IntFieldUpdateOperationsInput | number sessionsAdded?: Prisma.IntFieldUpdateOperationsInput | number sessionsSkipped?: Prisma.IntFieldUpdateOperationsInput | number } export type SyncLogUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string syncedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string filesProcessed?: Prisma.IntFieldUpdateOperationsInput | number sessionsAdded?: Prisma.IntFieldUpdateOperationsInput | number sessionsSkipped?: Prisma.IntFieldUpdateOperationsInput | number } export type SyncLogCountOrderByAggregateInput = { id?: Prisma.SortOrder syncedAt?: Prisma.SortOrder filesProcessed?: Prisma.SortOrder sessionsAdded?: Prisma.SortOrder sessionsSkipped?: Prisma.SortOrder } export type SyncLogAvgOrderByAggregateInput = { filesProcessed?: Prisma.SortOrder sessionsAdded?: Prisma.SortOrder sessionsSkipped?: Prisma.SortOrder } export type SyncLogMaxOrderByAggregateInput = { id?: Prisma.SortOrder syncedAt?: Prisma.SortOrder filesProcessed?: Prisma.SortOrder sessionsAdded?: Prisma.SortOrder sessionsSkipped?: Prisma.SortOrder } export type SyncLogMinOrderByAggregateInput = { id?: Prisma.SortOrder syncedAt?: Prisma.SortOrder filesProcessed?: Prisma.SortOrder sessionsAdded?: Prisma.SortOrder sessionsSkipped?: Prisma.SortOrder } export type SyncLogSumOrderByAggregateInput = { filesProcessed?: Prisma.SortOrder sessionsAdded?: Prisma.SortOrder sessionsSkipped?: Prisma.SortOrder } export type SyncLogSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean syncedAt?: boolean filesProcessed?: boolean sessionsAdded?: boolean sessionsSkipped?: boolean }, ExtArgs["result"]["syncLog"]> export type SyncLogSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean syncedAt?: boolean filesProcessed?: boolean sessionsAdded?: boolean sessionsSkipped?: boolean }, ExtArgs["result"]["syncLog"]> export type SyncLogSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean syncedAt?: boolean filesProcessed?: boolean sessionsAdded?: boolean sessionsSkipped?: boolean }, ExtArgs["result"]["syncLog"]> export type SyncLogSelectScalar = { id?: boolean syncedAt?: boolean filesProcessed?: boolean sessionsAdded?: boolean sessionsSkipped?: boolean } export type SyncLogOmit = runtime.Types.Extensions.GetOmit<"id" | "syncedAt" | "filesProcessed" | "sessionsAdded" | "sessionsSkipped", ExtArgs["result"]["syncLog"]> export type $SyncLogPayload = { name: "SyncLog" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string syncedAt: Date filesProcessed: number sessionsAdded: number sessionsSkipped: number }, ExtArgs["result"]["syncLog"]> composites: {} } export type SyncLogGetPayload = runtime.Types.Result.GetResult export type SyncLogCountArgs = Omit & { select?: SyncLogCountAggregateInputType | true } export interface SyncLogDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SyncLog'], meta: { name: 'SyncLog' } } /** * Find zero or one SyncLog that matches the filter. * @param {SyncLogFindUniqueArgs} args - Arguments to find a SyncLog * @example * // Get one SyncLog * const syncLog = await prisma.syncLog.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SyncLogClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SyncLog that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SyncLogFindUniqueOrThrowArgs} args - Arguments to find a SyncLog * @example * // Get one SyncLog * const syncLog = await prisma.syncLog.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SyncLogClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SyncLog 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 {SyncLogFindFirstArgs} args - Arguments to find a SyncLog * @example * // Get one SyncLog * const syncLog = await prisma.syncLog.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SyncLogClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SyncLog 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 {SyncLogFindFirstOrThrowArgs} args - Arguments to find a SyncLog * @example * // Get one SyncLog * const syncLog = await prisma.syncLog.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SyncLogClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SyncLogs 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 {SyncLogFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SyncLogs * const syncLogs = await prisma.syncLog.findMany() * * // Get first 10 SyncLogs * const syncLogs = await prisma.syncLog.findMany({ take: 10 }) * * // Only select the `id` * const syncLogWithIdOnly = await prisma.syncLog.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a SyncLog. * @param {SyncLogCreateArgs} args - Arguments to create a SyncLog. * @example * // Create one SyncLog * const SyncLog = await prisma.syncLog.create({ * data: { * // ... data to create a SyncLog * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__SyncLogClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SyncLogs. * @param {SyncLogCreateManyArgs} args - Arguments to create many SyncLogs. * @example * // Create many SyncLogs * const syncLog = await prisma.syncLog.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many SyncLogs and returns the data saved in the database. * @param {SyncLogCreateManyAndReturnArgs} args - Arguments to create many SyncLogs. * @example * // Create many SyncLogs * const syncLog = await prisma.syncLog.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SyncLogs and only return the `id` * const syncLogWithIdOnly = await prisma.syncLog.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 SyncLog. * @param {SyncLogDeleteArgs} args - Arguments to delete one SyncLog. * @example * // Delete one SyncLog * const SyncLog = await prisma.syncLog.delete({ * where: { * // ... filter to delete one SyncLog * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__SyncLogClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SyncLog. * @param {SyncLogUpdateArgs} args - Arguments to update one SyncLog. * @example * // Update one SyncLog * const syncLog = await prisma.syncLog.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__SyncLogClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SyncLogs. * @param {SyncLogDeleteManyArgs} args - Arguments to filter SyncLogs to delete. * @example * // Delete a few SyncLogs * const { count } = await prisma.syncLog.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SyncLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SyncLogUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SyncLogs * const syncLog = await prisma.syncLog.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SyncLogs and returns the data updated in the database. * @param {SyncLogUpdateManyAndReturnArgs} args - Arguments to update many SyncLogs. * @example * // Update many SyncLogs * const syncLog = await prisma.syncLog.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SyncLogs and only return the `id` * const syncLogWithIdOnly = await prisma.syncLog.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 SyncLog. * @param {SyncLogUpsertArgs} args - Arguments to update or create a SyncLog. * @example * // Update or create a SyncLog * const syncLog = await prisma.syncLog.upsert({ * create: { * // ... data to create a SyncLog * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SyncLog we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SyncLogClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SyncLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SyncLogCountArgs} args - Arguments to filter SyncLogs to count. * @example * // Count the number of SyncLogs * const count = await prisma.syncLog.count({ * where: { * // ... the filter for the SyncLogs 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 SyncLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SyncLogAggregateArgs} 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 SyncLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SyncLogGroupByArgs} 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 SyncLogGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: SyncLogGroupByArgs['orderBy'] } : { orderBy?: SyncLogGroupByArgs['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 ? GetSyncLogGroupByPayload : Prisma.PrismaPromise /** * Fields of the SyncLog model */ readonly fields: SyncLogFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SyncLog. * 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__SyncLogClient 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 SyncLog model */ export interface SyncLogFieldRefs { readonly id: Prisma.FieldRef<"SyncLog", 'String'> readonly syncedAt: Prisma.FieldRef<"SyncLog", 'DateTime'> readonly filesProcessed: Prisma.FieldRef<"SyncLog", 'Int'> readonly sessionsAdded: Prisma.FieldRef<"SyncLog", 'Int'> readonly sessionsSkipped: Prisma.FieldRef<"SyncLog", 'Int'> } // Custom InputTypes /** * SyncLog findUnique */ export type SyncLogFindUniqueArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelect | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * Filter, which SyncLog to fetch. */ where: Prisma.SyncLogWhereUniqueInput } /** * SyncLog findUniqueOrThrow */ export type SyncLogFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelect | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * Filter, which SyncLog to fetch. */ where: Prisma.SyncLogWhereUniqueInput } /** * SyncLog findFirst */ export type SyncLogFindFirstArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelect | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * Filter, which SyncLog to fetch. */ where?: Prisma.SyncLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SyncLogs to fetch. */ orderBy?: Prisma.SyncLogOrderByWithRelationInput | Prisma.SyncLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SyncLogs. */ cursor?: Prisma.SyncLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SyncLogs 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` SyncLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SyncLogs. */ distinct?: Prisma.SyncLogScalarFieldEnum | Prisma.SyncLogScalarFieldEnum[] } /** * SyncLog findFirstOrThrow */ export type SyncLogFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelect | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * Filter, which SyncLog to fetch. */ where?: Prisma.SyncLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SyncLogs to fetch. */ orderBy?: Prisma.SyncLogOrderByWithRelationInput | Prisma.SyncLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SyncLogs. */ cursor?: Prisma.SyncLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SyncLogs 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` SyncLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SyncLogs. */ distinct?: Prisma.SyncLogScalarFieldEnum | Prisma.SyncLogScalarFieldEnum[] } /** * SyncLog findMany */ export type SyncLogFindManyArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelect | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * Filter, which SyncLogs to fetch. */ where?: Prisma.SyncLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SyncLogs to fetch. */ orderBy?: Prisma.SyncLogOrderByWithRelationInput | Prisma.SyncLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SyncLogs. */ cursor?: Prisma.SyncLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SyncLogs 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` SyncLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SyncLogs. */ distinct?: Prisma.SyncLogScalarFieldEnum | Prisma.SyncLogScalarFieldEnum[] } /** * SyncLog create */ export type SyncLogCreateArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelect | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * The data needed to create a SyncLog. */ data: Prisma.XOR } /** * SyncLog createMany */ export type SyncLogCreateManyArgs = { /** * The data used to create many SyncLogs. */ data: Prisma.SyncLogCreateManyInput | Prisma.SyncLogCreateManyInput[] } /** * SyncLog createManyAndReturn */ export type SyncLogCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelectCreateManyAndReturn | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * The data used to create many SyncLogs. */ data: Prisma.SyncLogCreateManyInput | Prisma.SyncLogCreateManyInput[] } /** * SyncLog update */ export type SyncLogUpdateArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelect | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * The data needed to update a SyncLog. */ data: Prisma.XOR /** * Choose, which SyncLog to update. */ where: Prisma.SyncLogWhereUniqueInput } /** * SyncLog updateMany */ export type SyncLogUpdateManyArgs = { /** * The data used to update SyncLogs. */ data: Prisma.XOR /** * Filter which SyncLogs to update */ where?: Prisma.SyncLogWhereInput /** * Limit how many SyncLogs to update. */ limit?: number } /** * SyncLog updateManyAndReturn */ export type SyncLogUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelectUpdateManyAndReturn | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * The data used to update SyncLogs. */ data: Prisma.XOR /** * Filter which SyncLogs to update */ where?: Prisma.SyncLogWhereInput /** * Limit how many SyncLogs to update. */ limit?: number } /** * SyncLog upsert */ export type SyncLogUpsertArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelect | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * The filter to search for the SyncLog to update in case it exists. */ where: Prisma.SyncLogWhereUniqueInput /** * In case the SyncLog found by the `where` argument doesn't exist, create a new SyncLog with this data. */ create: Prisma.XOR /** * In case the SyncLog was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * SyncLog delete */ export type SyncLogDeleteArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelect | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null /** * Filter which SyncLog to delete. */ where: Prisma.SyncLogWhereUniqueInput } /** * SyncLog deleteMany */ export type SyncLogDeleteManyArgs = { /** * Filter which SyncLogs to delete */ where?: Prisma.SyncLogWhereInput /** * Limit how many SyncLogs to delete. */ limit?: number } /** * SyncLog without action */ export type SyncLogDefaultArgs = { /** * Select specific fields to fetch from the SyncLog */ select?: Prisma.SyncLogSelect | null /** * Omit specific fields from the SyncLog */ omit?: Prisma.SyncLogOmit | null }