@adaptware/eagles-db 0.5.71 → 0.5.72
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.
- package/client/edge.js +7 -96
- package/client/index-browser.js +1 -89
- package/client/index.d.ts +3 -6738
- package/client/index.js +7 -96
- package/client/libquery_engine-darwin.dylib.node +0 -0
- package/client/package.json +1 -1
- package/client/schema.prisma +19 -151
- package/client/wasm.js +7 -96
- package/package.json +1 -1
- package/prisma/.DS_Store +0 -0
- package/prisma/migrations/20260519120000_migrate_shortlisted_to_selected/migration.sql +2 -0
- package/prisma/schema/.DS_Store +0 -0
- package/prisma/schema/interview.prisma +28 -26
- package/client/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/client/query_engine-windows.dll.node +0 -0
- package/prisma/schema/migrations/20260522120000_ongoing_evaluation_record_kind/migration.sql +0 -25
- package/prisma/schema/migrations/20260523120000_replace_record_kind_with_is_committed/migration.sql +0 -24
- package/prisma/schema/migrations/20260528120000_drop_job_description_recommendation_config/migration.sql +0 -2
- package/prisma/schema/migrations/20260710120000_add_resume_rendered_export_fields/migration.sql +0 -9
- package/prisma/schema/migrations/20260714120000_add_job_description_display_html_document/migration.sql +0 -8
- package/prisma/schema/migrations/20260716120000_add_offer_letters/migration.sql +0 -183
- package/prisma/schema/migrations/20260716140000_offer_schema_refinements/migration.sql +0 -13
- package/prisma/schema/migrations/20260716160000_offer_schema_hardening/migration.sql +0 -95
- package/prisma/schema/migrations/20260716180000_offer_letter_template_config/migration.sql +0 -2
- package/prisma/schema/migrations/20260716190000_add_evaluation_focus_areas/migration.sql +0 -6
- package/prisma/schema/migrations/20260717120000_offer_workflow_approval/migration.sql +0 -30
- package/prisma/schema/migrations/20260720120000_offer_letter_template_is_draft/migration.sql +0 -5
- package/prisma/schema/migrations/20260720140000_offer_status_split/migration.sql +0 -51
- package/prisma/schema/migrations/20260720140001_offer_status_split_backfill/migration.sql +0 -37
- package/prisma/schema/migrations/20260722120000_offer_draft_edited_html/migration.sql +0 -13
- package/prisma/schema/migrations/20260723150000_offer_withdraw_actor_no_show_reason/migration.sql +0 -10
- package/prisma/schema/migrations/20260724120000_open_job_offer_accepted_declined_counts/migration.sql +0 -7
- package/prisma/schema/migrations/20260811120000_add_integration_provider_razorpay/migration.sql +0 -6
- package/prisma/schema/migrations/20260812120000_add_billing_transactions/migration.sql +0 -49
- package/prisma/schema/migrations/20260812130000_drop_billing_transaction_gst_snapshots/migration.sql +0 -3
- package/prisma/schema/migrations/20260812180000_billing_transaction_invoice_number/migration.sql +0 -5
- package/prisma/schema/migrations/20260813120000_payment_webhooks_gst_refunds/migration.sql +0 -79
- package/prisma/schema/migrations/20260813140000_platform_gst_profiles/migration.sql +0 -49
- package/prisma/schema/migrations/20260813150000_rename_gst_profiles/migration.sql +0 -53
- package/prisma/schema/migrations/20260813160000_remove_gst_billing/migration.sql +0 -16
- package/prisma/schema/migrations/20260813170000_billing_licensing_unrecoverable/migration.sql +0 -2
- package/prisma/schema/migrations/20260813180000_billing_transaction_payment_method/migration.sql +0 -2
- package/prisma/schema/migrations/20260814090000_billing_transaction_purchaser_email/migration.sql +0 -2
- package/prisma/schema/migrations/20260816100000_billing_product_organisations/migration.sql +0 -35
- package/prisma/schema/migrations/20260816120000_merge_billing_product_organisations/migration.sql +0 -25
- package/prisma/schema/migrations/20260817120000_billing_payment_mismatch/migration.sql +0 -7
- package/prisma/schema/migrations/20260819120000_billing_product_prices/migration.sql +0 -62
- package/prisma/schema/migrations/20260819140000_billing_exchange_rates/migration.sql +0 -25
- package/prisma/schema/migrations/20260820120000_billing_transaction_failure_category/migration.sql +0 -31
- package/prisma/schema/migrations/20260820130000_backfill_billing_transaction_failure_details/migration.sql +0 -23
- package/prisma/schema/migrations/20260820140000_drop_billing_product_price_overrides/migration.sql +0 -2
- package/prisma/schema/migrations/20260821120000_drop_billing_product_and_mock_licensing/migration.sql +0 -38
- package/prisma/schema/migrations/20260824120000_billing_transaction_purchase_display_name/migration.sql +0 -2
- package/prisma/schema/migrations/20260831120000_user_communication_email/migration.sql +0 -6
- package/prisma/schema/migrations/20260901143000_assessment_question_bank_state/migration.sql +0 -15
- package/prisma/schema/migrations/20260902120000_question_category_two_values/migration.sql +0 -16
- package/prisma/schema/migrations/20260902143000_question_bank_item_key/migration.sql +0 -17
- package/prisma/schema/migrations/20260903120000_split_round_type_assessment/migration.sql +0 -9
- package/prisma/schema/migrations/20260904110000_restore_round_type_assessment_enum/migration.sql +0 -5
- package/prisma/schema/migrations/20260904120000_revert_wrong_split_assessment_round_types/migration.sql +0 -42
- package/prisma/schema/migrations/20260909140000_profile_interview_session/migration.sql +0 -99
- package/prisma/schema/migrations/20260911120000_unify_profile_interview_into_interview/migration.sql +0 -139
- package/prisma/schema/migrations/20260929120000_add_evaluation_type_in_person/migration.sql +0 -2
|
Binary file
|
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -1476,7 +1476,6 @@ enum EvaluationType {
|
|
|
1476
1476
|
TREADSPACE_FULL_AI
|
|
1477
1477
|
EXTERNAL_AI_ASSISTED
|
|
1478
1478
|
NON_AI_ASSISTED
|
|
1479
|
-
IN_PERSON
|
|
1480
1479
|
|
|
1481
1480
|
@@schema("public")
|
|
1482
1481
|
}
|
|
@@ -2002,7 +2001,6 @@ model Interview {
|
|
|
2002
2001
|
recording_url String?
|
|
2003
2002
|
recording_document_id String? @unique
|
|
2004
2003
|
evaluation_type EvaluationType? @default(TREADSPACE_AI_ASSISTED)
|
|
2005
|
-
is_proctored Boolean @default(false) @map("is_proctored")
|
|
2006
2004
|
ai_assistance_mode AiAssistanceMode? @default(ASSISTED)
|
|
2007
2005
|
interview_status InterviewStatus @default(SCHEDULED)
|
|
2008
2006
|
interview_platform InterviewPlatform @default(TREADSPACE)
|
|
@@ -2033,47 +2031,36 @@ model Interview {
|
|
|
2033
2031
|
/// When final human feedback was submitted.
|
|
2034
2032
|
evaluated_at DateTime?
|
|
2035
2033
|
|
|
2036
|
-
/// Candidate Acceptance & DPDP Consent
|
|
2037
|
-
candidate_status String? @default("INVITED")
|
|
2038
|
-
dpdp_consent_given Boolean @default(false)
|
|
2039
|
-
dpdp_consent_given_at DateTime?
|
|
2040
|
-
candidate_responded_at DateTime?
|
|
2041
|
-
decline_reason String?
|
|
2042
|
-
|
|
2043
2034
|
/// Self-scheduling
|
|
2044
|
-
reschedule_count Int
|
|
2035
|
+
reschedule_count Int @default(0)
|
|
2045
2036
|
last_rescheduled_at DateTime?
|
|
2046
2037
|
first_assigned_at DateTime?
|
|
2047
2038
|
/// True while the candidate is waiting on recruiter action (typically a
|
|
2048
2039
|
/// reassign) after they submitted alternate slots via "None match" /
|
|
2049
2040
|
/// "Suggest times". Cleared whenever the recruiter routes a fresh
|
|
2050
2041
|
/// request via `upsertInterviewRequestRecord`.
|
|
2051
|
-
awaiting_recruiter_action Boolean
|
|
2042
|
+
awaiting_recruiter_action Boolean @default(false)
|
|
2052
2043
|
/// Audit fields
|
|
2053
|
-
created_at DateTime
|
|
2054
|
-
updated_at DateTime
|
|
2044
|
+
created_at DateTime @default(now())
|
|
2045
|
+
updated_at DateTime @updatedAt
|
|
2055
2046
|
created_by String
|
|
2056
2047
|
updated_by String
|
|
2057
|
-
is_active Boolean
|
|
2058
|
-
|
|
2059
|
-
//interview proctoring
|
|
2060
|
-
proctoringSession ProctoringSession?
|
|
2061
|
-
|
|
2048
|
+
is_active Boolean @default(true)
|
|
2062
2049
|
// Relations
|
|
2063
|
-
candidate
|
|
2064
|
-
interviewer
|
|
2065
|
-
organisation
|
|
2066
|
-
recording_document
|
|
2067
|
-
job_description
|
|
2068
|
-
resume
|
|
2069
|
-
evaluation_plan
|
|
2070
|
-
application
|
|
2071
|
-
ongoing_evaluation
|
|
2072
|
-
transcripts
|
|
2073
|
-
suggestions
|
|
2074
|
-
interviewNotes
|
|
2075
|
-
liveAnalysis
|
|
2076
|
-
zoom_meeting
|
|
2050
|
+
candidate User? @relation("CandidateInterviews", fields: [candidate_id], references: [id], onDelete: SetNull)
|
|
2051
|
+
interviewer User? @relation("InterviewerInterviews", fields: [interviewer_id], references: [id], onDelete: SetNull)
|
|
2052
|
+
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2053
|
+
recording_document Document? @relation(fields: [recording_document_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2054
|
+
job_description JobDescription? @relation(fields: [job_description_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2055
|
+
resume Resume @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
2056
|
+
evaluation_plan EvaluationPlan? @relation(fields: [evaluation_plan_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2057
|
+
application Application? @relation(fields: [application_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2058
|
+
ongoing_evaluation OngoingEvaluation?
|
|
2059
|
+
transcripts Transcript[]
|
|
2060
|
+
suggestions Suggestion[]
|
|
2061
|
+
interviewNotes InterviewNotes[]
|
|
2062
|
+
liveAnalysis LiveAnalysis[]
|
|
2063
|
+
zoom_meeting ZoomMeeting?
|
|
2077
2064
|
|
|
2078
2065
|
// Indexes
|
|
2079
2066
|
@@index([candidate_id])
|
|
@@ -3715,125 +3702,6 @@ model PipelineDistributionAnalyticsDaily {
|
|
|
3715
3702
|
@@schema("analytics")
|
|
3716
3703
|
}
|
|
3717
3704
|
|
|
3718
|
-
enum RiskLevel {
|
|
3719
|
-
LOW
|
|
3720
|
-
MEDIUM
|
|
3721
|
-
HIGH
|
|
3722
|
-
CRITICAL
|
|
3723
|
-
|
|
3724
|
-
@@schema("public")
|
|
3725
|
-
}
|
|
3726
|
-
|
|
3727
|
-
enum AnalysisStatus {
|
|
3728
|
-
QUEUED
|
|
3729
|
-
RUNNING
|
|
3730
|
-
COMPLETED
|
|
3731
|
-
FAILED
|
|
3732
|
-
|
|
3733
|
-
@@schema("public")
|
|
3734
|
-
}
|
|
3735
|
-
|
|
3736
|
-
enum ProctoringEventType {
|
|
3737
|
-
GAZE_DISRUPTION
|
|
3738
|
-
OBJECT_DETECTED
|
|
3739
|
-
FACE_MISSING
|
|
3740
|
-
MULTIPLE_FACES
|
|
3741
|
-
BROWSER_TAB_SWITCH
|
|
3742
|
-
BROWSER_BLUR
|
|
3743
|
-
FULLSCREEN_EXIT
|
|
3744
|
-
|
|
3745
|
-
@@schema("public")
|
|
3746
|
-
}
|
|
3747
|
-
|
|
3748
|
-
enum ProctoringSessionStatus {
|
|
3749
|
-
NOT_STARTED
|
|
3750
|
-
CALIBRATING
|
|
3751
|
-
CALIBRATED
|
|
3752
|
-
PROCESSING
|
|
3753
|
-
COMPLETED
|
|
3754
|
-
FAILED
|
|
3755
|
-
|
|
3756
|
-
@@schema("public")
|
|
3757
|
-
}
|
|
3758
|
-
|
|
3759
|
-
model ProctoringSession {
|
|
3760
|
-
id String @id @default(uuid()) @map("id")
|
|
3761
|
-
interviewId String @unique @map("interview_id")
|
|
3762
|
-
interview Interview @relation(fields: [interviewId], references: [id], onDelete: Cascade)
|
|
3763
|
-
|
|
3764
|
-
// Proctoring Lifecycle & Media
|
|
3765
|
-
status ProctoringSessionStatus @default(NOT_STARTED) @map("status")
|
|
3766
|
-
calibrationFeatures Json? @map("calibration_features")
|
|
3767
|
-
chunkCount Int @default(0) @map("chunk_count")
|
|
3768
|
-
completedChunks Int @default(0) @map("completed_chunks")
|
|
3769
|
-
|
|
3770
|
-
// High-Level Aggregated Metrics for Downstream AI Evaluation
|
|
3771
|
-
overallRisk RiskLevel @default(LOW) @map("overall_risk")
|
|
3772
|
-
integrityScore Float @default(100.0) @map("integrity_score")
|
|
3773
|
-
|
|
3774
|
-
totalDurationSec Float @default(0.0) @map("total_duration_sec")
|
|
3775
|
-
faceDetectedPct Float? @map("face_detected_pct")
|
|
3776
|
-
onScreenGazePct Float? @map("on_screen_gaze_pct")
|
|
3777
|
-
|
|
3778
|
-
// Event Counters
|
|
3779
|
-
totalGazeEvents Int @default(0) @map("total_gaze_events")
|
|
3780
|
-
totalObjectEvents Int @default(0) @map("total_object_events")
|
|
3781
|
-
totalFaceEvents Int @default(0) @map("total_face_events")
|
|
3782
|
-
totalBrowserEvents Int @default(0) @map("total_browser_events")
|
|
3783
|
-
|
|
3784
|
-
createdAt DateTime @default(now()) @map("created_at")
|
|
3785
|
-
updatedAt DateTime @updatedAt @map("updated_at")
|
|
3786
|
-
|
|
3787
|
-
analyses ProctoringAnalysis[]
|
|
3788
|
-
events ProctoringEvent[]
|
|
3789
|
-
|
|
3790
|
-
@@map("proctoring_sessions")
|
|
3791
|
-
@@schema("public")
|
|
3792
|
-
}
|
|
3793
|
-
|
|
3794
|
-
model ProctoringAnalysis {
|
|
3795
|
-
id String @id @default(uuid()) @map("id")
|
|
3796
|
-
sessionId String @map("session_id")
|
|
3797
|
-
session ProctoringSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)
|
|
3798
|
-
|
|
3799
|
-
status AnalysisStatus @default(QUEUED)
|
|
3800
|
-
|
|
3801
|
-
chunkIndex Int @default(0) @map("chunk_index")
|
|
3802
|
-
startTimeSec Float @default(0.0) @map("start_time_sec")
|
|
3803
|
-
endTimeSec Float @default(0.0) @map("end_time_sec")
|
|
3804
|
-
|
|
3805
|
-
videoKey String? @map("video_key")
|
|
3806
|
-
annotatedKey String? @map("annotated_key")
|
|
3807
|
-
|
|
3808
|
-
error String?
|
|
3809
|
-
createdAt DateTime @default(now()) @map("created_at")
|
|
3810
|
-
updatedAt DateTime @updatedAt @map("updated_at")
|
|
3811
|
-
|
|
3812
|
-
@@unique([sessionId, chunkIndex])
|
|
3813
|
-
@@map("proctoring_analyses")
|
|
3814
|
-
@@schema("public")
|
|
3815
|
-
}
|
|
3816
|
-
|
|
3817
|
-
model ProctoringEvent {
|
|
3818
|
-
id String @id @default(uuid()) @map("id")
|
|
3819
|
-
sessionId String @map("session_id")
|
|
3820
|
-
session ProctoringSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)
|
|
3821
|
-
|
|
3822
|
-
eventType ProctoringEventType @map("event_type")
|
|
3823
|
-
timestampSec Float @map("timestamp_sec")
|
|
3824
|
-
timestampStr String @map("timestamp_str")
|
|
3825
|
-
|
|
3826
|
-
risk RiskLevel @default(LOW)
|
|
3827
|
-
metadata Json?
|
|
3828
|
-
|
|
3829
|
-
createdAt DateTime @default(now()) @map("created_at")
|
|
3830
|
-
|
|
3831
|
-
@@index([sessionId, timestampSec])
|
|
3832
|
-
@@index([sessionId, eventType])
|
|
3833
|
-
@@map("proctoring_events")
|
|
3834
|
-
@@schema("public")
|
|
3835
|
-
}
|
|
3836
|
-
|
|
3837
3705
|
enum AsyncOperationStatus {
|
|
3838
3706
|
PENDING
|
|
3839
3707
|
IN_PROGRESS
|