@adaptware/eagles-db 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/README.md +110 -0
  2. package/bin/db-cli.js +113 -0
  3. package/client/client.d.ts +1 -0
  4. package/client/client.js +4 -0
  5. package/client/default.d.ts +1 -0
  6. package/client/default.js +4 -0
  7. package/client/edge.d.ts +1 -0
  8. package/client/edge.js +1039 -0
  9. package/client/index-browser.js +1022 -0
  10. package/client/index.d.ts +94904 -0
  11. package/client/index.js +1064 -0
  12. package/client/libquery_engine-darwin.dylib.node +0 -0
  13. package/client/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  14. package/client/package.json +150 -0
  15. package/client/runtime/edge-esm.js +34 -0
  16. package/client/runtime/edge.js +34 -0
  17. package/client/runtime/index-browser.d.ts +370 -0
  18. package/client/runtime/index-browser.js +16 -0
  19. package/client/runtime/library.d.ts +3976 -0
  20. package/client/runtime/library.js +146 -0
  21. package/client/runtime/react-native.js +83 -0
  22. package/client/runtime/wasm-compiler-edge.js +83 -0
  23. package/client/runtime/wasm-engine-edge.js +35 -0
  24. package/client/schema.prisma +1158 -0
  25. package/client/wasm.d.ts +1 -0
  26. package/client/wasm.js +1022 -0
  27. package/package.json +55 -0
  28. package/prisma/schema/CandidateQuestionResponse.prisma +21 -0
  29. package/prisma/schema/UserRole.prisma +20 -0
  30. package/prisma/schema/action.prisma +35 -0
  31. package/prisma/schema/applications.prisma +44 -0
  32. package/prisma/schema/approval.prisma +14 -0
  33. package/prisma/schema/assessment.prisma +40 -0
  34. package/prisma/schema/assessmentLibrary.prisma +33 -0
  35. package/prisma/schema/assessmentQuestion.prisma +17 -0
  36. package/prisma/schema/assignmentLibrary.prisma +20 -0
  37. package/prisma/schema/budget.prisma +38 -0
  38. package/prisma/schema/calendly.prisma +18 -0
  39. package/prisma/schema/candidateProfile.prisma +26 -0
  40. package/prisma/schema/contactUs.prisma +12 -0
  41. package/prisma/schema/evaluationPlan.prisma +91 -0
  42. package/prisma/schema/feedback.prisma +18 -0
  43. package/prisma/schema/fitCheck.prisma +54 -0
  44. package/prisma/schema/google.prisma +16 -0
  45. package/prisma/schema/intermediateFeedback.prisma +18 -0
  46. package/prisma/schema/interview.prisma +65 -0
  47. package/prisma/schema/interviewLibrary.prisma +33 -0
  48. package/prisma/schema/interviewNotes.prisma +17 -0
  49. package/prisma/schema/jobDescription.prisma +43 -0
  50. package/prisma/schema/jobDescriptionData.prisma +16 -0
  51. package/prisma/schema/message.prisma +15 -0
  52. package/prisma/schema/ongoingEvaluation.prisma +59 -0
  53. package/prisma/schema/organisation.prisma +44 -0
  54. package/prisma/schema/overallFeedback.prisma +35 -0
  55. package/prisma/schema/panelist.prisma +24 -0
  56. package/prisma/schema/permission.prisma +13 -0
  57. package/prisma/schema/questions.prisma +36 -0
  58. package/prisma/schema/resume.prisma +26 -0
  59. package/prisma/schema/resumeData.prisma +15 -0
  60. package/prisma/schema/schema.prisma +16 -0
  61. package/prisma/schema/suggestion.prisma +21 -0
  62. package/prisma/schema/transcript.prisma +26 -0
  63. package/prisma/schema/user.prisma +68 -0
  64. package/prisma/schema/userProfile.prisma +15 -0
package/client/wasm.js ADDED
@@ -0,0 +1,1022 @@
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
+ weightage: 'weightage',
336
+ topics: 'topics',
337
+ assignee: 'assignee',
338
+ elimination_round: 'elimination_round',
339
+ evaluation_type: 'evaluation_type',
340
+ type_of_round: 'type_of_round',
341
+ timeline: 'timeline',
342
+ order_no: 'order_no',
343
+ details: 'details',
344
+ lock_weight: 'lock_weight',
345
+ created_by: 'created_by',
346
+ updated_by: 'updated_by',
347
+ created_at: 'created_at',
348
+ updated_at: 'updated_at',
349
+ is_active: 'is_active'
350
+ };
351
+
352
+ exports.Prisma.FeedbackScalarFieldEnum = {
353
+ id: 'id',
354
+ interview_id: 'interview_id',
355
+ order_no: 'order_no',
356
+ ai_feedback: 'ai_feedback',
357
+ human_feedback: 'human_feedback',
358
+ created_at: 'created_at',
359
+ updated_at: 'updated_at',
360
+ created_by: 'created_by',
361
+ updated_by: 'updated_by',
362
+ is_active: 'is_active'
363
+ };
364
+
365
+ exports.Prisma.FitCheckScalarFieldEnum = {
366
+ id: 'id',
367
+ organisation_id: 'organisation_id',
368
+ resume_id: 'resume_id',
369
+ job_description_id: 'job_description_id',
370
+ skills_match: 'skills_match',
371
+ skills_score: 'skills_score',
372
+ responsibilities_match: 'responsibilities_match',
373
+ responsibilities_score: 'responsibilities_score',
374
+ experience_match: 'experience_match',
375
+ experience_score: 'experience_score',
376
+ organisation_value_score: 'organisation_value_score',
377
+ organisation_value_match: 'organisation_value_match',
378
+ qualifications_match: 'qualifications_match',
379
+ qualifications_score: 'qualifications_score',
380
+ overall_analysis: 'overall_analysis',
381
+ fit: 'fit',
382
+ fit_check_status: 'fit_check_status',
383
+ overall_score: 'overall_score',
384
+ short_match_analysis: 'short_match_analysis',
385
+ candidate_analysis: 'candidate_analysis',
386
+ technical_analysis: 'technical_analysis',
387
+ competency_analysis: 'competency_analysis',
388
+ recommendation: 'recommendation',
389
+ created_by: 'created_by',
390
+ updated_by: 'updated_by',
391
+ is_active: 'is_active',
392
+ created_at: 'created_at',
393
+ updated_at: 'updated_at'
394
+ };
395
+
396
+ exports.Prisma.GoogleScalarFieldEnum = {
397
+ id: 'id',
398
+ user_id: 'user_id',
399
+ google_email: 'google_email',
400
+ refresh_token: 'refresh_token',
401
+ scope: 'scope',
402
+ created_at: 'created_at',
403
+ updated_at: 'updated_at',
404
+ created_by: 'created_by',
405
+ updated_by: 'updated_by',
406
+ is_active: 'is_active'
407
+ };
408
+
409
+ exports.Prisma.IntermediateFeedbackScalarFieldEnum = {
410
+ id: 'id',
411
+ interview_id: 'interview_id',
412
+ overall_feedback_id: 'overall_feedback_id',
413
+ intermediate_feedback: 'intermediate_feedback',
414
+ order_no: 'order_no',
415
+ created_at: 'created_at',
416
+ updated_at: 'updated_at',
417
+ created_by: 'created_by',
418
+ updated_by: 'updated_by',
419
+ is_active: 'is_active'
420
+ };
421
+
422
+ exports.Prisma.InterviewScalarFieldEnum = {
423
+ id: 'id',
424
+ candidate_id: 'candidate_id',
425
+ interviewer_id: 'interviewer_id',
426
+ evaluation_plan_id: 'evaluation_plan_id',
427
+ application_id: 'application_id',
428
+ resume_id: 'resume_id',
429
+ job_description_id: 'job_description_id',
430
+ organisation_id: 'organisation_id',
431
+ room_name: 'room_name',
432
+ interview_summary: 'interview_summary',
433
+ ai_interview_feedback: 'ai_interview_feedback',
434
+ interview_feedback: 'interview_feedback',
435
+ interview_rating: 'interview_rating',
436
+ scheduled_start_time: 'scheduled_start_time',
437
+ scheduled_end_time: 'scheduled_end_time',
438
+ actual_start_time: 'actual_start_time',
439
+ actual_end_time: 'actual_end_time',
440
+ recording_url: 'recording_url',
441
+ interview_status: 'interview_status',
442
+ google_event_id: 'google_event_id',
443
+ created_at: 'created_at',
444
+ updated_at: 'updated_at',
445
+ created_by: 'created_by',
446
+ updated_by: 'updated_by',
447
+ is_active: 'is_active'
448
+ };
449
+
450
+ exports.Prisma.InterviewLibraryScalarFieldEnum = {
451
+ id: 'id',
452
+ title: 'title',
453
+ description: 'description',
454
+ organisation_id: 'organisation_id',
455
+ category: 'category',
456
+ evaluation_type: 'evaluation_type',
457
+ duration: 'duration',
458
+ passing_marks: 'passing_marks',
459
+ is_active: 'is_active',
460
+ created_by: 'created_by',
461
+ updated_by: 'updated_by',
462
+ created_at: 'created_at',
463
+ updated_at: 'updated_at'
464
+ };
465
+
466
+ exports.Prisma.InterviewNotesScalarFieldEnum = {
467
+ id: 'id',
468
+ interview_id: 'interview_id',
469
+ note: 'note',
470
+ details: 'details',
471
+ timestamp: 'timestamp',
472
+ created_at: 'created_at',
473
+ updated_at: 'updated_at',
474
+ created_by: 'created_by',
475
+ updated_by: 'updated_by',
476
+ is_active: 'is_active'
477
+ };
478
+
479
+ exports.Prisma.JobDescriptionScalarFieldEnum = {
480
+ id: 'id',
481
+ hiring_manager_id: 'hiring_manager_id',
482
+ status: 'status',
483
+ organisation_id: 'organisation_id',
484
+ screeningQuestions: 'screeningQuestions',
485
+ recommendedQuestions: 'recommendedQuestions',
486
+ created_at: 'created_at',
487
+ updated_at: 'updated_at',
488
+ created_by: 'created_by',
489
+ updated_by: 'updated_by',
490
+ uploaded_job_description_path: 'uploaded_job_description_path',
491
+ is_active: 'is_active',
492
+ is_plan_locked: 'is_plan_locked',
493
+ is_posted: 'is_posted',
494
+ openings: 'openings',
495
+ ai_insight: 'ai_insight'
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
+ };
542
+
543
+ exports.Prisma.OrganisationScalarFieldEnum = {
544
+ id: 'id',
545
+ name: 'name',
546
+ industry: 'industry',
547
+ about: 'about',
548
+ website: 'website',
549
+ size: 'size',
550
+ phone: 'phone',
551
+ address: 'address',
552
+ company_values: 'company_values',
553
+ created_at: 'created_at',
554
+ updated_at: 'updated_at',
555
+ created_by: 'created_by',
556
+ updated_by: 'updated_by',
557
+ is_active: 'is_active',
558
+ alias: 'alias',
559
+ logo: 'logo'
560
+ };
561
+
562
+ exports.Prisma.OverallFeedbackScalarFieldEnum = {
563
+ id: 'id',
564
+ interview_id: 'interview_id',
565
+ interviewer_id: 'interviewer_id',
566
+ feedback_type: 'feedback_type',
567
+ overall_score: 'overall_score',
568
+ overall_recommendation: 'overall_recommendation',
569
+ overall_feedback: 'overall_feedback',
570
+ created_at: 'created_at',
571
+ updated_at: 'updated_at',
572
+ created_by: 'created_by',
573
+ updated_by: 'updated_by',
574
+ is_active: 'is_active'
575
+ };
576
+
577
+ exports.Prisma.PanelistScalarFieldEnum = {
578
+ id: 'id',
579
+ name: 'name',
580
+ designation: 'designation',
581
+ experience: 'experience',
582
+ expertise: 'expertise',
583
+ suited_interview: 'suited_interview',
584
+ industry: 'industry',
585
+ special_areas: 'special_areas',
586
+ organisation_id: 'organisation_id',
587
+ user_id: 'user_id',
588
+ created_at: 'created_at',
589
+ updated_at: 'updated_at',
590
+ created_by: 'created_by',
591
+ updated_by: 'updated_by',
592
+ is_active: 'is_active'
593
+ };
594
+
595
+ exports.Prisma.PermissionScalarFieldEnum = {
596
+ id: 'id',
597
+ permissions: 'permissions',
598
+ created_by: 'created_by',
599
+ updated_by: 'updated_by',
600
+ updated_at: 'updated_at',
601
+ created_at: 'created_at',
602
+ is_active: 'is_active'
603
+ };
604
+
605
+ exports.Prisma.QuestionScalarFieldEnum = {
606
+ id: 'id',
607
+ assessment_library_id: 'assessment_library_id',
608
+ evaluation_plan_id: 'evaluation_plan_id',
609
+ candidate_id: 'candidate_id',
610
+ skill: 'skill',
611
+ question_type: 'question_type',
612
+ question: 'question',
613
+ answer: 'answer',
614
+ options: 'options',
615
+ max_score: 'max_score',
616
+ difficulty: 'difficulty',
617
+ created_by: 'created_by',
618
+ updated_by: 'updated_by',
619
+ created_at: 'created_at',
620
+ updated_at: 'updated_at',
621
+ is_active: 'is_active'
622
+ };
623
+
624
+ exports.Prisma.ResumeScalarFieldEnum = {
625
+ id: 'id',
626
+ user_id: 'user_id',
627
+ organisation_id: 'organisation_id',
628
+ job_description_id: 'job_description_id',
629
+ uploaded_resume_path: 'uploaded_resume_path',
630
+ created_at: 'created_at',
631
+ updated_at: 'updated_at',
632
+ created_by: 'created_by',
633
+ updated_by: 'updated_by',
634
+ is_active: 'is_active',
635
+ yearsOfExperience: 'yearsOfExperience'
636
+ };
637
+
638
+ exports.Prisma.ResumeDataScalarFieldEnum = {
639
+ id: 'id',
640
+ resume_id: 'resume_id',
641
+ key: 'key',
642
+ value: 'value',
643
+ created_at: 'created_at',
644
+ updated_at: 'updated_at',
645
+ created_by: 'created_by',
646
+ updated_by: 'updated_by',
647
+ is_active: 'is_active'
648
+ };
649
+
650
+ exports.Prisma.SuggestionScalarFieldEnum = {
651
+ id: 'id',
652
+ interview_id: 'interview_id',
653
+ transcript_id: 'transcript_id',
654
+ organisation_id: 'organisation_id',
655
+ suggestion: 'suggestion',
656
+ question: 'question',
657
+ created_at: 'created_at',
658
+ updated_at: 'updated_at',
659
+ created_by: 'created_by',
660
+ updated_by: 'updated_by',
661
+ is_active: 'is_active'
662
+ };
663
+
664
+ exports.Prisma.TranscriptScalarFieldEnum = {
665
+ id: 'id',
666
+ interview_id: 'interview_id',
667
+ suggestion_id: 'suggestion_id',
668
+ intermediate_feedback_id: 'intermediate_feedback_id',
669
+ job_description_id: 'job_description_id',
670
+ interviewer_timestamp: 'interviewer_timestamp',
671
+ candidate_timestamp: 'candidate_timestamp',
672
+ interviewer: 'interviewer',
673
+ candidate: 'candidate',
674
+ order_no: 'order_no',
675
+ created_at: 'created_at',
676
+ updated_at: 'updated_at',
677
+ created_by: 'created_by',
678
+ updated_by: 'updated_by',
679
+ is_active: 'is_active'
680
+ };
681
+
682
+ exports.Prisma.UserScalarFieldEnum = {
683
+ id: 'id',
684
+ email: 'email',
685
+ password: 'password',
686
+ role_id: 'role_id',
687
+ google_id: 'google_id',
688
+ refresh_token: 'refresh_token',
689
+ created_at: 'created_at',
690
+ updated_at: 'updated_at',
691
+ created_by: 'created_by',
692
+ updated_by: 'updated_by',
693
+ is_active: 'is_active',
694
+ is_self_registered: 'is_self_registered',
695
+ permission_id: 'permission_id',
696
+ organisation_id: 'organisation_id',
697
+ profile_created: 'profile_created',
698
+ first_login_status: 'first_login_status',
699
+ name: 'name',
700
+ phone: 'phone',
701
+ description: 'description',
702
+ date_of_birth: 'date_of_birth',
703
+ designation: 'designation',
704
+ location: 'location',
705
+ salary: 'salary',
706
+ work_experience: 'work_experience',
707
+ education: 'education',
708
+ notice_period: 'notice_period',
709
+ gender: 'gender',
710
+ ethnicity: 'ethnicity',
711
+ veteran_status: 'veteran_status',
712
+ disability_status: 'disability_status'
713
+ };
714
+
715
+ exports.Prisma.UserProfileScalarFieldEnum = {
716
+ id: 'id',
717
+ created_at: 'created_at',
718
+ updated_at: 'updated_at',
719
+ name: 'name',
720
+ phone: 'phone',
721
+ description: 'description',
722
+ date_of_birth: 'date_of_birth',
723
+ designation: 'designation',
724
+ is_active: 'is_active',
725
+ user_id: 'user_id',
726
+ work_experience: 'work_experience'
727
+ };
728
+
729
+ exports.Prisma.SortOrder = {
730
+ asc: 'asc',
731
+ desc: 'desc'
732
+ };
733
+
734
+ exports.Prisma.NullableJsonNullValueInput = {
735
+ DbNull: Prisma.DbNull,
736
+ JsonNull: Prisma.JsonNull
737
+ };
738
+
739
+ exports.Prisma.JsonNullValueInput = {
740
+ JsonNull: Prisma.JsonNull
741
+ };
742
+
743
+ exports.Prisma.QueryMode = {
744
+ default: 'default',
745
+ insensitive: 'insensitive'
746
+ };
747
+
748
+ exports.Prisma.NullsOrder = {
749
+ first: 'first',
750
+ last: 'last'
751
+ };
752
+
753
+ exports.Prisma.JsonNullValueFilter = {
754
+ DbNull: Prisma.DbNull,
755
+ JsonNull: Prisma.JsonNull,
756
+ AnyNull: Prisma.AnyNull
757
+ };
758
+ exports.ActionType = exports.$Enums.ActionType = {
759
+ TAKE_INTERVIEW: 'TAKE_INTERVIEW',
760
+ PROVIDE_FEEDBACK: 'PROVIDE_FEEDBACK',
761
+ SCHEDULE_INTERVIEW: 'SCHEDULE_INTERVIEW'
762
+ };
763
+
764
+ exports.ActionStatus = exports.$Enums.ActionStatus = {
765
+ PENDING: 'PENDING',
766
+ COMPLETED: 'COMPLETED',
767
+ CANCELLED: 'CANCELLED'
768
+ };
769
+
770
+ exports.ApplicationStatus = exports.$Enums.ApplicationStatus = {
771
+ PENDING: 'PENDING',
772
+ IN_PROGRESS: 'IN_PROGRESS',
773
+ SHORTLISTED: 'SHORTLISTED',
774
+ REJECTED: 'REJECTED'
775
+ };
776
+
777
+ exports.FitCheckStatus = exports.$Enums.FitCheckStatus = {
778
+ RECOMMENDED: 'RECOMMENDED',
779
+ TO_REVIEW: 'TO_REVIEW',
780
+ NOT_RECOMMENDED: 'NOT_RECOMMENDED'
781
+ };
782
+
783
+ exports.AssessmentStatus = exports.$Enums.AssessmentStatus = {
784
+ SCHEDULED: 'SCHEDULED',
785
+ IN_PROGRESS: 'IN_PROGRESS',
786
+ COMPLETED: 'COMPLETED',
787
+ CANCELLED: 'CANCELLED',
788
+ RESCHEDULED: 'RESCHEDULED',
789
+ NO_SHOW: 'NO_SHOW',
790
+ EVALUATION_PENDING: 'EVALUATION_PENDING',
791
+ EVALUATED: 'EVALUATED'
792
+ };
793
+
794
+ exports.AssessmentCategory = exports.$Enums.AssessmentCategory = {
795
+ MCQ: 'MCQ',
796
+ COMPETENCY: 'COMPETENCY',
797
+ CASE_STUDY: 'CASE_STUDY',
798
+ ASSIGNMENT: 'ASSIGNMENT'
799
+ };
800
+
801
+ exports.JobType = exports.$Enums.JobType = {
802
+ Full_time: 'Full_time',
803
+ Part_time: 'Part_time',
804
+ Contract: 'Contract',
805
+ Internship: 'Internship',
806
+ Temporary: 'Temporary'
807
+ };
808
+
809
+ exports.JDCreationType = exports.$Enums.JDCreationType = {
810
+ Pick_from_Library: 'Pick_from_Library',
811
+ Upload_JD: 'Upload_JD',
812
+ Create_New: 'Create_New',
813
+ Create_From_Profile: 'Create_From_Profile'
814
+ };
815
+
816
+ exports.EvaluationRoundFormat = exports.$Enums.EvaluationRoundFormat = {
817
+ PHONE_CALL: 'PHONE_CALL',
818
+ VIDEO_CALL_AI_ASSISTED: 'VIDEO_CALL_AI_ASSISTED',
819
+ VIDEO_CALL_UNASSISTED: 'VIDEO_CALL_UNASSISTED',
820
+ AI_GENERATED_TEST: 'AI_GENERATED_TEST',
821
+ UPLOADED_TEST: 'UPLOADED_TEST',
822
+ EXTERNAL_PLATFORM: 'EXTERNAL_PLATFORM',
823
+ AI_GENERATED_ASSIGNMENT: 'AI_GENERATED_ASSIGNMENT',
824
+ UPLOADED_ASSIGNMENT: 'UPLOADED_ASSIGNMENT',
825
+ TREADSPACE_AI_ASSISTED: 'TREADSPACE_AI_ASSISTED',
826
+ EXTERNAL_VIDEO_AI_ASSISTED: 'EXTERNAL_VIDEO_AI_ASSISTED',
827
+ EXTERNAL_VIDEO_UNASSISTED: 'EXTERNAL_VIDEO_UNASSISTED'
828
+ };
829
+
830
+ exports.WeightageLevel = exports.$Enums.WeightageLevel = {
831
+ LOW: 'LOW',
832
+ MEDIUM: 'MEDIUM',
833
+ HIGH: 'HIGH'
834
+ };
835
+
836
+ exports.EvaluationType = exports.$Enums.EvaluationType = {
837
+ HUMAN_AI: 'HUMAN_AI',
838
+ AI: 'AI',
839
+ HUMAN: 'HUMAN',
840
+ TREADSPACE_AI_ASSISTED: 'TREADSPACE_AI_ASSISTED',
841
+ EXTERNAL_AI_ASSISTED: 'EXTERNAL_AI_ASSISTED',
842
+ NON_AI_ASSISTED: 'NON_AI_ASSISTED'
843
+ };
844
+
845
+ exports.RoundType = exports.$Enums.RoundType = {
846
+ ASSESSMENT: 'ASSESSMENT',
847
+ INTERVIEW: 'INTERVIEW',
848
+ ASSIGNMENT: 'ASSIGNMENT',
849
+ SCREENING: 'SCREENING'
850
+ };
851
+
852
+ exports.InterviewFeedback = exports.$Enums.InterviewFeedback = {
853
+ STRONG_HIRE: 'STRONG_HIRE',
854
+ HIRE: 'HIRE',
855
+ NO_HIRE: 'NO_HIRE',
856
+ STRONG_NO_HIRE: 'STRONG_NO_HIRE'
857
+ };
858
+
859
+ exports.InterviewStatus = exports.$Enums.InterviewStatus = {
860
+ INTERVIEW_REQUESTED: 'INTERVIEW_REQUESTED',
861
+ SCHEDULED: 'SCHEDULED',
862
+ IN_PROGRESS: 'IN_PROGRESS',
863
+ CANCELLED: 'CANCELLED',
864
+ NO_SHOW: 'NO_SHOW',
865
+ EVALUATION_PENDING: 'EVALUATION_PENDING',
866
+ EVALUATED: 'EVALUATED'
867
+ };
868
+
869
+ exports.InterviewCategory = exports.$Enums.InterviewCategory = {
870
+ SCREENING: 'SCREENING',
871
+ TECHNICAL: 'TECHNICAL',
872
+ BEHAVIORAL: 'BEHAVIORAL',
873
+ CASE_STUDY: 'CASE_STUDY',
874
+ MANAGERIAL: 'MANAGERIAL',
875
+ CULTURAL_FIT: 'CULTURAL_FIT',
876
+ FINAL_DISCUSSION: 'FINAL_DISCUSSION',
877
+ GENERAL: 'GENERAL'
878
+ };
879
+
880
+ exports.JobDescriptionStatus = exports.$Enums.JobDescriptionStatus = {
881
+ CREATED: 'CREATED',
882
+ DRAFT: 'DRAFT',
883
+ ACTIVE: 'ACTIVE',
884
+ DEACTIVATED: 'DEACTIVATED',
885
+ CLOSED: 'CLOSED'
886
+ };
887
+
888
+ exports.OngoingEvaluationStatus = exports.$Enums.OngoingEvaluationStatus = {
889
+ LOCKED: 'LOCKED',
890
+ ACTION_REQUIRED: 'ACTION_REQUIRED',
891
+ IN_PROGRESS: 'IN_PROGRESS',
892
+ EVALUATED: 'EVALUATED',
893
+ CLEARED: 'CLEARED',
894
+ NOT_CLEARED: 'NOT_CLEARED',
895
+ SKIPPED: 'SKIPPED'
896
+ };
897
+
898
+ exports.OngoingEvaluationState = exports.$Enums.OngoingEvaluationState = {
899
+ NOT_STARTED: 'NOT_STARTED',
900
+ IN_PROGRESS: 'IN_PROGRESS',
901
+ CLEARED: 'CLEARED',
902
+ SKIPPED: 'SKIPPED',
903
+ NOT_CLEARED: 'NOT_CLEARED'
904
+ };
905
+
906
+ exports.OngoingEvaluationRoundStatus = exports.$Enums.OngoingEvaluationRoundStatus = {
907
+ NOT_SCHEDULED: 'NOT_SCHEDULED',
908
+ REQUESTED_SCHEDULING: 'REQUESTED_SCHEDULING',
909
+ SCHEDULED: 'SCHEDULED',
910
+ IN_PROGRESS: 'IN_PROGRESS',
911
+ PENDING_EVALUATION: 'PENDING_EVALUATION',
912
+ EVALUATED: 'EVALUATED'
913
+ };
914
+
915
+ exports.OrganisationSize = exports.$Enums.OrganisationSize = {
916
+ ONE_TO_TEN: 'ONE_TO_TEN',
917
+ ELEVEN_TO_FIFTY: 'ELEVEN_TO_FIFTY',
918
+ FIFTY_ONE_TO_TWO_HUNDRED: 'FIFTY_ONE_TO_TWO_HUNDRED',
919
+ TWO_HUNDRED_ONE_TO_FIVE_HUNDRED: 'TWO_HUNDRED_ONE_TO_FIVE_HUNDRED',
920
+ FIVE_HUNDRED_PLUS: 'FIVE_HUNDRED_PLUS'
921
+ };
922
+
923
+ exports.FeedbackType = exports.$Enums.FeedbackType = {
924
+ HUMAN: 'HUMAN',
925
+ AI: 'AI'
926
+ };
927
+
928
+ exports.OverallRecommendation = exports.$Enums.OverallRecommendation = {
929
+ StrongHire: 'StrongHire',
930
+ Hire: 'Hire',
931
+ LeaningHire: 'LeaningHire',
932
+ NoHire: 'NoHire',
933
+ StrongNoHire: 'StrongNoHire'
934
+ };
935
+
936
+ exports.QuestionType = exports.$Enums.QuestionType = {
937
+ MCQ: 'MCQ',
938
+ TRUE_FALSE: 'TRUE_FALSE',
939
+ THEORY: 'THEORY',
940
+ CODING: 'CODING'
941
+ };
942
+
943
+ exports.Difficulty = exports.$Enums.Difficulty = {
944
+ EASY: 'EASY',
945
+ MEDIUM: 'MEDIUM',
946
+ HARD: 'HARD'
947
+ };
948
+
949
+ exports.FirstLoginStatus = exports.$Enums.FirstLoginStatus = {
950
+ PENDING: 'PENDING',
951
+ COMPLETED: 'COMPLETED'
952
+ };
953
+
954
+ exports.Prisma.ModelName = {
955
+ CandidateQuestionResponse: 'CandidateQuestionResponse',
956
+ UserRole: 'UserRole',
957
+ Action: 'Action',
958
+ Application: 'Application',
959
+ Approval: 'Approval',
960
+ Assessment: 'Assessment',
961
+ AssessmentLibrary: 'AssessmentLibrary',
962
+ AssessmentQuestion: 'AssessmentQuestion',
963
+ AssignmentLibrary: 'AssignmentLibrary',
964
+ Budget: 'Budget',
965
+ Calendly: 'Calendly',
966
+ CandidateProfile: 'CandidateProfile',
967
+ ContactUs: 'ContactUs',
968
+ EvaluationPlan: 'EvaluationPlan',
969
+ Feedback: 'Feedback',
970
+ FitCheck: 'FitCheck',
971
+ Google: 'Google',
972
+ IntermediateFeedback: 'IntermediateFeedback',
973
+ Interview: 'Interview',
974
+ InterviewLibrary: 'InterviewLibrary',
975
+ InterviewNotes: 'InterviewNotes',
976
+ JobDescription: 'JobDescription',
977
+ JobDescriptionData: 'JobDescriptionData',
978
+ Message: 'Message',
979
+ OngoingEvaluation: 'OngoingEvaluation',
980
+ Organisation: 'Organisation',
981
+ OverallFeedback: 'OverallFeedback',
982
+ Panelist: 'Panelist',
983
+ Permission: 'Permission',
984
+ Question: 'Question',
985
+ Resume: 'Resume',
986
+ ResumeData: 'ResumeData',
987
+ Suggestion: 'Suggestion',
988
+ Transcript: 'Transcript',
989
+ User: 'User',
990
+ UserProfile: 'UserProfile'
991
+ };
992
+
993
+ /**
994
+ * This is a stub Prisma Client that will error at runtime if called.
995
+ */
996
+ class PrismaClient {
997
+ constructor() {
998
+ return new Proxy(this, {
999
+ get(target, prop) {
1000
+ let message
1001
+ const runtime = getRuntime()
1002
+ if (runtime.isEdge) {
1003
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
1004
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
1005
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
1006
+ `;
1007
+ } else {
1008
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
1009
+ }
1010
+
1011
+ message += `
1012
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
1013
+
1014
+ throw new Error(message)
1015
+ }
1016
+ })
1017
+ }
1018
+ }
1019
+
1020
+ exports.PrismaClient = PrismaClient
1021
+
1022
+ Object.assign(exports, Prisma)