@adaptware/eagles-db 0.5.70 → 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 -174
- package/client/index-browser.js +1 -167
- package/client/index.d.ts +1766 -13680
- package/client/index.js +7 -174
- package/client/libquery_engine-darwin.dylib.node +0 -0
- package/client/package.json +1 -1
- package/client/schema.prisma +19 -266
- package/client/wasm.js +7 -174
- 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/evaluationPlan.prisma +1 -0
- package/prisma/schema/integration.prisma +0 -1
- package/prisma/schema/interview.prisma +29 -27
- package/prisma/schema/organisation.prisma +0 -2
- 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
- package/prisma/schema/payment/billingTransaction.prisma +0 -83
- package/prisma/schema/payment/paymentWebhookEvent.prisma +0 -28
|
Binary file
|
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -1843,7 +1843,6 @@ enum IntegrationProvider {
|
|
|
1843
1843
|
MICROSOFT
|
|
1844
1844
|
ZOOM
|
|
1845
1845
|
CALENDLY
|
|
1846
|
-
RAZORPAY
|
|
1847
1846
|
|
|
1848
1847
|
@@schema("public")
|
|
1849
1848
|
}
|
|
@@ -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(true) @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])
|
|
@@ -3610,8 +3597,6 @@ model Organisation {
|
|
|
3610
3597
|
licensing_ledger_entries LicensingLedgerEntry[]
|
|
3611
3598
|
license_package_organisations LicensePackageOrganisation[]
|
|
3612
3599
|
ai_cost_ledger_entries AiCostLedgerEntry[]
|
|
3613
|
-
billing_transactions BillingTransaction[]
|
|
3614
|
-
payment_webhook_events PaymentWebhookEvent[]
|
|
3615
3600
|
|
|
3616
3601
|
@@index([name])
|
|
3617
3602
|
@@schema("public")
|
|
@@ -3631,119 +3616,6 @@ model OrganisationConfig {
|
|
|
3631
3616
|
@@schema("public")
|
|
3632
3617
|
}
|
|
3633
3618
|
|
|
3634
|
-
// PAYMENT SERVICE boundary — portable payment microservice owns these enums/columns.
|
|
3635
|
-
|
|
3636
|
-
enum BillingTransactionStatus {
|
|
3637
|
-
INITIATED
|
|
3638
|
-
ORDER_CREATED
|
|
3639
|
-
PAYMENT_PENDING
|
|
3640
|
-
SUCCESS
|
|
3641
|
-
FAILED
|
|
3642
|
-
CANCELLED
|
|
3643
|
-
REFUND_PENDING
|
|
3644
|
-
REFUND_FAILED
|
|
3645
|
-
REFUNDED
|
|
3646
|
-
|
|
3647
|
-
@@schema("public")
|
|
3648
|
-
}
|
|
3649
|
-
|
|
3650
|
-
enum BillingTransactionType {
|
|
3651
|
-
PURCHASE
|
|
3652
|
-
TOP_UP
|
|
3653
|
-
REFUND
|
|
3654
|
-
|
|
3655
|
-
@@schema("public")
|
|
3656
|
-
}
|
|
3657
|
-
|
|
3658
|
-
enum BillingTransactionFailureCategory {
|
|
3659
|
-
RAZORPAY_ORDER
|
|
3660
|
-
RAZORPAY_PAYMENT
|
|
3661
|
-
REFUND
|
|
3662
|
-
INTERNAL
|
|
3663
|
-
|
|
3664
|
-
@@schema("public")
|
|
3665
|
-
}
|
|
3666
|
-
|
|
3667
|
-
/// Payment reconciliation state when Treadspace status is FAILED but Razorpay captured payment.
|
|
3668
|
-
enum BillingPaymentMismatchStatus {
|
|
3669
|
-
DETECTED
|
|
3670
|
-
UNFULFILLED
|
|
3671
|
-
|
|
3672
|
-
@@schema("public")
|
|
3673
|
-
}
|
|
3674
|
-
|
|
3675
|
-
/// Financial transaction lifecycle for organisation billing purchases.
|
|
3676
|
-
model BillingTransaction {
|
|
3677
|
-
id String @id @default(uuid())
|
|
3678
|
-
organisation_id String
|
|
3679
|
-
/// Opaque plan/product identity supplied at checkout. Not a catalog FK.
|
|
3680
|
-
purchase_reference String
|
|
3681
|
-
/// Human-readable snapshot captured at checkout for invoices and receipts.
|
|
3682
|
-
purchase_display_name String?
|
|
3683
|
-
transaction_type BillingTransactionType
|
|
3684
|
-
status BillingTransactionStatus @default(INITIATED)
|
|
3685
|
-
failure_category BillingTransactionFailureCategory?
|
|
3686
|
-
/// Human-readable or provider detail (e.g. Razorpay error_description).
|
|
3687
|
-
failure_reason String?
|
|
3688
|
-
amount Int
|
|
3689
|
-
currency String @default("INR")
|
|
3690
|
-
razorpay_order_id String?
|
|
3691
|
-
razorpay_payment_id String? @unique
|
|
3692
|
-
/// Razorpay payment method at capture (card, netbanking, upi, wallet, etc.).
|
|
3693
|
-
payment_method String?
|
|
3694
|
-
razorpay_subscription_id String?
|
|
3695
|
-
razorpay_refund_id String?
|
|
3696
|
-
refund_reason String?
|
|
3697
|
-
refund_amount Int?
|
|
3698
|
-
idempotency_key String @unique
|
|
3699
|
-
invoice_number String? @unique
|
|
3700
|
-
/// Email of the org Admin who initiated checkout (bill-to).
|
|
3701
|
-
purchaser_email String?
|
|
3702
|
-
/// Set when FAILED but Razorpay order/payment is captured (reconciliation path).
|
|
3703
|
-
payment_mismatch_status BillingPaymentMismatchStatus?
|
|
3704
|
-
/// Strict same-intent SUCCESS transaction that fulfilled the purchase (UNFULFILLED only).
|
|
3705
|
-
payment_mismatch_fulfilled_by_id String?
|
|
3706
|
-
created_at DateTime @default(now())
|
|
3707
|
-
updated_at DateTime @updatedAt
|
|
3708
|
-
|
|
3709
|
-
organisation Organisation @relation(fields: [organisation_id], references: [id])
|
|
3710
|
-
|
|
3711
|
-
@@index([organisation_id, status])
|
|
3712
|
-
@@index([purchase_reference])
|
|
3713
|
-
@@index([razorpay_order_id])
|
|
3714
|
-
@@map("billing_transactions")
|
|
3715
|
-
@@schema("public")
|
|
3716
|
-
}
|
|
3717
|
-
|
|
3718
|
-
enum PaymentWebhookEventStatus {
|
|
3719
|
-
RECEIVED
|
|
3720
|
-
PROCESSED
|
|
3721
|
-
FAILED
|
|
3722
|
-
|
|
3723
|
-
@@schema("public")
|
|
3724
|
-
}
|
|
3725
|
-
|
|
3726
|
-
/// Idempotent record of payment provider webhook deliveries.
|
|
3727
|
-
model PaymentWebhookEvent {
|
|
3728
|
-
id String @id @default(uuid())
|
|
3729
|
-
organisation_id String?
|
|
3730
|
-
provider String
|
|
3731
|
-
provider_event_id String
|
|
3732
|
-
event_type String
|
|
3733
|
-
status PaymentWebhookEventStatus @default(RECEIVED)
|
|
3734
|
-
billing_transaction_id String?
|
|
3735
|
-
error_message String?
|
|
3736
|
-
processed_at DateTime?
|
|
3737
|
-
created_at DateTime @default(now())
|
|
3738
|
-
|
|
3739
|
-
organisation Organisation? @relation(fields: [organisation_id], references: [id])
|
|
3740
|
-
|
|
3741
|
-
@@unique([provider, provider_event_id])
|
|
3742
|
-
@@index([status, created_at])
|
|
3743
|
-
@@map("payment_webhook_events")
|
|
3744
|
-
@@schema("public")
|
|
3745
|
-
}
|
|
3746
|
-
|
|
3747
3619
|
model Permission {
|
|
3748
3620
|
id String @id @default(uuid())
|
|
3749
3621
|
permissions String[] @default([])
|
|
@@ -3830,125 +3702,6 @@ model PipelineDistributionAnalyticsDaily {
|
|
|
3830
3702
|
@@schema("analytics")
|
|
3831
3703
|
}
|
|
3832
3704
|
|
|
3833
|
-
enum RiskLevel {
|
|
3834
|
-
LOW
|
|
3835
|
-
MEDIUM
|
|
3836
|
-
HIGH
|
|
3837
|
-
CRITICAL
|
|
3838
|
-
|
|
3839
|
-
@@schema("public")
|
|
3840
|
-
}
|
|
3841
|
-
|
|
3842
|
-
enum AnalysisStatus {
|
|
3843
|
-
QUEUED
|
|
3844
|
-
RUNNING
|
|
3845
|
-
COMPLETED
|
|
3846
|
-
FAILED
|
|
3847
|
-
|
|
3848
|
-
@@schema("public")
|
|
3849
|
-
}
|
|
3850
|
-
|
|
3851
|
-
enum ProctoringEventType {
|
|
3852
|
-
GAZE_DISRUPTION
|
|
3853
|
-
OBJECT_DETECTED
|
|
3854
|
-
FACE_MISSING
|
|
3855
|
-
MULTIPLE_FACES
|
|
3856
|
-
BROWSER_TAB_SWITCH
|
|
3857
|
-
BROWSER_BLUR
|
|
3858
|
-
FULLSCREEN_EXIT
|
|
3859
|
-
|
|
3860
|
-
@@schema("public")
|
|
3861
|
-
}
|
|
3862
|
-
|
|
3863
|
-
enum ProctoringSessionStatus {
|
|
3864
|
-
NOT_STARTED
|
|
3865
|
-
CALIBRATING
|
|
3866
|
-
CALIBRATED
|
|
3867
|
-
PROCESSING
|
|
3868
|
-
COMPLETED
|
|
3869
|
-
FAILED
|
|
3870
|
-
|
|
3871
|
-
@@schema("public")
|
|
3872
|
-
}
|
|
3873
|
-
|
|
3874
|
-
model ProctoringSession {
|
|
3875
|
-
id String @id @default(uuid()) @map("id")
|
|
3876
|
-
interviewId String @unique @map("interview_id")
|
|
3877
|
-
interview Interview @relation(fields: [interviewId], references: [id], onDelete: Cascade)
|
|
3878
|
-
|
|
3879
|
-
// Proctoring Lifecycle & Media
|
|
3880
|
-
status ProctoringSessionStatus @default(NOT_STARTED) @map("status")
|
|
3881
|
-
calibrationFeatures Json? @map("calibration_features")
|
|
3882
|
-
chunkCount Int @default(0) @map("chunk_count")
|
|
3883
|
-
completedChunks Int @default(0) @map("completed_chunks")
|
|
3884
|
-
|
|
3885
|
-
// High-Level Aggregated Metrics for Downstream AI Evaluation
|
|
3886
|
-
overallRisk RiskLevel @default(LOW) @map("overall_risk")
|
|
3887
|
-
integrityScore Float @default(100.0) @map("integrity_score")
|
|
3888
|
-
|
|
3889
|
-
totalDurationSec Float @default(0.0) @map("total_duration_sec")
|
|
3890
|
-
faceDetectedPct Float? @map("face_detected_pct")
|
|
3891
|
-
onScreenGazePct Float? @map("on_screen_gaze_pct")
|
|
3892
|
-
|
|
3893
|
-
// Event Counters
|
|
3894
|
-
totalGazeEvents Int @default(0) @map("total_gaze_events")
|
|
3895
|
-
totalObjectEvents Int @default(0) @map("total_object_events")
|
|
3896
|
-
totalFaceEvents Int @default(0) @map("total_face_events")
|
|
3897
|
-
totalBrowserEvents Int @default(0) @map("total_browser_events")
|
|
3898
|
-
|
|
3899
|
-
createdAt DateTime @default(now()) @map("created_at")
|
|
3900
|
-
updatedAt DateTime @updatedAt @map("updated_at")
|
|
3901
|
-
|
|
3902
|
-
analyses ProctoringAnalysis[]
|
|
3903
|
-
events ProctoringEvent[]
|
|
3904
|
-
|
|
3905
|
-
@@map("proctoring_sessions")
|
|
3906
|
-
@@schema("public")
|
|
3907
|
-
}
|
|
3908
|
-
|
|
3909
|
-
model ProctoringAnalysis {
|
|
3910
|
-
id String @id @default(uuid()) @map("id")
|
|
3911
|
-
sessionId String @map("session_id")
|
|
3912
|
-
session ProctoringSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)
|
|
3913
|
-
|
|
3914
|
-
status AnalysisStatus @default(QUEUED)
|
|
3915
|
-
|
|
3916
|
-
chunkIndex Int @default(0) @map("chunk_index")
|
|
3917
|
-
startTimeSec Float @default(0.0) @map("start_time_sec")
|
|
3918
|
-
endTimeSec Float @default(0.0) @map("end_time_sec")
|
|
3919
|
-
|
|
3920
|
-
videoKey String? @map("video_key")
|
|
3921
|
-
annotatedKey String? @map("annotated_key")
|
|
3922
|
-
|
|
3923
|
-
error String?
|
|
3924
|
-
createdAt DateTime @default(now()) @map("created_at")
|
|
3925
|
-
updatedAt DateTime @updatedAt @map("updated_at")
|
|
3926
|
-
|
|
3927
|
-
@@unique([sessionId, chunkIndex])
|
|
3928
|
-
@@map("proctoring_analyses")
|
|
3929
|
-
@@schema("public")
|
|
3930
|
-
}
|
|
3931
|
-
|
|
3932
|
-
model ProctoringEvent {
|
|
3933
|
-
id String @id @default(uuid()) @map("id")
|
|
3934
|
-
sessionId String @map("session_id")
|
|
3935
|
-
session ProctoringSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)
|
|
3936
|
-
|
|
3937
|
-
eventType ProctoringEventType @map("event_type")
|
|
3938
|
-
timestampSec Float @map("timestamp_sec")
|
|
3939
|
-
timestampStr String @map("timestamp_str")
|
|
3940
|
-
|
|
3941
|
-
risk RiskLevel @default(LOW)
|
|
3942
|
-
metadata Json?
|
|
3943
|
-
|
|
3944
|
-
createdAt DateTime @default(now()) @map("created_at")
|
|
3945
|
-
|
|
3946
|
-
@@index([sessionId, timestampSec])
|
|
3947
|
-
@@index([sessionId, eventType])
|
|
3948
|
-
@@map("proctoring_events")
|
|
3949
|
-
@@schema("public")
|
|
3950
|
-
}
|
|
3951
|
-
|
|
3952
3705
|
enum AsyncOperationStatus {
|
|
3953
3706
|
PENDING
|
|
3954
3707
|
IN_PROGRESS
|