@app-vitals/agent-admin 1.113.0 → 1.114.0

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.
@@ -1,1249 +0,0 @@
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 `UserNotificationPrefs` 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 UserNotificationPrefs
17
- *
18
- */
19
- export type UserNotificationPrefsModel = runtime.Types.Result.DefaultSelection<Prisma.$UserNotificationPrefsPayload>
20
-
21
- export type AggregateUserNotificationPrefs = {
22
- _count: UserNotificationPrefsCountAggregateOutputType | null
23
- _avg: UserNotificationPrefsAvgAggregateOutputType | null
24
- _sum: UserNotificationPrefsSumAggregateOutputType | null
25
- _min: UserNotificationPrefsMinAggregateOutputType | null
26
- _max: UserNotificationPrefsMaxAggregateOutputType | null
27
- }
28
-
29
- export type UserNotificationPrefsAvgAggregateOutputType = {
30
- reminderHourLocal: number | null
31
- }
32
-
33
- export type UserNotificationPrefsSumAggregateOutputType = {
34
- reminderHourLocal: number | null
35
- }
36
-
37
- export type UserNotificationPrefsMinAggregateOutputType = {
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 UserNotificationPrefsMaxAggregateOutputType = {
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 UserNotificationPrefsCountAggregateOutputType = {
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 UserNotificationPrefsAvgAggregateInputType = {
70
- reminderHourLocal?: true
71
- }
72
-
73
- export type UserNotificationPrefsSumAggregateInputType = {
74
- reminderHourLocal?: true
75
- }
76
-
77
- export type UserNotificationPrefsMinAggregateInputType = {
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 UserNotificationPrefsMaxAggregateInputType = {
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 UserNotificationPrefsCountAggregateInputType = {
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 UserNotificationPrefsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
109
- /**
110
- * Filter which UserNotificationPrefs to aggregate.
111
- */
112
- where?: Prisma.UserNotificationPrefsWhereInput
113
- /**
114
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
115
- *
116
- * Determine the order of UserNotificationPrefs to fetch.
117
- */
118
- orderBy?: Prisma.UserNotificationPrefsOrderByWithRelationInput | Prisma.UserNotificationPrefsOrderByWithRelationInput[]
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.UserNotificationPrefsWhereUniqueInput
125
- /**
126
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
127
- *
128
- * Take `±n` UserNotificationPrefs 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` UserNotificationPrefs.
135
- */
136
- skip?: number
137
- /**
138
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
139
- *
140
- * Count returned UserNotificationPrefs
141
- **/
142
- _count?: true | UserNotificationPrefsCountAggregateInputType
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?: UserNotificationPrefsAvgAggregateInputType
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?: UserNotificationPrefsSumAggregateInputType
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?: UserNotificationPrefsMinAggregateInputType
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?: UserNotificationPrefsMaxAggregateInputType
167
- }
168
-
169
- export type GetUserNotificationPrefsAggregateType<T extends UserNotificationPrefsAggregateArgs> = {
170
- [P in keyof T & keyof AggregateUserNotificationPrefs]: P extends '_count' | 'count'
171
- ? T[P] extends true
172
- ? number
173
- : Prisma.GetScalarType<T[P], AggregateUserNotificationPrefs[P]>
174
- : Prisma.GetScalarType<T[P], AggregateUserNotificationPrefs[P]>
175
- }
176
-
177
-
178
-
179
-
180
- export type UserNotificationPrefsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
181
- where?: Prisma.UserNotificationPrefsWhereInput
182
- orderBy?: Prisma.UserNotificationPrefsOrderByWithAggregationInput | Prisma.UserNotificationPrefsOrderByWithAggregationInput[]
183
- by: Prisma.UserNotificationPrefsScalarFieldEnum[] | Prisma.UserNotificationPrefsScalarFieldEnum
184
- having?: Prisma.UserNotificationPrefsScalarWhereWithAggregatesInput
185
- take?: number
186
- skip?: number
187
- _count?: UserNotificationPrefsCountAggregateInputType | true
188
- _avg?: UserNotificationPrefsAvgAggregateInputType
189
- _sum?: UserNotificationPrefsSumAggregateInputType
190
- _min?: UserNotificationPrefsMinAggregateInputType
191
- _max?: UserNotificationPrefsMaxAggregateInputType
192
- }
193
-
194
- export type UserNotificationPrefsGroupByOutputType = {
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: UserNotificationPrefsCountAggregateOutputType | null
203
- _avg: UserNotificationPrefsAvgAggregateOutputType | null
204
- _sum: UserNotificationPrefsSumAggregateOutputType | null
205
- _min: UserNotificationPrefsMinAggregateOutputType | null
206
- _max: UserNotificationPrefsMaxAggregateOutputType | null
207
- }
208
-
209
- export type GetUserNotificationPrefsGroupByPayload<T extends UserNotificationPrefsGroupByArgs> = Prisma.PrismaPromise<
210
- Array<
211
- Prisma.PickEnumerable<UserNotificationPrefsGroupByOutputType, T['by']> &
212
- {
213
- [P in ((keyof T) & (keyof UserNotificationPrefsGroupByOutputType))]: P extends '_count'
214
- ? T[P] extends boolean
215
- ? number
216
- : Prisma.GetScalarType<T[P], UserNotificationPrefsGroupByOutputType[P]>
217
- : Prisma.GetScalarType<T[P], UserNotificationPrefsGroupByOutputType[P]>
218
- }
219
- >
220
- >
221
-
222
-
223
-
224
- export type UserNotificationPrefsWhereInput = {
225
- AND?: Prisma.UserNotificationPrefsWhereInput | Prisma.UserNotificationPrefsWhereInput[]
226
- OR?: Prisma.UserNotificationPrefsWhereInput[]
227
- NOT?: Prisma.UserNotificationPrefsWhereInput | Prisma.UserNotificationPrefsWhereInput[]
228
- memberId?: Prisma.StringFilter<"UserNotificationPrefs"> | string
229
- timezone?: Prisma.StringNullableFilter<"UserNotificationPrefs"> | string | null
230
- autoFollowSessions?: Prisma.BoolFilter<"UserNotificationPrefs"> | boolean
231
- reminderHourLocal?: Prisma.IntFilter<"UserNotificationPrefs"> | number
232
- autoFollowSince?: Prisma.DateTimeNullableFilter<"UserNotificationPrefs"> | Date | string | null
233
- createdAt?: Prisma.DateTimeFilter<"UserNotificationPrefs"> | Date | string
234
- updatedAt?: Prisma.DateTimeFilter<"UserNotificationPrefs"> | Date | string
235
- }
236
-
237
- export type UserNotificationPrefsOrderByWithRelationInput = {
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 UserNotificationPrefsWhereUniqueInput = Prisma.AtLeast<{
248
- memberId?: string
249
- AND?: Prisma.UserNotificationPrefsWhereInput | Prisma.UserNotificationPrefsWhereInput[]
250
- OR?: Prisma.UserNotificationPrefsWhereInput[]
251
- NOT?: Prisma.UserNotificationPrefsWhereInput | Prisma.UserNotificationPrefsWhereInput[]
252
- timezone?: Prisma.StringNullableFilter<"UserNotificationPrefs"> | string | null
253
- autoFollowSessions?: Prisma.BoolFilter<"UserNotificationPrefs"> | boolean
254
- reminderHourLocal?: Prisma.IntFilter<"UserNotificationPrefs"> | number
255
- autoFollowSince?: Prisma.DateTimeNullableFilter<"UserNotificationPrefs"> | Date | string | null
256
- createdAt?: Prisma.DateTimeFilter<"UserNotificationPrefs"> | Date | string
257
- updatedAt?: Prisma.DateTimeFilter<"UserNotificationPrefs"> | Date | string
258
- }, "memberId">
259
-
260
- export type UserNotificationPrefsOrderByWithAggregationInput = {
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.UserNotificationPrefsCountOrderByAggregateInput
269
- _avg?: Prisma.UserNotificationPrefsAvgOrderByAggregateInput
270
- _max?: Prisma.UserNotificationPrefsMaxOrderByAggregateInput
271
- _min?: Prisma.UserNotificationPrefsMinOrderByAggregateInput
272
- _sum?: Prisma.UserNotificationPrefsSumOrderByAggregateInput
273
- }
274
-
275
- export type UserNotificationPrefsScalarWhereWithAggregatesInput = {
276
- AND?: Prisma.UserNotificationPrefsScalarWhereWithAggregatesInput | Prisma.UserNotificationPrefsScalarWhereWithAggregatesInput[]
277
- OR?: Prisma.UserNotificationPrefsScalarWhereWithAggregatesInput[]
278
- NOT?: Prisma.UserNotificationPrefsScalarWhereWithAggregatesInput | Prisma.UserNotificationPrefsScalarWhereWithAggregatesInput[]
279
- memberId?: Prisma.StringWithAggregatesFilter<"UserNotificationPrefs"> | string
280
- timezone?: Prisma.StringNullableWithAggregatesFilter<"UserNotificationPrefs"> | string | null
281
- autoFollowSessions?: Prisma.BoolWithAggregatesFilter<"UserNotificationPrefs"> | boolean
282
- reminderHourLocal?: Prisma.IntWithAggregatesFilter<"UserNotificationPrefs"> | number
283
- autoFollowSince?: Prisma.DateTimeNullableWithAggregatesFilter<"UserNotificationPrefs"> | Date | string | null
284
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"UserNotificationPrefs"> | Date | string
285
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UserNotificationPrefs"> | Date | string
286
- }
287
-
288
- export type UserNotificationPrefsCreateInput = {
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 UserNotificationPrefsUncheckedCreateInput = {
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 UserNotificationPrefsUpdateInput = {
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 UserNotificationPrefsUncheckedUpdateInput = {
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 UserNotificationPrefsCreateManyInput = {
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 UserNotificationPrefsUpdateManyMutationInput = {
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 UserNotificationPrefsUncheckedUpdateManyInput = {
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 UserNotificationPrefsCountOrderByAggregateInput = {
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 UserNotificationPrefsAvgOrderByAggregateInput = {
369
- reminderHourLocal?: Prisma.SortOrder
370
- }
371
-
372
- export type UserNotificationPrefsMaxOrderByAggregateInput = {
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 UserNotificationPrefsMinOrderByAggregateInput = {
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 UserNotificationPrefsSumOrderByAggregateInput = {
393
- reminderHourLocal?: Prisma.SortOrder
394
- }
395
-
396
-
397
-
398
- export type UserNotificationPrefsSelect<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"]["userNotificationPrefs"]>
407
-
408
- export type UserNotificationPrefsSelectCreateManyAndReturn<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"]["userNotificationPrefs"]>
417
-
418
- export type UserNotificationPrefsSelectUpdateManyAndReturn<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"]["userNotificationPrefs"]>
427
-
428
- export type UserNotificationPrefsSelectScalar = {
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 UserNotificationPrefsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"memberId" | "timezone" | "autoFollowSessions" | "reminderHourLocal" | "autoFollowSince" | "createdAt" | "updatedAt", ExtArgs["result"]["userNotificationPrefs"]>
439
-
440
- export type $UserNotificationPrefsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
441
- name: "UserNotificationPrefs"
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"]["userNotificationPrefs"]>
452
- composites: {}
453
- }
454
-
455
- export type UserNotificationPrefsGetPayload<S extends boolean | null | undefined | UserNotificationPrefsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload, S>
456
-
457
- export type UserNotificationPrefsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
458
- Omit<UserNotificationPrefsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
459
- select?: UserNotificationPrefsCountAggregateInputType | true
460
- }
461
-
462
- export interface UserNotificationPrefsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
463
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserNotificationPrefs'], meta: { name: 'UserNotificationPrefs' } }
464
- /**
465
- * Find zero or one UserNotificationPrefs that matches the filter.
466
- * @param {UserNotificationPrefsFindUniqueArgs} args - Arguments to find a UserNotificationPrefs
467
- * @example
468
- * // Get one UserNotificationPrefs
469
- * const userNotificationPrefs = await prisma.userNotificationPrefs.findUnique({
470
- * where: {
471
- * // ... provide filter here
472
- * }
473
- * })
474
- */
475
- findUnique<T extends UserNotificationPrefsFindUniqueArgs>(args: Prisma.SelectSubset<T, UserNotificationPrefsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__UserNotificationPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
476
-
477
- /**
478
- * Find one UserNotificationPrefs that matches the filter or throw an error with `error.code='P2025'`
479
- * if no matches were found.
480
- * @param {UserNotificationPrefsFindUniqueOrThrowArgs} args - Arguments to find a UserNotificationPrefs
481
- * @example
482
- * // Get one UserNotificationPrefs
483
- * const userNotificationPrefs = await prisma.userNotificationPrefs.findUniqueOrThrow({
484
- * where: {
485
- * // ... provide filter here
486
- * }
487
- * })
488
- */
489
- findUniqueOrThrow<T extends UserNotificationPrefsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, UserNotificationPrefsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserNotificationPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
490
-
491
- /**
492
- * Find the first UserNotificationPrefs 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 {UserNotificationPrefsFindFirstArgs} args - Arguments to find a UserNotificationPrefs
496
- * @example
497
- * // Get one UserNotificationPrefs
498
- * const userNotificationPrefs = await prisma.userNotificationPrefs.findFirst({
499
- * where: {
500
- * // ... provide filter here
501
- * }
502
- * })
503
- */
504
- findFirst<T extends UserNotificationPrefsFindFirstArgs>(args?: Prisma.SelectSubset<T, UserNotificationPrefsFindFirstArgs<ExtArgs>>): Prisma.Prisma__UserNotificationPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
505
-
506
- /**
507
- * Find the first UserNotificationPrefs 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 {UserNotificationPrefsFindFirstOrThrowArgs} args - Arguments to find a UserNotificationPrefs
512
- * @example
513
- * // Get one UserNotificationPrefs
514
- * const userNotificationPrefs = await prisma.userNotificationPrefs.findFirstOrThrow({
515
- * where: {
516
- * // ... provide filter here
517
- * }
518
- * })
519
- */
520
- findFirstOrThrow<T extends UserNotificationPrefsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, UserNotificationPrefsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserNotificationPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
521
-
522
- /**
523
- * Find zero or more UserNotificationPrefs 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 {UserNotificationPrefsFindManyArgs} args - Arguments to filter and select certain fields only.
527
- * @example
528
- * // Get all UserNotificationPrefs
529
- * const userNotificationPrefs = await prisma.userNotificationPrefs.findMany()
530
- *
531
- * // Get first 10 UserNotificationPrefs
532
- * const userNotificationPrefs = await prisma.userNotificationPrefs.findMany({ take: 10 })
533
- *
534
- * // Only select the `memberId`
535
- * const userNotificationPrefsWithMemberIdOnly = await prisma.userNotificationPrefs.findMany({ select: { memberId: true } })
536
- *
537
- */
538
- findMany<T extends UserNotificationPrefsFindManyArgs>(args?: Prisma.SelectSubset<T, UserNotificationPrefsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
539
-
540
- /**
541
- * Create a UserNotificationPrefs.
542
- * @param {UserNotificationPrefsCreateArgs} args - Arguments to create a UserNotificationPrefs.
543
- * @example
544
- * // Create one UserNotificationPrefs
545
- * const UserNotificationPrefs = await prisma.userNotificationPrefs.create({
546
- * data: {
547
- * // ... data to create a UserNotificationPrefs
548
- * }
549
- * })
550
- *
551
- */
552
- create<T extends UserNotificationPrefsCreateArgs>(args: Prisma.SelectSubset<T, UserNotificationPrefsCreateArgs<ExtArgs>>): Prisma.Prisma__UserNotificationPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
553
-
554
- /**
555
- * Create many UserNotificationPrefs.
556
- * @param {UserNotificationPrefsCreateManyArgs} args - Arguments to create many UserNotificationPrefs.
557
- * @example
558
- * // Create many UserNotificationPrefs
559
- * const userNotificationPrefs = await prisma.userNotificationPrefs.createMany({
560
- * data: [
561
- * // ... provide data here
562
- * ]
563
- * })
564
- *
565
- */
566
- createMany<T extends UserNotificationPrefsCreateManyArgs>(args?: Prisma.SelectSubset<T, UserNotificationPrefsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
567
-
568
- /**
569
- * Create many UserNotificationPrefs and returns the data saved in the database.
570
- * @param {UserNotificationPrefsCreateManyAndReturnArgs} args - Arguments to create many UserNotificationPrefs.
571
- * @example
572
- * // Create many UserNotificationPrefs
573
- * const userNotificationPrefs = await prisma.userNotificationPrefs.createManyAndReturn({
574
- * data: [
575
- * // ... provide data here
576
- * ]
577
- * })
578
- *
579
- * // Create many UserNotificationPrefs and only return the `memberId`
580
- * const userNotificationPrefsWithMemberIdOnly = await prisma.userNotificationPrefs.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 UserNotificationPrefsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UserNotificationPrefsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
591
-
592
- /**
593
- * Delete a UserNotificationPrefs.
594
- * @param {UserNotificationPrefsDeleteArgs} args - Arguments to delete one UserNotificationPrefs.
595
- * @example
596
- * // Delete one UserNotificationPrefs
597
- * const UserNotificationPrefs = await prisma.userNotificationPrefs.delete({
598
- * where: {
599
- * // ... filter to delete one UserNotificationPrefs
600
- * }
601
- * })
602
- *
603
- */
604
- delete<T extends UserNotificationPrefsDeleteArgs>(args: Prisma.SelectSubset<T, UserNotificationPrefsDeleteArgs<ExtArgs>>): Prisma.Prisma__UserNotificationPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
605
-
606
- /**
607
- * Update one UserNotificationPrefs.
608
- * @param {UserNotificationPrefsUpdateArgs} args - Arguments to update one UserNotificationPrefs.
609
- * @example
610
- * // Update one UserNotificationPrefs
611
- * const userNotificationPrefs = await prisma.userNotificationPrefs.update({
612
- * where: {
613
- * // ... provide filter here
614
- * },
615
- * data: {
616
- * // ... provide data here
617
- * }
618
- * })
619
- *
620
- */
621
- update<T extends UserNotificationPrefsUpdateArgs>(args: Prisma.SelectSubset<T, UserNotificationPrefsUpdateArgs<ExtArgs>>): Prisma.Prisma__UserNotificationPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
622
-
623
- /**
624
- * Delete zero or more UserNotificationPrefs.
625
- * @param {UserNotificationPrefsDeleteManyArgs} args - Arguments to filter UserNotificationPrefs to delete.
626
- * @example
627
- * // Delete a few UserNotificationPrefs
628
- * const { count } = await prisma.userNotificationPrefs.deleteMany({
629
- * where: {
630
- * // ... provide filter here
631
- * }
632
- * })
633
- *
634
- */
635
- deleteMany<T extends UserNotificationPrefsDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserNotificationPrefsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
636
-
637
- /**
638
- * Update zero or more UserNotificationPrefs.
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 {UserNotificationPrefsUpdateManyArgs} args - Arguments to update one or more rows.
642
- * @example
643
- * // Update many UserNotificationPrefs
644
- * const userNotificationPrefs = await prisma.userNotificationPrefs.updateMany({
645
- * where: {
646
- * // ... provide filter here
647
- * },
648
- * data: {
649
- * // ... provide data here
650
- * }
651
- * })
652
- *
653
- */
654
- updateMany<T extends UserNotificationPrefsUpdateManyArgs>(args: Prisma.SelectSubset<T, UserNotificationPrefsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
655
-
656
- /**
657
- * Update zero or more UserNotificationPrefs and returns the data updated in the database.
658
- * @param {UserNotificationPrefsUpdateManyAndReturnArgs} args - Arguments to update many UserNotificationPrefs.
659
- * @example
660
- * // Update many UserNotificationPrefs
661
- * const userNotificationPrefs = await prisma.userNotificationPrefs.updateManyAndReturn({
662
- * where: {
663
- * // ... provide filter here
664
- * },
665
- * data: [
666
- * // ... provide data here
667
- * ]
668
- * })
669
- *
670
- * // Update zero or more UserNotificationPrefs and only return the `memberId`
671
- * const userNotificationPrefsWithMemberIdOnly = await prisma.userNotificationPrefs.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 UserNotificationPrefsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UserNotificationPrefsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
685
-
686
- /**
687
- * Create or update one UserNotificationPrefs.
688
- * @param {UserNotificationPrefsUpsertArgs} args - Arguments to update or create a UserNotificationPrefs.
689
- * @example
690
- * // Update or create a UserNotificationPrefs
691
- * const userNotificationPrefs = await prisma.userNotificationPrefs.upsert({
692
- * create: {
693
- * // ... data to create a UserNotificationPrefs
694
- * },
695
- * update: {
696
- * // ... in case it already exists, update
697
- * },
698
- * where: {
699
- * // ... the filter for the UserNotificationPrefs we want to update
700
- * }
701
- * })
702
- */
703
- upsert<T extends UserNotificationPrefsUpsertArgs>(args: Prisma.SelectSubset<T, UserNotificationPrefsUpsertArgs<ExtArgs>>): Prisma.Prisma__UserNotificationPrefsClient<runtime.Types.Result.GetResult<Prisma.$UserNotificationPrefsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
704
-
705
-
706
- /**
707
- * Count the number of UserNotificationPrefs.
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 {UserNotificationPrefsCountArgs} args - Arguments to filter UserNotificationPrefs to count.
711
- * @example
712
- * // Count the number of UserNotificationPrefs
713
- * const count = await prisma.userNotificationPrefs.count({
714
- * where: {
715
- * // ... the filter for the UserNotificationPrefs we want to count
716
- * }
717
- * })
718
- **/
719
- count<T extends UserNotificationPrefsCountArgs>(
720
- args?: Prisma.Subset<T, UserNotificationPrefsCountArgs>,
721
- ): Prisma.PrismaPromise<
722
- T extends runtime.Types.Utils.Record<'select', any>
723
- ? T['select'] extends true
724
- ? number
725
- : Prisma.GetScalarType<T['select'], UserNotificationPrefsCountAggregateOutputType>
726
- : number
727
- >
728
-
729
- /**
730
- * Allows you to perform aggregations operations on a UserNotificationPrefs.
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 {UserNotificationPrefsAggregateArgs} 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 UserNotificationPrefsAggregateArgs>(args: Prisma.Subset<T, UserNotificationPrefsAggregateArgs>): Prisma.PrismaPromise<GetUserNotificationPrefsAggregateType<T>>
754
-
755
- /**
756
- * Group by UserNotificationPrefs.
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 {UserNotificationPrefsGroupByArgs} 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 UserNotificationPrefsGroupByArgs,
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: UserNotificationPrefsGroupByArgs['orderBy'] }
781
- : { orderBy?: UserNotificationPrefsGroupByArgs['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, UserNotificationPrefsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserNotificationPrefsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
831
- /**
832
- * Fields of the UserNotificationPrefs model
833
- */
834
- readonly fields: UserNotificationPrefsFieldRefs;
835
- }
836
-
837
- /**
838
- * The delegate class that acts as a "Promise-like" for UserNotificationPrefs.
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__UserNotificationPrefsClient<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 UserNotificationPrefs model
872
- */
873
- export interface UserNotificationPrefsFieldRefs {
874
- readonly memberId: Prisma.FieldRef<"UserNotificationPrefs", 'String'>
875
- readonly timezone: Prisma.FieldRef<"UserNotificationPrefs", 'String'>
876
- readonly autoFollowSessions: Prisma.FieldRef<"UserNotificationPrefs", 'Boolean'>
877
- readonly reminderHourLocal: Prisma.FieldRef<"UserNotificationPrefs", 'Int'>
878
- readonly autoFollowSince: Prisma.FieldRef<"UserNotificationPrefs", 'DateTime'>
879
- readonly createdAt: Prisma.FieldRef<"UserNotificationPrefs", 'DateTime'>
880
- readonly updatedAt: Prisma.FieldRef<"UserNotificationPrefs", 'DateTime'>
881
- }
882
-
883
-
884
- // Custom InputTypes
885
- /**
886
- * UserNotificationPrefs findUnique
887
- */
888
- export type UserNotificationPrefsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
889
- /**
890
- * Select specific fields to fetch from the UserNotificationPrefs
891
- */
892
- select?: Prisma.UserNotificationPrefsSelect<ExtArgs> | null
893
- /**
894
- * Omit specific fields from the UserNotificationPrefs
895
- */
896
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
897
- /**
898
- * Filter, which UserNotificationPrefs to fetch.
899
- */
900
- where: Prisma.UserNotificationPrefsWhereUniqueInput
901
- }
902
-
903
- /**
904
- * UserNotificationPrefs findUniqueOrThrow
905
- */
906
- export type UserNotificationPrefsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
907
- /**
908
- * Select specific fields to fetch from the UserNotificationPrefs
909
- */
910
- select?: Prisma.UserNotificationPrefsSelect<ExtArgs> | null
911
- /**
912
- * Omit specific fields from the UserNotificationPrefs
913
- */
914
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
915
- /**
916
- * Filter, which UserNotificationPrefs to fetch.
917
- */
918
- where: Prisma.UserNotificationPrefsWhereUniqueInput
919
- }
920
-
921
- /**
922
- * UserNotificationPrefs findFirst
923
- */
924
- export type UserNotificationPrefsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
925
- /**
926
- * Select specific fields to fetch from the UserNotificationPrefs
927
- */
928
- select?: Prisma.UserNotificationPrefsSelect<ExtArgs> | null
929
- /**
930
- * Omit specific fields from the UserNotificationPrefs
931
- */
932
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
933
- /**
934
- * Filter, which UserNotificationPrefs to fetch.
935
- */
936
- where?: Prisma.UserNotificationPrefsWhereInput
937
- /**
938
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
939
- *
940
- * Determine the order of UserNotificationPrefs to fetch.
941
- */
942
- orderBy?: Prisma.UserNotificationPrefsOrderByWithRelationInput | Prisma.UserNotificationPrefsOrderByWithRelationInput[]
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 UserNotificationPrefs.
947
- */
948
- cursor?: Prisma.UserNotificationPrefsWhereUniqueInput
949
- /**
950
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
951
- *
952
- * Take `±n` UserNotificationPrefs 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` UserNotificationPrefs.
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 UserNotificationPrefs.
965
- */
966
- distinct?: Prisma.UserNotificationPrefsScalarFieldEnum | Prisma.UserNotificationPrefsScalarFieldEnum[]
967
- }
968
-
969
- /**
970
- * UserNotificationPrefs findFirstOrThrow
971
- */
972
- export type UserNotificationPrefsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
973
- /**
974
- * Select specific fields to fetch from the UserNotificationPrefs
975
- */
976
- select?: Prisma.UserNotificationPrefsSelect<ExtArgs> | null
977
- /**
978
- * Omit specific fields from the UserNotificationPrefs
979
- */
980
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
981
- /**
982
- * Filter, which UserNotificationPrefs to fetch.
983
- */
984
- where?: Prisma.UserNotificationPrefsWhereInput
985
- /**
986
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
987
- *
988
- * Determine the order of UserNotificationPrefs to fetch.
989
- */
990
- orderBy?: Prisma.UserNotificationPrefsOrderByWithRelationInput | Prisma.UserNotificationPrefsOrderByWithRelationInput[]
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 UserNotificationPrefs.
995
- */
996
- cursor?: Prisma.UserNotificationPrefsWhereUniqueInput
997
- /**
998
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
999
- *
1000
- * Take `±n` UserNotificationPrefs 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` UserNotificationPrefs.
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 UserNotificationPrefs.
1013
- */
1014
- distinct?: Prisma.UserNotificationPrefsScalarFieldEnum | Prisma.UserNotificationPrefsScalarFieldEnum[]
1015
- }
1016
-
1017
- /**
1018
- * UserNotificationPrefs findMany
1019
- */
1020
- export type UserNotificationPrefsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1021
- /**
1022
- * Select specific fields to fetch from the UserNotificationPrefs
1023
- */
1024
- select?: Prisma.UserNotificationPrefsSelect<ExtArgs> | null
1025
- /**
1026
- * Omit specific fields from the UserNotificationPrefs
1027
- */
1028
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
1029
- /**
1030
- * Filter, which UserNotificationPrefs to fetch.
1031
- */
1032
- where?: Prisma.UserNotificationPrefsWhereInput
1033
- /**
1034
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1035
- *
1036
- * Determine the order of UserNotificationPrefs to fetch.
1037
- */
1038
- orderBy?: Prisma.UserNotificationPrefsOrderByWithRelationInput | Prisma.UserNotificationPrefsOrderByWithRelationInput[]
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 UserNotificationPrefs.
1043
- */
1044
- cursor?: Prisma.UserNotificationPrefsWhereUniqueInput
1045
- /**
1046
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1047
- *
1048
- * Take `±n` UserNotificationPrefs 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` UserNotificationPrefs.
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 UserNotificationPrefs.
1061
- */
1062
- distinct?: Prisma.UserNotificationPrefsScalarFieldEnum | Prisma.UserNotificationPrefsScalarFieldEnum[]
1063
- }
1064
-
1065
- /**
1066
- * UserNotificationPrefs create
1067
- */
1068
- export type UserNotificationPrefsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1069
- /**
1070
- * Select specific fields to fetch from the UserNotificationPrefs
1071
- */
1072
- select?: Prisma.UserNotificationPrefsSelect<ExtArgs> | null
1073
- /**
1074
- * Omit specific fields from the UserNotificationPrefs
1075
- */
1076
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
1077
- /**
1078
- * The data needed to create a UserNotificationPrefs.
1079
- */
1080
- data: Prisma.XOR<Prisma.UserNotificationPrefsCreateInput, Prisma.UserNotificationPrefsUncheckedCreateInput>
1081
- }
1082
-
1083
- /**
1084
- * UserNotificationPrefs createMany
1085
- */
1086
- export type UserNotificationPrefsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1087
- /**
1088
- * The data used to create many UserNotificationPrefs.
1089
- */
1090
- data: Prisma.UserNotificationPrefsCreateManyInput | Prisma.UserNotificationPrefsCreateManyInput[]
1091
- skipDuplicates?: boolean
1092
- }
1093
-
1094
- /**
1095
- * UserNotificationPrefs createManyAndReturn
1096
- */
1097
- export type UserNotificationPrefsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1098
- /**
1099
- * Select specific fields to fetch from the UserNotificationPrefs
1100
- */
1101
- select?: Prisma.UserNotificationPrefsSelectCreateManyAndReturn<ExtArgs> | null
1102
- /**
1103
- * Omit specific fields from the UserNotificationPrefs
1104
- */
1105
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
1106
- /**
1107
- * The data used to create many UserNotificationPrefs.
1108
- */
1109
- data: Prisma.UserNotificationPrefsCreateManyInput | Prisma.UserNotificationPrefsCreateManyInput[]
1110
- skipDuplicates?: boolean
1111
- }
1112
-
1113
- /**
1114
- * UserNotificationPrefs update
1115
- */
1116
- export type UserNotificationPrefsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1117
- /**
1118
- * Select specific fields to fetch from the UserNotificationPrefs
1119
- */
1120
- select?: Prisma.UserNotificationPrefsSelect<ExtArgs> | null
1121
- /**
1122
- * Omit specific fields from the UserNotificationPrefs
1123
- */
1124
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
1125
- /**
1126
- * The data needed to update a UserNotificationPrefs.
1127
- */
1128
- data: Prisma.XOR<Prisma.UserNotificationPrefsUpdateInput, Prisma.UserNotificationPrefsUncheckedUpdateInput>
1129
- /**
1130
- * Choose, which UserNotificationPrefs to update.
1131
- */
1132
- where: Prisma.UserNotificationPrefsWhereUniqueInput
1133
- }
1134
-
1135
- /**
1136
- * UserNotificationPrefs updateMany
1137
- */
1138
- export type UserNotificationPrefsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1139
- /**
1140
- * The data used to update UserNotificationPrefs.
1141
- */
1142
- data: Prisma.XOR<Prisma.UserNotificationPrefsUpdateManyMutationInput, Prisma.UserNotificationPrefsUncheckedUpdateManyInput>
1143
- /**
1144
- * Filter which UserNotificationPrefs to update
1145
- */
1146
- where?: Prisma.UserNotificationPrefsWhereInput
1147
- /**
1148
- * Limit how many UserNotificationPrefs to update.
1149
- */
1150
- limit?: number
1151
- }
1152
-
1153
- /**
1154
- * UserNotificationPrefs updateManyAndReturn
1155
- */
1156
- export type UserNotificationPrefsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1157
- /**
1158
- * Select specific fields to fetch from the UserNotificationPrefs
1159
- */
1160
- select?: Prisma.UserNotificationPrefsSelectUpdateManyAndReturn<ExtArgs> | null
1161
- /**
1162
- * Omit specific fields from the UserNotificationPrefs
1163
- */
1164
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
1165
- /**
1166
- * The data used to update UserNotificationPrefs.
1167
- */
1168
- data: Prisma.XOR<Prisma.UserNotificationPrefsUpdateManyMutationInput, Prisma.UserNotificationPrefsUncheckedUpdateManyInput>
1169
- /**
1170
- * Filter which UserNotificationPrefs to update
1171
- */
1172
- where?: Prisma.UserNotificationPrefsWhereInput
1173
- /**
1174
- * Limit how many UserNotificationPrefs to update.
1175
- */
1176
- limit?: number
1177
- }
1178
-
1179
- /**
1180
- * UserNotificationPrefs upsert
1181
- */
1182
- export type UserNotificationPrefsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1183
- /**
1184
- * Select specific fields to fetch from the UserNotificationPrefs
1185
- */
1186
- select?: Prisma.UserNotificationPrefsSelect<ExtArgs> | null
1187
- /**
1188
- * Omit specific fields from the UserNotificationPrefs
1189
- */
1190
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
1191
- /**
1192
- * The filter to search for the UserNotificationPrefs to update in case it exists.
1193
- */
1194
- where: Prisma.UserNotificationPrefsWhereUniqueInput
1195
- /**
1196
- * In case the UserNotificationPrefs found by the `where` argument doesn't exist, create a new UserNotificationPrefs with this data.
1197
- */
1198
- create: Prisma.XOR<Prisma.UserNotificationPrefsCreateInput, Prisma.UserNotificationPrefsUncheckedCreateInput>
1199
- /**
1200
- * In case the UserNotificationPrefs was found with the provided `where` argument, update it with this data.
1201
- */
1202
- update: Prisma.XOR<Prisma.UserNotificationPrefsUpdateInput, Prisma.UserNotificationPrefsUncheckedUpdateInput>
1203
- }
1204
-
1205
- /**
1206
- * UserNotificationPrefs delete
1207
- */
1208
- export type UserNotificationPrefsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1209
- /**
1210
- * Select specific fields to fetch from the UserNotificationPrefs
1211
- */
1212
- select?: Prisma.UserNotificationPrefsSelect<ExtArgs> | null
1213
- /**
1214
- * Omit specific fields from the UserNotificationPrefs
1215
- */
1216
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
1217
- /**
1218
- * Filter which UserNotificationPrefs to delete.
1219
- */
1220
- where: Prisma.UserNotificationPrefsWhereUniqueInput
1221
- }
1222
-
1223
- /**
1224
- * UserNotificationPrefs deleteMany
1225
- */
1226
- export type UserNotificationPrefsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1227
- /**
1228
- * Filter which UserNotificationPrefs to delete
1229
- */
1230
- where?: Prisma.UserNotificationPrefsWhereInput
1231
- /**
1232
- * Limit how many UserNotificationPrefs to delete.
1233
- */
1234
- limit?: number
1235
- }
1236
-
1237
- /**
1238
- * UserNotificationPrefs without action
1239
- */
1240
- export type UserNotificationPrefsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1241
- /**
1242
- * Select specific fields to fetch from the UserNotificationPrefs
1243
- */
1244
- select?: Prisma.UserNotificationPrefsSelect<ExtArgs> | null
1245
- /**
1246
- * Omit specific fields from the UserNotificationPrefs
1247
- */
1248
- omit?: Prisma.UserNotificationPrefsOmit<ExtArgs> | null
1249
- }