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