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