@adaptware/eagles-db 0.6.19 → 0.6.20

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 (69) hide show
  1. package/client/edge.js +11 -9
  2. package/client/index-browser.js +6 -4
  3. package/client/index.d.ts +516 -115
  4. package/client/index.js +11 -9
  5. package/client/package.json +1 -1
  6. package/client/schema.prisma +8 -2
  7. package/client/wasm.js +11 -9
  8. package/package.json +1 -1
  9. package/prisma/.DS_Store +0 -0
  10. package/prisma/schema/.DS_Store +0 -0
  11. package/prisma/schema/consent.prisma +5 -1
  12. package/prisma/schema/interview.prisma +0 -1
  13. package/prisma/schema/migrations/.DS_Store +0 -0
  14. package/prisma/schema/migrations/20260826160000_add_application_fit_check_report_document/.DS_Store +0 -0
  15. package/prisma/schema/ongoingEvaluation.prisma +50 -49
  16. package/prisma/schema/payment/billingTransaction.prisma +1 -0
  17. package/prisma/schema/payment/invoice.prisma +1 -0
  18. package/client/libquery_engine-darwin.dylib.node +0 -0
  19. package/client/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  20. package/client/query_engine-windows.dll.node +0 -0
  21. package/prisma/schema/migrations/20260522120000_ongoing_evaluation_record_kind/migration.sql +0 -25
  22. package/prisma/schema/migrations/20260523120000_replace_record_kind_with_is_committed/migration.sql +0 -24
  23. package/prisma/schema/migrations/20260528120000_drop_job_description_recommendation_config/migration.sql +0 -2
  24. package/prisma/schema/migrations/20260710120000_add_resume_rendered_export_fields/migration.sql +0 -9
  25. package/prisma/schema/migrations/20260714120000_add_job_description_display_html_document/migration.sql +0 -8
  26. package/prisma/schema/migrations/20260716120000_add_offer_letters/migration.sql +0 -183
  27. package/prisma/schema/migrations/20260716140000_offer_schema_refinements/migration.sql +0 -13
  28. package/prisma/schema/migrations/20260716160000_offer_schema_hardening/migration.sql +0 -95
  29. package/prisma/schema/migrations/20260716180000_offer_letter_template_config/migration.sql +0 -2
  30. package/prisma/schema/migrations/20260716190000_add_evaluation_focus_areas/migration.sql +0 -6
  31. package/prisma/schema/migrations/20260717120000_offer_workflow_approval/migration.sql +0 -30
  32. package/prisma/schema/migrations/20260720120000_offer_letter_template_is_draft/migration.sql +0 -5
  33. package/prisma/schema/migrations/20260720140000_offer_status_split/migration.sql +0 -51
  34. package/prisma/schema/migrations/20260720140001_offer_status_split_backfill/migration.sql +0 -37
  35. package/prisma/schema/migrations/20260722120000_offer_draft_edited_html/migration.sql +0 -13
  36. package/prisma/schema/migrations/20260723150000_offer_withdraw_actor_no_show_reason/migration.sql +0 -10
  37. package/prisma/schema/migrations/20260724120000_open_job_offer_accepted_declined_counts/migration.sql +0 -7
  38. package/prisma/schema/migrations/20260811120000_add_integration_provider_razorpay/migration.sql +0 -6
  39. package/prisma/schema/migrations/20260812120000_add_billing_transactions/migration.sql +0 -49
  40. package/prisma/schema/migrations/20260812130000_drop_billing_transaction_gst_snapshots/migration.sql +0 -3
  41. package/prisma/schema/migrations/20260812180000_billing_transaction_invoice_number/migration.sql +0 -5
  42. package/prisma/schema/migrations/20260813120000_payment_webhooks_gst_refunds/migration.sql +0 -79
  43. package/prisma/schema/migrations/20260813140000_platform_gst_profiles/migration.sql +0 -49
  44. package/prisma/schema/migrations/20260813150000_rename_gst_profiles/migration.sql +0 -53
  45. package/prisma/schema/migrations/20260813160000_remove_gst_billing/migration.sql +0 -16
  46. package/prisma/schema/migrations/20260813170000_billing_licensing_unrecoverable/migration.sql +0 -2
  47. package/prisma/schema/migrations/20260813180000_billing_transaction_payment_method/migration.sql +0 -2
  48. package/prisma/schema/migrations/20260814090000_billing_transaction_purchaser_email/migration.sql +0 -2
  49. package/prisma/schema/migrations/20260816100000_billing_product_organisations/migration.sql +0 -35
  50. package/prisma/schema/migrations/20260816120000_merge_billing_product_organisations/migration.sql +0 -25
  51. package/prisma/schema/migrations/20260817120000_billing_payment_mismatch/migration.sql +0 -7
  52. package/prisma/schema/migrations/20260819120000_billing_product_prices/migration.sql +0 -62
  53. package/prisma/schema/migrations/20260819140000_billing_exchange_rates/migration.sql +0 -25
  54. package/prisma/schema/migrations/20260820120000_billing_transaction_failure_category/migration.sql +0 -31
  55. package/prisma/schema/migrations/20260820130000_backfill_billing_transaction_failure_details/migration.sql +0 -23
  56. package/prisma/schema/migrations/20260820140000_drop_billing_product_price_overrides/migration.sql +0 -2
  57. package/prisma/schema/migrations/20260821120000_drop_billing_product_and_mock_licensing/migration.sql +0 -38
  58. package/prisma/schema/migrations/20260824120000_billing_transaction_purchase_display_name/migration.sql +0 -2
  59. package/prisma/schema/migrations/20260831120000_user_communication_email/migration.sql +0 -6
  60. package/prisma/schema/migrations/20260901143000_assessment_question_bank_state/migration.sql +0 -15
  61. package/prisma/schema/migrations/20260902120000_question_category_two_values/migration.sql +0 -16
  62. package/prisma/schema/migrations/20260902143000_question_bank_item_key/migration.sql +0 -17
  63. package/prisma/schema/migrations/20260903120000_split_round_type_assessment/migration.sql +0 -9
  64. package/prisma/schema/migrations/20260904110000_restore_round_type_assessment_enum/migration.sql +0 -5
  65. package/prisma/schema/migrations/20260904120000_revert_wrong_split_assessment_round_types/migration.sql +0 -42
  66. package/prisma/schema/migrations/20260909140000_profile_interview_session/migration.sql +0 -99
  67. package/prisma/schema/migrations/20260911120000_unify_profile_interview_into_interview/migration.sql +0 -139
  68. package/prisma/schema/migrations/20260929120000_add_evaluation_type_in_person/migration.sql +0 -2
  69. package/prisma/schema/migrations/20261015130000_interview_whiteboard_scene/migration.sql +0 -2
package/client/index.d.ts CHANGED
@@ -928,7 +928,8 @@ export type CompetencyCategory = (typeof CompetencyCategory)[keyof typeof Compet
928
928
  export const ConsentType: {
929
929
  PLATFORM_TERMS: 'PLATFORM_TERMS',
930
930
  INTERVIEW_SESSION: 'INTERVIEW_SESSION',
931
- PRIVACY_POLICY: 'PRIVACY_POLICY'
931
+ PRIVACY_POLICY: 'PRIVACY_POLICY',
932
+ EVALUATION_CONSENT: 'EVALUATION_CONSENT'
932
933
  };
933
934
 
934
935
  export type ConsentType = (typeof ConsentType)[keyof typeof ConsentType]
@@ -1493,7 +1494,8 @@ export type BillingTransactionStatus = (typeof BillingTransactionStatus)[keyof t
1493
1494
  export const BillingTransactionType: {
1494
1495
  PURCHASE: 'PURCHASE',
1495
1496
  TOP_UP: 'TOP_UP',
1496
- REFUND: 'REFUND'
1497
+ REFUND: 'REFUND',
1498
+ SUBSCRIPTION: 'SUBSCRIPTION'
1497
1499
  };
1498
1500
 
1499
1501
  export type BillingTransactionType = (typeof BillingTransactionType)[keyof typeof BillingTransactionType]
@@ -1519,7 +1521,8 @@ export type BillingPaymentMismatchStatus = (typeof BillingPaymentMismatchStatus)
1519
1521
 
1520
1522
 
1521
1523
  export const InvoiceKind: {
1522
- PACKAGE: 'PACKAGE'
1524
+ PACKAGE: 'PACKAGE',
1525
+ SUBSCRIPTION: 'SUBSCRIPTION'
1523
1526
  };
1524
1527
 
1525
1528
  export type InvoiceKind = (typeof InvoiceKind)[keyof typeof InvoiceKind]
@@ -14415,6 +14418,37 @@ export namespace Prisma {
14415
14418
  }
14416
14419
 
14417
14420
 
14421
+ /**
14422
+ * Count Type OngoingEvaluationCountOutputType
14423
+ */
14424
+
14425
+ export type OngoingEvaluationCountOutputType = {
14426
+ consent_records: number
14427
+ }
14428
+
14429
+ export type OngoingEvaluationCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14430
+ consent_records?: boolean | OngoingEvaluationCountOutputTypeCountConsent_recordsArgs
14431
+ }
14432
+
14433
+ // Custom InputTypes
14434
+ /**
14435
+ * OngoingEvaluationCountOutputType without action
14436
+ */
14437
+ export type OngoingEvaluationCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14438
+ /**
14439
+ * Select specific fields to fetch from the OngoingEvaluationCountOutputType
14440
+ */
14441
+ select?: OngoingEvaluationCountOutputTypeSelect<ExtArgs> | null
14442
+ }
14443
+
14444
+ /**
14445
+ * OngoingEvaluationCountOutputType without action
14446
+ */
14447
+ export type OngoingEvaluationCountOutputTypeCountConsent_recordsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14448
+ where?: ConsentRecordWhereInput
14449
+ }
14450
+
14451
+
14418
14452
  /**
14419
14453
  * Count Type OrganisationCountOutputType
14420
14454
  */
@@ -53225,6 +53259,7 @@ export namespace Prisma {
53225
53259
  created_at?: boolean
53226
53260
  user?: boolean | UserDefaultArgs<ExtArgs>
53227
53261
  consent_document_version?: boolean | ConsentDocumentVersionDefaultArgs<ExtArgs>
53262
+ evaluation?: boolean | ConsentRecord$evaluationArgs<ExtArgs>
53228
53263
  }, ExtArgs["result"]["consentRecord"]>
53229
53264
 
53230
53265
  export type ConsentRecordSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -53243,6 +53278,7 @@ export namespace Prisma {
53243
53278
  created_at?: boolean
53244
53279
  user?: boolean | UserDefaultArgs<ExtArgs>
53245
53280
  consent_document_version?: boolean | ConsentDocumentVersionDefaultArgs<ExtArgs>
53281
+ evaluation?: boolean | ConsentRecord$evaluationArgs<ExtArgs>
53246
53282
  }, ExtArgs["result"]["consentRecord"]>
53247
53283
 
53248
53284
  export type ConsentRecordSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -53261,6 +53297,7 @@ export namespace Prisma {
53261
53297
  created_at?: boolean
53262
53298
  user?: boolean | UserDefaultArgs<ExtArgs>
53263
53299
  consent_document_version?: boolean | ConsentDocumentVersionDefaultArgs<ExtArgs>
53300
+ evaluation?: boolean | ConsentRecord$evaluationArgs<ExtArgs>
53264
53301
  }, ExtArgs["result"]["consentRecord"]>
53265
53302
 
53266
53303
  export type ConsentRecordSelectScalar = {
@@ -53283,14 +53320,17 @@ export namespace Prisma {
53283
53320
  export type ConsentRecordInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53284
53321
  user?: boolean | UserDefaultArgs<ExtArgs>
53285
53322
  consent_document_version?: boolean | ConsentDocumentVersionDefaultArgs<ExtArgs>
53323
+ evaluation?: boolean | ConsentRecord$evaluationArgs<ExtArgs>
53286
53324
  }
53287
53325
  export type ConsentRecordIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53288
53326
  user?: boolean | UserDefaultArgs<ExtArgs>
53289
53327
  consent_document_version?: boolean | ConsentDocumentVersionDefaultArgs<ExtArgs>
53328
+ evaluation?: boolean | ConsentRecord$evaluationArgs<ExtArgs>
53290
53329
  }
53291
53330
  export type ConsentRecordIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
53292
53331
  user?: boolean | UserDefaultArgs<ExtArgs>
53293
53332
  consent_document_version?: boolean | ConsentDocumentVersionDefaultArgs<ExtArgs>
53333
+ evaluation?: boolean | ConsentRecord$evaluationArgs<ExtArgs>
53294
53334
  }
53295
53335
 
53296
53336
  export type $ConsentRecordPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -53298,6 +53338,7 @@ export namespace Prisma {
53298
53338
  objects: {
53299
53339
  user: Prisma.$UserPayload<ExtArgs>
53300
53340
  consent_document_version: Prisma.$ConsentDocumentVersionPayload<ExtArgs>
53341
+ evaluation: Prisma.$OngoingEvaluationPayload<ExtArgs> | null
53301
53342
  }
53302
53343
  scalars: $Extensions.GetPayloadResult<{
53303
53344
  id: string
@@ -53308,6 +53349,9 @@ export namespace Prisma {
53308
53349
  selections: Prisma.JsonValue
53309
53350
  reference_type: $Enums.ConsentReferenceType | null
53310
53351
  reference_id: string | null
53352
+ /**
53353
+ * OngoingEvaluation.id. Reference columns stay until the next production push.
53354
+ */
53311
53355
  evaluation_id: string | null
53312
53356
  ip_address: string | null
53313
53357
  user_agent: string | null
@@ -53709,6 +53753,7 @@ export namespace Prisma {
53709
53753
  readonly [Symbol.toStringTag]: "PrismaPromise"
53710
53754
  user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
53711
53755
  consent_document_version<T extends ConsentDocumentVersionDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ConsentDocumentVersionDefaultArgs<ExtArgs>>): Prisma__ConsentDocumentVersionClient<$Result.GetResult<Prisma.$ConsentDocumentVersionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
53756
+ evaluation<T extends ConsentRecord$evaluationArgs<ExtArgs> = {}>(args?: Subset<T, ConsentRecord$evaluationArgs<ExtArgs>>): Prisma__OngoingEvaluationClient<$Result.GetResult<Prisma.$OngoingEvaluationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
53712
53757
  /**
53713
53758
  * Attaches callbacks for the resolution and/or rejection of the Promise.
53714
53759
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -54146,6 +54191,25 @@ export namespace Prisma {
54146
54191
  limit?: number
54147
54192
  }
54148
54193
 
54194
+ /**
54195
+ * ConsentRecord.evaluation
54196
+ */
54197
+ export type ConsentRecord$evaluationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
54198
+ /**
54199
+ * Select specific fields to fetch from the OngoingEvaluation
54200
+ */
54201
+ select?: OngoingEvaluationSelect<ExtArgs> | null
54202
+ /**
54203
+ * Omit specific fields from the OngoingEvaluation
54204
+ */
54205
+ omit?: OngoingEvaluationOmit<ExtArgs> | null
54206
+ /**
54207
+ * Choose, which related nodes to fetch as well
54208
+ */
54209
+ include?: OngoingEvaluationInclude<ExtArgs> | null
54210
+ where?: OngoingEvaluationWhereInput
54211
+ }
54212
+
54149
54213
  /**
54150
54214
  * ConsentRecord without action
54151
54215
  */
@@ -76133,7 +76197,6 @@ export namespace Prisma {
76133
76197
  evaluated_at: Date | null
76134
76198
  candidate_status: string | null
76135
76199
  candidate_responded_at: Date | null
76136
- decline_reason: string | null
76137
76200
  consent_epoch_at: Date | null
76138
76201
  reschedule_count: number | null
76139
76202
  last_rescheduled_at: Date | null
@@ -76183,7 +76246,6 @@ export namespace Prisma {
76183
76246
  evaluated_at: Date | null
76184
76247
  candidate_status: string | null
76185
76248
  candidate_responded_at: Date | null
76186
- decline_reason: string | null
76187
76249
  consent_epoch_at: Date | null
76188
76250
  reschedule_count: number | null
76189
76251
  last_rescheduled_at: Date | null
@@ -76244,7 +76306,6 @@ export namespace Prisma {
76244
76306
  evaluated_at: number
76245
76307
  candidate_status: number
76246
76308
  candidate_responded_at: number
76247
- decline_reason: number
76248
76309
  consent_epoch_at: number
76249
76310
  reschedule_count: number
76250
76311
  last_rescheduled_at: number
@@ -76306,7 +76367,6 @@ export namespace Prisma {
76306
76367
  evaluated_at?: true
76307
76368
  candidate_status?: true
76308
76369
  candidate_responded_at?: true
76309
- decline_reason?: true
76310
76370
  consent_epoch_at?: true
76311
76371
  reschedule_count?: true
76312
76372
  last_rescheduled_at?: true
@@ -76356,7 +76416,6 @@ export namespace Prisma {
76356
76416
  evaluated_at?: true
76357
76417
  candidate_status?: true
76358
76418
  candidate_responded_at?: true
76359
- decline_reason?: true
76360
76419
  consent_epoch_at?: true
76361
76420
  reschedule_count?: true
76362
76421
  last_rescheduled_at?: true
@@ -76417,7 +76476,6 @@ export namespace Prisma {
76417
76476
  evaluated_at?: true
76418
76477
  candidate_status?: true
76419
76478
  candidate_responded_at?: true
76420
- decline_reason?: true
76421
76479
  consent_epoch_at?: true
76422
76480
  reschedule_count?: true
76423
76481
  last_rescheduled_at?: true
@@ -76565,7 +76623,6 @@ export namespace Prisma {
76565
76623
  evaluated_at: Date | null
76566
76624
  candidate_status: string | null
76567
76625
  candidate_responded_at: Date | null
76568
- decline_reason: string | null
76569
76626
  consent_epoch_at: Date
76570
76627
  reschedule_count: number
76571
76628
  last_rescheduled_at: Date | null
@@ -76645,7 +76702,6 @@ export namespace Prisma {
76645
76702
  evaluated_at?: boolean
76646
76703
  candidate_status?: boolean
76647
76704
  candidate_responded_at?: boolean
76648
- decline_reason?: boolean
76649
76705
  consent_epoch_at?: boolean
76650
76706
  reschedule_count?: boolean
76651
76707
  last_rescheduled_at?: boolean
@@ -76722,7 +76778,6 @@ export namespace Prisma {
76722
76778
  evaluated_at?: boolean
76723
76779
  candidate_status?: boolean
76724
76780
  candidate_responded_at?: boolean
76725
- decline_reason?: boolean
76726
76781
  consent_epoch_at?: boolean
76727
76782
  reschedule_count?: boolean
76728
76783
  last_rescheduled_at?: boolean
@@ -76791,7 +76846,6 @@ export namespace Prisma {
76791
76846
  evaluated_at?: boolean
76792
76847
  candidate_status?: boolean
76793
76848
  candidate_responded_at?: boolean
76794
- decline_reason?: boolean
76795
76849
  consent_epoch_at?: boolean
76796
76850
  reschedule_count?: boolean
76797
76851
  last_rescheduled_at?: boolean
@@ -76860,7 +76914,6 @@ export namespace Prisma {
76860
76914
  evaluated_at?: boolean
76861
76915
  candidate_status?: boolean
76862
76916
  candidate_responded_at?: boolean
76863
- decline_reason?: boolean
76864
76917
  consent_epoch_at?: boolean
76865
76918
  reschedule_count?: boolean
76866
76919
  last_rescheduled_at?: boolean
@@ -76873,7 +76926,7 @@ export namespace Prisma {
76873
76926
  is_active?: boolean
76874
76927
  }
76875
76928
 
76876
- export type InterviewOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "organisation_id" | "candidate_id" | "interviewer_id" | "evaluation_plan_id" | "application_id" | "resume_id" | "job_description_id" | "calendar_event_id" | "calendar_events" | "candidate_initiated" | "candidate_interview_metadata" | "room_name" | "scheduled_start_time" | "scheduled_end_time" | "actual_start_time" | "actual_end_time" | "duration" | "recording_url" | "recording_document_id" | "evaluation_type" | "is_proctored" | "ai_assistance_mode" | "interview_status" | "interview_platform" | "ai_feedback" | "human_feedback" | "interview_preparation" | "whiteboard_scene" | "final_feedback" | "interview_analysis_ranges" | "interview_flow_summary" | "transcript_summary" | "body_language_appropriate" | "tone_appropriate" | "ai_context" | "ai_feedback_generated_at" | "beta_ai_feedback" | "beta_section_feedback" | "beta_final_feedback" | "beta_interview_flow_summary" | "beta_ai_context" | "beta_ai_feedback_generated_at" | "human_feedback_updated_at" | "evaluated_at" | "candidate_status" | "candidate_responded_at" | "decline_reason" | "consent_epoch_at" | "reschedule_count" | "last_rescheduled_at" | "first_assigned_at" | "awaiting_recruiter_action" | "created_at" | "updated_at" | "created_by" | "updated_by" | "is_active", ExtArgs["result"]["interview"]>
76929
+ export type InterviewOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "organisation_id" | "candidate_id" | "interviewer_id" | "evaluation_plan_id" | "application_id" | "resume_id" | "job_description_id" | "calendar_event_id" | "calendar_events" | "candidate_initiated" | "candidate_interview_metadata" | "room_name" | "scheduled_start_time" | "scheduled_end_time" | "actual_start_time" | "actual_end_time" | "duration" | "recording_url" | "recording_document_id" | "evaluation_type" | "is_proctored" | "ai_assistance_mode" | "interview_status" | "interview_platform" | "ai_feedback" | "human_feedback" | "interview_preparation" | "whiteboard_scene" | "final_feedback" | "interview_analysis_ranges" | "interview_flow_summary" | "transcript_summary" | "body_language_appropriate" | "tone_appropriate" | "ai_context" | "ai_feedback_generated_at" | "beta_ai_feedback" | "beta_section_feedback" | "beta_final_feedback" | "beta_interview_flow_summary" | "beta_ai_context" | "beta_ai_feedback_generated_at" | "human_feedback_updated_at" | "evaluated_at" | "candidate_status" | "candidate_responded_at" | "consent_epoch_at" | "reschedule_count" | "last_rescheduled_at" | "first_assigned_at" | "awaiting_recruiter_action" | "created_at" | "updated_at" | "created_by" | "updated_by" | "is_active", ExtArgs["result"]["interview"]>
76877
76930
  export type InterviewInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
76878
76931
  proctoringSession?: boolean | Interview$proctoringSessionArgs<ExtArgs>
76879
76932
  candidate?: boolean | Interview$candidateArgs<ExtArgs>
@@ -77026,7 +77079,6 @@ export namespace Prisma {
77026
77079
  */
77027
77080
  candidate_status: string | null
77028
77081
  candidate_responded_at: Date | null
77029
- decline_reason: string | null
77030
77082
  /**
77031
77083
  * When this timestamp moves forward, prior INTERVIEW_SESSION consent grants are stale.
77032
77084
  */
@@ -77537,7 +77589,6 @@ export namespace Prisma {
77537
77589
  readonly evaluated_at: FieldRef<"Interview", 'DateTime'>
77538
77590
  readonly candidate_status: FieldRef<"Interview", 'String'>
77539
77591
  readonly candidate_responded_at: FieldRef<"Interview", 'DateTime'>
77540
- readonly decline_reason: FieldRef<"Interview", 'String'>
77541
77592
  readonly consent_epoch_at: FieldRef<"Interview", 'DateTime'>
77542
77593
  readonly reschedule_count: FieldRef<"Interview", 'Int'>
77543
77594
  readonly last_rescheduled_at: FieldRef<"Interview", 'DateTime'>
@@ -121278,6 +121329,8 @@ export namespace Prisma {
121278
121329
  interview?: boolean | OngoingEvaluation$interviewArgs<ExtArgs>
121279
121330
  assignment?: boolean | OngoingEvaluation$assignmentArgs<ExtArgs>
121280
121331
  assessment?: boolean | OngoingEvaluation$assessmentArgs<ExtArgs>
121332
+ consent_records?: boolean | OngoingEvaluation$consent_recordsArgs<ExtArgs>
121333
+ _count?: boolean | OngoingEvaluationCountOutputTypeDefaultArgs<ExtArgs>
121281
121334
  }, ExtArgs["result"]["ongoingEvaluation"]>
121282
121335
 
121283
121336
  export type OngoingEvaluationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -121436,6 +121489,8 @@ export namespace Prisma {
121436
121489
  interview?: boolean | OngoingEvaluation$interviewArgs<ExtArgs>
121437
121490
  assignment?: boolean | OngoingEvaluation$assignmentArgs<ExtArgs>
121438
121491
  assessment?: boolean | OngoingEvaluation$assessmentArgs<ExtArgs>
121492
+ consent_records?: boolean | OngoingEvaluation$consent_recordsArgs<ExtArgs>
121493
+ _count?: boolean | OngoingEvaluationCountOutputTypeDefaultArgs<ExtArgs>
121439
121494
  }
121440
121495
  export type OngoingEvaluationIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
121441
121496
  jobDescription?: boolean | OngoingEvaluation$jobDescriptionArgs<ExtArgs>
@@ -121470,6 +121525,7 @@ export namespace Prisma {
121470
121525
  interview: Prisma.$InterviewPayload<ExtArgs> | null
121471
121526
  assignment: Prisma.$AssignmentPayload<ExtArgs> | null
121472
121527
  assessment: Prisma.$AssessmentPayload<ExtArgs> | null
121528
+ consent_records: Prisma.$ConsentRecordPayload<ExtArgs>[]
121473
121529
  }
121474
121530
  scalars: $Extensions.GetPayloadResult<{
121475
121531
  id: string
@@ -121921,6 +121977,7 @@ export namespace Prisma {
121921
121977
  interview<T extends OngoingEvaluation$interviewArgs<ExtArgs> = {}>(args?: Subset<T, OngoingEvaluation$interviewArgs<ExtArgs>>): Prisma__InterviewClient<$Result.GetResult<Prisma.$InterviewPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
121922
121978
  assignment<T extends OngoingEvaluation$assignmentArgs<ExtArgs> = {}>(args?: Subset<T, OngoingEvaluation$assignmentArgs<ExtArgs>>): Prisma__AssignmentClient<$Result.GetResult<Prisma.$AssignmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
121923
121979
  assessment<T extends OngoingEvaluation$assessmentArgs<ExtArgs> = {}>(args?: Subset<T, OngoingEvaluation$assessmentArgs<ExtArgs>>): Prisma__AssessmentClient<$Result.GetResult<Prisma.$AssessmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
121980
+ consent_records<T extends OngoingEvaluation$consent_recordsArgs<ExtArgs> = {}>(args?: Subset<T, OngoingEvaluation$consent_recordsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConsentRecordPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
121924
121981
  /**
121925
121982
  * Attaches callbacks for the resolution and/or rejection of the Promise.
121926
121983
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -122518,6 +122575,30 @@ export namespace Prisma {
122518
122575
  where?: AssessmentWhereInput
122519
122576
  }
122520
122577
 
122578
+ /**
122579
+ * OngoingEvaluation.consent_records
122580
+ */
122581
+ export type OngoingEvaluation$consent_recordsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
122582
+ /**
122583
+ * Select specific fields to fetch from the ConsentRecord
122584
+ */
122585
+ select?: ConsentRecordSelect<ExtArgs> | null
122586
+ /**
122587
+ * Omit specific fields from the ConsentRecord
122588
+ */
122589
+ omit?: ConsentRecordOmit<ExtArgs> | null
122590
+ /**
122591
+ * Choose, which related nodes to fetch as well
122592
+ */
122593
+ include?: ConsentRecordInclude<ExtArgs> | null
122594
+ where?: ConsentRecordWhereInput
122595
+ orderBy?: ConsentRecordOrderByWithRelationInput | ConsentRecordOrderByWithRelationInput[]
122596
+ cursor?: ConsentRecordWhereUniqueInput
122597
+ take?: number
122598
+ skip?: number
122599
+ distinct?: ConsentRecordScalarFieldEnum | ConsentRecordScalarFieldEnum[]
122600
+ }
122601
+
122521
122602
  /**
122522
122603
  * OngoingEvaluation without action
122523
122604
  */
@@ -172077,7 +172158,6 @@ export namespace Prisma {
172077
172158
  evaluated_at: 'evaluated_at',
172078
172159
  candidate_status: 'candidate_status',
172079
172160
  candidate_responded_at: 'candidate_responded_at',
172080
- decline_reason: 'decline_reason',
172081
172161
  consent_epoch_at: 'consent_epoch_at',
172082
172162
  reschedule_count: 'reschedule_count',
172083
172163
  last_rescheduled_at: 'last_rescheduled_at',
@@ -179005,6 +179085,7 @@ export namespace Prisma {
179005
179085
  created_at?: DateTimeFilter<"ConsentRecord"> | Date | string
179006
179086
  user?: XOR<UserScalarRelationFilter, UserWhereInput>
179007
179087
  consent_document_version?: XOR<ConsentDocumentVersionScalarRelationFilter, ConsentDocumentVersionWhereInput>
179088
+ evaluation?: XOR<OngoingEvaluationNullableScalarRelationFilter, OngoingEvaluationWhereInput> | null
179008
179089
  }
179009
179090
 
179010
179091
  export type ConsentRecordOrderByWithRelationInput = {
@@ -179023,6 +179104,7 @@ export namespace Prisma {
179023
179104
  created_at?: SortOrder
179024
179105
  user?: UserOrderByWithRelationInput
179025
179106
  consent_document_version?: ConsentDocumentVersionOrderByWithRelationInput
179107
+ evaluation?: OngoingEvaluationOrderByWithRelationInput
179026
179108
  }
179027
179109
 
179028
179110
  export type ConsentRecordWhereUniqueInput = Prisma.AtLeast<{
@@ -179044,6 +179126,7 @@ export namespace Prisma {
179044
179126
  created_at?: DateTimeFilter<"ConsentRecord"> | Date | string
179045
179127
  user?: XOR<UserScalarRelationFilter, UserWhereInput>
179046
179128
  consent_document_version?: XOR<ConsentDocumentVersionScalarRelationFilter, ConsentDocumentVersionWhereInput>
179129
+ evaluation?: XOR<OngoingEvaluationNullableScalarRelationFilter, OngoingEvaluationWhereInput> | null
179047
179130
  }, "id">
179048
179131
 
179049
179132
  export type ConsentRecordOrderByWithAggregationInput = {
@@ -181147,7 +181230,6 @@ export namespace Prisma {
181147
181230
  evaluated_at?: DateTimeNullableFilter<"Interview"> | Date | string | null
181148
181231
  candidate_status?: StringNullableFilter<"Interview"> | string | null
181149
181232
  candidate_responded_at?: DateTimeNullableFilter<"Interview"> | Date | string | null
181150
- decline_reason?: StringNullableFilter<"Interview"> | string | null
181151
181233
  consent_epoch_at?: DateTimeFilter<"Interview"> | Date | string
181152
181234
  reschedule_count?: IntFilter<"Interview"> | number
181153
181235
  last_rescheduled_at?: DateTimeNullableFilter<"Interview"> | Date | string | null
@@ -181223,7 +181305,6 @@ export namespace Prisma {
181223
181305
  evaluated_at?: SortOrderInput | SortOrder
181224
181306
  candidate_status?: SortOrderInput | SortOrder
181225
181307
  candidate_responded_at?: SortOrderInput | SortOrder
181226
- decline_reason?: SortOrderInput | SortOrder
181227
181308
  consent_epoch_at?: SortOrder
181228
181309
  reschedule_count?: SortOrder
181229
181310
  last_rescheduled_at?: SortOrderInput | SortOrder
@@ -181302,7 +181383,6 @@ export namespace Prisma {
181302
181383
  evaluated_at?: DateTimeNullableFilter<"Interview"> | Date | string | null
181303
181384
  candidate_status?: StringNullableFilter<"Interview"> | string | null
181304
181385
  candidate_responded_at?: DateTimeNullableFilter<"Interview"> | Date | string | null
181305
- decline_reason?: StringNullableFilter<"Interview"> | string | null
181306
181386
  consent_epoch_at?: DateTimeFilter<"Interview"> | Date | string
181307
181387
  reschedule_count?: IntFilter<"Interview"> | number
181308
181388
  last_rescheduled_at?: DateTimeNullableFilter<"Interview"> | Date | string | null
@@ -181378,7 +181458,6 @@ export namespace Prisma {
181378
181458
  evaluated_at?: SortOrderInput | SortOrder
181379
181459
  candidate_status?: SortOrderInput | SortOrder
181380
181460
  candidate_responded_at?: SortOrderInput | SortOrder
181381
- decline_reason?: SortOrderInput | SortOrder
181382
181461
  consent_epoch_at?: SortOrder
181383
181462
  reschedule_count?: SortOrder
181384
181463
  last_rescheduled_at?: SortOrderInput | SortOrder
@@ -181447,7 +181526,6 @@ export namespace Prisma {
181447
181526
  evaluated_at?: DateTimeNullableWithAggregatesFilter<"Interview"> | Date | string | null
181448
181527
  candidate_status?: StringNullableWithAggregatesFilter<"Interview"> | string | null
181449
181528
  candidate_responded_at?: DateTimeNullableWithAggregatesFilter<"Interview"> | Date | string | null
181450
- decline_reason?: StringNullableWithAggregatesFilter<"Interview"> | string | null
181451
181529
  consent_epoch_at?: DateTimeWithAggregatesFilter<"Interview"> | Date | string
181452
181530
  reschedule_count?: IntWithAggregatesFilter<"Interview"> | number
181453
181531
  last_rescheduled_at?: DateTimeNullableWithAggregatesFilter<"Interview"> | Date | string | null
@@ -185676,6 +185754,7 @@ export namespace Prisma {
185676
185754
  interview?: XOR<InterviewNullableScalarRelationFilter, InterviewWhereInput> | null
185677
185755
  assignment?: XOR<AssignmentNullableScalarRelationFilter, AssignmentWhereInput> | null
185678
185756
  assessment?: XOR<AssessmentNullableScalarRelationFilter, AssessmentWhereInput> | null
185757
+ consent_records?: ConsentRecordListRelationFilter
185679
185758
  }
185680
185759
 
185681
185760
  export type OngoingEvaluationOrderByWithRelationInput = {
@@ -185728,6 +185807,7 @@ export namespace Prisma {
185728
185807
  interview?: InterviewOrderByWithRelationInput
185729
185808
  assignment?: AssignmentOrderByWithRelationInput
185730
185809
  assessment?: AssessmentOrderByWithRelationInput
185810
+ consent_records?: ConsentRecordOrderByRelationAggregateInput
185731
185811
  }
185732
185812
 
185733
185813
  export type OngoingEvaluationWhereUniqueInput = Prisma.AtLeast<{
@@ -185784,6 +185864,7 @@ export namespace Prisma {
185784
185864
  interview?: XOR<InterviewNullableScalarRelationFilter, InterviewWhereInput> | null
185785
185865
  assignment?: XOR<AssignmentNullableScalarRelationFilter, AssignmentWhereInput> | null
185786
185866
  assessment?: XOR<AssessmentNullableScalarRelationFilter, AssessmentWhereInput> | null
185867
+ consent_records?: ConsentRecordListRelationFilter
185787
185868
  }, "id" | "interview_id" | "assignment_id" | "assessment_id" | "application_id_evaluation_plan_id">
185788
185869
 
185789
185870
  export type OngoingEvaluationOrderByWithAggregationInput = {
@@ -194681,13 +194762,13 @@ export namespace Prisma {
194681
194762
  selections?: JsonNullValueInput | InputJsonValue
194682
194763
  reference_type?: $Enums.ConsentReferenceType | null
194683
194764
  reference_id?: string | null
194684
- evaluation_id?: string | null
194685
194765
  ip_address?: string | null
194686
194766
  user_agent?: string | null
194687
194767
  decline_reason?: string | null
194688
194768
  created_at?: Date | string
194689
194769
  user: UserCreateNestedOneWithoutConsent_recordsInput
194690
194770
  consent_document_version: ConsentDocumentVersionCreateNestedOneWithoutConsent_recordsInput
194771
+ evaluation?: OngoingEvaluationCreateNestedOneWithoutConsent_recordsInput
194691
194772
  }
194692
194773
 
194693
194774
  export type ConsentRecordUncheckedCreateInput = {
@@ -194713,13 +194794,13 @@ export namespace Prisma {
194713
194794
  selections?: JsonNullValueInput | InputJsonValue
194714
194795
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
194715
194796
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
194716
- evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
194717
194797
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
194718
194798
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
194719
194799
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
194720
194800
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
194721
194801
  user?: UserUpdateOneRequiredWithoutConsent_recordsNestedInput
194722
194802
  consent_document_version?: ConsentDocumentVersionUpdateOneRequiredWithoutConsent_recordsNestedInput
194803
+ evaluation?: OngoingEvaluationUpdateOneWithoutConsent_recordsNestedInput
194723
194804
  }
194724
194805
 
194725
194806
  export type ConsentRecordUncheckedUpdateInput = {
@@ -194761,7 +194842,6 @@ export namespace Prisma {
194761
194842
  selections?: JsonNullValueInput | InputJsonValue
194762
194843
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
194763
194844
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
194764
- evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
194765
194845
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
194766
194846
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
194767
194847
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
@@ -197155,7 +197235,6 @@ export namespace Prisma {
197155
197235
  evaluated_at?: Date | string | null
197156
197236
  candidate_status?: string | null
197157
197237
  candidate_responded_at?: Date | string | null
197158
- decline_reason?: string | null
197159
197238
  consent_epoch_at?: Date | string
197160
197239
  reschedule_count?: number
197161
197240
  last_rescheduled_at?: Date | string | null
@@ -197231,7 +197310,6 @@ export namespace Prisma {
197231
197310
  evaluated_at?: Date | string | null
197232
197311
  candidate_status?: string | null
197233
197312
  candidate_responded_at?: Date | string | null
197234
- decline_reason?: string | null
197235
197313
  consent_epoch_at?: Date | string
197236
197314
  reschedule_count?: number
197237
197315
  last_rescheduled_at?: Date | string | null
@@ -197291,7 +197369,6 @@ export namespace Prisma {
197291
197369
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
197292
197370
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
197293
197371
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
197294
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
197295
197372
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
197296
197373
  reschedule_count?: IntFieldUpdateOperationsInput | number
197297
197374
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -197367,7 +197444,6 @@ export namespace Prisma {
197367
197444
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
197368
197445
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
197369
197446
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
197370
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
197371
197447
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
197372
197448
  reschedule_count?: IntFieldUpdateOperationsInput | number
197373
197449
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -197435,7 +197511,6 @@ export namespace Prisma {
197435
197511
  evaluated_at?: Date | string | null
197436
197512
  candidate_status?: string | null
197437
197513
  candidate_responded_at?: Date | string | null
197438
- decline_reason?: string | null
197439
197514
  consent_epoch_at?: Date | string
197440
197515
  reschedule_count?: number
197441
197516
  last_rescheduled_at?: Date | string | null
@@ -197488,7 +197563,6 @@ export namespace Prisma {
197488
197563
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
197489
197564
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
197490
197565
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
197491
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
197492
197566
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
197493
197567
  reschedule_count?: IntFieldUpdateOperationsInput | number
197494
197568
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -197549,7 +197623,6 @@ export namespace Prisma {
197549
197623
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
197550
197624
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
197551
197625
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
197552
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
197553
197626
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
197554
197627
  reschedule_count?: IntFieldUpdateOperationsInput | number
197555
197628
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -202498,6 +202571,7 @@ export namespace Prisma {
202498
202571
  interview?: InterviewCreateNestedOneWithoutOngoing_evaluationInput
202499
202572
  assignment?: AssignmentCreateNestedOneWithoutOngoing_evaluationInput
202500
202573
  assessment?: AssessmentCreateNestedOneWithoutOngoingEvaluationInput
202574
+ consent_records?: ConsentRecordCreateNestedManyWithoutEvaluationInput
202501
202575
  }
202502
202576
 
202503
202577
  export type OngoingEvaluationUncheckedCreateInput = {
@@ -202542,6 +202616,7 @@ export namespace Prisma {
202542
202616
  is_active?: boolean
202543
202617
  is_current?: boolean
202544
202618
  assignment?: AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput
202619
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput
202545
202620
  }
202546
202621
 
202547
202622
  export type OngoingEvaluationUpdateInput = {
@@ -202586,6 +202661,7 @@ export namespace Prisma {
202586
202661
  interview?: InterviewUpdateOneWithoutOngoing_evaluationNestedInput
202587
202662
  assignment?: AssignmentUpdateOneWithoutOngoing_evaluationNestedInput
202588
202663
  assessment?: AssessmentUpdateOneWithoutOngoingEvaluationNestedInput
202664
+ consent_records?: ConsentRecordUpdateManyWithoutEvaluationNestedInput
202589
202665
  }
202590
202666
 
202591
202667
  export type OngoingEvaluationUncheckedUpdateInput = {
@@ -202630,6 +202706,7 @@ export namespace Prisma {
202630
202706
  is_active?: BoolFieldUpdateOperationsInput | boolean
202631
202707
  is_current?: BoolFieldUpdateOperationsInput | boolean
202632
202708
  assignment?: AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput
202709
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput
202633
202710
  }
202634
202711
 
202635
202712
  export type OngoingEvaluationCreateManyInput = {
@@ -213201,7 +213278,6 @@ export namespace Prisma {
213201
213278
  evaluated_at?: SortOrder
213202
213279
  candidate_status?: SortOrder
213203
213280
  candidate_responded_at?: SortOrder
213204
- decline_reason?: SortOrder
213205
213281
  consent_epoch_at?: SortOrder
213206
213282
  reschedule_count?: SortOrder
213207
213283
  last_rescheduled_at?: SortOrder
@@ -213256,7 +213332,6 @@ export namespace Prisma {
213256
213332
  evaluated_at?: SortOrder
213257
213333
  candidate_status?: SortOrder
213258
213334
  candidate_responded_at?: SortOrder
213259
- decline_reason?: SortOrder
213260
213335
  consent_epoch_at?: SortOrder
213261
213336
  reschedule_count?: SortOrder
213262
213337
  last_rescheduled_at?: SortOrder
@@ -213306,7 +213381,6 @@ export namespace Prisma {
213306
213381
  evaluated_at?: SortOrder
213307
213382
  candidate_status?: SortOrder
213308
213383
  candidate_responded_at?: SortOrder
213309
- decline_reason?: SortOrder
213310
213384
  consent_epoch_at?: SortOrder
213311
213385
  reschedule_count?: SortOrder
213312
213386
  last_rescheduled_at?: SortOrder
@@ -222079,6 +222153,12 @@ export namespace Prisma {
222079
222153
  connect?: ConsentDocumentVersionWhereUniqueInput
222080
222154
  }
222081
222155
 
222156
+ export type OngoingEvaluationCreateNestedOneWithoutConsent_recordsInput = {
222157
+ create?: XOR<OngoingEvaluationCreateWithoutConsent_recordsInput, OngoingEvaluationUncheckedCreateWithoutConsent_recordsInput>
222158
+ connectOrCreate?: OngoingEvaluationCreateOrConnectWithoutConsent_recordsInput
222159
+ connect?: OngoingEvaluationWhereUniqueInput
222160
+ }
222161
+
222082
222162
  export type NullableEnumConsentOutcomeFieldUpdateOperationsInput = {
222083
222163
  set?: $Enums.ConsentOutcome | null
222084
222164
  }
@@ -222107,6 +222187,16 @@ export namespace Prisma {
222107
222187
  update?: XOR<XOR<ConsentDocumentVersionUpdateToOneWithWhereWithoutConsent_recordsInput, ConsentDocumentVersionUpdateWithoutConsent_recordsInput>, ConsentDocumentVersionUncheckedUpdateWithoutConsent_recordsInput>
222108
222188
  }
222109
222189
 
222190
+ export type OngoingEvaluationUpdateOneWithoutConsent_recordsNestedInput = {
222191
+ create?: XOR<OngoingEvaluationCreateWithoutConsent_recordsInput, OngoingEvaluationUncheckedCreateWithoutConsent_recordsInput>
222192
+ connectOrCreate?: OngoingEvaluationCreateOrConnectWithoutConsent_recordsInput
222193
+ upsert?: OngoingEvaluationUpsertWithoutConsent_recordsInput
222194
+ disconnect?: OngoingEvaluationWhereInput | boolean
222195
+ delete?: OngoingEvaluationWhereInput | boolean
222196
+ connect?: OngoingEvaluationWhereUniqueInput
222197
+ update?: XOR<XOR<OngoingEvaluationUpdateToOneWithWhereWithoutConsent_recordsInput, OngoingEvaluationUpdateWithoutConsent_recordsInput>, OngoingEvaluationUncheckedUpdateWithoutConsent_recordsInput>
222198
+ }
222199
+
222110
222200
  export type UserCreateNestedOneWithoutErasure_requests_as_subjectInput = {
222111
222201
  create?: XOR<UserCreateWithoutErasure_requests_as_subjectInput, UserUncheckedCreateWithoutErasure_requests_as_subjectInput>
222112
222202
  connectOrCreate?: UserCreateOrConnectWithoutErasure_requests_as_subjectInput
@@ -226925,12 +227015,26 @@ export namespace Prisma {
226925
227015
  connect?: AssessmentWhereUniqueInput
226926
227016
  }
226927
227017
 
227018
+ export type ConsentRecordCreateNestedManyWithoutEvaluationInput = {
227019
+ create?: XOR<ConsentRecordCreateWithoutEvaluationInput, ConsentRecordUncheckedCreateWithoutEvaluationInput> | ConsentRecordCreateWithoutEvaluationInput[] | ConsentRecordUncheckedCreateWithoutEvaluationInput[]
227020
+ connectOrCreate?: ConsentRecordCreateOrConnectWithoutEvaluationInput | ConsentRecordCreateOrConnectWithoutEvaluationInput[]
227021
+ createMany?: ConsentRecordCreateManyEvaluationInputEnvelope
227022
+ connect?: ConsentRecordWhereUniqueInput | ConsentRecordWhereUniqueInput[]
227023
+ }
227024
+
226928
227025
  export type AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput = {
226929
227026
  create?: XOR<AssignmentCreateWithoutOngoing_evaluationInput, AssignmentUncheckedCreateWithoutOngoing_evaluationInput>
226930
227027
  connectOrCreate?: AssignmentCreateOrConnectWithoutOngoing_evaluationInput
226931
227028
  connect?: AssignmentWhereUniqueInput
226932
227029
  }
226933
227030
 
227031
+ export type ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput = {
227032
+ create?: XOR<ConsentRecordCreateWithoutEvaluationInput, ConsentRecordUncheckedCreateWithoutEvaluationInput> | ConsentRecordCreateWithoutEvaluationInput[] | ConsentRecordUncheckedCreateWithoutEvaluationInput[]
227033
+ connectOrCreate?: ConsentRecordCreateOrConnectWithoutEvaluationInput | ConsentRecordCreateOrConnectWithoutEvaluationInput[]
227034
+ createMany?: ConsentRecordCreateManyEvaluationInputEnvelope
227035
+ connect?: ConsentRecordWhereUniqueInput | ConsentRecordWhereUniqueInput[]
227036
+ }
227037
+
226934
227038
  export type NullableEnumOngoingEvaluationStateFieldUpdateOperationsInput = {
226935
227039
  set?: $Enums.OngoingEvaluationState | null
226936
227040
  }
@@ -227035,6 +227139,20 @@ export namespace Prisma {
227035
227139
  update?: XOR<XOR<AssessmentUpdateToOneWithWhereWithoutOngoingEvaluationInput, AssessmentUpdateWithoutOngoingEvaluationInput>, AssessmentUncheckedUpdateWithoutOngoingEvaluationInput>
227036
227140
  }
227037
227141
 
227142
+ export type ConsentRecordUpdateManyWithoutEvaluationNestedInput = {
227143
+ create?: XOR<ConsentRecordCreateWithoutEvaluationInput, ConsentRecordUncheckedCreateWithoutEvaluationInput> | ConsentRecordCreateWithoutEvaluationInput[] | ConsentRecordUncheckedCreateWithoutEvaluationInput[]
227144
+ connectOrCreate?: ConsentRecordCreateOrConnectWithoutEvaluationInput | ConsentRecordCreateOrConnectWithoutEvaluationInput[]
227145
+ upsert?: ConsentRecordUpsertWithWhereUniqueWithoutEvaluationInput | ConsentRecordUpsertWithWhereUniqueWithoutEvaluationInput[]
227146
+ createMany?: ConsentRecordCreateManyEvaluationInputEnvelope
227147
+ set?: ConsentRecordWhereUniqueInput | ConsentRecordWhereUniqueInput[]
227148
+ disconnect?: ConsentRecordWhereUniqueInput | ConsentRecordWhereUniqueInput[]
227149
+ delete?: ConsentRecordWhereUniqueInput | ConsentRecordWhereUniqueInput[]
227150
+ connect?: ConsentRecordWhereUniqueInput | ConsentRecordWhereUniqueInput[]
227151
+ update?: ConsentRecordUpdateWithWhereUniqueWithoutEvaluationInput | ConsentRecordUpdateWithWhereUniqueWithoutEvaluationInput[]
227152
+ updateMany?: ConsentRecordUpdateManyWithWhereWithoutEvaluationInput | ConsentRecordUpdateManyWithWhereWithoutEvaluationInput[]
227153
+ deleteMany?: ConsentRecordScalarWhereInput | ConsentRecordScalarWhereInput[]
227154
+ }
227155
+
227038
227156
  export type AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput = {
227039
227157
  create?: XOR<AssignmentCreateWithoutOngoing_evaluationInput, AssignmentUncheckedCreateWithoutOngoing_evaluationInput>
227040
227158
  connectOrCreate?: AssignmentCreateOrConnectWithoutOngoing_evaluationInput
@@ -227045,6 +227163,20 @@ export namespace Prisma {
227045
227163
  update?: XOR<XOR<AssignmentUpdateToOneWithWhereWithoutOngoing_evaluationInput, AssignmentUpdateWithoutOngoing_evaluationInput>, AssignmentUncheckedUpdateWithoutOngoing_evaluationInput>
227046
227164
  }
227047
227165
 
227166
+ export type ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput = {
227167
+ create?: XOR<ConsentRecordCreateWithoutEvaluationInput, ConsentRecordUncheckedCreateWithoutEvaluationInput> | ConsentRecordCreateWithoutEvaluationInput[] | ConsentRecordUncheckedCreateWithoutEvaluationInput[]
227168
+ connectOrCreate?: ConsentRecordCreateOrConnectWithoutEvaluationInput | ConsentRecordCreateOrConnectWithoutEvaluationInput[]
227169
+ upsert?: ConsentRecordUpsertWithWhereUniqueWithoutEvaluationInput | ConsentRecordUpsertWithWhereUniqueWithoutEvaluationInput[]
227170
+ createMany?: ConsentRecordCreateManyEvaluationInputEnvelope
227171
+ set?: ConsentRecordWhereUniqueInput | ConsentRecordWhereUniqueInput[]
227172
+ disconnect?: ConsentRecordWhereUniqueInput | ConsentRecordWhereUniqueInput[]
227173
+ delete?: ConsentRecordWhereUniqueInput | ConsentRecordWhereUniqueInput[]
227174
+ connect?: ConsentRecordWhereUniqueInput | ConsentRecordWhereUniqueInput[]
227175
+ update?: ConsentRecordUpdateWithWhereUniqueWithoutEvaluationInput | ConsentRecordUpdateWithWhereUniqueWithoutEvaluationInput[]
227176
+ updateMany?: ConsentRecordUpdateManyWithWhereWithoutEvaluationInput | ConsentRecordUpdateManyWithWhereWithoutEvaluationInput[]
227177
+ deleteMany?: ConsentRecordScalarWhereInput | ConsentRecordScalarWhereInput[]
227178
+ }
227179
+
227048
227180
  export type NullableEnumOpenJobClosureTypeFieldUpdateOperationsInput = {
227049
227181
  set?: $Enums.OpenJobClosureType | null
227050
227182
  }
@@ -237884,7 +238016,6 @@ export namespace Prisma {
237884
238016
  evaluated_at?: Date | string | null
237885
238017
  candidate_status?: string | null
237886
238018
  candidate_responded_at?: Date | string | null
237887
- decline_reason?: string | null
237888
238019
  consent_epoch_at?: Date | string
237889
238020
  reschedule_count?: number
237890
238021
  last_rescheduled_at?: Date | string | null
@@ -237958,7 +238089,6 @@ export namespace Prisma {
237958
238089
  evaluated_at?: Date | string | null
237959
238090
  candidate_status?: string | null
237960
238091
  candidate_responded_at?: Date | string | null
237961
- decline_reason?: string | null
237962
238092
  consent_epoch_at?: Date | string
237963
238093
  reschedule_count?: number
237964
238094
  last_rescheduled_at?: Date | string | null
@@ -238091,6 +238221,7 @@ export namespace Prisma {
238091
238221
  interview?: InterviewCreateNestedOneWithoutOngoing_evaluationInput
238092
238222
  assignment?: AssignmentCreateNestedOneWithoutOngoing_evaluationInput
238093
238223
  assessment?: AssessmentCreateNestedOneWithoutOngoingEvaluationInput
238224
+ consent_records?: ConsentRecordCreateNestedManyWithoutEvaluationInput
238094
238225
  }
238095
238226
 
238096
238227
  export type OngoingEvaluationUncheckedCreateWithoutApplicationInput = {
@@ -238134,6 +238265,7 @@ export namespace Prisma {
238134
238265
  is_active?: boolean
238135
238266
  is_current?: boolean
238136
238267
  assignment?: AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput
238268
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput
238137
238269
  }
238138
238270
 
238139
238271
  export type OngoingEvaluationCreateOrConnectWithoutApplicationInput = {
@@ -239489,7 +239621,6 @@ export namespace Prisma {
239489
239621
  evaluated_at?: DateTimeNullableFilter<"Interview"> | Date | string | null
239490
239622
  candidate_status?: StringNullableFilter<"Interview"> | string | null
239491
239623
  candidate_responded_at?: DateTimeNullableFilter<"Interview"> | Date | string | null
239492
- decline_reason?: StringNullableFilter<"Interview"> | string | null
239493
239624
  consent_epoch_at?: DateTimeFilter<"Interview"> | Date | string
239494
239625
  reschedule_count?: IntFilter<"Interview"> | number
239495
239626
  last_rescheduled_at?: DateTimeNullableFilter<"Interview"> | Date | string | null
@@ -241649,6 +241780,7 @@ export namespace Prisma {
241649
241780
  evaluation_plan: EvaluationPlanCreateNestedOneWithoutOngoing_evaluationsInput
241650
241781
  interview?: InterviewCreateNestedOneWithoutOngoing_evaluationInput
241651
241782
  assignment?: AssignmentCreateNestedOneWithoutOngoing_evaluationInput
241783
+ consent_records?: ConsentRecordCreateNestedManyWithoutEvaluationInput
241652
241784
  }
241653
241785
 
241654
241786
  export type OngoingEvaluationUncheckedCreateWithoutAssessmentInput = {
@@ -241692,6 +241824,7 @@ export namespace Prisma {
241692
241824
  is_active?: boolean
241693
241825
  is_current?: boolean
241694
241826
  assignment?: AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput
241827
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput
241695
241828
  }
241696
241829
 
241697
241830
  export type OngoingEvaluationCreateOrConnectWithoutAssessmentInput = {
@@ -242549,6 +242682,7 @@ export namespace Prisma {
242549
242682
  evaluation_plan?: EvaluationPlanUpdateOneRequiredWithoutOngoing_evaluationsNestedInput
242550
242683
  interview?: InterviewUpdateOneWithoutOngoing_evaluationNestedInput
242551
242684
  assignment?: AssignmentUpdateOneWithoutOngoing_evaluationNestedInput
242685
+ consent_records?: ConsentRecordUpdateManyWithoutEvaluationNestedInput
242552
242686
  }
242553
242687
 
242554
242688
  export type OngoingEvaluationUncheckedUpdateWithoutAssessmentInput = {
@@ -242592,6 +242726,7 @@ export namespace Prisma {
242592
242726
  is_active?: BoolFieldUpdateOperationsInput | boolean
242593
242727
  is_current?: BoolFieldUpdateOperationsInput | boolean
242594
242728
  assignment?: AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput
242729
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput
242595
242730
  }
242596
242731
 
242597
242732
  export type OrganisationCreateWithoutAssessment_libraryInput = {
@@ -244211,6 +244346,7 @@ export namespace Prisma {
244211
244346
  evaluation_plan: EvaluationPlanCreateNestedOneWithoutOngoing_evaluationsInput
244212
244347
  interview?: InterviewCreateNestedOneWithoutOngoing_evaluationInput
244213
244348
  assessment?: AssessmentCreateNestedOneWithoutOngoingEvaluationInput
244349
+ consent_records?: ConsentRecordCreateNestedManyWithoutEvaluationInput
244214
244350
  }
244215
244351
 
244216
244352
  export type OngoingEvaluationUncheckedCreateWithoutAssignmentInput = {
@@ -244254,6 +244390,7 @@ export namespace Prisma {
244254
244390
  updated_by: string
244255
244391
  is_active?: boolean
244256
244392
  is_current?: boolean
244393
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput
244257
244394
  }
244258
244395
 
244259
244396
  export type OngoingEvaluationCreateOrConnectWithoutAssignmentInput = {
@@ -245237,6 +245374,7 @@ export namespace Prisma {
245237
245374
  evaluation_plan?: EvaluationPlanUpdateOneRequiredWithoutOngoing_evaluationsNestedInput
245238
245375
  interview?: InterviewUpdateOneWithoutOngoing_evaluationNestedInput
245239
245376
  assessment?: AssessmentUpdateOneWithoutOngoingEvaluationNestedInput
245377
+ consent_records?: ConsentRecordUpdateManyWithoutEvaluationNestedInput
245240
245378
  }
245241
245379
 
245242
245380
  export type OngoingEvaluationUncheckedUpdateWithoutAssignmentInput = {
@@ -245280,6 +245418,7 @@ export namespace Prisma {
245280
245418
  updated_by?: StringFieldUpdateOperationsInput | string
245281
245419
  is_active?: BoolFieldUpdateOperationsInput | boolean
245282
245420
  is_current?: BoolFieldUpdateOperationsInput | boolean
245421
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput
245283
245422
  }
245284
245423
 
245285
245424
  export type DocumentUpsertWithoutAssignment_solutionInput = {
@@ -250935,12 +251074,12 @@ export namespace Prisma {
250935
251074
  selections?: JsonNullValueInput | InputJsonValue
250936
251075
  reference_type?: $Enums.ConsentReferenceType | null
250937
251076
  reference_id?: string | null
250938
- evaluation_id?: string | null
250939
251077
  ip_address?: string | null
250940
251078
  user_agent?: string | null
250941
251079
  decline_reason?: string | null
250942
251080
  created_at?: Date | string
250943
251081
  user: UserCreateNestedOneWithoutConsent_recordsInput
251082
+ evaluation?: OngoingEvaluationCreateNestedOneWithoutConsent_recordsInput
250944
251083
  }
250945
251084
 
250946
251085
  export type ConsentRecordUncheckedCreateWithoutConsent_document_versionInput = {
@@ -251502,6 +251641,99 @@ export namespace Prisma {
251502
251641
  create: XOR<ConsentDocumentVersionCreateWithoutConsent_recordsInput, ConsentDocumentVersionUncheckedCreateWithoutConsent_recordsInput>
251503
251642
  }
251504
251643
 
251644
+ export type OngoingEvaluationCreateWithoutConsent_recordsInput = {
251645
+ id?: string
251646
+ assignment_id?: string | null
251647
+ state?: $Enums.OngoingEvaluationState | null
251648
+ round_status?: $Enums.OngoingEvaluationRoundStatus | null
251649
+ comments?: string | null
251650
+ completed_at?: Date | string | null
251651
+ assigned_at?: Date | string | null
251652
+ result_at?: Date | string | null
251653
+ is_committed?: boolean | null
251654
+ title?: string | null
251655
+ description?: string | null
251656
+ order_no?: number | null
251657
+ round_purpose?: string | null
251658
+ focus_areas?: OngoingEvaluationCreatefocus_areasInput | string[]
251659
+ topics?: OngoingEvaluationCreatetopicsInput | string[]
251660
+ assignee?: string | null
251661
+ elimination_round?: boolean | null
251662
+ evaluation_type?: $Enums.EvaluationType | null
251663
+ type_of_round?: $Enums.RoundType | null
251664
+ duration?: number | null
251665
+ deadline?: number | null
251666
+ duration_unit?: $Enums.DurationUnit | null
251667
+ details?: NullableJsonNullValueInput | InputJsonValue
251668
+ category?: $Enums.EvaluationCategory | null
251669
+ relevance_score?: number | null
251670
+ relevance_reasoning?: string | null
251671
+ created_at?: Date | string
251672
+ updated_at?: Date | string
251673
+ created_by: string
251674
+ updated_by: string
251675
+ is_active?: boolean
251676
+ is_current?: boolean
251677
+ jobDescription?: JobDescriptionCreateNestedOneWithoutOngoing_evaluationsInput
251678
+ application: ApplicationCreateNestedOneWithoutOngoing_evaluationsInput
251679
+ candidate?: UserCreateNestedOneWithoutOngoing_evaluationsInput
251680
+ resume?: ResumeCreateNestedOneWithoutOngoing_evaluationsInput
251681
+ organisation?: OrganisationCreateNestedOneWithoutOngoing_evaluationsInput
251682
+ evaluation_plan: EvaluationPlanCreateNestedOneWithoutOngoing_evaluationsInput
251683
+ interview?: InterviewCreateNestedOneWithoutOngoing_evaluationInput
251684
+ assignment?: AssignmentCreateNestedOneWithoutOngoing_evaluationInput
251685
+ assessment?: AssessmentCreateNestedOneWithoutOngoingEvaluationInput
251686
+ }
251687
+
251688
+ export type OngoingEvaluationUncheckedCreateWithoutConsent_recordsInput = {
251689
+ id?: string
251690
+ organisation_id: string
251691
+ application_id: string
251692
+ candidate_id: string
251693
+ resume_id: string
251694
+ job_description_id: string
251695
+ evaluation_plan_id: string
251696
+ interview_id?: string | null
251697
+ assignment_id?: string | null
251698
+ assessment_id?: string | null
251699
+ state?: $Enums.OngoingEvaluationState | null
251700
+ round_status?: $Enums.OngoingEvaluationRoundStatus | null
251701
+ comments?: string | null
251702
+ completed_at?: Date | string | null
251703
+ assigned_at?: Date | string | null
251704
+ result_at?: Date | string | null
251705
+ is_committed?: boolean | null
251706
+ title?: string | null
251707
+ description?: string | null
251708
+ order_no?: number | null
251709
+ round_purpose?: string | null
251710
+ focus_areas?: OngoingEvaluationCreatefocus_areasInput | string[]
251711
+ topics?: OngoingEvaluationCreatetopicsInput | string[]
251712
+ assignee?: string | null
251713
+ elimination_round?: boolean | null
251714
+ evaluation_type?: $Enums.EvaluationType | null
251715
+ type_of_round?: $Enums.RoundType | null
251716
+ duration?: number | null
251717
+ deadline?: number | null
251718
+ duration_unit?: $Enums.DurationUnit | null
251719
+ details?: NullableJsonNullValueInput | InputJsonValue
251720
+ category?: $Enums.EvaluationCategory | null
251721
+ relevance_score?: number | null
251722
+ relevance_reasoning?: string | null
251723
+ created_at?: Date | string
251724
+ updated_at?: Date | string
251725
+ created_by: string
251726
+ updated_by: string
251727
+ is_active?: boolean
251728
+ is_current?: boolean
251729
+ assignment?: AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput
251730
+ }
251731
+
251732
+ export type OngoingEvaluationCreateOrConnectWithoutConsent_recordsInput = {
251733
+ where: OngoingEvaluationWhereUniqueInput
251734
+ create: XOR<OngoingEvaluationCreateWithoutConsent_recordsInput, OngoingEvaluationUncheckedCreateWithoutConsent_recordsInput>
251735
+ }
251736
+
251505
251737
  export type UserUpsertWithoutConsent_recordsInput = {
251506
251738
  update: XOR<UserUpdateWithoutConsent_recordsInput, UserUncheckedUpdateWithoutConsent_recordsInput>
251507
251739
  create: XOR<UserCreateWithoutConsent_recordsInput, UserUncheckedCreateWithoutConsent_recordsInput>
@@ -251720,6 +251952,105 @@ export namespace Prisma {
251720
251952
  checkbox_definitions?: ConsentCheckboxDefinitionUncheckedUpdateManyWithoutConsent_document_versionNestedInput
251721
251953
  }
251722
251954
 
251955
+ export type OngoingEvaluationUpsertWithoutConsent_recordsInput = {
251956
+ update: XOR<OngoingEvaluationUpdateWithoutConsent_recordsInput, OngoingEvaluationUncheckedUpdateWithoutConsent_recordsInput>
251957
+ create: XOR<OngoingEvaluationCreateWithoutConsent_recordsInput, OngoingEvaluationUncheckedCreateWithoutConsent_recordsInput>
251958
+ where?: OngoingEvaluationWhereInput
251959
+ }
251960
+
251961
+ export type OngoingEvaluationUpdateToOneWithWhereWithoutConsent_recordsInput = {
251962
+ where?: OngoingEvaluationWhereInput
251963
+ data: XOR<OngoingEvaluationUpdateWithoutConsent_recordsInput, OngoingEvaluationUncheckedUpdateWithoutConsent_recordsInput>
251964
+ }
251965
+
251966
+ export type OngoingEvaluationUpdateWithoutConsent_recordsInput = {
251967
+ id?: StringFieldUpdateOperationsInput | string
251968
+ assignment_id?: NullableStringFieldUpdateOperationsInput | string | null
251969
+ state?: NullableEnumOngoingEvaluationStateFieldUpdateOperationsInput | $Enums.OngoingEvaluationState | null
251970
+ round_status?: NullableEnumOngoingEvaluationRoundStatusFieldUpdateOperationsInput | $Enums.OngoingEvaluationRoundStatus | null
251971
+ comments?: NullableStringFieldUpdateOperationsInput | string | null
251972
+ completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
251973
+ assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
251974
+ result_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
251975
+ is_committed?: NullableBoolFieldUpdateOperationsInput | boolean | null
251976
+ title?: NullableStringFieldUpdateOperationsInput | string | null
251977
+ description?: NullableStringFieldUpdateOperationsInput | string | null
251978
+ order_no?: NullableIntFieldUpdateOperationsInput | number | null
251979
+ round_purpose?: NullableStringFieldUpdateOperationsInput | string | null
251980
+ focus_areas?: OngoingEvaluationUpdatefocus_areasInput | string[]
251981
+ topics?: OngoingEvaluationUpdatetopicsInput | string[]
251982
+ assignee?: NullableStringFieldUpdateOperationsInput | string | null
251983
+ elimination_round?: NullableBoolFieldUpdateOperationsInput | boolean | null
251984
+ evaluation_type?: NullableEnumEvaluationTypeFieldUpdateOperationsInput | $Enums.EvaluationType | null
251985
+ type_of_round?: NullableEnumRoundTypeFieldUpdateOperationsInput | $Enums.RoundType | null
251986
+ duration?: NullableIntFieldUpdateOperationsInput | number | null
251987
+ deadline?: NullableIntFieldUpdateOperationsInput | number | null
251988
+ duration_unit?: NullableEnumDurationUnitFieldUpdateOperationsInput | $Enums.DurationUnit | null
251989
+ details?: NullableJsonNullValueInput | InputJsonValue
251990
+ category?: NullableEnumEvaluationCategoryFieldUpdateOperationsInput | $Enums.EvaluationCategory | null
251991
+ relevance_score?: NullableFloatFieldUpdateOperationsInput | number | null
251992
+ relevance_reasoning?: NullableStringFieldUpdateOperationsInput | string | null
251993
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
251994
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
251995
+ created_by?: StringFieldUpdateOperationsInput | string
251996
+ updated_by?: StringFieldUpdateOperationsInput | string
251997
+ is_active?: BoolFieldUpdateOperationsInput | boolean
251998
+ is_current?: BoolFieldUpdateOperationsInput | boolean
251999
+ jobDescription?: JobDescriptionUpdateOneWithoutOngoing_evaluationsNestedInput
252000
+ application?: ApplicationUpdateOneRequiredWithoutOngoing_evaluationsNestedInput
252001
+ candidate?: UserUpdateOneWithoutOngoing_evaluationsNestedInput
252002
+ resume?: ResumeUpdateOneWithoutOngoing_evaluationsNestedInput
252003
+ organisation?: OrganisationUpdateOneWithoutOngoing_evaluationsNestedInput
252004
+ evaluation_plan?: EvaluationPlanUpdateOneRequiredWithoutOngoing_evaluationsNestedInput
252005
+ interview?: InterviewUpdateOneWithoutOngoing_evaluationNestedInput
252006
+ assignment?: AssignmentUpdateOneWithoutOngoing_evaluationNestedInput
252007
+ assessment?: AssessmentUpdateOneWithoutOngoingEvaluationNestedInput
252008
+ }
252009
+
252010
+ export type OngoingEvaluationUncheckedUpdateWithoutConsent_recordsInput = {
252011
+ id?: StringFieldUpdateOperationsInput | string
252012
+ organisation_id?: StringFieldUpdateOperationsInput | string
252013
+ application_id?: StringFieldUpdateOperationsInput | string
252014
+ candidate_id?: StringFieldUpdateOperationsInput | string
252015
+ resume_id?: StringFieldUpdateOperationsInput | string
252016
+ job_description_id?: StringFieldUpdateOperationsInput | string
252017
+ evaluation_plan_id?: StringFieldUpdateOperationsInput | string
252018
+ interview_id?: NullableStringFieldUpdateOperationsInput | string | null
252019
+ assignment_id?: NullableStringFieldUpdateOperationsInput | string | null
252020
+ assessment_id?: NullableStringFieldUpdateOperationsInput | string | null
252021
+ state?: NullableEnumOngoingEvaluationStateFieldUpdateOperationsInput | $Enums.OngoingEvaluationState | null
252022
+ round_status?: NullableEnumOngoingEvaluationRoundStatusFieldUpdateOperationsInput | $Enums.OngoingEvaluationRoundStatus | null
252023
+ comments?: NullableStringFieldUpdateOperationsInput | string | null
252024
+ completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
252025
+ assigned_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
252026
+ result_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
252027
+ is_committed?: NullableBoolFieldUpdateOperationsInput | boolean | null
252028
+ title?: NullableStringFieldUpdateOperationsInput | string | null
252029
+ description?: NullableStringFieldUpdateOperationsInput | string | null
252030
+ order_no?: NullableIntFieldUpdateOperationsInput | number | null
252031
+ round_purpose?: NullableStringFieldUpdateOperationsInput | string | null
252032
+ focus_areas?: OngoingEvaluationUpdatefocus_areasInput | string[]
252033
+ topics?: OngoingEvaluationUpdatetopicsInput | string[]
252034
+ assignee?: NullableStringFieldUpdateOperationsInput | string | null
252035
+ elimination_round?: NullableBoolFieldUpdateOperationsInput | boolean | null
252036
+ evaluation_type?: NullableEnumEvaluationTypeFieldUpdateOperationsInput | $Enums.EvaluationType | null
252037
+ type_of_round?: NullableEnumRoundTypeFieldUpdateOperationsInput | $Enums.RoundType | null
252038
+ duration?: NullableIntFieldUpdateOperationsInput | number | null
252039
+ deadline?: NullableIntFieldUpdateOperationsInput | number | null
252040
+ duration_unit?: NullableEnumDurationUnitFieldUpdateOperationsInput | $Enums.DurationUnit | null
252041
+ details?: NullableJsonNullValueInput | InputJsonValue
252042
+ category?: NullableEnumEvaluationCategoryFieldUpdateOperationsInput | $Enums.EvaluationCategory | null
252043
+ relevance_score?: NullableFloatFieldUpdateOperationsInput | number | null
252044
+ relevance_reasoning?: NullableStringFieldUpdateOperationsInput | string | null
252045
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
252046
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
252047
+ created_by?: StringFieldUpdateOperationsInput | string
252048
+ updated_by?: StringFieldUpdateOperationsInput | string
252049
+ is_active?: BoolFieldUpdateOperationsInput | boolean
252050
+ is_current?: BoolFieldUpdateOperationsInput | boolean
252051
+ assignment?: AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput
252052
+ }
252053
+
251723
252054
  export type UserCreateWithoutErasure_requests_as_subjectInput = {
251724
252055
  id?: string
251725
252056
  email: string
@@ -254993,7 +255324,6 @@ export namespace Prisma {
254993
255324
  evaluated_at?: Date | string | null
254994
255325
  candidate_status?: string | null
254995
255326
  candidate_responded_at?: Date | string | null
254996
- decline_reason?: string | null
254997
255327
  consent_epoch_at?: Date | string
254998
255328
  reschedule_count?: number
254999
255329
  last_rescheduled_at?: Date | string | null
@@ -255067,7 +255397,6 @@ export namespace Prisma {
255067
255397
  evaluated_at?: Date | string | null
255068
255398
  candidate_status?: string | null
255069
255399
  candidate_responded_at?: Date | string | null
255070
- decline_reason?: string | null
255071
255400
  consent_epoch_at?: Date | string
255072
255401
  reschedule_count?: number
255073
255402
  last_rescheduled_at?: Date | string | null
@@ -256599,7 +256928,6 @@ export namespace Prisma {
256599
256928
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
256600
256929
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
256601
256930
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
256602
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
256603
256931
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
256604
256932
  reschedule_count?: IntFieldUpdateOperationsInput | number
256605
256933
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -256673,7 +257001,6 @@ export namespace Prisma {
256673
257001
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
256674
257002
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
256675
257003
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
256676
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
256677
257004
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
256678
257005
  reschedule_count?: IntFieldUpdateOperationsInput | number
256679
257006
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -257633,7 +257960,6 @@ export namespace Prisma {
257633
257960
  evaluated_at?: Date | string | null
257634
257961
  candidate_status?: string | null
257635
257962
  candidate_responded_at?: Date | string | null
257636
- decline_reason?: string | null
257637
257963
  consent_epoch_at?: Date | string
257638
257964
  reschedule_count?: number
257639
257965
  last_rescheduled_at?: Date | string | null
@@ -257707,7 +258033,6 @@ export namespace Prisma {
257707
258033
  evaluated_at?: Date | string | null
257708
258034
  candidate_status?: string | null
257709
258035
  candidate_responded_at?: Date | string | null
257710
- decline_reason?: string | null
257711
258036
  consent_epoch_at?: Date | string
257712
258037
  reschedule_count?: number
257713
258038
  last_rescheduled_at?: Date | string | null
@@ -257948,6 +258273,7 @@ export namespace Prisma {
257948
258273
  interview?: InterviewCreateNestedOneWithoutOngoing_evaluationInput
257949
258274
  assignment?: AssignmentCreateNestedOneWithoutOngoing_evaluationInput
257950
258275
  assessment?: AssessmentCreateNestedOneWithoutOngoingEvaluationInput
258276
+ consent_records?: ConsentRecordCreateNestedManyWithoutEvaluationInput
257951
258277
  }
257952
258278
 
257953
258279
  export type OngoingEvaluationUncheckedCreateWithoutEvaluation_planInput = {
@@ -257991,6 +258317,7 @@ export namespace Prisma {
257991
258317
  is_active?: boolean
257992
258318
  is_current?: boolean
257993
258319
  assignment?: AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput
258320
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput
257994
258321
  }
257995
258322
 
257996
258323
  export type OngoingEvaluationCreateOrConnectWithoutEvaluation_planInput = {
@@ -263743,6 +264070,7 @@ export namespace Prisma {
263743
264070
  evaluation_plan: EvaluationPlanCreateNestedOneWithoutOngoing_evaluationsInput
263744
264071
  assignment?: AssignmentCreateNestedOneWithoutOngoing_evaluationInput
263745
264072
  assessment?: AssessmentCreateNestedOneWithoutOngoingEvaluationInput
264073
+ consent_records?: ConsentRecordCreateNestedManyWithoutEvaluationInput
263746
264074
  }
263747
264075
 
263748
264076
  export type OngoingEvaluationUncheckedCreateWithoutInterviewInput = {
@@ -263786,6 +264114,7 @@ export namespace Prisma {
263786
264114
  is_active?: boolean
263787
264115
  is_current?: boolean
263788
264116
  assignment?: AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput
264117
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput
263789
264118
  }
263790
264119
 
263791
264120
  export type OngoingEvaluationCreateOrConnectWithoutInterviewInput = {
@@ -265063,6 +265392,7 @@ export namespace Prisma {
265063
265392
  evaluation_plan?: EvaluationPlanUpdateOneRequiredWithoutOngoing_evaluationsNestedInput
265064
265393
  assignment?: AssignmentUpdateOneWithoutOngoing_evaluationNestedInput
265065
265394
  assessment?: AssessmentUpdateOneWithoutOngoingEvaluationNestedInput
265395
+ consent_records?: ConsentRecordUpdateManyWithoutEvaluationNestedInput
265066
265396
  }
265067
265397
 
265068
265398
  export type OngoingEvaluationUncheckedUpdateWithoutInterviewInput = {
@@ -265106,6 +265436,7 @@ export namespace Prisma {
265106
265436
  is_active?: BoolFieldUpdateOperationsInput | boolean
265107
265437
  is_current?: BoolFieldUpdateOperationsInput | boolean
265108
265438
  assignment?: AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput
265439
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput
265109
265440
  }
265110
265441
 
265111
265442
  export type TranscriptUpsertWithWhereUniqueWithoutInterviewInput = {
@@ -265329,7 +265660,6 @@ export namespace Prisma {
265329
265660
  evaluated_at?: Date | string | null
265330
265661
  candidate_status?: string | null
265331
265662
  candidate_responded_at?: Date | string | null
265332
- decline_reason?: string | null
265333
265663
  consent_epoch_at?: Date | string
265334
265664
  reschedule_count?: number
265335
265665
  last_rescheduled_at?: Date | string | null
@@ -265404,7 +265734,6 @@ export namespace Prisma {
265404
265734
  evaluated_at?: Date | string | null
265405
265735
  candidate_status?: string | null
265406
265736
  candidate_responded_at?: Date | string | null
265407
- decline_reason?: string | null
265408
265737
  consent_epoch_at?: Date | string
265409
265738
  reschedule_count?: number
265410
265739
  last_rescheduled_at?: Date | string | null
@@ -265479,7 +265808,6 @@ export namespace Prisma {
265479
265808
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
265480
265809
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
265481
265810
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
265482
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
265483
265811
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
265484
265812
  reschedule_count?: IntFieldUpdateOperationsInput | number
265485
265813
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -265554,7 +265882,6 @@ export namespace Prisma {
265554
265882
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
265555
265883
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
265556
265884
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
265557
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
265558
265885
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
265559
265886
  reschedule_count?: IntFieldUpdateOperationsInput | number
265560
265887
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -267716,7 +268043,6 @@ export namespace Prisma {
267716
268043
  evaluated_at?: Date | string | null
267717
268044
  candidate_status?: string | null
267718
268045
  candidate_responded_at?: Date | string | null
267719
- decline_reason?: string | null
267720
268046
  consent_epoch_at?: Date | string
267721
268047
  reschedule_count?: number
267722
268048
  last_rescheduled_at?: Date | string | null
@@ -267790,7 +268116,6 @@ export namespace Prisma {
267790
268116
  evaluated_at?: Date | string | null
267791
268117
  candidate_status?: string | null
267792
268118
  candidate_responded_at?: Date | string | null
267793
- decline_reason?: string | null
267794
268119
  consent_epoch_at?: Date | string
267795
268120
  reschedule_count?: number
267796
268121
  last_rescheduled_at?: Date | string | null
@@ -268099,6 +268424,7 @@ export namespace Prisma {
268099
268424
  interview?: InterviewCreateNestedOneWithoutOngoing_evaluationInput
268100
268425
  assignment?: AssignmentCreateNestedOneWithoutOngoing_evaluationInput
268101
268426
  assessment?: AssessmentCreateNestedOneWithoutOngoingEvaluationInput
268427
+ consent_records?: ConsentRecordCreateNestedManyWithoutEvaluationInput
268102
268428
  }
268103
268429
 
268104
268430
  export type OngoingEvaluationUncheckedCreateWithoutJobDescriptionInput = {
@@ -268142,6 +268468,7 @@ export namespace Prisma {
268142
268468
  is_active?: boolean
268143
268469
  is_current?: boolean
268144
268470
  assignment?: AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput
268471
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput
268145
268472
  }
268146
268473
 
268147
268474
  export type OngoingEvaluationCreateOrConnectWithoutJobDescriptionInput = {
@@ -276086,7 +276413,6 @@ export namespace Prisma {
276086
276413
  evaluated_at?: Date | string | null
276087
276414
  candidate_status?: string | null
276088
276415
  candidate_responded_at?: Date | string | null
276089
- decline_reason?: string | null
276090
276416
  consent_epoch_at?: Date | string
276091
276417
  reschedule_count?: number
276092
276418
  last_rescheduled_at?: Date | string | null
@@ -276161,7 +276487,6 @@ export namespace Prisma {
276161
276487
  evaluated_at?: Date | string | null
276162
276488
  candidate_status?: string | null
276163
276489
  candidate_responded_at?: Date | string | null
276164
- decline_reason?: string | null
276165
276490
  consent_epoch_at?: Date | string
276166
276491
  reschedule_count?: number
276167
276492
  last_rescheduled_at?: Date | string | null
@@ -276236,7 +276561,6 @@ export namespace Prisma {
276236
276561
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
276237
276562
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
276238
276563
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
276239
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
276240
276564
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
276241
276565
  reschedule_count?: IntFieldUpdateOperationsInput | number
276242
276566
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -276311,7 +276635,6 @@ export namespace Prisma {
276311
276635
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
276312
276636
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
276313
276637
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
276314
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
276315
276638
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
276316
276639
  reschedule_count?: IntFieldUpdateOperationsInput | number
276317
276640
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -281424,7 +281747,6 @@ export namespace Prisma {
281424
281747
  evaluated_at?: Date | string | null
281425
281748
  candidate_status?: string | null
281426
281749
  candidate_responded_at?: Date | string | null
281427
- decline_reason?: string | null
281428
281750
  consent_epoch_at?: Date | string
281429
281751
  reschedule_count?: number
281430
281752
  last_rescheduled_at?: Date | string | null
@@ -281499,7 +281821,6 @@ export namespace Prisma {
281499
281821
  evaluated_at?: Date | string | null
281500
281822
  candidate_status?: string | null
281501
281823
  candidate_responded_at?: Date | string | null
281502
- decline_reason?: string | null
281503
281824
  consent_epoch_at?: Date | string
281504
281825
  reschedule_count?: number
281505
281826
  last_rescheduled_at?: Date | string | null
@@ -281635,6 +281956,46 @@ export namespace Prisma {
281635
281956
  create: XOR<AssessmentCreateWithoutOngoingEvaluationInput, AssessmentUncheckedCreateWithoutOngoingEvaluationInput>
281636
281957
  }
281637
281958
 
281959
+ export type ConsentRecordCreateWithoutEvaluationInput = {
281960
+ id?: string
281961
+ outcome?: $Enums.ConsentOutcome | null
281962
+ grant_status?: $Enums.ConsentGrantStatus | null
281963
+ selections?: JsonNullValueInput | InputJsonValue
281964
+ reference_type?: $Enums.ConsentReferenceType | null
281965
+ reference_id?: string | null
281966
+ ip_address?: string | null
281967
+ user_agent?: string | null
281968
+ decline_reason?: string | null
281969
+ created_at?: Date | string
281970
+ user: UserCreateNestedOneWithoutConsent_recordsInput
281971
+ consent_document_version: ConsentDocumentVersionCreateNestedOneWithoutConsent_recordsInput
281972
+ }
281973
+
281974
+ export type ConsentRecordUncheckedCreateWithoutEvaluationInput = {
281975
+ id?: string
281976
+ user_id: string
281977
+ outcome?: $Enums.ConsentOutcome | null
281978
+ grant_status?: $Enums.ConsentGrantStatus | null
281979
+ consent_document_version_id: string
281980
+ selections?: JsonNullValueInput | InputJsonValue
281981
+ reference_type?: $Enums.ConsentReferenceType | null
281982
+ reference_id?: string | null
281983
+ ip_address?: string | null
281984
+ user_agent?: string | null
281985
+ decline_reason?: string | null
281986
+ created_at?: Date | string
281987
+ }
281988
+
281989
+ export type ConsentRecordCreateOrConnectWithoutEvaluationInput = {
281990
+ where: ConsentRecordWhereUniqueInput
281991
+ create: XOR<ConsentRecordCreateWithoutEvaluationInput, ConsentRecordUncheckedCreateWithoutEvaluationInput>
281992
+ }
281993
+
281994
+ export type ConsentRecordCreateManyEvaluationInputEnvelope = {
281995
+ data: ConsentRecordCreateManyEvaluationInput | ConsentRecordCreateManyEvaluationInput[]
281996
+ skipDuplicates?: boolean
281997
+ }
281998
+
281638
281999
  export type JobDescriptionUpsertWithoutOngoing_evaluationsInput = {
281639
282000
  update: XOR<JobDescriptionUpdateWithoutOngoing_evaluationsInput, JobDescriptionUncheckedUpdateWithoutOngoing_evaluationsInput>
281640
282001
  create: XOR<JobDescriptionCreateWithoutOngoing_evaluationsInput, JobDescriptionUncheckedCreateWithoutOngoing_evaluationsInput>
@@ -282400,7 +282761,6 @@ export namespace Prisma {
282400
282761
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
282401
282762
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
282402
282763
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
282403
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
282404
282764
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
282405
282765
  reschedule_count?: IntFieldUpdateOperationsInput | number
282406
282766
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -282475,7 +282835,6 @@ export namespace Prisma {
282475
282835
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
282476
282836
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
282477
282837
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
282478
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
282479
282838
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
282480
282839
  reschedule_count?: IntFieldUpdateOperationsInput | number
282481
282840
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -282618,6 +282977,22 @@ export namespace Prisma {
282618
282977
  candidateResponse?: CandidateQuestionResponseUncheckedUpdateManyWithoutAssessmentNestedInput
282619
282978
  }
282620
282979
 
282980
+ export type ConsentRecordUpsertWithWhereUniqueWithoutEvaluationInput = {
282981
+ where: ConsentRecordWhereUniqueInput
282982
+ update: XOR<ConsentRecordUpdateWithoutEvaluationInput, ConsentRecordUncheckedUpdateWithoutEvaluationInput>
282983
+ create: XOR<ConsentRecordCreateWithoutEvaluationInput, ConsentRecordUncheckedCreateWithoutEvaluationInput>
282984
+ }
282985
+
282986
+ export type ConsentRecordUpdateWithWhereUniqueWithoutEvaluationInput = {
282987
+ where: ConsentRecordWhereUniqueInput
282988
+ data: XOR<ConsentRecordUpdateWithoutEvaluationInput, ConsentRecordUncheckedUpdateWithoutEvaluationInput>
282989
+ }
282990
+
282991
+ export type ConsentRecordUpdateManyWithWhereWithoutEvaluationInput = {
282992
+ where: ConsentRecordScalarWhereInput
282993
+ data: XOR<ConsentRecordUpdateManyMutationInput, ConsentRecordUncheckedUpdateManyWithoutEvaluationInput>
282994
+ }
282995
+
282621
282996
  export type UserCreateWithoutOrganisationInput = {
282622
282997
  id?: string
282623
282998
  email: string
@@ -283246,7 +283621,6 @@ export namespace Prisma {
283246
283621
  evaluated_at?: Date | string | null
283247
283622
  candidate_status?: string | null
283248
283623
  candidate_responded_at?: Date | string | null
283249
- decline_reason?: string | null
283250
283624
  consent_epoch_at?: Date | string
283251
283625
  reschedule_count?: number
283252
283626
  last_rescheduled_at?: Date | string | null
@@ -283320,7 +283694,6 @@ export namespace Prisma {
283320
283694
  evaluated_at?: Date | string | null
283321
283695
  candidate_status?: string | null
283322
283696
  candidate_responded_at?: Date | string | null
283323
- decline_reason?: string | null
283324
283697
  consent_epoch_at?: Date | string
283325
283698
  reschedule_count?: number
283326
283699
  last_rescheduled_at?: Date | string | null
@@ -283675,6 +284048,7 @@ export namespace Prisma {
283675
284048
  interview?: InterviewCreateNestedOneWithoutOngoing_evaluationInput
283676
284049
  assignment?: AssignmentCreateNestedOneWithoutOngoing_evaluationInput
283677
284050
  assessment?: AssessmentCreateNestedOneWithoutOngoingEvaluationInput
284051
+ consent_records?: ConsentRecordCreateNestedManyWithoutEvaluationInput
283678
284052
  }
283679
284053
 
283680
284054
  export type OngoingEvaluationUncheckedCreateWithoutOrganisationInput = {
@@ -283718,6 +284092,7 @@ export namespace Prisma {
283718
284092
  is_active?: boolean
283719
284093
  is_current?: boolean
283720
284094
  assignment?: AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput
284095
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput
283721
284096
  }
283722
284097
 
283723
284098
  export type OngoingEvaluationCreateOrConnectWithoutOrganisationInput = {
@@ -288495,7 +288870,6 @@ export namespace Prisma {
288495
288870
  evaluated_at?: Date | string | null
288496
288871
  candidate_status?: string | null
288497
288872
  candidate_responded_at?: Date | string | null
288498
- decline_reason?: string | null
288499
288873
  consent_epoch_at?: Date | string
288500
288874
  reschedule_count?: number
288501
288875
  last_rescheduled_at?: Date | string | null
@@ -288570,7 +288944,6 @@ export namespace Prisma {
288570
288944
  evaluated_at?: Date | string | null
288571
288945
  candidate_status?: string | null
288572
288946
  candidate_responded_at?: Date | string | null
288573
- decline_reason?: string | null
288574
288947
  consent_epoch_at?: Date | string
288575
288948
  reschedule_count?: number
288576
288949
  last_rescheduled_at?: Date | string | null
@@ -288711,7 +289084,6 @@ export namespace Prisma {
288711
289084
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
288712
289085
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
288713
289086
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
288714
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
288715
289087
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
288716
289088
  reschedule_count?: IntFieldUpdateOperationsInput | number
288717
289089
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -288786,7 +289158,6 @@ export namespace Prisma {
288786
289158
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
288787
289159
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
288788
289160
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
288789
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
288790
289161
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
288791
289162
  reschedule_count?: IntFieldUpdateOperationsInput | number
288792
289163
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -290950,7 +291321,6 @@ export namespace Prisma {
290950
291321
  evaluated_at?: Date | string | null
290951
291322
  candidate_status?: string | null
290952
291323
  candidate_responded_at?: Date | string | null
290953
- decline_reason?: string | null
290954
291324
  consent_epoch_at?: Date | string
290955
291325
  reschedule_count?: number
290956
291326
  last_rescheduled_at?: Date | string | null
@@ -291024,7 +291394,6 @@ export namespace Prisma {
291024
291394
  evaluated_at?: Date | string | null
291025
291395
  candidate_status?: string | null
291026
291396
  candidate_responded_at?: Date | string | null
291027
- decline_reason?: string | null
291028
291397
  consent_epoch_at?: Date | string
291029
291398
  reschedule_count?: number
291030
291399
  last_rescheduled_at?: Date | string | null
@@ -291095,6 +291464,7 @@ export namespace Prisma {
291095
291464
  interview?: InterviewCreateNestedOneWithoutOngoing_evaluationInput
291096
291465
  assignment?: AssignmentCreateNestedOneWithoutOngoing_evaluationInput
291097
291466
  assessment?: AssessmentCreateNestedOneWithoutOngoingEvaluationInput
291467
+ consent_records?: ConsentRecordCreateNestedManyWithoutEvaluationInput
291098
291468
  }
291099
291469
 
291100
291470
  export type OngoingEvaluationUncheckedCreateWithoutResumeInput = {
@@ -291138,6 +291508,7 @@ export namespace Prisma {
291138
291508
  is_active?: boolean
291139
291509
  is_current?: boolean
291140
291510
  assignment?: AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput
291511
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput
291141
291512
  }
291142
291513
 
291143
291514
  export type OngoingEvaluationCreateOrConnectWithoutResumeInput = {
@@ -292820,7 +293191,6 @@ export namespace Prisma {
292820
293191
  evaluated_at?: Date | string | null
292821
293192
  candidate_status?: string | null
292822
293193
  candidate_responded_at?: Date | string | null
292823
- decline_reason?: string | null
292824
293194
  consent_epoch_at?: Date | string
292825
293195
  reschedule_count?: number
292826
293196
  last_rescheduled_at?: Date | string | null
@@ -292895,7 +293265,6 @@ export namespace Prisma {
292895
293265
  evaluated_at?: Date | string | null
292896
293266
  candidate_status?: string | null
292897
293267
  candidate_responded_at?: Date | string | null
292898
- decline_reason?: string | null
292899
293268
  consent_epoch_at?: Date | string
292900
293269
  reschedule_count?: number
292901
293270
  last_rescheduled_at?: Date | string | null
@@ -293165,7 +293534,6 @@ export namespace Prisma {
293165
293534
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
293166
293535
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
293167
293536
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
293168
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
293169
293537
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
293170
293538
  reschedule_count?: IntFieldUpdateOperationsInput | number
293171
293539
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -293240,7 +293608,6 @@ export namespace Prisma {
293240
293608
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
293241
293609
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
293242
293610
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
293243
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
293244
293611
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
293245
293612
  reschedule_count?: IntFieldUpdateOperationsInput | number
293246
293613
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -293472,7 +293839,6 @@ export namespace Prisma {
293472
293839
  evaluated_at?: Date | string | null
293473
293840
  candidate_status?: string | null
293474
293841
  candidate_responded_at?: Date | string | null
293475
- decline_reason?: string | null
293476
293842
  consent_epoch_at?: Date | string
293477
293843
  reschedule_count?: number
293478
293844
  last_rescheduled_at?: Date | string | null
@@ -293547,7 +293913,6 @@ export namespace Prisma {
293547
293913
  evaluated_at?: Date | string | null
293548
293914
  candidate_status?: string | null
293549
293915
  candidate_responded_at?: Date | string | null
293550
- decline_reason?: string | null
293551
293916
  consent_epoch_at?: Date | string
293552
293917
  reschedule_count?: number
293553
293918
  last_rescheduled_at?: Date | string | null
@@ -293766,7 +294131,6 @@ export namespace Prisma {
293766
294131
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
293767
294132
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
293768
294133
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
293769
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
293770
294134
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
293771
294135
  reschedule_count?: IntFieldUpdateOperationsInput | number
293772
294136
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -293841,7 +294205,6 @@ export namespace Prisma {
293841
294205
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
293842
294206
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
293843
294207
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
293844
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
293845
294208
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
293846
294209
  reschedule_count?: IntFieldUpdateOperationsInput | number
293847
294210
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -295814,7 +296177,6 @@ export namespace Prisma {
295814
296177
  evaluated_at?: Date | string | null
295815
296178
  candidate_status?: string | null
295816
296179
  candidate_responded_at?: Date | string | null
295817
- decline_reason?: string | null
295818
296180
  consent_epoch_at?: Date | string
295819
296181
  reschedule_count?: number
295820
296182
  last_rescheduled_at?: Date | string | null
@@ -295888,7 +296250,6 @@ export namespace Prisma {
295888
296250
  evaluated_at?: Date | string | null
295889
296251
  candidate_status?: string | null
295890
296252
  candidate_responded_at?: Date | string | null
295891
- decline_reason?: string | null
295892
296253
  consent_epoch_at?: Date | string
295893
296254
  reschedule_count?: number
295894
296255
  last_rescheduled_at?: Date | string | null
@@ -295958,7 +296319,6 @@ export namespace Prisma {
295958
296319
  evaluated_at?: Date | string | null
295959
296320
  candidate_status?: string | null
295960
296321
  candidate_responded_at?: Date | string | null
295961
- decline_reason?: string | null
295962
296322
  consent_epoch_at?: Date | string
295963
296323
  reschedule_count?: number
295964
296324
  last_rescheduled_at?: Date | string | null
@@ -296032,7 +296392,6 @@ export namespace Prisma {
296032
296392
  evaluated_at?: Date | string | null
296033
296393
  candidate_status?: string | null
296034
296394
  candidate_responded_at?: Date | string | null
296035
- decline_reason?: string | null
296036
296395
  consent_epoch_at?: Date | string
296037
296396
  reschedule_count?: number
296038
296397
  last_rescheduled_at?: Date | string | null
@@ -296495,6 +296854,7 @@ export namespace Prisma {
296495
296854
  interview?: InterviewCreateNestedOneWithoutOngoing_evaluationInput
296496
296855
  assignment?: AssignmentCreateNestedOneWithoutOngoing_evaluationInput
296497
296856
  assessment?: AssessmentCreateNestedOneWithoutOngoingEvaluationInput
296857
+ consent_records?: ConsentRecordCreateNestedManyWithoutEvaluationInput
296498
296858
  }
296499
296859
 
296500
296860
  export type OngoingEvaluationUncheckedCreateWithoutCandidateInput = {
@@ -296538,6 +296898,7 @@ export namespace Prisma {
296538
296898
  is_active?: boolean
296539
296899
  is_current?: boolean
296540
296900
  assignment?: AssignmentUncheckedCreateNestedOneWithoutOngoing_evaluationInput
296901
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutEvaluationInput
296541
296902
  }
296542
296903
 
296543
296904
  export type OngoingEvaluationCreateOrConnectWithoutCandidateInput = {
@@ -297381,12 +297742,12 @@ export namespace Prisma {
297381
297742
  selections?: JsonNullValueInput | InputJsonValue
297382
297743
  reference_type?: $Enums.ConsentReferenceType | null
297383
297744
  reference_id?: string | null
297384
- evaluation_id?: string | null
297385
297745
  ip_address?: string | null
297386
297746
  user_agent?: string | null
297387
297747
  decline_reason?: string | null
297388
297748
  created_at?: Date | string
297389
297749
  consent_document_version: ConsentDocumentVersionCreateNestedOneWithoutConsent_recordsInput
297750
+ evaluation?: OngoingEvaluationCreateNestedOneWithoutConsent_recordsInput
297390
297751
  }
297391
297752
 
297392
297753
  export type ConsentRecordUncheckedCreateWithoutUserInput = {
@@ -298902,7 +299263,6 @@ export namespace Prisma {
298902
299263
  evaluated_at?: Date | string | null
298903
299264
  candidate_status?: string | null
298904
299265
  candidate_responded_at?: Date | string | null
298905
- decline_reason?: string | null
298906
299266
  consent_epoch_at?: Date | string
298907
299267
  reschedule_count?: number
298908
299268
  last_rescheduled_at?: Date | string | null
@@ -298977,7 +299337,6 @@ export namespace Prisma {
298977
299337
  evaluated_at?: Date | string | null
298978
299338
  candidate_status?: string | null
298979
299339
  candidate_responded_at?: Date | string | null
298980
- decline_reason?: string | null
298981
299340
  consent_epoch_at?: Date | string
298982
299341
  reschedule_count?: number
298983
299342
  last_rescheduled_at?: Date | string | null
@@ -299086,7 +299445,6 @@ export namespace Prisma {
299086
299445
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
299087
299446
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
299088
299447
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
299089
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
299090
299448
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
299091
299449
  reschedule_count?: IntFieldUpdateOperationsInput | number
299092
299450
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -299161,7 +299519,6 @@ export namespace Prisma {
299161
299519
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
299162
299520
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
299163
299521
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
299164
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
299165
299522
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
299166
299523
  reschedule_count?: IntFieldUpdateOperationsInput | number
299167
299524
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -299945,7 +300302,6 @@ export namespace Prisma {
299945
300302
  evaluated_at?: Date | string | null
299946
300303
  candidate_status?: string | null
299947
300304
  candidate_responded_at?: Date | string | null
299948
- decline_reason?: string | null
299949
300305
  consent_epoch_at?: Date | string
299950
300306
  reschedule_count?: number
299951
300307
  last_rescheduled_at?: Date | string | null
@@ -300157,7 +300513,6 @@ export namespace Prisma {
300157
300513
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
300158
300514
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
300159
300515
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
300160
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
300161
300516
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
300162
300517
  reschedule_count?: IntFieldUpdateOperationsInput | number
300163
300518
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -300231,7 +300586,6 @@ export namespace Prisma {
300231
300586
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
300232
300587
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
300233
300588
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
300234
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
300235
300589
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
300236
300590
  reschedule_count?: IntFieldUpdateOperationsInput | number
300237
300591
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -300298,7 +300652,6 @@ export namespace Prisma {
300298
300652
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
300299
300653
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
300300
300654
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
300301
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
300302
300655
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
300303
300656
  reschedule_count?: IntFieldUpdateOperationsInput | number
300304
300657
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -300430,6 +300783,7 @@ export namespace Prisma {
300430
300783
  interview?: InterviewUpdateOneWithoutOngoing_evaluationNestedInput
300431
300784
  assignment?: AssignmentUpdateOneWithoutOngoing_evaluationNestedInput
300432
300785
  assessment?: AssessmentUpdateOneWithoutOngoingEvaluationNestedInput
300786
+ consent_records?: ConsentRecordUpdateManyWithoutEvaluationNestedInput
300433
300787
  }
300434
300788
 
300435
300789
  export type OngoingEvaluationUncheckedUpdateWithoutApplicationInput = {
@@ -300473,6 +300827,7 @@ export namespace Prisma {
300473
300827
  is_active?: BoolFieldUpdateOperationsInput | boolean
300474
300828
  is_current?: BoolFieldUpdateOperationsInput | boolean
300475
300829
  assignment?: AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput
300830
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput
300476
300831
  }
300477
300832
 
300478
300833
  export type OngoingEvaluationUncheckedUpdateManyWithoutApplicationInput = {
@@ -301846,12 +302201,12 @@ export namespace Prisma {
301846
302201
  selections?: JsonNullValueInput | InputJsonValue
301847
302202
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
301848
302203
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
301849
- evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
301850
302204
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
301851
302205
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
301852
302206
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
301853
302207
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
301854
302208
  user?: UserUpdateOneRequiredWithoutConsent_recordsNestedInput
302209
+ evaluation?: OngoingEvaluationUpdateOneWithoutConsent_recordsNestedInput
301855
302210
  }
301856
302211
 
301857
302212
  export type ConsentRecordUncheckedUpdateWithoutConsent_document_versionInput = {
@@ -303290,7 +303645,6 @@ export namespace Prisma {
303290
303645
  evaluated_at?: Date | string | null
303291
303646
  candidate_status?: string | null
303292
303647
  candidate_responded_at?: Date | string | null
303293
- decline_reason?: string | null
303294
303648
  consent_epoch_at?: Date | string
303295
303649
  reschedule_count?: number
303296
303650
  last_rescheduled_at?: Date | string | null
@@ -303480,7 +303834,6 @@ export namespace Prisma {
303480
303834
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
303481
303835
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
303482
303836
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
303483
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
303484
303837
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
303485
303838
  reschedule_count?: IntFieldUpdateOperationsInput | number
303486
303839
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -303554,7 +303907,6 @@ export namespace Prisma {
303554
303907
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
303555
303908
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
303556
303909
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
303557
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
303558
303910
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
303559
303911
  reschedule_count?: IntFieldUpdateOperationsInput | number
303560
303912
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -303621,7 +303973,6 @@ export namespace Prisma {
303621
303973
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
303622
303974
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
303623
303975
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
303624
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
303625
303976
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
303626
303977
  reschedule_count?: IntFieldUpdateOperationsInput | number
303627
303978
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -303797,6 +304148,7 @@ export namespace Prisma {
303797
304148
  interview?: InterviewUpdateOneWithoutOngoing_evaluationNestedInput
303798
304149
  assignment?: AssignmentUpdateOneWithoutOngoing_evaluationNestedInput
303799
304150
  assessment?: AssessmentUpdateOneWithoutOngoingEvaluationNestedInput
304151
+ consent_records?: ConsentRecordUpdateManyWithoutEvaluationNestedInput
303800
304152
  }
303801
304153
 
303802
304154
  export type OngoingEvaluationUncheckedUpdateWithoutEvaluation_planInput = {
@@ -303840,6 +304192,7 @@ export namespace Prisma {
303840
304192
  is_active?: BoolFieldUpdateOperationsInput | boolean
303841
304193
  is_current?: BoolFieldUpdateOperationsInput | boolean
303842
304194
  assignment?: AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput
304195
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput
303843
304196
  }
303844
304197
 
303845
304198
  export type OngoingEvaluationUncheckedUpdateManyWithoutEvaluation_planInput = {
@@ -304963,7 +305316,6 @@ export namespace Prisma {
304963
305316
  evaluated_at?: Date | string | null
304964
305317
  candidate_status?: string | null
304965
305318
  candidate_responded_at?: Date | string | null
304966
- decline_reason?: string | null
304967
305319
  consent_epoch_at?: Date | string
304968
305320
  reschedule_count?: number
304969
305321
  last_rescheduled_at?: Date | string | null
@@ -305489,7 +305841,6 @@ export namespace Prisma {
305489
305841
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
305490
305842
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
305491
305843
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
305492
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
305493
305844
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
305494
305845
  reschedule_count?: IntFieldUpdateOperationsInput | number
305495
305846
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -305563,7 +305914,6 @@ export namespace Prisma {
305563
305914
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
305564
305915
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
305565
305916
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
305566
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
305567
305917
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
305568
305918
  reschedule_count?: IntFieldUpdateOperationsInput | number
305569
305919
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -305630,7 +305980,6 @@ export namespace Prisma {
305630
305980
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
305631
305981
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
305632
305982
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
305633
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
305634
305983
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
305635
305984
  reschedule_count?: IntFieldUpdateOperationsInput | number
305636
305985
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -305977,6 +306326,7 @@ export namespace Prisma {
305977
306326
  interview?: InterviewUpdateOneWithoutOngoing_evaluationNestedInput
305978
306327
  assignment?: AssignmentUpdateOneWithoutOngoing_evaluationNestedInput
305979
306328
  assessment?: AssessmentUpdateOneWithoutOngoingEvaluationNestedInput
306329
+ consent_records?: ConsentRecordUpdateManyWithoutEvaluationNestedInput
305980
306330
  }
305981
306331
 
305982
306332
  export type OngoingEvaluationUncheckedUpdateWithoutJobDescriptionInput = {
@@ -306020,6 +306370,7 @@ export namespace Prisma {
306020
306370
  is_active?: BoolFieldUpdateOperationsInput | boolean
306021
306371
  is_current?: BoolFieldUpdateOperationsInput | boolean
306022
306372
  assignment?: AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput
306373
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput
306023
306374
  }
306024
306375
 
306025
306376
  export type OngoingEvaluationUncheckedUpdateManyWithoutJobDescriptionInput = {
@@ -307892,6 +308243,66 @@ export namespace Prisma {
307892
308243
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
307893
308244
  }
307894
308245
 
308246
+ export type ConsentRecordCreateManyEvaluationInput = {
308247
+ id?: string
308248
+ user_id: string
308249
+ outcome?: $Enums.ConsentOutcome | null
308250
+ grant_status?: $Enums.ConsentGrantStatus | null
308251
+ consent_document_version_id: string
308252
+ selections?: JsonNullValueInput | InputJsonValue
308253
+ reference_type?: $Enums.ConsentReferenceType | null
308254
+ reference_id?: string | null
308255
+ ip_address?: string | null
308256
+ user_agent?: string | null
308257
+ decline_reason?: string | null
308258
+ created_at?: Date | string
308259
+ }
308260
+
308261
+ export type ConsentRecordUpdateWithoutEvaluationInput = {
308262
+ id?: StringFieldUpdateOperationsInput | string
308263
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
308264
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
308265
+ selections?: JsonNullValueInput | InputJsonValue
308266
+ reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
308267
+ reference_id?: NullableStringFieldUpdateOperationsInput | string | null
308268
+ ip_address?: NullableStringFieldUpdateOperationsInput | string | null
308269
+ user_agent?: NullableStringFieldUpdateOperationsInput | string | null
308270
+ decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
308271
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
308272
+ user?: UserUpdateOneRequiredWithoutConsent_recordsNestedInput
308273
+ consent_document_version?: ConsentDocumentVersionUpdateOneRequiredWithoutConsent_recordsNestedInput
308274
+ }
308275
+
308276
+ export type ConsentRecordUncheckedUpdateWithoutEvaluationInput = {
308277
+ id?: StringFieldUpdateOperationsInput | string
308278
+ user_id?: StringFieldUpdateOperationsInput | string
308279
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
308280
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
308281
+ consent_document_version_id?: StringFieldUpdateOperationsInput | string
308282
+ selections?: JsonNullValueInput | InputJsonValue
308283
+ reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
308284
+ reference_id?: NullableStringFieldUpdateOperationsInput | string | null
308285
+ ip_address?: NullableStringFieldUpdateOperationsInput | string | null
308286
+ user_agent?: NullableStringFieldUpdateOperationsInput | string | null
308287
+ decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
308288
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
308289
+ }
308290
+
308291
+ export type ConsentRecordUncheckedUpdateManyWithoutEvaluationInput = {
308292
+ id?: StringFieldUpdateOperationsInput | string
308293
+ user_id?: StringFieldUpdateOperationsInput | string
308294
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
308295
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
308296
+ consent_document_version_id?: StringFieldUpdateOperationsInput | string
308297
+ selections?: JsonNullValueInput | InputJsonValue
308298
+ reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
308299
+ reference_id?: NullableStringFieldUpdateOperationsInput | string | null
308300
+ ip_address?: NullableStringFieldUpdateOperationsInput | string | null
308301
+ user_agent?: NullableStringFieldUpdateOperationsInput | string | null
308302
+ decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
308303
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
308304
+ }
308305
+
307895
308306
  export type UserCreateManyOrganisationInput = {
307896
308307
  id?: string
307897
308308
  email: string
@@ -308121,7 +308532,6 @@ export namespace Prisma {
308121
308532
  evaluated_at?: Date | string | null
308122
308533
  candidate_status?: string | null
308123
308534
  candidate_responded_at?: Date | string | null
308124
- decline_reason?: string | null
308125
308535
  consent_epoch_at?: Date | string
308126
308536
  reschedule_count?: number
308127
308537
  last_rescheduled_at?: Date | string | null
@@ -309601,7 +310011,6 @@ export namespace Prisma {
309601
310011
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
309602
310012
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
309603
310013
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
309604
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
309605
310014
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
309606
310015
  reschedule_count?: IntFieldUpdateOperationsInput | number
309607
310016
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -309675,7 +310084,6 @@ export namespace Prisma {
309675
310084
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
309676
310085
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
309677
310086
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
309678
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
309679
310087
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
309680
310088
  reschedule_count?: IntFieldUpdateOperationsInput | number
309681
310089
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -309742,7 +310150,6 @@ export namespace Prisma {
309742
310150
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
309743
310151
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
309744
310152
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
309745
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
309746
310153
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
309747
310154
  reschedule_count?: IntFieldUpdateOperationsInput | number
309748
310155
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -310140,6 +310547,7 @@ export namespace Prisma {
310140
310547
  interview?: InterviewUpdateOneWithoutOngoing_evaluationNestedInput
310141
310548
  assignment?: AssignmentUpdateOneWithoutOngoing_evaluationNestedInput
310142
310549
  assessment?: AssessmentUpdateOneWithoutOngoingEvaluationNestedInput
310550
+ consent_records?: ConsentRecordUpdateManyWithoutEvaluationNestedInput
310143
310551
  }
310144
310552
 
310145
310553
  export type OngoingEvaluationUncheckedUpdateWithoutOrganisationInput = {
@@ -310183,6 +310591,7 @@ export namespace Prisma {
310183
310591
  is_active?: BoolFieldUpdateOperationsInput | boolean
310184
310592
  is_current?: BoolFieldUpdateOperationsInput | boolean
310185
310593
  assignment?: AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput
310594
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput
310186
310595
  }
310187
310596
 
310188
310597
  export type OngoingEvaluationUncheckedUpdateManyWithoutOrganisationInput = {
@@ -312313,7 +312722,6 @@ export namespace Prisma {
312313
312722
  evaluated_at?: Date | string | null
312314
312723
  candidate_status?: string | null
312315
312724
  candidate_responded_at?: Date | string | null
312316
- decline_reason?: string | null
312317
312725
  consent_epoch_at?: Date | string
312318
312726
  reschedule_count?: number
312319
312727
  last_rescheduled_at?: Date | string | null
@@ -312570,7 +312978,6 @@ export namespace Prisma {
312570
312978
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
312571
312979
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
312572
312980
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
312573
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
312574
312981
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
312575
312982
  reschedule_count?: IntFieldUpdateOperationsInput | number
312576
312983
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -312644,7 +313051,6 @@ export namespace Prisma {
312644
313051
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
312645
313052
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
312646
313053
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
312647
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
312648
313054
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
312649
313055
  reschedule_count?: IntFieldUpdateOperationsInput | number
312650
313056
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -312711,7 +313117,6 @@ export namespace Prisma {
312711
313117
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
312712
313118
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
312713
313119
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
312714
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
312715
313120
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
312716
313121
  reschedule_count?: IntFieldUpdateOperationsInput | number
312717
313122
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -312765,6 +313170,7 @@ export namespace Prisma {
312765
313170
  interview?: InterviewUpdateOneWithoutOngoing_evaluationNestedInput
312766
313171
  assignment?: AssignmentUpdateOneWithoutOngoing_evaluationNestedInput
312767
313172
  assessment?: AssessmentUpdateOneWithoutOngoingEvaluationNestedInput
313173
+ consent_records?: ConsentRecordUpdateManyWithoutEvaluationNestedInput
312768
313174
  }
312769
313175
 
312770
313176
  export type OngoingEvaluationUncheckedUpdateWithoutResumeInput = {
@@ -312808,6 +313214,7 @@ export namespace Prisma {
312808
313214
  is_active?: BoolFieldUpdateOperationsInput | boolean
312809
313215
  is_current?: BoolFieldUpdateOperationsInput | boolean
312810
313216
  assignment?: AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput
313217
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput
312811
313218
  }
312812
313219
 
312813
313220
  export type OngoingEvaluationUncheckedUpdateManyWithoutResumeInput = {
@@ -313590,7 +313997,6 @@ export namespace Prisma {
313590
313997
  evaluated_at?: Date | string | null
313591
313998
  candidate_status?: string | null
313592
313999
  candidate_responded_at?: Date | string | null
313593
- decline_reason?: string | null
313594
314000
  consent_epoch_at?: Date | string
313595
314001
  reschedule_count?: number
313596
314002
  last_rescheduled_at?: Date | string | null
@@ -313650,7 +314056,6 @@ export namespace Prisma {
313650
314056
  evaluated_at?: Date | string | null
313651
314057
  candidate_status?: string | null
313652
314058
  candidate_responded_at?: Date | string | null
313653
- decline_reason?: string | null
313654
314059
  consent_epoch_at?: Date | string
313655
314060
  reschedule_count?: number
313656
314061
  last_rescheduled_at?: Date | string | null
@@ -314914,7 +315319,6 @@ export namespace Prisma {
314914
315319
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
314915
315320
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
314916
315321
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
314917
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
314918
315322
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
314919
315323
  reschedule_count?: IntFieldUpdateOperationsInput | number
314920
315324
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -314988,7 +315392,6 @@ export namespace Prisma {
314988
315392
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
314989
315393
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
314990
315394
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
314991
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
314992
315395
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
314993
315396
  reschedule_count?: IntFieldUpdateOperationsInput | number
314994
315397
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -315055,7 +315458,6 @@ export namespace Prisma {
315055
315458
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
315056
315459
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
315057
315460
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
315058
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
315059
315461
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
315060
315462
  reschedule_count?: IntFieldUpdateOperationsInput | number
315061
315463
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -315108,7 +315510,6 @@ export namespace Prisma {
315108
315510
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
315109
315511
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
315110
315512
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
315111
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
315112
315513
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
315113
315514
  reschedule_count?: IntFieldUpdateOperationsInput | number
315114
315515
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -315182,7 +315583,6 @@ export namespace Prisma {
315182
315583
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
315183
315584
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
315184
315585
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
315185
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
315186
315586
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
315187
315587
  reschedule_count?: IntFieldUpdateOperationsInput | number
315188
315588
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -315249,7 +315649,6 @@ export namespace Prisma {
315249
315649
  evaluated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
315250
315650
  candidate_status?: NullableStringFieldUpdateOperationsInput | string | null
315251
315651
  candidate_responded_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
315252
- decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
315253
315652
  consent_epoch_at?: DateTimeFieldUpdateOperationsInput | Date | string
315254
315653
  reschedule_count?: IntFieldUpdateOperationsInput | number
315255
315654
  last_rescheduled_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -315775,6 +316174,7 @@ export namespace Prisma {
315775
316174
  interview?: InterviewUpdateOneWithoutOngoing_evaluationNestedInput
315776
316175
  assignment?: AssignmentUpdateOneWithoutOngoing_evaluationNestedInput
315777
316176
  assessment?: AssessmentUpdateOneWithoutOngoingEvaluationNestedInput
316177
+ consent_records?: ConsentRecordUpdateManyWithoutEvaluationNestedInput
315778
316178
  }
315779
316179
 
315780
316180
  export type OngoingEvaluationUncheckedUpdateWithoutCandidateInput = {
@@ -315818,6 +316218,7 @@ export namespace Prisma {
315818
316218
  is_active?: BoolFieldUpdateOperationsInput | boolean
315819
316219
  is_current?: BoolFieldUpdateOperationsInput | boolean
315820
316220
  assignment?: AssignmentUncheckedUpdateOneWithoutOngoing_evaluationNestedInput
316221
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutEvaluationNestedInput
315821
316222
  }
315822
316223
 
315823
316224
  export type OngoingEvaluationUncheckedUpdateManyWithoutCandidateInput = {
@@ -316769,12 +317170,12 @@ export namespace Prisma {
316769
317170
  selections?: JsonNullValueInput | InputJsonValue
316770
317171
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
316771
317172
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
316772
- evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
316773
317173
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
316774
317174
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
316775
317175
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
316776
317176
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
316777
317177
  consent_document_version?: ConsentDocumentVersionUpdateOneRequiredWithoutConsent_recordsNestedInput
317178
+ evaluation?: OngoingEvaluationUpdateOneWithoutConsent_recordsNestedInput
316778
317179
  }
316779
317180
 
316780
317181
  export type ConsentRecordUncheckedUpdateWithoutUserInput = {