@app-vitals/agent-admin 1.113.0 → 1.113.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1249 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * This file exports the `UserPrefs` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums.ts"
13
+ import type * as Prisma from "../internal/prismaNamespace.ts"
14
+
15
+ /**
16
+ * Model UserPrefs
17
+ *
18
+ */
19
+ export type UserPrefsModel = runtime.Types.Result.DefaultSelection<Prisma.$UserPrefsPayload>
20
+
21
+ export type AggregateUserPrefs = {
22
+ _count: UserPrefsCountAggregateOutputType | null
23
+ _avg: UserPrefsAvgAggregateOutputType | null
24
+ _sum: UserPrefsSumAggregateOutputType | null
25
+ _min: UserPrefsMinAggregateOutputType | null
26
+ _max: UserPrefsMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type UserPrefsAvgAggregateOutputType = {
30
+ reminderHourLocal: number | null
31
+ }
32
+
33
+ export type UserPrefsSumAggregateOutputType = {
34
+ reminderHourLocal: number | null
35
+ }
36
+
37
+ export type UserPrefsMinAggregateOutputType = {
38
+ memberId: string | null
39
+ timezone: string | null
40
+ autoFollowSessions: boolean | null
41
+ reminderHourLocal: number | null
42
+ autoFollowSince: Date | null
43
+ createdAt: Date | null
44
+ updatedAt: Date | null
45
+ }
46
+
47
+ export type UserPrefsMaxAggregateOutputType = {
48
+ memberId: string | null
49
+ timezone: string | null
50
+ autoFollowSessions: boolean | null
51
+ reminderHourLocal: number | null
52
+ autoFollowSince: Date | null
53
+ createdAt: Date | null
54
+ updatedAt: Date | null
55
+ }
56
+
57
+ export type UserPrefsCountAggregateOutputType = {
58
+ memberId: number
59
+ timezone: number
60
+ autoFollowSessions: number
61
+ reminderHourLocal: number
62
+ autoFollowSince: number
63
+ createdAt: number
64
+ updatedAt: number
65
+ _all: number
66
+ }
67
+
68
+
69
+ export type UserPrefsAvgAggregateInputType = {
70
+ reminderHourLocal?: true
71
+ }
72
+
73
+ export type UserPrefsSumAggregateInputType = {
74
+ reminderHourLocal?: true
75
+ }
76
+
77
+ export type UserPrefsMinAggregateInputType = {
78
+ memberId?: true
79
+ timezone?: true
80
+ autoFollowSessions?: true
81
+ reminderHourLocal?: true
82
+ autoFollowSince?: true
83
+ createdAt?: true
84
+ updatedAt?: true
85
+ }
86
+
87
+ export type UserPrefsMaxAggregateInputType = {
88
+ memberId?: true
89
+ timezone?: true
90
+ autoFollowSessions?: true
91
+ reminderHourLocal?: true
92
+ autoFollowSince?: true
93
+ createdAt?: true
94
+ updatedAt?: true
95
+ }
96
+
97
+ export type UserPrefsCountAggregateInputType = {
98
+ memberId?: true
99
+ timezone?: true
100
+ autoFollowSessions?: true
101
+ reminderHourLocal?: true
102
+ autoFollowSince?: true
103
+ createdAt?: true
104
+ updatedAt?: true
105
+ _all?: true
106
+ }
107
+
108
+ export type UserPrefsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
109
+ /**
110
+ * Filter which UserPrefs to aggregate.
111
+ */
112
+ where?: Prisma.UserPrefsWhereInput
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
115
+ *
116
+ * Determine the order of UserPrefs to fetch.
117
+ */
118
+ orderBy?: Prisma.UserPrefsOrderByWithRelationInput | Prisma.UserPrefsOrderByWithRelationInput[]
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
121
+ *
122
+ * Sets the start position
123
+ */
124
+ cursor?: Prisma.UserPrefsWhereUniqueInput
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
127
+ *
128
+ * Take `±n` UserPrefs from the position of the cursor.
129
+ */
130
+ take?: number
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
133
+ *
134
+ * Skip the first `n` UserPrefs.
135
+ */
136
+ skip?: number
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
139
+ *
140
+ * Count returned UserPrefs
141
+ **/
142
+ _count?: true | UserPrefsCountAggregateInputType
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
145
+ *
146
+ * Select which fields to average
147
+ **/
148
+ _avg?: UserPrefsAvgAggregateInputType
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
+ *
152
+ * Select which fields to sum
153
+ **/
154
+ _sum?: UserPrefsSumAggregateInputType
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
+ *
158
+ * Select which fields to find the minimum value
159
+ **/
160
+ _min?: UserPrefsMinAggregateInputType
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
+ *
164
+ * Select which fields to find the maximum value
165
+ **/
166
+ _max?: UserPrefsMaxAggregateInputType
167
+ }
168
+
169
+ export type GetUserPrefsAggregateType<T extends UserPrefsAggregateArgs> = {
170
+ [P in keyof T & keyof AggregateUserPrefs]: P extends '_count' | 'count'
171
+ ? T[P] extends true
172
+ ? number
173
+ : Prisma.GetScalarType<T[P], AggregateUserPrefs[P]>
174
+ : Prisma.GetScalarType<T[P], AggregateUserPrefs[P]>
175
+ }
176
+
177
+
178
+
179
+
180
+ export type UserPrefsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
181
+ where?: Prisma.UserPrefsWhereInput
182
+ orderBy?: Prisma.UserPrefsOrderByWithAggregationInput | Prisma.UserPrefsOrderByWithAggregationInput[]
183
+ by: Prisma.UserPrefsScalarFieldEnum[] | Prisma.UserPrefsScalarFieldEnum
184
+ having?: Prisma.UserPrefsScalarWhereWithAggregatesInput
185
+ take?: number
186
+ skip?: number
187
+ _count?: UserPrefsCountAggregateInputType | true
188
+ _avg?: UserPrefsAvgAggregateInputType
189
+ _sum?: UserPrefsSumAggregateInputType
190
+ _min?: UserPrefsMinAggregateInputType
191
+ _max?: UserPrefsMaxAggregateInputType
192
+ }
193
+
194
+ export type UserPrefsGroupByOutputType = {
195
+ memberId: string
196
+ timezone: string | null
197
+ autoFollowSessions: boolean
198
+ reminderHourLocal: number
199
+ autoFollowSince: Date | null
200
+ createdAt: Date
201
+ updatedAt: Date
202
+ _count: UserPrefsCountAggregateOutputType | null
203
+ _avg: UserPrefsAvgAggregateOutputType | null
204
+ _sum: UserPrefsSumAggregateOutputType | null
205
+ _min: UserPrefsMinAggregateOutputType | null
206
+ _max: UserPrefsMaxAggregateOutputType | null
207
+ }
208
+
209
+ export type GetUserPrefsGroupByPayload<T extends UserPrefsGroupByArgs> = Prisma.PrismaPromise<
210
+ Array<
211
+ Prisma.PickEnumerable<UserPrefsGroupByOutputType, T['by']> &
212
+ {
213
+ [P in ((keyof T) & (keyof UserPrefsGroupByOutputType))]: P extends '_count'
214
+ ? T[P] extends boolean
215
+ ? number
216
+ : Prisma.GetScalarType<T[P], UserPrefsGroupByOutputType[P]>
217
+ : Prisma.GetScalarType<T[P], UserPrefsGroupByOutputType[P]>
218
+ }
219
+ >
220
+ >
221
+
222
+
223
+
224
+ export type UserPrefsWhereInput = {
225
+ AND?: Prisma.UserPrefsWhereInput | Prisma.UserPrefsWhereInput[]
226
+ OR?: Prisma.UserPrefsWhereInput[]
227
+ NOT?: Prisma.UserPrefsWhereInput | Prisma.UserPrefsWhereInput[]
228
+ memberId?: Prisma.StringFilter<"UserPrefs"> | string
229
+ timezone?: Prisma.StringNullableFilter<"UserPrefs"> | string | null
230
+ autoFollowSessions?: Prisma.BoolFilter<"UserPrefs"> | boolean
231
+ reminderHourLocal?: Prisma.IntFilter<"UserPrefs"> | number
232
+ autoFollowSince?: Prisma.DateTimeNullableFilter<"UserPrefs"> | Date | string | null
233
+ createdAt?: Prisma.DateTimeFilter<"UserPrefs"> | Date | string
234
+ updatedAt?: Prisma.DateTimeFilter<"UserPrefs"> | Date | string
235
+ }
236
+
237
+ export type UserPrefsOrderByWithRelationInput = {
238
+ memberId?: Prisma.SortOrder
239
+ timezone?: Prisma.SortOrderInput | Prisma.SortOrder
240
+ autoFollowSessions?: Prisma.SortOrder
241
+ reminderHourLocal?: Prisma.SortOrder
242
+ autoFollowSince?: Prisma.SortOrderInput | Prisma.SortOrder
243
+ createdAt?: Prisma.SortOrder
244
+ updatedAt?: Prisma.SortOrder
245
+ }
246
+
247
+ export type UserPrefsWhereUniqueInput = Prisma.AtLeast<{
248
+ memberId?: string
249
+ AND?: Prisma.UserPrefsWhereInput | Prisma.UserPrefsWhereInput[]
250
+ OR?: Prisma.UserPrefsWhereInput[]
251
+ NOT?: Prisma.UserPrefsWhereInput | Prisma.UserPrefsWhereInput[]
252
+ timezone?: Prisma.StringNullableFilter<"UserPrefs"> | string | null
253
+ autoFollowSessions?: Prisma.BoolFilter<"UserPrefs"> | boolean
254
+ reminderHourLocal?: Prisma.IntFilter<"UserPrefs"> | number
255
+ autoFollowSince?: Prisma.DateTimeNullableFilter<"UserPrefs"> | Date | string | null
256
+ createdAt?: Prisma.DateTimeFilter<"UserPrefs"> | Date | string
257
+ updatedAt?: Prisma.DateTimeFilter<"UserPrefs"> | Date | string
258
+ }, "memberId">
259
+
260
+ export type UserPrefsOrderByWithAggregationInput = {
261
+ memberId?: Prisma.SortOrder
262
+ timezone?: Prisma.SortOrderInput | Prisma.SortOrder
263
+ autoFollowSessions?: Prisma.SortOrder
264
+ reminderHourLocal?: Prisma.SortOrder
265
+ autoFollowSince?: Prisma.SortOrderInput | Prisma.SortOrder
266
+ createdAt?: Prisma.SortOrder
267
+ updatedAt?: Prisma.SortOrder
268
+ _count?: Prisma.UserPrefsCountOrderByAggregateInput
269
+ _avg?: Prisma.UserPrefsAvgOrderByAggregateInput
270
+ _max?: Prisma.UserPrefsMaxOrderByAggregateInput
271
+ _min?: Prisma.UserPrefsMinOrderByAggregateInput
272
+ _sum?: Prisma.UserPrefsSumOrderByAggregateInput
273
+ }
274
+
275
+ export type UserPrefsScalarWhereWithAggregatesInput = {
276
+ AND?: Prisma.UserPrefsScalarWhereWithAggregatesInput | Prisma.UserPrefsScalarWhereWithAggregatesInput[]
277
+ OR?: Prisma.UserPrefsScalarWhereWithAggregatesInput[]
278
+ NOT?: Prisma.UserPrefsScalarWhereWithAggregatesInput | Prisma.UserPrefsScalarWhereWithAggregatesInput[]
279
+ memberId?: Prisma.StringWithAggregatesFilter<"UserPrefs"> | string
280
+ timezone?: Prisma.StringNullableWithAggregatesFilter<"UserPrefs"> | string | null
281
+ autoFollowSessions?: Prisma.BoolWithAggregatesFilter<"UserPrefs"> | boolean
282
+ reminderHourLocal?: Prisma.IntWithAggregatesFilter<"UserPrefs"> | number
283
+ autoFollowSince?: Prisma.DateTimeNullableWithAggregatesFilter<"UserPrefs"> | Date | string | null
284
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"UserPrefs"> | Date | string
285
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UserPrefs"> | Date | string
286
+ }
287
+
288
+ export type UserPrefsCreateInput = {
289
+ memberId: string
290
+ timezone?: string | null
291
+ autoFollowSessions?: boolean
292
+ reminderHourLocal?: number
293
+ autoFollowSince?: Date | string | null
294
+ createdAt?: Date | string
295
+ updatedAt?: Date | string
296
+ }
297
+
298
+ export type UserPrefsUncheckedCreateInput = {
299
+ memberId: string
300
+ timezone?: string | null
301
+ autoFollowSessions?: boolean
302
+ reminderHourLocal?: number
303
+ autoFollowSince?: Date | string | null
304
+ createdAt?: Date | string
305
+ updatedAt?: Date | string
306
+ }
307
+
308
+ export type UserPrefsUpdateInput = {
309
+ memberId?: Prisma.StringFieldUpdateOperationsInput | string
310
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
311
+ autoFollowSessions?: Prisma.BoolFieldUpdateOperationsInput | boolean
312
+ reminderHourLocal?: Prisma.IntFieldUpdateOperationsInput | number
313
+ autoFollowSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
314
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
315
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
316
+ }
317
+
318
+ export type UserPrefsUncheckedUpdateInput = {
319
+ memberId?: Prisma.StringFieldUpdateOperationsInput | string
320
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
321
+ autoFollowSessions?: Prisma.BoolFieldUpdateOperationsInput | boolean
322
+ reminderHourLocal?: Prisma.IntFieldUpdateOperationsInput | number
323
+ autoFollowSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
324
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
325
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
326
+ }
327
+
328
+ export type UserPrefsCreateManyInput = {
329
+ memberId: string
330
+ timezone?: string | null
331
+ autoFollowSessions?: boolean
332
+ reminderHourLocal?: number
333
+ autoFollowSince?: Date | string | null
334
+ createdAt?: Date | string
335
+ updatedAt?: Date | string
336
+ }
337
+
338
+ export type UserPrefsUpdateManyMutationInput = {
339
+ memberId?: Prisma.StringFieldUpdateOperationsInput | string
340
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
341
+ autoFollowSessions?: Prisma.BoolFieldUpdateOperationsInput | boolean
342
+ reminderHourLocal?: Prisma.IntFieldUpdateOperationsInput | number
343
+ autoFollowSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
344
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
345
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
346
+ }
347
+
348
+ export type UserPrefsUncheckedUpdateManyInput = {
349
+ memberId?: Prisma.StringFieldUpdateOperationsInput | string
350
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
351
+ autoFollowSessions?: Prisma.BoolFieldUpdateOperationsInput | boolean
352
+ reminderHourLocal?: Prisma.IntFieldUpdateOperationsInput | number
353
+ autoFollowSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
354
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
355
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
356
+ }
357
+
358
+ export type UserPrefsCountOrderByAggregateInput = {
359
+ memberId?: Prisma.SortOrder
360
+ timezone?: Prisma.SortOrder
361
+ autoFollowSessions?: Prisma.SortOrder
362
+ reminderHourLocal?: Prisma.SortOrder
363
+ autoFollowSince?: Prisma.SortOrder
364
+ createdAt?: Prisma.SortOrder
365
+ updatedAt?: Prisma.SortOrder
366
+ }
367
+
368
+ export type UserPrefsAvgOrderByAggregateInput = {
369
+ reminderHourLocal?: Prisma.SortOrder
370
+ }
371
+
372
+ export type UserPrefsMaxOrderByAggregateInput = {
373
+ memberId?: Prisma.SortOrder
374
+ timezone?: Prisma.SortOrder
375
+ autoFollowSessions?: Prisma.SortOrder
376
+ reminderHourLocal?: Prisma.SortOrder
377
+ autoFollowSince?: Prisma.SortOrder
378
+ createdAt?: Prisma.SortOrder
379
+ updatedAt?: Prisma.SortOrder
380
+ }
381
+
382
+ export type UserPrefsMinOrderByAggregateInput = {
383
+ memberId?: Prisma.SortOrder
384
+ timezone?: Prisma.SortOrder
385
+ autoFollowSessions?: Prisma.SortOrder
386
+ reminderHourLocal?: Prisma.SortOrder
387
+ autoFollowSince?: Prisma.SortOrder
388
+ createdAt?: Prisma.SortOrder
389
+ updatedAt?: Prisma.SortOrder
390
+ }
391
+
392
+ export type UserPrefsSumOrderByAggregateInput = {
393
+ reminderHourLocal?: Prisma.SortOrder
394
+ }
395
+
396
+
397
+
398
+ export type UserPrefsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
399
+ memberId?: boolean
400
+ timezone?: boolean
401
+ autoFollowSessions?: boolean
402
+ reminderHourLocal?: boolean
403
+ autoFollowSince?: boolean
404
+ createdAt?: boolean
405
+ updatedAt?: boolean
406
+ }, ExtArgs["result"]["userPrefs"]>
407
+
408
+ export type UserPrefsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
409
+ memberId?: boolean
410
+ timezone?: boolean
411
+ autoFollowSessions?: boolean
412
+ reminderHourLocal?: boolean
413
+ autoFollowSince?: boolean
414
+ createdAt?: boolean
415
+ updatedAt?: boolean
416
+ }, ExtArgs["result"]["userPrefs"]>
417
+
418
+ export type UserPrefsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
419
+ memberId?: boolean
420
+ timezone?: boolean
421
+ autoFollowSessions?: boolean
422
+ reminderHourLocal?: boolean
423
+ autoFollowSince?: boolean
424
+ createdAt?: boolean
425
+ updatedAt?: boolean
426
+ }, ExtArgs["result"]["userPrefs"]>
427
+
428
+ export type UserPrefsSelectScalar = {
429
+ memberId?: boolean
430
+ timezone?: boolean
431
+ autoFollowSessions?: boolean
432
+ reminderHourLocal?: boolean
433
+ autoFollowSince?: boolean
434
+ createdAt?: boolean
435
+ updatedAt?: boolean
436
+ }
437
+
438
+ export type UserPrefsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"memberId" | "timezone" | "autoFollowSessions" | "reminderHourLocal" | "autoFollowSince" | "createdAt" | "updatedAt", ExtArgs["result"]["userPrefs"]>
439
+
440
+ export type $UserPrefsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
441
+ name: "UserPrefs"
442
+ objects: {}
443
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
444
+ memberId: string
445
+ timezone: string | null
446
+ autoFollowSessions: boolean
447
+ reminderHourLocal: number
448
+ autoFollowSince: Date | null
449
+ createdAt: Date
450
+ updatedAt: Date
451
+ }, ExtArgs["result"]["userPrefs"]>
452
+ composites: {}
453
+ }
454
+
455
+ export type UserPrefsGetPayload<S extends boolean | null | undefined | UserPrefsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload, S>
456
+
457
+ export type UserPrefsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
458
+ Omit<UserPrefsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
459
+ select?: UserPrefsCountAggregateInputType | true
460
+ }
461
+
462
+ export interface UserPrefsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
463
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserPrefs'], meta: { name: 'UserPrefs' } }
464
+ /**
465
+ * Find zero or one UserPrefs that matches the filter.
466
+ * @param {UserPrefsFindUniqueArgs} args - Arguments to find a UserPrefs
467
+ * @example
468
+ * // Get one UserPrefs
469
+ * const userPrefs = await prisma.userPrefs.findUnique({
470
+ * where: {
471
+ * // ... provide filter here
472
+ * }
473
+ * })
474
+ */
475
+ findUnique<T extends UserPrefsFindUniqueArgs>(args: Prisma.SelectSubset<T, UserPrefsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__UserPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
476
+
477
+ /**
478
+ * Find one UserPrefs that matches the filter or throw an error with `error.code='P2025'`
479
+ * if no matches were found.
480
+ * @param {UserPrefsFindUniqueOrThrowArgs} args - Arguments to find a UserPrefs
481
+ * @example
482
+ * // Get one UserPrefs
483
+ * const userPrefs = await prisma.userPrefs.findUniqueOrThrow({
484
+ * where: {
485
+ * // ... provide filter here
486
+ * }
487
+ * })
488
+ */
489
+ findUniqueOrThrow<T extends UserPrefsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, UserPrefsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
490
+
491
+ /**
492
+ * Find the first UserPrefs that matches the filter.
493
+ * Note, that providing `undefined` is treated as the value not being there.
494
+ * Read more here: https://pris.ly/d/null-undefined
495
+ * @param {UserPrefsFindFirstArgs} args - Arguments to find a UserPrefs
496
+ * @example
497
+ * // Get one UserPrefs
498
+ * const userPrefs = await prisma.userPrefs.findFirst({
499
+ * where: {
500
+ * // ... provide filter here
501
+ * }
502
+ * })
503
+ */
504
+ findFirst<T extends UserPrefsFindFirstArgs>(args?: Prisma.SelectSubset<T, UserPrefsFindFirstArgs<ExtArgs>>): Prisma.Prisma__UserPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
505
+
506
+ /**
507
+ * Find the first UserPrefs that matches the filter or
508
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
509
+ * Note, that providing `undefined` is treated as the value not being there.
510
+ * Read more here: https://pris.ly/d/null-undefined
511
+ * @param {UserPrefsFindFirstOrThrowArgs} args - Arguments to find a UserPrefs
512
+ * @example
513
+ * // Get one UserPrefs
514
+ * const userPrefs = await prisma.userPrefs.findFirstOrThrow({
515
+ * where: {
516
+ * // ... provide filter here
517
+ * }
518
+ * })
519
+ */
520
+ findFirstOrThrow<T extends UserPrefsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, UserPrefsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
521
+
522
+ /**
523
+ * Find zero or more UserPrefs that matches the filter.
524
+ * Note, that providing `undefined` is treated as the value not being there.
525
+ * Read more here: https://pris.ly/d/null-undefined
526
+ * @param {UserPrefsFindManyArgs} args - Arguments to filter and select certain fields only.
527
+ * @example
528
+ * // Get all UserPrefs
529
+ * const userPrefs = await prisma.userPrefs.findMany()
530
+ *
531
+ * // Get first 10 UserPrefs
532
+ * const userPrefs = await prisma.userPrefs.findMany({ take: 10 })
533
+ *
534
+ * // Only select the `memberId`
535
+ * const userPrefsWithMemberIdOnly = await prisma.userPrefs.findMany({ select: { memberId: true } })
536
+ *
537
+ */
538
+ findMany<T extends UserPrefsFindManyArgs>(args?: Prisma.SelectSubset<T, UserPrefsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
539
+
540
+ /**
541
+ * Create a UserPrefs.
542
+ * @param {UserPrefsCreateArgs} args - Arguments to create a UserPrefs.
543
+ * @example
544
+ * // Create one UserPrefs
545
+ * const UserPrefs = await prisma.userPrefs.create({
546
+ * data: {
547
+ * // ... data to create a UserPrefs
548
+ * }
549
+ * })
550
+ *
551
+ */
552
+ create<T extends UserPrefsCreateArgs>(args: Prisma.SelectSubset<T, UserPrefsCreateArgs<ExtArgs>>): Prisma.Prisma__UserPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
553
+
554
+ /**
555
+ * Create many UserPrefs.
556
+ * @param {UserPrefsCreateManyArgs} args - Arguments to create many UserPrefs.
557
+ * @example
558
+ * // Create many UserPrefs
559
+ * const userPrefs = await prisma.userPrefs.createMany({
560
+ * data: [
561
+ * // ... provide data here
562
+ * ]
563
+ * })
564
+ *
565
+ */
566
+ createMany<T extends UserPrefsCreateManyArgs>(args?: Prisma.SelectSubset<T, UserPrefsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
567
+
568
+ /**
569
+ * Create many UserPrefs and returns the data saved in the database.
570
+ * @param {UserPrefsCreateManyAndReturnArgs} args - Arguments to create many UserPrefs.
571
+ * @example
572
+ * // Create many UserPrefs
573
+ * const userPrefs = await prisma.userPrefs.createManyAndReturn({
574
+ * data: [
575
+ * // ... provide data here
576
+ * ]
577
+ * })
578
+ *
579
+ * // Create many UserPrefs and only return the `memberId`
580
+ * const userPrefsWithMemberIdOnly = await prisma.userPrefs.createManyAndReturn({
581
+ * select: { memberId: true },
582
+ * data: [
583
+ * // ... provide data here
584
+ * ]
585
+ * })
586
+ * Note, that providing `undefined` is treated as the value not being there.
587
+ * Read more here: https://pris.ly/d/null-undefined
588
+ *
589
+ */
590
+ createManyAndReturn<T extends UserPrefsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UserPrefsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
591
+
592
+ /**
593
+ * Delete a UserPrefs.
594
+ * @param {UserPrefsDeleteArgs} args - Arguments to delete one UserPrefs.
595
+ * @example
596
+ * // Delete one UserPrefs
597
+ * const UserPrefs = await prisma.userPrefs.delete({
598
+ * where: {
599
+ * // ... filter to delete one UserPrefs
600
+ * }
601
+ * })
602
+ *
603
+ */
604
+ delete<T extends UserPrefsDeleteArgs>(args: Prisma.SelectSubset<T, UserPrefsDeleteArgs<ExtArgs>>): Prisma.Prisma__UserPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
605
+
606
+ /**
607
+ * Update one UserPrefs.
608
+ * @param {UserPrefsUpdateArgs} args - Arguments to update one UserPrefs.
609
+ * @example
610
+ * // Update one UserPrefs
611
+ * const userPrefs = await prisma.userPrefs.update({
612
+ * where: {
613
+ * // ... provide filter here
614
+ * },
615
+ * data: {
616
+ * // ... provide data here
617
+ * }
618
+ * })
619
+ *
620
+ */
621
+ update<T extends UserPrefsUpdateArgs>(args: Prisma.SelectSubset<T, UserPrefsUpdateArgs<ExtArgs>>): Prisma.Prisma__UserPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
622
+
623
+ /**
624
+ * Delete zero or more UserPrefs.
625
+ * @param {UserPrefsDeleteManyArgs} args - Arguments to filter UserPrefs to delete.
626
+ * @example
627
+ * // Delete a few UserPrefs
628
+ * const { count } = await prisma.userPrefs.deleteMany({
629
+ * where: {
630
+ * // ... provide filter here
631
+ * }
632
+ * })
633
+ *
634
+ */
635
+ deleteMany<T extends UserPrefsDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserPrefsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
636
+
637
+ /**
638
+ * Update zero or more UserPrefs.
639
+ * Note, that providing `undefined` is treated as the value not being there.
640
+ * Read more here: https://pris.ly/d/null-undefined
641
+ * @param {UserPrefsUpdateManyArgs} args - Arguments to update one or more rows.
642
+ * @example
643
+ * // Update many UserPrefs
644
+ * const userPrefs = await prisma.userPrefs.updateMany({
645
+ * where: {
646
+ * // ... provide filter here
647
+ * },
648
+ * data: {
649
+ * // ... provide data here
650
+ * }
651
+ * })
652
+ *
653
+ */
654
+ updateMany<T extends UserPrefsUpdateManyArgs>(args: Prisma.SelectSubset<T, UserPrefsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
655
+
656
+ /**
657
+ * Update zero or more UserPrefs and returns the data updated in the database.
658
+ * @param {UserPrefsUpdateManyAndReturnArgs} args - Arguments to update many UserPrefs.
659
+ * @example
660
+ * // Update many UserPrefs
661
+ * const userPrefs = await prisma.userPrefs.updateManyAndReturn({
662
+ * where: {
663
+ * // ... provide filter here
664
+ * },
665
+ * data: [
666
+ * // ... provide data here
667
+ * ]
668
+ * })
669
+ *
670
+ * // Update zero or more UserPrefs and only return the `memberId`
671
+ * const userPrefsWithMemberIdOnly = await prisma.userPrefs.updateManyAndReturn({
672
+ * select: { memberId: true },
673
+ * where: {
674
+ * // ... provide filter here
675
+ * },
676
+ * data: [
677
+ * // ... provide data here
678
+ * ]
679
+ * })
680
+ * Note, that providing `undefined` is treated as the value not being there.
681
+ * Read more here: https://pris.ly/d/null-undefined
682
+ *
683
+ */
684
+ updateManyAndReturn<T extends UserPrefsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UserPrefsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
685
+
686
+ /**
687
+ * Create or update one UserPrefs.
688
+ * @param {UserPrefsUpsertArgs} args - Arguments to update or create a UserPrefs.
689
+ * @example
690
+ * // Update or create a UserPrefs
691
+ * const userPrefs = await prisma.userPrefs.upsert({
692
+ * create: {
693
+ * // ... data to create a UserPrefs
694
+ * },
695
+ * update: {
696
+ * // ... in case it already exists, update
697
+ * },
698
+ * where: {
699
+ * // ... the filter for the UserPrefs we want to update
700
+ * }
701
+ * })
702
+ */
703
+ upsert<T extends UserPrefsUpsertArgs>(args: Prisma.SelectSubset<T, UserPrefsUpsertArgs<ExtArgs>>): Prisma.Prisma__UserPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserPrefsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
704
+
705
+
706
+ /**
707
+ * Count the number of UserPrefs.
708
+ * Note, that providing `undefined` is treated as the value not being there.
709
+ * Read more here: https://pris.ly/d/null-undefined
710
+ * @param {UserPrefsCountArgs} args - Arguments to filter UserPrefs to count.
711
+ * @example
712
+ * // Count the number of UserPrefs
713
+ * const count = await prisma.userPrefs.count({
714
+ * where: {
715
+ * // ... the filter for the UserPrefs we want to count
716
+ * }
717
+ * })
718
+ **/
719
+ count<T extends UserPrefsCountArgs>(
720
+ args?: Prisma.Subset<T, UserPrefsCountArgs>,
721
+ ): Prisma.PrismaPromise<
722
+ T extends runtime.Types.Utils.Record<'select', any>
723
+ ? T['select'] extends true
724
+ ? number
725
+ : Prisma.GetScalarType<T['select'], UserPrefsCountAggregateOutputType>
726
+ : number
727
+ >
728
+
729
+ /**
730
+ * Allows you to perform aggregations operations on a UserPrefs.
731
+ * Note, that providing `undefined` is treated as the value not being there.
732
+ * Read more here: https://pris.ly/d/null-undefined
733
+ * @param {UserPrefsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
734
+ * @example
735
+ * // Ordered by age ascending
736
+ * // Where email contains prisma.io
737
+ * // Limited to the 10 users
738
+ * const aggregations = await prisma.user.aggregate({
739
+ * _avg: {
740
+ * age: true,
741
+ * },
742
+ * where: {
743
+ * email: {
744
+ * contains: "prisma.io",
745
+ * },
746
+ * },
747
+ * orderBy: {
748
+ * age: "asc",
749
+ * },
750
+ * take: 10,
751
+ * })
752
+ **/
753
+ aggregate<T extends UserPrefsAggregateArgs>(args: Prisma.Subset<T, UserPrefsAggregateArgs>): Prisma.PrismaPromise<GetUserPrefsAggregateType<T>>
754
+
755
+ /**
756
+ * Group by UserPrefs.
757
+ * Note, that providing `undefined` is treated as the value not being there.
758
+ * Read more here: https://pris.ly/d/null-undefined
759
+ * @param {UserPrefsGroupByArgs} args - Group by arguments.
760
+ * @example
761
+ * // Group by city, order by createdAt, get count
762
+ * const result = await prisma.user.groupBy({
763
+ * by: ['city', 'createdAt'],
764
+ * orderBy: {
765
+ * createdAt: true
766
+ * },
767
+ * _count: {
768
+ * _all: true
769
+ * },
770
+ * })
771
+ *
772
+ **/
773
+ groupBy<
774
+ T extends UserPrefsGroupByArgs,
775
+ HasSelectOrTake extends Prisma.Or<
776
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
777
+ Prisma.Extends<'take', Prisma.Keys<T>>
778
+ >,
779
+ OrderByArg extends Prisma.True extends HasSelectOrTake
780
+ ? { orderBy: UserPrefsGroupByArgs['orderBy'] }
781
+ : { orderBy?: UserPrefsGroupByArgs['orderBy'] },
782
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
783
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
784
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
785
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
786
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
787
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
788
+ InputErrors extends ByEmpty extends Prisma.True
789
+ ? `Error: "by" must not be empty.`
790
+ : HavingValid extends Prisma.False
791
+ ? {
792
+ [P in HavingFields]: P extends ByFields
793
+ ? never
794
+ : P extends string
795
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
796
+ : [
797
+ Error,
798
+ 'Field ',
799
+ P,
800
+ ` in "having" needs to be provided in "by"`,
801
+ ]
802
+ }[HavingFields]
803
+ : 'take' extends Prisma.Keys<T>
804
+ ? 'orderBy' extends Prisma.Keys<T>
805
+ ? ByValid extends Prisma.True
806
+ ? {}
807
+ : {
808
+ [P in OrderFields]: P extends ByFields
809
+ ? never
810
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
811
+ }[OrderFields]
812
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
813
+ : 'skip' extends Prisma.Keys<T>
814
+ ? 'orderBy' extends Prisma.Keys<T>
815
+ ? ByValid extends Prisma.True
816
+ ? {}
817
+ : {
818
+ [P in OrderFields]: P extends ByFields
819
+ ? never
820
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
821
+ }[OrderFields]
822
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
823
+ : ByValid extends Prisma.True
824
+ ? {}
825
+ : {
826
+ [P in OrderFields]: P extends ByFields
827
+ ? never
828
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
829
+ }[OrderFields]
830
+ >(args: Prisma.SubsetIntersection<T, UserPrefsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserPrefsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
831
+ /**
832
+ * Fields of the UserPrefs model
833
+ */
834
+ readonly fields: UserPrefsFieldRefs;
835
+ }
836
+
837
+ /**
838
+ * The delegate class that acts as a "Promise-like" for UserPrefs.
839
+ * Why is this prefixed with `Prisma__`?
840
+ * Because we want to prevent naming conflicts as mentioned in
841
+ * https://github.com/prisma/prisma-client-js/issues/707
842
+ */
843
+ export interface Prisma__UserPrefsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
844
+ readonly [Symbol.toStringTag]: "PrismaPromise"
845
+ /**
846
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
847
+ * @param onfulfilled The callback to execute when the Promise is resolved.
848
+ * @param onrejected The callback to execute when the Promise is rejected.
849
+ * @returns A Promise for the completion of which ever callback is executed.
850
+ */
851
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
852
+ /**
853
+ * Attaches a callback for only the rejection of the Promise.
854
+ * @param onrejected The callback to execute when the Promise is rejected.
855
+ * @returns A Promise for the completion of the callback.
856
+ */
857
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
858
+ /**
859
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
860
+ * resolved value cannot be modified from the callback.
861
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
862
+ * @returns A Promise for the completion of the callback.
863
+ */
864
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
865
+ }
866
+
867
+
868
+
869
+
870
+ /**
871
+ * Fields of the UserPrefs model
872
+ */
873
+ export interface UserPrefsFieldRefs {
874
+ readonly memberId: Prisma.FieldRef<"UserPrefs", 'String'>
875
+ readonly timezone: Prisma.FieldRef<"UserPrefs", 'String'>
876
+ readonly autoFollowSessions: Prisma.FieldRef<"UserPrefs", 'Boolean'>
877
+ readonly reminderHourLocal: Prisma.FieldRef<"UserPrefs", 'Int'>
878
+ readonly autoFollowSince: Prisma.FieldRef<"UserPrefs", 'DateTime'>
879
+ readonly createdAt: Prisma.FieldRef<"UserPrefs", 'DateTime'>
880
+ readonly updatedAt: Prisma.FieldRef<"UserPrefs", 'DateTime'>
881
+ }
882
+
883
+
884
+ // Custom InputTypes
885
+ /**
886
+ * UserPrefs findUnique
887
+ */
888
+ export type UserPrefsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
889
+ /**
890
+ * Select specific fields to fetch from the UserPrefs
891
+ */
892
+ select?: Prisma.UserPrefsSelect<ExtArgs> | null
893
+ /**
894
+ * Omit specific fields from the UserPrefs
895
+ */
896
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
897
+ /**
898
+ * Filter, which UserPrefs to fetch.
899
+ */
900
+ where: Prisma.UserPrefsWhereUniqueInput
901
+ }
902
+
903
+ /**
904
+ * UserPrefs findUniqueOrThrow
905
+ */
906
+ export type UserPrefsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
907
+ /**
908
+ * Select specific fields to fetch from the UserPrefs
909
+ */
910
+ select?: Prisma.UserPrefsSelect<ExtArgs> | null
911
+ /**
912
+ * Omit specific fields from the UserPrefs
913
+ */
914
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
915
+ /**
916
+ * Filter, which UserPrefs to fetch.
917
+ */
918
+ where: Prisma.UserPrefsWhereUniqueInput
919
+ }
920
+
921
+ /**
922
+ * UserPrefs findFirst
923
+ */
924
+ export type UserPrefsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
925
+ /**
926
+ * Select specific fields to fetch from the UserPrefs
927
+ */
928
+ select?: Prisma.UserPrefsSelect<ExtArgs> | null
929
+ /**
930
+ * Omit specific fields from the UserPrefs
931
+ */
932
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
933
+ /**
934
+ * Filter, which UserPrefs to fetch.
935
+ */
936
+ where?: Prisma.UserPrefsWhereInput
937
+ /**
938
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
939
+ *
940
+ * Determine the order of UserPrefs to fetch.
941
+ */
942
+ orderBy?: Prisma.UserPrefsOrderByWithRelationInput | Prisma.UserPrefsOrderByWithRelationInput[]
943
+ /**
944
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
945
+ *
946
+ * Sets the position for searching for UserPrefs.
947
+ */
948
+ cursor?: Prisma.UserPrefsWhereUniqueInput
949
+ /**
950
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
951
+ *
952
+ * Take `±n` UserPrefs from the position of the cursor.
953
+ */
954
+ take?: number
955
+ /**
956
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
957
+ *
958
+ * Skip the first `n` UserPrefs.
959
+ */
960
+ skip?: number
961
+ /**
962
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
963
+ *
964
+ * Filter by unique combinations of UserPrefs.
965
+ */
966
+ distinct?: Prisma.UserPrefsScalarFieldEnum | Prisma.UserPrefsScalarFieldEnum[]
967
+ }
968
+
969
+ /**
970
+ * UserPrefs findFirstOrThrow
971
+ */
972
+ export type UserPrefsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
973
+ /**
974
+ * Select specific fields to fetch from the UserPrefs
975
+ */
976
+ select?: Prisma.UserPrefsSelect<ExtArgs> | null
977
+ /**
978
+ * Omit specific fields from the UserPrefs
979
+ */
980
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
981
+ /**
982
+ * Filter, which UserPrefs to fetch.
983
+ */
984
+ where?: Prisma.UserPrefsWhereInput
985
+ /**
986
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
987
+ *
988
+ * Determine the order of UserPrefs to fetch.
989
+ */
990
+ orderBy?: Prisma.UserPrefsOrderByWithRelationInput | Prisma.UserPrefsOrderByWithRelationInput[]
991
+ /**
992
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
993
+ *
994
+ * Sets the position for searching for UserPrefs.
995
+ */
996
+ cursor?: Prisma.UserPrefsWhereUniqueInput
997
+ /**
998
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
999
+ *
1000
+ * Take `±n` UserPrefs from the position of the cursor.
1001
+ */
1002
+ take?: number
1003
+ /**
1004
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1005
+ *
1006
+ * Skip the first `n` UserPrefs.
1007
+ */
1008
+ skip?: number
1009
+ /**
1010
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1011
+ *
1012
+ * Filter by unique combinations of UserPrefs.
1013
+ */
1014
+ distinct?: Prisma.UserPrefsScalarFieldEnum | Prisma.UserPrefsScalarFieldEnum[]
1015
+ }
1016
+
1017
+ /**
1018
+ * UserPrefs findMany
1019
+ */
1020
+ export type UserPrefsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1021
+ /**
1022
+ * Select specific fields to fetch from the UserPrefs
1023
+ */
1024
+ select?: Prisma.UserPrefsSelect<ExtArgs> | null
1025
+ /**
1026
+ * Omit specific fields from the UserPrefs
1027
+ */
1028
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
1029
+ /**
1030
+ * Filter, which UserPrefs to fetch.
1031
+ */
1032
+ where?: Prisma.UserPrefsWhereInput
1033
+ /**
1034
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1035
+ *
1036
+ * Determine the order of UserPrefs to fetch.
1037
+ */
1038
+ orderBy?: Prisma.UserPrefsOrderByWithRelationInput | Prisma.UserPrefsOrderByWithRelationInput[]
1039
+ /**
1040
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1041
+ *
1042
+ * Sets the position for listing UserPrefs.
1043
+ */
1044
+ cursor?: Prisma.UserPrefsWhereUniqueInput
1045
+ /**
1046
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1047
+ *
1048
+ * Take `±n` UserPrefs from the position of the cursor.
1049
+ */
1050
+ take?: number
1051
+ /**
1052
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1053
+ *
1054
+ * Skip the first `n` UserPrefs.
1055
+ */
1056
+ skip?: number
1057
+ /**
1058
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1059
+ *
1060
+ * Filter by unique combinations of UserPrefs.
1061
+ */
1062
+ distinct?: Prisma.UserPrefsScalarFieldEnum | Prisma.UserPrefsScalarFieldEnum[]
1063
+ }
1064
+
1065
+ /**
1066
+ * UserPrefs create
1067
+ */
1068
+ export type UserPrefsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1069
+ /**
1070
+ * Select specific fields to fetch from the UserPrefs
1071
+ */
1072
+ select?: Prisma.UserPrefsSelect<ExtArgs> | null
1073
+ /**
1074
+ * Omit specific fields from the UserPrefs
1075
+ */
1076
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
1077
+ /**
1078
+ * The data needed to create a UserPrefs.
1079
+ */
1080
+ data: Prisma.XOR<Prisma.UserPrefsCreateInput, Prisma.UserPrefsUncheckedCreateInput>
1081
+ }
1082
+
1083
+ /**
1084
+ * UserPrefs createMany
1085
+ */
1086
+ export type UserPrefsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1087
+ /**
1088
+ * The data used to create many UserPrefs.
1089
+ */
1090
+ data: Prisma.UserPrefsCreateManyInput | Prisma.UserPrefsCreateManyInput[]
1091
+ skipDuplicates?: boolean
1092
+ }
1093
+
1094
+ /**
1095
+ * UserPrefs createManyAndReturn
1096
+ */
1097
+ export type UserPrefsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1098
+ /**
1099
+ * Select specific fields to fetch from the UserPrefs
1100
+ */
1101
+ select?: Prisma.UserPrefsSelectCreateManyAndReturn<ExtArgs> | null
1102
+ /**
1103
+ * Omit specific fields from the UserPrefs
1104
+ */
1105
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
1106
+ /**
1107
+ * The data used to create many UserPrefs.
1108
+ */
1109
+ data: Prisma.UserPrefsCreateManyInput | Prisma.UserPrefsCreateManyInput[]
1110
+ skipDuplicates?: boolean
1111
+ }
1112
+
1113
+ /**
1114
+ * UserPrefs update
1115
+ */
1116
+ export type UserPrefsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1117
+ /**
1118
+ * Select specific fields to fetch from the UserPrefs
1119
+ */
1120
+ select?: Prisma.UserPrefsSelect<ExtArgs> | null
1121
+ /**
1122
+ * Omit specific fields from the UserPrefs
1123
+ */
1124
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
1125
+ /**
1126
+ * The data needed to update a UserPrefs.
1127
+ */
1128
+ data: Prisma.XOR<Prisma.UserPrefsUpdateInput, Prisma.UserPrefsUncheckedUpdateInput>
1129
+ /**
1130
+ * Choose, which UserPrefs to update.
1131
+ */
1132
+ where: Prisma.UserPrefsWhereUniqueInput
1133
+ }
1134
+
1135
+ /**
1136
+ * UserPrefs updateMany
1137
+ */
1138
+ export type UserPrefsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1139
+ /**
1140
+ * The data used to update UserPrefs.
1141
+ */
1142
+ data: Prisma.XOR<Prisma.UserPrefsUpdateManyMutationInput, Prisma.UserPrefsUncheckedUpdateManyInput>
1143
+ /**
1144
+ * Filter which UserPrefs to update
1145
+ */
1146
+ where?: Prisma.UserPrefsWhereInput
1147
+ /**
1148
+ * Limit how many UserPrefs to update.
1149
+ */
1150
+ limit?: number
1151
+ }
1152
+
1153
+ /**
1154
+ * UserPrefs updateManyAndReturn
1155
+ */
1156
+ export type UserPrefsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1157
+ /**
1158
+ * Select specific fields to fetch from the UserPrefs
1159
+ */
1160
+ select?: Prisma.UserPrefsSelectUpdateManyAndReturn<ExtArgs> | null
1161
+ /**
1162
+ * Omit specific fields from the UserPrefs
1163
+ */
1164
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
1165
+ /**
1166
+ * The data used to update UserPrefs.
1167
+ */
1168
+ data: Prisma.XOR<Prisma.UserPrefsUpdateManyMutationInput, Prisma.UserPrefsUncheckedUpdateManyInput>
1169
+ /**
1170
+ * Filter which UserPrefs to update
1171
+ */
1172
+ where?: Prisma.UserPrefsWhereInput
1173
+ /**
1174
+ * Limit how many UserPrefs to update.
1175
+ */
1176
+ limit?: number
1177
+ }
1178
+
1179
+ /**
1180
+ * UserPrefs upsert
1181
+ */
1182
+ export type UserPrefsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1183
+ /**
1184
+ * Select specific fields to fetch from the UserPrefs
1185
+ */
1186
+ select?: Prisma.UserPrefsSelect<ExtArgs> | null
1187
+ /**
1188
+ * Omit specific fields from the UserPrefs
1189
+ */
1190
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
1191
+ /**
1192
+ * The filter to search for the UserPrefs to update in case it exists.
1193
+ */
1194
+ where: Prisma.UserPrefsWhereUniqueInput
1195
+ /**
1196
+ * In case the UserPrefs found by the `where` argument doesn't exist, create a new UserPrefs with this data.
1197
+ */
1198
+ create: Prisma.XOR<Prisma.UserPrefsCreateInput, Prisma.UserPrefsUncheckedCreateInput>
1199
+ /**
1200
+ * In case the UserPrefs was found with the provided `where` argument, update it with this data.
1201
+ */
1202
+ update: Prisma.XOR<Prisma.UserPrefsUpdateInput, Prisma.UserPrefsUncheckedUpdateInput>
1203
+ }
1204
+
1205
+ /**
1206
+ * UserPrefs delete
1207
+ */
1208
+ export type UserPrefsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1209
+ /**
1210
+ * Select specific fields to fetch from the UserPrefs
1211
+ */
1212
+ select?: Prisma.UserPrefsSelect<ExtArgs> | null
1213
+ /**
1214
+ * Omit specific fields from the UserPrefs
1215
+ */
1216
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
1217
+ /**
1218
+ * Filter which UserPrefs to delete.
1219
+ */
1220
+ where: Prisma.UserPrefsWhereUniqueInput
1221
+ }
1222
+
1223
+ /**
1224
+ * UserPrefs deleteMany
1225
+ */
1226
+ export type UserPrefsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1227
+ /**
1228
+ * Filter which UserPrefs to delete
1229
+ */
1230
+ where?: Prisma.UserPrefsWhereInput
1231
+ /**
1232
+ * Limit how many UserPrefs to delete.
1233
+ */
1234
+ limit?: number
1235
+ }
1236
+
1237
+ /**
1238
+ * UserPrefs without action
1239
+ */
1240
+ export type UserPrefsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1241
+ /**
1242
+ * Select specific fields to fetch from the UserPrefs
1243
+ */
1244
+ select?: Prisma.UserPrefsSelect<ExtArgs> | null
1245
+ /**
1246
+ * Omit specific fields from the UserPrefs
1247
+ */
1248
+ omit?: Prisma.UserPrefsOmit<ExtArgs> | null
1249
+ }