@adaptware/eagles-db 0.1.26 → 0.1.30

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,1030 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
+ /* eslint-disable */
4
+
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+
7
+ const {
8
+ Decimal,
9
+ objectEnumValues,
10
+ makeStrictEnum,
11
+ Public,
12
+ getRuntime,
13
+ skip
14
+ } = require('./runtime/index-browser.js')
15
+
16
+
17
+ const Prisma = {}
18
+
19
+ exports.Prisma = Prisma
20
+ exports.$Enums = {}
21
+
22
+ /**
23
+ * Prisma Client JS version: 6.15.0
24
+ * Query Engine version: 85179d7826409ee107a6ba334b5e305ae3fba9fb
25
+ */
26
+ Prisma.prismaVersion = {
27
+ client: "6.15.0",
28
+ engine: "85179d7826409ee107a6ba334b5e305ae3fba9fb"
29
+ }
30
+
31
+ Prisma.PrismaClientKnownRequestError = () => {
32
+ const runtimeName = getRuntime().prettyName;
33
+ throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
34
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
35
+ )};
36
+ Prisma.PrismaClientUnknownRequestError = () => {
37
+ const runtimeName = getRuntime().prettyName;
38
+ throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
39
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
40
+ )}
41
+ Prisma.PrismaClientRustPanicError = () => {
42
+ const runtimeName = getRuntime().prettyName;
43
+ throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
44
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
45
+ )}
46
+ Prisma.PrismaClientInitializationError = () => {
47
+ const runtimeName = getRuntime().prettyName;
48
+ throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
49
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
50
+ )}
51
+ Prisma.PrismaClientValidationError = () => {
52
+ const runtimeName = getRuntime().prettyName;
53
+ throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
54
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
55
+ )}
56
+ Prisma.Decimal = Decimal
57
+
58
+ /**
59
+ * Re-export of sql-template-tag
60
+ */
61
+ Prisma.sql = () => {
62
+ const runtimeName = getRuntime().prettyName;
63
+ throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
64
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
65
+ )}
66
+ Prisma.empty = () => {
67
+ const runtimeName = getRuntime().prettyName;
68
+ throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
69
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
70
+ )}
71
+ Prisma.join = () => {
72
+ const runtimeName = getRuntime().prettyName;
73
+ throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
74
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
75
+ )}
76
+ Prisma.raw = () => {
77
+ const runtimeName = getRuntime().prettyName;
78
+ throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
79
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
80
+ )}
81
+ Prisma.validator = Public.validator
82
+
83
+ /**
84
+ * Extensions
85
+ */
86
+ Prisma.getExtensionContext = () => {
87
+ const runtimeName = getRuntime().prettyName;
88
+ throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
89
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
90
+ )}
91
+ Prisma.defineExtension = () => {
92
+ const runtimeName = getRuntime().prettyName;
93
+ throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
94
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
95
+ )}
96
+
97
+ /**
98
+ * Shorthand utilities for JSON filtering
99
+ */
100
+ Prisma.DbNull = objectEnumValues.instances.DbNull
101
+ Prisma.JsonNull = objectEnumValues.instances.JsonNull
102
+ Prisma.AnyNull = objectEnumValues.instances.AnyNull
103
+
104
+ Prisma.NullTypes = {
105
+ DbNull: objectEnumValues.classes.DbNull,
106
+ JsonNull: objectEnumValues.classes.JsonNull,
107
+ AnyNull: objectEnumValues.classes.AnyNull
108
+ }
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.CandidateQuestionResponseScalarFieldEnum = {
124
+ id: 'id',
125
+ question_id: 'question_id',
126
+ candidate_id: 'candidate_id',
127
+ assessment_id: 'assessment_id',
128
+ response: 'response',
129
+ score: 'score',
130
+ created_by: 'created_by',
131
+ updated_by: 'updated_by',
132
+ created_at: 'created_at',
133
+ updated_at: 'updated_at',
134
+ is_active: 'is_active'
135
+ };
136
+
137
+ exports.Prisma.UserRoleScalarFieldEnum = {
138
+ id: 'id',
139
+ role: 'role',
140
+ organisation_id: 'organisation_id',
141
+ is_custom: 'is_custom',
142
+ permission_id: 'permission_id',
143
+ created_at: 'created_at',
144
+ updated_at: 'updated_at',
145
+ created_by: 'created_by',
146
+ updated_by: 'updated_by',
147
+ is_active: 'is_active'
148
+ };
149
+
150
+ exports.Prisma.ActionScalarFieldEnum = {
151
+ id: 'id',
152
+ assignee_id: 'assignee_id',
153
+ title: 'title',
154
+ action_type: 'action_type',
155
+ action_id: 'action_id',
156
+ due_date: 'due_date',
157
+ organisation_id: 'organisation_id',
158
+ status: 'status',
159
+ created_at: 'created_at',
160
+ updated_at: 'updated_at',
161
+ created_by: 'created_by',
162
+ updated_by: 'updated_by',
163
+ is_active: 'is_active'
164
+ };
165
+
166
+ exports.Prisma.ApplicationScalarFieldEnum = {
167
+ id: 'id',
168
+ candidate_id: 'candidate_id',
169
+ resume_id: 'resume_id',
170
+ organisation_id: 'organisation_id',
171
+ job_description_id: 'job_description_id',
172
+ status: 'status',
173
+ fit_check_score: 'fit_check_score',
174
+ fit_check_status: 'fit_check_status',
175
+ applied_at: 'applied_at',
176
+ evaluation_plan_id: 'evaluation_plan_id',
177
+ fit_check_id: 'fit_check_id',
178
+ round_no: 'round_no',
179
+ created_at: 'created_at',
180
+ updated_at: 'updated_at',
181
+ created_by: 'created_by',
182
+ updated_by: 'updated_by',
183
+ is_active: 'is_active'
184
+ };
185
+
186
+ exports.Prisma.ApprovalScalarFieldEnum = {
187
+ id: 'id',
188
+ job_description_id: 'job_description_id',
189
+ user_id: 'user_id',
190
+ organisaton_id: 'organisaton_id',
191
+ created_at: 'created_at',
192
+ updated_at: 'updated_at',
193
+ created_by: 'created_by',
194
+ updated_by: 'updated_by',
195
+ is_active: 'is_active'
196
+ };
197
+
198
+ exports.Prisma.AssessmentScalarFieldEnum = {
199
+ id: 'id',
200
+ assessment_id: 'assessment_id',
201
+ candidate_id: 'candidate_id',
202
+ reviewer_id: 'reviewer_id',
203
+ score: 'score',
204
+ feedback: 'feedback',
205
+ scheduled_start_time: 'scheduled_start_time',
206
+ assessment_status: 'assessment_status',
207
+ created_at: 'created_at',
208
+ updated_at: 'updated_at',
209
+ created_by: 'created_by',
210
+ updated_by: 'updated_by',
211
+ is_active: 'is_active',
212
+ panelistId: 'panelistId',
213
+ userId: 'userId'
214
+ };
215
+
216
+ exports.Prisma.AssessmentLibraryScalarFieldEnum = {
217
+ id: 'id',
218
+ title: 'title',
219
+ assessment_type: 'assessment_type',
220
+ description: 'description',
221
+ assessment_category: 'assessment_category',
222
+ time_required: 'time_required',
223
+ passing_score: 'passing_score',
224
+ max_score: 'max_score',
225
+ organisation_id: 'organisation_id',
226
+ created_by_ai: 'created_by_ai',
227
+ created_at: 'created_at',
228
+ updated_at: 'updated_at',
229
+ created_by: 'created_by',
230
+ updated_by: 'updated_by',
231
+ is_active: 'is_active'
232
+ };
233
+
234
+ exports.Prisma.AssessmentQuestionScalarFieldEnum = {
235
+ assessment_id: 'assessment_id',
236
+ question_id: 'question_id',
237
+ created_at: 'created_at',
238
+ updated_at: 'updated_at'
239
+ };
240
+
241
+ exports.Prisma.AssignmentLibraryScalarFieldEnum = {
242
+ id: 'id',
243
+ deadline: 'deadline',
244
+ assignment: 'assignment',
245
+ job_description_id: 'job_description_id',
246
+ organisation_id: 'organisation_id',
247
+ created_at: 'created_at',
248
+ updated_at: 'updated_at',
249
+ created_by: 'created_by',
250
+ updated_by: 'updated_by',
251
+ is_active: 'is_active'
252
+ };
253
+
254
+ exports.Prisma.BudgetScalarFieldEnum = {
255
+ id: 'id',
256
+ job_type: 'job_type',
257
+ location: 'location',
258
+ shift: 'shift',
259
+ openings: 'openings',
260
+ budget_per_job: 'budget_per_job',
261
+ level: 'level',
262
+ start_date: 'start_date',
263
+ closing_date: 'closing_date',
264
+ business_unit: 'business_unit',
265
+ purpose: 'purpose',
266
+ role: 'role',
267
+ domain: 'domain',
268
+ jd_creation_type: 'jd_creation_type',
269
+ job_description_id: 'job_description_id',
270
+ created_at: 'created_at',
271
+ updated_at: 'updated_at',
272
+ created_by: 'created_by',
273
+ updated_by: 'updated_by',
274
+ is_active: 'is_active'
275
+ };
276
+
277
+ exports.Prisma.CalendlyScalarFieldEnum = {
278
+ id: 'id',
279
+ user_id: 'user_id',
280
+ access_token: 'access_token',
281
+ refresh_token: 'refresh_token',
282
+ expires_at: 'expires_at',
283
+ calendly_user_uri: 'calendly_user_uri',
284
+ scope: 'scope',
285
+ created_at: 'created_at',
286
+ updated_at: 'updated_at',
287
+ created_by: 'created_by',
288
+ updated_by: 'updated_by',
289
+ is_active: 'is_active'
290
+ };
291
+
292
+ exports.Prisma.CandidateProfileScalarFieldEnum = {
293
+ id: 'id',
294
+ created_at: 'created_at',
295
+ updated_at: 'updated_at',
296
+ name: 'name',
297
+ phone: 'phone',
298
+ location: 'location',
299
+ salary: 'salary',
300
+ description: 'description',
301
+ resume_id: 'resume_id',
302
+ date_of_birth: 'date_of_birth',
303
+ user_id: 'user_id',
304
+ work_experience: 'work_experience',
305
+ education: 'education',
306
+ notice_period: 'notice_period',
307
+ gender: 'gender',
308
+ ethnicity: 'ethnicity',
309
+ veteran_status: 'veteran_status',
310
+ disability_status: 'disability_status',
311
+ is_active: 'is_active'
312
+ };
313
+
314
+ exports.Prisma.ContactUsScalarFieldEnum = {
315
+ id: 'id',
316
+ name: 'name',
317
+ email: 'email',
318
+ organisation_name: 'organisation_name',
319
+ organisation_website: 'organisation_website',
320
+ subject: 'subject',
321
+ message: 'message',
322
+ createdAt: 'createdAt',
323
+ updatedAt: 'updatedAt',
324
+ is_active: 'is_active'
325
+ };
326
+
327
+ exports.Prisma.EvaluationPlanScalarFieldEnum = {
328
+ id: 'id',
329
+ job_description_id: 'job_description_id',
330
+ assessment_id: 'assessment_id',
331
+ assignment_library_id: 'assignment_library_id',
332
+ title: 'title',
333
+ description: 'description',
334
+ format: 'format',
335
+ topics: 'topics',
336
+ assignee: 'assignee',
337
+ elimination_round: 'elimination_round',
338
+ evaluation_type: 'evaluation_type',
339
+ type_of_round: 'type_of_round',
340
+ timeline: 'timeline',
341
+ order_no: 'order_no',
342
+ details: 'details',
343
+ plan_type: 'plan_type',
344
+ created_by: 'created_by',
345
+ updated_by: 'updated_by',
346
+ created_at: 'created_at',
347
+ updated_at: 'updated_at',
348
+ is_active: 'is_active'
349
+ };
350
+
351
+ exports.Prisma.FeedbackScalarFieldEnum = {
352
+ id: 'id',
353
+ interview_id: 'interview_id',
354
+ order_no: 'order_no',
355
+ ai_feedback: 'ai_feedback',
356
+ human_feedback: 'human_feedback',
357
+ created_at: 'created_at',
358
+ updated_at: 'updated_at',
359
+ created_by: 'created_by',
360
+ updated_by: 'updated_by',
361
+ is_active: 'is_active'
362
+ };
363
+
364
+ exports.Prisma.FitCheckScalarFieldEnum = {
365
+ id: 'id',
366
+ organisation_id: 'organisation_id',
367
+ resume_id: 'resume_id',
368
+ job_description_id: 'job_description_id',
369
+ skills_match: 'skills_match',
370
+ skills_score: 'skills_score',
371
+ responsibilities_match: 'responsibilities_match',
372
+ responsibilities_score: 'responsibilities_score',
373
+ experience_match: 'experience_match',
374
+ experience_score: 'experience_score',
375
+ organisation_value_score: 'organisation_value_score',
376
+ organisation_value_match: 'organisation_value_match',
377
+ qualifications_match: 'qualifications_match',
378
+ qualifications_score: 'qualifications_score',
379
+ overall_analysis: 'overall_analysis',
380
+ fit: 'fit',
381
+ fit_check_status: 'fit_check_status',
382
+ overall_score: 'overall_score',
383
+ short_match_analysis: 'short_match_analysis',
384
+ candidate_analysis: 'candidate_analysis',
385
+ technical_analysis: 'technical_analysis',
386
+ competency_analysis: 'competency_analysis',
387
+ recommendation: 'recommendation',
388
+ created_by: 'created_by',
389
+ updated_by: 'updated_by',
390
+ is_active: 'is_active',
391
+ created_at: 'created_at',
392
+ updated_at: 'updated_at'
393
+ };
394
+
395
+ exports.Prisma.GoogleScalarFieldEnum = {
396
+ id: 'id',
397
+ user_id: 'user_id',
398
+ google_email: 'google_email',
399
+ refresh_token: 'refresh_token',
400
+ scope: 'scope',
401
+ created_at: 'created_at',
402
+ updated_at: 'updated_at',
403
+ created_by: 'created_by',
404
+ updated_by: 'updated_by',
405
+ is_active: 'is_active'
406
+ };
407
+
408
+ exports.Prisma.IntermediateFeedbackScalarFieldEnum = {
409
+ id: 'id',
410
+ interview_id: 'interview_id',
411
+ overall_feedback_id: 'overall_feedback_id',
412
+ intermediate_feedback: 'intermediate_feedback',
413
+ order_no: 'order_no',
414
+ created_at: 'created_at',
415
+ updated_at: 'updated_at',
416
+ created_by: 'created_by',
417
+ updated_by: 'updated_by',
418
+ is_active: 'is_active'
419
+ };
420
+
421
+ exports.Prisma.InterviewScalarFieldEnum = {
422
+ id: 'id',
423
+ candidate_id: 'candidate_id',
424
+ interviewer_id: 'interviewer_id',
425
+ evaluation_plan_id: 'evaluation_plan_id',
426
+ application_id: 'application_id',
427
+ resume_id: 'resume_id',
428
+ job_description_id: 'job_description_id',
429
+ organisation_id: 'organisation_id',
430
+ room_name: 'room_name',
431
+ interview_summary: 'interview_summary',
432
+ ai_interview_feedback: 'ai_interview_feedback',
433
+ interview_feedback: 'interview_feedback',
434
+ interview_rating: 'interview_rating',
435
+ scheduled_start_time: 'scheduled_start_time',
436
+ scheduled_end_time: 'scheduled_end_time',
437
+ actual_start_time: 'actual_start_time',
438
+ actual_end_time: 'actual_end_time',
439
+ recording_url: 'recording_url',
440
+ interview_status: 'interview_status',
441
+ google_event_id: 'google_event_id',
442
+ created_at: 'created_at',
443
+ updated_at: 'updated_at',
444
+ created_by: 'created_by',
445
+ updated_by: 'updated_by',
446
+ is_active: 'is_active'
447
+ };
448
+
449
+ exports.Prisma.InterviewLibraryScalarFieldEnum = {
450
+ id: 'id',
451
+ title: 'title',
452
+ description: 'description',
453
+ organisation_id: 'organisation_id',
454
+ category: 'category',
455
+ evaluation_type: 'evaluation_type',
456
+ duration: 'duration',
457
+ passing_marks: 'passing_marks',
458
+ is_active: 'is_active',
459
+ created_by: 'created_by',
460
+ updated_by: 'updated_by',
461
+ created_at: 'created_at',
462
+ updated_at: 'updated_at'
463
+ };
464
+
465
+ exports.Prisma.InterviewNotesScalarFieldEnum = {
466
+ id: 'id',
467
+ interview_id: 'interview_id',
468
+ note: 'note',
469
+ details: 'details',
470
+ timestamp: 'timestamp',
471
+ created_at: 'created_at',
472
+ updated_at: 'updated_at',
473
+ created_by: 'created_by',
474
+ updated_by: 'updated_by',
475
+ is_active: 'is_active'
476
+ };
477
+
478
+ exports.Prisma.JobDescriptionScalarFieldEnum = {
479
+ id: 'id',
480
+ organisation_id: 'organisation_id',
481
+ hiring_manager_id: 'hiring_manager_id',
482
+ status: 'status',
483
+ screeningQuestions: 'screeningQuestions',
484
+ recommendedQuestions: 'recommendedQuestions',
485
+ uploaded_job_description_path: 'uploaded_job_description_path',
486
+ is_plan_locked: 'is_plan_locked',
487
+ is_plan_published: 'is_plan_published',
488
+ is_posted: 'is_posted',
489
+ ai_insight: 'ai_insight',
490
+ created_at: 'created_at',
491
+ updated_at: 'updated_at',
492
+ created_by: 'created_by',
493
+ updated_by: 'updated_by',
494
+ is_active: 'is_active',
495
+ openings: 'openings'
496
+ };
497
+
498
+ exports.Prisma.JobDescriptionDataScalarFieldEnum = {
499
+ id: 'id',
500
+ job_description_id: 'job_description_id',
501
+ key: 'key',
502
+ value: 'value',
503
+ created_at: 'created_at',
504
+ updated_at: 'updated_at',
505
+ created_by: 'created_by',
506
+ updated_by: 'updated_by',
507
+ is_active: 'is_active'
508
+ };
509
+
510
+ exports.Prisma.MessageScalarFieldEnum = {
511
+ id: 'id',
512
+ sender_id: 'sender_id',
513
+ receiver_id: 'receiver_id',
514
+ message: 'message',
515
+ created_at: 'created_at',
516
+ updated_at: 'updated_at',
517
+ created_by: 'created_by',
518
+ updated_by: 'updated_by',
519
+ is_active: 'is_active'
520
+ };
521
+
522
+ exports.Prisma.OngoingEvaluationScalarFieldEnum = {
523
+ id: 'id',
524
+ application_id: 'application_id',
525
+ candidate_id: 'candidate_id',
526
+ resume_id: 'resume_id',
527
+ organisation_id: 'organisation_id',
528
+ job_description_id: 'job_description_id',
529
+ evaluation_plan_id: 'evaluation_plan_id',
530
+ interview_id: 'interview_id',
531
+ status: 'status',
532
+ state: 'state',
533
+ round_status: 'round_status',
534
+ comments: 'comments',
535
+ created_at: 'created_at',
536
+ updated_at: 'updated_at',
537
+ created_by: 'created_by',
538
+ updated_by: 'updated_by',
539
+ is_active: 'is_active',
540
+ is_current: 'is_current',
541
+ title: 'title',
542
+ description: 'description',
543
+ round_no: 'round_no',
544
+ format: 'format',
545
+ topics: 'topics',
546
+ assignee: 'assignee',
547
+ elimination_round: 'elimination_round',
548
+ evaluation_type: 'evaluation_type',
549
+ type_of_round: 'type_of_round',
550
+ timeline: 'timeline',
551
+ details: 'details'
552
+ };
553
+
554
+ exports.Prisma.OrganisationScalarFieldEnum = {
555
+ id: 'id',
556
+ name: 'name',
557
+ industry: 'industry',
558
+ about: 'about',
559
+ website: 'website',
560
+ size: 'size',
561
+ phone: 'phone',
562
+ address: 'address',
563
+ company_values: 'company_values',
564
+ created_at: 'created_at',
565
+ updated_at: 'updated_at',
566
+ created_by: 'created_by',
567
+ updated_by: 'updated_by',
568
+ is_active: 'is_active',
569
+ alias: 'alias',
570
+ logo: 'logo'
571
+ };
572
+
573
+ exports.Prisma.OverallFeedbackScalarFieldEnum = {
574
+ id: 'id',
575
+ interview_id: 'interview_id',
576
+ interviewer_id: 'interviewer_id',
577
+ feedback_type: 'feedback_type',
578
+ overall_score: 'overall_score',
579
+ overall_recommendation: 'overall_recommendation',
580
+ overall_feedback: 'overall_feedback',
581
+ created_at: 'created_at',
582
+ updated_at: 'updated_at',
583
+ created_by: 'created_by',
584
+ updated_by: 'updated_by',
585
+ is_active: 'is_active'
586
+ };
587
+
588
+ exports.Prisma.PanelistScalarFieldEnum = {
589
+ id: 'id',
590
+ name: 'name',
591
+ designation: 'designation',
592
+ experience: 'experience',
593
+ expertise: 'expertise',
594
+ suited_interview: 'suited_interview',
595
+ industry: 'industry',
596
+ special_areas: 'special_areas',
597
+ organisation_id: 'organisation_id',
598
+ user_id: 'user_id',
599
+ created_at: 'created_at',
600
+ updated_at: 'updated_at',
601
+ created_by: 'created_by',
602
+ updated_by: 'updated_by',
603
+ is_active: 'is_active'
604
+ };
605
+
606
+ exports.Prisma.PermissionScalarFieldEnum = {
607
+ id: 'id',
608
+ permissions: 'permissions',
609
+ created_by: 'created_by',
610
+ updated_by: 'updated_by',
611
+ updated_at: 'updated_at',
612
+ created_at: 'created_at',
613
+ is_active: 'is_active'
614
+ };
615
+
616
+ exports.Prisma.QuestionScalarFieldEnum = {
617
+ id: 'id',
618
+ assessment_library_id: 'assessment_library_id',
619
+ evaluation_plan_id: 'evaluation_plan_id',
620
+ candidate_id: 'candidate_id',
621
+ skill: 'skill',
622
+ question_type: 'question_type',
623
+ question: 'question',
624
+ answer: 'answer',
625
+ options: 'options',
626
+ max_score: 'max_score',
627
+ difficulty: 'difficulty',
628
+ created_by: 'created_by',
629
+ updated_by: 'updated_by',
630
+ created_at: 'created_at',
631
+ updated_at: 'updated_at',
632
+ is_active: 'is_active'
633
+ };
634
+
635
+ exports.Prisma.ResumeScalarFieldEnum = {
636
+ id: 'id',
637
+ user_id: 'user_id',
638
+ organisation_id: 'organisation_id',
639
+ job_description_id: 'job_description_id',
640
+ uploaded_resume_path: 'uploaded_resume_path',
641
+ created_at: 'created_at',
642
+ updated_at: 'updated_at',
643
+ created_by: 'created_by',
644
+ updated_by: 'updated_by',
645
+ is_active: 'is_active',
646
+ yearsOfExperience: 'yearsOfExperience'
647
+ };
648
+
649
+ exports.Prisma.ResumeDataScalarFieldEnum = {
650
+ id: 'id',
651
+ resume_id: 'resume_id',
652
+ key: 'key',
653
+ value: 'value',
654
+ created_at: 'created_at',
655
+ updated_at: 'updated_at',
656
+ created_by: 'created_by',
657
+ updated_by: 'updated_by',
658
+ is_active: 'is_active'
659
+ };
660
+
661
+ exports.Prisma.SuggestionScalarFieldEnum = {
662
+ id: 'id',
663
+ interview_id: 'interview_id',
664
+ transcript_id: 'transcript_id',
665
+ organisation_id: 'organisation_id',
666
+ suggestion: 'suggestion',
667
+ question: 'question',
668
+ created_at: 'created_at',
669
+ updated_at: 'updated_at',
670
+ created_by: 'created_by',
671
+ updated_by: 'updated_by',
672
+ is_active: 'is_active'
673
+ };
674
+
675
+ exports.Prisma.TranscriptScalarFieldEnum = {
676
+ id: 'id',
677
+ interview_id: 'interview_id',
678
+ suggestion_id: 'suggestion_id',
679
+ intermediate_feedback_id: 'intermediate_feedback_id',
680
+ job_description_id: 'job_description_id',
681
+ interviewer_timestamp: 'interviewer_timestamp',
682
+ candidate_timestamp: 'candidate_timestamp',
683
+ interviewer: 'interviewer',
684
+ candidate: 'candidate',
685
+ order_no: 'order_no',
686
+ created_at: 'created_at',
687
+ updated_at: 'updated_at',
688
+ created_by: 'created_by',
689
+ updated_by: 'updated_by',
690
+ is_active: 'is_active'
691
+ };
692
+
693
+ exports.Prisma.UserScalarFieldEnum = {
694
+ id: 'id',
695
+ email: 'email',
696
+ password: 'password',
697
+ role_id: 'role_id',
698
+ google_id: 'google_id',
699
+ refresh_token: 'refresh_token',
700
+ created_at: 'created_at',
701
+ updated_at: 'updated_at',
702
+ created_by: 'created_by',
703
+ updated_by: 'updated_by',
704
+ is_active: 'is_active',
705
+ is_self_registered: 'is_self_registered',
706
+ permission_id: 'permission_id',
707
+ organisation_id: 'organisation_id',
708
+ profile_created: 'profile_created',
709
+ first_login_status: 'first_login_status',
710
+ name: 'name',
711
+ phone: 'phone',
712
+ description: 'description',
713
+ date_of_birth: 'date_of_birth',
714
+ designation: 'designation',
715
+ location: 'location',
716
+ salary: 'salary',
717
+ work_experience: 'work_experience',
718
+ education: 'education',
719
+ notice_period: 'notice_period',
720
+ gender: 'gender',
721
+ ethnicity: 'ethnicity',
722
+ veteran_status: 'veteran_status',
723
+ disability_status: 'disability_status'
724
+ };
725
+
726
+ exports.Prisma.UserProfileScalarFieldEnum = {
727
+ id: 'id',
728
+ created_at: 'created_at',
729
+ updated_at: 'updated_at',
730
+ name: 'name',
731
+ phone: 'phone',
732
+ description: 'description',
733
+ date_of_birth: 'date_of_birth',
734
+ designation: 'designation',
735
+ is_active: 'is_active',
736
+ user_id: 'user_id',
737
+ work_experience: 'work_experience'
738
+ };
739
+
740
+ exports.Prisma.SortOrder = {
741
+ asc: 'asc',
742
+ desc: 'desc'
743
+ };
744
+
745
+ exports.Prisma.NullableJsonNullValueInput = {
746
+ DbNull: Prisma.DbNull,
747
+ JsonNull: Prisma.JsonNull
748
+ };
749
+
750
+ exports.Prisma.JsonNullValueInput = {
751
+ JsonNull: Prisma.JsonNull
752
+ };
753
+
754
+ exports.Prisma.QueryMode = {
755
+ default: 'default',
756
+ insensitive: 'insensitive'
757
+ };
758
+
759
+ exports.Prisma.NullsOrder = {
760
+ first: 'first',
761
+ last: 'last'
762
+ };
763
+
764
+ exports.Prisma.JsonNullValueFilter = {
765
+ DbNull: Prisma.DbNull,
766
+ JsonNull: Prisma.JsonNull,
767
+ AnyNull: Prisma.AnyNull
768
+ };
769
+ exports.ActionType = exports.$Enums.ActionType = {
770
+ TAKE_INTERVIEW: 'TAKE_INTERVIEW',
771
+ PROVIDE_FEEDBACK: 'PROVIDE_FEEDBACK',
772
+ SCHEDULE_INTERVIEW: 'SCHEDULE_INTERVIEW'
773
+ };
774
+
775
+ exports.ActionStatus = exports.$Enums.ActionStatus = {
776
+ PENDING: 'PENDING',
777
+ COMPLETED: 'COMPLETED',
778
+ CANCELLED: 'CANCELLED'
779
+ };
780
+
781
+ exports.ApplicationStatus = exports.$Enums.ApplicationStatus = {
782
+ PENDING: 'PENDING',
783
+ IN_PROGRESS: 'IN_PROGRESS',
784
+ SHORTLISTED: 'SHORTLISTED',
785
+ REJECTED: 'REJECTED'
786
+ };
787
+
788
+ exports.FitCheckStatus = exports.$Enums.FitCheckStatus = {
789
+ RECOMMENDED: 'RECOMMENDED',
790
+ TO_REVIEW: 'TO_REVIEW',
791
+ NOT_RECOMMENDED: 'NOT_RECOMMENDED'
792
+ };
793
+
794
+ exports.AssessmentStatus = exports.$Enums.AssessmentStatus = {
795
+ SCHEDULED: 'SCHEDULED',
796
+ IN_PROGRESS: 'IN_PROGRESS',
797
+ COMPLETED: 'COMPLETED',
798
+ CANCELLED: 'CANCELLED',
799
+ RESCHEDULED: 'RESCHEDULED',
800
+ NO_SHOW: 'NO_SHOW',
801
+ EVALUATION_PENDING: 'EVALUATION_PENDING',
802
+ EVALUATED: 'EVALUATED'
803
+ };
804
+
805
+ exports.AssessmentCategory = exports.$Enums.AssessmentCategory = {
806
+ MCQ: 'MCQ',
807
+ COMPETENCY: 'COMPETENCY',
808
+ CASE_STUDY: 'CASE_STUDY',
809
+ ASSIGNMENT: 'ASSIGNMENT'
810
+ };
811
+
812
+ exports.JobType = exports.$Enums.JobType = {
813
+ Full_time: 'Full_time',
814
+ Part_time: 'Part_time',
815
+ Contract: 'Contract',
816
+ Internship: 'Internship',
817
+ Temporary: 'Temporary'
818
+ };
819
+
820
+ exports.JDCreationType = exports.$Enums.JDCreationType = {
821
+ Pick_from_Library: 'Pick_from_Library',
822
+ Upload_JD: 'Upload_JD',
823
+ Create_New: 'Create_New',
824
+ Create_From_Profile: 'Create_From_Profile'
825
+ };
826
+
827
+ exports.EvaluationRoundFormat = exports.$Enums.EvaluationRoundFormat = {
828
+ PHONE_CALL: 'PHONE_CALL',
829
+ VIDEO_CALL_AI_ASSISTED: 'VIDEO_CALL_AI_ASSISTED',
830
+ VIDEO_CALL_UNASSISTED: 'VIDEO_CALL_UNASSISTED',
831
+ AI_GENERATED_TEST: 'AI_GENERATED_TEST',
832
+ UPLOADED_TEST: 'UPLOADED_TEST',
833
+ EXTERNAL_PLATFORM: 'EXTERNAL_PLATFORM',
834
+ AI_GENERATED_ASSIGNMENT: 'AI_GENERATED_ASSIGNMENT',
835
+ UPLOADED_ASSIGNMENT: 'UPLOADED_ASSIGNMENT',
836
+ TREADSPACE_AI_ASSISTED: 'TREADSPACE_AI_ASSISTED',
837
+ EXTERNAL_VIDEO_AI_ASSISTED: 'EXTERNAL_VIDEO_AI_ASSISTED',
838
+ EXTERNAL_VIDEO_UNASSISTED: 'EXTERNAL_VIDEO_UNASSISTED'
839
+ };
840
+
841
+ exports.EvaluationType = exports.$Enums.EvaluationType = {
842
+ TREADSPACE_AI_ASSISTED: 'TREADSPACE_AI_ASSISTED',
843
+ EXTERNAL_AI_ASSISTED: 'EXTERNAL_AI_ASSISTED',
844
+ NON_AI_ASSISTED: 'NON_AI_ASSISTED'
845
+ };
846
+
847
+ exports.RoundType = exports.$Enums.RoundType = {
848
+ ASSESSMENT: 'ASSESSMENT',
849
+ INTERVIEW: 'INTERVIEW',
850
+ ASSIGNMENT: 'ASSIGNMENT',
851
+ SCREENING: 'SCREENING'
852
+ };
853
+
854
+ exports.EvaluationPlanType = exports.$Enums.EvaluationPlanType = {
855
+ CUSTOM: 'CUSTOM',
856
+ GENERIC: 'GENERIC',
857
+ DELETED: 'DELETED'
858
+ };
859
+
860
+ exports.InterviewFeedback = exports.$Enums.InterviewFeedback = {
861
+ STRONG_HIRE: 'STRONG_HIRE',
862
+ HIRE: 'HIRE',
863
+ NO_HIRE: 'NO_HIRE',
864
+ STRONG_NO_HIRE: 'STRONG_NO_HIRE'
865
+ };
866
+
867
+ exports.InterviewStatus = exports.$Enums.InterviewStatus = {
868
+ INTERVIEW_REQUESTED: 'INTERVIEW_REQUESTED',
869
+ SCHEDULED: 'SCHEDULED',
870
+ IN_PROGRESS: 'IN_PROGRESS',
871
+ CANCELLED: 'CANCELLED',
872
+ NO_SHOW: 'NO_SHOW',
873
+ EVALUATION_PENDING: 'EVALUATION_PENDING',
874
+ EVALUATED: 'EVALUATED'
875
+ };
876
+
877
+ exports.InterviewCategory = exports.$Enums.InterviewCategory = {
878
+ SCREENING: 'SCREENING',
879
+ TECHNICAL: 'TECHNICAL',
880
+ BEHAVIORAL: 'BEHAVIORAL',
881
+ CASE_STUDY: 'CASE_STUDY',
882
+ MANAGERIAL: 'MANAGERIAL',
883
+ CULTURAL_FIT: 'CULTURAL_FIT',
884
+ FINAL_DISCUSSION: 'FINAL_DISCUSSION',
885
+ GENERAL: 'GENERAL'
886
+ };
887
+
888
+ exports.JobDescriptionStatus = exports.$Enums.JobDescriptionStatus = {
889
+ CREATED: 'CREATED',
890
+ DRAFT: 'DRAFT',
891
+ ACTIVE: 'ACTIVE',
892
+ DEACTIVATED: 'DEACTIVATED',
893
+ CLOSED: 'CLOSED'
894
+ };
895
+
896
+ exports.OngoingEvaluationStatus = exports.$Enums.OngoingEvaluationStatus = {
897
+ LOCKED: 'LOCKED',
898
+ ACTION_REQUIRED: 'ACTION_REQUIRED',
899
+ IN_PROGRESS: 'IN_PROGRESS',
900
+ EVALUATED: 'EVALUATED',
901
+ CLEARED: 'CLEARED',
902
+ NOT_CLEARED: 'NOT_CLEARED',
903
+ SKIPPED: 'SKIPPED'
904
+ };
905
+
906
+ exports.OngoingEvaluationState = exports.$Enums.OngoingEvaluationState = {
907
+ NOT_STARTED: 'NOT_STARTED',
908
+ IN_PROGRESS: 'IN_PROGRESS',
909
+ CLEARED: 'CLEARED',
910
+ SKIPPED: 'SKIPPED',
911
+ NOT_CLEARED: 'NOT_CLEARED'
912
+ };
913
+
914
+ exports.OngoingEvaluationRoundStatus = exports.$Enums.OngoingEvaluationRoundStatus = {
915
+ NOT_SCHEDULED: 'NOT_SCHEDULED',
916
+ REQUESTED_SCHEDULING: 'REQUESTED_SCHEDULING',
917
+ SCHEDULED: 'SCHEDULED',
918
+ IN_PROGRESS: 'IN_PROGRESS',
919
+ PENDING_EVALUATION: 'PENDING_EVALUATION',
920
+ EVALUATED: 'EVALUATED'
921
+ };
922
+
923
+ exports.OrganisationSize = exports.$Enums.OrganisationSize = {
924
+ ONE_TO_TEN: 'ONE_TO_TEN',
925
+ ELEVEN_TO_FIFTY: 'ELEVEN_TO_FIFTY',
926
+ FIFTY_ONE_TO_TWO_HUNDRED: 'FIFTY_ONE_TO_TWO_HUNDRED',
927
+ TWO_HUNDRED_ONE_TO_FIVE_HUNDRED: 'TWO_HUNDRED_ONE_TO_FIVE_HUNDRED',
928
+ FIVE_HUNDRED_PLUS: 'FIVE_HUNDRED_PLUS'
929
+ };
930
+
931
+ exports.FeedbackType = exports.$Enums.FeedbackType = {
932
+ HUMAN: 'HUMAN',
933
+ AI: 'AI'
934
+ };
935
+
936
+ exports.OverallRecommendation = exports.$Enums.OverallRecommendation = {
937
+ StrongHire: 'StrongHire',
938
+ Hire: 'Hire',
939
+ LeaningHire: 'LeaningHire',
940
+ NoHire: 'NoHire',
941
+ StrongNoHire: 'StrongNoHire'
942
+ };
943
+
944
+ exports.QuestionType = exports.$Enums.QuestionType = {
945
+ MCQ: 'MCQ',
946
+ TRUE_FALSE: 'TRUE_FALSE',
947
+ THEORY: 'THEORY',
948
+ CODING: 'CODING'
949
+ };
950
+
951
+ exports.Difficulty = exports.$Enums.Difficulty = {
952
+ EASY: 'EASY',
953
+ MEDIUM: 'MEDIUM',
954
+ HARD: 'HARD'
955
+ };
956
+
957
+ exports.FirstLoginStatus = exports.$Enums.FirstLoginStatus = {
958
+ PENDING: 'PENDING',
959
+ COMPLETED: 'COMPLETED'
960
+ };
961
+
962
+ exports.Prisma.ModelName = {
963
+ CandidateQuestionResponse: 'CandidateQuestionResponse',
964
+ UserRole: 'UserRole',
965
+ Action: 'Action',
966
+ Application: 'Application',
967
+ Approval: 'Approval',
968
+ Assessment: 'Assessment',
969
+ AssessmentLibrary: 'AssessmentLibrary',
970
+ AssessmentQuestion: 'AssessmentQuestion',
971
+ AssignmentLibrary: 'AssignmentLibrary',
972
+ Budget: 'Budget',
973
+ Calendly: 'Calendly',
974
+ CandidateProfile: 'CandidateProfile',
975
+ ContactUs: 'ContactUs',
976
+ EvaluationPlan: 'EvaluationPlan',
977
+ Feedback: 'Feedback',
978
+ FitCheck: 'FitCheck',
979
+ Google: 'Google',
980
+ IntermediateFeedback: 'IntermediateFeedback',
981
+ Interview: 'Interview',
982
+ InterviewLibrary: 'InterviewLibrary',
983
+ InterviewNotes: 'InterviewNotes',
984
+ JobDescription: 'JobDescription',
985
+ JobDescriptionData: 'JobDescriptionData',
986
+ Message: 'Message',
987
+ OngoingEvaluation: 'OngoingEvaluation',
988
+ Organisation: 'Organisation',
989
+ OverallFeedback: 'OverallFeedback',
990
+ Panelist: 'Panelist',
991
+ Permission: 'Permission',
992
+ Question: 'Question',
993
+ Resume: 'Resume',
994
+ ResumeData: 'ResumeData',
995
+ Suggestion: 'Suggestion',
996
+ Transcript: 'Transcript',
997
+ User: 'User',
998
+ UserProfile: 'UserProfile'
999
+ };
1000
+
1001
+ /**
1002
+ * This is a stub Prisma Client that will error at runtime if called.
1003
+ */
1004
+ class PrismaClient {
1005
+ constructor() {
1006
+ return new Proxy(this, {
1007
+ get(target, prop) {
1008
+ let message
1009
+ const runtime = getRuntime()
1010
+ if (runtime.isEdge) {
1011
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
1012
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
1013
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
1014
+ `;
1015
+ } else {
1016
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
1017
+ }
1018
+
1019
+ message += `
1020
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
1021
+
1022
+ throw new Error(message)
1023
+ }
1024
+ })
1025
+ }
1026
+ }
1027
+
1028
+ exports.PrismaClient = PrismaClient
1029
+
1030
+ Object.assign(exports, Prisma)