@ken2008/zapit-schema 0.1.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,3098 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+
8
+ const {
9
+ Decimal,
10
+ DbNull,
11
+ JsonNull,
12
+ AnyNull,
13
+ NullTypes,
14
+ makeStrictEnum,
15
+ Public,
16
+ getRuntime,
17
+ skip
18
+ } = require('./runtime/index-browser.js')
19
+
20
+
21
+ const Prisma = {}
22
+
23
+ exports.Prisma = Prisma
24
+ exports.$Enums = {}
25
+
26
+ /**
27
+ * Prisma Client JS version: 7.4.0
28
+ * Query Engine version: ab56fe763f921d033a6c195e7ddeb3e255bdbb57
29
+ */
30
+ Prisma.prismaVersion = {
31
+ client: "7.4.0",
32
+ engine: "ab56fe763f921d033a6c195e7ddeb3e255bdbb57"
33
+ }
34
+
35
+ Prisma.PrismaClientKnownRequestError = () => {
36
+ const runtimeName = getRuntime().prettyName;
37
+ throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
38
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
39
+ )};
40
+ Prisma.PrismaClientUnknownRequestError = () => {
41
+ const runtimeName = getRuntime().prettyName;
42
+ throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
43
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
44
+ )}
45
+ Prisma.PrismaClientRustPanicError = () => {
46
+ const runtimeName = getRuntime().prettyName;
47
+ throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
48
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
49
+ )}
50
+ Prisma.PrismaClientInitializationError = () => {
51
+ const runtimeName = getRuntime().prettyName;
52
+ throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
53
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
54
+ )}
55
+ Prisma.PrismaClientValidationError = () => {
56
+ const runtimeName = getRuntime().prettyName;
57
+ throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
58
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
59
+ )}
60
+ Prisma.Decimal = Decimal
61
+
62
+ /**
63
+ * Re-export of sql-template-tag
64
+ */
65
+ Prisma.sql = () => {
66
+ const runtimeName = getRuntime().prettyName;
67
+ throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
68
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
69
+ )}
70
+ Prisma.empty = () => {
71
+ const runtimeName = getRuntime().prettyName;
72
+ throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
73
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
74
+ )}
75
+ Prisma.join = () => {
76
+ const runtimeName = getRuntime().prettyName;
77
+ throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
78
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
79
+ )}
80
+ Prisma.raw = () => {
81
+ const runtimeName = getRuntime().prettyName;
82
+ throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
83
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
84
+ )}
85
+ Prisma.validator = Public.validator
86
+
87
+ /**
88
+ * Extensions
89
+ */
90
+ Prisma.getExtensionContext = () => {
91
+ const runtimeName = getRuntime().prettyName;
92
+ throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
93
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
94
+ )}
95
+ Prisma.defineExtension = () => {
96
+ const runtimeName = getRuntime().prettyName;
97
+ throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
98
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
99
+ )}
100
+
101
+ /**
102
+ * Shorthand utilities for JSON filtering
103
+ */
104
+ Prisma.DbNull = DbNull
105
+ Prisma.JsonNull = JsonNull
106
+ Prisma.AnyNull = AnyNull
107
+
108
+ Prisma.NullTypes = NullTypes
109
+
110
+
111
+
112
+ /**
113
+ * Enums
114
+ */
115
+
116
+ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
117
+ ReadUncommitted: 'ReadUncommitted',
118
+ ReadCommitted: 'ReadCommitted',
119
+ RepeatableRead: 'RepeatableRead',
120
+ Serializable: 'Serializable'
121
+ });
122
+
123
+ exports.Prisma.AccountScalarFieldEnum = {
124
+ id: 'id',
125
+ userId: 'userId',
126
+ provider: 'provider',
127
+ refresh_token: 'refresh_token',
128
+ access_token: 'access_token',
129
+ expires_at: 'expires_at',
130
+ token_type: 'token_type',
131
+ scope: 'scope',
132
+ id_token: 'id_token',
133
+ session_state: 'session_state',
134
+ accountId: 'accountId',
135
+ providerId: 'providerId',
136
+ accessToken: 'accessToken',
137
+ refreshToken: 'refreshToken',
138
+ idToken: 'idToken',
139
+ accessTokenExpiresAt: 'accessTokenExpiresAt',
140
+ refreshTokenExpiresAt: 'refreshTokenExpiresAt',
141
+ password: 'password',
142
+ createdAt: 'createdAt',
143
+ updatedAt: 'updatedAt'
144
+ };
145
+
146
+ exports.Prisma.SessionScalarFieldEnum = {
147
+ id: 'id',
148
+ userId: 'userId',
149
+ expiresAt: 'expiresAt',
150
+ token: 'token',
151
+ createdAt: 'createdAt',
152
+ updatedAt: 'updatedAt',
153
+ ipAddress: 'ipAddress',
154
+ userAgent: 'userAgent',
155
+ impersonatedBy: 'impersonatedBy',
156
+ deviceName: 'deviceName',
157
+ location: 'location',
158
+ isCurrent: 'isCurrent'
159
+ };
160
+
161
+ exports.Prisma.VerificationTokenScalarFieldEnum = {
162
+ identifier: 'identifier',
163
+ token: 'token',
164
+ expires: 'expires'
165
+ };
166
+
167
+ exports.Prisma.VerificationScalarFieldEnum = {
168
+ id: 'id',
169
+ identifier: 'identifier',
170
+ value: 'value',
171
+ expiresAt: 'expiresAt',
172
+ createdAt: 'createdAt',
173
+ updatedAt: 'updatedAt'
174
+ };
175
+
176
+ exports.Prisma.JwksScalarFieldEnum = {
177
+ id: 'id',
178
+ publicKey: 'publicKey',
179
+ privateKey: 'privateKey',
180
+ createdAt: 'createdAt',
181
+ expiresAt: 'expiresAt'
182
+ };
183
+
184
+ exports.Prisma.WebsiteStatusScalarFieldEnum = {
185
+ id: 'id',
186
+ maintenance: 'maintenance',
187
+ temporaryDown: 'temporaryDown',
188
+ bannerMessage: 'bannerMessage',
189
+ statusCode: 'statusCode',
190
+ lastChecked: 'lastChecked',
191
+ createdAt: 'createdAt',
192
+ updatedAt: 'updatedAt'
193
+ };
194
+
195
+ exports.Prisma.NewsScalarFieldEnum = {
196
+ id: 'id',
197
+ title: 'title',
198
+ slug: 'slug',
199
+ content: 'content',
200
+ excerpt: 'excerpt',
201
+ coverImage: 'coverImage',
202
+ category: 'category',
203
+ visibility: 'visibility',
204
+ status: 'status',
205
+ published: 'published',
206
+ publishedAt: 'publishedAt',
207
+ createdAt: 'createdAt',
208
+ updatedAt: 'updatedAt'
209
+ };
210
+
211
+ exports.Prisma.UserScalarFieldEnum = {
212
+ id: 'id',
213
+ name: 'name',
214
+ email: 'email',
215
+ password: 'password',
216
+ emailVerified: 'emailVerified',
217
+ image: 'image',
218
+ role: 'role',
219
+ status: 'status',
220
+ username: 'username',
221
+ displayUsername: 'displayUsername',
222
+ bio: 'bio',
223
+ headline: 'headline',
224
+ pronunciation: 'pronunciation',
225
+ academicLevel: 'academicLevel',
226
+ timezone: 'timezone',
227
+ location: 'location',
228
+ phone: 'phone',
229
+ website: 'website',
230
+ banned: 'banned',
231
+ banReason: 'banReason',
232
+ banExpires: 'banExpires',
233
+ lastSeenAt: 'lastSeenAt',
234
+ createdAt: 'createdAt',
235
+ updatedAt: 'updatedAt'
236
+ };
237
+
238
+ exports.Prisma.StatisticsScalarFieldEnum = {
239
+ id: 'id',
240
+ userId: 'userId',
241
+ totalQuizsCreated: 'totalQuizsCreated',
242
+ totalGamesHosted: 'totalGamesHosted',
243
+ xpCount: 'xpCount',
244
+ timeSpentLearning: 'timeSpentLearning',
245
+ credits: 'credits',
246
+ totalWins: 'totalWins',
247
+ totalCorrectAnswers: 'totalCorrectAnswers',
248
+ totalCrates: 'totalCrates',
249
+ flashcardSessions: 'flashcardSessions',
250
+ examsCompleted: 'examsCompleted',
251
+ tutoringSessions: 'tutoringSessions',
252
+ currentStreak: 'currentStreak',
253
+ longestStreak: 'longestStreak',
254
+ updatedAt: 'updatedAt'
255
+ };
256
+
257
+ exports.Prisma.StatisticsWeeklyReportScalarFieldEnum = {
258
+ id: 'id',
259
+ userId: 'userId',
260
+ weekStart: 'weekStart',
261
+ weekEnd: 'weekEnd',
262
+ totalQuizsCreated: 'totalQuizsCreated',
263
+ totalGamesHosted: 'totalGamesHosted',
264
+ xpCount: 'xpCount',
265
+ timeSpentLearning: 'timeSpentLearning',
266
+ credits: 'credits',
267
+ totalWins: 'totalWins',
268
+ totalCorrectAnswers: 'totalCorrectAnswers',
269
+ totalCrates: 'totalCrates',
270
+ flashcardSessions: 'flashcardSessions',
271
+ examsCompleted: 'examsCompleted',
272
+ createdAt: 'createdAt'
273
+ };
274
+
275
+ exports.Prisma.UserFollowScalarFieldEnum = {
276
+ id: 'id',
277
+ followerId: 'followerId',
278
+ followingId: 'followingId',
279
+ createdAt: 'createdAt'
280
+ };
281
+
282
+ exports.Prisma.ProfileReportScalarFieldEnum = {
283
+ id: 'id',
284
+ reporterId: 'reporterId',
285
+ targetUserId: 'targetUserId',
286
+ reason: 'reason',
287
+ details: 'details',
288
+ status: 'status',
289
+ metadata: 'metadata',
290
+ createdAt: 'createdAt',
291
+ reviewedAt: 'reviewedAt'
292
+ };
293
+
294
+ exports.Prisma.AchievementDefinitionScalarFieldEnum = {
295
+ id: 'id',
296
+ key: 'key',
297
+ title: 'title',
298
+ description: 'description',
299
+ scope: 'scope',
300
+ rarity: 'rarity',
301
+ rewardText: 'rewardText',
302
+ icon: 'icon',
303
+ points: 'points',
304
+ criteria: 'criteria',
305
+ createdById: 'createdById',
306
+ active: 'active',
307
+ createdAt: 'createdAt',
308
+ updatedAt: 'updatedAt'
309
+ };
310
+
311
+ exports.Prisma.UserAchievementScalarFieldEnum = {
312
+ id: 'id',
313
+ userId: 'userId',
314
+ achievementId: 'achievementId',
315
+ progress: 'progress',
316
+ completed: 'completed',
317
+ completedAt: 'completedAt',
318
+ metadata: 'metadata',
319
+ createdAt: 'createdAt'
320
+ };
321
+
322
+ exports.Prisma.UserPinnedContentScalarFieldEnum = {
323
+ id: 'id',
324
+ userId: 'userId',
325
+ contentType: 'contentType',
326
+ contentId: 'contentId',
327
+ title: 'title',
328
+ rankingMetric: 'rankingMetric',
329
+ sortOrder: 'sortOrder',
330
+ metadata: 'metadata',
331
+ createdAt: 'createdAt'
332
+ };
333
+
334
+ exports.Prisma.UserPreferenceScalarFieldEnum = {
335
+ id: 'id',
336
+ userId: 'userId',
337
+ whoCanMessage: 'whoCanMessage',
338
+ whoCanInvite: 'whoCanInvite',
339
+ whoCanSeeProfile: 'whoCanSeeProfile',
340
+ profileVisible: 'profileVisible',
341
+ appearOnline: 'appearOnline',
342
+ showInLeaderboards: 'showInLeaderboards',
343
+ showActivity: 'showActivity',
344
+ theme: 'theme',
345
+ accentColor: 'accentColor',
346
+ reduceMotion: 'reduceMotion',
347
+ fontSize: 'fontSize',
348
+ showTutorRating: 'showTutorRating',
349
+ showStudentCount: 'showStudentCount',
350
+ allowDirectMessages: 'allowDirectMessages',
351
+ showLocation: 'showLocation',
352
+ updatedAt: 'updatedAt'
353
+ };
354
+
355
+ exports.Prisma.CookieConsentPreferenceScalarFieldEnum = {
356
+ id: 'id',
357
+ userId: 'userId',
358
+ essential: 'essential',
359
+ analytics: 'analytics',
360
+ functional: 'functional',
361
+ marketing: 'marketing',
362
+ consentedAt: 'consentedAt',
363
+ updatedAt: 'updatedAt'
364
+ };
365
+
366
+ exports.Prisma.StudyCollectionScalarFieldEnum = {
367
+ id: 'id',
368
+ ownerId: 'ownerId',
369
+ title: 'title',
370
+ slug: 'slug',
371
+ description: 'description',
372
+ type: 'type',
373
+ visibility: 'visibility',
374
+ status: 'status',
375
+ tag: 'tag',
376
+ coverImage: 'coverImage',
377
+ totalItems: 'totalItems',
378
+ totalDurationMinutes: 'totalDurationMinutes',
379
+ enrolledCount: 'enrolledCount',
380
+ metadata: 'metadata',
381
+ createdAt: 'createdAt',
382
+ updatedAt: 'updatedAt'
383
+ };
384
+
385
+ exports.Prisma.StudyCollectionItemScalarFieldEnum = {
386
+ id: 'id',
387
+ collectionId: 'collectionId',
388
+ type: 'type',
389
+ contentId: 'contentId',
390
+ title: 'title',
391
+ sortOrder: 'sortOrder',
392
+ metadata: 'metadata'
393
+ };
394
+
395
+ exports.Prisma.StudyCollectionEnrollmentScalarFieldEnum = {
396
+ id: 'id',
397
+ collectionId: 'collectionId',
398
+ userId: 'userId',
399
+ progress: 'progress',
400
+ currentItemOrder: 'currentItemOrder',
401
+ startedAt: 'startedAt',
402
+ completedAt: 'completedAt'
403
+ };
404
+
405
+ exports.Prisma.ZaplitProfileScalarFieldEnum = {
406
+ id: 'id',
407
+ userId: 'userId',
408
+ activePetId: 'activePetId',
409
+ eggCount: 'eggCount',
410
+ coins: 'coins',
411
+ totalXp: 'totalXp',
412
+ createdAt: 'createdAt',
413
+ updatedAt: 'updatedAt'
414
+ };
415
+
416
+ exports.Prisma.ZaplitPetScalarFieldEnum = {
417
+ id: 'id',
418
+ profileId: 'profileId',
419
+ name: 'name',
420
+ species: 'species',
421
+ element: 'element',
422
+ icon: 'icon',
423
+ level: 'level',
424
+ xp: 'xp',
425
+ maxXp: 'maxXp',
426
+ hp: 'hp',
427
+ energy: 'energy',
428
+ mood: 'mood',
429
+ nextLevel: 'nextLevel',
430
+ quizzesUntilNext: 'quizzesUntilNext',
431
+ isActive: 'isActive',
432
+ metadata: 'metadata',
433
+ unlockedAt: 'unlockedAt',
434
+ lastInteractedAt: 'lastInteractedAt'
435
+ };
436
+
437
+ exports.Prisma.ZaplitPetActionLogScalarFieldEnum = {
438
+ id: 'id',
439
+ petId: 'petId',
440
+ action: 'action',
441
+ deltaXp: 'deltaXp',
442
+ deltaHp: 'deltaHp',
443
+ deltaEnergy: 'deltaEnergy',
444
+ deltaMood: 'deltaMood',
445
+ metadata: 'metadata',
446
+ createdAt: 'createdAt'
447
+ };
448
+
449
+ exports.Prisma.CalendarEntryScalarFieldEnum = {
450
+ id: 'id',
451
+ userId: 'userId',
452
+ title: 'title',
453
+ description: 'description',
454
+ type: 'type',
455
+ status: 'status',
456
+ startsAt: 'startsAt',
457
+ endsAt: 'endsAt',
458
+ subjectName: 'subjectName',
459
+ location: 'location',
460
+ room: 'room',
461
+ notes: 'notes',
462
+ sourceType: 'sourceType',
463
+ sourceId: 'sourceId',
464
+ recurringRule: 'recurringRule',
465
+ isAutoGenerated: 'isAutoGenerated',
466
+ metadata: 'metadata',
467
+ createdAt: 'createdAt',
468
+ updatedAt: 'updatedAt'
469
+ };
470
+
471
+ exports.Prisma.AcademicBoardScalarFieldEnum = {
472
+ id: 'id',
473
+ name: 'name',
474
+ code: 'code',
475
+ countryCode: 'countryCode',
476
+ description: 'description',
477
+ createdAt: 'createdAt',
478
+ updatedAt: 'updatedAt'
479
+ };
480
+
481
+ exports.Prisma.SubjectScalarFieldEnum = {
482
+ id: 'id',
483
+ name: 'name',
484
+ slug: 'slug',
485
+ description: 'description',
486
+ color: 'color',
487
+ icon: 'icon',
488
+ createdAt: 'createdAt',
489
+ updatedAt: 'updatedAt'
490
+ };
491
+
492
+ exports.Prisma.CourseScalarFieldEnum = {
493
+ id: 'id',
494
+ authorId: 'authorId',
495
+ subjectId: 'subjectId',
496
+ boardId: 'boardId',
497
+ title: 'title',
498
+ slug: 'slug',
499
+ description: 'description',
500
+ level: 'level',
501
+ yearGroup: 'yearGroup',
502
+ totalHours: 'totalHours',
503
+ totalLessons: 'totalLessons',
504
+ totalQuizzes: 'totalQuizzes',
505
+ totalFlashcards: 'totalFlashcards',
506
+ status: 'status',
507
+ visibility: 'visibility',
508
+ coverImage: 'coverImage',
509
+ colorFrom: 'colorFrom',
510
+ colorTo: 'colorTo',
511
+ metadata: 'metadata',
512
+ publishedAt: 'publishedAt',
513
+ createdAt: 'createdAt',
514
+ updatedAt: 'updatedAt'
515
+ };
516
+
517
+ exports.Prisma.CourseEnrollmentScalarFieldEnum = {
518
+ id: 'id',
519
+ courseId: 'courseId',
520
+ userId: 'userId',
521
+ status: 'status',
522
+ progress: 'progress',
523
+ lessonsLeft: 'lessonsLeft',
524
+ streak: 'streak',
525
+ isPinned: 'isPinned',
526
+ specMatch: 'specMatch',
527
+ specInfo: 'specInfo',
528
+ lastStudiedAt: 'lastStudiedAt',
529
+ completedAt: 'completedAt',
530
+ createdAt: 'createdAt',
531
+ updatedAt: 'updatedAt'
532
+ };
533
+
534
+ exports.Prisma.CourseTopicScalarFieldEnum = {
535
+ id: 'id',
536
+ courseId: 'courseId',
537
+ number: 'number',
538
+ name: 'name',
539
+ slug: 'slug',
540
+ description: 'description',
541
+ durationMinutes: 'durationMinutes',
542
+ order: 'order',
543
+ videosCount: 'videosCount',
544
+ quizzesCount: 'quizzesCount',
545
+ flashcardsCount: 'flashcardsCount',
546
+ lessonsCount: 'lessonsCount',
547
+ createdAt: 'createdAt',
548
+ updatedAt: 'updatedAt'
549
+ };
550
+
551
+ exports.Prisma.LessonScalarFieldEnum = {
552
+ id: 'id',
553
+ authorId: 'authorId',
554
+ courseId: 'courseId',
555
+ topicId: 'topicId',
556
+ subjectId: 'subjectId',
557
+ title: 'title',
558
+ slug: 'slug',
559
+ description: 'description',
560
+ type: 'type',
561
+ status: 'status',
562
+ visibility: 'visibility',
563
+ durationMinutes: 'durationMinutes',
564
+ progressSummary: 'progressSummary',
565
+ learningOutcomes: 'learningOutcomes',
566
+ downloadableNotes: 'downloadableNotes',
567
+ relatedFlashcards: 'relatedFlashcards',
568
+ explainedByName: 'explainedByName',
569
+ explainedByAvatar: 'explainedByAvatar',
570
+ metadata: 'metadata',
571
+ createdAt: 'createdAt',
572
+ updatedAt: 'updatedAt',
573
+ publishedAt: 'publishedAt'
574
+ };
575
+
576
+ exports.Prisma.LessonStepScalarFieldEnum = {
577
+ id: 'id',
578
+ lessonId: 'lessonId',
579
+ order: 'order',
580
+ type: 'type',
581
+ title: 'title',
582
+ durationMinutes: 'durationMinutes',
583
+ isRequired: 'isRequired',
584
+ content: 'content',
585
+ metadata: 'metadata',
586
+ createdAt: 'createdAt',
587
+ updatedAt: 'updatedAt'
588
+ };
589
+
590
+ exports.Prisma.LessonVersionScalarFieldEnum = {
591
+ id: 'id',
592
+ lessonId: 'lessonId',
593
+ versionLabel: 'versionLabel',
594
+ notes: 'notes',
595
+ snapshot: 'snapshot',
596
+ createdById: 'createdById',
597
+ createdAt: 'createdAt'
598
+ };
599
+
600
+ exports.Prisma.LessonAssetScalarFieldEnum = {
601
+ id: 'id',
602
+ lessonId: 'lessonId',
603
+ type: 'type',
604
+ name: 'name',
605
+ url: 'url',
606
+ mimeType: 'mimeType',
607
+ sizeBytes: 'sizeBytes',
608
+ metadata: 'metadata',
609
+ uploadedById: 'uploadedById',
610
+ createdAt: 'createdAt'
611
+ };
612
+
613
+ exports.Prisma.LessonProgressScalarFieldEnum = {
614
+ id: 'id',
615
+ lessonId: 'lessonId',
616
+ userId: 'userId',
617
+ currentStepIndex: 'currentStepIndex',
618
+ xp: 'xp',
619
+ streak: 'streak',
620
+ maxStreak: 'maxStreak',
621
+ correctAnswers: 'correctAnswers',
622
+ incorrectAnswers: 'incorrectAnswers',
623
+ hintsUsed: 'hintsUsed',
624
+ progress: 'progress',
625
+ startedAt: 'startedAt',
626
+ completedAt: 'completedAt',
627
+ updatedAt: 'updatedAt'
628
+ };
629
+
630
+ exports.Prisma.VideoScalarFieldEnum = {
631
+ id: 'id',
632
+ authorId: 'authorId',
633
+ courseId: 'courseId',
634
+ topicId: 'topicId',
635
+ subjectId: 'subjectId',
636
+ lessonId: 'lessonId',
637
+ title: 'title',
638
+ description: 'description',
639
+ status: 'status',
640
+ visibility: 'visibility',
641
+ difficulty: 'difficulty',
642
+ url: 'url',
643
+ thumbnail: 'thumbnail',
644
+ durationSeconds: 'durationSeconds',
645
+ transcript: 'transcript',
646
+ views: 'views',
647
+ likes: 'likes',
648
+ isFeatured: 'isFeatured',
649
+ hasNotes: 'hasNotes',
650
+ hasQuiz: 'hasQuiz',
651
+ tags: 'tags',
652
+ metadata: 'metadata',
653
+ publishedAt: 'publishedAt',
654
+ createdAt: 'createdAt',
655
+ updatedAt: 'updatedAt'
656
+ };
657
+
658
+ exports.Prisma.VideoChapterScalarFieldEnum = {
659
+ id: 'id',
660
+ videoId: 'videoId',
661
+ title: 'title',
662
+ timeSecond: 'timeSecond',
663
+ order: 'order'
664
+ };
665
+
666
+ exports.Prisma.VideoPlaylistScalarFieldEnum = {
667
+ id: 'id',
668
+ title: 'title',
669
+ description: 'description',
670
+ courseId: 'courseId',
671
+ thumbnail: 'thumbnail',
672
+ totalDuration: 'totalDuration',
673
+ createdAt: 'createdAt',
674
+ updatedAt: 'updatedAt'
675
+ };
676
+
677
+ exports.Prisma.VideoPlaylistItemScalarFieldEnum = {
678
+ id: 'id',
679
+ playlistId: 'playlistId',
680
+ videoId: 'videoId',
681
+ order: 'order'
682
+ };
683
+
684
+ exports.Prisma.VideoProgressScalarFieldEnum = {
685
+ id: 'id',
686
+ videoId: 'videoId',
687
+ userId: 'userId',
688
+ watchedSeconds: 'watchedSeconds',
689
+ progress: 'progress',
690
+ isBookmarked: 'isBookmarked',
691
+ isLiked: 'isLiked',
692
+ completedAt: 'completedAt',
693
+ updatedAt: 'updatedAt'
694
+ };
695
+
696
+ exports.Prisma.QuizScalarFieldEnum = {
697
+ id: 'id',
698
+ title: 'title',
699
+ slug: 'slug',
700
+ description: 'description',
701
+ isPublic: 'isPublic',
702
+ visibility: 'visibility',
703
+ status: 'status',
704
+ coverImage: 'coverImage',
705
+ subjectId: 'subjectId',
706
+ courseId: 'courseId',
707
+ topicId: 'topicId',
708
+ lessonId: 'lessonId',
709
+ boardCode: 'boardCode',
710
+ level: 'level',
711
+ category: 'category',
712
+ estimatedDurationMinutes: 'estimatedDurationMinutes',
713
+ tags: 'tags',
714
+ createdAt: 'createdAt',
715
+ updatedAt: 'updatedAt',
716
+ authorId: 'authorId'
717
+ };
718
+
719
+ exports.Prisma.QuestionScalarFieldEnum = {
720
+ id: 'id',
721
+ quizId: 'quizId',
722
+ topicId: 'topicId',
723
+ text: 'text',
724
+ imageUrl: 'imageUrl',
725
+ explanation: 'explanation',
726
+ hint: 'hint',
727
+ timeLimit: 'timeLimit',
728
+ points: 'points',
729
+ sortOrder: 'sortOrder',
730
+ type: 'type',
731
+ metadata: 'metadata'
732
+ };
733
+
734
+ exports.Prisma.QuestionOptionScalarFieldEnum = {
735
+ id: 'id',
736
+ questionId: 'questionId',
737
+ text: 'text',
738
+ isCorrect: 'isCorrect',
739
+ explanation: 'explanation',
740
+ mediaUrl: 'mediaUrl',
741
+ sortOrder: 'sortOrder'
742
+ };
743
+
744
+ exports.Prisma.QuizAttemptScalarFieldEnum = {
745
+ id: 'id',
746
+ quizId: 'quizId',
747
+ userId: 'userId',
748
+ score: 'score',
749
+ correctAnswers: 'correctAnswers',
750
+ totalQuestions: 'totalQuestions',
751
+ accuracy: 'accuracy',
752
+ durationSeconds: 'durationSeconds',
753
+ startedAt: 'startedAt',
754
+ completedAt: 'completedAt'
755
+ };
756
+
757
+ exports.Prisma.QuizAttemptAnswerScalarFieldEnum = {
758
+ id: 'id',
759
+ attemptId: 'attemptId',
760
+ questionId: 'questionId',
761
+ answerText: 'answerText',
762
+ selectedIndexes: 'selectedIndexes',
763
+ isCorrect: 'isCorrect',
764
+ pointsEarned: 'pointsEarned',
765
+ timeTakenSecond: 'timeTakenSecond'
766
+ };
767
+
768
+ exports.Prisma.FlashcardSetScalarFieldEnum = {
769
+ id: 'id',
770
+ title: 'title',
771
+ description: 'description',
772
+ subjectId: 'subjectId',
773
+ courseId: 'courseId',
774
+ visibility: 'visibility',
775
+ status: 'status',
776
+ authorId: 'authorId',
777
+ createdAt: 'createdAt',
778
+ updatedAt: 'updatedAt'
779
+ };
780
+
781
+ exports.Prisma.FlashcardSubdeckScalarFieldEnum = {
782
+ id: 'id',
783
+ title: 'title',
784
+ setId: 'setId',
785
+ parentId: 'parentId',
786
+ sortOrder: 'sortOrder',
787
+ createdAt: 'createdAt',
788
+ updatedAt: 'updatedAt'
789
+ };
790
+
791
+ exports.Prisma.FlashcardScalarFieldEnum = {
792
+ id: 'id',
793
+ subdeckId: 'subdeckId',
794
+ question: 'question',
795
+ answer: 'answer',
796
+ explanation: 'explanation',
797
+ hint: 'hint',
798
+ imageUrl: 'imageUrl',
799
+ tags: 'tags',
800
+ easeFactor: 'easeFactor',
801
+ intervalDays: 'intervalDays',
802
+ repetitions: 'repetitions',
803
+ nextReviewAt: 'nextReviewAt',
804
+ createdAt: 'createdAt',
805
+ updatedAt: 'updatedAt'
806
+ };
807
+
808
+ exports.Prisma.FlashcardStudySessionScalarFieldEnum = {
809
+ id: 'id',
810
+ setId: 'setId',
811
+ userId: 'userId',
812
+ cardsStudied: 'cardsStudied',
813
+ correctCount: 'correctCount',
814
+ durationSecond: 'durationSecond',
815
+ startedAt: 'startedAt',
816
+ endedAt: 'endedAt'
817
+ };
818
+
819
+ exports.Prisma.FlashcardReviewScalarFieldEnum = {
820
+ id: 'id',
821
+ flashcardId: 'flashcardId',
822
+ userId: 'userId',
823
+ rating: 'rating',
824
+ reviewedAt: 'reviewedAt'
825
+ };
826
+
827
+ exports.Prisma.ExamScalarFieldEnum = {
828
+ id: 'id',
829
+ title: 'title',
830
+ slug: 'slug',
831
+ description: 'description',
832
+ subjectId: 'subjectId',
833
+ boardId: 'boardId',
834
+ courseId: 'courseId',
835
+ lessonId: 'lessonId',
836
+ topicId: 'topicId',
837
+ level: 'level',
838
+ paper: 'paper',
839
+ status: 'status',
840
+ timeLimitMinutes: 'timeLimitMinutes',
841
+ totalMarks: 'totalMarks',
842
+ instructions: 'instructions',
843
+ metadata: 'metadata',
844
+ createdById: 'createdById',
845
+ createdAt: 'createdAt',
846
+ updatedAt: 'updatedAt',
847
+ publishedAt: 'publishedAt'
848
+ };
849
+
850
+ exports.Prisma.ExamSectionScalarFieldEnum = {
851
+ id: 'id',
852
+ examId: 'examId',
853
+ title: 'title',
854
+ instructions: 'instructions',
855
+ sortOrder: 'sortOrder',
856
+ marks: 'marks'
857
+ };
858
+
859
+ exports.Prisma.ExamQuestionScalarFieldEnum = {
860
+ id: 'id',
861
+ examId: 'examId',
862
+ sectionId: 'sectionId',
863
+ prompt: 'prompt',
864
+ questionNumber: 'questionNumber',
865
+ marks: 'marks',
866
+ expectedAnswer: 'expectedAnswer',
867
+ workedSolution: 'workedSolution',
868
+ markScheme: 'markScheme',
869
+ allowWhiteboard: 'allowWhiteboard',
870
+ metadata: 'metadata'
871
+ };
872
+
873
+ exports.Prisma.ExamSessionScalarFieldEnum = {
874
+ id: 'id',
875
+ examId: 'examId',
876
+ userId: 'userId',
877
+ status: 'status',
878
+ progress: 'progress',
879
+ score: 'score',
880
+ maxScore: 'maxScore',
881
+ grade: 'grade',
882
+ timeRemainingSeconds: 'timeRemainingSeconds',
883
+ flags: 'flags',
884
+ startedAt: 'startedAt',
885
+ submittedAt: 'submittedAt',
886
+ gradedAt: 'gradedAt'
887
+ };
888
+
889
+ exports.Prisma.ExamResponseScalarFieldEnum = {
890
+ id: 'id',
891
+ sessionId: 'sessionId',
892
+ questionId: 'questionId',
893
+ answerText: 'answerText',
894
+ attachments: 'attachments',
895
+ marksAwarded: 'marksAwarded',
896
+ isCorrect: 'isCorrect',
897
+ flagged: 'flagged',
898
+ timeSpentSeconds: 'timeSpentSeconds'
899
+ };
900
+
901
+ exports.Prisma.QuestionTagScalarFieldEnum = {
902
+ id: 'id',
903
+ name: 'name',
904
+ category: 'category',
905
+ description: 'description',
906
+ createdAt: 'createdAt'
907
+ };
908
+
909
+ exports.Prisma.ExamQuestionTagScalarFieldEnum = {
910
+ id: 'id',
911
+ questionId: 'questionId',
912
+ tagId: 'tagId'
913
+ };
914
+
915
+ exports.Prisma.ExamQuestionVersionScalarFieldEnum = {
916
+ id: 'id',
917
+ questionId: 'questionId',
918
+ versionLabel: 'versionLabel',
919
+ changeSummary: 'changeSummary',
920
+ snapshot: 'snapshot',
921
+ isCurrent: 'isCurrent',
922
+ createdById: 'createdById',
923
+ createdAt: 'createdAt'
924
+ };
925
+
926
+ exports.Prisma.ExamAntiCheatFlagScalarFieldEnum = {
927
+ id: 'id',
928
+ sessionId: 'sessionId',
929
+ responseId: 'responseId',
930
+ reason: 'reason',
931
+ severity: 'severity',
932
+ status: 'status',
933
+ details: 'details',
934
+ timeline: 'timeline',
935
+ metadata: 'metadata',
936
+ reviewedById: 'reviewedById',
937
+ detectedAt: 'detectedAt',
938
+ reviewedAt: 'reviewedAt'
939
+ };
940
+
941
+ exports.Prisma.CertificationRuleScalarFieldEnum = {
942
+ id: 'id',
943
+ title: 'title',
944
+ description: 'description',
945
+ criteria: 'criteria',
946
+ rewardText: 'rewardText',
947
+ rewardXp: 'rewardXp',
948
+ active: 'active',
949
+ examId: 'examId',
950
+ subjectId: 'subjectId',
951
+ achievementId: 'achievementId',
952
+ createdById: 'createdById',
953
+ metadata: 'metadata',
954
+ createdAt: 'createdAt',
955
+ updatedAt: 'updatedAt'
956
+ };
957
+
958
+ exports.Prisma.TutorProfileScalarFieldEnum = {
959
+ id: 'id',
960
+ userId: 'userId',
961
+ qualification: 'qualification',
962
+ bio: 'bio',
963
+ yearsExperience: 'yearsExperience',
964
+ hourlyRate: 'hourlyRate',
965
+ originalHourlyRate: 'originalHourlyRate',
966
+ ratingAverage: 'ratingAverage',
967
+ reviewCount: 'reviewCount',
968
+ verificationStatus: 'verificationStatus',
969
+ availabilityText: 'availabilityText',
970
+ isVerified: 'isVerified',
971
+ createdAt: 'createdAt',
972
+ updatedAt: 'updatedAt'
973
+ };
974
+
975
+ exports.Prisma.TutorSubjectScalarFieldEnum = {
976
+ id: 'id',
977
+ tutorProfileId: 'tutorProfileId',
978
+ subjectId: 'subjectId',
979
+ boardId: 'boardId',
980
+ level: 'level',
981
+ price: 'price'
982
+ };
983
+
984
+ exports.Prisma.TutorAvailabilityScalarFieldEnum = {
985
+ id: 'id',
986
+ tutorProfileId: 'tutorProfileId',
987
+ dayOfWeek: 'dayOfWeek',
988
+ startTime: 'startTime',
989
+ endTime: 'endTime',
990
+ timezone: 'timezone',
991
+ available: 'available'
992
+ };
993
+
994
+ exports.Prisma.StudentProfileScalarFieldEnum = {
995
+ id: 'id',
996
+ userId: 'userId',
997
+ grade: 'grade',
998
+ targetGrade: 'targetGrade',
999
+ strengths: 'strengths',
1000
+ weaknesses: 'weaknesses',
1001
+ parentName: 'parentName',
1002
+ parentEmail: 'parentEmail',
1003
+ parentPhone: 'parentPhone',
1004
+ attendance: 'attendance',
1005
+ progress: 'progress',
1006
+ sessionsCompleted: 'sessionsCompleted',
1007
+ totalSessions: 'totalSessions',
1008
+ createdAt: 'createdAt',
1009
+ updatedAt: 'updatedAt'
1010
+ };
1011
+
1012
+ exports.Prisma.ResourceFolderScalarFieldEnum = {
1013
+ id: 'id',
1014
+ ownerId: 'ownerId',
1015
+ name: 'name',
1016
+ color: 'color',
1017
+ description: 'description',
1018
+ createdAt: 'createdAt',
1019
+ updatedAt: 'updatedAt'
1020
+ };
1021
+
1022
+ exports.Prisma.ResourceItemScalarFieldEnum = {
1023
+ id: 'id',
1024
+ ownerId: 'ownerId',
1025
+ folderId: 'folderId',
1026
+ courseId: 'courseId',
1027
+ lessonId: 'lessonId',
1028
+ title: 'title',
1029
+ type: 'type',
1030
+ format: 'format',
1031
+ sizeBytes: 'sizeBytes',
1032
+ url: 'url',
1033
+ externalUrl: 'externalUrl',
1034
+ shared: 'shared',
1035
+ starred: 'starred',
1036
+ downloads: 'downloads',
1037
+ views: 'views',
1038
+ archivedAt: 'archivedAt',
1039
+ createdAt: 'createdAt',
1040
+ lastUsedAt: 'lastUsedAt',
1041
+ updatedAt: 'updatedAt'
1042
+ };
1043
+
1044
+ exports.Prisma.TutorPaymentMethodScalarFieldEnum = {
1045
+ id: 'id',
1046
+ userId: 'userId',
1047
+ type: 'type',
1048
+ name: 'name',
1049
+ provider: 'provider',
1050
+ externalRef: 'externalRef',
1051
+ isDefault: 'isDefault',
1052
+ status: 'status',
1053
+ createdAt: 'createdAt',
1054
+ updatedAt: 'updatedAt'
1055
+ };
1056
+
1057
+ exports.Prisma.PayoutRequestScalarFieldEnum = {
1058
+ id: 'id',
1059
+ userId: 'userId',
1060
+ paymentMethodId: 'paymentMethodId',
1061
+ amount: 'amount',
1062
+ currency: 'currency',
1063
+ status: 'status',
1064
+ requestedAt: 'requestedAt',
1065
+ processedAt: 'processedAt',
1066
+ notes: 'notes'
1067
+ };
1068
+
1069
+ exports.Prisma.TutorPricingPackageScalarFieldEnum = {
1070
+ id: 'id',
1071
+ userId: 'userId',
1072
+ name: 'name',
1073
+ price: 'price',
1074
+ durationLabel: 'durationLabel',
1075
+ savingsLabel: 'savingsLabel',
1076
+ popularity: 'popularity',
1077
+ active: 'active',
1078
+ createdAt: 'createdAt',
1079
+ updatedAt: 'updatedAt'
1080
+ };
1081
+
1082
+ exports.Prisma.TutorInvoiceScalarFieldEnum = {
1083
+ id: 'id',
1084
+ invoiceNumber: 'invoiceNumber',
1085
+ issuerId: 'issuerId',
1086
+ studentName: 'studentName',
1087
+ studentEmail: 'studentEmail',
1088
+ amount: 'amount',
1089
+ dueAt: 'dueAt',
1090
+ paidAt: 'paidAt',
1091
+ status: 'status',
1092
+ description: 'description',
1093
+ createdAt: 'createdAt',
1094
+ updatedAt: 'updatedAt'
1095
+ };
1096
+
1097
+ exports.Prisma.TutorVerificationRequestScalarFieldEnum = {
1098
+ id: 'id',
1099
+ userId: 'userId',
1100
+ status: 'status',
1101
+ documents: 'documents',
1102
+ submittedAt: 'submittedAt',
1103
+ reviewedAt: 'reviewedAt',
1104
+ reviewerId: 'reviewerId',
1105
+ notes: 'notes'
1106
+ };
1107
+
1108
+ exports.Prisma.TutorBookingScalarFieldEnum = {
1109
+ id: 'id',
1110
+ tutorId: 'tutorId',
1111
+ studentId: 'studentId',
1112
+ subjectId: 'subjectId',
1113
+ requestedTopic: 'requestedTopic',
1114
+ message: 'message',
1115
+ proposedStartAt: 'proposedStartAt',
1116
+ proposedEndAt: 'proposedEndAt',
1117
+ sessionType: 'sessionType',
1118
+ format: 'format',
1119
+ status: 'status',
1120
+ quotedPrice: 'quotedPrice',
1121
+ createdAt: 'createdAt',
1122
+ updatedAt: 'updatedAt',
1123
+ tutoringSessionId: 'tutoringSessionId'
1124
+ };
1125
+
1126
+ exports.Prisma.TutoringSessionScalarFieldEnum = {
1127
+ id: 'id',
1128
+ tutorId: 'tutorId',
1129
+ subjectId: 'subjectId',
1130
+ boardCode: 'boardCode',
1131
+ title: 'title',
1132
+ topic: 'topic',
1133
+ sessionType: 'sessionType',
1134
+ format: 'format',
1135
+ status: 'status',
1136
+ scheduledStartAt: 'scheduledStartAt',
1137
+ scheduledEndAt: 'scheduledEndAt',
1138
+ timezone: 'timezone',
1139
+ location: 'location',
1140
+ meetingUrl: 'meetingUrl',
1141
+ recurring: 'recurring',
1142
+ recurrenceRule: 'recurrenceRule',
1143
+ notes: 'notes',
1144
+ materials: 'materials',
1145
+ recordingUrl: 'recordingUrl',
1146
+ whiteboardState: 'whiteboardState',
1147
+ maxParticipants: 'maxParticipants',
1148
+ priceAmount: 'priceAmount',
1149
+ currency: 'currency',
1150
+ createdAt: 'createdAt',
1151
+ updatedAt: 'updatedAt'
1152
+ };
1153
+
1154
+ exports.Prisma.TutoringSessionAttendeeScalarFieldEnum = {
1155
+ id: 'id',
1156
+ tutoringSessionId: 'tutoringSessionId',
1157
+ userId: 'userId',
1158
+ role: 'role',
1159
+ status: 'status',
1160
+ joinedAt: 'joinedAt',
1161
+ leftAt: 'leftAt',
1162
+ attendance: 'attendance',
1163
+ rating: 'rating',
1164
+ feedback: 'feedback'
1165
+ };
1166
+
1167
+ exports.Prisma.TutorReviewScalarFieldEnum = {
1168
+ id: 'id',
1169
+ tutorId: 'tutorId',
1170
+ userId: 'userId',
1171
+ rating: 'rating',
1172
+ content: 'content',
1173
+ createdAt: 'createdAt'
1174
+ };
1175
+
1176
+ exports.Prisma.ClassroomScalarFieldEnum = {
1177
+ id: 'id',
1178
+ ownerId: 'ownerId',
1179
+ courseId: 'courseId',
1180
+ subjectId: 'subjectId',
1181
+ boardId: 'boardId',
1182
+ name: 'name',
1183
+ description: 'description',
1184
+ joinCode: 'joinCode',
1185
+ status: 'status',
1186
+ color: 'color',
1187
+ metadata: 'metadata',
1188
+ createdAt: 'createdAt',
1189
+ updatedAt: 'updatedAt'
1190
+ };
1191
+
1192
+ exports.Prisma.ClassroomEnrollmentScalarFieldEnum = {
1193
+ id: 'id',
1194
+ classroomId: 'classroomId',
1195
+ userId: 'userId',
1196
+ role: 'role',
1197
+ status: 'status',
1198
+ progress: 'progress',
1199
+ attendance: 'attendance',
1200
+ joinedAt: 'joinedAt'
1201
+ };
1202
+
1203
+ exports.Prisma.ClassroomActivityScalarFieldEnum = {
1204
+ id: 'id',
1205
+ classroomId: 'classroomId',
1206
+ type: 'type',
1207
+ title: 'title',
1208
+ description: 'description',
1209
+ metadata: 'metadata',
1210
+ createdAt: 'createdAt'
1211
+ };
1212
+
1213
+ exports.Prisma.ClassroomPollScalarFieldEnum = {
1214
+ id: 'id',
1215
+ classroomId: 'classroomId',
1216
+ createdById: 'createdById',
1217
+ question: 'question',
1218
+ isAnonymous: 'isAnonymous',
1219
+ status: 'status',
1220
+ startsAt: 'startsAt',
1221
+ endsAt: 'endsAt',
1222
+ createdAt: 'createdAt',
1223
+ updatedAt: 'updatedAt'
1224
+ };
1225
+
1226
+ exports.Prisma.ClassroomPollOptionScalarFieldEnum = {
1227
+ id: 'id',
1228
+ pollId: 'pollId',
1229
+ text: 'text',
1230
+ sortOrder: 'sortOrder',
1231
+ votes: 'votes'
1232
+ };
1233
+
1234
+ exports.Prisma.ClassroomPollResponseScalarFieldEnum = {
1235
+ id: 'id',
1236
+ pollId: 'pollId',
1237
+ optionId: 'optionId',
1238
+ userId: 'userId',
1239
+ respondedAt: 'respondedAt'
1240
+ };
1241
+
1242
+ exports.Prisma.AssignmentScalarFieldEnum = {
1243
+ id: 'id',
1244
+ authorId: 'authorId',
1245
+ classroomId: 'classroomId',
1246
+ courseId: 'courseId',
1247
+ lessonId: 'lessonId',
1248
+ title: 'title',
1249
+ description: 'description',
1250
+ status: 'status',
1251
+ dueAt: 'dueAt',
1252
+ maxPoints: 'maxPoints',
1253
+ attachments: 'attachments',
1254
+ rubric: 'rubric',
1255
+ metadata: 'metadata',
1256
+ createdAt: 'createdAt',
1257
+ updatedAt: 'updatedAt'
1258
+ };
1259
+
1260
+ exports.Prisma.AssignmentSubmissionScalarFieldEnum = {
1261
+ id: 'id',
1262
+ assignmentId: 'assignmentId',
1263
+ userId: 'userId',
1264
+ status: 'status',
1265
+ content: 'content',
1266
+ attachments: 'attachments',
1267
+ score: 'score',
1268
+ feedback: 'feedback',
1269
+ submittedAt: 'submittedAt',
1270
+ gradedAt: 'gradedAt',
1271
+ createdAt: 'createdAt',
1272
+ updatedAt: 'updatedAt'
1273
+ };
1274
+
1275
+ exports.Prisma.ConversationScalarFieldEnum = {
1276
+ id: 'id',
1277
+ createdById: 'createdById',
1278
+ type: 'type',
1279
+ title: 'title',
1280
+ lastMessageAt: 'lastMessageAt',
1281
+ createdAt: 'createdAt',
1282
+ updatedAt: 'updatedAt'
1283
+ };
1284
+
1285
+ exports.Prisma.ConversationParticipantScalarFieldEnum = {
1286
+ id: 'id',
1287
+ conversationId: 'conversationId',
1288
+ userId: 'userId',
1289
+ role: 'role',
1290
+ unreadCount: 'unreadCount',
1291
+ archivedAt: 'archivedAt',
1292
+ pinnedAt: 'pinnedAt',
1293
+ joinedAt: 'joinedAt'
1294
+ };
1295
+
1296
+ exports.Prisma.MessageScalarFieldEnum = {
1297
+ id: 'id',
1298
+ conversationId: 'conversationId',
1299
+ senderUserId: 'senderUserId',
1300
+ senderRole: 'senderRole',
1301
+ content: 'content',
1302
+ metadata: 'metadata',
1303
+ createdAt: 'createdAt',
1304
+ editedAt: 'editedAt',
1305
+ readAt: 'readAt'
1306
+ };
1307
+
1308
+ exports.Prisma.MessageAttachmentScalarFieldEnum = {
1309
+ id: 'id',
1310
+ messageId: 'messageId',
1311
+ name: 'name',
1312
+ url: 'url',
1313
+ mimeType: 'mimeType',
1314
+ sizeBytes: 'sizeBytes'
1315
+ };
1316
+
1317
+ exports.Prisma.AnnouncementScalarFieldEnum = {
1318
+ id: 'id',
1319
+ authorId: 'authorId',
1320
+ title: 'title',
1321
+ content: 'content',
1322
+ recipients: 'recipients',
1323
+ status: 'status',
1324
+ scheduledFor: 'scheduledFor',
1325
+ sentAt: 'sentAt',
1326
+ createdAt: 'createdAt',
1327
+ updatedAt: 'updatedAt'
1328
+ };
1329
+
1330
+ exports.Prisma.AnnouncementRecipientScalarFieldEnum = {
1331
+ id: 'id',
1332
+ announcementId: 'announcementId',
1333
+ userId: 'userId',
1334
+ deliveredAt: 'deliveredAt',
1335
+ readAt: 'readAt'
1336
+ };
1337
+
1338
+ exports.Prisma.NotificationPreferenceScalarFieldEnum = {
1339
+ id: 'id',
1340
+ userId: 'userId',
1341
+ inAppEnabled: 'inAppEnabled',
1342
+ emailEnabled: 'emailEnabled',
1343
+ pushEnabled: 'pushEnabled',
1344
+ quietHoursEnabled: 'quietHoursEnabled',
1345
+ quietHoursStart: 'quietHoursStart',
1346
+ quietHoursEnd: 'quietHoursEnd',
1347
+ digestMode: 'digestMode',
1348
+ notifyGameInvites: 'notifyGameInvites',
1349
+ notifyQuizUpdates: 'notifyQuizUpdates',
1350
+ notifyAchievements: 'notifyAchievements',
1351
+ notifyFollowers: 'notifyFollowers',
1352
+ notifyComments: 'notifyComments',
1353
+ notifyMarketing: 'notifyMarketing',
1354
+ emailNewBooking: 'emailNewBooking',
1355
+ emailCancellation: 'emailCancellation',
1356
+ emailMessages: 'emailMessages',
1357
+ emailWeeklyReport: 'emailWeeklyReport',
1358
+ pushNewBooking: 'pushNewBooking',
1359
+ pushMessages: 'pushMessages',
1360
+ pushReminders: 'pushReminders',
1361
+ smsReminders: 'smsReminders',
1362
+ allowDirectMessages: 'allowDirectMessages',
1363
+ updatedAt: 'updatedAt'
1364
+ };
1365
+
1366
+ exports.Prisma.NotificationScalarFieldEnum = {
1367
+ id: 'id',
1368
+ userId: 'userId',
1369
+ type: 'type',
1370
+ channel: 'channel',
1371
+ title: 'title',
1372
+ content: 'content',
1373
+ actionUrl: 'actionUrl',
1374
+ isRead: 'isRead',
1375
+ readAt: 'readAt',
1376
+ metadata: 'metadata',
1377
+ createdAt: 'createdAt'
1378
+ };
1379
+
1380
+ exports.Prisma.SupportTicketScalarFieldEnum = {
1381
+ id: 'id',
1382
+ requesterId: 'requesterId',
1383
+ assigneeId: 'assigneeId',
1384
+ conversationId: 'conversationId',
1385
+ subject: 'subject',
1386
+ description: 'description',
1387
+ category: 'category',
1388
+ status: 'status',
1389
+ priority: 'priority',
1390
+ metadata: 'metadata',
1391
+ createdAt: 'createdAt',
1392
+ updatedAt: 'updatedAt',
1393
+ resolvedAt: 'resolvedAt'
1394
+ };
1395
+
1396
+ exports.Prisma.SupportConversationScalarFieldEnum = {
1397
+ id: 'id',
1398
+ userId: 'userId',
1399
+ agentId: 'agentId',
1400
+ subject: 'subject',
1401
+ lastMessage: 'lastMessage',
1402
+ lastMessageAt: 'lastMessageAt',
1403
+ unreadCount: 'unreadCount',
1404
+ status: 'status',
1405
+ createdAt: 'createdAt',
1406
+ updatedAt: 'updatedAt'
1407
+ };
1408
+
1409
+ exports.Prisma.SupportMessageScalarFieldEnum = {
1410
+ id: 'id',
1411
+ conversationId: 'conversationId',
1412
+ authorId: 'authorId',
1413
+ senderName: 'senderName',
1414
+ senderRole: 'senderRole',
1415
+ senderAvatar: 'senderAvatar',
1416
+ text: 'text',
1417
+ isRead: 'isRead',
1418
+ createdAt: 'createdAt'
1419
+ };
1420
+
1421
+ exports.Prisma.SupportAttachmentScalarFieldEnum = {
1422
+ id: 'id',
1423
+ messageId: 'messageId',
1424
+ name: 'name',
1425
+ url: 'url',
1426
+ type: 'type',
1427
+ size: 'size'
1428
+ };
1429
+
1430
+ exports.Prisma.CommunityScalarFieldEnum = {
1431
+ id: 'id',
1432
+ ownerId: 'ownerId',
1433
+ subjectId: 'subjectId',
1434
+ name: 'name',
1435
+ slug: 'slug',
1436
+ description: 'description',
1437
+ visibility: 'visibility',
1438
+ createdAt: 'createdAt',
1439
+ updatedAt: 'updatedAt'
1440
+ };
1441
+
1442
+ exports.Prisma.CommunityMembershipScalarFieldEnum = {
1443
+ id: 'id',
1444
+ communityId: 'communityId',
1445
+ userId: 'userId',
1446
+ joinedAt: 'joinedAt'
1447
+ };
1448
+
1449
+ exports.Prisma.CommunityPostScalarFieldEnum = {
1450
+ id: 'id',
1451
+ communityId: 'communityId',
1452
+ authorId: 'authorId',
1453
+ content: 'content',
1454
+ images: 'images',
1455
+ codeSnippet: 'codeSnippet',
1456
+ tags: 'tags',
1457
+ likes: 'likes',
1458
+ isPinned: 'isPinned',
1459
+ createdAt: 'createdAt',
1460
+ updatedAt: 'updatedAt'
1461
+ };
1462
+
1463
+ exports.Prisma.CommunityReplyScalarFieldEnum = {
1464
+ id: 'id',
1465
+ postId: 'postId',
1466
+ authorId: 'authorId',
1467
+ content: 'content',
1468
+ likes: 'likes',
1469
+ createdAt: 'createdAt'
1470
+ };
1471
+
1472
+ exports.Prisma.CommunityEventScalarFieldEnum = {
1473
+ id: 'id',
1474
+ communityId: 'communityId',
1475
+ hostId: 'hostId',
1476
+ title: 'title',
1477
+ description: 'description',
1478
+ startsAt: 'startsAt',
1479
+ endsAt: 'endsAt',
1480
+ location: 'location',
1481
+ metadata: 'metadata',
1482
+ createdAt: 'createdAt'
1483
+ };
1484
+
1485
+ exports.Prisma.CommunityResourceScalarFieldEnum = {
1486
+ id: 'id',
1487
+ communityId: 'communityId',
1488
+ title: 'title',
1489
+ description: 'description',
1490
+ type: 'type',
1491
+ url: 'url',
1492
+ metadata: 'metadata',
1493
+ createdAt: 'createdAt'
1494
+ };
1495
+
1496
+ exports.Prisma.UserActivityEventScalarFieldEnum = {
1497
+ id: 'id',
1498
+ userId: 'userId',
1499
+ subjectId: 'subjectId',
1500
+ type: 'type',
1501
+ title: 'title',
1502
+ subjectName: 'subjectName',
1503
+ boardCode: 'boardCode',
1504
+ topic: 'topic',
1505
+ occurredAt: 'occurredAt',
1506
+ durationMinutes: 'durationMinutes',
1507
+ status: 'status',
1508
+ placement: 'placement',
1509
+ rank: 'rank',
1510
+ totalParticipants: 'totalParticipants',
1511
+ score: 'score',
1512
+ maxScore: 'maxScore',
1513
+ accuracy: 'accuracy',
1514
+ correctAnswers: 'correctAnswers',
1515
+ totalQuestions: 'totalQuestions',
1516
+ xpEarned: 'xpEarned',
1517
+ streakBonus: 'streakBonus',
1518
+ achievements: 'achievements',
1519
+ hostName: 'hostName',
1520
+ hostAvatar: 'hostAvatar',
1521
+ gameCode: 'gameCode',
1522
+ avgResponseTime: 'avgResponseTime',
1523
+ fastestAnswer: 'fastestAnswer',
1524
+ longestStreak: 'longestStreak',
1525
+ improvement: 'improvement',
1526
+ difficulty: 'difficulty',
1527
+ badges: 'badges',
1528
+ metadata: 'metadata'
1529
+ };
1530
+
1531
+ exports.Prisma.FeedbackScalarFieldEnum = {
1532
+ id: 'id',
1533
+ userId: 'userId',
1534
+ type: 'type',
1535
+ email: 'email',
1536
+ page: 'page',
1537
+ message: 'message',
1538
+ rating: 'rating',
1539
+ status: 'status',
1540
+ priority: 'priority',
1541
+ createdAt: 'createdAt',
1542
+ updatedAt: 'updatedAt'
1543
+ };
1544
+
1545
+ exports.Prisma.FraudAlertScalarFieldEnum = {
1546
+ id: 'id',
1547
+ userId: 'userId',
1548
+ type: 'type',
1549
+ riskScore: 'riskScore',
1550
+ details: 'details',
1551
+ status: 'status',
1552
+ detectedAt: 'detectedAt',
1553
+ resolvedAt: 'resolvedAt',
1554
+ resolutionNotes: 'resolutionNotes'
1555
+ };
1556
+
1557
+ exports.Prisma.BehavioralRuleScalarFieldEnum = {
1558
+ id: 'id',
1559
+ name: 'name',
1560
+ description: 'description',
1561
+ severity: 'severity',
1562
+ autoAction: 'autoAction',
1563
+ enabled: 'enabled',
1564
+ createdAt: 'createdAt',
1565
+ updatedAt: 'updatedAt'
1566
+ };
1567
+
1568
+ exports.Prisma.ModerationCaseScalarFieldEnum = {
1569
+ id: 'id',
1570
+ contentType: 'contentType',
1571
+ contentId: 'contentId',
1572
+ title: 'title',
1573
+ authorName: 'authorName',
1574
+ authorUserId: 'authorUserId',
1575
+ reason: 'reason',
1576
+ reportCount: 'reportCount',
1577
+ status: 'status',
1578
+ priority: 'priority',
1579
+ preview: 'preview',
1580
+ aiAction: 'aiAction',
1581
+ aiConfidence: 'aiConfidence',
1582
+ aiReason: 'aiReason',
1583
+ openedAt: 'openedAt',
1584
+ reviewedAt: 'reviewedAt'
1585
+ };
1586
+
1587
+ exports.Prisma.ModerationActionScalarFieldEnum = {
1588
+ id: 'id',
1589
+ moderationCaseId: 'moderationCaseId',
1590
+ action: 'action',
1591
+ moderatorName: 'moderatorName',
1592
+ moderatorId: 'moderatorId',
1593
+ reason: 'reason',
1594
+ aiAssisted: 'aiAssisted',
1595
+ createdAt: 'createdAt'
1596
+ };
1597
+
1598
+ exports.Prisma.ModerationRuleScalarFieldEnum = {
1599
+ id: 'id',
1600
+ name: 'name',
1601
+ category: 'category',
1602
+ status: 'status',
1603
+ sensitivity: 'sensitivity',
1604
+ falsePositiveRate: 'falsePositiveRate',
1605
+ matches: 'matches',
1606
+ lastTriggeredAt: 'lastTriggeredAt',
1607
+ createdAt: 'createdAt',
1608
+ updatedAt: 'updatedAt'
1609
+ };
1610
+
1611
+ exports.Prisma.IpBanScalarFieldEnum = {
1612
+ id: 'id',
1613
+ ipAddress: 'ipAddress',
1614
+ reason: 'reason',
1615
+ bannedBy: 'bannedBy',
1616
+ attempts: 'attempts',
1617
+ bannedAt: 'bannedAt',
1618
+ expiresAt: 'expiresAt',
1619
+ isPermanent: 'isPermanent'
1620
+ };
1621
+
1622
+ exports.Prisma.SecurityScanScalarFieldEnum = {
1623
+ id: 'id',
1624
+ scanType: 'scanType',
1625
+ status: 'status',
1626
+ issuesFound: 'issuesFound',
1627
+ startedAt: 'startedAt',
1628
+ completedAt: 'completedAt',
1629
+ durationSeconds: 'durationSeconds',
1630
+ metadata: 'metadata',
1631
+ createdAt: 'createdAt'
1632
+ };
1633
+
1634
+ exports.Prisma.SecurityTwoFactorMethodScalarFieldEnum = {
1635
+ id: 'id',
1636
+ userId: 'userId',
1637
+ method: 'method',
1638
+ enabledAt: 'enabledAt',
1639
+ lastUsedAt: 'lastUsedAt',
1640
+ active: 'active'
1641
+ };
1642
+
1643
+ exports.Prisma.ApiEndpointStatScalarFieldEnum = {
1644
+ id: 'id',
1645
+ endpoint: 'endpoint',
1646
+ method: 'method',
1647
+ status: 'status',
1648
+ latencyMs: 'latencyMs',
1649
+ requests: 'requests',
1650
+ errors: 'errors',
1651
+ capturedAt: 'capturedAt'
1652
+ };
1653
+
1654
+ exports.Prisma.ApiBillingTierScalarFieldEnum = {
1655
+ id: 'id',
1656
+ name: 'name',
1657
+ monthlyCallLimit: 'monthlyCallLimit',
1658
+ requestsPerMinute: 'requestsPerMinute',
1659
+ dailyRequestLimit: 'dailyRequestLimit',
1660
+ burstLimit: 'burstLimit',
1661
+ price: 'price',
1662
+ active: 'active',
1663
+ isDefault: 'isDefault',
1664
+ createdAt: 'createdAt',
1665
+ updatedAt: 'updatedAt'
1666
+ };
1667
+
1668
+ exports.Prisma.ApplicationErrorLogScalarFieldEnum = {
1669
+ id: 'id',
1670
+ errorCode: 'errorCode',
1671
+ errorType: 'errorType',
1672
+ message: 'message',
1673
+ filePath: 'filePath',
1674
+ stack: 'stack',
1675
+ status: 'status',
1676
+ count: 'count',
1677
+ firstSeenAt: 'firstSeenAt',
1678
+ lastSeenAt: 'lastSeenAt'
1679
+ };
1680
+
1681
+ exports.Prisma.SystemLogEntryScalarFieldEnum = {
1682
+ id: 'id',
1683
+ level: 'level',
1684
+ message: 'message',
1685
+ source: 'source',
1686
+ endpoint: 'endpoint',
1687
+ count: 'count',
1688
+ createdAt: 'createdAt'
1689
+ };
1690
+
1691
+ exports.Prisma.SystemIncidentScalarFieldEnum = {
1692
+ id: 'id',
1693
+ title: 'title',
1694
+ status: 'status',
1695
+ severity: 'severity',
1696
+ startTime: 'startTime',
1697
+ resolvedTime: 'resolvedTime',
1698
+ affectedServices: 'affectedServices',
1699
+ assignee: 'assignee',
1700
+ createdAt: 'createdAt',
1701
+ updatedAt: 'updatedAt'
1702
+ };
1703
+
1704
+ exports.Prisma.SystemAlertRuleScalarFieldEnum = {
1705
+ id: 'id',
1706
+ name: 'name',
1707
+ channel: 'channel',
1708
+ threshold: 'threshold',
1709
+ recipients: 'recipients',
1710
+ escalation: 'escalation',
1711
+ enabled: 'enabled',
1712
+ createdAt: 'createdAt',
1713
+ updatedAt: 'updatedAt'
1714
+ };
1715
+
1716
+ exports.Prisma.IncidentPlaybookScalarFieldEnum = {
1717
+ id: 'id',
1718
+ name: 'name',
1719
+ description: 'description',
1720
+ stepsCount: 'stepsCount',
1721
+ severity: 'severity',
1722
+ lastUsedAt: 'lastUsedAt',
1723
+ createdAt: 'createdAt',
1724
+ updatedAt: 'updatedAt'
1725
+ };
1726
+
1727
+ exports.Prisma.DeploymentReleaseScalarFieldEnum = {
1728
+ id: 'id',
1729
+ version: 'version',
1730
+ environment: 'environment',
1731
+ deployedAt: 'deployedAt',
1732
+ status: 'status',
1733
+ healthy: 'healthy',
1734
+ notes: 'notes',
1735
+ createdAt: 'createdAt'
1736
+ };
1737
+
1738
+ exports.Prisma.RollbackEventScalarFieldEnum = {
1739
+ id: 'id',
1740
+ deploymentVersion: 'deploymentVersion',
1741
+ rolledBackTo: 'rolledBackTo',
1742
+ reason: 'reason',
1743
+ initiatedBy: 'initiatedBy',
1744
+ status: 'status',
1745
+ durationSeconds: 'durationSeconds',
1746
+ createdAt: 'createdAt'
1747
+ };
1748
+
1749
+ exports.Prisma.GdprRequestScalarFieldEnum = {
1750
+ id: 'id',
1751
+ userId: 'userId',
1752
+ email: 'email',
1753
+ requestType: 'requestType',
1754
+ status: 'status',
1755
+ requestedAt: 'requestedAt',
1756
+ completedAt: 'completedAt'
1757
+ };
1758
+
1759
+ exports.Prisma.DataRetentionPolicyScalarFieldEnum = {
1760
+ id: 'id',
1761
+ name: 'name',
1762
+ retention: 'retention',
1763
+ description: 'description',
1764
+ status: 'status',
1765
+ lastRunAt: 'lastRunAt',
1766
+ nextRunAt: 'nextRunAt',
1767
+ createdAt: 'createdAt',
1768
+ updatedAt: 'updatedAt'
1769
+ };
1770
+
1771
+ exports.Prisma.DataExportConfigScalarFieldEnum = {
1772
+ id: 'id',
1773
+ name: 'name',
1774
+ format: 'format',
1775
+ tables: 'tables',
1776
+ schedule: 'schedule',
1777
+ status: 'status',
1778
+ lastExportAt: 'lastExportAt',
1779
+ createdAt: 'createdAt',
1780
+ updatedAt: 'updatedAt'
1781
+ };
1782
+
1783
+ exports.Prisma.DataExportRunScalarFieldEnum = {
1784
+ id: 'id',
1785
+ configId: 'configId',
1786
+ exportName: 'exportName',
1787
+ format: 'format',
1788
+ rowCount: 'rowCount',
1789
+ sizeBytes: 'sizeBytes',
1790
+ exportedBy: 'exportedBy',
1791
+ status: 'status',
1792
+ executedAt: 'executedAt'
1793
+ };
1794
+
1795
+ exports.Prisma.DataTransformationScalarFieldEnum = {
1796
+ id: 'id',
1797
+ name: 'name',
1798
+ description: 'description',
1799
+ enabled: 'enabled',
1800
+ createdAt: 'createdAt',
1801
+ updatedAt: 'updatedAt'
1802
+ };
1803
+
1804
+ exports.Prisma.PolicySimulationScalarFieldEnum = {
1805
+ id: 'id',
1806
+ policyName: 'policyName',
1807
+ recordsAffected: 'recordsAffected',
1808
+ dataSizeBytes: 'dataSizeBytes',
1809
+ estimatedDurationSeconds: 'estimatedDurationSeconds',
1810
+ createdAt: 'createdAt'
1811
+ };
1812
+
1813
+ exports.Prisma.NotificationTemplateScalarFieldEnum = {
1814
+ id: 'id',
1815
+ name: 'name',
1816
+ channelType: 'channelType',
1817
+ category: 'category',
1818
+ subject: 'subject',
1819
+ body: 'body',
1820
+ uses: 'uses',
1821
+ active: 'active',
1822
+ createdAt: 'createdAt',
1823
+ updatedAt: 'updatedAt'
1824
+ };
1825
+
1826
+ exports.Prisma.NotificationCampaignScalarFieldEnum = {
1827
+ id: 'id',
1828
+ campaignType: 'campaignType',
1829
+ title: 'title',
1830
+ message: 'message',
1831
+ status: 'status',
1832
+ recipientsCount: 'recipientsCount',
1833
+ readCount: 'readCount',
1834
+ channels: 'channels',
1835
+ scheduledAt: 'scheduledAt',
1836
+ sentAt: 'sentAt',
1837
+ createdAt: 'createdAt',
1838
+ updatedAt: 'updatedAt'
1839
+ };
1840
+
1841
+ exports.Prisma.ApiKeyRotationEventScalarFieldEnum = {
1842
+ id: 'id',
1843
+ apiKeyId: 'apiKeyId',
1844
+ keyName: 'keyName',
1845
+ previousKey: 'previousKey',
1846
+ rotatedBy: 'rotatedBy',
1847
+ reason: 'reason',
1848
+ rotatedAt: 'rotatedAt'
1849
+ };
1850
+
1851
+ exports.Prisma.IntegrationHealthLogScalarFieldEnum = {
1852
+ id: 'id',
1853
+ integrationId: 'integrationId',
1854
+ name: 'name',
1855
+ status: 'status',
1856
+ details: 'details',
1857
+ resolved: 'resolved',
1858
+ recordedAt: 'recordedAt'
1859
+ };
1860
+
1861
+ exports.Prisma.SandboxEnvironmentScalarFieldEnum = {
1862
+ id: 'id',
1863
+ name: 'name',
1864
+ status: 'status',
1865
+ baseEnvironment: 'baseEnvironment',
1866
+ url: 'url',
1867
+ ownerName: 'ownerName',
1868
+ createdById: 'createdById',
1869
+ seeded: 'seeded',
1870
+ dataSizeBytes: 'dataSizeBytes',
1871
+ autoDestroyAt: 'autoDestroyAt',
1872
+ lastAccessAt: 'lastAccessAt',
1873
+ metadata: 'metadata',
1874
+ createdAt: 'createdAt',
1875
+ updatedAt: 'updatedAt'
1876
+ };
1877
+
1878
+ exports.Prisma.SandboxPromotionScalarFieldEnum = {
1879
+ id: 'id',
1880
+ sandboxId: 'sandboxId',
1881
+ promotedTo: 'promotedTo',
1882
+ promotedById: 'promotedById',
1883
+ promotedByName: 'promotedByName',
1884
+ status: 'status',
1885
+ filesChanged: 'filesChanged',
1886
+ notes: 'notes',
1887
+ promotedAt: 'promotedAt'
1888
+ };
1889
+
1890
+ exports.Prisma.DataSeedScalarFieldEnum = {
1891
+ id: 'id',
1892
+ name: 'name',
1893
+ description: 'description',
1894
+ category: 'category',
1895
+ sizeBytes: 'sizeBytes',
1896
+ recordCount: 'recordCount',
1897
+ metadata: 'metadata',
1898
+ lastRunAt: 'lastRunAt',
1899
+ active: 'active',
1900
+ createdAt: 'createdAt',
1901
+ updatedAt: 'updatedAt'
1902
+ };
1903
+
1904
+ exports.Prisma.DataSeedRunScalarFieldEnum = {
1905
+ id: 'id',
1906
+ seedId: 'seedId',
1907
+ sandboxId: 'sandboxId',
1908
+ triggeredById: 'triggeredById',
1909
+ status: 'status',
1910
+ recordsCreated: 'recordsCreated',
1911
+ executedAt: 'executedAt',
1912
+ completedAt: 'completedAt'
1913
+ };
1914
+
1915
+ exports.Prisma.FeatureFlagScalarFieldEnum = {
1916
+ id: 'id',
1917
+ key: 'key',
1918
+ name: 'name',
1919
+ description: 'description',
1920
+ status: 'status',
1921
+ environment: 'environment',
1922
+ rollout: 'rollout',
1923
+ targeting: 'targeting',
1924
+ lastModifiedBy: 'lastModifiedBy',
1925
+ createdAt: 'createdAt',
1926
+ updatedAt: 'updatedAt'
1927
+ };
1928
+
1929
+ exports.Prisma.FeatureFlagRuleScalarFieldEnum = {
1930
+ id: 'id',
1931
+ featureFlagId: 'featureFlagId',
1932
+ name: 'name',
1933
+ condition: 'condition',
1934
+ action: 'action',
1935
+ enabled: 'enabled',
1936
+ metadata: 'metadata',
1937
+ createdAt: 'createdAt'
1938
+ };
1939
+
1940
+ exports.Prisma.FeatureExperimentScalarFieldEnum = {
1941
+ id: 'id',
1942
+ featureFlagId: 'featureFlagId',
1943
+ name: 'name',
1944
+ hypothesis: 'hypothesis',
1945
+ status: 'status',
1946
+ startDate: 'startDate',
1947
+ endDate: 'endDate',
1948
+ significance: 'significance',
1949
+ winner: 'winner',
1950
+ variants: 'variants',
1951
+ metadata: 'metadata',
1952
+ createdAt: 'createdAt'
1953
+ };
1954
+
1955
+ exports.Prisma.SpacedRepetitionConfigScalarFieldEnum = {
1956
+ id: 'id',
1957
+ masteryThreshold: 'masteryThreshold',
1958
+ initialReviewHours: 'initialReviewHours',
1959
+ difficultyWeighting: 'difficultyWeighting',
1960
+ dailyReviewLimit: 'dailyReviewLimit',
1961
+ adaptiveDifficulty: 'adaptiveDifficulty',
1962
+ updatedAt: 'updatedAt'
1963
+ };
1964
+
1965
+ exports.Prisma.RewardRuleScalarFieldEnum = {
1966
+ id: 'id',
1967
+ scope: 'scope',
1968
+ name: 'name',
1969
+ description: 'description',
1970
+ status: 'status',
1971
+ rewardType: 'rewardType',
1972
+ conditions: 'conditions',
1973
+ rewards: 'rewards',
1974
+ startsAt: 'startsAt',
1975
+ endsAt: 'endsAt',
1976
+ createdById: 'createdById',
1977
+ createdAt: 'createdAt',
1978
+ updatedAt: 'updatedAt'
1979
+ };
1980
+
1981
+ exports.Prisma.RoleScalarFieldEnum = {
1982
+ id: 'id',
1983
+ name: 'name',
1984
+ description: 'description',
1985
+ color: 'color',
1986
+ createdAt: 'createdAt',
1987
+ updatedAt: 'updatedAt'
1988
+ };
1989
+
1990
+ exports.Prisma.PermissionScalarFieldEnum = {
1991
+ id: 'id',
1992
+ key: 'key',
1993
+ groupName: 'groupName',
1994
+ name: 'name',
1995
+ description: 'description'
1996
+ };
1997
+
1998
+ exports.Prisma.RolePermissionScalarFieldEnum = {
1999
+ id: 'id',
2000
+ roleId: 'roleId',
2001
+ permissionId: 'permissionId'
2002
+ };
2003
+
2004
+ exports.Prisma.UserRoleAssignmentScalarFieldEnum = {
2005
+ id: 'id',
2006
+ userId: 'userId',
2007
+ roleId: 'roleId',
2008
+ createdAt: 'createdAt'
2009
+ };
2010
+
2011
+ exports.Prisma.AuditLogScalarFieldEnum = {
2012
+ id: 'id',
2013
+ actorId: 'actorId',
2014
+ action: 'action',
2015
+ entityType: 'entityType',
2016
+ entityId: 'entityId',
2017
+ details: 'details',
2018
+ severity: 'severity',
2019
+ ipAddress: 'ipAddress',
2020
+ createdAt: 'createdAt'
2021
+ };
2022
+
2023
+ exports.Prisma.PromotionCodeScalarFieldEnum = {
2024
+ id: 'id',
2025
+ code: 'code',
2026
+ createdById: 'createdById',
2027
+ applicablePlanId: 'applicablePlanId',
2028
+ promotionType: 'promotionType',
2029
+ value: 'value',
2030
+ maxUses: 'maxUses',
2031
+ usageCount: 'usageCount',
2032
+ active: 'active',
2033
+ startsAt: 'startsAt',
2034
+ expiresAt: 'expiresAt',
2035
+ metadata: 'metadata',
2036
+ createdAt: 'createdAt',
2037
+ updatedAt: 'updatedAt'
2038
+ };
2039
+
2040
+ exports.Prisma.SubscriptionPlanScalarFieldEnum = {
2041
+ id: 'id',
2042
+ name: 'name',
2043
+ description: 'description',
2044
+ price: 'price',
2045
+ interval: 'interval',
2046
+ active: 'active',
2047
+ features: 'features',
2048
+ createdAt: 'createdAt',
2049
+ updatedAt: 'updatedAt'
2050
+ };
2051
+
2052
+ exports.Prisma.UserSubscriptionScalarFieldEnum = {
2053
+ id: 'id',
2054
+ userId: 'userId',
2055
+ planId: 'planId',
2056
+ promotionCodeId: 'promotionCodeId',
2057
+ status: 'status',
2058
+ startedAt: 'startedAt',
2059
+ currentPeriodEnd: 'currentPeriodEnd',
2060
+ cancelledAt: 'cancelledAt',
2061
+ metadata: 'metadata'
2062
+ };
2063
+
2064
+ exports.Prisma.PaymentTransactionScalarFieldEnum = {
2065
+ id: 'id',
2066
+ userId: 'userId',
2067
+ subscriptionId: 'subscriptionId',
2068
+ amount: 'amount',
2069
+ currency: 'currency',
2070
+ status: 'status',
2071
+ provider: 'provider',
2072
+ reference: 'reference',
2073
+ description: 'description',
2074
+ createdAt: 'createdAt',
2075
+ updatedAt: 'updatedAt'
2076
+ };
2077
+
2078
+ exports.Prisma.RefundRequestScalarFieldEnum = {
2079
+ id: 'id',
2080
+ requesterId: 'requesterId',
2081
+ transactionId: 'transactionId',
2082
+ reason: 'reason',
2083
+ status: 'status',
2084
+ requestedAt: 'requestedAt',
2085
+ resolvedAt: 'resolvedAt'
2086
+ };
2087
+
2088
+ exports.Prisma.ApiKeyScalarFieldEnum = {
2089
+ id: 'id',
2090
+ name: 'name',
2091
+ keyPrefix: 'keyPrefix',
2092
+ secretHash: 'secretHash',
2093
+ status: 'status',
2094
+ createdById: 'createdById',
2095
+ lastUsedAt: 'lastUsedAt',
2096
+ expiresAt: 'expiresAt',
2097
+ createdAt: 'createdAt'
2098
+ };
2099
+
2100
+ exports.Prisma.WebhookEndpointScalarFieldEnum = {
2101
+ id: 'id',
2102
+ name: 'name',
2103
+ url: 'url',
2104
+ secretHash: 'secretHash',
2105
+ events: 'events',
2106
+ enabled: 'enabled',
2107
+ createdById: 'createdById',
2108
+ createdAt: 'createdAt',
2109
+ updatedAt: 'updatedAt'
2110
+ };
2111
+
2112
+ exports.Prisma.WebhookDeliveryScalarFieldEnum = {
2113
+ id: 'id',
2114
+ endpointId: 'endpointId',
2115
+ eventType: 'eventType',
2116
+ payload: 'payload',
2117
+ responseCode: 'responseCode',
2118
+ deliveredAt: 'deliveredAt',
2119
+ status: 'status',
2120
+ createdAt: 'createdAt'
2121
+ };
2122
+
2123
+ exports.Prisma.IntegrationScalarFieldEnum = {
2124
+ id: 'id',
2125
+ name: 'name',
2126
+ category: 'category',
2127
+ status: 'status',
2128
+ apiVersion: 'apiVersion',
2129
+ environment: 'environment',
2130
+ dataPoints: 'dataPoints',
2131
+ healthScore: 'healthScore',
2132
+ config: 'config',
2133
+ lastSyncAt: 'lastSyncAt',
2134
+ lastHealthAt: 'lastHealthAt',
2135
+ createdAt: 'createdAt',
2136
+ updatedAt: 'updatedAt'
2137
+ };
2138
+
2139
+ exports.Prisma.PluginScalarFieldEnum = {
2140
+ id: 'id',
2141
+ name: 'name',
2142
+ version: 'version',
2143
+ latestVersion: 'latestVersion',
2144
+ author: 'author',
2145
+ category: 'category',
2146
+ description: 'description',
2147
+ status: 'status',
2148
+ installed: 'installed',
2149
+ enabled: 'enabled',
2150
+ hasUpdate: 'hasUpdate',
2151
+ rating: 'rating',
2152
+ downloads: 'downloads',
2153
+ priceLabel: 'priceLabel',
2154
+ featured: 'featured',
2155
+ marketplaceUrl: 'marketplaceUrl',
2156
+ config: 'config',
2157
+ createdAt: 'createdAt',
2158
+ updatedAt: 'updatedAt'
2159
+ };
2160
+
2161
+ exports.Prisma.BackupStorageLocationScalarFieldEnum = {
2162
+ id: 'id',
2163
+ name: 'name',
2164
+ type: 'type',
2165
+ path: 'path',
2166
+ status: 'status',
2167
+ region: 'region',
2168
+ usedBytes: 'usedBytes',
2169
+ totalBytes: 'totalBytes',
2170
+ metadata: 'metadata',
2171
+ createdAt: 'createdAt',
2172
+ updatedAt: 'updatedAt'
2173
+ };
2174
+
2175
+ exports.Prisma.BackupScheduleScalarFieldEnum = {
2176
+ id: 'id',
2177
+ name: 'name',
2178
+ backupType: 'backupType',
2179
+ scheduleExpression: 'scheduleExpression',
2180
+ nextRunAt: 'nextRunAt',
2181
+ enabled: 'enabled',
2182
+ retentionDays: 'retentionDays',
2183
+ compressionEnabled: 'compressionEnabled',
2184
+ encryptionEnabled: 'encryptionEnabled',
2185
+ storageLocationId: 'storageLocationId',
2186
+ createdAt: 'createdAt',
2187
+ updatedAt: 'updatedAt'
2188
+ };
2189
+
2190
+ exports.Prisma.BackupJobScalarFieldEnum = {
2191
+ id: 'id',
2192
+ name: 'name',
2193
+ backupType: 'backupType',
2194
+ status: 'status',
2195
+ location: 'location',
2196
+ sizeBytes: 'sizeBytes',
2197
+ durationSeconds: 'durationSeconds',
2198
+ retentionDays: 'retentionDays',
2199
+ compressed: 'compressed',
2200
+ encrypted: 'encrypted',
2201
+ storageLocationId: 'storageLocationId',
2202
+ scheduleId: 'scheduleId',
2203
+ startedAt: 'startedAt',
2204
+ completedAt: 'completedAt',
2205
+ metadata: 'metadata',
2206
+ createdAt: 'createdAt'
2207
+ };
2208
+
2209
+ exports.Prisma.BackupRestoreRunScalarFieldEnum = {
2210
+ id: 'id',
2211
+ backupJobId: 'backupJobId',
2212
+ storageLocationId: 'storageLocationId',
2213
+ initiatedById: 'initiatedById',
2214
+ targetEnvironment: 'targetEnvironment',
2215
+ status: 'status',
2216
+ notes: 'notes',
2217
+ startedAt: 'startedAt',
2218
+ completedAt: 'completedAt'
2219
+ };
2220
+
2221
+ exports.Prisma.DataExportJobScalarFieldEnum = {
2222
+ id: 'id',
2223
+ name: 'name',
2224
+ status: 'status',
2225
+ format: 'format',
2226
+ requestedById: 'requestedById',
2227
+ filters: 'filters',
2228
+ createdAt: 'createdAt',
2229
+ completedAt: 'completedAt'
2230
+ };
2231
+
2232
+ exports.Prisma.GameServerNodeScalarFieldEnum = {
2233
+ id: 'id',
2234
+ name: 'name',
2235
+ region: 'region',
2236
+ status: 'status',
2237
+ websocketConnections: 'websocketConnections',
2238
+ loadPercent: 'loadPercent',
2239
+ latencyMs: 'latencyMs',
2240
+ throughputPerSecond: 'throughputPerSecond',
2241
+ errorRate: 'errorRate',
2242
+ metadata: 'metadata',
2243
+ lastHeartbeatAt: 'lastHeartbeatAt',
2244
+ createdAt: 'createdAt',
2245
+ updatedAt: 'updatedAt'
2246
+ };
2247
+
2248
+ exports.Prisma.GameServerMetricSnapshotScalarFieldEnum = {
2249
+ id: 'id',
2250
+ nodeId: 'nodeId',
2251
+ websocketConnections: 'websocketConnections',
2252
+ loadPercent: 'loadPercent',
2253
+ latencyMs: 'latencyMs',
2254
+ throughputPerSecond: 'throughputPerSecond',
2255
+ errorRate: 'errorRate',
2256
+ capturedAt: 'capturedAt'
2257
+ };
2258
+
2259
+ exports.Prisma.GameScalarFieldEnum = {
2260
+ id: 'id',
2261
+ hostUserId: 'hostUserId',
2262
+ authorId: 'authorId',
2263
+ code: 'code',
2264
+ status: 'status',
2265
+ createdAt: 'createdAt',
2266
+ startedAt: 'startedAt',
2267
+ endedAt: 'endedAt',
2268
+ quizId: 'quizId'
2269
+ };
2270
+
2271
+ exports.Prisma.GameResultScalarFieldEnum = {
2272
+ id: 'id',
2273
+ score: 'score',
2274
+ correctAnswers: 'correctAnswers',
2275
+ gameId: 'gameId',
2276
+ userId: 'userId',
2277
+ createdAt: 'createdAt',
2278
+ answers: 'answers'
2279
+ };
2280
+
2281
+ exports.Prisma.LobbyScalarFieldEnum = {
2282
+ id: 'id',
2283
+ code: 'code',
2284
+ hostId: 'hostId',
2285
+ quizId: 'quizId',
2286
+ name: 'name',
2287
+ mode: 'mode',
2288
+ region: 'region',
2289
+ isPrivate: 'isPrivate',
2290
+ maxPlayers: 'maxPlayers',
2291
+ waitingSince: 'waitingSince',
2292
+ spectatorsCount: 'spectatorsCount',
2293
+ status: 'status',
2294
+ createdAt: 'createdAt',
2295
+ startedAt: 'startedAt',
2296
+ endedAt: 'endedAt'
2297
+ };
2298
+
2299
+ exports.Prisma.ParticipantScalarFieldEnum = {
2300
+ id: 'id',
2301
+ lobbyId: 'lobbyId',
2302
+ userId: 'userId',
2303
+ displayUsername: 'displayUsername',
2304
+ avatar: 'avatar',
2305
+ kicked: 'kicked',
2306
+ status: 'status',
2307
+ banReason: 'banReason',
2308
+ banExpires: 'banExpires',
2309
+ finalScore: 'finalScore',
2310
+ rank: 'rank',
2311
+ joinedAt: 'joinedAt'
2312
+ };
2313
+
2314
+ exports.Prisma.TrivitEventScalarFieldEnum = {
2315
+ id: 'id',
2316
+ hostId: 'hostId',
2317
+ subjectId: 'subjectId',
2318
+ title: 'title',
2319
+ description: 'description',
2320
+ lobbyCode: 'lobbyCode',
2321
+ status: 'status',
2322
+ scheduledAt: 'scheduledAt',
2323
+ startedAt: 'startedAt',
2324
+ endedAt: 'endedAt',
2325
+ maxPlayers: 'maxPlayers',
2326
+ config: 'config',
2327
+ createdAt: 'createdAt',
2328
+ updatedAt: 'updatedAt'
2329
+ };
2330
+
2331
+ exports.Prisma.TrivitParticipantScalarFieldEnum = {
2332
+ id: 'id',
2333
+ trivitId: 'trivitId',
2334
+ userId: 'userId',
2335
+ score: 'score',
2336
+ accuracy: 'accuracy',
2337
+ rank: 'rank',
2338
+ joinedAt: 'joinedAt'
2339
+ };
2340
+
2341
+ exports.Prisma.SortOrder = {
2342
+ asc: 'asc',
2343
+ desc: 'desc'
2344
+ };
2345
+
2346
+ exports.Prisma.NullableJsonNullValueInput = {
2347
+ DbNull: Prisma.DbNull,
2348
+ JsonNull: Prisma.JsonNull
2349
+ };
2350
+
2351
+ exports.Prisma.JsonNullValueInput = {
2352
+ JsonNull: Prisma.JsonNull
2353
+ };
2354
+
2355
+ exports.Prisma.QueryMode = {
2356
+ default: 'default',
2357
+ insensitive: 'insensitive'
2358
+ };
2359
+
2360
+ exports.Prisma.NullsOrder = {
2361
+ first: 'first',
2362
+ last: 'last'
2363
+ };
2364
+
2365
+ exports.Prisma.JsonNullValueFilter = {
2366
+ DbNull: Prisma.DbNull,
2367
+ JsonNull: Prisma.JsonNull,
2368
+ AnyNull: Prisma.AnyNull
2369
+ };
2370
+ exports.WebsiteStatusCode = exports.$Enums.WebsiteStatusCode = {
2371
+ OPERATIONAL: 'OPERATIONAL',
2372
+ MAINTENANCE: 'MAINTENANCE',
2373
+ DEGRADED: 'DEGRADED',
2374
+ OUTAGE: 'OUTAGE'
2375
+ };
2376
+
2377
+ exports.Visibility = exports.$Enums.Visibility = {
2378
+ PRIVATE: 'PRIVATE',
2379
+ UNLISTED: 'UNLISTED',
2380
+ PUBLIC: 'PUBLIC'
2381
+ };
2382
+
2383
+ exports.PublicationStatus = exports.$Enums.PublicationStatus = {
2384
+ DRAFT: 'DRAFT',
2385
+ PUBLISHED: 'PUBLISHED',
2386
+ ARCHIVED: 'ARCHIVED'
2387
+ };
2388
+
2389
+ exports.UserStatus = exports.$Enums.UserStatus = {
2390
+ ACTIVE: 'ACTIVE',
2391
+ SUSPENDED: 'SUSPENDED',
2392
+ BANNED: 'BANNED',
2393
+ PENDING_DELETION: 'PENDING_DELETION'
2394
+ };
2395
+
2396
+ exports.AchievementScope = exports.$Enums.AchievementScope = {
2397
+ PLATFORM: 'PLATFORM',
2398
+ GAME: 'GAME',
2399
+ FLASHCARD: 'FLASHCARD',
2400
+ EXAM: 'EXAM',
2401
+ LESSON: 'LESSON',
2402
+ PROFILE: 'PROFILE',
2403
+ COMMUNITY: 'COMMUNITY'
2404
+ };
2405
+
2406
+ exports.AchievementRarity = exports.$Enums.AchievementRarity = {
2407
+ COMMON: 'COMMON',
2408
+ RARE: 'RARE',
2409
+ EPIC: 'EPIC',
2410
+ LEGENDARY: 'LEGENDARY'
2411
+ };
2412
+
2413
+ exports.CollectionItemType = exports.$Enums.CollectionItemType = {
2414
+ QUIZ: 'QUIZ',
2415
+ FLASHCARD_SET: 'FLASHCARD_SET',
2416
+ VIDEO: 'VIDEO',
2417
+ LESSON: 'LESSON',
2418
+ EXAM: 'EXAM',
2419
+ COURSE: 'COURSE',
2420
+ RESOURCE: 'RESOURCE',
2421
+ TRIVIT: 'TRIVIT',
2422
+ LIVE_SESSION: 'LIVE_SESSION',
2423
+ COMMUNITY_RESOURCE: 'COMMUNITY_RESOURCE'
2424
+ };
2425
+
2426
+ exports.AudienceScope = exports.$Enums.AudienceScope = {
2427
+ EVERYONE: 'EVERYONE',
2428
+ FOLLOWERS: 'FOLLOWERS',
2429
+ NOBODY: 'NOBODY'
2430
+ };
2431
+
2432
+ exports.ThemeMode = exports.$Enums.ThemeMode = {
2433
+ LIGHT: 'LIGHT',
2434
+ DARK: 'DARK',
2435
+ AUTO: 'AUTO'
2436
+ };
2437
+
2438
+ exports.CollectionType = exports.$Enums.CollectionType = {
2439
+ CURATED: 'CURATED',
2440
+ LEARNING_PATH: 'LEARNING_PATH',
2441
+ ONBOARDING_BUNDLE: 'ONBOARDING_BUNDLE',
2442
+ REVISION_PLAYLIST: 'REVISION_PLAYLIST'
2443
+ };
2444
+
2445
+ exports.PetElement = exports.$Enums.PetElement = {
2446
+ FIRE: 'FIRE',
2447
+ WATER: 'WATER',
2448
+ EARTH: 'EARTH',
2449
+ AIR: 'AIR',
2450
+ MYTH: 'MYTH',
2451
+ LIGHTNING: 'LIGHTNING'
2452
+ };
2453
+
2454
+ exports.PetActionType = exports.$Enums.PetActionType = {
2455
+ FEED: 'FEED',
2456
+ PLAY: 'PLAY',
2457
+ REST: 'REST',
2458
+ TRAIN: 'TRAIN',
2459
+ BATTLE: 'BATTLE',
2460
+ EXPLORE: 'EXPLORE',
2461
+ CHEER: 'CHEER',
2462
+ HATCH: 'HATCH'
2463
+ };
2464
+
2465
+ exports.CalendarEntryType = exports.$Enums.CalendarEntryType = {
2466
+ LESSON: 'LESSON',
2467
+ TASK: 'TASK',
2468
+ FLASHCARD: 'FLASHCARD',
2469
+ TUTORING: 'TUTORING',
2470
+ TEST: 'TEST',
2471
+ ACTIVITY: 'ACTIVITY',
2472
+ EVENT: 'EVENT',
2473
+ FREE: 'FREE',
2474
+ REVISION: 'REVISION'
2475
+ };
2476
+
2477
+ exports.CalendarEntryStatus = exports.$Enums.CalendarEntryStatus = {
2478
+ PLANNED: 'PLANNED',
2479
+ COMPLETED: 'COMPLETED',
2480
+ CANCELLED: 'CANCELLED',
2481
+ SKIPPED: 'SKIPPED'
2482
+ };
2483
+
2484
+ exports.CourseLevel = exports.$Enums.CourseLevel = {
2485
+ GCSE: 'GCSE',
2486
+ AS_LEVEL: 'AS_LEVEL',
2487
+ A_LEVEL: 'A_LEVEL',
2488
+ IB: 'IB',
2489
+ UNIVERSITY: 'UNIVERSITY',
2490
+ OTHER: 'OTHER'
2491
+ };
2492
+
2493
+ exports.EnrollmentStatus = exports.$Enums.EnrollmentStatus = {
2494
+ ACTIVE: 'ACTIVE',
2495
+ INVITED: 'INVITED',
2496
+ PAUSED: 'PAUSED',
2497
+ COMPLETED: 'COMPLETED',
2498
+ DROPPED: 'DROPPED'
2499
+ };
2500
+
2501
+ exports.LessonType = exports.$Enums.LessonType = {
2502
+ VIDEO: 'VIDEO',
2503
+ INTERACTIVE: 'INTERACTIVE',
2504
+ MIXED: 'MIXED',
2505
+ READING: 'READING',
2506
+ QUIZ: 'QUIZ',
2507
+ EXAM_PRACTICE: 'EXAM_PRACTICE'
2508
+ };
2509
+
2510
+ exports.LessonStepType = exports.$Enums.LessonStepType = {
2511
+ READING: 'READING',
2512
+ INTERACTIVE: 'INTERACTIVE',
2513
+ VIDEO: 'VIDEO',
2514
+ QUIZ: 'QUIZ',
2515
+ EXAM_PRACTICE: 'EXAM_PRACTICE',
2516
+ EXAM_MODE: 'EXAM_MODE',
2517
+ FLASHCARDS: 'FLASHCARDS',
2518
+ ACTIVITY: 'ACTIVITY',
2519
+ DOCUMENT: 'DOCUMENT',
2520
+ NOTES: 'NOTES'
2521
+ };
2522
+
2523
+ exports.AssetType = exports.$Enums.AssetType = {
2524
+ VIDEO: 'VIDEO',
2525
+ AUDIO: 'AUDIO',
2526
+ IMAGE: 'IMAGE',
2527
+ DOCUMENT: 'DOCUMENT',
2528
+ RIVE: 'RIVE',
2529
+ ANIMATION: 'ANIMATION',
2530
+ OTHER: 'OTHER'
2531
+ };
2532
+
2533
+ exports.VideoDifficulty = exports.$Enums.VideoDifficulty = {
2534
+ BEGINNER: 'BEGINNER',
2535
+ INTERMEDIATE: 'INTERMEDIATE',
2536
+ ADVANCED: 'ADVANCED'
2537
+ };
2538
+
2539
+ exports.QuestionType = exports.$Enums.QuestionType = {
2540
+ MULTIPLE_CHOICE: 'MULTIPLE_CHOICE',
2541
+ TRUE_FALSE: 'TRUE_FALSE',
2542
+ SHORT_ANSWER: 'SHORT_ANSWER',
2543
+ LIST_ORDER: 'LIST_ORDER',
2544
+ SELECT: 'SELECT',
2545
+ FILL_BLANK: 'FILL_BLANK',
2546
+ MATCHING: 'MATCHING',
2547
+ IMAGE_MCQ: 'IMAGE_MCQ'
2548
+ };
2549
+
2550
+ exports.ExamStatus = exports.$Enums.ExamStatus = {
2551
+ DRAFT: 'DRAFT',
2552
+ PUBLISHED: 'PUBLISHED',
2553
+ ARCHIVED: 'ARCHIVED'
2554
+ };
2555
+
2556
+ exports.ExamSessionStatus = exports.$Enums.ExamSessionStatus = {
2557
+ ACTIVE: 'ACTIVE',
2558
+ SUBMITTED: 'SUBMITTED',
2559
+ GRADED: 'GRADED',
2560
+ FLAGGED: 'FLAGGED',
2561
+ EXPIRED: 'EXPIRED'
2562
+ };
2563
+
2564
+ exports.AntiCheatSeverity = exports.$Enums.AntiCheatSeverity = {
2565
+ LOW: 'LOW',
2566
+ MEDIUM: 'MEDIUM',
2567
+ HIGH: 'HIGH',
2568
+ CRITICAL: 'CRITICAL'
2569
+ };
2570
+
2571
+ exports.AntiCheatStatus = exports.$Enums.AntiCheatStatus = {
2572
+ OPEN: 'OPEN',
2573
+ REVIEWED: 'REVIEWED',
2574
+ VALID: 'VALID',
2575
+ INVALID: 'INVALID',
2576
+ DISMISSED: 'DISMISSED'
2577
+ };
2578
+
2579
+ exports.TutorVerificationStatus = exports.$Enums.TutorVerificationStatus = {
2580
+ PENDING: 'PENDING',
2581
+ APPROVED: 'APPROVED',
2582
+ REJECTED: 'REJECTED'
2583
+ };
2584
+
2585
+ exports.TutoringSessionType = exports.$Enums.TutoringSessionType = {
2586
+ INDIVIDUAL: 'INDIVIDUAL',
2587
+ GROUP: 'GROUP',
2588
+ LIVE_DROP_IN: 'LIVE_DROP_IN'
2589
+ };
2590
+
2591
+ exports.SessionFormat = exports.$Enums.SessionFormat = {
2592
+ VIRTUAL: 'VIRTUAL',
2593
+ PHYSICAL: 'PHYSICAL',
2594
+ HYBRID: 'HYBRID'
2595
+ };
2596
+
2597
+ exports.TutoringSessionStatus = exports.$Enums.TutoringSessionStatus = {
2598
+ REQUESTED: 'REQUESTED',
2599
+ SCHEDULED: 'SCHEDULED',
2600
+ CONFIRMED: 'CONFIRMED',
2601
+ IN_PROGRESS: 'IN_PROGRESS',
2602
+ COMPLETED: 'COMPLETED',
2603
+ CANCELLED: 'CANCELLED',
2604
+ NO_SHOW: 'NO_SHOW'
2605
+ };
2606
+
2607
+ exports.ClassroomRole = exports.$Enums.ClassroomRole = {
2608
+ STUDENT: 'STUDENT',
2609
+ TEACHER: 'TEACHER',
2610
+ ASSISTANT: 'ASSISTANT',
2611
+ PARENT: 'PARENT'
2612
+ };
2613
+
2614
+ exports.PollStatus = exports.$Enums.PollStatus = {
2615
+ DRAFT: 'DRAFT',
2616
+ ACTIVE: 'ACTIVE',
2617
+ CLOSED: 'CLOSED',
2618
+ ARCHIVED: 'ARCHIVED'
2619
+ };
2620
+
2621
+ exports.AssignmentStatus = exports.$Enums.AssignmentStatus = {
2622
+ DRAFT: 'DRAFT',
2623
+ PUBLISHED: 'PUBLISHED',
2624
+ CLOSED: 'CLOSED',
2625
+ ARCHIVED: 'ARCHIVED'
2626
+ };
2627
+
2628
+ exports.SubmissionStatus = exports.$Enums.SubmissionStatus = {
2629
+ NOT_STARTED: 'NOT_STARTED',
2630
+ SUBMITTED: 'SUBMITTED',
2631
+ LATE: 'LATE',
2632
+ GRADED: 'GRADED',
2633
+ RETURNED: 'RETURNED'
2634
+ };
2635
+
2636
+ exports.ConversationType = exports.$Enums.ConversationType = {
2637
+ DIRECT: 'DIRECT',
2638
+ GROUP: 'GROUP',
2639
+ SUPPORT: 'SUPPORT'
2640
+ };
2641
+
2642
+ exports.ConversationParticipantRole = exports.$Enums.ConversationParticipantRole = {
2643
+ OWNER: 'OWNER',
2644
+ MEMBER: 'MEMBER',
2645
+ AGENT: 'AGENT'
2646
+ };
2647
+
2648
+ exports.MessageSenderRole = exports.$Enums.MessageSenderRole = {
2649
+ USER: 'USER',
2650
+ AGENT: 'AGENT',
2651
+ SYSTEM: 'SYSTEM'
2652
+ };
2653
+
2654
+ exports.AnnouncementStatus = exports.$Enums.AnnouncementStatus = {
2655
+ DRAFT: 'DRAFT',
2656
+ SCHEDULED: 'SCHEDULED',
2657
+ SENT: 'SENT',
2658
+ ARCHIVED: 'ARCHIVED'
2659
+ };
2660
+
2661
+ exports.NotificationDigestMode = exports.$Enums.NotificationDigestMode = {
2662
+ NONE: 'NONE',
2663
+ DAILY: 'DAILY',
2664
+ WEEKLY: 'WEEKLY'
2665
+ };
2666
+
2667
+ exports.NotificationType = exports.$Enums.NotificationType = {
2668
+ MESSAGE: 'MESSAGE',
2669
+ BOOKING: 'BOOKING',
2670
+ ASSIGNMENT: 'ASSIGNMENT',
2671
+ REVIEW: 'REVIEW',
2672
+ PAYMENT: 'PAYMENT',
2673
+ SYSTEM: 'SYSTEM',
2674
+ SECURITY: 'SECURITY',
2675
+ SUPPORT: 'SUPPORT',
2676
+ GENERAL: 'GENERAL'
2677
+ };
2678
+
2679
+ exports.NotificationChannel = exports.$Enums.NotificationChannel = {
2680
+ IN_APP: 'IN_APP',
2681
+ EMAIL: 'EMAIL',
2682
+ PUSH: 'PUSH',
2683
+ SMS: 'SMS'
2684
+ };
2685
+
2686
+ exports.SupportStatus = exports.$Enums.SupportStatus = {
2687
+ OPEN: 'OPEN',
2688
+ PENDING: 'PENDING',
2689
+ IN_PROGRESS: 'IN_PROGRESS',
2690
+ RESOLVED: 'RESOLVED',
2691
+ CLOSED: 'CLOSED'
2692
+ };
2693
+
2694
+ exports.SupportPriority = exports.$Enums.SupportPriority = {
2695
+ LOW: 'LOW',
2696
+ MEDIUM: 'MEDIUM',
2697
+ HIGH: 'HIGH',
2698
+ URGENT: 'URGENT'
2699
+ };
2700
+
2701
+ exports.CommunityVisibility = exports.$Enums.CommunityVisibility = {
2702
+ PUBLIC: 'PUBLIC',
2703
+ PRIVATE: 'PRIVATE',
2704
+ RESTRICTED: 'RESTRICTED'
2705
+ };
2706
+
2707
+ exports.CommunityResourceType = exports.$Enums.CommunityResourceType = {
2708
+ LINK: 'LINK',
2709
+ FILE: 'FILE',
2710
+ NOTE: 'NOTE',
2711
+ TEMPLATE: 'TEMPLATE'
2712
+ };
2713
+
2714
+ exports.UserEventType = exports.$Enums.UserEventType = {
2715
+ TRIVIT: 'TRIVIT',
2716
+ ZAPIT_QUIZ: 'ZAPIT_QUIZ',
2717
+ LIVE_SESSION: 'LIVE_SESSION',
2718
+ STUDY_RACE: 'STUDY_RACE',
2719
+ FLASHCARD_BATTLE: 'FLASHCARD_BATTLE',
2720
+ COMMUNITY_EVENT: 'COMMUNITY_EVENT'
2721
+ };
2722
+
2723
+ exports.UserEventStatus = exports.$Enums.UserEventStatus = {
2724
+ COMPLETED: 'COMPLETED',
2725
+ ABANDONED: 'ABANDONED',
2726
+ IN_PROGRESS: 'IN_PROGRESS'
2727
+ };
2728
+
2729
+ exports.PlacementTier = exports.$Enums.PlacementTier = {
2730
+ FIRST: 'FIRST',
2731
+ SECOND: 'SECOND',
2732
+ THIRD: 'THIRD',
2733
+ TOP_TEN: 'TOP_TEN',
2734
+ PARTICIPATED: 'PARTICIPATED'
2735
+ };
2736
+
2737
+ exports.FeedbackType = exports.$Enums.FeedbackType = {
2738
+ BUG: 'BUG',
2739
+ FEATURE: 'FEATURE',
2740
+ CONTENT: 'CONTENT',
2741
+ CONFUSING: 'CONFUSING',
2742
+ GENERAL: 'GENERAL'
2743
+ };
2744
+
2745
+ exports.FeedbackStatus = exports.$Enums.FeedbackStatus = {
2746
+ NEW: 'NEW',
2747
+ PENDING: 'PENDING',
2748
+ IN_REVIEW: 'IN_REVIEW',
2749
+ RESOLVED: 'RESOLVED',
2750
+ ARCHIVED: 'ARCHIVED'
2751
+ };
2752
+
2753
+ exports.SandboxStatus = exports.$Enums.SandboxStatus = {
2754
+ RUNNING: 'RUNNING',
2755
+ STOPPED: 'STOPPED',
2756
+ ARCHIVED: 'ARCHIVED',
2757
+ FAILED: 'FAILED'
2758
+ };
2759
+
2760
+ exports.DeploymentEnvironment = exports.$Enums.DeploymentEnvironment = {
2761
+ DEVELOPMENT: 'DEVELOPMENT',
2762
+ STAGING: 'STAGING',
2763
+ PRODUCTION: 'PRODUCTION'
2764
+ };
2765
+
2766
+ exports.SandboxPromotionStatus = exports.$Enums.SandboxPromotionStatus = {
2767
+ PENDING: 'PENDING',
2768
+ COMPLETED: 'COMPLETED',
2769
+ ROLLED_BACK: 'ROLLED_BACK',
2770
+ FAILED: 'FAILED'
2771
+ };
2772
+
2773
+ exports.FeatureFlagStatus = exports.$Enums.FeatureFlagStatus = {
2774
+ ENABLED: 'ENABLED',
2775
+ PARTIAL: 'PARTIAL',
2776
+ DISABLED: 'DISABLED'
2777
+ };
2778
+
2779
+ exports.ExperimentStatus = exports.$Enums.ExperimentStatus = {
2780
+ DRAFT: 'DRAFT',
2781
+ RUNNING: 'RUNNING',
2782
+ COMPLETED: 'COMPLETED',
2783
+ PAUSED: 'PAUSED'
2784
+ };
2785
+
2786
+ exports.RewardScope = exports.$Enums.RewardScope = {
2787
+ GLOBAL_GAME: 'GLOBAL_GAME',
2788
+ EXAM: 'EXAM',
2789
+ LESSON: 'LESSON',
2790
+ FLASHCARD: 'FLASHCARD',
2791
+ SEASONAL_EVENT: 'SEASONAL_EVENT'
2792
+ };
2793
+
2794
+ exports.RewardStatus = exports.$Enums.RewardStatus = {
2795
+ DRAFT: 'DRAFT',
2796
+ ACTIVE: 'ACTIVE',
2797
+ SCHEDULED: 'SCHEDULED',
2798
+ ARCHIVED: 'ARCHIVED'
2799
+ };
2800
+
2801
+ exports.AuditSeverity = exports.$Enums.AuditSeverity = {
2802
+ INFO: 'INFO',
2803
+ WARNING: 'WARNING',
2804
+ ERROR: 'ERROR',
2805
+ CRITICAL: 'CRITICAL'
2806
+ };
2807
+
2808
+ exports.PromotionType = exports.$Enums.PromotionType = {
2809
+ PERCENT: 'PERCENT',
2810
+ FIXED_AMOUNT: 'FIXED_AMOUNT',
2811
+ TRIAL_EXTENSION: 'TRIAL_EXTENSION'
2812
+ };
2813
+
2814
+ exports.BillingInterval = exports.$Enums.BillingInterval = {
2815
+ MONTHLY: 'MONTHLY',
2816
+ YEARLY: 'YEARLY',
2817
+ LIFETIME: 'LIFETIME'
2818
+ };
2819
+
2820
+ exports.SubscriptionStatus = exports.$Enums.SubscriptionStatus = {
2821
+ TRIALING: 'TRIALING',
2822
+ ACTIVE: 'ACTIVE',
2823
+ PAST_DUE: 'PAST_DUE',
2824
+ CANCELLED: 'CANCELLED',
2825
+ EXPIRED: 'EXPIRED'
2826
+ };
2827
+
2828
+ exports.PaymentStatus = exports.$Enums.PaymentStatus = {
2829
+ PENDING: 'PENDING',
2830
+ SUCCEEDED: 'SUCCEEDED',
2831
+ FAILED: 'FAILED',
2832
+ REFUNDED: 'REFUNDED',
2833
+ DISPUTED: 'DISPUTED'
2834
+ };
2835
+
2836
+ exports.RefundStatus = exports.$Enums.RefundStatus = {
2837
+ REQUESTED: 'REQUESTED',
2838
+ APPROVED: 'APPROVED',
2839
+ REJECTED: 'REJECTED',
2840
+ COMPLETED: 'COMPLETED'
2841
+ };
2842
+
2843
+ exports.BackupType = exports.$Enums.BackupType = {
2844
+ FULL: 'FULL',
2845
+ DATABASE: 'DATABASE',
2846
+ MEDIA: 'MEDIA',
2847
+ CONFIG: 'CONFIG',
2848
+ ARCHIVE: 'ARCHIVE',
2849
+ INCREMENTAL: 'INCREMENTAL'
2850
+ };
2851
+
2852
+ exports.GameServerStatus = exports.$Enums.GameServerStatus = {
2853
+ HEALTHY: 'HEALTHY',
2854
+ WARNING: 'WARNING',
2855
+ OFFLINE: 'OFFLINE',
2856
+ MAINTENANCE: 'MAINTENANCE'
2857
+ };
2858
+
2859
+ exports.GameStatus = exports.$Enums.GameStatus = {
2860
+ WAITING: 'WAITING',
2861
+ ACTIVE: 'ACTIVE',
2862
+ FINISHED: 'FINISHED',
2863
+ CANCELLED: 'CANCELLED'
2864
+ };
2865
+
2866
+ exports.LobbyMode = exports.$Enums.LobbyMode = {
2867
+ COMPETITIVE: 'COMPETITIVE',
2868
+ CASUAL: 'CASUAL',
2869
+ MINIGAME: 'MINIGAME',
2870
+ PRIVATE_PRACTICE: 'PRIVATE_PRACTICE'
2871
+ };
2872
+
2873
+ exports.LobbyStatus = exports.$Enums.LobbyStatus = {
2874
+ WAITING: 'WAITING',
2875
+ STARTED: 'STARTED',
2876
+ GAME: 'GAME',
2877
+ QUESTION: 'QUESTION',
2878
+ SCOREBOARD: 'SCOREBOARD',
2879
+ RESULTS: 'RESULTS',
2880
+ HALTED: 'HALTED',
2881
+ ENDED: 'ENDED'
2882
+ };
2883
+
2884
+ exports.ParticipantStatus = exports.$Enums.ParticipantStatus = {
2885
+ ACTIVE: 'ACTIVE',
2886
+ KICKED: 'KICKED',
2887
+ LEFT: 'LEFT',
2888
+ FINISHED: 'FINISHED',
2889
+ LOADING: 'LOADING'
2890
+ };
2891
+
2892
+ exports.TrivitStatus = exports.$Enums.TrivitStatus = {
2893
+ DRAFT: 'DRAFT',
2894
+ SCHEDULED: 'SCHEDULED',
2895
+ LIVE: 'LIVE',
2896
+ COMPLETED: 'COMPLETED',
2897
+ CANCELLED: 'CANCELLED'
2898
+ };
2899
+
2900
+ exports.Prisma.ModelName = {
2901
+ Account: 'Account',
2902
+ Session: 'Session',
2903
+ VerificationToken: 'VerificationToken',
2904
+ Verification: 'Verification',
2905
+ Jwks: 'Jwks',
2906
+ WebsiteStatus: 'WebsiteStatus',
2907
+ News: 'News',
2908
+ User: 'User',
2909
+ Statistics: 'Statistics',
2910
+ StatisticsWeeklyReport: 'StatisticsWeeklyReport',
2911
+ UserFollow: 'UserFollow',
2912
+ ProfileReport: 'ProfileReport',
2913
+ AchievementDefinition: 'AchievementDefinition',
2914
+ UserAchievement: 'UserAchievement',
2915
+ UserPinnedContent: 'UserPinnedContent',
2916
+ UserPreference: 'UserPreference',
2917
+ CookieConsentPreference: 'CookieConsentPreference',
2918
+ StudyCollection: 'StudyCollection',
2919
+ StudyCollectionItem: 'StudyCollectionItem',
2920
+ StudyCollectionEnrollment: 'StudyCollectionEnrollment',
2921
+ ZaplitProfile: 'ZaplitProfile',
2922
+ ZaplitPet: 'ZaplitPet',
2923
+ ZaplitPetActionLog: 'ZaplitPetActionLog',
2924
+ CalendarEntry: 'CalendarEntry',
2925
+ AcademicBoard: 'AcademicBoard',
2926
+ Subject: 'Subject',
2927
+ Course: 'Course',
2928
+ CourseEnrollment: 'CourseEnrollment',
2929
+ CourseTopic: 'CourseTopic',
2930
+ Lesson: 'Lesson',
2931
+ LessonStep: 'LessonStep',
2932
+ LessonVersion: 'LessonVersion',
2933
+ LessonAsset: 'LessonAsset',
2934
+ LessonProgress: 'LessonProgress',
2935
+ Video: 'Video',
2936
+ VideoChapter: 'VideoChapter',
2937
+ VideoPlaylist: 'VideoPlaylist',
2938
+ VideoPlaylistItem: 'VideoPlaylistItem',
2939
+ VideoProgress: 'VideoProgress',
2940
+ Quiz: 'Quiz',
2941
+ Question: 'Question',
2942
+ QuestionOption: 'QuestionOption',
2943
+ QuizAttempt: 'QuizAttempt',
2944
+ QuizAttemptAnswer: 'QuizAttemptAnswer',
2945
+ FlashcardSet: 'FlashcardSet',
2946
+ FlashcardSubdeck: 'FlashcardSubdeck',
2947
+ Flashcard: 'Flashcard',
2948
+ FlashcardStudySession: 'FlashcardStudySession',
2949
+ FlashcardReview: 'FlashcardReview',
2950
+ Exam: 'Exam',
2951
+ ExamSection: 'ExamSection',
2952
+ ExamQuestion: 'ExamQuestion',
2953
+ ExamSession: 'ExamSession',
2954
+ ExamResponse: 'ExamResponse',
2955
+ QuestionTag: 'QuestionTag',
2956
+ ExamQuestionTag: 'ExamQuestionTag',
2957
+ ExamQuestionVersion: 'ExamQuestionVersion',
2958
+ ExamAntiCheatFlag: 'ExamAntiCheatFlag',
2959
+ CertificationRule: 'CertificationRule',
2960
+ TutorProfile: 'TutorProfile',
2961
+ TutorSubject: 'TutorSubject',
2962
+ TutorAvailability: 'TutorAvailability',
2963
+ StudentProfile: 'StudentProfile',
2964
+ ResourceFolder: 'ResourceFolder',
2965
+ ResourceItem: 'ResourceItem',
2966
+ TutorPaymentMethod: 'TutorPaymentMethod',
2967
+ PayoutRequest: 'PayoutRequest',
2968
+ TutorPricingPackage: 'TutorPricingPackage',
2969
+ TutorInvoice: 'TutorInvoice',
2970
+ TutorVerificationRequest: 'TutorVerificationRequest',
2971
+ TutorBooking: 'TutorBooking',
2972
+ TutoringSession: 'TutoringSession',
2973
+ TutoringSessionAttendee: 'TutoringSessionAttendee',
2974
+ TutorReview: 'TutorReview',
2975
+ Classroom: 'Classroom',
2976
+ ClassroomEnrollment: 'ClassroomEnrollment',
2977
+ ClassroomActivity: 'ClassroomActivity',
2978
+ ClassroomPoll: 'ClassroomPoll',
2979
+ ClassroomPollOption: 'ClassroomPollOption',
2980
+ ClassroomPollResponse: 'ClassroomPollResponse',
2981
+ Assignment: 'Assignment',
2982
+ AssignmentSubmission: 'AssignmentSubmission',
2983
+ Conversation: 'Conversation',
2984
+ ConversationParticipant: 'ConversationParticipant',
2985
+ Message: 'Message',
2986
+ MessageAttachment: 'MessageAttachment',
2987
+ Announcement: 'Announcement',
2988
+ AnnouncementRecipient: 'AnnouncementRecipient',
2989
+ NotificationPreference: 'NotificationPreference',
2990
+ Notification: 'Notification',
2991
+ SupportTicket: 'SupportTicket',
2992
+ SupportConversation: 'SupportConversation',
2993
+ SupportMessage: 'SupportMessage',
2994
+ SupportAttachment: 'SupportAttachment',
2995
+ Community: 'Community',
2996
+ CommunityMembership: 'CommunityMembership',
2997
+ CommunityPost: 'CommunityPost',
2998
+ CommunityReply: 'CommunityReply',
2999
+ CommunityEvent: 'CommunityEvent',
3000
+ CommunityResource: 'CommunityResource',
3001
+ UserActivityEvent: 'UserActivityEvent',
3002
+ Feedback: 'Feedback',
3003
+ FraudAlert: 'FraudAlert',
3004
+ BehavioralRule: 'BehavioralRule',
3005
+ ModerationCase: 'ModerationCase',
3006
+ ModerationAction: 'ModerationAction',
3007
+ ModerationRule: 'ModerationRule',
3008
+ IpBan: 'IpBan',
3009
+ SecurityScan: 'SecurityScan',
3010
+ SecurityTwoFactorMethod: 'SecurityTwoFactorMethod',
3011
+ ApiEndpointStat: 'ApiEndpointStat',
3012
+ ApiBillingTier: 'ApiBillingTier',
3013
+ ApplicationErrorLog: 'ApplicationErrorLog',
3014
+ SystemLogEntry: 'SystemLogEntry',
3015
+ SystemIncident: 'SystemIncident',
3016
+ SystemAlertRule: 'SystemAlertRule',
3017
+ IncidentPlaybook: 'IncidentPlaybook',
3018
+ DeploymentRelease: 'DeploymentRelease',
3019
+ RollbackEvent: 'RollbackEvent',
3020
+ GdprRequest: 'GdprRequest',
3021
+ DataRetentionPolicy: 'DataRetentionPolicy',
3022
+ DataExportConfig: 'DataExportConfig',
3023
+ DataExportRun: 'DataExportRun',
3024
+ DataTransformation: 'DataTransformation',
3025
+ PolicySimulation: 'PolicySimulation',
3026
+ NotificationTemplate: 'NotificationTemplate',
3027
+ NotificationCampaign: 'NotificationCampaign',
3028
+ ApiKeyRotationEvent: 'ApiKeyRotationEvent',
3029
+ IntegrationHealthLog: 'IntegrationHealthLog',
3030
+ SandboxEnvironment: 'SandboxEnvironment',
3031
+ SandboxPromotion: 'SandboxPromotion',
3032
+ DataSeed: 'DataSeed',
3033
+ DataSeedRun: 'DataSeedRun',
3034
+ FeatureFlag: 'FeatureFlag',
3035
+ FeatureFlagRule: 'FeatureFlagRule',
3036
+ FeatureExperiment: 'FeatureExperiment',
3037
+ SpacedRepetitionConfig: 'SpacedRepetitionConfig',
3038
+ RewardRule: 'RewardRule',
3039
+ Role: 'Role',
3040
+ Permission: 'Permission',
3041
+ RolePermission: 'RolePermission',
3042
+ UserRoleAssignment: 'UserRoleAssignment',
3043
+ AuditLog: 'AuditLog',
3044
+ PromotionCode: 'PromotionCode',
3045
+ SubscriptionPlan: 'SubscriptionPlan',
3046
+ UserSubscription: 'UserSubscription',
3047
+ PaymentTransaction: 'PaymentTransaction',
3048
+ RefundRequest: 'RefundRequest',
3049
+ ApiKey: 'ApiKey',
3050
+ WebhookEndpoint: 'WebhookEndpoint',
3051
+ WebhookDelivery: 'WebhookDelivery',
3052
+ Integration: 'Integration',
3053
+ Plugin: 'Plugin',
3054
+ BackupStorageLocation: 'BackupStorageLocation',
3055
+ BackupSchedule: 'BackupSchedule',
3056
+ BackupJob: 'BackupJob',
3057
+ BackupRestoreRun: 'BackupRestoreRun',
3058
+ DataExportJob: 'DataExportJob',
3059
+ GameServerNode: 'GameServerNode',
3060
+ GameServerMetricSnapshot: 'GameServerMetricSnapshot',
3061
+ Game: 'Game',
3062
+ GameResult: 'GameResult',
3063
+ Lobby: 'Lobby',
3064
+ Participant: 'Participant',
3065
+ TrivitEvent: 'TrivitEvent',
3066
+ TrivitParticipant: 'TrivitParticipant'
3067
+ };
3068
+
3069
+ /**
3070
+ * This is a stub Prisma Client that will error at runtime if called.
3071
+ */
3072
+ class PrismaClient {
3073
+ constructor() {
3074
+ return new Proxy(this, {
3075
+ get(target, prop) {
3076
+ let message
3077
+ const runtime = getRuntime()
3078
+ if (runtime.isEdge) {
3079
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
3080
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
3081
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
3082
+ `;
3083
+ } else {
3084
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
3085
+ }
3086
+
3087
+ message += `
3088
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
3089
+
3090
+ throw new Error(message)
3091
+ }
3092
+ })
3093
+ }
3094
+ }
3095
+
3096
+ exports.PrismaClient = PrismaClient
3097
+
3098
+ Object.assign(exports, Prisma)